Added ability to make a wxCursor from a wxImage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-02-14 19:23:37 +00:00
parent 2ff24ec7ed
commit 0c8d205343

View File

@@ -338,6 +338,13 @@ public:
}
%}
%new wxCursor* wxCursorFromImage(const wxImage& image);
%{
wxCursor* wxCursorFromImage(const wxImage& image) {
return new wxCursor(image);
}
%}
//----------------------------------------------------------------------
class wxColour : public wxObject {