]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/minifram.h
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__
18 #include "wx/object.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
27 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
31 class wxMiniFrame
: public wxFrame
33 DECLARE_DYNAMIC_CLASS(wxMiniFrame
)
36 inline wxMiniFrame(void) {}
37 inline wxMiniFrame(wxWindow
*parent
,
39 const wxString
& title
,
40 const wxPoint
& pos
= wxDefaultPosition
,
41 const wxSize
& size
= wxDefaultSize
,
42 long style
= wxDEFAULT_FRAME
|wxTINY_CAPTION_HORIZ
,
43 const wxString
& name
= wxFrameNameStr
)
45 Create(parent
, id
, title
, pos
, size
, style
, name
);
47 bool Create(wxWindow
*parent
,
49 const wxString
& title
,
50 const wxPoint
& pos
= wxDefaultPosition
,
51 const wxSize
& size
= wxDefaultSize
,
52 long style
= wxDEFAULT_FRAME
|wxTINY_CAPTION_HORIZ
,
53 const wxString
& name
= wxFrameNameStr
);
61 void DrawFrame( int x
, int y
);
62 void OnPaint( wxPaintEvent
&event
);
63 void OnMouse( wxMouseEvent
&event
);