]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/ffilestream.cpp
check that HWNDs are non-NULL before doing anything with them (part of patch 1866053)
[wxWidgets.git] / tests / streams / ffilestream.cpp
index 134830530e97893ca3b8f4e9a376bf24c033a072..9714e1cbb04f916f724717bbd3d608056b18826e 100644 (file)
@@ -7,13 +7,9 @@
 // Licence:     wxWidgets licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma implementation
-    #pragma interface
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
+// and "wx/cppunit.h"
+#include "testprec.h"
 
 #ifdef __BORLANDC__
     #pragma hdrstop
@@ -24,7 +20,6 @@
     #include "wx/wx.h"
 #endif
 
-#include "wx/cppunit.h"
 #include "wx/wfstream.h"
 
 #include "bstream.h"
@@ -52,6 +47,7 @@ public:
         CPPUNIT_TEST(Input_Read);
         CPPUNIT_TEST(Input_Eof);
         CPPUNIT_TEST(Input_LastRead);
+        CPPUNIT_TEST(Input_CanRead);
         CPPUNIT_TEST(Input_SeekI);
         CPPUNIT_TEST(Input_TellI);
         CPPUNIT_TEST(Input_Peek);