Unicode compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
2000-01-03 02:14:45 +00:00
parent 15b83243e8
commit f5166ed458
3 changed files with 4 additions and 4 deletions

View File

@@ -2164,7 +2164,7 @@ void wxAssociateWinWithHandle(HWND hWnd, wxWindow *win)
if ( oldWin && (oldWin != win) )
{
wxString str(win->GetClassInfo()->GetClassName());
wxLogError("Bug! Found existing HWND %X for new window of class %s", (int) hWnd, (const char*) str);
wxLogError(wxT("Bug! Found existing HWND %X for new window of class %s"), (int) hWnd, (const wxChar*) str);
}
else if (!oldWin)
{
@@ -2336,7 +2336,7 @@ bool wxWindow::MSWCreate(int id,
HWND hWnd = (HWND) node->GetKeyInteger();
if (hWnd != (HWND) m_hWnd)
{
wxLogError("A second HWND association is being added for the same window!");
wxLogError(wxT("A second HWND association is being added for the same window!"));
}
}
#endif