From d7a7546b8ef196eb4190bd2ce5b9f5210c79c2f2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 26 Sep 2003 20:50:27 +0000 Subject: [PATCH] fixed code for swapping rect corners if out of order (bug 800180) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 3 ++- src/common/gdicmn.cpp | 16 +++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 46eeadd826..5aa3e68ec4 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -59,12 +59,12 @@ OTHER CHANGES All: +- added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell) - wxDateTime::ParseDateTime() implemented (Linus McCabe) - wxHTTP::GetResponse() added (David Nock) - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug) - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more - added wxTextInputStream::ReadChar() (M.J.Wetherell) -- several wxZlibStreams bug fixes enhancements (M.J.Wetherell) All (GUI): @@ -72,6 +72,7 @@ All (GUI): - added wxListCtrl::GetViewRect() - added wxTextCtrl::MarkDirty() - wxToolBar::ToggleTool() now works for radio buttons (Dag Ă…gren) +- bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett) wxMSW: diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 3f99e2a1a8..a525af1b0d 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -97,24 +97,26 @@ wxCUSTOM_TYPE_INFO(wxSize, wxToStringConverter , wxFromStringConverter