X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/164db177a227c71a91fc998ab38f6eefd4f2606a..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/msw/nonownedwnd.h?ds=sidebyside diff --git a/include/wx/msw/nonownedwnd.h b/include/wx/msw/nonownedwnd.h index 3eddd78ff9..260c81ceb3 100644 --- a/include/wx/msw/nonownedwnd.h +++ b/include/wx/msw/nonownedwnd.h @@ -11,6 +11,8 @@ #ifndef _WX_MSW_NONOWNEDWND_H_ #define _WX_MSW_NONOWNEDWND_H_ +class wxNonOwnedWindowShapeImpl; + // ---------------------------------------------------------------------------- // wxNonOwnedWindow // ---------------------------------------------------------------------------- @@ -18,7 +20,20 @@ class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase { public: - virtual bool SetShape(const wxRegion& region); + wxNonOwnedWindow(); + virtual ~wxNonOwnedWindow(); + +protected: + virtual bool DoClearShape(); + virtual bool DoSetRegionShape(const wxRegion& region); +#if wxUSE_GRAPHICS_CONTEXT + virtual bool DoSetPathShape(const wxGraphicsPath& path); + +private: + wxNonOwnedWindowShapeImpl* m_shapeImpl; +#endif // wxUSE_GRAPHICS_CONTEXT + + wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow); }; #endif // _WX_MSW_NONOWNEDWND_H_