]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
In wxApp::OnIdle() check to see if there is not a current menubar and if
[wxWidgets.git] / src / gtk / control.cpp
index 8801219ee3fa05160e9360fb8cab029c9687cf10..3c005c4329b75c895b90e19b2700a55709b5773e 100644 (file)
@@ -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