]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/control.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling, Julian Smart
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKCONTROLH__
12 #define __GTKCONTROLH__
19 #include "wx/object.h"
21 #include "wx/window.h"
23 //-----------------------------------------------------------------------------
25 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
31 //-----------------------------------------------------------------------------
33 class wxControl
: public wxWindow
35 DECLARE_DYNAMIC_CLASS(wxControl
)
39 wxControl( wxWindow
*parent
, wxWindowID id
,
40 const wxPoint
&pos
= wxDefaultPosition
, const wxSize
&size
= wxDefaultSize
,
41 long style
= 0, const wxString
&name
= wxPanelNameStr
);
43 virtual void Command( wxCommandEvent
&event
);
45 // this function will filter out '&' characters and will put the accelerator
46 // char (the one immediately after '&') into m_chAccel (@@ not yet)
47 virtual void SetLabel( const wxString
&label
);
48 virtual wxString
GetLabel() const;
52 char m_chAccel
; // enabled to avoid breaking binary compatibility later on
55 #endif // __GTKCONTROLH__