From: Vadim Zeitlin Date: Fri, 10 Mar 2006 21:30:03 +0000 (+0000) Subject: define wxUSE_UNICODE=1 on the command line in UNICODE builds (allows to use default... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6abf0ef4d5e5783034dc4b892ced3f6806ce716 define wxUSE_UNICODE=1 on the command line in UNICODE builds (allows to use default wx/setup.h unchanged) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/config.py b/wxPython/config.py index 09a8e0e3fe..d08949daf4 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -713,6 +713,9 @@ if os.name == 'nt': if not FINAL or HYBRID: defines.append( ('__WXDEBUG__', None) ) + if UNICODE: + defines.append( ('wxUSE_UNICODE', 1) ) + libdirs = [ opj(WXDIR, 'lib', 'vc_dll') ] if MONOLITHIC: libs = makeLibName('')