X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..010d821b3138ae39c43403da64eb0bcde9af82ae:/src/msw/fontdlg.cpp?ds=inline diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index 96c3289a6d..13c1dc1f69 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -27,6 +26,7 @@ #if wxUSE_FONTDLG #include "wx/fontdlg.h" +#include "wx/modalhook.h" #ifndef WX_PRECOMP #include "wx/msw/wrapcdlg.h" @@ -55,6 +55,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 */ ;