if (!m_ostream)
return;
- Write32(tmp_string.Length());
- m_ostream->write((const char *) tmp_string, tmp_string.Length());
+ Write32(string.Length());
+ m_ostream->write((const char *) string, string.Length());
}
// Must be at global scope for VC++ 5
if (!m_ostream)
return;
+#if USE_APPLE_IEEE
ConvertToIeeeExtended(d, (unsigned char *)buf);
+#else
+# pragma warning "wxDataStream::WriteDouble() not using IeeeExtended - will not work!"
+ buf[0] = '\0';
+#endif
m_ostream->write(buf, 10);
}