]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
nicer version compilation fix for wxUSE_WCHAR_T=0 (why should we duplicate definition...
[wxWidgets.git] / include / wx / dc.h
index 8dc21ff6f0e380cecd4c97efe0dc7b10fadebd9e..eef4e7b99c5861974b7adf8c1e398cfec236a0f0 100644 (file)
@@ -491,7 +491,7 @@ public:
     // Put ClearCache in the wxDC implementation class, since it has to be
     // static.
     // static void ClearCache() ;
-#if wxUSE_DC_CACHEING
+#if 0 // wxUSE_DC_CACHEING
     static void EnableCache(bool cacheing) { sm_cacheing = cacheing; }
     static bool CacheEnabled() { return sm_cacheing ; }
 #endif
@@ -699,7 +699,7 @@ protected:
     bool m_isInteractive:1;
     bool m_isBBoxValid:1;
 #if wxUSE_DC_CACHEING
-    static bool sm_cacheing;
+//    static bool sm_cacheing;
 #endif
 
     // coordinate system variables