]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/gtk/control.cpp
Cleared up DEBUG define mess, defines are now called __WXDEBUG__ and WXDEBUG.
[wxWidgets.git] / src / gtk / control.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: control.cpp
3// Purpose:
4// Author: Robert Roebling
5// Created: 01/02/97
6// Id:
7// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifdef __GNUG__
12#pragma implementation "control.h"
13#endif
14
15#include "wx/control.h"
16
17//-----------------------------------------------------------------------------
18// wxControl
19//-----------------------------------------------------------------------------
20
21IMPLEMENT_DYNAMIC_CLASS(wxControl,wxWindow)
22
23wxControl::wxControl(void)
24{
25 m_label = "";
26 m_needParent = TRUE;
27};
28
29wxControl::wxControl( wxWindow *parent, wxWindowID id,
30 const wxPoint &pos, const wxSize &size,
31 long style, const wxString &name ) :
32 wxWindow( parent, id, pos, size, style, name )
33{
34};
35
36void wxControl::Command( wxCommandEvent &WXUNUSED(event) )
37{
38};
39
40void wxControl::SetLabel( const wxString &label )
41{
42 m_label = label;
43};
44
45wxString wxControl::GetLabel(void) const
46{
47 return m_label;
48};
49
50
51