X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaafd2f8b7acf211feb30c86db037fffe22ee565..2c92d7e398074a8f7ff9b2846ba9dc052d77dd70:/src/gtk1/control.cpp diff --git a/src/gtk1/control.cpp b/src/gtk1/control.cpp index 8801219ee3..3c005c4329 100644 --- a/src/gtk1/control.cpp +++ b/src/gtk1/control.cpp @@ -83,6 +83,7 @@ wxSize wxControl::DoGetBestSize() const return wxSize(req.width, req.height); } +#ifdef __WXGTK20__ wxString wxControl::PrepareLabelMnemonics( const wxString &label ) const { //Format mnemonics properly for GTK2. This can be called from GTK1.x, but @@ -124,6 +125,7 @@ wxString wxControl::PrepareLabelMnemonics( const wxString &label ) const } return label2; } +#endif #endif // wxUSE_CONTROLS