From dcd18dd3002051ae93bfc1a91dff4a3d788fc146 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 5 Oct 2009 22:54:41 +0000 Subject: [PATCH] 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 --- src/gtk/hyperlink.cpp | 1 - 1 file changed, 1 deletion(-) 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 -- 2.45.2