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