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:
@@ -937,7 +937,7 @@ public:
|
|||||||
m_size(event.m_size), m_rect(event.m_rect)
|
m_size(event.m_size), m_rect(event.m_rect)
|
||||||
{ }
|
{ }
|
||||||
wxSizeEvent(const wxRect& rect, int id = 0)
|
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; }
|
{ m_eventType = wxEVT_SIZING; m_id = id; }
|
||||||
|
|
||||||
wxSize GetSize() const { return m_size; }
|
wxSize GetSize() const { return m_size; }
|
||||||
|
Reference in New Issue
Block a user