search for: objectpreviouslydelet

Displaying 11 results from an estimated 11 matches for "objectpreviouslydelet".

2007 Aug 01
0
[ wxruby-Bugs-12748 ] ObjectPreviouslyDeleted error when exiting bigdemo
...2007-08-01 17:32 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=12748&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: ObjectPreviouslyDeleted error when exiting bigdemo Initial Comment: On Windows and Linux, an ObjectPreviouslyDeleted exception is sometimes raised when closing the bigdemo. This appears to be triggered only if a part of bigdemo which displays a separate frame has been shown. -------------------------------------------...
2007 Jan 12
0
[ wxruby-Bugs-7773 ] ObjectPreviouslyDeleted error when using custom ArtProvider
...07-01-12 08:56 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=7773&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 4 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: ObjectPreviouslyDeleted error when using custom ArtProvider Initial Comment: According to the docs, it should be possible to define a custom subclass of ArtProvider that responds to create_bitmap, and add it to the sources used by ArtProvider by calling push_provider: Wx::ArtProvider.push_provider(MyArtProvider....
2006 Sep 29
5
ObjectPreviouslyDeleted when trying to paint
...Without calling refresh, things seem to be fine. (Although obviously my app doesn''t display the changed state.) With the refresh, I get: mainframe on_paint ./View/mainframe.rb:79:in `clear'': in method ''Clear'', argument 1 of type ''wxWindowDC *'' (ObjectPreviouslyDeleted) from ./View/mainframe.rb:79:in `on_paint'' from ./View/mainframe.rb:78:in `paint'' from ./View/mainframe.rb:78:in `on_paint'' from ./View/mainframe.rb:29:in `initialize'' ... Anyone have an idea of what might be going on? Is there...
2008 Mar 12
3
Different (tree) event behaviors across platforms
Hi all, I''m currently writing a simple outliner application as a tutorial on wxRuby (both will be soon released ;-) ) I tested this application on Windows and Linux and found that the tree event behavior : - is sometime strange on each platform - is also different on each platform Even if I managed to take care of these differences in the application, I''m just wondering if : -
2007 Mar 21
4
Problem with PaintDC(MSW)
When implementing EVT_PAINT handlers in c++ the PaintDC object is constructed at the beginning of the function, and auto destructed at it''s end, which informs wxwidgets that "invalid regions in the window have been repainted". Under ruby, this is not the case and causes a stream of EVT_PAINT events to be sent to the given window (until one of PaintDC objects is destructed by
2008 Jan 28
4
GridTableBase
Hello all, i''m using wxruby 1.9.4 with Grid and the model class: "GridTableBase" like in the code below. But the method set_table of the grid does''nt work. Can anyone help me? require ''wx'' include Wx class MyGridTableBase < GridTableBase def get_attr row, col, attr_kind ## end def get_number_rows 0
2006 Oct 21
6
Window#paint patch
Attached is a patch and some extra files to fix our ObjectPreviouslyDeleted crasher with the paint method. As discussed, it just re-implements the method in Ruby. I created a directory lib/wx/classes as a place to hold Ruby extensions to the API. The attached app.rb and window.rb files should be added to it. When this patch is applied, files in that directory are a...
2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...FAULT_POSITION,DEFAULT_SIZE, NO_FULL_REPAINT_ON_RESIZE) </span><del>- text = Wx::StaticText.new(self, -1, - ''WxRuby common dialog test application'', - Wx::Point.new(10, 10) ) - # PaintDC currently causing ObjectPreviouslyDeleted (10 Aug 2006) - # evt_paint() {|event| onPaint(event) } </del><ins>+ evt_paint { |event| on_paint(event) } </ins><span class="cx"> end </span><span class="cx"> </span><span class="cx"> def clear </span>...
2006 Aug 10
3
update on samples
...e little pane (eg Wx::Choice) - calendar.rb OK - caret.rb OK - but arrow keys don''t work properly (should they?) - controls.rb Seems OK, except doesn''t work if not run from current dir. Probably should add textctrls to this one. - dialogs.rb Problems with DC - seems to cause ObjectPreviouslyDeleted error in an on_paint handler. I have worked round this. MDI, ColourDialog crashes on OS X. - system_settings.rb OK (thanks to Sean''s fix for get_text_extent) - images.rb OK - listbook.rb OK, except breaks if not run from own directory. - mdi.rb MDI doesn''t work on OS X? -...
2007 Jul 21
0
upcoming 1.9.0 release
I think (cautiously) that recent commits have at last fixed the memory management for most/all the currently ported classes. I get ObjectPreviouslyDeleted exceptions on exit occasionally in bigdemo, but that''s about it. If I never see a C debugger again it will be too soon. Bugs on the tracker are either minor OS X-specific quirks, which I can''t tackle at the moment, and a couple of method-specific bugs which I am currently st...
2007 May 21
13
First drop of new memory management
Hi Just a quick update on memory leaks etc. I''ve just dropped a bunch of patches with a new approach to linking ruby''s GC to Wx''s memory handling. Still some work to do - eg bigdemo.rb falls over quite quickly - but working well for me on other samples. Briefly, it disposes of fixdeleting. For almost all objects that aren''t Windows, they should now be