X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cb6c9a0246ccc3bbf4779171fbc3570dcf3fc1d..59678f3fae7d537003fe1dbd0d0049694ec946c1:/src/generic/spinctlg.cpp diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index d30a8c2319..88de174cfd 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "spinctlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -187,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