ostream WXDLLEXPORT & operator << (ostream &os, const wxDate &dt)
{
- return os << (const wxChar *) dt.FormatDate();
+ return os << dt.FormatDate().mb_str();
}
//////////////////////////////////////////////////////////////
#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxFileProto, wxProtocol)
-IMPLEMENT_PROTOCOL(wxFileProto, "file", NULL, FALSE)
+IMPLEMENT_PROTOCOL(wxFileProto, _T("file"), NULL, FALSE)
#endif
wxFileProto::wxFileProto()
#endif
#ifdef __WINDOWS__
-extern char wxPanelClassName[];
+extern wxChar wxPanelClassName[];
LRESULT APIENTRY _EXPORT wxSocketHandlerWndProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam)
break;
default:
- wxFAIL_MSG("invalid socket event");
+ wxFAIL_MSG(_T("invalid socket event"));
return (LRESULT)0;
}
void wxURL::CleanData()
{
- if (m_protoname != "proxy")
+ if (m_protoname != _T("proxy"))
delete m_protocol;
}
}
m_error = wxURL_NOERR;
- if (m_user != "") {
+ if (m_user != _T("")) {
m_protocol->SetUser(m_user);
m_protocol->SetPassword(m_password);
}