]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/minifram.h
Make wxComboCtrlBase::Set*groundColour() methods public.
[wxWidgets.git] / include / wx / gtk1 / minifram.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/minifram.h
3 // Purpose: wxMiniFrame class
4 // Author: Robert Roebling
5 // Copyright: (c) Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef __GTKMINIFRAMEH__
10 #define __GTKMINIFRAMEH__
11
12 #include "wx/defs.h"
13
14 #if wxUSE_MINIFRAME
15
16 #include "wx/object.h"
17 #include "wx/frame.h"
18
19 //-----------------------------------------------------------------------------
20 // classes
21 //-----------------------------------------------------------------------------
22
23 class WXDLLIMPEXP_FWD_CORE wxMiniFrame;
24
25 //-----------------------------------------------------------------------------
26 // wxMiniFrame
27 //-----------------------------------------------------------------------------
28
29 class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame
30 {
31 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
32
33 public:
34 wxMiniFrame() {}
35 wxMiniFrame(wxWindow *parent,
36 wxWindowID id,
37 const wxString& title,
38 const wxPoint& pos = wxDefaultPosition,
39 const wxSize& size = wxDefaultSize,
40 long style = wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION,
41 const wxString& name = wxFrameNameStr)
42 {
43 Create(parent, id, title, pos, size, style, name);
44 }
45
46 bool Create(wxWindow *parent,
47 wxWindowID id,
48 const wxString& title,
49 const wxPoint& pos = wxDefaultPosition,
50 const wxSize& size = wxDefaultSize,
51 long style = wxDEFAULT_FRAME_STYLE | wxTINY_CAPTION,
52 const wxString& name = wxFrameNameStr);
53
54 virtual void SetTitle( const wxString &title );
55 // implementation
56
57 bool m_isDragging;
58 int m_oldX,m_oldY;
59 int m_diffX,m_diffY;
60 };
61
62 #endif
63
64 #endif
65 // __GTKMINIFRAMEH__