X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74639764d0076ce477ed3d69827061063f4b5e9a..bb8bd6ef8a5b96c74f47ebe73a2fa877900ed67f:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index aed113f803..560a476e05 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -84,17 +84,6 @@ protected: // initialize the common fields of wxCommandEvent void InitCommandEvent(wxCommandEvent& event) const; - // set the initial window size if none is given (i.e. at least one of the - // components of the size passed to ctor/Create() is -1) - // - // normally just calls SetBestSize() but can be overridden not to do it for - // the controls which have to do some additional initialization (e.g. add - // strings to list box) before their best size can be accurately calculated - virtual void SetInitialBestSize(const wxSize& size) - { - SetBestSize(size); - } - DECLARE_NO_COPY_CLASS(wxControlBase) };