]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontdlg.cpp
Use child MDI frame menu items in preference to the parent frame ones.
[wxWidgets.git] / src / msw / fontdlg.cpp
index 96c3289a6d7c925c19aa2f0bda44ad54aaad4a37..f800b51c11389e6a3060d7ccd6d2ba8946dbee7d 100644 (file)
@@ -27,6 +27,7 @@
 #if wxUSE_FONTDLG
 
 #include "wx/fontdlg.h"
+#include "wx/modalhook.h"
 
 #ifndef WX_PRECOMP
     #include "wx/msw/wrapcdlg.h"
@@ -55,6 +56,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
 
 int wxFontDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     // It should be OK to always use GDI simulations
     DWORD flags = CF_SCREENFONTS /* | CF_NOSIMULATIONS */ ;