]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/nonownedwnd.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / msw / nonownedwnd.h
... / ...
CommitLineData
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
13class wxNonOwnedWindowShapeImpl;
14
15// ----------------------------------------------------------------------------
16// wxNonOwnedWindow
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
20{
21public:
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);
36};
37
38#endif // _WX_MSW_NONOWNEDWND_H_