Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
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?
2
Nightly builds / Re: The 06 December 2025 build (13761) is out.
« Last post by ChosenName on Today at 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.
4
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.
5
Help / Re: code::blocks hangs at startup
« Last post by killerbot on Yesterday at 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 ?
6
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.
7
So, this should be handled inside the wxWidgets' code? Not in our C::B's code base?
8
Development / wxSmith : add option for Create function in inhereited cases
« Last post by LR83 on Yesterday at 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) ?
9
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));
10
It crashed in the return statement:

Code
#if WXWIN_COMPATIBILITY_3_2
    mutable bool m_oldGetValueAsString = false;
    wxString GetValueAsStringWithCheck(wxPGPropValFormatFlags flags = wxPGPropValFormatFlags::Null) const;
    wxDEPRECATED_BUT_USED_INTERNALLY_MSG("use GetValueAsString with 'flags' argument as wxPGPropValFormatFlags")
    virtual wxString GetValueAsString(int flags) const
    {
        m_oldGetValueAsString = true;
        return GetValueAsString(static_cast<wxPGPropValFormatFlags>(flags));
    }

In the F:\code\wxWidgets-3.3.1\include\wx\propgrid\property.h file.

I try to use an old C::B which is built against wx 3.2.x, and I don't see the crash.
Pages: [1] 2 3 4 5 6 ... 10