fixed labels under GTK+ 1 after recent changes (remove underscores from them again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,7 +208,11 @@ wxString wxControl::GTKRemoveMnemonics(const wxString& label)
|
|||||||
/* static */
|
/* static */
|
||||||
wxString wxControl::GTKConvertMnemonics(const wxString& label)
|
wxString wxControl::GTKConvertMnemonics(const wxString& label)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXGTK20__
|
||||||
return GTKProcessMnemonics(label, MNEMONICS_CONVERT);
|
return GTKProcessMnemonics(label, MNEMONICS_CONVERT);
|
||||||
|
#else
|
||||||
|
return GTKRemoveMnemonics(label);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -208,7 +208,11 @@ wxString wxControl::GTKRemoveMnemonics(const wxString& label)
|
|||||||
/* static */
|
/* static */
|
||||||
wxString wxControl::GTKConvertMnemonics(const wxString& label)
|
wxString wxControl::GTKConvertMnemonics(const wxString& label)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXGTK20__
|
||||||
return GTKProcessMnemonics(label, MNEMONICS_CONVERT);
|
return GTKProcessMnemonics(label, MNEMONICS_CONVERT);
|
||||||
|
#else
|
||||||
|
return GTKRemoveMnemonics(label);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user