1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma implementation "control.h"
14 #include "wx/control.h"
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
20 IMPLEMENT_DYNAMIC_CLASS(wxControl
,wxWindow
)
22 wxControl
::wxControl(void)
27 wxControl
::wxControl( wxWindow
*parent
, wxWindowID id
,
28 const wxPoint
&pos
, const wxSize
&size
,
29 long style
, const wxString
&name
) :
30 wxWindow( parent
, id
, pos
, size
, style
, name
)
34 void wxControl
::Command( wxCommandEvent
&WXUNUSED(event
) )
38 void wxControl
::SetLabel( const wxString
&label
)
41 for ( const char *pc
= label
; *pc
!= '\0'; pc
++ )
46 #if 0 // it would be unused anyhow for now - kbd interface not done yet
47 if ( *pc
!= '&' ) m_chAccel
= *pc
;
54 wxString wxControl
::GetLabel(void) const