X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/085ad68651cd624a11331f5ab2cb2720bd7162aa..06f6df7d4657582a637ac79f3452b61b1cbb10cc:/include/wx/msw/toplevel.h?ds=sidebyside diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index d09a48ce0a..213538d3c1 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif @@ -58,6 +58,8 @@ public: virtual void SetIcons(const wxIconBundle& icons ); virtual void Restore(); + virtual bool SetShape(const wxRegion& region); + virtual bool Show(bool show = TRUE); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); @@ -119,11 +121,8 @@ protected: // the last focused child: we restore focus to it on activation wxWindow *m_winLastFocused; - // the hidden parent window for the frames which shouldn't appear in the - // taskbar - static wxWindow *ms_hiddenParent; - DECLARE_EVENT_TABLE() + DECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW) }; // list of all frames and modeless dialogs