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
This commit is contained in:
George Tasker 2001-03-31 18:43:54 +00:00
parent 94c3c45e73
commit 3cfcd50b7d
2 changed files with 8 additions and 1 deletions

View File

@ -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();

View File

@ -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
// ------------------------------------------------------------------------