rev11730, Tdm510, wx28, Vista
Compilation fails in 'globals.cpp:L1201
#ifdef __WXGTK__
...
#else // __WXGTK__
double cbGetActualContentScaleFactor(wxWindow &window)
{
return window.GetContentScaleFactor();
}
#endif // __WXGTK__
because 'window.GetContentScaleFactor();' no exists with 'wx2.8.12'
compile with :
#ifdef __WXGTK__
...
#else // __WXGTK__
double cbGetActualContentScaleFactor(wxWindow &window)
{
#if wxCHECK_VERSION(3, 0, 0)
return window.GetContentScaleFactor();
#else
return 1.0;
#endif // wxCHECK_VERSION(3, 0, 0)
}
#endif // __WXGTK__