]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unnecessary SetInitialSize() from wxGTK wxComboBox::Create().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Oct 2012 20:48:54 +0000 (20:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Oct 2012 20:48:54 +0000 (20:48 +0000)
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

index d29e2acb48d87f1bcb1f85e8d8f097ba1dc26ba6..e2bad2c0c40f8c4689b003b481e713d3b884a733 100644 (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;
 }