]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
fixed key event code for ASCII keys in wxListCtrl
[wxWidgets.git] / src / generic / panelg.cpp
index 249c75e9d6b4401c2a6fd389d0b6a7b8e39da359..927afc68fff4886a66562c6b70a086e3012859a7 100644 (file)
@@ -81,6 +81,13 @@ wxPanel::~wxPanel()
 {
 }
 
+void wxPanel::InitDialog()
+{
+    wxInitDialogEvent event(GetId());
+    event.SetEventObject(this);
+    GetEventHandler()->ProcessEvent(event);
+}
+
 // ----------------------------------------------------------------------------
 // event handlers
 // ----------------------------------------------------------------------------