From eb0778f8702a6ee6688f27106cf37144cb631e6c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 2 Jan 2009 17:35:16 +0000 Subject: [PATCH] fix header dependancy git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/regex.h | 2 +- src/common/regex.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/regex.h b/include/wx/regex.h index 800725a3ca..72ee83d5c6 100644 --- a/include/wx/regex.h +++ b/include/wx/regex.h @@ -16,7 +16,7 @@ #if wxUSE_REGEX -class WXDLLIMPEXP_FWD_BASE wxString; +#include "wx/string.h" // ---------------------------------------------------------------------------- // constants diff --git a/src/common/regex.cpp b/src/common/regex.cpp index 4a7241e3b0..e5b7bcac24 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -27,9 +27,10 @@ #if wxUSE_REGEX +#include "wx/regex.h" + #ifndef WX_PRECOMP #include "wx/object.h" - #include "wx/string.h" #include "wx/log.h" #include "wx/intl.h" #endif //WX_PRECOMP @@ -43,7 +44,6 @@ #endif #include -#include "wx/regex.h" // WXREGEX_USING_BUILTIN defined when using the built-in regex lib // WXREGEX_USING_RE_SEARCH defined when using re_search in the GNU regex lib