X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9327c3aa027ed135748cf2f059d1555198b02d24..a29c6824c21bca8e66fdd0c7a64b65e8935bdbcd:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 300931980a..369f3a3f56 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -5,8 +5,8 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FRAME_H_ @@ -52,7 +52,6 @@ public: // ------------------------------- // event handlers - void OnActivate(wxActivateEvent& event); void OnSysColourChanged(wxSysColourChangedEvent& event); // Toolbar @@ -91,6 +90,7 @@ public: bool HandleSize(int x, int y, WXUINT flag); bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control); bool HandleMenuSelect(WXWORD nItem, WXWORD nFlags, WXHMENU hMenu); + bool HandleMenuLoop(const wxEventType& evtType, WXWORD isPopup); // tooltip management #if wxUSE_TOOLTIPS @@ -100,11 +100,7 @@ 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 - void SendSizeEvent(); - - // called by wxWindow whenever it gets focus - void SetLastFocus(wxWindow *win) { m_winLastFocused = win; } - wxWindow *GetLastFocus() const { return m_winLastFocused; } + virtual void SendSizeEvent(); protected: // common part of all ctors @@ -141,14 +137,10 @@ 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 int m_fsStatusBarFields; // 0 for no status bar int m_fsStatusBarHeight; int m_fsToolBarHeight; -// WXHMENU m_fsMenu; private: #if wxUSE_TOOLTIPS