]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxMSW with wxUSE_MSGBOX_HOOK==0.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Aug 2013 15:44:56 +0000 (15:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Aug 2013 15:44:56 +0000 (15:44 +0000)
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

index aaed9613095c8571ea6f05fe0f6f1cb9cf7baaa0..02da8a94d8fdcda76429bc78661641eec74249ea 100644 (file)
@@ -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