Fixed compilation if wxUSE_NEW_GRID and wxUSE_GRID are both set to 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2001-06-10 23:20:31 +00:00
parent 14c90e0074
commit b53dc7d661
2 changed files with 8 additions and 0 deletions

View File

@@ -19,6 +19,9 @@
#pragma hdrstop
#endif
#if wxUSE_GRID || wxUSE_NEW_GRID
#ifndef WX_PRECOMP
#include "wx/textctrl.h"
#include "wx/dc.h"
@@ -386,3 +389,4 @@ wxGridCellAutoWrapStringRenderer::GetBestSize(wxGrid& grid,
return wxSize(width,height);
}
#endif