git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ virtual wxEvent *Clone() const { return new wxGridEvent(*this); }
+
protected:
int m_row;
int m_col;
protected:
int m_row;
int m_col;
bool m_shift;
bool m_alt;
bool m_shift;
bool m_alt;
- DECLARE_DYNAMIC_CLASS_NO_COPY(wxGridEvent)
+ DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxGridEvent)
};
class WXDLLIMPEXP_ADV wxGridSizeEvent : public wxNotifyEvent
};
class WXDLLIMPEXP_ADV wxGridSizeEvent : public wxNotifyEvent
return ControlDown();
#endif
}
return ControlDown();
#endif
}
+
+ virtual wxEvent *Clone() const { return new wxGridSizeEvent(*this); }
protected:
int m_rowOrCol;
protected:
int m_rowOrCol;
bool m_shift;
bool m_alt;
bool m_shift;
bool m_alt;
- DECLARE_DYNAMIC_CLASS_NO_COPY(wxGridSizeEvent)
+ DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxGridSizeEvent)
return ControlDown();
#endif
}
return ControlDown();
#endif
}
+
+ virtual wxEvent *Clone() const { return new wxGridRangeSelectEvent(*this); }
protected:
wxGridCellCoords m_topLeft;
protected:
wxGridCellCoords m_topLeft;
bool m_shift;
bool m_alt;
bool m_shift;
bool m_alt;
- DECLARE_DYNAMIC_CLASS_NO_COPY(wxGridRangeSelectEvent)
+ DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxGridRangeSelectEvent)
void SetRow(int row) { m_row = row; }
void SetCol(int col) { m_col = col; }
void SetControl(wxControl* ctrl) { m_ctrl = ctrl; }
void SetRow(int row) { m_row = row; }
void SetCol(int col) { m_col = col; }
void SetControl(wxControl* ctrl) { m_ctrl = ctrl; }
+
+ virtual wxEvent *Clone() const { return new wxGridEditorCreatedEvent(*this); }
private:
int m_row;
int m_col;
wxControl* m_ctrl;
private:
int m_row;
int m_col;
wxControl* m_ctrl;
- DECLARE_DYNAMIC_CLASS(wxGridEditorCreatedEvent)
- DECLARE_NO_COPY_CLASS(wxGridEditorCreatedEvent)
+ DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxGridEditorCreatedEvent)