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:
parent
90f501b16e
commit
094ca819f9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user