]> git.saurik.com Git - wxWidgets.git/commitdiff
need to include wx/imaglist.h even when using PCH
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 23:14:29 +0000 (23:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 23:14:29 +0000 (23:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextformatdlg.cpp

index 9a7d80afd85d99e4111f19a19fddcb3fd2e7578a..b21d5e7b09ff5dda6d512b4fe1ed72df6338df46 100644 (file)
@@ -16,7 +16,7 @@
     #pragma hdrstop
 #endif
 
-#include "wx/defs.h"
+#if wxUSE_RICHTEXT
 
 #ifndef WX_PRECOMP
     #include "wx/listbox.h"
     #include "wx/bitmap.h"
     #include "wx/dcclient.h"
     #include "wx/frame.h"
-    #include "wx/imaglist.h"
     #include "wx/checkbox.h"
     #include "wx/button.h"
 #endif // WX_PRECOMP
 
-#if wxUSE_RICHTEXT
-
 #include "wx/bookctrl.h"
 #include "wx/colordlg.h"
 #include "wx/fontenum.h"
 #include "wx/settings.h"
 #include "wx/module.h"
+#include "wx/imaglist.h"
 
 #include "wx/richtext/richtextformatdlg.h"
 #include "wx/richtext/richtextctrl.h"