From bcbb02480bb50512bf1606d7b5616a9e1935877e Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 26 Jun 2007 10:24:09 +0000 Subject: [PATCH] compilation fixes for some cases git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/regex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/regex.cpp b/src/common/regex.cpp index bc0faa554e..110166bbba 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -58,9 +58,9 @@ # define WXREGEX_USING_BUILTIN # define WXREGEX_IF_NEED_LEN(x) ,x # if wxUSE_UNICODE -# define WXREGEX_CHAR(x) x.wc_str() +# define WXREGEX_CHAR(x) (x).wc_str() # else -# define WXREGEX_CHAR(x) x.mb_str() +# define WXREGEX_CHAR(x) (x).mb_str() # endif #else # ifdef HAVE_RE_SEARCH @@ -72,7 +72,7 @@ # if wxUSE_UNICODE # define WXREGEX_CONVERT_TO_MB # endif -# define WXREGEX_CHAR(x) x.mb_str() +# define WXREGEX_CHAR(x) (x).mb_str() # define wx_regfree regfree # define wx_regerror regerror #endif -- 2.47.2