virtual wxEvent* Clone() const { return new wxDynamicSashReparentEvent(*this); }
- DECLARE_DYNAMIC_CLASS(wxDynamicSashReparentEvent);
+ DECLARE_DYNAMIC_CLASS(wxDynamicSashReparentEvent)
};
}
void wxDynamicSashWindowLeaf::OnFocus(wxFocusEvent &event) {
- if (event.m_eventObject == m_hscroll || event.m_eventObject == m_vscroll) {
+ if (event.GetEventObject() == m_hscroll || event.GetEventObject() == m_vscroll) {
m_child->SetFocus();
}
}