]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/minifram.h
3747e49ffc31e14e48beeb37a5400d369f7032cc
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
)
37 wxMiniFrame(wxWindow
*parent
,
39 const wxString
& title
,
40 const wxPoint
& pos
= wxDefaultPosition
,
41 const wxSize
& size
= wxDefaultSize
,
42 long style
= wxDEFAULT_FRAME_STYLE
| wxTINY_CAPTION_HORIZ
,
43 const wxString
& name
= wxFrameNameStr
)
45 Create(parent
, id
, title
, pos
, size
, style
, name
);
48 bool Create(wxWindow
*parent
,
50 const wxString
& title
,
51 const wxPoint
& pos
= wxDefaultPosition
,
52 const wxSize
& size
= wxDefaultSize
,
53 long style
= wxDEFAULT_FRAME_STYLE
| wxTINY_CAPTION_HORIZ
,
54 const wxString
& name
= wxFrameNameStr
);
61 void DrawFrame( int x
, int y
);
62 void OnPaint( wxPaintEvent
&event
);
63 void OnMouse( wxMouseEvent
&event
);