1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2000-08-08 06:11:51 +00:00
|
|
|
// Name: wx/msw/minifram.h
|
1998-05-20 14:12:05 +00:00
|
|
|
// Purpose: wxMiniFrame class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
2000-08-08 06:11:51 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 23:52:45 +00:00
|
|
|
#ifndef _WX_MINIFRAM_H_
|
|
|
|
#define _WX_MINIFRAM_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "minifram.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
2000-08-08 06:11:51 +00:00
|
|
|
class WXDLLEXPORT wxMiniFrame : public wxFrame
|
|
|
|
{
|
1999-08-06 11:52:33 +00:00
|
|
|
public:
|
2000-08-08 06:11:51 +00:00
|
|
|
wxMiniFrame() { }
|
2003-06-21 17:38:55 +00:00
|
|
|
|
|
|
|
bool Create(wxWindow *parent,
|
2000-08-08 06:11:51 +00: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 11:52:33 +00:00
|
|
|
{
|
2003-06-21 17:38:55 +00:00
|
|
|
return Create(parent, id, title, pos, size,
|
|
|
|
style |
|
|
|
|
wxFRAME_TOOL_WINDOW |
|
|
|
|
(parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
|
1999-08-06 11:52:33 +00:00
|
|
|
}
|
|
|
|
|
2000-08-08 06:11:51 +00:00
|
|
|
wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
2003-06-21 17:38:55 +00:00
|
|
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
2000-08-08 06:11:51 +00:00
|
|
|
const wxString& name = wxFrameNameStr)
|
1998-05-20 14:12:05 +00:00
|
|
|
{
|
|
|
|
Create(parent, id, title, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
2003-06-21 17:38:55 +00:00
|
|
|
protected:
|
2000-08-08 06:11:51 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
|
1998-05-20 14:12:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 23:52:45 +00:00
|
|
|
// _WX_MINIFRAM_H_
|