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