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