From: Paul Cornett Date: Fri, 2 Jan 2009 17:29:32 +0000 (+0000) Subject: fix header dependancy X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9d77a075c059597c81320c313a7d0905b8567531 fix header dependancy git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/regex.h b/include/wx/regex.h index 5aa6368e82..77ed092997 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 40dff4df70..30dddf3804 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" #include "wx/crt.h" @@ -44,7 +45,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