]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/dialog.cpp
switching notebook implementation to common
[wxWidgets.git] / src / univ / dialog.cpp
index c8b9e7aa7da7a14a741c00374c3e6526dc8338d0..b698e2a6787e46ba46980c7cb9d101ae3b0c4ded 100644 (file)
@@ -29,6 +29,7 @@
 #endif
 
 #include "wx/evtloop.h"
+#include "wx/testing.h"
 
 //-----------------------------------------------------------------------------
 // wxDialog
@@ -165,6 +166,8 @@ bool wxDialog::IsModal() const
 
 int wxDialog::ShowModal()
 {
+    WX_TESTING_SHOW_MODAL_HOOK();
+
     if ( IsModal() )
     {
        wxFAIL_MSG( wxT("wxDialog:ShowModal called twice") );