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
This commit is contained in:
@@ -107,7 +107,6 @@ bool wxHyperlinkCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||||||
m_parent->DoAddChild( this );
|
m_parent->DoAddChild( this );
|
||||||
|
|
||||||
PostCreation(size);
|
PostCreation(size);
|
||||||
SetInitialSize(size);
|
|
||||||
|
|
||||||
// wxWindowGTK will connect to the enter_notify and leave_notify GTK+ signals
|
// wxWindowGTK will connect to the enter_notify and leave_notify GTK+ signals
|
||||||
// thus overriding GTK+'s internal signal handlers which set the cursor of
|
// thus overriding GTK+'s internal signal handlers which set the cursor of
|
||||||
|
Reference in New Issue
Block a user