]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/artprov.h
Make all instances of HasEditorCtrl() const, not just a few
[wxWidgets.git] / include / wx / artprov.h
index a9a4eaa964a1b3496c8777d7f8294969fa2ccb4f..2ece3c33b2e7f7c67b28b3bf877f7bbeb160d392 100644 (file)
@@ -227,8 +227,8 @@ private:
 
 
 #if !defined(__WXUNIVERSAL__) && \
-    (defined(__WXGTK__) || defined(__WXMSW__) || \
-     (defined(__WXMAC__) && wxOSX_USE_CARBON))
+    ((defined(__WXGTK__) && defined(__WXGTK20__)) || defined(__WXMSW__) || \
+     (defined(__WXMAC__) && wxOSX_USE_COCOA_OR_CARBON))
   // *some* (partial) native implementation of wxArtProvider exists; this is
   // not the same as wxArtProvider::HasNativeProvider()!
   #define wxHAS_NATIVE_ART_PROVIDER_IMPL