X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42e69d6b435a4dd5415caf3750db62cf45b6f373..d4c241b9e6b05a6a2ca5b701d25792994a52c023:/include/wx/msw/control.h diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index 35d5d8c4c3..b4a2807543 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -34,9 +34,6 @@ public: // Calls the callback and appropriate event handlers bool ProcessCommand(wxCommandEvent& event); - // Places item in centre of panel - so can't be used BEFORE panel->Fit() - void Centre(int direction = wxHORIZONTAL); - // MSW-specific #ifdef __WIN95__ virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); @@ -72,6 +69,8 @@ protected: // For controls like radiobuttons which are really composite wxList m_subControls; + virtual wxSize DoGetBestSize(); + private: DECLARE_EVENT_TABLE() };