]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/msgdlg.cpp
Fix recreating of wxBitmapComboBox using untyped client data.
[wxWidgets.git] / src / motif / msgdlg.cpp
index 091d430d9d6406a6c5aaf92e038e70ac93a02e71..b26430c4c457bdbc64f0b8febf01bc36b14401b2 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     04/01/98
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -40,7 +39,7 @@
     #include "wx/settings.h"
 #endif
 
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 #include "wx/motif/private.h"
 
 // ----------------------------------------------------------------------------
@@ -106,7 +105,7 @@ extern "C"
 
 int wxMessageDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     const long style = GetMessageDialogStyle();