]> git.saurik.com Git - wxWidgets.git/commitdiff
Patch from Will Sadkin fixing parameter order
authorRobin Dunn <robin@alldunn.com>
Wed, 6 Aug 2003 15:14:17 +0000 (15:14 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 6 Aug 2003 15:14:17 +0000 (15:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wxPython/lib/intctrl.py

index 7ec40a0d3bbc9c974e883548de6251748f9b96ef..c9a37b4b674be1d87ca2f18102520f483e2ecef9 100644 (file)
@@ -400,11 +400,11 @@ class wxIntCtrl(wxTextCtrl):
     """
 
     def __init__ (
-                self, parent, id=-1,
+                self, parent, id=-1, value = 0,
                 pos = wxDefaultPosition, size = wxDefaultSize,
                 style = 0, validator = wxDefaultValidator,
                 name = "integer",
-                value = 0, min=None, max=None,
+                min=None, max=None,
                 limited = 0, allow_none = 0, allow_long = 0,
                 default_color = wxBLACK, oob_color = wxRED,
         ):