From bc6e28d55ac11ae700a304dd2ce3f4e20923ca88 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Mon, 28 Jun 2004 19:22:48 +0000 Subject: [PATCH] Compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/motif/cursor.h | 4 ++-- src/motif/cursor.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index 2cfc1ff3d1..4c6d47a635 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -57,7 +57,7 @@ public: // Motif-specific. // Create/get a cursor for the current display - WXCursor GetXCursor(WXDisplay* display) ; + WXCursor GetXCursor(WXDisplay* display) const; private: void Create(const char bits[], int width, int height, int hotSpotX = -1, int hotSpotY = -1, @@ -65,7 +65,7 @@ private: void Create(WXPixmap cursor, WXPixmap mask, int hotSpotX, int hotSpotY); // Make a cursor from standard id - WXCursor MakeCursor(WXDisplay* display, wxStockCursor id); + WXCursor MakeCursor(WXDisplay* display, wxStockCursor id) const; }; extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor); diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 532fc09e8d..c14ddb8a1c 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -298,7 +298,7 @@ bool wxCursor::Ok() const } // Motif-specific: create/get a cursor for the current display -WXCursor wxCursor::GetXCursor(WXDisplay* display) +WXCursor wxCursor::GetXCursor(WXDisplay* display) const { if (!M_CURSORDATA) return (WXCursor) 0; @@ -333,7 +333,7 @@ WXCursor wxCursor::GetXCursor(WXDisplay* display) } // Make a cursor from standard id -WXCursor wxCursor::MakeCursor(WXDisplay* display, wxStockCursor id) +WXCursor wxCursor::MakeCursor(WXDisplay* display, wxStockCursor id) const { Display* dpy = (Display*) display; Cursor cursor = (Cursor) 0; -- 2.45.2