]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.h
Open files in binary mode to convert DOS to Unix
[wxWidgets.git] / samples / grid / griddemo.h
index 3fa91e0ce50ac126c9af37db574de78235b4449f..b10c0b0956a33f25b35337ff3915e4474b3051f5 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        griddemo.h
-// Purpose:     Grid control wxWindows sample
+// Purpose:     Grid control wxWidgets sample
 // Author:      Michael Bedward
 // Modified by:
 // RCS-ID:      $Id$
 #ifndef griddemo_h
 #define griddemo_h
 
-#if !defined(wxUSE_NEW_GRID) || !(wxUSE_NEW_GRID)
-    #error "This sample requires the new wxGrid class."
-#endif
-
 class wxGrid;
 
 class GridApp : public wxApp
@@ -189,7 +185,7 @@ public:
     }
 
     void SetValue( int , int , const wxString&  ) { /* ignore */ }
-    bool IsEmptyCell( int , int  ) { return FALSE; }
+    bool IsEmptyCell( int , int  ) { return false; }
 
 private:
     long m_sizeGrid;