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:
@@ -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
|
||||
|
Reference in New Issue
Block a user