Keep attributes after recreating static controls in widgets sample
Preserve the colours, font etc after recreating the widgets to facilitate testing.
This commit is contained in:
parent
900c6d5d75
commit
4a4d164319
@ -569,6 +569,8 @@ void StaticWidgetsPage::CreateStatic()
|
||||
staticBox->Connect(wxEVT_LEFT_UP,
|
||||
wxMouseEventHandler(StaticWidgetsPage::OnMouseEvent),
|
||||
NULL, this);
|
||||
|
||||
SetUpWidget();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user