From: Vadim Zeitlin Date: Sat, 27 Aug 2011 14:50:01 +0000 (+0000) Subject: Compilation fix for wxTreeListCtrl when not using PCH. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/00fa267c1eba44253153e9a80d144c8cea69ecb7 Compilation fix for wxTreeListCtrl when not using PCH. Include wx/dc.h normally included from wx/wxprec.h. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treelist.cpp b/src/generic/treelist.cpp index 17b3f058bb..21a4905529 100644 --- a/src/generic/treelist.cpp +++ b/src/generic/treelist.cpp @@ -24,6 +24,7 @@ #endif #ifndef WX_PRECOMP + #include "wx/dc.h" #endif // WX_PRECOMP #include "wx/treelist.h"