Added wxPopupWindow skeleton (no implementation yet)
[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 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
35
36 virtual bool Show( bool show = TRUE );
37
38 // implementation
39 // --------------
40
41 protected:
42 virtual void DoMoveWindow(int x, int y, int width, int height);
43 virtual void DoSetSize(int x, int y,
44 int width, int height,
45 int sizeFlags = wxSIZE_AUTO);
46
47 private:
48 DECLARE_EVENT_TABLE()
49 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
50 };
51
52 #endif // __GTKPOPUPWINDOWH__