Clearified ROP code in wxDC (MSW and GTK).

Removed CaptureMouse() non-sense again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-02-02 20:36:55 +00:00
parent a3a1ceae81
commit 2d52841d08
5 changed files with 43 additions and 8 deletions

View File

@@ -1273,9 +1273,7 @@ void wxWindowDC::SetLogicalFunction( int function )
case wxCLEAR: mode = GDK_CLEAR; break;
case wxSET: mode = GDK_SET; break;
case wxOR_INVERT: mode = GDK_OR_INVERT; break;
case wxSRC_AND:
case wxAND: mode = GDK_AND; break;
case wxSRC_OR:
case wxOR: mode = GDK_OR; break;
case wxEQUIV: mode = GDK_EQUIV; break;
case wxNAND: mode = GDK_NAND; break;
@@ -1283,6 +1281,13 @@ void wxWindowDC::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;
// these are actually ternary ROPs
case wxSRC_AND: mode = GDK_AND; break;
case wxSRC_OR: mode = GDK_OR; break;
#endif
default:
{