1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/minifram.h
3 // Purpose: wxMiniFrame class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MINIFRAM_H_
13 #define _WX_MINIFRAM_H_
17 class WXDLLIMPEXP_CORE wxMiniFrame
: public wxFrame
22 bool Create(wxWindow
*parent
,
24 const wxString
& title
,
25 const wxPoint
& pos
= wxDefaultPosition
,
26 const wxSize
& size
= wxDefaultSize
,
27 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
28 const wxString
& name
= wxFrameNameStr
)
30 return wxFrame::Create(parent
, id
, title
, pos
, size
,
33 (parent
? wxFRAME_FLOAT_ON_PARENT
: 0), name
);
36 wxMiniFrame(wxWindow
*parent
,
38 const wxString
& title
,
39 const wxPoint
& pos
= wxDefaultPosition
,
40 const wxSize
& size
= wxDefaultSize
,
41 long style
= wxCAPTION
| wxCLIP_CHILDREN
| wxRESIZE_BORDER
,
42 const wxString
& name
= wxFrameNameStr
)
44 Create(parent
, id
, title
, pos
, size
, style
, name
);
48 DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame
)