]> git.saurik.com Git - wxWidgets.git/blob - src/qt/button.cpp
More configure fixes
[wxWidgets.git] / src / qt / button.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: button.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 "button.h"
13 #endif
14
15 #include "wx/button.h"
16
17 //-----------------------------------------------------------------------------
18 // classes
19 //-----------------------------------------------------------------------------
20
21 class wxButton;
22
23 //-----------------------------------------------------------------------------
24 // wxButton
25 //-----------------------------------------------------------------------------
26
27 IMPLEMENT_DYNAMIC_CLASS(wxButton,wxControl)
28
29 //-----------------------------------------------------------------------------
30
31 wxButton::wxButton(void)
32 {
33 };
34
35 wxButton::wxButton( wxWindow *parent, wxWindowID id, const wxString &label,
36 const wxPoint &pos, const wxSize &size,
37 long style, const wxString &name )
38 {
39 Create( parent, id, label, pos, size, style, name );
40 };
41
42 bool wxButton::Create( wxWindow *parent, wxWindowID id, const wxString &label,
43 const wxPoint &pos, const wxSize &size,
44 long style, const wxString &name )
45 {
46 return TRUE;
47 };
48
49 void wxButton::SetDefault(void)
50 {
51 };
52
53 void wxButton::SetLabel( const wxString &label )
54 {
55 wxControl::SetLabel( label );
56 };
57
58 wxString wxButton::GetLabel(void) const
59 {
60 return wxControl::GetLabel();
61 };