]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/popupwin.h
(blind) compilation fixes after latest changes
[wxWidgets.git] / include / wx / gtk / popupwin.h
CommitLineData
9f41d601
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: popupwin.h
3// Purpose:
4// Author: Robert Roebling
5// Created:
6// Id: $Id$
6522713c 7// Copyright: (c) 2001 Robert Roebling
65571936 8// Licence: wxWindows licence
9f41d601
RR
9/////////////////////////////////////////////////////////////////////////////
10
0416c418
PC
11#ifndef _WX_GTK_POPUPWIN_H_
12#define _WX_GTK_POPUPWIN_H_
9f41d601
RR
13
14//-----------------------------------------------------------------------------
15// wxPopUpWindow
16//-----------------------------------------------------------------------------
17
20123d49 18class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
9f41d601
RR
19{
20public:
21 wxPopupWindow() { }
ad9fb033 22 virtual ~wxPopupWindow();
758bce95
RD
23
24 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
25 { (void)Create(parent, flags); }
9f41d601
RR
26 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
27
28 virtual bool Show( bool show = TRUE );
758bce95 29
9f41d601
RR
30 // implementation
31 // --------------
32
9f41d601 33 virtual void OnInternalIdle();
33c0d0ed
RR
34
35 // GTK time when connecting to button_press signal
36 wxUint32 m_time;
9f41d601
RR
37
38
39protected:
b5e31cc8 40 void GtkOnSize();
9f41d601
RR
41
42 virtual void DoSetSize(int x, int y,
43 int width, int height,
44 int sizeFlags = wxSIZE_AUTO);
45
6f02a879
VZ
46 virtual void DoMoveWindow(int x, int y, int width, int height);
47
9f41d601
RR
48private:
49 DECLARE_EVENT_TABLE()
50 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
51};
52
0416c418 53#endif // _WX_GTK_POPUPWIN_H_