X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a0dc614e3011fd0e88fb3c57a1f6d107596cfc..a82b05935e73f75c40a83a36d766e9ffd07984a6:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index a5314ce4df..c8c14a446a 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -36,7 +36,7 @@ extern "C" { static void gtk_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation, - wxStaticBox *p) + wxStaticBox * WXUNUSED(box)) { GtkFrame *frame = GTK_FRAME (widget); @@ -90,13 +90,11 @@ bool wxStaticBox::Create( wxWindow *parent, long style, const wxString& name ) { - m_needParent = TRUE; - if (!PreCreation( parent, pos, size ) || !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name )) { wxFAIL_MSG( wxT("wxStaticBox creation failed") ); - return FALSE; + return false; } m_widget = GTKCreateFrame(label);