From: George Tasker Date: Sat, 31 Mar 2001 18:43:54 +0000 (+0000) Subject: SendSizeEvent() method moved from wxWindow to wxFrame, as that is the only place... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3cfcd50b7d20ed0dedb79b1acf477ee5a7938533 SendSizeEvent() method moved from wxWindow to wxFrame, as that is the only place that the code in this function applies to. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 325f0acc51..d9c67c2bd2 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -112,6 +112,10 @@ public: void SetToolTipCtrl(WXHWND hwndTT) { m_hwndToolTip = hwndTT; } #endif // tooltips + // a MSW only function which sends a size event to the window using its + // current size - this has an effect of refreshing the window layout + void SendSizeEvent(); + protected: // common part of all ctors void Init(); diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index bb3c5a2cd9..f09bd3419f 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -163,7 +163,10 @@ public: // a MSW only function which sends a size event to the window using its // current size - this has an effect of refreshing the window layout +/* +FUNCTION IS NOW A MEMBER OF wxFrame - gt void SendSizeEvent(); +*/ // implementation from now on // -------------------------- @@ -259,7 +262,7 @@ public: WXWORD *item, WXWORD *flags, WXHMENU *hmenu); // ------------------------------------------------------------------------ - // internal handlers for MSW messages: all handlers return a boolen value: + // internal handlers for MSW messages: all handlers return a boolean value: // TRUE means that the handler processed the event and FALSE that it didn't // ------------------------------------------------------------------------