CVS: [JS] wxWindows/src/richtext richtexthtml.cpp,1.10,1.11

ABX abx at abx.art.pl
Thu Oct 26 02:53:53 PDT 2006


anonymous at sunsite.dk :
> Log Message:
> Added a cast
>-            wxString tempFilename(wxString::Format(wxT("%s/image%d.%s"), tempDir, sm_fileCounter, (const wxChar*) ext));
>+            wxString tempFilename(wxString::Format(wxT("%s/image%d.%s"), (const wxChar*) tempDir, sm_fileCounter, (const wxChar*) ext));

Out of curiosity, do we have some guidelines that we prefer cast over
wxString::c_str() or vice versa? I ask just to have sources nicely consitent
in style.

ABX




More information about the wx-dev mailing list