We don't support VC++ 4 for ages and any recent version of GCC has
cVal, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63045
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
oleVariant.vt = VT_I4;
oleVariant.lVal = variant.GetLong() ;
}
oleVariant.vt = VT_I4;
oleVariant.lVal = variant.GetLong() ;
}
- // cVal not always present
-#ifndef __GNUWIN32__
else if (type == wxT("char"))
{
oleVariant.vt=VT_I1; // Signed Char
oleVariant.cVal=variant.GetChar();
}
else if (type == wxT("char"))
{
oleVariant.vt=VT_I1; // Signed Char
oleVariant.cVal=variant.GetChar();
}
else if (type == wxT("double"))
{
oleVariant.vt = VT_R8;
else if (type == wxT("double"))
{
oleVariant.vt = VT_R8;
else if (type == wxT("bool"))
{
oleVariant.vt = VT_BOOL;
else if (type == wxT("bool"))
{
oleVariant.vt = VT_BOOL;
- // 'bool' required for VC++ 4 apparently
-#if (defined(__VISUALC__) && (__VISUALC__ <= 1000))
- oleVariant.bool = variant.GetBool();
-#else
oleVariant.boolVal = variant.GetBool();
oleVariant.boolVal = variant.GetBool();
}
else if (type == wxT("string"))
{
}
else if (type == wxT("string"))
{