[ 1695450 ] wxDb::GetColumns lacks the last element NULL assignment
Igor Korot
ikorot at earthlink.net
Sat Apr 7 00:29:40 PDT 2007
Hi, ALL,
I recently posted this bug as trivial, however it looks like
there is no trivial fix.
Trying this:
colInf[noCols] = NULL;
gives following error on MSVC:
C:\wxMSW-2.8.1\wxWidgets-2.8.1\src\common\db.cpp(2701) : error C2679: binary '=' :
no operator defined which takes a right-hand operand of type 'const int' (or there
is no acceptable conversion)
The same error is given, when I try to use 0 instead of NULL.
Maybe someone can help me fix it?
Or I could try to re-write it usng the wxArray class, which would be very easy...
Thank you.
More information about the wx-dev
mailing list