]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
first round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1...
[wxWidgets.git] / src / gtk / dcclient.cpp
index f76a4a21f39a736f2e9e15642cbb4aacc1431b8a..234a38f27871b1422c6d5a35158ffe2a868ce498 100644 (file)
@@ -2081,6 +2081,9 @@ void wxWindowDCImpl::SetLogicalFunction( wxRasterOperationMode function )
         case wxNO_OP:        mode = GDK_NOOP;          break;
         case wxSRC_INVERT:   mode = GDK_COPY_INVERT;   break;
         case wxNOR:          mode = GDK_NOR;           break;
+        default:
+            wxFAIL_MSG("unknown mode");
+            return;
     }
 
     m_logicalFunction = function;