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:
@@ -3906,6 +3906,10 @@ wxGrid::~wxGrid()
|
||||
// be removed as well as the #else cases below.
|
||||
#define _USE_VISATTR 0
|
||||
|
||||
#if _USE_VISATTR
|
||||
#include "wx/listbox.h"
|
||||
#endif
|
||||
|
||||
void wxGrid::Create()
|
||||
{
|
||||
m_created = FALSE; // set to TRUE by CreateGrid
|
||||
|
@@ -5250,7 +5250,9 @@ bool wxGenericListCtrl::SetFont( const wxFont &font )
|
||||
|
||||
|
||||
|
||||
#if _USE_VISATTR
|
||||
#include "wx/listbox.h"
|
||||
#endif
|
||||
|
||||
//static
|
||||
wxVisualAttributes
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user