make motif cursor from wxImage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2002-07-01 20:34:20 +00:00
parent 82805fe280
commit 4daa4d665a
2 changed files with 194 additions and 1 deletions

View File

@@ -17,6 +17,11 @@
#endif
#include "wx/bitmap.h"
#if wxUSE_IMAGE
#include "wx/image.h"
#endif
/* Cursor for one display, so we can choose the correct one for
* the current display.
@@ -61,7 +66,11 @@ public:
wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_XBM,
int hotSpotX = 0, int hotSpotY = 0);
#if wxUSE_IMAGE
wxCursor(const wxImage& image);
#endif
wxCursor(wxStockCursor id);
~wxCursor();