]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/minifram.h
1 /////////////////////////////////////////////////////////////////////////////
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
{
25 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
28 inline wxMiniFrame(void) {}
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
,
35 const wxString
& name
= wxFrameNameStr
)
37 Create(parent
, id
, title
, pos
, size
, style
| wxFRAME_TOOL_WINDOW
| wxFRAME_FLOAT_ON_PARENT
, name
);
46 class WXDLLEXPORT wxMiniFrame
: public wxFrame
{
48 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
51 inline wxMiniFrame(void) {}
52 inline 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
);
65 long MSWDefWindowProc(WXUINT nMsg
, WXWPARAM wParam
, WXLPARAM lParam
);