]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/minifram.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[wxWidgets.git] / include / wx / osx / minifram.h
CommitLineData
6762286d 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/osx/minifram.h
6762286d
SC
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
6762286d
SC
9// Copyright: (c) Stefan Csomor
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_MINIFRAM_H_
14#define _WX_MINIFRAM_H_
15
16#include "wx/frame.h"
17
18class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
19
20 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
21
22public:
23 inline wxMiniFrame() {}
24 inline wxMiniFrame(wxWindow *parent,
25 wxWindowID id,
26 const wxString& title,
27 const wxPoint& pos = wxDefaultPosition,
28 const wxSize& size = wxDefaultSize,
7282b067 29 long style = wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION,
6762286d
SC
30 const wxString& name = wxFrameNameStr)
31 {
32 // Use wxFrame constructor in absence of more specific code.
33 Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT , name);
34 }
35
36 virtual ~wxMiniFrame() {}
37protected:
38};
39
5c6eb3a8 40#endif
6762286d 41 // _WX_MINIFRAM_H_