X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45fcbf3b7a7c9cfd96e67278e4eaa12e8e015651..4f72fe4f1a906688bfc4ea99a5007437503babdf:/include/wx/os2/control.h diff --git a/include/wx/os2/control.h b/include/wx/os2/control.h index d3e7b4020e..9563c9e536 100644 --- a/include/wx/os2/control.h +++ b/include/wx/os2/control.h @@ -12,10 +12,6 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#ifdef __GNUG__ - #pragma interface "control.h" -#endif - // General item class class WXDLLEXPORT wxControl : public wxControlBase { @@ -67,7 +63,7 @@ protected: // For controls like radiobuttons which are really composite wxList m_subControls; - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; // create the control of the given class with the given style, returns FALSE // if creation failed