1
Using Code::Blocks / Re: crash when I try to open a wxsmith file under C::B against wx 3.3.1
« Last post by gd_on on Today at 07:49:43 pm »Not extensivety tested, but it looks OK : wxs files are opened without crash.
Thanks
Thanks
The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
wxString wxsMyColourPropertyClass::ValueToString( wxVariant& value, int argFlags ) const
You can try something like this (untested):Code#if wxCHECK_VERSION(3, 3, 0)
VALUE.m_colour = wxColour(_T("rgb")+Id->GetValueAsString(wxPGPropValFormatFlags::Null));
#else
VALUE.m_colour = wxColour(_T("rgb")+Id->GetValueAsString());
#endif

I think I have the same problem.Hi, thanks for the test. I just looked at the crash report file, and it is the same crash call stack as mine.
I tried your patch in wxscolourproperty.cpp, but no difference. Still a crash when I try to open a wxsmith old file. I obtain an rpt file if this can help.
Before the crash, I can see that a new tab is open in the editor, but it has a name like Untitled0.
You can try something like this (untested):Code#if wxCHECK_VERSION(3, 3, 0)
VALUE.m_colour = wxColour(_T("rgb")+Id->GetValueAsString(wxPGPropValFormatFlags::Null));
#else
VALUE.m_colour = wxColour(_T("rgb")+Id->GetValueAsString());
#endif