]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/control.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __GTKCONTROLH__
13 #define __GTKCONTROLH__
20 #include "wx/object.h"
22 #include "wx/window.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 class wxControl
: public wxWindow
36 DECLARE_DYNAMIC_CLASS(wxControl
)
41 wxControl( wxWindow
*parent
, wxWindowID id
,
42 const wxPoint
&pos
= wxDefaultPosition
, const wxSize
&size
= wxDefaultSize
,
43 long style
= 0, const wxString
&name
= wxPanelNameStr
);
46 virtual void Command( wxCommandEvent
&event
);
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;
56 // when we implement keyboard interface we will make use of this, but not yet
60 #endif // __GTKCONTROLH__