1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/minifram.h
3 // Purpose: wxMiniFrame class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_MINIFRAM_H_
12 #define _WX_MINIFRAM_H_
16 class WXDLLIMPEXP_CORE wxMiniFrame
: public wxFrame
21 bool Create(wxWindow
*parent
,
23 const wxString
& title
,
24 const wxPoint
& pos
= wxDefaultPosition
,
25 const wxSize
& size
= wxDefaultSize
,
26 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
27 const wxString
& name
= wxFrameNameStr
)
29 return wxFrame::Create(parent
, id
, title
, pos
, size
,
32 (parent
? wxFRAME_FLOAT_ON_PARENT
: 0), name
);
35 wxMiniFrame(wxWindow
*parent
,
37 const wxString
& title
,
38 const wxPoint
& pos
= wxDefaultPosition
,
39 const wxSize
& size
= wxDefaultSize
,
40 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
41 const wxString
& name
= wxFrameNameStr
)
43 Create(parent
, id
, title
, pos
, size
, style
, name
);
47 DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame
)