X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bd0ee99664dbfdfa6b95db24eac0cab93583d46..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/include/wx/msw/nonownedwnd.h diff --git a/include/wx/msw/nonownedwnd.h b/include/wx/msw/nonownedwnd.h index b9528dbc88..72e3e6b072 100644 --- a/include/wx/msw/nonownedwnd.h +++ b/include/wx/msw/nonownedwnd.h @@ -3,7 +3,6 @@ // Purpose: wxNonOwnedWindow declaration for wxMSW. // Author: Vadim Zeitlin // Created: 2011-10-09 -// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -11,6 +10,8 @@ #ifndef _WX_MSW_NONOWNEDWND_H_ #define _WX_MSW_NONOWNEDWND_H_ +class wxNonOwnedWindowShapeImpl; + // ---------------------------------------------------------------------------- // wxNonOwnedWindow // ---------------------------------------------------------------------------- @@ -18,9 +19,20 @@ class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase { public: -#ifndef __WXWINCE__ - virtual bool SetShape(const wxRegion& region); -#endif // !__WXWINCE__ + 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_