]>
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__
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "popupwin.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 class wxPopupWindow
: public wxPopupWindowBase
30 virtual ~wxPopupWindow();
32 wxPopupWindow(wxWindow
*parent
, int flags
= wxBORDER_NONE
)
33 { (void)Create(parent
, flags
); }
34 bool Create(wxWindow
*parent
, int flags
= wxBORDER_NONE
);
36 virtual bool Show( bool show
= TRUE
);
41 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
43 virtual void OnInternalIdle();
47 void GtkOnSize( int x
, int y
, int width
, int height
);
49 virtual void DoSetSize(int x
, int y
,
50 int width
, int height
,
51 int sizeFlags
= wxSIZE_AUTO
);
55 DECLARE_DYNAMIC_CLASS(wxPopupWindow
)
58 #endif // __GTKPOPUPWINDOWH__