diff --git a/samples/widgets/static.cpp b/samples/widgets/static.cpp index 8869bab39d..71b42b59b4 100644 --- a/samples/widgets/static.cpp +++ b/samples/widgets/static.cpp @@ -569,6 +569,8 @@ void StaticWidgetsPage::CreateStatic() staticBox->Connect(wxEVT_LEFT_UP, wxMouseEventHandler(StaticWidgetsPage::OnMouseEvent), NULL, this); + + SetUpWidget(); } // ----------------------------------------------------------------------------