X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e81c7155869a701afe700d1d41a26de9acfda80e..e276acb530f41f0b87c4576c0215201a8a767dff:/include/wx/window.h?ds=inline diff --git a/include/wx/window.h b/include/wx/window.h index 9ae3e47848..cc879cfd98 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -374,12 +374,8 @@ public: // get the size best suited for the window (in fact, minimal // acceptable size using which it will still look "nice" in // most situations) - wxSize GetBestSize() const - { - if (m_bestSizeCache.IsFullySpecified()) - return m_bestSizeCache; - return DoGetBestSize(); - } + wxSize GetBestSize() const; + void GetBestSize(int *w, int *h) const { wxSize s = GetBestSize(); @@ -1707,7 +1703,7 @@ private: DECLARE_ABSTRACT_CLASS(wxWindowBase) - DECLARE_NO_COPY_CLASS(wxWindowBase) + wxDECLARE_NO_COPY_CLASS(wxWindowBase); DECLARE_EVENT_TABLE() };