X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..8145496b9bd1cbccf7411c5e76f72a9dfc7ebf1b:/src/motif/cursor.cpp diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index a40c79befa..0e70f27bcf 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -259,7 +259,7 @@ wxCursor::wxCursor(const wxString& name, long flags, int hotSpotX, int hotSpotY) int screen_num = DefaultScreen (dpy); int value = XReadBitmapFile (dpy, RootWindow (dpy, screen_num), - wxConstCast(name.c_str(), char), + wxConstCast(name.mb_str(), char), &w, &h, &pixmap, &hotX, &hotY); if (value == BitmapSuccess) @@ -293,7 +293,7 @@ wxCursor::~wxCursor() { } -bool wxCursor::Ok() const +bool wxCursor::IsOk() const { return m_refData != NULL; }