www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - DMC and MS Layer Unicode

Wxwidgets don't compile with smake -f makefile.dms UNICODE=1 MSLU=1
with setup.h with wxUSE_UNICODE and wx_USE_UNICODE_MSLU to 1.

There is code in \msw\mslu.h:

#if defined( __VISUALC__ ) \
|| ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \
|| ( defined(__MWERKS__) && defined(__WXMSW__) ) \
|| ( defined(__BORLANDC__) && (__BORLANDC__ > 0x460) )

Is it wrong?
Should are best:

if defined( __VISUALC__ ) \
|| ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \
|| ( defined(__MWERKS__) && defined(__WXMSW__) ) \
|| ( defined(__BORLANDC__) && (__BORLANDC__ > 0x460) ) \
|| defined( __DMC__ )
Apr 12 2006