1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/nonownedwnd.h
3 // Purpose: wxGTK-specific wxNonOwnedWindow declaration.
4 // Author: Vadim Zeitlin
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 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GTK_NONOWNEDWND_H_
12 #define _WX_GTK_NONOWNEDWND_H_
14 // ----------------------------------------------------------------------------
15 // wxNonOwnedWindow contains code common to wx{Popup,TopLevel}Window in wxGTK.
16 // ----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxNonOwnedWindow
: public wxNonOwnedWindowBase
21 wxNonOwnedWindow() { }
23 virtual bool SetShape(const wxRegion
& region
);
25 // Overridden to actually set the shape when the window becomes realized.
26 virtual void GTKHandleRealized();
29 // If valid, defines the custom shape of the window.
32 wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow
);
35 #endif // _WX_GTK_NONOWNEDWND_H_