]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/minifram.h
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: Julian Smart
10 // Copyright: (c) Julian Smart
11 // Licence: wxWindows licence
12 /////////////////////////////////////////////////////////////////////////////
14 #ifndef _WX_MINIFRAM_H_
15 #define _WX_MINIFRAM_H_
17 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 #pragma interface "minifram.h"
23 class WXDLLEXPORT wxMiniFrame
: public wxFrame
{
25 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
28 inline wxMiniFrame() {}
29 inline wxMiniFrame(wxWindow
*parent
,
31 const wxString
& title
,
32 const wxPoint
& pos
= wxDefaultPosition
,
33 const wxSize
& size
= wxDefaultSize
,
34 long style
= wxDEFAULT_FRAME_STYLE
|wxTINY_CAPTION_HORIZ
,
35 const wxString
& name
= wxFrameNameStr
)
37 // Use wxFrame constructor in absence of more specific code.
38 Create(parent
, id
, title
, pos
, size
, style
, name
);