Closed wxtrac closed 16 years ago
Same problem happening here too, alas, with CVS from
I'm looking through the wx source to see if I can fix it, but it's quite complicated, by the look of it. Still, I'll see what I can do.
Do you know if this is still the case in wx 2.8 or 2.9?
I think this was fixed some time ago.
Issue migrated from trac ticket # 1204
component: GUI-all | priority: normal | resolution: fixed | keywords: wxFileConfig
2003-09-02 13:28:38: domi089 created the issue
If I want to delete the first group in a config file, where the first line of the file is not a free line, the following error occurs and the group will not be deleted:
../src/common/fileconf.cpp(1660): assert "!pNewLast || m_pLine == 0" failed: how comes it has the same line as we? [in child thread]
The Error occurs in 2.4.1 and also in Version 2.5 [CVS Date 1.Sep.2003]
Platform: SUN Solaris 8 Compiler: Sun WorkShop 6 update 2 C 5.3 2001/05/15
It doesn't work if the file looks like this:
[test] test1=123 test2=456
It works only if there is a freeline in the first line:
[test] test1=123 test2=456
The config file is created and filled by wxWindows fileconf