1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mgl/popupwin.h
3 // Purpose: wxPopupWindow class for wxMGL
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_POPUPWIN_H_
12 #define _WX_POPUPWIN_H_
14 // ----------------------------------------------------------------------------
16 // ----------------------------------------------------------------------------
18 class WXDLLEXPORT wxPopupWindow
: public wxPopupWindowBase
23 wxPopupWindow(wxWindow
*parent
) { (void)Create(parent
); }
25 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
27 return wxPopupWindowBase::Create(parent
) &&
28 wxWindow::Create(parent
, -1,
29 wxDefaultPosition
, wxDefaultSize
,
30 (flags
& wxBORDER_MASK
) | wxPOPUP_WINDOW
);
34 #endif // _WX_POPUPWIN_H_