From 7276c69c1c70e26cace37e356de6691ccb59308a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Oct 2012 20:48:54 +0000 Subject: [PATCH] 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 --- src/gtk/combobox.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index d29e2acb48..e2bad2c0c4 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -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; }