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
|
2000-08-08 02:11:51 -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
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "minifram.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
1999-08-06 07:52:33 -04:00
|
|
|
#ifdef __WIN32__
|
|
|
|
|
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() { }
|
|
|
|
wxMiniFrame(wxWindow *parent,
|
|
|
|
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
|
|
|
{
|
|
|
|
Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
protected:
|
2000-08-08 02:11:51 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
|
1999-08-06 07:52:33 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
#else // !Win32
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
class WXDLLEXPORT wxMiniFrame : public wxFrame
|
|
|
|
{
|
1998-05-20 10:12:05 -04:00
|
|
|
public:
|
2000-08-08 02:11:51 -04:00
|
|
|
wxMiniFrame() { }
|
|
|
|
wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION_HORIZ,
|
|
|
|
const wxString& name = wxFrameNameStr)
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
|
|
|
Create(parent, id, title, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
virtual ~wxMiniFrame();
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
virtual long MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
2000-08-08 02:11:51 -04:00
|
|
|
#endif // Win32/!Win32
|
1999-08-06 07:52:33 -04:00
|
|
|
|
1998-05-20 10:12:05 -04:00
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_MINIFRAM_H_
|