X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94bd2eded1acd9400eec77f1af15eddbbcbde45a..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/stattext.cpp diff --git a/src/gtk1/stattext.cpp b/src/gtk1/stattext.cpp index b533595706..b05d93c32c 100644 --- a/src/gtk1/stattext.cpp +++ b/src/gtk1/stattext.cpp @@ -23,14 +23,14 @@ IMPLEMENT_DYNAMIC_CLASS(wxStaticText,wxControl) wxStaticText::wxStaticText(void) { -}; +} wxStaticText::wxStaticText( wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos, const wxSize &size, long style, const wxString &name ) { Create( parent, id, label, pos, size, style, name ); -}; +} bool wxStaticText::Create( wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos, const wxSize &size, @@ -95,19 +95,19 @@ bool wxStaticText::Create( wxWindow *parent, wxWindowID id, const wxString &labe Show( TRUE ); return TRUE; -}; +} wxString wxStaticText::GetLabel(void) const { - char *str = NULL; + char *str = (char *) NULL; gtk_label_get( GTK_LABEL(m_widget), &str ); wxString tmp( str ); return tmp; -}; +} void wxStaticText::SetLabel( const wxString &label ) { wxControl::SetLabel(label); gtk_label_set( GTK_LABEL(m_widget), m_label ); -}; +}