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:
@@ -338,6 +338,13 @@ public:
|
|||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%new wxCursor* wxCursorFromImage(const wxImage& image);
|
||||||
|
%{
|
||||||
|
wxCursor* wxCursorFromImage(const wxImage& image) {
|
||||||
|
return new wxCursor(image);
|
||||||
|
}
|
||||||
|
%}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
class wxColour : public wxObject {
|
class wxColour : public wxObject {
|
||||||
|
Reference in New Issue
Block a user