make popup on mac behave as on msw
[wxWidgets.git] / include / wx / nonownedwnd.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/nonownedwnd.h
3 // Purpose: declares wxNonTopLevelWindow class
4 // Author: Vaclav Slavik
5 // Modified by:
6 // Created: 2006-12-24
7 // RCS-ID: $Id$
8 // Copyright: (c) 2006 TT-Solutions
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_NONOWNEDWND_H_
13 #define _WX_NONOWNEDWND_H_
14
15 #if defined(__WXDFB__)
16 #include "wx/dfb/nonownedwnd.h"
17 #elif defined(__WXMAC__)
18 #include "wx/mac/nonownedwnd.h"
19 #else
20 // other ports can derive both wxTLW and wxPopupWindow directly
21 // from wxWindow:
22 #include "wx/window.h"
23 typedef wxWindow wxNonOwnedWindow;
24 #endif
25
26 #endif // _WX_NONOWNEDWND_H_