From ef609210f1656775cbbd09e45d36e2abb90e47d5 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Mon, 14 Jun 1999 17:54:47 +0000 Subject: [PATCH] Unicode fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 3ad8200c69..0662f7f903 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -105,7 +105,7 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho #if wxUSE_RESOURCE_LOADING_IN_MSW HBITMAP hBitmap = 0; HPALETTE hPalette = 0; - bool success = ReadDIB(WXSTRINGCAST cursor_file, &hBitmap, &hPalette) != 0; + bool success = ReadDIB(MBSTRINGCAST cursor_file.mb_str(wxConvFile), &hBitmap, &hPalette) != 0; if (!success) return; if (hPalette) -- 2.45.2