} else {
$project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
$project{"VC_PROJ_CODE"} = '0x0103';
- $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib ';
+ $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib shell32.lib ';
if ( Config("wx") ) {
$vc_base_libs .= 'wsock32.lib ';
}
if ( Config("wx") ) {
#! default rel path works for all the demos and most of the samples
#! if no explicit path given
- $WXDIR = Project("WXDIR") || "..\\..";
+ $WXDIR = Project("WXDIR") || (Project("WXDIRREL") || "..\\..");
AddIncludePath("$WXDIR\\include");
#! the wxWin lib name itself is composed from the basename with various
#! suffixes: 'u' for Unicode, 'd' for debug and we also need the version
#! for the DLL
- $DLL_VERSION = "232";
+ $DLL_VERSION = "233";
$project{"WX_LINK_DEBUG"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$DEBUG_SUFFIX.lib";
$project{"WX_LINK_RELEASE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME.lib";
if ( $text ne "" ) { $vc_def = $text . " "; $text = ""; } else { $vc_def = ""; }
if ( Config("wx") ) {
#! define wxWindows compilation flags
- $vc_def .= '/D WIN32 /D WINVER=0x400 /D _MT ';
+ $vc_def .= '/D WIN32 /D WINVER=0x400 ';
if ( Config("wxbase") ) {
$vc_def .= '/D wxUSE_GUI=0 ';