X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..a8e87569b7ea3494ef29ac9caa6cb7f219329c50:/samples/xrc/custclas.cpp?ds=sidebyside diff --git a/samples/xrc/custclas.cpp b/samples/xrc/custclas.cpp index 1582342227..fe67c6a7f5 100644 --- a/samples/xrc/custclas.cpp +++ b/samples/xrc/custclas.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "custclas.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWidgets headers //----------------------------------------------------------------------------- @@ -102,11 +94,6 @@ MyResizableListCtrl::MyResizableListCtrl( wxWindow *parent, wxWindowID id, } -MyResizableListCtrl::~MyResizableListCtrl() -{ -} - - void MyResizableListCtrl::ContextSensitiveMenu( wxMouseEvent& event ) { // Make an instance of a menu. @@ -148,7 +135,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.