]> git.saurik.com Git - wxWidgets.git/commit
cleanup of raw access to bitmaps:
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jul 2007 13:32:25 +0000 (13:32 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jul 2007 13:32:25 +0000 (13:32 +0000)
commit650c0aa9180563eece310851973171cfaac83ad8
tree0f122f21326c4c44d365a3ce9e55a13432219acb
parenta596eeb93f525c64d374f49e5986c57d1ea124a7
cleanup of raw access to bitmaps:
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/cocoa/bitmap.h
include/wx/gtk/bitmap.h
include/wx/gtk1/bitmap.h
include/wx/palmos/bitmap.h
include/wx/rawbmp.h
samples/image/image.cpp
src/cocoa/bitmap.mm
src/gtk/bitmap.cpp
src/gtk1/bitmap.cpp
src/palmos/bitmap.cpp