X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b135950383287e57c465f19879238fb7150a2fa..3c47c04740b7c456823e0fd31edbdf1e6bfff43b:/src/motif/cursor.cpp diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 0e70f27bcf..6d32080afd 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -51,7 +51,7 @@ WX_DEFINE_LIST(wxXCursorList) class WXDLLEXPORT wxCursorRefData: public wxObjectRefData { - friend class WXDLLEXPORT wxCursor; + friend class wxCursor; public: wxCursorRefData(); virtual ~wxCursorRefData(); @@ -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.mb_str(), char), + name.mb_str(), &w, &h, &pixmap, &hotX, &hotY); if (value == BitmapSuccess)