]>
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 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKCONTROLH__
11 #define __GTKCONTROLH__
18 #include "wx/object.h"
20 #include "wx/window.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 class wxControl
: public wxWindow
34 DECLARE_DYNAMIC_CLASS(wxControl
)
38 wxControl( wxWindow
*parent
, wxWindowID id
,
39 const wxPoint
&pos
= wxDefaultPosition
, const wxSize
&size
= wxDefaultSize
,
40 long style
= 0, const wxString
&name
= wxPanelNameStr
);
42 virtual void Command( wxCommandEvent
&event
);
44 // this function will filter out '&' characters and will put the accelerator
45 // char (the one immediately after '&') into m_chAccel (@@ not yet)
46 virtual void SetLabel( const wxString
&label
);
47 virtual wxString
GetLabel() const;
51 char m_chAccel
; // enabled to avoid breaking binary compatibility later on
55 #endif // __GTKCONTROLH__