X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/gtk1/control.cpp diff --git a/src/gtk1/control.cpp b/src/gtk1/control.cpp index 12cc6a70df..bbd5ac2fd8 100644 --- a/src/gtk1/control.cpp +++ b/src/gtk1/control.cpp @@ -19,7 +19,7 @@ // wxControl //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxControl,wxWindow) +IMPLEMENT_DYNAMIC_CLASS(wxControl, wxWindow) wxControl::wxControl() { @@ -32,8 +32,8 @@ wxControl::wxControl( wxWindow *parent, const wxSize &size, long style, const wxString &name ) - : wxWindow( parent, id, pos, size, style, name ) { + (void)Create(parent, id, pos, size, style, name); } void wxControl::SetLabel( const wxString &label ) @@ -52,7 +52,7 @@ void wxControl::SetLabel( const wxString &label ) } } -wxString wxControl::GetLabel(void) const +wxString wxControl::GetLabel() const { return m_label; }