]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/popupwin.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 2001 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKPOPUPWINH__
12 #define __GTKPOPUPWINH__
15 #pragma interface "popupwin.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 class wxPopupWindow
: public wxPopupWindowBase
31 virtual ~wxPopupWindow() { }
34 wxPopupWindow(wxWindow
*parent
) { (void)Create(parent
); }
35 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
37 virtual bool Show( bool show
= TRUE
);
42 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
44 virtual void OnInternalIdle();
48 void GtkOnSize( int x
, int y
, int width
, int height
);
50 virtual void DoSetSize(int x
, int y
,
51 int width
, int height
,
52 int sizeFlags
= wxSIZE_AUTO
);
56 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
59 #endif // __GTKPOPUPWINDOWH__