Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f454e36230
commit
bc6e28d55a
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user