wince port, glcanvas position not changing
Selçuk Cihan
selcukcihan at gmail.com
Wed Feb 13 07:12:43 PST 2008
I have identified the source of positioning problem. I was using
following code piece:
m_glDisplay=eglGetDisplay(EGL_DEFAULT_DISPLAY);
and EGL_DEFAULT_DISPLAY is a macro which reads GetDC(0)
I modified the code so it now uses the correct DC:
m_glDisplay=eglGetDisplay((HDC) win->GetHDC());
However, EVT_PAINT triggering issue is not resolved. But i am not sure
if it is a problem, since i have not observed any unexpected behaviour
yet.
More information about the wx-users
mailing list