wince port, glcanvas position not changing

Selçuk Cihan selcukcihan at gmail.com
Wed Feb 13 06:08:23 PST 2008


On Feb 13, 2008 12:51 AM, Vadim Zeitlin <vadim at wxwidgets.org> wrote:
> SC> Lastly, i have noticed a difference in the execution of my application
> SC> for mobile and for desktop. In desktop, when i call Update() on
> SC> TestGLCanvas::OnSize event, the execution reaches
> SC> TestGLCanvas::OnPaint event. However; on windows mobile, when Update()
> SC> is called, TestGLCanvas::OnPaint event is not triggered.
>
>  Does this problem happen only for wxGLCanvas or for other windows too?

It happens for other windows too. I have tried it with a custom window
derived from wxWindow class. In desktop version, it works perfectly
and EVT_PAINT event is triggered; however, on mobile EVT_PAINT is not
triggered.

In wxWindowMSW::Update() function, UpdateWindow(hwnd) is called, and
both on mobile windows and on XP it does not return error. EVT_PAINT
is triggered after the call to UpdateWindow.




More information about the wx-users mailing list