]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontdlg.cpp
Add wxTEST_DIALOG for testing of modal dialogs.
[wxWidgets.git] / src / os2 / fontdlg.cpp
index 676695ac3c985757e687ecea3e4461932b76b888..fe9cc27b1559d07a885d21ecc1b285d2708de717 100644 (file)
@@ -23,6 +23,7 @@
 #endif
 
 #include "wx/fontutil.h"
+#include "wx/testing.h"
 
 #define INCL_PM
 #include <os2.h>
@@ -36,6 +37,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
 
 int wxFontDialog::ShowModal()
 {
+    WX_TESTING_SHOW_MODAL_HOOK();
+
     FONTDLG      vFontDlg;
     char         zCurrentFont[FACESIZE];
     HWND         hWndFontDlg;