]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontdlg.cpp
Don't crash when laying out wxGridBagSizer with only hidden elements.
[wxWidgets.git] / src / os2 / fontdlg.cpp
index fe9cc27b1559d07a885d21ecc1b285d2708de717..fc1c4d8b2793eca636c16ac7be8748819c6e6168 100644 (file)
@@ -5,7 +5,6 @@
 // Author:      David Webster
 // Modified by:
 // Created:     10/06/99
-// RCS-ID:      $Id$
 // Copyright:   (c) David Webster
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -23,7 +22,7 @@
 #endif
 
 #include "wx/fontutil.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 
 #define INCL_PM
 #include <os2.h>
@@ -37,7 +36,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
 
 int wxFontDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     FONTDLG      vFontDlg;
     char         zCurrentFont[FACESIZE];