Fix setting "pressed" bitmap for wxToggleButton.

Move wxAnyButton::GetNormalState(), which allows wxToggleButton to override
what "normal" means for it, down to the platform-independent wxAnyButtonBase
class and use it now in wxGTK as well to correctly choose the pressed bitmap
for a toggle button in this state.

Closes #16771.
This commit is contained in:
Kevin B. McCarty
2015-05-09 19:22:28 +02:00
committed by Vadim Zeitlin
parent c0ae81ced7
commit 1ad4596e8c
7 changed files with 36 additions and 18 deletions

View File

@@ -121,6 +121,7 @@ wxGTK:
- Support building wxGTK3 under Windows (Kolya Kosenko).
- Fix vertical cell alignment in wxDataViewCtrl.
- Fix clearing of wxComboBox with wxCB_READONLY (Chuddah).
- Fix setting "pressed" bitmap for wxToggleButton (Kevin B. McCarty).
- Fix GTK+ warnings for wxFileDialog with wxFD_MULTIPLE style.
wxMSW: