2002-02-05 16:34:33 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-10-17 14:44:52 +00:00
|
|
|
// Name: wx/x11/minifram.h
|
2002-02-05 16:34:33 +00: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
|
|
|
|
// Copyright: (c) Julian Smart
|
2006-10-17 14:44:52 +00:00
|
|
|
// Licence: wxWindows licence
|
2002-02-05 16:34:33 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MINIFRAM_H_
|
|
|
|
#define _WX_MINIFRAM_H_
|
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
2008-03-26 15:06:00 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
|
2006-10-17 14:44:52 +00:00
|
|
|
|
2015-04-23 11:49:01 +00:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxMiniFrame);
|
2006-10-17 14:44:52 +00:00
|
|
|
|
2002-02-05 16:34:33 +00:00
|
|
|
public:
|
|
|
|
inline wxMiniFrame() {}
|
|
|
|
inline wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
2010-05-10 21:09:57 +00:00
|
|
|
long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION,
|
2002-02-05 16:34:33 +00:00
|
|
|
const wxString& name = wxFrameNameStr)
|
|
|
|
{
|
|
|
|
// Use wxFrame constructor in absence of more specific code.
|
|
|
|
Create(parent, id, title, pos, size, style, name);
|
|
|
|
}
|
2006-10-17 14:44:52 +00:00
|
|
|
|
2006-09-05 20:47:48 +00:00
|
|
|
virtual ~wxMiniFrame() {}
|
2002-02-05 16:34:33 +00:00
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2006-10-17 14:44:52 +00:00
|
|
|
// _WX_MINIFRAM_H_
|