]> git.saurik.com Git - wxWidgets.git/commit
Don't make full copy of string in wxThreadEvent::Clone().
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 19 Jan 2010 13:01:33 +0000 (13:01 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 19 Jan 2010 13:01:33 +0000 (13:01 +0000)
commitf8a7dd5f4162313d76ae2e2df46740f3a9e49071
treef3d13a6f8071b24aa5ef683243b286d9b13d8ee5
parent477618ea0cd71cbe8781e8d5823b3546eabd0d1a
Don't make full copy of string in wxThreadEvent::Clone().

It's enough to do it once to ensure thread-safety. Doing it twice (once
in copy ctor called by Clone(), once in Clone() itself) only wastes
time.

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