X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4f392ea20e048c68626a14181cbf78c8baff3a5..9b66a1d31a32e9235792261db6ff755ce26ab5c1:/src/mgl/cursor.cpp?ds=sidebyside diff --git a/src/mgl/cursor.cpp b/src/mgl/cursor.cpp index 0f5a9a3811..bcef548906 100644 --- a/src/mgl/cursor.cpp +++ b/src/mgl/cursor.cpp @@ -65,7 +65,7 @@ wxCursor::wxCursor() { } -wxCursor::wxCursor(wxStockCursor cursorId) +void wxCursor::InitFromStock(wxStockCursor cursorId) { if ( !gs_cursorsHash ) gs_cursorsHash = new wxCursorsHash; @@ -140,21 +140,11 @@ wxCursor::wxCursor(wxStockCursor cursorId) } } -wxCursor::wxCursor(const char WXUNUSED(bits)[], - int WXUNUSED(width), - int WXUNUSED(height), - int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY), - const char WXUNUSED(maskBits)[], - wxColour * WXUNUSED(fg), wxColour * WXUNUSED(bg) ) -{ - //FIXME_MGL -} - wxCursor::wxCursor(const wxString& cursor_file, - long flags, + wxBitmapType type, int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY)) { - if ( flags == wxBITMAP_TYPE_CUR || flags == wxBITMAP_TYPE_CUR_RESOURCE ) + if ( type == wxBITMAP_TYPE_CUR || type == wxBITMAP_TYPE_CUR_RESOURCE ) { m_refData = new wxCursorRefData(); M_CURSORDATA->m_cursor = new MGLCursor(cursor_file.mb_str());