]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
Always send an erase event to satisfy some users...
[wxWidgets.git] / src / msw / cursor.cpp
index 756308ebd22a88e1acae7a9130ff5d36811132b0..09ab2ba32e6e7a8356dbe72eb43d6785d2d2bf75 100644 (file)
@@ -52,7 +52,7 @@
 // wxWin macros
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxCursorBase)
+IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject)
 
 // ----------------------------------------------------------------------------
 // globals
@@ -315,10 +315,11 @@ wxCursor::wxCursor(int cursor_type)
       refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_ARROW);
       break;
   }
-#endif
 
   // no need to destroy the stock cursors
-  refData->m_destroyCursor = FALSE;
+  // TODO: check this
+  //m_refData->m_destroyCursor = FALSE;
+#endif
 }
 
 wxCursor::~wxCursor()