]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk1/control.cpp
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 #include "gtk/gtkfeatures.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 IMPLEMENT_DYNAMIC_CLASS(wxControl
,wxWindow
)
24 wxControl::wxControl()
29 wxControl::wxControl( wxWindow
*parent
,
34 const wxString
&name
)
35 : wxWindow( parent
, id
, pos
, size
, style
, name
)
39 void wxControl::SetLabel( const wxString
&label
)
42 for ( const wxChar
*pc
= label
; *pc
!= _T('\0'); pc
++ )
47 #if 0 // it would be unused anyhow for now - kbd interface not done yet
48 if ( *pc
!= _T('&') ) m_chAccel
= *pc
;
55 wxString
wxControl::GetLabel(void) const