1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/nonownedwnd.h
3 // Purpose: wxNonOwnedWindow declaration for wxMSW.
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_MSW_NONOWNEDWND_H_
11 #define _WX_MSW_NONOWNEDWND_H_
13 class wxNonOwnedWindowShapeImpl
;
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxNonOwnedWindow
: public wxNonOwnedWindowBase
23 virtual ~wxNonOwnedWindow();
26 virtual bool DoClearShape();
27 virtual bool DoSetRegionShape(const wxRegion
& region
);
28 #if wxUSE_GRAPHICS_CONTEXT
29 virtual bool DoSetPathShape(const wxGraphicsPath
& path
);
32 wxNonOwnedWindowShapeImpl
* m_shapeImpl
;
33 #endif // wxUSE_GRAPHICS_CONTEXT
35 wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow
);
38 #endif // _WX_MSW_NONOWNEDWND_H_