Highlights of wxWidgets 2 |
Please see changes.txt in the release or in the Downloads section for details about bug fixes.
In particular, please note that your .wxr dialogs may be affected by a code fix: if this is a problem for you, please set wxDIALOG_UNIT_COMPATIBILITY to 1 in include/wx/msw/setup.h.
Please note that Visual C++ users may need to adjust their project files or makefiles, because library names and locations have been rationalised. The table below shows the old and new paths for libraries made with the VC++ project files. Also, there are the new library files xpm[d].lib, zlib[d].lib, png[d].lib that were previously incorporated into the old wxWidgets library file.
Old name | New name | ||
Debug | Release | Debug | Release |
src/Debug/wxvc.lib | src/Release/wxvc.lib | lib/wxd.lib | lib/wx.lib |
src/DebugDLL/wxvc.lib | src/ReleaseDLL/wxvc.lib | lib/wxdlld.lib | lib/wxdll.lib |
src/jpeg/Debug/jpeg.lib | src/jpeg/Release/jpeg.lib | lib/jpegd.lib | lib/jpeg.lib |
src/tiff/Debug/tiff.lib | src/tiff/Release/tiff.lib | lib/tiffd.lib | lib/tiff.lib |
utils/ogl/src/Debug/ogl.lib | utils/ogl/src/Release/ogl.lib | contrib/lib/ogld.lib | contrib/lib/ogl.lib |
If you have existing VC++ project files for your wxWidgets applications, you will need to change the General: Object/Library modules field and the Input: Additional library path fields in the Link tab of the settings dialog.
The Object/Library modules field should contain "wx.lib xpm.lib png.lib zlib.lib jpeg.lib tiff.lib" (Release) or "wxd.lib xpmd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib" (Debug), in addition to the existing system libraries. The Additional library path field should now contain "c:\wx2\lib,c:\wx2\contrib\lib" (replace c:\wx2 with the location of your wxWidgets installation).
Please see the technical note Compiling wxWidgets applications in the VC++ IDE for a full description of settings for applications that use wxWidgets.