]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
xti additions / changes, trying to reduce dependencies
[wxWidgets.git] / src / msw / cursor.cpp
index 221c3a3bf6a4912408a705df8345e6dafe5d55e9..3ea5cb74975026f37c3742b4806406eaccbe18f0 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "cursor.h"
 #endif
 
@@ -270,10 +270,6 @@ wxCursor::wxCursor(const wxString& filename,
     if ( hcursor )
     {
         m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
-
-#if WXWIN_COMPATIBILITY_2
-        ((wxCursorRefData *)m_refData)->SetOk();
-#endif // WXWIN_COMPATIBILITY_2
     }
 }