1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-03-20 00:14:35 +00:00
|
|
|
// Name: wx/os2/minifram.h
|
1999-07-29 05:11:30 +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.
|
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
|
|
|
|
// 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"
|
|
|
|
|
2008-03-26 15:06:00 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
|
1999-07-29 05:11:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
|