case wxPropertyValueStringPtr:
{
wxChar** s = copyFrom.StringValuePtr();
- (*this) = s;
+ (*this) = s != 0;
return ;
}
{
BeginFind();
wxNode *node;
- while ((node = Next()))
+ while ((node = Next()) != NULL)
{
delete (wxPropertyValidator *)node->Data();
}
static BOOL OleDateFromTm(WORD wYear, WORD wMonth, WORD wDay,
WORD wHour, WORD wMinute, WORD wSecond, DATE& dtDest);
static BOOL TmFromOleDate(DATE dtSrc, struct tm& tmDest);
-static void TmConvertToStandardFormat(struct tm& tmSrc);
-static double DoubleFromDate(DATE dt);
-static DATE DateFromDouble(double dbl);
static void ClearVariant(VARIANTARG *pvarg) ;
static void ReleaseVariant(VARIANTARG *pvarg) ;
return FALSE;
CLSID clsId;
- IUnknown * pUnk = NULL;
BasicString unicodeName((const char*) classId);
{
int len = SysStringLen(bStr) + 1;
char *buf = new char[len];
- int i = wcstombs( buf, bStr, len);
+ (void)wcstombs( buf, bStr, len);
wxString str(buf);
delete[] buf;
return TRUE;
}
+// this function is not used
+#if 0
void TmConvertToStandardFormat(struct tm& tmSrc)
{
// Convert afx internal tm to format expected by runtimes (_tcsftime, etc)
double temp = floor(dbl); // dbl is now whole part
return temp + (temp - dbl);
}
+#endif // 0
/*
* ClearVariant