1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/minifram.h
3 // Purpose: wxMiniFrame class
4 // Author: Robert Roebling
6 // Copyright: (c) Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_MINIFRAME_H_
11 #define _WX_GTK_MINIFRAME_H_
13 #include "wx/bitmap.h"
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
20 class WXDLLIMPEXP_CORE wxMiniFrame
: public wxFrame
22 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
26 wxMiniFrame(wxWindow
*parent
,
28 const wxString
& title
,
29 const wxPoint
& pos
= wxDefaultPosition
,
30 const wxSize
& size
= wxDefaultSize
,
31 long style
= wxCAPTION
| wxRESIZE_BORDER
,
32 const wxString
& name
= wxFrameNameStr
)
34 Create(parent
, id
, title
, pos
, size
, style
, name
);
38 bool Create(wxWindow
*parent
,
40 const wxString
& title
,
41 const wxPoint
& pos
= wxDefaultPosition
,
42 const wxSize
& size
= wxDefaultSize
,
43 long style
= wxCAPTION
| wxRESIZE_BORDER
,
44 const wxString
& name
= wxFrameNameStr
);
46 virtual void SetTitle( const wxString
&title
);
49 virtual void DoSetSizeHints( int minW
, int minH
,
52 virtual void DoGetClientSize(int* width
, int* height
) const;
59 wxBitmap m_closeButton
;
64 #endif // _WX_GTK_MINIFRAME_H_