tbleicher / pyrat

Automatically exported from code.google.com/p/pyrat
Other
2 stars 0 forks source link

wxfalsecolor - "pure virtual method called" exception #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open wxfalsecolor with image (cmd line)
2. close window immediately

What is the expected output? What do you see instead?
application closing without fuzz.
Instead an error message appears ("runtime error R6025" on Windows)

Please use labels and text to provide additional information.
Introduced by zoom display in SplitStatusBar in r41(?)

Original issue reported on code.google.com by tbleic...@gmail.com on 4 Feb 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Issue was caused the SetStatusText() method of the status bar was called for 
the second field (zoom).

Workaround: Instead of setting the second field directly we create a StaticText 
and display it on top of the second field. The StaticText label can be updated 
without problems. 

Original comment by tbleic...@gmail.com on 4 Feb 2011 at 7:57