1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMiniFrame class
4 // Author: Robert Roebling
6 // Copyright: (c) Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKMINIFRAMEH__
11 #define __GTKMINIFRAMEH__
17 #include "wx/object.h"
18 #include "wx/bitmap.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 class WXDLLIMPEXP_CORE wxMiniFrame
;
27 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
31 class WXDLLIMPEXP_CORE wxMiniFrame
: public wxFrame
33 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
37 wxMiniFrame(wxWindow
*parent
,
39 const wxString
& title
,
40 const wxPoint
& pos
= wxDefaultPosition
,
41 const wxSize
& size
= wxDefaultSize
,
42 long style
= wxDEFAULT_FRAME_STYLE
| wxTINY_CAPTION_HORIZ
,
43 const wxString
& name
= wxFrameNameStr
)
45 Create(parent
, id
, title
, pos
, size
, style
, name
);
48 bool Create(wxWindow
*parent
,
50 const wxString
& title
,
51 const wxPoint
& pos
= wxDefaultPosition
,
52 const wxSize
& size
= wxDefaultSize
,
53 long style
= wxDEFAULT_FRAME_STYLE
| wxTINY_CAPTION_HORIZ
,
54 const wxString
& name
= wxFrameNameStr
);
56 virtual void SetTitle( const wxString
&title
);
62 wxBitmap m_closeButton
;