]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/mbconv/main.cpp
fixed broken filetype filters in file dialogs
[wxWidgets.git] / tests / mbconv / main.cpp
index 38b9af29a0a6805bb59081b3e69b08a9a5d33076..5eb0ecf30fd83b9dace89bebbb34a44b425619e8 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#include "wx/wx.h"
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+    #include "wx/wx.h"
+#endif // WX_PRECOMP
+
 #include "wx/strconv.h"
 #include "wx/string.h"
 
@@ -33,7 +42,7 @@ private:
 
     void WC2CP1250();
 
-    DECLARE_NO_COPY_CLASS(MBConvTestCase);
+    DECLARE_NO_COPY_CLASS(MBConvTestCase)
 };
 
 // register in the unnamed registry so that these tests are run by default
@@ -64,7 +73,7 @@ void MBConvTestCase::WC2CP1250()
         }
         else
         {
-            CPPUNIT_ASSERT( cs1250.cWC2MB(d.wc) == NULL );
+            CPPUNIT_ASSERT( (const char*)cs1250.cWC2MB(d.wc) == NULL );
         }
     }
 }