Hi Mario,

I just had a bash at merging your changes but have found the error:


/home/robert/OpenSceneGraph/examples/osgviewerWX/osgviewerWX.cpp: In
member function 'int GraphicsWindowWX::adaptKey(wxKeyEvent&)':
/home/robert/OpenSceneGraph/examples/osgviewerWX/osgviewerWX.cpp:182:
error: 'class wxKeyEvent' has no member named 'GetModifiers'
/home/robert/OpenSceneGraph/examples/osgviewerWX/osgviewerWX.cpp:183:
error: 'wxMOD_SHIFT' was not declared in this scope
/home/robert/OpenSceneGraph/examples/osgviewerWX/osgviewerWX.cpp:191:
error: 'wxMOD_CONTROL' was not declared in this scope
make[2]: *** 
[examples/osgviewerWX/CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o]
Error 1
make[1]: *** [examples/osgviewerWX/CMakeFiles/example_osgviewerWX.dir/all]
Error 2


I have WxWidgets 2.6 installed so can only assume that these are part
of 2.8.  If we do merge your changes they will need to have two paths
for the different versions of WxWdigets.  Could you make these changes
and resubmit,

Cheers,
Robert.

On Oct 18, 2007 11:32 AM, Mario Valle <[EMAIL PROTECTED]> wrote:
> A small change to make OsgviewerWX accepts the correct keypress honoring 
> Shift, control
> and caps lock. Without this change pushing 's' was the same that pushing 'S' 
> and so no on
> screen statistics where visualized.
>
> Also the GraphicsWindowWX attributes list has been null terminated as per:
> http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvas
>
> Ciao!
>                 mario
>
>
> P.S.: sorry, was sending it to the wrong address...
>
> --
> Ing. Mario Valle
> Visualization Group                              | http://www.cscs.ch/~mvalle
> Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
> v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to