]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/control.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / gtk1 / control.h
index 7dfa143621eb4a8e477daa1550f1d2245a8b492e..17db76e5711942fd57da856cd3aff3f6a2351fda 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKCONTROLH__
 #define __GTKCONTROLH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -55,6 +55,9 @@ public:
 
 protected:
     virtual wxSize DoGetBestSize() const;
+#ifdef __WXGTK20__
+    wxString PrepareLabelMnemonics( const wxString &label ) const;
+#endif
 
     wxString   m_label;
     char       m_chAccel;  // enabled to avoid breaking binary compatibility later on