X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..90527a50d74bed6ed6b4d163e8170ae8c3f5d869:/include/wx/mac/carbon/stattext.h diff --git a/include/wx/mac/carbon/stattext.h b/include/wx/mac/carbon/stattext.h index c1119e7dfb..042d0d3f59 100644 --- a/include/wx/mac/carbon/stattext.h +++ b/include/wx/mac/carbon/stattext.h @@ -6,16 +6,12 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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) };