]> git.saurik.com Git - wxWidgets.git/commit - src/gtk1/checkbox.cpp
1. changed wxControl::GetLabel() to return the originally provided label and
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Dec 2005 16:37:56 +0000 (16:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Dec 2005 16:37:56 +0000 (16:37 +0000)
commitb2ff89d648e5b73172dc2f4aa84d2aadbdc063ec
tree53f49baa577c45d28f6e5723a2a0264350727e30
parentd1d40c21761d5e523e90584152eaabb2e05afa9b
1. changed wxControl::GetLabel() to return the originally provided label and
   not the one stripped from mnemonics (this was inconsistent with the other
   ports and resulted in problems when using wxUpdateUIEvent::SetText())
2. added wxControl::GTKConvertMnemonics(), GTKRemoveMnemonics() and also
   helper GTKSetLabelForLabel() and GTKSetLabelForFrame() wrappers
3. use them instead of duplicating their code in different derived controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 files changed:
include/wx/gtk/control.h
include/wx/gtk1/control.h
src/gtk/button.cpp
src/gtk/checkbox.cpp
src/gtk/control.cpp
src/gtk/radiobox.cpp
src/gtk/radiobut.cpp
src/gtk/statbox.cpp
src/gtk1/button.cpp
src/gtk1/checkbox.cpp
src/gtk1/control.cpp
src/gtk1/radiobox.cpp
src/gtk1/radiobut.cpp
src/gtk1/statbox.cpp