]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Removed fstream include which seemed unnecessary, and gave errors for BC++ 5.5 anyway.
[wxWidgets.git] / src / common / intl.cpp
index 6c376a95a6c505b4c88e3ec004ef6977a0dcfcd2..01d449fd5346e6f8c5686abe0feeec6d30b1c41b 100644 (file)
@@ -94,9 +94,7 @@ typedef unsigned char size_t8;
             {
                 // Asserting a sizeof directly causes some compilers to
                 // issue a "using constant in a conditional expression" warning
-                size_t intsize = sizeof(int);
-
-                wxASSERT_MSG( intsize == 4,
+                wxASSERT_MSG( wxAssertIsEqual(sizeof(int), 4),
                               "size_t32 is incorrectly defined!" );
             }
         } intsizechecker;