]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
[SF#851487] wxDb::Catalog() function was attempting to determine if the table that...
[wxWidgets.git] / src / generic / treectlg.cpp
index 82f3061c0f95d2931998065f5fee8bc0d4cf8d45..0f64511b4c8b7920bba4955452228b314bbe561a 100644 (file)
@@ -3452,7 +3452,11 @@ void wxGenericTreeCtrl::OnGetToolTip( wxTreeEvent &event )
 
 //static
 wxVisualAttributes
+#if _USE_VISATTR
 wxGenericTreeCtrl::GetClassDefaultAttributes(wxWindowVariant variant)
+#else
+wxGenericTreeCtrl::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+#endif
 {
 #if _USE_VISATTR
     // Use the same color scheme as wxListBox