-void wxKeyEvent::CopyObject(wxObject& obj_d) const
-{
- wxKeyEvent *obj = (wxKeyEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_x = m_x;
- obj->m_y = m_y;
- obj->m_keyCode = m_keyCode;
-
- obj->m_shiftDown = m_shiftDown;
- obj->m_controlDown = m_controlDown;
- obj->m_metaDown = m_metaDown;
- obj->m_altDown = m_altDown;
- obj->m_keyCode = m_keyCode;
-}
-
-
-/*
- * Misc events
- */
-
-void wxSizeEvent::CopyObject(wxObject& obj_d) const
-{
- wxSizeEvent *obj = (wxSizeEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_size = m_size;
-}
-
-void wxMoveEvent::CopyObject(wxObject& obj_d) const
-{
- wxMoveEvent *obj = (wxMoveEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_pos = m_pos;
-}
-
-void wxEraseEvent::CopyObject(wxObject& obj_d) const
-{
- wxEraseEvent *obj = (wxEraseEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_dc = m_dc;
-}
-
-void wxActivateEvent::CopyObject(wxObject& obj_d) const
-{
- wxActivateEvent *obj = (wxActivateEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_active = m_active;
-}
-
-void wxMenuEvent::CopyObject(wxObject& obj_d) const
-{
- wxMenuEvent *obj = (wxMenuEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_menuId = m_menuId;
-}
-
-void wxCloseEvent::CopyObject(wxObject& obj_d) const
-{
- wxCloseEvent *obj = (wxCloseEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_loggingOff = m_loggingOff;
- obj->m_veto = m_veto;
-#if WXWIN_COMPATIBILITY
- obj->m_force = m_force;
-#endif
- obj->m_canVeto = m_canVeto;
-}
-
-void wxShowEvent::CopyObject(wxObject& obj_d) const
-{
- wxShowEvent *obj = (wxShowEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_show = m_show;
-}
-
-void wxJoystickEvent::CopyObject(wxObject& obj_d) const
-{
- wxJoystickEvent *obj = (wxJoystickEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_pos = m_pos;
- obj->m_zPosition = m_zPosition;
- obj->m_buttonChange = m_buttonChange;
- obj->m_buttonState = m_buttonState;
- obj->m_joyStick = m_joyStick;
-}
-
-void wxDropFilesEvent::CopyObject(wxObject& obj_d) const
-{
- wxDropFilesEvent *obj = (wxDropFilesEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_noFiles = m_noFiles;
- obj->m_pos = m_pos;
- // TODO: Problem with obj->m_files. It should be deallocated by the
- // destructor of the event.
-}
-
-void wxUpdateUIEvent::CopyObject(wxObject &obj_d) const
-{
- wxUpdateUIEvent *obj = (wxUpdateUIEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_checked = m_checked;
- obj->m_enabled = m_enabled;
- obj->m_text = m_text;
- obj->m_setText = m_setText;
- obj->m_setChecked = m_setChecked;
- obj->m_setEnabled = m_setEnabled;
-}
-
-void wxPaletteChangedEvent::CopyObject(wxObject &obj_d) const
-{
- wxPaletteChangedEvent *obj = (wxPaletteChangedEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_changedWindow = m_changedWindow;
-}
-
-void wxQueryNewPaletteEvent::CopyObject(wxObject& obj_d) const
-{
- wxQueryNewPaletteEvent *obj = (wxQueryNewPaletteEvent *)&obj_d;
- wxEvent::CopyObject(obj_d);
-
- obj->m_paletteRealized = m_paletteRealized;
-}