]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk/control.cpp
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
12 #pragma implementation "control.h"
15 #include "wx/control.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 IMPLEMENT_DYNAMIC_CLASS(wxControl
,wxWindow
)
23 wxControl::wxControl(void)
28 wxControl::wxControl( wxWindow
*parent
, wxWindowID id
,
29 const wxPoint
&pos
, const wxSize
&size
,
30 long style
, const wxString
&name
) :
31 wxWindow( parent
, id
, pos
, size
, style
, name
)
35 void wxControl::Command( wxCommandEvent
&WXUNUSED(event
) )
39 void wxControl::SetLabel( const wxString
&label
)
42 for ( const char *pc
= label
; *pc
!= '\0'; pc
++ ) {
45 #if 0 // it would be unused anyhow for now - kbd interface not done yet
55 wxString
wxControl::GetLabel(void) const