Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

wxPGEditor * wxPropertyGrid::RegisterEditorClass ( wxPGEditor editor,
const wxString &  name,
bool  noDefCheck = false 
) [static]

Registers a new editor class.

Return values:
Pointerto the editor class instance that should be used.

Definition at line 10753 of file propgrid.cpp.

    wxASSERT( editorclass );


    if ( !noDefCheck && wxPGGlobalVars->m_mapEditorClasses.empty() )

    wxPGGlobalVars->m_mapEditorClasses[name] = (void*)editorclass;

    return editorclass;

Generated by  Doxygen 1.6.0   Back to index