]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/custclas.cpp
Make it possible to use svn-find-native-eols script without svn checkout.
[wxWidgets.git] / samples / xrc / custclas.cpp
index 158234222749b408a45b134c1b9a96c2444bc7d5..fe67c6a7f54b2354b3c33683a942307f9db00485 100644 (file)
@@ -7,14 +7,6 @@
 // Licence:     wxWindows licence
 //-----------------------------------------------------------------------------
 
 // Licence:     wxWindows licence
 //-----------------------------------------------------------------------------
 
-//-----------------------------------------------------------------------------
-// GCC implementation
-//-----------------------------------------------------------------------------
-
-#ifdef __GNUG__
-    #pragma implementation "custclas.h"
-#endif
-
 //-----------------------------------------------------------------------------
 // Standard wxWidgets headers
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 // 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.
 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 );
     // 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.
     leftmostColumnWidth -= 5;
 
     // Set the column width to the new value.