Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
This method, defined in wxscolourproperty.cpp:152
Code
    wxString wxsMyColourPropertyClass::ValueToString( wxVariant& value,  int argFlags ) const
does not override in wx >= 3.3.0 because the second parameter is no longer an integer, see the documentation.

EDIT: Adding "override" to the declaration would have uncovered this long ago.
62
It looks like the C::B try to read some string values to "reconstruct" the prop grid when reading the wxs file.

But the "string value" maybe empty or not correct, so wx just report the assert.

My guess is that the issue is inside the wxWidgets' library code, not in the C::B's source code.
63
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 just apply this patch, and I see the result C::B still crashed when I open a wxsmith file. :(
64
I think I have the same problem.
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.
Hi, thanks for the test. I just looked at the crash report file, and it is the same crash call stack as mine.
65
I think I have the same problem.
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 opened in the editor, but it has a name like Untitled0.
66
Contributions to C::B / Re: Patch for update.bat
« Last post by Miguel Gimenez on January 26, 2026, 11:04:19 am »
Profile spammer reported to moderator.
67
Contributions to C::B / Re: Patch for update.bat
« Last post by jadongreen on January 26, 2026, 10:44:28 am »
I tried the suggested change on my system as well, and after replacing the original strip commands the build completed without errors.
Thanks!
68
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

Thanks, let me try it as soon as possible.

The strange thing is the assert cause crash if the C::B is running without debugger. Under GDB debugger, it just pop out the warning message, so I can click the "continue" to skip the warning.
69
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
70
I can't find a clean way to fix this assert issue.

My guess is that the issue is inside the "class wxsMyColourPropertyClass : public wxEnumProperty", but I don't know how to fix it.
Pages: 1 2 3 4 5 6 [7] 8 9 10