+#if !wxUSE_MODAL_ABOUT_DIALOG
+ Connect(wxEVT_CLOSE_WINDOW,
+ wxCloseEventHandler(wxGenericAboutDialog::OnCloseWindow));
+ Connect(wxID_OK, wxEVT_COMMAND_BUTTON_CLICKED,
+ wxCommandEventHandler(wxGenericAboutDialog::OnOK));
+#endif // !wxUSE_MODAL_ABOUT_DIALOG
+