X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4befcd3449df5353ff1f7b924c69b14eda393de..6ba7c06eeeda47b88783025428ca0f290e3bf236:/include/wx/mac/stattext.h diff --git a/include/wx/mac/stattext.h b/include/wx/mac/stattext.h index bb2b02e84c..8884f70452 100644 --- a/include/wx/mac/stattext.h +++ b/include/wx/mac/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "stattext.h" #endif @@ -41,6 +41,8 @@ class WXDLLEXPORT wxStaticText: public wxStaticTextBase // accessors void SetLabel( const wxString &str ) ; + bool SetFont( const wxFont &font ); + // operations virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};