X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37f214d588b02079a3ddf64c2e46585ca1657c1b..3c85ada9dbd66f72f174c049744e8cdaa444d99f:/src/os2/cursor.cpp diff --git a/src/os2/cursor.cpp b/src/os2/cursor.cpp index b55237c68b..6490f0279e 100644 --- a/src/os2/cursor.cpp +++ b/src/os2/cursor.cpp @@ -26,13 +26,12 @@ #include "assert.h" -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap) -#endif wxCursorRefData::wxCursorRefData(void) { - m_width = 32; m_height = 32; + m_nWidth = 32; + m_nHeight = 32; m_hCursor = 0 ; m_destroyCursor = FALSE; } @@ -59,9 +58,9 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho M_CURSORDATA->m_destroyCursor = FALSE; M_CURSORDATA->m_hCursor = 0; - M_CURSORDATA->m_ok = FALSE; // TODO: /* + M_CURSORDATA->m_bOK = FALSE; if (flags & wxBITMAP_TYPE_CUR_RESOURCE) { M_CURSORDATA->m_hCursor = (WXHCURSOR) LoadImage(wxGetInstance(), cursor_file, IMAGE_CURSOR, 0, 0, 0);