]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/stattext.h
fixed a design flaw in wxFontMapper that prevented automatic creation of wxConfig...
[wxWidgets.git] / include / wx / msw / stattext.h
index ca5fd0c0e26a0dd521a068e87e0c8c8d261232bb..781b5878ab406c7250d863a379a409242eb87be4 100644 (file)
@@ -18,8 +18,6 @@
 
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr;
-
 class WXDLLEXPORT wxStaticText : public wxControl
 {
 DECLARE_DYNAMIC_CLASS(wxStaticText)
@@ -27,22 +25,24 @@ DECLARE_DYNAMIC_CLASS(wxStaticText)
 public:
     wxStaticText() { }
 
-    wxStaticText(wxWindow *parent, wxWindowID id,
-        const wxString& label,
-        const wxPoint& pos = wxDefaultPosition,
-        const wxSize& size = wxDefaultSize,
-        long style = 0,
-        const wxString& name = wxStaticTextNameStr)
+    wxStaticText(wxWindow *parent,
+                 wxWindowID id,
+                 const wxString& label,
+                 const wxPoint& pos = wxDefaultPosition,
+                 const wxSize& size = wxDefaultSize,
+                 long style = 0,
+                 const wxString& name = wxStaticTextNameStr)
     {
         Create(parent, id, label, pos, size, style, name);
     }
 
-    bool Create(wxWindow *parent, wxWindowID id,
-        const wxString& label,
-        const wxPoint& pos = wxDefaultPosition,
-        const wxSize& size = wxDefaultSize,
-        long style = 0,
-        const wxString& name = wxStaticTextNameStr);
+    bool Create(wxWindow *parent,
+                wxWindowID id,
+                const wxString& label,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = 0,
+                const wxString& name = wxStaticTextNameStr);
 
     // accessors
     void SetLabel(const wxString& label);