From: Vadim Zeitlin Date: Mon, 5 Oct 2009 22:54:41 +0000 (+0000) Subject: No real changes, just removed unnecessary SetInitialSize() call. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dcd18dd3002051ae93bfc1a91dff4a3d788fc146 No real changes, just removed unnecessary SetInitialSize() call. wxControl::PostCreation() already calls SetInitialSize() so there is no need to call it explicitly in wxHyperlinkCtrl::Create(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index 44645ce0fa..dc90de7e58 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -107,7 +107,6 @@ bool wxHyperlinkCtrl::Create(wxWindow *parent, wxWindowID id, m_parent->DoAddChild( this ); PostCreation(size); - SetInitialSize(size); // wxWindowGTK will connect to the enter_notify and leave_notify GTK+ signals // thus overriding GTK+'s internal signal handlers which set the cursor of