]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.cpp
Check for validity in __repr__ and __str__
[wxWidgets.git] / samples / grid / griddemo.cpp
index 31ff32bb5c74207d5be9377478ecd4f01fd4b790..9db8fa6f9de7990ce78f1dac08d5629e657fcc09 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma implementation
     #pragma interface
 #endif
@@ -1157,7 +1157,7 @@ int BugsGridTable::GetNumberCols()
     return Col_Max;
 }
 
-bool BugsGridTable::IsEmptyCell( int row, int col )
+bool BugsGridTable::IsEmptyCell( int WXUNUSED(row), int WXUNUSED(col) )
 {
     return FALSE;
 }