]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/grid.h
Update configuration for OpenVMS
[wxWidgets.git] / include / wx / generic / grid.h
index 1cd87af6707074ef7b339def558a99fd55f8d8e9..075bd336fdde1edf88f750e809ae06351664616b 100644 (file)
@@ -22,7 +22,7 @@
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxGridNameStr[];
+extern WXDLLIMPEXP_DATA_ADV(const char) wxGridNameStr[];
 
 // Default parameters for wxGrid
 //
@@ -913,9 +913,9 @@ public:
     // would break the existing code overriding them, so instead we provide
     // these const synonyms which can be used from const-correct code
     int GetRowsCount() const
-        { return wx_const_cast(wxGridTableBase *, this)->GetNumberRows(); }
+        { return const_cast<wxGridTableBase *>(this)->GetNumberRows(); }
     int GetColsCount() const
-        { return wx_const_cast(wxGridTableBase *, this)->GetNumberCols(); }
+        { return const_cast<wxGridTableBase *>(this)->GetNumberCols(); }
 
 
     virtual bool IsEmptyCell( int row, int col ) = 0;
@@ -2326,8 +2326,8 @@ public:
         SetEventObject(obj);
     }
 
-    // explicitly specifying inline allows gcc < 3.4 to 
-    // handle the deprecation attribute even in the constructor. 
+    // explicitly specifying inline allows gcc < 3.4 to
+    // handle the deprecation attribute even in the constructor.
     wxDEPRECATED( inline
     wxGridEvent(int id,
                 wxEventType type,