X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e97d2576ae3307ed2f7ee8392090d2dab97df80c..0d1cb8cb298ae68754575cb65695ff9567a36899:/include/wx/x11/toplevel.h diff --git a/include/wx/x11/toplevel.h b/include/wx/x11/toplevel.h index 0b16cf9202..e94060f208 100644 --- a/include/wx/x11/toplevel.h +++ b/include/wx/x11/toplevel.h @@ -12,7 +12,7 @@ #ifndef _WX_X11_TOPLEVEL_H_ #define _WX_X11_TOPLEVEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "toplevel.h" #endif @@ -79,6 +79,8 @@ protected: // set the icon for the window void DoSetIcon( const wxIcon& icon ); + virtual bool SetShape(const wxRegion& region); + // For implementation purposes - sometimes decorations make the // client area smaller virtual wxPoint GetClientAreaOrigin() const;