As I couldn't get a queries answered on this component, I would like to start a thread only on the queries on this component.
Ok, I have made up this minimal application with this component with the major codes as follows :
Code: Select all
#include <wx/propgrid/propgrid.h>
#include <wx/propgrid/advprops.h>
#ifdef __VISUALC__
#include <wx/link_additions.h>
#endif //__VISUALC__
m_Geometry_Properties_Sizer = new wxStaticBoxSizer( new wxStaticBox( m_Geometry_Panel, wxID_ANY, wxT("Geometry Properties") ), wxVERTICAL );
m_propertyGrid1 = new wxPropertyGrid(m_Geometry_Panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxPG_DEFAULT_STYLE);
m_propertyGrid1->Append( new wxStringProperty(wxT("Label"),wxT("Name"),wxT("Initial Value")) );
m_Geometry_Properties_Sizer->Add( m_propertyGrid1, 1, wxALL|wxEXPAND, 5 );
m_Geometry_Sizer->Add( m_Geometry_Properties_Sizer, 1, wxEXPAND, 5 );
The definition is supposed to be in props.h, where props.h is not available on the wxPack (2.8.9.20).
I am getting an error of :
Code: Select all
error C2061: syntax error : identifier 'wxStringProperty'
error C2143: syntax error : missing ';' before ')'
error C2143: syntax error : missing ';' before ')'
Thanks in-advance