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
This commit is contained in:
Vadim Zeitlin 2013-08-07 15:44:56 +00:00
parent 2d3ae5c537
commit f592a93992

View File

@ -42,9 +42,9 @@
#include "wx/msw/private/metrics.h" #include "wx/msw/private/metrics.h"
#include "wx/msw/private/msgdlg.h" #include "wx/msw/private/msgdlg.h"
#include "wx/modalhook.h" #include "wx/modalhook.h"
#include "wx/fontutil.h"
#if wxUSE_MSGBOX_HOOK #if wxUSE_MSGBOX_HOOK
#include "wx/fontutil.h"
#include "wx/textbuf.h" #include "wx/textbuf.h"
#include "wx/display.h" #include "wx/display.h"
#endif #endif