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:
@@ -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
|
||||
|
Reference in New Issue
Block a user