Don't #include the extra files unless we need them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-06 21:40:49 +00:00
parent e1d1f4bd99
commit 944b1f5e17
3 changed files with 8 additions and 0 deletions

View File

@@ -3446,7 +3446,9 @@ void wxGenericTreeCtrl::OnGetToolTip( wxTreeEvent &event )
// be removed, as well as the #else case below.
#define _USE_VISATTR 0
#if _USE_VISATTR
#include "wx/listbox.h"
#endif
//static
wxVisualAttributes