]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/popupwin.h
Make storing non-trivial data in wxThreadSpecificInfo possible.
[wxWidgets.git] / include / wx / x11 / popupwin.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/x11/popupwin.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Created:
6 // Copyright: (c) 2001 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __GTKPOPUPWINH__
11 #define __GTKPOPUPWINH__
12
13 #include "wx/defs.h"
14 #include "wx/panel.h"
15 #include "wx/icon.h"
16
17 //-----------------------------------------------------------------------------
18 // wxPopUpWindow
19 //-----------------------------------------------------------------------------
20
21 class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
22 {
23 public:
24 wxPopupWindow() { }
25 virtual ~wxPopupWindow() ;
26
27 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
28 { (void)Create(parent, flags); }
29
30 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
31
32 virtual bool Show( bool show = TRUE );
33
34 protected:
35 virtual void DoMoveWindow(int x, int y, int width, int height);
36 virtual void DoSetSize(int x, int y,
37 int width, int height,
38 int sizeFlags = wxSIZE_AUTO);
39
40 private:
41 DECLARE_EVENT_TABLE()
42 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
43 };
44
45 #endif // __GTKPOPUPWINDOWH__