]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/popupwin.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKPOPUPWINH__
12 #define __GTKPOPUPWINH__
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 class wxPopupWindow
: public wxPopupWindowBase
31 wxPopupWindow(wxWindow
*parent
) { (void)Create(parent
); }
32 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
34 virtual bool Show( bool show
= TRUE
);
39 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
41 virtual void OnInternalIdle();
45 void GtkOnSize( int x
, int y
, int width
, int height
);
47 virtual void DoSetSize(int x
, int y
,
48 int width
, int height
,
49 int sizeFlags
= wxSIZE_AUTO
);
53 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
56 #endif // __GTKPOPUPWINDOWH__