]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vscroll.h
don't crash if (char*)c_str() is used twice in a row on the same string and both...
[wxWidgets.git] / include / wx / vscroll.h
index 71679937ae941b955925f7089a7c1748b02ab2b7..f5b0a2fc5b2a94f8b250361e1f4e7511d7b8f33b 100644 (file)
@@ -621,7 +621,7 @@ protected:
     // unless the code has been updated to override OnGetRowHeight() instead,
     // this function must be overridden in the derived class and it should
     // return the height of the given row in pixels
-    virtual wxCoord OnGetLineHeight(size_t n) const
+    virtual wxCoord OnGetLineHeight(size_t WXUNUSED(n)) const
     {
         wxFAIL_MSG( _T("must be overridden if OnGetRowHeight() isn't!") );