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