X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4b5a92e0bb26443af521f47d02a8cadb9be1e70..e83a2e04900ec19e809d32d985669e1c664dd5a8:/src/generic/hyperlink.cpp diff --git a/src/generic/hyperlink.cpp b/src/generic/hyperlink.cpp index de7a4336dd..21f80fc131 100644 --- a/src/generic/hyperlink.cpp +++ b/src/generic/hyperlink.cpp @@ -115,7 +115,7 @@ bool wxHyperlinkCtrl::Create(wxWindow *parent, wxWindowID id, f.SetUnderlined(true); SetFont(f); - SetBestFittingSize(size); + SetInitialSize(size); return true; }