X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c40ce5ce77b63f669f44e35f4f71418ae90d6291..2fe212b0336512aac9eace69fab09ce856b0bf4b:/src/generic/panelg.cpp diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 249c75e9d6..927afc68ff 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -81,6 +81,13 @@ wxPanel::~wxPanel() { } +void wxPanel::InitDialog() +{ + wxInitDialogEvent event(GetId()); + event.SetEventObject(this); + GetEventHandler()->ProcessEvent(event); +} + // ---------------------------------------------------------------------------- // event handlers // ----------------------------------------------------------------------------