1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/minifram.h
3 // Purpose: wxMiniFrame class
4 // Author: Robert Roebling
5 // Copyright: (c) Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef _WX_GTK_MINIFRAME_H_
10 #define _WX_GTK_MINIFRAME_H_
12 #include "wx/bitmap.h"
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxMiniFrame
: public wxFrame
21 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
25 wxMiniFrame(wxWindow
*parent
,
27 const wxString
& title
,
28 const wxPoint
& pos
= wxDefaultPosition
,
29 const wxSize
& size
= wxDefaultSize
,
30 long style
= wxCAPTION
| wxRESIZE_BORDER
,
31 const wxString
& name
= wxFrameNameStr
)
33 Create(parent
, id
, title
, pos
, size
, style
, name
);
37 bool Create(wxWindow
*parent
,
39 const wxString
& title
,
40 const wxPoint
& pos
= wxDefaultPosition
,
41 const wxSize
& size
= wxDefaultSize
,
42 long style
= wxCAPTION
| wxRESIZE_BORDER
,
43 const wxString
& name
= wxFrameNameStr
);
45 virtual void SetTitle( const wxString
&title
);
48 virtual void DoSetSizeHints( int minW
, int minH
,
51 virtual void DoGetClientSize(int* width
, int* height
) const;
58 wxBitmap m_closeButton
;
63 #endif // _WX_GTK_MINIFRAME_H_