#include textfile.h out of the WX_PRECOMP section (bcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,9 +31,9 @@
|
|||||||
#include "wx/dcclient.h"
|
#include "wx/dcclient.h"
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#include "wx/textfile.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/textfile.h"
|
||||||
#include "wx/generic/grid.h"
|
#include "wx/generic/grid.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -3226,6 +3226,7 @@ void wxGrid::StringToLines( const wxString& value, wxArrayString& lines )
|
|||||||
{
|
{
|
||||||
int startPos = 0;
|
int startPos = 0;
|
||||||
int pos;
|
int pos;
|
||||||
|
wxTextFile tf;
|
||||||
wxString eol = wxTextFile::GetEOL( wxTextFileType_Unix );
|
wxString eol = wxTextFile::GetEOL( wxTextFileType_Unix );
|
||||||
wxString tVal = wxTextFile::Translate( value, wxTextFileType_Unix );
|
wxString tVal = wxTextFile::Translate( value, wxTextFileType_Unix );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user