X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d84afea9d1ec41ee4e2ebb3bf6b87926cf5f04d1..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/toplevel.h diff --git a/include/wx/mac/toplevel.h b/include/wx/mac/toplevel.h index 8d51f95e79..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 @@ -88,6 +88,8 @@ public: virtual bool Show( bool show = TRUE ); 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(); @@ -105,6 +107,7 @@ protected: wxWindowMac* m_macFocus ; WXHRGN m_macNoEraseUpdateRgn ; bool m_macNeedsErasing ; + void* m_macEventHandler ; static WXWindow s_macWindowInUpdate ; };