1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/popupwin.h
4 // Author: Robert Roebling
7 // Copyright: (c) 2001 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKPOPUPWINH__
12 #define __GTKPOPUPWINH__
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxPopupWindow
: public wxPopupWindowBase
26 virtual ~wxPopupWindow();
28 wxPopupWindow(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
29 { (void)Create(parent
, flags
); }
30 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
32 virtual bool Show( bool show
= TRUE
);
37 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
39 virtual void OnInternalIdle();
43 void GtkOnSize( int x
, int y
, int width
, int height
);
45 virtual void DoSetSize(int x
, int y
,
46 int width
, int height
,
47 int sizeFlags
= wxSIZE_AUTO
);
51 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
54 #endif // __GTKPOPUPWINDOWH__