]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/control.h
wxDataObject and wxDropSource classes for (more) d&d support
[wxWidgets.git] / include / wx / gtk1 / control.h
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
28 class wxControl;
29
30 //-----------------------------------------------------------------------------
31 // wxControl
32 //-----------------------------------------------------------------------------
33
34 class wxControl: public wxWindow
35 {
36 DECLARE_DYNAMIC_CLASS(wxControl)
37
38 public:
39
40 wxControl(void);
41 wxControl( wxWindow *parent, wxWindowID id,
42 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
43 const long style = 0, const wxString &name = wxPanelNameStr );
44 virtual void Command( wxCommandEvent &event );
45 virtual void SetLabel( const wxString &label );
46 virtual wxString GetLabel(void) const;
47
48 wxString m_label;
49 };
50
51 #endif // __GTKCONTROLH__