Avoid overflows when calculating metafile coordinates in wxMSW.
Use MulDiv() instead of naive multiplication followed by division as this could overflow, and did when large paper sizes were used in print preview. Closes #16138. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -652,6 +652,7 @@ wxMSW:
|
||||
- Fix wxExecute() keeping open too many thread handles for too long (dannchr).
|
||||
- Fix clicking on togglable columns in wxDataViewCtrl (Laurent Poujoulat).
|
||||
- Fix expander in non left-most position in wxDataViewCtrl (Laurent Poujoulat).
|
||||
- Don't fail when using large paper sizes in print preview.
|
||||
|
||||
wxOSX:
|
||||
|
||||
|
Reference in New Issue
Block a user