X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2327a9f80fa3240ab652da8f95a66b5c25576de..21e052699d74ff3443002e515fb30f3a657b105c:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index f17f7e57df..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(); @@ -141,6 +145,8 @@ protected: // window proc for the frames long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + + virtual bool IsMDIChild() const { return FALSE; } bool m_iconized; WXHICON m_defaultIcon; @@ -149,6 +155,9 @@ protected: static bool m_useNativeStatusBar; #endif // wxUSE_STATUSBAR + // the last focused child: we restore focus to it on activation + wxWindow *m_winLastFocused; + // Data to save/restore when calling ShowFullScreen long m_fsStyle; // Passed to ShowFullScreen wxRect m_fsOldSize;