Add wxmsw26_gl.lib to include\msvc\wx\setup.h

Ivan Kolev ikolev at abac.com
Tue Oct 3 06:05:20 PDT 2006


Hi,

(Not sure if this message is more appropriate in wx-dev or wx-users, wx-dev seemed better to me)

I have a suggestion to include the following lines
    #if wxUSE_GLCANVAS
        #pragma comment(lib,"wxmsw26_gl")
    #endif
(and similar for the other 3 combinations depending on _UNICODE and _DEBUG)
to the file include\msvc\wx\setup.h, as this has already been done for wxUSE_XML, wxUSE_LIBJPEG, etc.

This allows to avoid specifying wxmsw26_gl.lib explicitly in the Additional Dependencies in Visual Studio.

Best Regards,
Ivan





More information about the wx-dev mailing list