Compiles and runs again with new printing code (which is still broken in wxGTK).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-04-03 16:57:46 +00:00
parent d14612c662
commit 378f7b3f89
6 changed files with 74 additions and 39 deletions

View File

@@ -34,6 +34,8 @@ inline static bool IsEndOfLine(const char *p, int mode)
void wxLayoutImportText(wxLayoutList *list, wxString const &str, int withflag)
{
if(str.Length() == 0)
return;
char * cptr = (char *)str.c_str(); // string gets changed only temporarily
const char * begin = cptr;
char backup;