]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilation of wx/debug.h when it's the first wx header to be included.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Mar 2010 20:08:05 +0000 (20:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Mar 2010 20:08:05 +0000 (20:08 +0000)
We must include wx/dlimpexp.h from wx/debug.h to be able to forward declare
wxString and wxCStrData using WXDLLIMPEXP_FWD_BASE, otherwise compilation
errors occur in the code which includes wx/debug.h as the first wx header.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/debug.h

index 80099fa4743c69269607a9c1f38b5ac2ed42d0cb..46c676359b3bd6aafff81fdf9fe733bf7d978660 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "wx/chartype.h"     // for __TFILE__ and wxChar
 #include "wx/cpp.h"          // for __WXFUNCTION__
+#include "wx/dlimpexp.h"     // for WXDLLIMPEXP_FWD_BASE
 
 class WXDLLIMPEXP_FWD_BASE wxString;
 class WXDLLIMPEXP_FWD_BASE wxCStrData;