]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xpmdecod.cpp
don't set minimal column width, it should be possible to set it even to 0 if desired...
[wxWidgets.git] / src / common / xpmdecod.cpp
index ed784fb578cc9b061c69e8b9fcb3cc5aa6721a7f..fa4767ac83793975e419cb1a0a99620ee0b41b54 100644 (file)
@@ -90,10 +90,6 @@ license is as follows:
  * in this Software without prior written authorization from GROUPE BULL.
  */
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "xpmdecod.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -742,7 +738,7 @@ wxImage wxXPMDecoder::ReadData(const char **xpm_data)
      */
     if (hasMask)
     {
-        for (it = clr_tbl.begin(); it != clr_tbl.end(); it++)
+        for (it = clr_tbl.begin(); it != clr_tbl.end(); ++it)
         {
             if (it->second.R == 255 && it->second.G == 0 &&
                 it->second.B == 255 &&