X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..2c990ba6d4f88e18e6666f61efe55c7a8b5cc948:/include/wx/msw/toplevel.h?ds=sidebyside diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index 202983d285..6684cc6d70 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,10 @@ public: virtual void SetIcons(const wxIconBundle& icons ); virtual void Restore(); +#ifndef __WXWINCE__ + virtual bool SetShape(const wxRegion& region); +#endif // __WXWINCE__ + virtual bool Show(bool show = TRUE); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); @@ -120,10 +124,8 @@ protected: wxWindow *m_winLastFocused; DECLARE_EVENT_TABLE() + DECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW) }; -// list of all frames and modeless dialogs -extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows; - #endif // _WX_MSW_TOPLEVEL_H_