]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/minifram.h
fix wxColourDialog::Centre() and SetSize() (modified patch 1831628)
[wxWidgets.git] / include / wx / os2 / minifram.h
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: minifram.h
3// Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars.
4// If there is no equivalent on your platform, just make it a
5// normal frame.
75f11ad7 6// Author: David Webster
0e320a79 7// Modified by:
75f11ad7 8// Created: 10/10/99
0e320a79 9// RCS-ID: $Id$
75f11ad7 10// Copyright: (c) David Webster
65571936 11// Licence: wxWindows licence
0e320a79
DW
12/////////////////////////////////////////////////////////////////////////////
13
14#ifndef _WX_MINIFRAM_H_
15#define _WX_MINIFRAM_H_
16
0e320a79
DW
17#include "wx/frame.h"
18
19class WXDLLEXPORT wxMiniFrame: public wxFrame {
20
21 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
22
23public:
75f11ad7 24 inline wxMiniFrame(void) {}
0e320a79
DW
25 inline wxMiniFrame(wxWindow *parent,
26 wxWindowID id,
27 const wxString& title,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
75f11ad7 30 long style = wxDEFAULT_FRAME_STYLE,
0e320a79
DW
31 const wxString& name = wxFrameNameStr)
32 {
75f11ad7 33 Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
0e320a79
DW
34 }
35
0e320a79
DW
36protected:
37};
38
39#endif
40 // _WX_MINIFRAM_H_
75f11ad7 41