1999-07-29 01:11:30 -04: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-10 22:49:06 -04:00
|
|
|
// Author: David Webster
|
1999-07-29 01:11:30 -04:00
|
|
|
// Modified by:
|
1999-10-10 22:49:06 -04:00
|
|
|
// Created: 10/10/99
|
1999-07-29 01:11:30 -04:00
|
|
|
// RCS-ID: $Id$
|
1999-10-10 22:49:06 -04:00
|
|
|
// Copyright: (c) David Webster
|
2004-05-23 10:56:36 -04:00
|
|
|
// Licence: wxWidgets licence
|
1999-07-29 01:11:30 -04: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-10 22:49:06 -04:00
|
|
|
inline wxMiniFrame(void) {}
|
1999-07-29 01:11:30 -04:00
|
|
|
inline wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
1999-10-10 22:49:06 -04:00
|
|
|
long style = wxDEFAULT_FRAME_STYLE,
|
1999-07-29 01:11:30 -04:00
|
|
|
const wxString& name = wxFrameNameStr)
|
|
|
|
{
|
1999-10-10 22:49:06 -04:00
|
|
|
Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
|
1999-07-29 01:11:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_MINIFRAM_H_
|
1999-10-10 22:49:06 -04:00
|
|
|
|