]> git.saurik.com Git - wxWidgets.git/commitdiff
Get the initialization order right.
authorJulian Smart <julian@anthemion.co.uk>
Sun, 1 Jun 2003 20:47:50 +0000 (20:47 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 1 Jun 2003 20:47:50 +0000 (20:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index 06a60da6cc67e92838c41eed6ec1b46b399ed0a4..a5542b35885994c4f8e58261ac2b1a773c0b7655 100644 (file)
@@ -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; }