]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/stattext.h
few other fixes for wxChar => wxString
[wxWidgets.git] / interface / wx / stattext.h
index dbf2fa6252c5ae1400a84ac806f0c73b5fbad886..21d1affe1b3762a24a15b4c446c7458cfa46af27 100644 (file)
@@ -76,17 +76,15 @@ public:
                  const wxPoint& pos = wxDefaultPosition,
                  const wxSize& size = wxDefaultSize,
                  long style = 0,
                  const wxPoint& pos = wxDefaultPosition,
                  const wxSize& size = wxDefaultSize,
                  long style = 0,
-                 const wxString& name = "staticText");
+                 const wxString& name = wxStaticTextNameStr);
 
     /**
         Creation function, for two-step construction. For details see wxStaticText().
     */
 
     /**
         Creation function, for two-step construction. For details see wxStaticText().
     */
-    bool Create(wxWindow* parent, wxWindowID id,
-                const wxString& label,
+    bool Create(wxWindow* parent, wxWindowID id, const wxString& label,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxPoint& pos = wxDefaultPosition,
-                const wxSize& size = wxDefaultSize,
-                long style = 0,
-                const wxString& name = "staticText");
+                const wxSize& size = wxDefaultSize, long style = 0,
+                const wxString& name = wxStaticTextNameStr);
 
     /**
         Returns the contents of the control.
 
     /**
         Returns the contents of the control.