]>
Commit | Line | Data |
---|---|---|
1246e28f | 1 | ///////////////////////////////////////////////////////////////////////////// |
80fdcdb9 | 2 | // Name: wx/x11/popupwin.h |
1246e28f JS |
3 | // Purpose: |
4 | // Author: Robert Roebling | |
5 | // Created: | |
1246e28f | 6 | // Copyright: (c) 2001 Robert Roebling |
65571936 | 7 | // Licence: wxWindows licence |
1246e28f | 8 | ///////////////////////////////////////////////////////////////////////////// |
83df96d6 | 9 | |
1246e28f JS |
10 | #ifndef __GTKPOPUPWINH__ |
11 | #define __GTKPOPUPWINH__ | |
83df96d6 | 12 | |
1246e28f JS |
13 | #include "wx/defs.h" |
14 | #include "wx/panel.h" | |
15 | #include "wx/icon.h" | |
16 | ||
17 | //----------------------------------------------------------------------------- | |
18 | // wxPopUpWindow | |
19 | //----------------------------------------------------------------------------- | |
20 | ||
968eb2ef | 21 | class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase |
83df96d6 JS |
22 | { |
23 | public: | |
24 | wxPopupWindow() { } | |
6033bbc1 | 25 | virtual ~wxPopupWindow() ; |
83df96d6 JS |
26 | |
27 | wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE) | |
28 | { (void)Create(parent, flags); } | |
03647350 | 29 | |
1246e28f | 30 | bool Create(wxWindow *parent, int flags = wxBORDER_NONE); |
83df96d6 | 31 | |
1246e28f | 32 | virtual bool Show( bool show = TRUE ); |
83df96d6 | 33 | |
1246e28f JS |
34 | protected: |
35 | virtual void DoMoveWindow(int x, int y, int width, int height); | |
36 | virtual void DoSetSize(int x, int y, | |
37 | int width, int height, | |
38 | int sizeFlags = wxSIZE_AUTO); | |
03647350 | 39 | |
1246e28f JS |
40 | private: |
41 | DECLARE_EVENT_TABLE() | |
83df96d6 JS |
42 | DECLARE_DYNAMIC_CLASS(wxPopupWindow) |
43 | }; | |
44 | ||
1246e28f | 45 | #endif // __GTKPOPUPWINDOWH__ |