]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/control.h
Added wxFrame::OnCreateStatusBar and ToolBar
[wxWidgets.git] / include / wx / gtk / control.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: control.h
3// Purpose:
4// Author: Robert Roebling
5// Created: 01/02/97
6// Id:
7// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11
12#ifndef __GTKCONTROLH__
13#define __GTKCONTROLH__
14
15#ifdef __GNUG__
16#pragma interface
17#endif
18
19#include "wx/defs.h"
20#include "wx/object.h"
21#include "wx/list.h"
22#include "wx/window.h"
23
24//-----------------------------------------------------------------------------
25// classes
26//-----------------------------------------------------------------------------
27
28class wxControl;
29
30//-----------------------------------------------------------------------------
31// wxControl
32//-----------------------------------------------------------------------------
33
34class wxControl: public wxWindow
35{
2a4f4a27 36DECLARE_DYNAMIC_CLASS(wxControl)
c801d85f 37
2a4f4a27
VZ
38public:
39 // construction
40 wxControl();
41 wxControl( wxWindow *parent, wxWindowID id,
c801d85f 42 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
debe6624 43 long style = 0, const wxString &name = wxPanelNameStr );
2a4f4a27
VZ
44
45 // overridables
46 virtual void Command( wxCommandEvent &event );
47
48 // accessors
49 // this function will filter out '&' characters and will put the accelerator
50 // char (the one immediately after '&') into m_chAccel (@@ not yet)
51 virtual void SetLabel( const wxString &label );
52 virtual wxString GetLabel() const;
53
54protected:
55 wxString m_label;
56 // when we implement keyboard interface we will make use of this, but not yet
57 //char m_chAccel;
c801d85f
KB
58};
59
60#endif // __GTKCONTROLH__