]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/cursor.cpp
drop highlight color fix
[wxWidgets.git] / src / motif / cursor.cpp
index a40c79befa355fa5feb571e144da1878da8c04d9..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)
@@ -293,7 +293,7 @@ wxCursor::~wxCursor()
 {
 }
 
-bool wxCursor::Ok() const
+bool wxCursor::IsOk() const
 {
     return m_refData != NULL;
 }