X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2c0dabfa61fc435265f3dc71122592d359f0119..5c2e93769956ec4a3ff1c6f02f8c2b492a13febd:/include/wx/x11/toplevel.h diff --git a/include/wx/x11/toplevel.h b/include/wx/x11/toplevel.h index ccf1a16618..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; @@ -88,6 +90,7 @@ protected: virtual void OnInternalIdle(); virtual void DoGetClientSize( int *width, int *height ) const; + virtual void DoGetSize( int *width, int *height ) const; virtual void DoSetClientSize(int width, int height); virtual void DoSetSize(int x, int y, int width, int height,