corrected for compilation under Mac OS X with -cpp-precomp option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -514,7 +514,8 @@ void wxControl::DoSetSize(int x, int y,
|
||||
|
||||
MacRepositionScrollBars() ;
|
||||
// To consider -> should the parameters be the effective or the virtual coordinates (AdjustForParent..)
|
||||
wxMoveEvent event(wxPoint(m_x, m_y), m_windowId);
|
||||
wxPoint point(m_x, m_y);
|
||||
wxMoveEvent event(point, m_windowId);
|
||||
event.SetEventObject(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
@@ -534,7 +535,8 @@ void wxControl::DoSetSize(int x, int y,
|
||||
}
|
||||
|
||||
MacRepositionScrollBars() ;
|
||||
wxSizeEvent event(wxSize(m_width, m_height), m_windowId);
|
||||
wxSize size(m_width, m_height);
|
||||
wxSizeEvent event(size, m_windowId);
|
||||
event.SetEventObject(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user