[wxpython-mac] Where is this "Debug" message coming from?
Robin Dunn
robin at alldunn.com
Fri May 16 19:50:01 PDT 2008
John Jackson wrote:
> It's in
>
> bool wxColourBase::FromString(const wxChar *str)
>
> in src/common/colourcmn.cpp in the wx source. (Always handy to have the
> source around to find these things.)
>
> It's hitting
>
> wxLogDebug(wxT("wxColour::Set - couldn't set to colour string
> '%s'"), str);
> return false;
>
> Somewhere you are setting a color name of 'None' and trying to get the
> color from that string.
>
Or the None object is passed (or True or False) and the value is getting
coerced to a string by wxPython's typemaps.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-mac
mailing list