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__
13 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #include "wx/object.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 class wxMiniFrame
: public wxFrame
36 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
40 wxMiniFrame(wxWindow
*parent
,
42 const wxString
& title
,
43 const wxPoint
& pos
= wxDefaultPosition
,
44 const wxSize
& size
= wxDefaultSize
,
45 long style
= wxDEFAULT_FRAME_STYLE
| wxTINY_CAPTION_HORIZ
,
46 const wxString
& name
= wxFrameNameStr
)
48 Create(parent
, id
, title
, pos
, size
, style
, name
);
51 bool Create(wxWindow
*parent
,
53 const wxString
& title
,
54 const wxPoint
& pos
= wxDefaultPosition
,
55 const wxSize
& size
= wxDefaultSize
,
56 long style
= wxDEFAULT_FRAME_STYLE
| wxTINY_CAPTION_HORIZ
,
57 const wxString
& name
= wxFrameNameStr
);
59 virtual void SetTitle( const wxString
&title
);