]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cairo.h
add const synonyms for wxGridTableBase::GetNumberRows/Cols(), using const_cast<>...
[wxWidgets.git] / include / wx / cairo.h
index 2135ea932f72ce8b7ba01a60d796d55a1a18f36e..7133656190a8aba2d3975ff5cd647d191c5bed03 100644 (file)
 #ifndef _WX_CAIRO_H_BASE_
 #define _WX_CAIRO_H_BASE_
 
- // for now GTK+ only
-#ifdef __WXGTK210__
-  #define wxUSE_CAIRO  1
+// for now GTK+ only
+#ifndef wxUSE_CAIRO
+    #ifdef __WXGTK210__
+        #define wxUSE_CAIRO 1
+    #else
+        #define wxUSE_CAIRO 0
+    #endif
 #endif
 
 #if wxUSE_CAIRO