X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5397911d6248a3bafe08233480ffb0c614b892e0..19e30148e18cc99296b26503c155e5cef59045f4:/src/generic/spinctlg.cpp diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index f5019af63a..b8c1f48b40 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -160,7 +160,7 @@ bool wxSpinCtrl::Create(wxWindow *parent, int initial, const wxString& name) { - if ( !wxControl::Create(parent, id, pos, size, style, + if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, name) ) { return FALSE;