[Wxruby-users] Patches for bigdemo

Kevin Smith
Mon, 12 Sep 2005 20:42:19 -0000

Roy Sutton wrote:
> Included are three patches to make the mdi demo work properly:

Applied.

> main.rbw:  Call init_all_image_handlers    (Is there any reason we
> shouldn''t just do this for people?  Why make them call this?  Is
there a
> downside to initializing image handlers?)

Hm. I''m not certain they would all be available on all platforms. Might
be some penalty in speed or memory usage. I''ll add it to the TODO list
as a question.

This patch didn''t apply cleanly. Not sure why.

> wxScrolledWindow.rbw:   Uncommented call to draw_spline

This one did apply cleanly.

> wxDC.h:  Added another prototype of draw_spline so draw_spline will work
> in the demo

Cool.

The MDI sample doesn''t quite actually work for me yet. I can click on
the MDI tree item, and then on the MDI button. A second window pops up.
If I hit File/New Window, the app goes into its typical diagnostic/crash
loop where it prints a bunch of uninteresting messages to the screen,
and then pops up a dialog offering to kill the app (which may be coming
from Gnome).

Kevin