| 94 | } |
| 95 | |
| 96 | wxSize GetSize() const override |
| 97 | { |
| 98 | if(!mText.empty()) |
| 99 | return GetTextExtent(mText); |
| 100 | return GetView()->FromDIP(wxSize(wxDVC_DEFAULT_RENDERER_SIZE, |
| 101 | wxDVC_DEFAULT_RENDERER_SIZE)); |
| 102 | } |
| 103 | |
| 104 | #if wxUSE_ACCESSIBILITY |
| 105 | wxString GetAccessibleDescription() const override |