]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/spinctlg.cpp
Don't needlessly indirect through NSNotificationCenter.
[wxWidgets.git] / src / generic / spinctlg.cpp
index 409b708a0e16f40eef88eb4e9b4387d25f079cb6..88de174cfd1cbce078abe74707d9255c062756b9 100644 (file)
@@ -183,7 +183,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
 
     m_btn->SetRange(min, max);
     m_btn->SetValue(initial);
-    SetBestSize(size);
+    SetInitialSize(size);
     Move(pos);
 
     // have to disable this window to avoid interfering it with message