[Wxruby-users] Wx::Grid Questions ...

Nick devel at nicreations.com
Fri Nov 19 08:46:53 EST 2004


Not specifically. Can you send me the evthandler.cpp change and your 
sample so I can take a look?

Nick

Zach Dennis wrote:

> Nick wrote:
>
>>
>>
>>>
>>> Wx::Grid responds to some of the generic Events like evt_key_down. 
>>> When you say "address" this, are you going to create a Grid Event 
>>> class and wrap the events with that class?
>>
>>
>>
>>
>> Yes, but it will have to wait for now. We're trying to get wxruby 0.6 
>> released, despite two of the developers buried in work and my linux 
>> box kernel panic-ing on boot.
>>
>
> I downloaded the cvs wxruby source (not swig) and wrote in the grid 
> events. I've got everything compiling fine, but for example the 
> EVT_GRID_CELL_LEFT_CLICK events fires when I left click on a cell, but 
> when it does I get a error and application quits:
>
> splitterWindow.rb:46:in `main_loop': wrong argument type false 
> (expected Class)
> (TypeError)
>         from splitterWindow.rb:46:in `on_init'
>         from splitterWindow.rb:50:in `initialize'
>         from splitterWindow.rb:50:in `new'
>         from splitterWindow.rb:50
>
>
> Nick,Curt,Kevin....any ideas? Have you seen this type of error before?
>
> I'm running:
> - ruby 1.8.2
> - windows 2000
> - latest cvs pull of wxruby
> - msvc++ 6
>
> Thanks,
>
> Zach
>
>
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
>
>



More information about the wxruby-users mailing list