1 /////////////////////////////////////////////////////////////////////////////
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
);
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_