]>
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"
23 class WXDLLEXPORT wxMiniFrame
: public wxFrame
27 wxMiniFrame(wxWindow
*parent
,
29 const wxString
& title
,
30 const wxPoint
& pos
= wxDefaultPosition
,
31 const wxSize
& size
= wxDefaultSize
,
32 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
33 const wxString
& name
= wxFrameNameStr
)
35 Create(parent
, id
, title
, pos
, size
,
38 (parent
? wxFRAME_FLOAT_ON_PARENT
: 0), name
);
42 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
48 class WXDLLEXPORT wxMiniFrame
: public wxFrame
52 wxMiniFrame(wxWindow
*parent
,
54 const wxString
& title
,
55 const wxPoint
& pos
= wxDefaultPosition
,
56 const wxSize
& size
= wxDefaultSize
,
57 long style
= wxDEFAULT_FRAME_STYLE
|wxTINY_CAPTION_HORIZ
,
58 const wxString
& name
= wxFrameNameStr
)
60 Create(parent
, id
, title
, pos
, size
, style
, name
);
63 virtual ~wxMiniFrame();
65 virtual long MSWDefWindowProc(WXUINT nMsg
, WXWPARAM wParam
, WXLPARAM lParam
);
67 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
70 #endif // Win32/!Win32