From f592a93992adce7d38b163beadd10204b495d94c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 7 Aug 2013 15:44:56 +0000 Subject: [PATCH] Compilation fix for wxMSW with wxUSE_MSGBOX_HOOK==0. Include wx/fontutil.h unconditionally, it's needed outside message box hook code. Closes #15395. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/msgdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index aaed961..02da8a9 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -42,9 +42,9 @@ #include "wx/msw/private/metrics.h" #include "wx/msw/private/msgdlg.h" #include "wx/modalhook.h" +#include "wx/fontutil.h" #if wxUSE_MSGBOX_HOOK - #include "wx/fontutil.h" #include "wx/textbuf.h" #include "wx/display.h" #endif -- 2.7.4