2011-10-10 06:53:23 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/msw/nonownedwnd.h
|
|
|
|
// Purpose: wxNonOwnedWindow declaration for wxMSW.
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Created: 2011-10-09
|
|
|
|
// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
|
|
|
|
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSW_NONOWNEDWND_H_
|
|
|
|
#define _WX_MSW_NONOWNEDWND_H_
|
|
|
|
|
2011-10-18 17:56:52 -04:00
|
|
|
class wxNonOwnedWindowShapeImpl;
|
|
|
|
|
2011-10-10 06:53:23 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxNonOwnedWindow
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
|
|
|
|
{
|
|
|
|
public:
|
2011-10-18 17:56:52 -04:00
|
|
|
wxNonOwnedWindow();
|
|
|
|
virtual ~wxNonOwnedWindow();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool DoClearShape();
|
|
|
|
virtual bool DoSetRegionShape(const wxRegion& region);
|
|
|
|
#if wxUSE_GRAPHICS_CONTEXT
|
|
|
|
virtual bool DoSetPathShape(const wxGraphicsPath& path);
|
|
|
|
|
|
|
|
private:
|
|
|
|
wxNonOwnedWindowShapeImpl* m_shapeImpl;
|
|
|
|
#endif // wxUSE_GRAPHICS_CONTEXT
|
|
|
|
|
|
|
|
wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow);
|
2011-10-10 06:53:23 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MSW_NONOWNEDWND_H_
|