// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#include "wx/statline.h"
+#if wxUSE_STATLINE
+
#include "gdk/gdk.h"
#include "gtk/gtk.h"
else
m_widget = gtk_hseparator_new();
- m_parent->AddChild( this );
-
- (m_parent->m_insertCallback)( m_parent, this );
+ m_parent->DoAddChild( this );
PostCreation();
return TRUE;
}
+#endif
\ No newline at end of file