2002-02-05 11:34:33 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-10-17 10:44:52 -04:00
|
|
|
// Name: wx/x11/minifram.h
|
2002-02-05 11:34:33 -05:00
|
|
|
// Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars.
|
|
|
|
// If there is no equivalent on your platform, just make it a
|
|
|
|
// normal frame.
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2006-10-17 10:44:52 -04:00
|
|
|
// Licence: wxWindows licence
|
2002-02-05 11:34:33 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MINIFRAM_H_
|
|
|
|
#define _WX_MINIFRAM_H_
|
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
|
2006-10-17 10:44:52 -04:00
|
|
|
|
2002-02-05 11:34:33 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
|
2006-10-17 10:44:52 -04:00
|
|
|
|
2002-02-05 11:34:33 -05:00
|
|
|
public:
|
|
|
|
inline wxMiniFrame() {}
|
|
|
|
inline wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION_HORIZ,
|
|
|
|
const wxString& name = wxFrameNameStr)
|
|
|
|
{
|
|
|
|
// Use wxFrame constructor in absence of more specific code.
|
|
|
|
Create(parent, id, title, pos, size, style, name);
|
|
|
|
}
|
2006-10-17 10:44:52 -04:00
|
|
|
|
2006-09-05 16:47:48 -04:00
|
|
|
virtual ~wxMiniFrame() {}
|
2002-02-05 11:34:33 -05:00
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2006-10-17 10:44:52 -04:00
|
|
|
// _WX_MINIFRAM_H_
|