# Wxruby example with more than one window

**URL:** <https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316>\
**Category:** wxRuby\
**Created:** [October 7, 2008, 8:57am UTC](https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316 "2008-10-07T08:57:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [October 7, 2008, 8:57am UTC](https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316/1 "2008-10-07T08:57:14Z")

</div>

Hello together,

can somebody send me a example with more than one window (frame) ?  
I’m using wxruby 1.9.5

I have the following problem:

- from the first window i open the second window (which contains a  
grid, with TableBase, the data comes from a ActiveRecord)
- after finishing work in the second window, i execute a close().
- opening and closing the second window several times (3 - 6), the  
following error appears:

controllers/home\_ctrl.rb:260: [BUG] Segmentation fault  
ruby 1.8.6 (2007-09-24) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual  
way.  
Please contact the application’s support team for more information.

Thanks in advance,  
Franz Irlweg

This communication and any files or attachments transmitted with it may  
contain information that is copyrighted or confidential and exempt from  
   
 disclosure under applicable law. It is intended solely for the use  
of the individual or the entity to which it is addressed.   
  
If you are not the intended recipient, you are hereby notified that any  
use, dissemination, or copying of this communication is strictly  
prohibited.   
  
If you have received this communication in error, please notify us at  
once so that we may take the appropriate action and avoid troubling you  
further.   
  
Thank you for your cooperation. Please contact your local IT staff or  
email [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid?subject=Disclaimer)  
if you need assistance.  
   
&nbsp;  
  
Siltronic AG, Sitz München, Hanns-Seidel-Platz 4, 81737  
München, Germany. Amtsgericht München HRB 150884  
   
  
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad,  
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: Rudolf  
Staudigl

---

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [October 7, 2008, 10:12am UTC](https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316/2 "2008-10-07T10:12:56Z")

</div>

Hi Franz

Irlweg, Franz (ZNT) wrote:

> following error appears:
> 
> controllers/home\_ctrl.rb:260: [BUG] Segmentation fault  
> ruby 1.8.6 (2007-09-24) [i386-mswin32]
> 
> This application has requested the Runtime to terminate it in an  
> unusual way.  
> Please contact the application’s support team for more information.

Please can you try upgrading to the latest wxRuby 1.9.8. In recent  
versions I’ve fixed several bugs which could cause the kind of crashes  
you’re describing.

If this doesn’t resolve the problem, please send in a runnable sample  
that demonstrates the issue.

cheers  
alex

---

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [October 13, 2008, 9:52am UTC](https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316/3 "2008-10-13T09:52:59Z")

</div>

Hello togheter,

I’m using the Wx::Grid, with GridTableBase. (wxruby 1.9.5 and wxruby  
1.9.8)

The GridCellBoolEditor and GridCellBoolRenderer doesn’t work. How can I  
solve the problem?

I have atached a file with an example.

Best regards,  
Franz

If you are not the intended recipient, you are hereby notified that any  
use, dissemination, or copying of this communication is strictly  
prohibited.  
If you have received this communication in error, please notify us at  
once so This communication and any files or attachments transmitted with  
it may contain information that is copyrighted or confidential and  
exempt from disclosure under applicable law. It is intended solely for  
the use of the individual or the entity to which it is addressed.  
that we may take the appropriate action and avoid troubling you further.  
Thank you for your cooperation. Please contact your local IT staff or  
email removed\_email\_address@domain.invalid if you need assistance.

Siltronic AG, Sitz Muenchen, Hanns-Seidel-Platz 4, 81737 Muenchen,  
Germany. Amtsgericht Muenchen HRB 150884  
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad,  
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: Rudolf  
Staudigl
