X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef609210f1656775cbbd09e45d36e2abb90e47d5..0655ad290a99dc0d4e8ea86aec60c7833a53be53:/src/msw/cursor.cpp diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 0662f7f903..3ad8200c69 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(MBSTRINGCAST cursor_file.mb_str(wxConvFile), &hBitmap, &hPalette) != 0; + bool success = ReadDIB(WXSTRINGCAST cursor_file, &hBitmap, &hPalette) != 0; if (!success) return; if (hPalette)