]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/stattext.h
Use the same logic for closing dialogs as for handling Escape key.
[wxWidgets.git] / include / wx / os2 / stattext.h
index 9840a9090cf33fd50c32cfb5b7763fe2085b5e6d..683210780484fe978adba7be7f1f6e523a6b51d4 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 wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
 {
 public:
     inline wxStaticText() { }
@@ -73,6 +67,9 @@ protected:
                             );
     virtual wxSize DoGetBestSize(void) const;
 
+    virtual void DoSetLabel(const wxString& str);
+    virtual wxString DoGetLabel() const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticText)
 }; // end of CLASS wxStaticText