1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2000-08-08 02:11:51 -04:00
|
|
|
// Name: wx/msw/minifram.h
|
1998-05-20 10:12:05 -04:00
|
|
|
// Purpose: wxMiniFrame class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_MINIFRAM_H_
|
|
|
|
#define _WX_MINIFRAM_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
class WXDLLEXPORT wxMiniFrame : public wxFrame
|
|
|
|
{
|
1999-08-06 07:52:33 -04:00
|
|
|
public:
|
2000-08-08 02:11:51 -04:00
|
|
|
wxMiniFrame() { }
|
2003-06-21 13:38:55 -04:00
|
|
|
|
|
|
|
bool Create(wxWindow *parent,
|
2000-08-08 02:11:51 -04:00
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
|
|
|
const wxString& name = wxFrameNameStr)
|
1999-08-06 07:52:33 -04:00
|
|
|
{
|
2003-06-28 09:12:00 -04:00
|
|
|
return wxFrame::Create(parent, id, title, pos, size,
|
|
|
|
style |
|
|
|
|
wxFRAME_TOOL_WINDOW |
|
|
|
|
(parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
|
1999-08-06 07:52:33 -04:00
|
|
|
}
|
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
2003-06-21 13:38:55 -04:00
|
|
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
2000-08-08 02:11:51 -04:00
|
|
|
const wxString& name = wxFrameNameStr)
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
|
|
|
Create(parent, id, title, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
2003-06-21 13:38:55 -04:00
|
|
|
protected:
|
2003-07-21 21:42:41 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_MINIFRAM_H_
|