Drawing graphics into a window on Linux failure
David Mathews
grnbriar at mindspring.com
Fri Jun 1 12:07:46 PDT 2007
I'm using wxWidgets 2.8.0.
Yes, I get all the paint events.
I've tried using the DC from the Paint event (works on Windows and
Mac) and the DC from the window (works only on Windows).
After the blit the window is always still blank. It shows highlighted
as the currently selected window.
Is there a follow up command needed on Linux to force the display?
David
On Jun 1, 2007, at 3:26 AM, Robert Roebling wrote:
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list