]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dragimgg.h
Change GetC to return an int so that it can return wxEOF on error.
[wxWidgets.git] / include / wx / generic / dragimgg.h
index 18b984d6d74d8cc405385c31a58db3d45f3da243..e680ecd30572e4165ad927c7ff31a4ff54fb9f30 100644 (file)
@@ -160,7 +160,7 @@ public:
     // For efficiency, tell wxGenericDragImage to use a bitmap that's already
     // created (e.g. from last drag)
     void SetBackingBitmap(wxBitmap* bitmap) { 
-#if !wxHAS_NATIVE_OVERLAY
+#ifndef wxHAS_NATIVE_OVERLAY
         m_pBackingBitmap = bitmap; 
 #endif
     }
@@ -247,7 +247,7 @@ protected:
     wxWindow*       m_window;
     wxDC*           m_windowDC;
 
-#if wxHAS_NATIVE_OVERLAY
+#ifdef wxHAS_NATIVE_OVERLAY
     wxOverlay       m_overlay;
     wxDCOverlay*     m_dcOverlay;
 #else