Similar Threads:
1.Re[2]: Bug in wxString::find_last_not_of()?
[please set your word wrap to 75 or less, thank you]
On Mon, 14 Jul 2003 15:10:44 +0200 Anders Sandvig < XXXX@XXXXX.COM > wrote:
AS> > No, you should look at the code, not in the header. The comment is
AS> >incorrect, but the code seems to be ok, at least for default value of the
AS> >second argument (I'm unsure at the moment of what it is supposed to do for
AS> >non default value but I think it doesn't handle it correctly, I seem to
AS> >have misread the standard...).
AS>
AS> Does it really matter? I converted the function as directly as I could
AS> and it behaves differently on wxString than on std::string, if wxString
AS> has the same functionality as std::string they should give the same
AS> result, shouldn't they?
They should, of course, but so far I don't understand why they don't. This
is why I had asked for more details about what wxString code did.
Regards,
VZ
---------------------------------------------------------------------
To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM
2.Re[3]: Bug in wxString::find_last_not_of()?
Hello all,
AFAIK not only wxString::find_last_of() is broken. As I experienced a
few month ago - while comparing the results of wxString with those of
std::string - 'rfind()', 'find_first_not_of()' as well as
'find_last_not_of()' are broken, too. I would like to fix the bugs but
currently I have no spare time to do so.
Regards,
--
Dr. Norbert Berzen Tel.: +49 241 80-95292
Geodaet. Institut, RWTH Aachen Fax.: +49 241 80-92142
Templergraben 55, 52062 Aachen E-Mail: XXXX@XXXXX.COM
---------------------------------------------------------------------
To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM
3.Bug in wxString::find_last_not_of()?
4.wxStringBuffer gets error C2248: 'wxString::wxString' : cannot access private member declared in class 'wxString'
Hello
supposed to work? this is VC6.0:
wxStringBuffer sb(buf,2);
if (file_data.Read(sb != 2)) {
This gets compiler error
xString::wxString' : cannot access private member declared in class
'wxString'
pointing to the Read line.
Using 2.4.2 in VC6.0 winXP
based on wxStringBuffer example code.
Thanks
Todd.
5.Bug in wxString::ToULong ?
Hello all,
with wxwidgets 2.6.1 (Linux/gtk, compiled with --enable-unicode
--with-odbc --with-gnome-print), when I do for example:
unsigned long min;
if (saisie_min->GetValue().ToULong(&min)) {
If the TextControl contains a negative value, ToUlong returns "true" and
min contains 4294966296 (2^32) or 4294967295, whatever negative value...
Is it me or not ?
Thanks.
Eric.
PS: I have the same with:
unsigned long min;
wxString wxs (wxT("-1"));
if (wxs.ToULong(&min)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM
6. wxString& name2 = (wxString&) name
7. wxString unicode. What set char array to wxString
8. wxString(const char* psz, size t nLength wxSTRING MAXLEN)