create wxSpinCtrl with default pos+size first, so that the subsequent call to DoSetSize is not a no-op

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2002-02-14 20:29:10 +00:00
parent 90f501b16e
commit 094ca819f9

View File

@ -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;