]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/minifram.h
Added RTTI
[wxWidgets.git] / include / wx / msw / minifram.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/minifram.h
3// Purpose: wxMiniFrame class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MINIFRAM_H_
13#define _WX_MINIFRAM_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16#pragma interface "minifram.h"
17#endif
18
19#include "wx/frame.h"
20
21class WXDLLEXPORT wxMiniFrame : public wxFrame
22{
23public:
24 wxMiniFrame() { }
25
26 bool Create(wxWindow *parent,
27 wxWindowID id,
28 const wxString& title,
29 const wxPoint& pos = wxDefaultPosition,
30 const wxSize& size = wxDefaultSize,
31 long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
32 const wxString& name = wxFrameNameStr)
33 {
34 return wxFrame::Create(parent, id, title, pos, size,
35 style |
36 wxFRAME_TOOL_WINDOW |
37 (parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
38 }
39
40 wxMiniFrame(wxWindow *parent,
41 wxWindowID id,
42 const wxString& title,
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
45 long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
46 const wxString& name = wxFrameNameStr)
47 {
48 Create(parent, id, title, pos, size, style, name);
49 }
50
51protected:
52 DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
53};
54
55#endif
56 // _WX_MINIFRAM_H_