]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/bitmap.cpp
made IsMaximized() return true if frame had been maximized before being shown
[wxWidgets.git] / src / gtk1 / 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;
                     }