]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/stattext.h
Remove sm_cocoaDelegate singleton. We need per-instance data anyway so we
[wxWidgets.git] / include / wx / os2 / stattext.h
index 66da229103fb0bd56c18df12937ff27f09cd928b..13997365374b85273f873a2c1b8a8b85aef36859 100644 (file)
 #ifndef _WX_STATTEXT_H_
 #define _WX_STATTEXT_H_
 
-#ifdef __GNUG__
-#pragma interface "stattext.h"
-#endif
-
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxStaticTextNameStr;
-
-class WXDLLEXPORT wxStaticText : public wxControl
+class WXDLLEXPORT wxStaticText : public wxStaticTextBase
 {
 public:
     inline wxStaticText() { }
@@ -48,8 +42,8 @@ public:
     //
     // Accessors
     //
-    void SetLabel(const wxString&);
-    bool SetFont(const wxFont &rFont);
+    virtual void SetLabel(const wxString& rsLabel);
+    virtual bool SetFont(const wxFont &rFont);
 
     //
     // Overriden base class virtuals
@@ -65,6 +59,12 @@ public:
                                  );
 
 protected:
+    virtual void   DoSetSize( int nX
+                             ,int nY
+                             ,int nWidth
+                             ,int nHeight
+                             ,int nSizeFlags = wxSIZE_AUTO
+                            );
     virtual wxSize DoGetBestSize(void) const;
 
 private: