tamailove.blogg.se

Use dig for osx
Use dig for osx








use dig for osx
  1. #Use dig for osx code
  2. #Use dig for osx mac

> work too), that enables the blending modes again.

#Use dig for osx code

> source code with -with-macosx-version-min=10.6 (10.5 will probably I can't imagine this is intentional, because the blending modes > version is 10.4 (which it is by default).

#Use dig for osx mac

> 1) All of the blend modes are turned off if the mac compatibility Necessary on my system anyway (I traced it though), the check I think the compiling with -with-macosx-version-min=10.5 (at least) is I bet that will fix the problem even with the default compilation options still set. If you want a really quick hack to fix the problem in a way that works with 10.4, try changing line 1835 to say "mode = kCGBlendModeExclusion ". What's weird is that CGContextSetBlendMode is introduced in 10.4 and most of the constants we need are available as of 10.5, so why is it using the private CGContextSetCompositeOperator API at all in 10.5 still? That's probably a question only Stefan (the wxMac maintainer) can answer. Your fix probably would not do the right thing even on 10.5 because of that. The real issue, I think, is that the "else" block that uses CGContextSetBlendMode for everything is only used under 10.6, even though that's what you want to use on 10.4 up. They should actually be compiling if wxUSE_COCOA_OR_CARBON is set.

use dig for osx use dig for osx

Only two do, actually - wx.INVERT and wx.XOR. Of course, so let me know if you want me to add the capability and Order to pass the desired configure options off. Script? I had to hack the build/tools/build-wxwidgets.py script in Slightly to be able to pass through options to the wxwidgets configure Original post returns the correct results, and rubberbanding worksĪ side issue to Robin: can the build-wxpython.py script be modified With these two fixes implemented, the sample script optest.py in the The Apple devs left a little pothole to fall into there. Sure enough, if you make that change, the xor'ing in (specifically CGContext.h), each mode has its own number (one is 11, Why they actĭifferently I have no idea, but if you dig into the include files KCGBlendModeXOR needs to be kCGBlendModeExclusion. Work too), that enables the blending modes again. Source code with -with-macosx-version-min=10.6 (10.5 will probably Version is 10.4 (which it is by default). 1) All of the blend modes are turned off if the mac compatibility










Use dig for osx