]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/popupwin.h
No real changes, just make wxWindow::CanScroll() virtual.
[wxWidgets.git] / include / wx / gtk / popupwin.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/popupwin.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Created:
6 // Copyright: (c) 2001 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_GTK_POPUPWIN_H_
11 #define _WX_GTK_POPUPWIN_H_
12
13 //-----------------------------------------------------------------------------
14 // wxPopUpWindow
15 //-----------------------------------------------------------------------------
16
17 class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
18 {
19 public:
20 wxPopupWindow() { }
21 virtual ~wxPopupWindow();
22
23 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
24 { (void)Create(parent, flags); }
25 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
26
27 virtual bool Show(bool show = true);
28
29 virtual void SetFocus();
30
31 // implementation
32 // --------------
33
34 // GTK time when connecting to button_press signal
35 wxUint32 m_time;
36
37 protected:
38 virtual void DoSetSize(int x, int y,
39 int width, int height,
40 int sizeFlags = wxSIZE_AUTO);
41
42 virtual void DoMoveWindow(int x, int y, int width, int height);
43
44 #ifdef __WXUNIVERSAL__
45 DECLARE_EVENT_TABLE()
46 #endif
47 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
48 };
49
50 #endif // _WX_GTK_POPUPWIN_H_