]> git.saurik.com Git - wxWidgets.git/commitdiff
revert unintended checkin of experimental change to Rescale()
authorPaul Cornett <paulcor@bullseye.com>
Thu, 10 Aug 2006 18:41:12 +0000 (18:41 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 10 Aug 2006 18:41:12 +0000 (18:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/bitmap.cpp

index 69dd07e4284a11c7080f73b8726ece88b137717a..36dd9a14327b092e77e1aa644522c07f4c01eb45 100644 (file)
@@ -444,7 +444,7 @@ wxBitmap wxBitmap::Rescale( int clipx, int clipy, int clipwidth, int clipheight,
 
                 if ( dst )
                 {
-                    if (pixval)
+                    if (!pixval)
                     {
                         char bit=1;
                         char shift = bit << (w % 8);