src/widget/widget_composite.cpp
branchcpp_gui
changeset 6283 7072ee68c676
parent 6282 c5b92f2d924f
child 6295 a88d8c2cff6e
--- a/src/widget/widget_composite.cpp	Sat Mar 03 16:11:18 2007 +0000
+++ b/src/widget/widget_composite.cpp	Sat Mar 03 20:25:37 2007 +0000
@@ -83,8 +83,10 @@
 
 /*virtual*/ void CompositeWidget::OnCreate(EvtCreate &ev)
 {
-	/* this is composite widget - it should create its own children */
+	/* create standard children */
 	CreateWidgets();
+	/* if there are any non-client widgets, create them */
+	CreateNcWidgets();
 
 	/* notify all children that we are creating */
 	for (WidgetIterator it_next = m_widgets.begin(); it_next != m_widgets.end(); ) {