[wxruby-users] how do i refresh a window
Omar Hernandez
lists at ruby-forum.com
Thu Dec 11 14:51:28 EST 2008
Hello
well the time came when i have to fix this problem, I'll thank you for
all your help.
Mario Steele wrote:
> ... the frame should be doing it's own updates and refreshes,
> unless
> you are intercepting a evt_paint() on the frame itself.
> ...
> Unless your doing some specialized graphics, you shouldn't need to
> intercept
I'm not doing specialized graphics, or I think so.
> If you could, post an absolute minimal example of the app replicating
> this
> problem, full code, we can look at why this is occuring. Also, could
> you
I'm attaching a minimal example. The problems I found in my computer
(windows)are:
- 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.
> please state if your on Mac, Windows, or Linux?
We have tested it in two windows xp (media center and SP Professional)
computers and is the same error.
But in Mac it seems to be working fine.
If you are trying to find the error, try anything you thing on the
window (cover it, minimize, restore, etc.) so you can see what I mean
Thanks for your help.
Attachments:
http://www.ruby-forum.com/attachment/3059/badpainting.rb
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list