From: Julian Smart Date: Sun, 1 Jun 2003 20:47:50 +0000 (+0000) Subject: Get the initialization order right. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e00865fab61452296eeff203480c0a69ac31fe55 Get the initialization order right. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/event.h b/include/wx/event.h index 06a60da6cc..a5542b3588 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -937,7 +937,7 @@ public: m_size(event.m_size), m_rect(event.m_rect) { } wxSizeEvent(const wxRect& rect, int id = 0) - : m_rect(rect), m_size(rect.GetSize()) + : m_size(rect.GetSize()), m_rect(rect) { m_eventType = wxEVT_SIZING; m_id = id; } wxSize GetSize() const { return m_size; }