2002-02-10 23:21:44 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: popupwin.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
|
|
|
// Created:
|
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 2001 Robert Roebling
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
2002-02-10 23:21:44 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2002-02-05 16:34:33 +00:00
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
#ifndef __GTKPOPUPWINH__
|
|
|
|
#define __GTKPOPUPWINH__
|
2002-02-05 16:34:33 +00:00
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
#include "wx/defs.h"
|
|
|
|
#include "wx/panel.h"
|
|
|
|
#include "wx/icon.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxPopUpWindow
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2005-08-02 18:16:51 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
|
2002-02-05 16:34:33 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxPopupWindow() { }
|
2004-05-25 20:41:54 +00:00
|
|
|
virtual ~wxPopupWindow() ;
|
2002-02-05 16:34:33 +00:00
|
|
|
|
|
|
|
wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
|
|
|
|
{ (void)Create(parent, flags); }
|
2002-02-10 23:31:24 +00:00
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
|
2002-02-05 16:34:33 +00:00
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
virtual bool Show( bool show = TRUE );
|
2002-02-05 16:34:33 +00:00
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
protected:
|
|
|
|
virtual void DoMoveWindow(int x, int y, int width, int height);
|
|
|
|
virtual void DoSetSize(int x, int y,
|
|
|
|
int width, int height,
|
|
|
|
int sizeFlags = wxSIZE_AUTO);
|
2002-02-10 23:31:24 +00:00
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
private:
|
|
|
|
DECLARE_EVENT_TABLE()
|
2002-02-05 16:34:33 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxPopupWindow)
|
|
|
|
};
|
|
|
|
|
2002-02-10 23:21:44 +00:00
|
|
|
#endif // __GTKPOPUPWINDOWH__
|