X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e32352cf6600deac48d15fe1ca2ba74f3352922c..444cb676b239bd5d87c645c21c800053271cc348:/include/wx/generic/grid.h diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 580c6de8a3..5f707fb54b 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -1367,8 +1367,8 @@ public: int GetScrollPosX() { return 0; } int GetScrollPosY() { return 0; } - void SetScrollX( int x ) { } - void SetScrollY( int y ) { } + void SetScrollX( int WXUNUSED(x) ) { } + void SetScrollY( int WXUNUSED(y) ) { } void SetColumnWidth( int col, int width ) { SetColSize( col, width ); } @@ -1470,7 +1470,7 @@ public: void SetEditable( bool edit = TRUE ) { EnableEditing( edit ); } bool GetEditInPlace() { return IsCellEditControlEnabled(); } - void SetEditInPlace(bool edit = TRUE) { } + void SetEditInPlace(bool WXUNUSED(edit) = TRUE) { } void SetCellAlignment( int align, int row, int col) { SetCellAlignment(row, col, align, wxCENTER); } @@ -1478,7 +1478,7 @@ public: void SetCellBitmap(wxBitmap *WXUNUSED(bitmap), int WXUNUSED(row), int WXUNUSED(col)) { } void SetDividerPen(const wxPen& WXUNUSED(pen)) { } - wxPen& GetDividerPen() const { return wxNullPen; } + wxPen& GetDividerPen() const; void OnActivate(bool WXUNUSED(active)) {} // ******** End of compatibility functions **********