]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/stattext.h
declare wxEntry() as taking char **Argv, not char *argv[]
[wxWidgets.git] / include / wx / mac / stattext.h
index fb9fdff70f593673fbf9539d7847d4566a688837..8884f70452a33e569a510a7cdc5304b051b8b356 100644 (file)
@@ -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 ;