]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/minifram.h
4ef85c5356d248a0c35ea2e9b0689dd0dab14eaf
1 /////////////////////////////////////////////////////////////////////////////
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
10 // Copyright: (c) Stefan Csomor
11 // Licence: wxWindows licence
12 /////////////////////////////////////////////////////////////////////////////
14 #ifndef _WX_MINIFRAM_H_
15 #define _WX_MINIFRAM_H_
19 class WXDLLEXPORT wxMiniFrame
: public wxFrame
{
21 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
24 inline wxMiniFrame() {}
25 inline wxMiniFrame(wxWindow
*parent
,
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
)
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
);
37 virtual ~wxMiniFrame() {}