X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/674ac8b919eecbc201b5f23b470a567cd0565e10..af17155e907c863dbba2bbf1c6a91a083569404c:/include/wx/gtk1/control.h?ds=sidebyside diff --git a/include/wx/gtk1/control.h b/include/wx/gtk1/control.h index 085e5e8cfc..623133c461 100644 --- a/include/wx/gtk1/control.h +++ b/include/wx/gtk1/control.h @@ -10,7 +10,7 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -29,8 +29,6 @@ class wxControl; // wxControl //----------------------------------------------------------------------------- -extern const wxChar* wxControlNameStr; - class wxControl : public wxControlBase { public: @@ -57,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