]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/cursor.cpp
be able to change tabs with arrow keys
[wxWidgets.git] / src / motif / cursor.cpp
index 6bfc0ab44161f401e66daeb5b44b10fb6ebadaed..0e70f27bcfe98a2de5a1df092e066695c3bb96f5 100644 (file)
@@ -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)