#pragma implementation "control.h"
#endif
+#include "wx/defs.h"
+
#include "wx/control.h"
#include "wx/panel.h"
#include "wx/app.h"
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);
}
}
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);
}