[wxruby-users] how do i refresh a window

Alex Fenton alex at pressure.to
Thu Dec 11 15:17:24 EST 2008


Omar Hernandez wrote:
>
> I'm attaching a minimal example. The problems I found in my computer 
> (windows)are:
>   

Pages within Notebooks must be children of the Notebook. So everywhere 
you have Panel.new(self) you should have Panel.new(@book). With that 
changed, and adding some labels to the notebook tabs, things look to be 
working fine.

I've only tested on OS X but I'd be pretty sure that having the wrong 
parent would explain problems like:

> - The line is not drawn.
> - In report>person menu, If you select the combo, it errases a part of 
> the grid (the part that was covered by the options)
> - In configuration> states menu, the TextCtrl has no borders.
> - When i minimize, restore, or cover the window with another window (the 
> console window for example)the painting goes crazy, sometimes it 
> dissapears, or the borders (when they had appeared) dissapear again.
>   

hth
a


More information about the wxruby-users mailing list