X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e53e220c27c900b456222ad4834b17a389a781b..f675b4f521c6696648674d8901e2d6162ab5e2fb:/src/gtk1/control.cpp diff --git a/src/gtk1/control.cpp b/src/gtk1/control.cpp index 4e0db419e6..4216708175 100644 --- a/src/gtk1/control.cpp +++ b/src/gtk1/control.cpp @@ -134,7 +134,7 @@ wxString wxControl::GTKRemoveMnemonics(const wxString& label) { wxChar ch = label[i]; - if ( ch == _T('&') ) + if ( ch == wxT('&') ) { if ( i == len - 1 ) { @@ -144,7 +144,7 @@ wxString wxControl::GTKRemoveMnemonics(const wxString& label) } ch = label[++i]; // skip '&' itself - if ( ch == _T('&') ) + if ( ch == wxT('&') ) { // special case: "&&" is not a mnemonic at all but just an // escaped "&"