]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dirdlg.cpp
Add wxTEST_DIALOG for testing of modal dialogs.
[wxWidgets.git] / src / os2 / dirdlg.cpp
index 000c8f61c18b8d284efa30db6515f1d876e89450..5ae4e61dd64b6868f0e6ced58d4450b87c1d27c4 100644 (file)
@@ -13,6 +13,7 @@
 #include "wx/wxprec.h"
 
 #include "wx/dirdlg.h"
+#include "wx/testing.h"
 
 #ifndef WX_PRECOMP
     #include <stdio.h>
@@ -42,6 +43,8 @@ wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
 
 int wxDirDialog::ShowModal()
 {
+    WX_TESTING_SHOW_MODAL_HOOK();
+
     // TODO
     return wxID_CANCEL;
 }