X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925e9792d32e353233985f53a4845f154e455a58..9ad7392b6a1bcd63cce8ad7899348f49d3e82a88:/samples/xrc/custclas.cpp?ds=sidebyside diff --git a/samples/xrc/custclas.cpp b/samples/xrc/custclas.cpp index 24669047db..a356a21c04 100644 --- a/samples/xrc/custclas.cpp +++ b/samples/xrc/custclas.cpp @@ -143,7 +143,7 @@ void MyResizableListCtrl::SetColumnWidths() // Subtract width of other columns, scrollbar, and some padding leftmostColumnWidth -= GetColumnWidth( ACTION_COLUMN ); leftmostColumnWidth -= GetColumnWidth( PRIORITY_COLUMN ); - leftmostColumnWidth -= wxSystemSettings::GetSystemMetric( wxSYS_VSCROLL_X ); + leftmostColumnWidth -= wxSystemSettings::GetMetric( wxSYS_VSCROLL_X ); leftmostColumnWidth -= 5; // Set the column width to the new value.