]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
[wxWidgets.git] / src / gtk / dcclient.cpp
index 88649ea90963cfd68541c99a2b993abcb42b2b1a..d610de176bdf7f6ed84cb4246cc123a4065a4888 100644 (file)
@@ -2009,9 +2009,7 @@ void wxWindowDCImpl::SetLogicalFunction( int function )
         case wxCOPY:         mode = GDK_COPY;          break;
         case wxNO_OP:        mode = GDK_NOOP;          break;
         case wxSRC_INVERT:   mode = GDK_COPY_INVERT;   break;
-
-        // unsupported by GTK
-        case wxNOR:          mode = GDK_COPY;          break;
+        case wxNOR:          mode = GDK_NOR;           break;
         default:
            wxFAIL_MSG( wxT("unsupported logical function") );
            mode = GDK_COPY;