]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/popupwin.h
more wxFD_XXX renamings (patch 1488371)
[wxWidgets.git] / include / wx / gtk1 / popupwin.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/gtk1/popupwin.h
3// Purpose:
4// Author: Robert Roebling
5// Created:
6// Id: $Id$
7// Copyright: (c) 2001 Robert Roebling
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef __GTKPOPUPWINH__
12#define __GTKPOPUPWINH__
13
14#include "wx/defs.h"
15#include "wx/panel.h"
16#include "wx/icon.h"
17
18//-----------------------------------------------------------------------------
19// wxPopUpWindow
20//-----------------------------------------------------------------------------
21
22class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
23{
24public:
25 wxPopupWindow() { }
26 virtual ~wxPopupWindow();
27
28 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
29 { (void)Create(parent, flags); }
30 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
31
32 virtual bool Show( bool show = TRUE );
33
34 // implementation
35 // --------------
36
37 virtual void DoMoveWindow(int x, int y, int width, int height);
38
39 virtual void OnInternalIdle();
40
41
42protected:
43 void GtkOnSize( int x, int y, int width, int height );
44
45 virtual void DoSetSize(int x, int y,
46 int width, int height,
47 int sizeFlags = wxSIZE_AUTO);
48
49private:
50 DECLARE_EVENT_TABLE()
51 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
52};
53
54#endif // __GTKPOPUPWINDOWH__