When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -162,6 +162,11 @@ wxPGEditor::~wxPGEditor()
|
||||
{
|
||||
}
|
||||
|
||||
wxString wxPGEditor::GetName() const
|
||||
{
|
||||
return GetClassInfo()->GetClassName();
|
||||
}
|
||||
|
||||
void wxPGEditor::DrawValue( wxDC& dc, const wxRect& rect, wxPGProperty* property, const wxString& text ) const
|
||||
{
|
||||
if ( !property->IsValueUnspecified() )
|
||||
|
Reference in New Issue
Block a user