1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/popupwin.h
4 // Author: Robert Roebling
6 // Copyright: (c) 2001 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKPOPUPWINH__
11 #define __GTKPOPUPWINH__
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 class WXDLLIMPEXP_CORE wxPopupWindow
: public wxPopupWindowBase
25 virtual ~wxPopupWindow();
27 wxPopupWindow(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
28 { (void)Create(parent
, flags
); }
29 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
31 virtual bool Show( bool show
= TRUE
);
36 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
38 virtual void OnInternalIdle();
42 void GtkOnSize( int x
, int y
, int width
, int height
);
44 virtual void DoSetSize(int x
, int y
,
45 int width
, int height
,
46 int sizeFlags
= wxSIZE_AUTO
);
50 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
53 #endif // __GTKPOPUPWINDOWH__