Get the initialization order right.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7ac4c27aa6
commit
e00865fab6
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user