Don't crash in wxDisplay::GetModes() in wxOSX if there are none CFArrayGetCount() can't be called on a null array, so just return an empty array if no video modes could be retrieved, but don't crash. This happens at least when connecting via RDP and the crash could be easily reproduced in the display sample.
Add wxDisplay::GetRawPPI() Return resolution corresponding to the reported display physical size. Implement the new function for wxMSW, wxGTK and wxOSX. Show it in the "display" sample if it's different from the logical one.
Document actual behaviour of wxPoint ctor from wxRealPoint The changes of 1f7a8a8 (Round, rather than truncate, in wxSize and wxPoint operations, 2018-03-06) have invalidated the documentation that had been previously added in 4c20f3d (Document that wxPoint(wxRealPoint) ctor truncates, not rounds., 2013-04-16) to document the old behaviour. Changing the behaviour once again doesn't seem to be desirable, but at least synchronize the documentation with it again. Closes #26099.
Explicitly make wxPoint copy ctor/assignment operator default Replace a comment with its restatement in code. No real changes.
Add wxPoint::Truncate() and Round() static function Provide a simpler way of creating wxPoint from wxRealPoint by truncating, instead of rounding, its coordinates.
Fix typo in OnUnhandledException() documentation The name of this function itself was mistakenly used instead of OnExceptionInMainLoop() which was meant. Closes #26101.
Add support for using LunaSVG for SVG rasterization Optionally use LunaSVG library from the new submodule instead of NanoSVG. Closes #25902.
Merge branch 'point-ctor-round-document' Document change in wxPoint(wxRealPoint) behaviour and provide alternatives. See #26100.
Merge branch 'display-raw-ppi' Add wxDisplay::GetRawPPI(). See #26082. Closes #26080.
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help