| 203 | } |
| 204 | |
| 205 | void AButton::SetLabel( const TranslatableString &toolTip ) |
| 206 | { |
| 207 | wxWindow::SetLabel( toolTip.Stripped().Translation() ); |
| 208 | if(mType == FrameButton) |
| 209 | InvalidateBestSize(); |
| 210 | } |
| 211 | |
| 212 | // This compensates for a but in wxWidgets 3.0.2 for mac: |
| 213 | // Couldn't set focus from keyboard when AcceptsFocus returns false; |
no test coverage detected