X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe161a2685012cf90bb5bfe95f2260aee71d8ad7..7a5e53abb3f9ea13eba2880972306446e4e21e83:/src/common/ctrlcmn.cpp diff --git a/src/common/ctrlcmn.cpp b/src/common/ctrlcmn.cpp index eab0f889f1..242efdca1f 100644 --- a/src/common/ctrlcmn.cpp +++ b/src/common/ctrlcmn.cpp @@ -68,13 +68,6 @@ bool wxControlBase::Create(wxWindow *parent, return ret; } - -void wxControlBase::Init() -{ - m_adjustMinSize = true; -} - - bool wxControlBase::CreateControl(wxWindowBase *parent, wxWindowID id, const wxPoint& pos, @@ -123,24 +116,6 @@ void wxControlBase::InitCommandEvent(wxCommandEvent& event) const } } -void wxControlBase::SetLabel(const wxString& label) -{ - wxWindow::SetLabel(label); - if (GetAdjustMinSizeFlag()) - SetBestSize(wxDefaultSize); -} - - -bool wxControlBase::SetFont(const wxFont& font) -{ - bool ret = wxWindow::SetFont(font); - - if (GetAdjustMinSizeFlag()) - SetBestSize(wxDefaultSize); - - return ret; -} - // ---------------------------------------------------------------------------- // wxStaticBitmap // ----------------------------------------------------------------------------