Remove unnecessary SetInitialSize() from wxGTK wxComboBox::Create().

SetInitialSize() is already done by PostCreation() called just above, no need
to call it twice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-10-21 20:48:54 +00:00
parent 8626e0b73d
commit 7276c69c1c

View File

@ -187,8 +187,6 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
G_CALLBACK (gtkcombobox_popupshown_callback), this);
}
SetInitialSize(size); // need this too because this is a wxControlWithItems
return true;
}