]>
Commit | Line | Data |
---|---|---|
5bd0ee99 VZ |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/msw/nonownedwnd.h | |
3 | // Purpose: wxNonOwnedWindow declaration for wxMSW. | |
4 | // Author: Vadim Zeitlin | |
5 | // Created: 2011-10-09 | |
5bd0ee99 VZ |
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 | ||
46ea442c VZ |
13 | class wxNonOwnedWindowShapeImpl; |
14 | ||
5bd0ee99 VZ |
15 | // ---------------------------------------------------------------------------- |
16 | // wxNonOwnedWindow | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
19 | class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase | |
20 | { | |
21 | public: | |
46ea442c VZ |
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); | |
5bd0ee99 VZ |
36 | }; |
37 | ||
38 | #endif // _WX_MSW_NONOWNEDWND_H_ |