Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Development / Re: wxSmith : add option for Create function in inhereited cases
« Last post by LR83 on January 24, 2026, 05:25:13 pm »
I try to add the option.
- Add m_Create property in wxsBaseProperties
- wxsItem::GetCreatePrefix, test the m_Create property. If false, I just add '//' before the Create function. So we can always see the parameters of the Create function (may be usefull).
Work for my project but I don't know if my solution is always good.
See the corrected files in the attachment.
62
I see that the propgrid sample in the wx3.3.1 works fine. So, maybe it is still something wrong inside our C::B code base?
63
Nightly builds / Re: The 06 December 2025 build (13761) is out.
« Last post by ChosenName on January 24, 2026, 12:03:05 pm »
Whatever tool is used to create the compiler options checklist seems to fail when it encounters a mingw-w64 GCC compiler version that it does not "know", i.e.:



When the selected compiler is reverted to a compiler that the tool "knows" it does not go back to the checklist and stays with the blank tab.
65
Yes, I agree, I see the call stack is not from the wxSmith's source code.

The problem is that if I can't open a wxSmith file in C::B, and we can't fix such issue in the C::B side, I have to revert to use wx 3.2.x to build C::B. I have already switched to use wx 3.3.1 in my github action to build C::B.
66
Help / Re: code::blocks hangs at startup
« Last post by killerbot on January 23, 2026, 05:49:17 pm »
@ChrisK , @blauzahn, @Lufex, @cet_ivan, @JorgenBest : would you be able to verify, if with the latest state of the code the problem is also gone on your side ?
67
In wxSmith there is only one call to wxPGProperty::GetValueAsString(), and it has no parameters. Also, wxSmith does not appear in the stack trace, the relation with wxSmith may be that it is the only one that uses wxPropertyGrid at all.

Looks like the call is made from wxPGDefaultRenderer::Render() inside wxPropertyGrid::OnPaint() event handler.
68
So, this should be handled inside the wxWidgets' code? Not in our C::B's code base?
69
Development / wxSmith : add option for Create function in inhereited cases
« Last post by LR83 on January 23, 2026, 03:04:10 pm »
I have a problem when I want to inherit from my custom panel. wxSmith add automatically this Create function:
Code
Create(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _T("id"));
But my constructor is:
Code
myNewPanel::myNewPanel(wxWindow* parent, wxWindowID id): myPanel(parent, id)
so I need each time to comment the bad Create line.

Is it possible to add an option to prevent this line from being added automatically, such as the "Lay-out the window" option?

And another point, is it possible to add another option for the "Lay-out the window" option to have the choice beetwen SetSizeHints(this) and Fit(this) ?
70
It is not a crash, but an assertion.

This looks to me like a wxWidgets issue. At first glance, this line
Code
       return GetValueAsString(static_cast<wxPGPropValFormatFlags>(flags));
should be
Code
       return GetValueAsStringWithCheck(static_cast<wxPGPropValFormatFlags>(flags));
Pages: 1 2 3 4 5 6 [7] 8 9 10