X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d84afea9d1ec41ee4e2ebb3bf6b87926cf5f04d1..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/stattext.h diff --git a/include/wx/mac/stattext.h b/include/wx/mac/stattext.h index fb9fdff70f..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,11 +41,13 @@ 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)) {}; // events - void DrawParagraph(wxDC &dc, wxString paragraph); + void DrawParagraph(wxDC &dc, wxString paragraph, int &y); void OnPaint( wxPaintEvent &event ) ; void OnDraw( wxDC &dc ) ; virtual wxSize DoGetBestSize() const ;