#ifndef _WX_MSW_TOPLEVEL_H_
#define _WX_MSW_TOPLEVEL_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "toplevel.h"
#endif
virtual void SetIcons(const wxIconBundle& icons) { SetIcon( icons.GetIcon( -1 ) ); }
virtual void Restore();
+ virtual bool SetShape(const wxRegion& region);
+
virtual bool ShowFullScreen(bool WXUNUSED(show), long WXUNUSED(style) = wxFULLSCREEN_ALL)
{ return FALSE; }
virtual bool IsFullScreen() const { return FALSE; }
// implementation from now on
// --------------------------
+ static void MacDelayedDeactivation(long timestamp);
virtual void MacCreateRealWindow( const wxString& title,
const wxPoint& pos,
const wxSize& size,
const wxString& name ) ;
static WXWindow MacGetWindowInUpdate() { return s_macWindowInUpdate ; }
virtual void MacGetPortParams(WXPOINTPTR localOrigin, WXRECTPTR clipRect, WXWindow *window , wxWindowMac** rootwin ) ;
- virtual void Clear() ;
+ virtual void ClearBackground() ;
virtual WXWidget MacGetContainerForEmbedding() ;
WXWindow MacGetWindowRef() { return m_macWindow ; }
virtual void MacActivate( long timestamp , bool inIsActivating ) ;
bool m_macNeedsErasing ;
static WXWindow s_macWindowInUpdate ;
+ static wxTopLevelWindowMac *s_macDeactivateWindow;
private :
#if TARGET_CARBON
WXEVENTHANDLERREF m_macEventHandler ;