]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/nonownedwnd.h
72e3e6b072ef34c08d031d236ccff4d684ff6d12
[wxWidgets.git] / include / wx / msw / nonownedwnd.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/nonownedwnd.h
3 // Purpose: wxNonOwnedWindow declaration for wxMSW.
4 // Author: Vadim Zeitlin
5 // Created: 2011-10-09
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_MSW_NONOWNEDWND_H_
11 #define _WX_MSW_NONOWNEDWND_H_
12
13 class wxNonOwnedWindowShapeImpl;
14
15 // ----------------------------------------------------------------------------
16 // wxNonOwnedWindow
17 // ----------------------------------------------------------------------------
18
19 class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
20 {
21 public:
22 wxNonOwnedWindow();
23 virtual ~wxNonOwnedWindow();
24
25 protected:
26 virtual bool DoClearShape();
27 virtual bool DoSetRegionShape(const wxRegion& region);
28 #if wxUSE_GRAPHICS_CONTEXT
29 virtual bool DoSetPathShape(const wxGraphicsPath& path);
30
31 private:
32 wxNonOwnedWindowShapeImpl* m_shapeImpl;
33 #endif // wxUSE_GRAPHICS_CONTEXT
34
35 wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow);
36 };
37
38 #endif // _WX_MSW_NONOWNEDWND_H_