1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/popupwin.h
4 // Author: Robert Roebling
6 // Copyright: (c) 2001 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_POPUPWIN_H_
11 #define _WX_GTK_POPUPWIN_H_
13 //-----------------------------------------------------------------------------
15 //-----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxPopupWindow
: public wxPopupWindowBase
21 virtual ~wxPopupWindow();
23 wxPopupWindow(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
24 { (void)Create(parent
, flags
); }
25 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
27 virtual bool Show(bool show
= true);
29 virtual void SetFocus();
34 // GTK time when connecting to button_press signal
38 virtual void DoSetSize(int x
, int y
,
39 int width
, int height
,
40 int sizeFlags
= wxSIZE_AUTO
);
42 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
44 #ifdef __WXUNIVERSAL__
47 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
50 #endif // _WX_GTK_POPUPWIN_H_