]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/filedlg.cpp
Fix return value of wxCountingOutputStream::LastWrite().
[wxWidgets.git] / src / os2 / filedlg.cpp
index f4fc9da6f11269bc69734045a1ca7ed63b9fb494..65c8c59df48831e0f560cde2197a29264df22bd0 100644 (file)
@@ -39,6 +39,7 @@
 #include <string.h>
 
 #include "wx/tokenzr.h"
+#include "wx/testing.h"
 
 #define wxMAXPATH                    1024
 #define wxMAXFILE                    1024
@@ -104,6 +105,8 @@ void wxFileDialog::GetPaths (
 
 int wxFileDialog::ShowModal()
 {
+    WX_TESTING_SHOW_MODAL_HOOK();
+
     wxString                        sTheFilter;
     wxString                        sFilterBuffer;
     wxChar*                         pzFilterBuffer;