X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e81c7155869a701afe700d1d41a26de9acfda80e..b04237742c51e022af8ca8fe8933437734f392a3:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 9ae3e47848..214833cd5d 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(); @@ -836,7 +832,9 @@ protected: // The same holds for all other wxEvtHandler functions. using wxEvtHandler::ProcessEvent; +#if wxUSE_THREADS using wxEvtHandler::ProcessThreadEvent; +#endif using wxEvtHandler::SafelyProcessEvent; using wxEvtHandler::ProcessPendingEvents; using wxEvtHandler::AddPendingEvent; @@ -1707,7 +1705,7 @@ private: DECLARE_ABSTRACT_CLASS(wxWindowBase) - DECLARE_NO_COPY_CLASS(wxWindowBase) + wxDECLARE_NO_COPY_CLASS(wxWindowBase); DECLARE_EVENT_TABLE() };