X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a2c82c1eb41712767da0581db092ff23cbd012a..1d30a0a132f1f01d8ed3a01c789fc0422b721e79:/include/wx/mac/toplevel.h?ds=sidebyside diff --git a/include/wx/mac/toplevel.h b/include/wx/mac/toplevel.h index db3a4d8fb4..f5da13f870 100644 --- a/include/wx/mac/toplevel.h +++ b/include/wx/mac/toplevel.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "toplevel.h" #endif @@ -89,6 +89,7 @@ public: virtual void DoMoveWindow(int x, int y, int width, int height); void MacInvalidate( const WXRECTPTR rect, bool eraseBackground ) ; short MacGetWindowBackgroundTheme() const { return m_macWindowBackgroundTheme ; } + virtual void MacInstallEventHandler() ; protected: // common part of all ctors void Init(); @@ -106,6 +107,7 @@ protected: wxWindowMac* m_macFocus ; WXHRGN m_macNoEraseUpdateRgn ; bool m_macNeedsErasing ; + void* m_macEventHandler ; static WXWindow s_macWindowInUpdate ; };