]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/popupwin.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 2001 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKPOPUPWINH__
12 #define __GTKPOPUPWINH__
15 #pragma interface "popupwin.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 class wxPopupWindow
: public wxPopupWindowBase
30 virtual ~wxPopupWindow() { }
32 wxPopupWindow(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
33 { (void)Create(parent
, flags
); }
35 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
37 virtual bool Show( bool show
= TRUE
);
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
);
47 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
50 #endif // __GTKPOPUPWINDOWH__