]>
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
, int flags
= wxBORDER_NONE
)
35 { (void)Create(parent
, flags
); }
36 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
38 virtual bool Show( bool show
= TRUE
);
43 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
45 virtual void OnInternalIdle();
49 void GtkOnSize( int x
, int y
, int width
, int height
);
51 virtual void DoSetSize(int x
, int y
,
52 int width
, int height
,
53 int sizeFlags
= wxSIZE_AUTO
);
57 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
60 #endif // __GTKPOPUPWINDOWH__