Fix the minor version determination for libtiff which was done wrongly by
r66259 and provide a properly formatted description for Scintilla version.
See #12690.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66264
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/control.h"
#include "wx/dnd.h"
#include "wx/stopwatch.h"
+#include "wx/versioninfo.h"
#include "wx/textentry.h"
#if wxUSE_TEXTCTRL
micro;
const wxString ver(::TIFFGetVersion());
- if ( wxSscanf(ver, "LIBTIFF, Version %d.%d.%d", &major, µ, µ) != 3 )
+ if ( wxSscanf(ver, "LIBTIFF, Version %d.%d.%d", &major, &minor, µ) != 3 )
{
wxLogDebug("Unrecognized libtiff version string \"%s\"", ver);
/*static*/ wxVersionInfo wxStyledTextCtrl::GetLibraryVersionInfo()
{
- return wxVersionInfo("Scintilla", 2, 3);
+ return wxVersionInfo("Scintilla", 2, 3, 0, "Scintilla 2.03");
}
#endif // wxUSE_STC
/*static*/ wxVersionInfo wxStyledTextCtrl::GetLibraryVersionInfo()
{
- return wxVersionInfo("Scintilla", 2, 3);
+ return wxVersionInfo("Scintilla", 2, 3, 0, "Scintilla 2.03");
}
#endif // wxUSE_STC