OnInitDialog events are propagated to parent classes now

This commit is contained in:
2016-09-30 10:09:11 +02:00
parent 7d986b82d8
commit 7a379a1a87
2 changed files with 9 additions and 1 deletions

View File

@@ -231,6 +231,8 @@ protected:
virtual void OnInitDialog(wxInitDialogEvent& event)
{
wxEAPConfigDialogBase::OnInitDialog(event);
// Forward the event to child panels.
for (wxWindowList::compatibility_iterator provider = m_providers->GetChildren().GetFirst(); provider; provider = provider->GetNext()) {
wxWindow *prov = wxDynamicCast(provider->GetData(), wxWindow);