]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/popupwin.h
added conversion ctor to create const_iterator from iterator, otherwise assigning...
[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
11#ifndef __GTKPOPUPWINH__
12#define __GTKPOPUPWINH__
13
9f41d601
RR
14#include "wx/defs.h"
15#include "wx/panel.h"
16#include "wx/icon.h"
17
18//-----------------------------------------------------------------------------
19// wxPopUpWindow
20//-----------------------------------------------------------------------------
21
20123d49 22class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
9f41d601
RR
23{
24public:
25 wxPopupWindow() { }
ad9fb033 26 virtual ~wxPopupWindow();
758bce95
RD
27
28 wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
29 { (void)Create(parent, flags); }
9f41d601
RR
30 bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
31
32 virtual bool Show( bool show = TRUE );
758bce95 33
9f41d601
RR
34 // implementation
35 // --------------
36
9f41d601 37 virtual void OnInternalIdle();
33c0d0ed
RR
38
39 // GTK time when connecting to button_press signal
40 wxUint32 m_time;
9f41d601
RR
41
42
43protected:
44 void GtkOnSize( int x, int y, int width, int height );
45
46 virtual void DoSetSize(int x, int y,
47 int width, int height,
48 int sizeFlags = wxSIZE_AUTO);
49
6f02a879
VZ
50 virtual void DoMoveWindow(int x, int y, int width, int height);
51
9f41d601
RR
52private:
53 DECLARE_EVENT_TABLE()
54 DECLARE_DYNAMIC_CLASS(wxPopupWindow)
55};
56
57#endif // __GTKPOPUPWINDOWH__