X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5397911d6248a3bafe08233480ffb0c614b892e0..1d0edc0f7306aac10a75c545f9cace25d3cee83d:/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;