]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/spinctlg.cpp
ignore clicks on a toolbar but outside any button
[wxWidgets.git] / src / generic / spinctlg.cpp
index f5019af63a48bc8fb23184e0c837dfca4774f031..b8c1f48b40af26e9f1a27154b42c491fad174a7b 100644 (file)
@@ -160,7 +160,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
                         int initial,
                         const wxString& name)
 {
                         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;
                             wxDefaultValidator, name) )
     {
         return FALSE;