1 /////////////////////////////////////////////////////////////////////////////
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 OnInternalIdle();
39 // GTK time when connecting to button_press signal
44 void GtkOnSize( int x
, int y
, int width
, int height
);
46 virtual void DoSetSize(int x
, int y
,
47 int width
, int height
,
48 int sizeFlags
= wxSIZE_AUTO
);
50 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
54 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
57 #endif // __GTKPOPUPWINDOWH__