1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: minifram.h
|
|
|
|
// 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.
|
1999-10-11 02:49:06 +00:00
|
|
|
// Author: David Webster
|
1999-07-29 05:11:30 +00:00
|
|
|
// Modified by:
|
1999-10-11 02:49:06 +00:00
|
|
|
// Created: 10/10/99
|
1999-07-29 05:11:30 +00:00
|
|
|
// RCS-ID: $Id$
|
1999-10-11 02:49:06 +00:00
|
|
|
// Copyright: (c) David Webster
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MINIFRAM_H_
|
|
|
|
#define _WX_MINIFRAM_H_
|
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxMiniFrame: public wxFrame {
|
|
|
|
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
|
|
|
|
|
|
|
|
public:
|
1999-10-11 02:49:06 +00:00
|
|
|
inline wxMiniFrame(void) {}
|
1999-07-29 05:11:30 +00:00
|
|
|
inline wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-10-11 02:49:06 +00:00
|
|
|
long style = wxDEFAULT_FRAME_STYLE,
|
1999-07-29 05:11:30 +00:00
|
|
|
const wxString& name = wxFrameNameStr)
|
|
|
|
{
|
1999-10-11 02:49:06 +00:00
|
|
|
Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
|
1999-07-29 05:11:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_MINIFRAM_H_
|
1999-10-11 02:49:06 +00:00
|
|
|
|