RedrawGadget() not refreshing Panel/Window?

Archives Forums/Linux Discussion/RedrawGadget() not refreshing Panel/Window?

Grisu(Posted 2012) [#1]
Hi!

When I startup my app the main panel / window is not refreshing until I use the mouse to resize the window a bit manually.

Even calling Redrawgadget() on the panel and the window itself doesn't fix this.

See image below:


Under Windows XP / 7 the same code (out-of-the-box) runs fine.
OS: Ubuntu 12.04 LTS (32-Bit)

Any ideas?

Grisu


Grisu(Posted 2012) [#2]
Well, the problem is related to this bug report: http://www.blitzbasic.com/Community/posts.php?topic=98145

Before you create a canvas the main window has to be visible.
One can't hide the window afterwards or the app will termintated.