Unicode compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2005-06-12 12:12:21 +00:00
parent be283c77a0
commit 2173b18fc8
9 changed files with 40 additions and 32 deletions

View File

@@ -65,13 +65,13 @@ void wxBitmapRefData::Free()
{
if ( m_pSelectedInto )
{
wxLogLastError("GpiDeleteBitmap(hbitmap)");
wxLogLastError(wxT("GpiDeleteBitmap(hbitmap)"));
}
if (m_hBitmap)
{
if (!::GpiDeleteBitmap((HBITMAP)m_hBitmap))
{
wxLogLastError("GpiDeleteBitmap(hbitmap)");
wxLogLastError(wxT("GpiDeleteBitmap(hbitmap)"));
}
}
if (m_pBitmapMask)
@@ -186,7 +186,7 @@ wxBitmap::wxBitmap(
hPs = ::GpiCreatePS(vHabmain, hDc, &vSize, GPIA_ASSOC | PU_PELS);
if (hPs == 0)
{
wxLogLastError("GpiCreatePS Failure");
wxLogLastError(wxT("GpiCreatePS Failure"));
}
if (nDepth == 1)
@@ -256,7 +256,7 @@ wxBitmap::wxBitmap(
if (!hBmp)
{
wxLogLastError("CreateBitmap");
wxLogLastError(wxT("CreateBitmap"));
}
::GpiDestroyPS(hPs);
::DevCloseDC(hDc);