]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bitmap.cpp
[wxTLW-GTK] Don't connect to the configure_event twice. This caused double wxMoveEven...
[wxWidgets.git] / src / gtk / bitmap.cpp
index 6bbf68cd474ad612e61e121f3db68c013a0a7e54..88230c8a35ce94785cf16e954c5cdae29b9b2574 100644 (file)
@@ -474,7 +474,7 @@ wxBitmap wxBitmap::Rescale( int clipx, int clipy, int clipwidth, int clipheight,
                     if (!pixval)
                     {
                         char bit=1;
-                        char shift = bit << w % 8;
+                        char shift = bit << (w % 8);
                         outbyte |= shift;
                     }
 
@@ -537,7 +537,7 @@ wxBitmap wxBitmap::Rescale( int clipx, int clipy, int clipwidth, int clipheight,
                     if (pixval)
                     {
                         char bit=1;
-                        char shift = bit << w % 8;
+                        char shift = bit << (w % 8);
                         outbyte |= shift;
                     }