]> git.saurik.com Git - wxWidgets.git/commit
Refactor wxKeyEvent copying code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:16 +0000 (00:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:16 +0000 (00:50 +0000)
commitdfc7216da7cf3c5bc06d19ed29ac2af419b036cd
treeed491c185e9296537cf6935ab115a3e53c7565ec
parentedf5822ace25ff6283b05e587116e49e50b77464
Refactor wxKeyEvent copying code.

Avoid duplication between copy ctor and assignment operator.

Also extract the assignment of everything not including the event type in a
reusable function as this can be useful for key event generation code in wxGTK
and possibly other ports.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/event.h
src/common/event.cpp