]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/popupwin.h
Add a helper wxApp::GetValidTraits() method.
[wxWidgets.git] / include / wx / x11 / popupwin.h
CommitLineData
1246e28f 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/x11/popupwin.h
1246e28f
JS
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
1246e28f
JS
14#include "wx/defs.h"
15#include "wx/panel.h"
16#include "wx/icon.h"
17
18//-----------------------------------------------------------------------------
19// wxPopUpWindow
20//-----------------------------------------------------------------------------
21
968eb2ef 22class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
83df96d6
JS
23{
24public:
25 wxPopupWindow() { }
6033bbc1 26 virtual ~wxPopupWindow() ;
83df96d6
JS
27
28 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
29 { (void)Create(parent, flags); }
03647350 30
1246e28f 31 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
83df96d6 32
1246e28f 33 virtual bool Show( bool show = TRUE );
83df96d6 34
1246e28f
JS
35protected:
36 virtual void DoMoveWindow(int x, int y, int width, int height);
37 virtual void DoSetSize(int x, int y,
38 int width, int height,
39 int sizeFlags = wxSIZE_AUTO);
03647350 40
1246e28f
JS
41private:
42 DECLARE_EVENT_TABLE()
83df96d6
JS
43 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
44};
45
1246e28f 46#endif // __GTKPOPUPWINDOWH__