wxCursor(const wxImage&) doesn't exist on Mac, workaround for wxpython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -330,7 +330,11 @@ public:
|
|||||||
%new wxCursor* wxCursorFromImage(const wxImage& image);
|
%new wxCursor* wxCursorFromImage(const wxImage& image);
|
||||||
%{
|
%{
|
||||||
wxCursor* wxCursorFromImage(const wxImage& image) {
|
wxCursor* wxCursorFromImage(const wxImage& image) {
|
||||||
|
#ifndef __WXMAC__
|
||||||
return new wxCursor(image);
|
return new wxCursor(image);
|
||||||
|
#else
|
||||||
|
return NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user