]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed crash in wxSpinCtrl under wxGTK
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 21 Jan 2002 19:03:40 +0000 (19:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 21 Jan 2002 19:03:40 +0000 (19:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/spinctlg.h

index 29d3c0faab5df09262cf0712a47b9854b8f3648e..973af21a18bbba66b3e7fb2d33647b8855689038 100644 (file)
@@ -47,6 +47,7 @@ public:
                int min = 0, int max = 100, int initial = 0,
                const wxString& name = _T("wxSpinCtrl"))
     {
+        Init();
         Create(parent, id, value, pos, size, style, min, max, initial, name);
     }