]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/nonownedwnd.h
Allow using wxDEFAULT as font size in wxOSX.
[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
6// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_MSW_NONOWNEDWND_H_
12#define _WX_MSW_NONOWNEDWND_H_
13
46ea442c
VZ
14class wxNonOwnedWindowShapeImpl;
15
5bd0ee99
VZ
16// ----------------------------------------------------------------------------
17// wxNonOwnedWindow
18// ----------------------------------------------------------------------------
19
20class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
21{
22public:
46ea442c
VZ
23 wxNonOwnedWindow();
24 virtual ~wxNonOwnedWindow();
25
26protected:
27 virtual bool DoClearShape();
28 virtual bool DoSetRegionShape(const wxRegion& region);
29#if wxUSE_GRAPHICS_CONTEXT
30 virtual bool DoSetPathShape(const wxGraphicsPath& path);
31
32private:
33 wxNonOwnedWindowShapeImpl* m_shapeImpl;
34#endif // wxUSE_GRAPHICS_CONTEXT
35
36 wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow);
5bd0ee99
VZ
37};
38
39#endif // _WX_MSW_NONOWNEDWND_H_