X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b668a73527cd08aae1321bfb1c604c9b96fffbed:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 410081887e..5e161cd3ab 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(); @@ -142,7 +146,15 @@ protected: // window proc for the frames long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - bool m_iconized; + virtual bool IsMDIChild() const { return FALSE; } + + // is the frame currently iconized? + bool m_iconized; + + // should the frame be maximized when it will be shown? set by Maximize() + // when it is called while the frame is hidden + bool m_maximizeOnShow; + WXHICON m_defaultIcon; #if wxUSE_STATUSBAR