From: Vadim Zeitlin Date: Wed, 7 Aug 2013 15:44:56 +0000 (+0000) Subject: Compilation fix for wxMSW with wxUSE_MSGBOX_HOOK==0. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f592a93992adce7d38b163beadd10204b495d94c 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 --- diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index aaed961309..02da8a94d8 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