]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/popupwin.h
DEBUGREPORT
[wxWidgets.git] / include / wx / x11 / popupwin.h
CommitLineData
1246e28f
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: popupwin.h
3// Purpose:
4// Author: Robert Roebling
5// Created:
6// Id: $Id$
7// Copyright: (c) 2001 Robert Roebling
65571936 8// Licence: wxWindows licence
1246e28f 9/////////////////////////////////////////////////////////////////////////////
83df96d6 10
1246e28f
JS
11#ifndef __GTKPOPUPWINH__
12#define __GTKPOPUPWINH__
83df96d6 13
12028905 14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
1246e28f
JS
15 #pragma interface "popupwin.h"
16#endif
83df96d6 17
1246e28f
JS
18#include "wx/defs.h"
19#include "wx/panel.h"
20#include "wx/icon.h"
21
22//-----------------------------------------------------------------------------
23// wxPopUpWindow
24//-----------------------------------------------------------------------------
25
26class wxPopupWindow: public wxPopupWindowBase
83df96d6
JS
27{
28public:
29 wxPopupWindow() { }
6033bbc1 30 virtual ~wxPopupWindow() ;
83df96d6
JS
31
32 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
33 { (void)Create(parent, flags); }
8354aa92 34
1246e28f 35 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
83df96d6 36
1246e28f 37 virtual bool Show( bool show = TRUE );
83df96d6 38
1246e28f
JS
39protected:
40 virtual void DoMoveWindow(int x, int y, int width, int height);
41 virtual void DoSetSize(int x, int y,
42 int width, int height,
43 int sizeFlags = wxSIZE_AUTO);
8354aa92 44
1246e28f
JS
45private:
46 DECLARE_EVENT_TABLE()
83df96d6
JS
47 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
48};
49
1246e28f 50#endif // __GTKPOPUPWINDOWH__