compilation fixes for some cases

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-06-26 10:24:09 +00:00
parent bdcb213757
commit bcbb02480b

View File

@ -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