Drawing graphics into a window on Linux failure
Robert Roebling
robert at roebling.de
Fri Jun 1 00:26:09 PDT 2007
David Mathews wrote:
> I have an app that uses Blit from OnPaint to redraw a window.
> To trigger the OnPaint, I use -
>
> window->Refresh(false);
> window->Update();
>
> On Windows I add before the above-
> window-SetFocus();
> ThisApp->Yield(false);
>
> This combo works on both Mac and Windows, but fails, with or without
> the windows code, on Linux (Ubuntu).
> Window never gets drawn.
Do you receive a paint event at all? Which version of wxWidgets?
Robert
More information about the wx-users
mailing list