]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/custclas.cpp
allow adjusting the combo button size (patch 1489452)
[wxWidgets.git] / samples / xrc / custclas.cpp
index 24669047db1ac178272b4e2236a5d9ecb31da3f1..fe67c6a7f54b2354b3c33683a942307f9db00485 100644 (file)
@@ -7,14 +7,6 @@
 // Licence:     wxWindows licence
 //-----------------------------------------------------------------------------
 
-//-----------------------------------------------------------------------------
-// GCC implementation
-//-----------------------------------------------------------------------------
-
-#ifdef __GNUG__
-    #pragma implementation "custclas.h"
-#endif
-
 //-----------------------------------------------------------------------------
 // Standard wxWidgets headers
 //-----------------------------------------------------------------------------
@@ -143,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.