]> git.saurik.com Git - wxWidgets.git/commit
Don't use implicit wxBitmapRefData copy ctor in wxGTK code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Dec 2010 18:43:32 +0000 (18:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Dec 2010 18:43:32 +0000 (18:43 +0000)
commitfc684792c6b050fbfeabbea92e302bc3469d7489
tree9c362e2a05487b4f9a1c008450666e499c5bed66
parent51bf928d02b8cbf8d7f343daead32c8df1550cdc
Don't use implicit wxBitmapRefData copy ctor in wxGTK code.

wxBitmapRefData didn't have a proper copy ctor but the code in wxGTK wxBitmap
implementation used it nevertheless and then manually patched the newly copied
object to avoid double pointer deletion and other unpleasantness.

Make the code more obviously correct by not using (nor providing) copy ctor at
all. There are no real changes otherwise.

See #12768.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/bitmap.cpp