]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed unused variable warning
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Thu, 6 May 2004 23:47:14 +0000 (23:47 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Thu, 6 May 2004 23:47:14 +0000 (23:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index 82f3061c0f95d2931998065f5fee8bc0d4cf8d45..0f64511b4c8b7920bba4955452228b314bbe561a 100644 (file)
@@ -3452,7 +3452,11 @@ void wxGenericTreeCtrl::OnGetToolTip( wxTreeEvent &event )
 
 //static
 wxVisualAttributes
 
 //static
 wxVisualAttributes
+#if _USE_VISATTR
 wxGenericTreeCtrl::GetClassDefaultAttributes(wxWindowVariant variant)
 wxGenericTreeCtrl::GetClassDefaultAttributes(wxWindowVariant variant)
+#else
+wxGenericTreeCtrl::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+#endif
 {
 #if _USE_VISATTR
     // Use the same color scheme as wxListBox
 {
 #if _USE_VISATTR
     // Use the same color scheme as wxListBox