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