X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/91dd52fe3ba8275366cf26a729f00a6a59d34855..b668a73527cd08aae1321bfb1c604c9b96fffbed:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 325f0acc51..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(); @@ -141,10 +145,16 @@ protected: // window proc for the frames long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - + virtual bool IsMDIChild() const { return FALSE; } - bool m_iconized; + // 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