]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/minifram.h
Added --with-wave/--without-wave for conditional wxWave support.
[wxWidgets.git] / include / wx / gtk1 / minifram.h
CommitLineData
b2b3ccc5
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: minifram.h
3// Purpose: wxMiniFrame class
4// Author: Robert Roebling
5// RCS-ID: $Id$
6// Copyright: (c) Robert Roebling
2b854a32 7// Licence: wxWindows licence
b2b3ccc5
RR
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __GTKMINIFRAMEH__
11#define __GTKMINIFRAMEH__
12
13#ifdef __GNUG__
14#pragma interface
15#endif
16
17#include "wx/defs.h"
18#include "wx/object.h"
19#include "wx/frame.h"
20
21//-----------------------------------------------------------------------------
22// classes
23//-----------------------------------------------------------------------------
24
25class wxMiniFrame;
26
27//-----------------------------------------------------------------------------
28// wxMiniFrame
29//-----------------------------------------------------------------------------
30
2b854a32 31class wxMiniFrame: public wxFrame
b2b3ccc5 32{
2b854a32 33 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
b2b3ccc5
RR
34
35public:
2b854a32
VZ
36 wxMiniFrame() {}
37 wxMiniFrame(wxWindow *parent,
38 wxWindowID id,
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)
44 {
45 Create(parent, id, title, pos, size, style, name);
46 }
b2b3ccc5 47
2b854a32
VZ
48 bool Create(wxWindow *parent,
49 wxWindowID id,
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);
55
32a95f9f
RR
56 // implementation
57
2b854a32
VZ
58 bool m_isDragging;
59 int m_oldX,m_oldY;
60 int m_diffX,m_diffY;
b2b3ccc5
RR
61};
62
63#endif
64 // __GTKMINIFRAMEH__