X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0e6c0513862fc9a33e5800526058193b7492d8b..fe8635a7e78715344f0f4b6abc9d797931429333:/include/wx/mac/carbon/stattext.h?ds=sidebyside diff --git a/include/wx/mac/carbon/stattext.h b/include/wx/mac/carbon/stattext.h index c5f41c02c4..042d0d3f59 100644 --- a/include/wx/mac/carbon/stattext.h +++ b/include/wx/mac/carbon/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "stattext.h" -#endif - class WXDLLEXPORT wxStaticText: public wxStaticTextBase { public: @@ -42,10 +38,11 @@ public: void SetLabel( const wxString &str ) ; bool SetFont( const wxFont &font ); + virtual bool AcceptsFocus() const { return FALSE; } + protected : virtual wxSize DoGetBestSize() const ; - virtual bool AcceptsFocus() const { return FALSE; } DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) };