1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 2001 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GTK_POPUPWIN_H_
12 #define _WX_GTK_POPUPWIN_H_
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxPopupWindow
: public wxPopupWindowBase
22 virtual ~wxPopupWindow();
24 wxPopupWindow(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
25 { (void)Create(parent
, flags
); }
26 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
28 virtual bool Show( bool show
= TRUE
);
33 virtual void OnInternalIdle();
35 // GTK time when connecting to button_press signal
42 virtual void DoSetSize(int x
, int y
,
43 int width
, int height
,
44 int sizeFlags
= wxSIZE_AUTO
);
46 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
50 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
53 #endif // _WX_GTK_POPUPWIN_H_