]> git.saurik.com Git - wxWidgets.git/commit
Implement wxMask copy ctor for wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Mar 2010 23:20:49 +0000 (23:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Mar 2010 23:20:49 +0000 (23:20 +0000)
commit27297c823af2abf7351f4c7b3db7f116bdae6b00
tree537c2a2f09465e41bdb4f04df77b5a09bd150976
parent6f4968ce940cf8823954c8f1a13609258ba8712b
Implement wxMask copy ctor for wxGTK.

Without copy ctor copying masks simply crashed because the same pointer was
deleted twice.

Also added a (completely trivial but better than nothing...) unit test for
wxBitmap to check that copying masks does work now.

Closes #11854.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
13 files changed:
docs/changes.txt
include/wx/gtk/bitmap.h
src/gtk/bitmap.cpp
tests/Makefile.in
tests/makefile.bcc
tests/makefile.gcc
tests/makefile.vc
tests/makefile.wat
tests/test.bkl
tests/test_test_gui.dsp
tests/test_vc7_test_gui.vcproj
tests/test_vc8_test_gui.vcproj
tests/test_vc9_test_gui.vcproj