]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/nonownedwnd.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / nonownedwnd.h
CommitLineData
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
13class wxNonOwnedWindowShapeImpl;
14
5bd0ee99
VZ
15// ----------------------------------------------------------------------------
16// wxNonOwnedWindow
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
20{
21public:
46ea442c
VZ
22 wxNonOwnedWindow();
23 virtual ~wxNonOwnedWindow();
24
25protected:
26 virtual bool DoClearShape();
27 virtual bool DoSetRegionShape(const wxRegion& region);
28#if wxUSE_GRAPHICS_CONTEXT
29 virtual bool DoSetPathShape(const wxGraphicsPath& path);
30
31private:
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_