X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5152b0e59aa09d885deeaa018642e0e96aff92d9..1f30c17645c56f85178ee780fa330d954e45cea9:/include/wx/gtk/toplevel.h diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 29fdcd5f5c..8ee1660d8b 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -11,7 +11,7 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif @@ -60,6 +60,8 @@ public: virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); virtual bool IsFullScreen() const { return m_fsIsShowing; }; + virtual bool SetShape(const wxRegion& region); + virtual bool Show(bool show = TRUE); virtual void SetTitle( const wxString &title ); @@ -78,9 +80,6 @@ public: // from both DoSetSize() and DoSetClientSize() virtual void DoMoveWindow(int x, int y, int width, int height); - // set the icon for this window - void DoSetIcon( const wxIcon& icon ); - // GTK callbacks virtual void GtkOnSize( int x, int y, int width, int height ); virtual void OnInternalIdle();