]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/minifram.h
use native toolbar, font dialog and CG by default
[wxWidgets.git] / include / wx / mac / carbon / minifram.h
CommitLineData
8cf73271
SC
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.
6// Author: Stefan Csomor
7// Modified by:
8// Created: 1998-01-01
9// RCS-ID: $Id$
10// Copyright: (c) Stefan Csomor
65571936 11// Licence: wxWindows licence
8cf73271
SC
12/////////////////////////////////////////////////////////////////////////////
13
14#ifndef _WX_MINIFRAM_H_
15#define _WX_MINIFRAM_H_
16
8cf73271
SC
17#include "wx/frame.h"
18
19class WXDLLEXPORT wxMiniFrame: public wxFrame {
20
21 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
22
23public:
24 inline wxMiniFrame() {}
25 inline wxMiniFrame(wxWindow *parent,
26 wxWindowID id,
27 const wxString& title,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
30 long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION_HORIZ,
31 const wxString& name = wxFrameNameStr)
32 {
33 // Use wxFrame constructor in absence of more specific code.
34 Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT , name);
35 }
36
d3c7fc99 37 virtual ~wxMiniFrame() {}
8cf73271
SC
38protected:
39};
40
41#endif
42 // _WX_MINIFRAM_H_