Please, if anyone can provide some info on possible support for wxPropertyGrid in wxSmith, please share.
I found a partial solution that seems to work, at least on a basic level:
Use wxSmith to create a "Custom control", and then change some of the options:
- Set "Creating code" to
$(THIS) = new $(CLASS)($(PARENT),$(ID),$(POS),$(SIZE),$(STYLE),$(NAME)); - Set "Incude file" to
wx/propgrid/manager.h- Set "Style" to
wxPG_TOOLBAR|wxPG_SPLITTER_AUTO_CENTER|wxPG_DEFAULT_STYLE (add/remove options as required)
- Set "Var name" to e.g.
m_pgman- Set "Class name" to
wxPropertyGridManagerAdditional include files that may have to be added, depending on properties used
#include <wx/propgrid/propgrid.h>
#include <wx/propgrid/advprops.h>Above uses the wxPropertyGridManager that allows several pages, but a similar approach can be used for a plain wxPropertyGrid