noreply at rubyforge.org
2007-May-07 19:55 UTC
[Wxruby-development] [ wxruby-Bugs-10662 ] ClientDC paint not being shown on OS X with 2.8
Bugs item #10662, was opened at 2007-05-07 19:55 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 4 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: ClientDC paint not being shown on OS X with 2.8 Initial Comment: Since moving to wxWidgets 2.8, drawing done with a ClientDC (outside a paint event, via the paint method) is not being shown until the window is invalidated, on OS X only. This can be seen in the cursor sample in bigdemo; the red circle shown on click to mark the hotspot does not appear until the Choice is dropped down and covers the window. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35
Sean Long
2007-May-07 20:45 UTC
[Wxruby-development] [ wxruby-Bugs-10662 ] ClientDC paint not being shown on OS X with 2.8
For some reason I can not log into rubyforge to comment on this bug, so here is the comment for now: Based on what I have read on the DialogBlocks mailing list 2.8 is now drawing using core graphics on OS X. Julian Smart wrote the following: "You could try editing include/wx/mac/carbon/chkcnf.h and setting wxMAC_USE_CORE_GRAPHICS to 0 and recompiling, since this mode is rather new and there are a few issues with it. In particular, wxClientDC does not work well with core graphics mode on - Mac OS X prefers it if you do everything in your paint handler." I think we should set wxMAC_USE_CORE_GRAPHICS to 0 for now until the bugs are worked out. The DialogBlocks mailing list is here, I think you have to subscribe to the group to read messages. http://groups.yahoo.com/group/anthemion-devtools/ Sean On 5/7/07, noreply at rubyforge.org <noreply at rubyforge.org> wrote:> Bugs item #10662, was opened at 2007-05-07 19:55 > You can respond by visiting: > http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35 > > Category: Incorrect behavior > Group: None > Status: Open > Resolution: None > Priority: 4 > Submitted By: Alex Fenton (brokentoy) > Assigned to: Alex Fenton (brokentoy) > Summary: ClientDC paint not being shown on OS X with 2.8 > > Initial Comment: > Since moving to wxWidgets 2.8, drawing done with a ClientDC (outside a paint event, via the paint method) is not being shown until the window is invalidated, on OS X only. > > This can be seen in the cursor sample in bigdemo; the red circle shown on click to mark the hotspot does not appear until the Choice is dropped down and covers the window. > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35 > _______________________________________________ > Wxruby-development mailing list > Wxruby-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-development >
Apparently Analagous Threads
- 0.0.40 tagged
- [993] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Use ClientDC via Window#paint object
- [994] branches/wxruby2/wxwidgets_282/samples/bigdemo/ShapedWindow.rbw: Draw bitmap via paint method rather than directly with a ClientDC
- [999] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Use paint() instead of ClientDC.new() in caret sample
- [990] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxCursor.rbw: Use paint block instead of ClientDC; load icon file safely