]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/minifram.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/minifram.h
3 // Purpose: wxMiniFrame class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MINIFRAM_H_
13 #define _WX_MINIFRAM_H_
16 #pragma interface "minifram.h"
21 class WXDLLEXPORT wxMiniFrame
: public wxFrame
26 bool Create(wxWindow
*parent
,
28 const wxString
& title
,
29 const wxPoint
& pos
= wxDefaultPosition
,
30 const wxSize
& size
= wxDefaultSize
,
31 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
32 const wxString
& name
= wxFrameNameStr
)
34 return wxFrame::Create(parent
, id
, title
, pos
, size
,
37 (parent
? wxFRAME_FLOAT_ON_PARENT
: 0), name
);
40 wxMiniFrame(wxWindow
*parent
,
42 const wxString
& title
,
43 const wxPoint
& pos
= wxDefaultPosition
,
44 const wxSize
& size
= wxDefaultSize
,
45 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
46 const wxString
& name
= wxFrameNameStr
)
48 Create(parent
, id
, title
, pos
, size
, style
, name
);
52 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)