1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/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
6 // Author: Stefan Csomor
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_MINIFRAM_H_
14 #define _WX_MINIFRAM_H_
18 class WXDLLIMPEXP_CORE wxMiniFrame
: public wxFrame
{
20 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
23 inline wxMiniFrame() {}
24 inline wxMiniFrame(wxWindow
*parent
,
26 const wxString
& title
,
27 const wxPoint
& pos
= wxDefaultPosition
,
28 const wxSize
& size
= wxDefaultSize
,
29 long style
= wxCAPTION
| wxRESIZE_BORDER
| wxTINY_CAPTION
,
30 const wxString
& name
= wxFrameNameStr
)
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
);
36 virtual ~wxMiniFrame() {}