]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wizard.i
Force integer values for positions and sizes
[wxWidgets.git] / wxPython / src / wizard.i
index b7e7653bbdb162f451f9f81c894f661c8103e057..0eac0cdb21aba6cf7ae3885c671ac56d72e29f1b 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <wx/wizard.h>
     
-    static const wxString wxPyEmptyString(wxT(""));
 %}
 
 //----------------------------------------------------------------------
@@ -29,6 +28,8 @@
 
 %include _wizard_rename.i
 
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+
 //----------------------------------------------------------------------
 
 enum {
@@ -310,7 +311,7 @@ public:
     // ctor
     wxWizard(wxWindow *parent,
              int id = -1,
-             const wxString& title = wxEmptyString,
+             const wxString& title = wxPyEmptyString,
              const wxBitmap& bitmap = wxNullBitmap,
              const wxPoint& pos = wxDefaultPosition,
              long style = wxDEFAULT_DIALOG_STYLE);
@@ -318,7 +319,7 @@ public:
 
     bool Create(wxWindow *parent,
              int id = -1,
-             const wxString& title = wxEmptyString,
+             const wxString& title = wxPyEmptyString,
              const wxBitmap& bitmap = wxNullBitmap,
              const wxPoint& pos = wxDefaultPosition);