Co-Simulation/Sumo/sumo-1.7.0/src/utils/foxtools/MFXAddEditTypedTable.cpp
// Double clicked in list; ptr may or may not point to an item
Double clicked in list; ptr may or may not point to an item
Double clicked in list ; ptr may or may not point to an item
long MFXAddEditTypedTable::onDoubleClicked(FXObject*, FXSelector, void* ptr) {
    if (editor) {
        delete editor;
        input.fm.row = -1;
        input.to.row = -1;
        input.fm.col = -1;
        input.to.col = -1;
        editor = nullptr;
    } else {
        if (target && target->tryHandle(this, FXSEL(SEL_CLICKED, message), ptr)) {
            return 1;
        }
        handle(this, FXSEL(SEL_COMMAND, ID_START_INPUT), nullptr);
    }
    return 1;
}
long MFXAddEditTypedTable :: onDoubleClicked ( FXObject * , FXSelector , void * ptr ) { if ( editor ) { delete editor ; input . fm . row = -1 ; input . to . row = -1 ; input . fm . col = -1 ; input . to . col = -1 ; editor = nullptr ; } else { if ( target && target -> tryHandle ( this , FXSEL ( SEL_CLICKED , message ) , ptr ) ) { return 1 ; } handle ( this , FXSEL ( SEL_COMMAND , ID_START_INPUT ) , nullptr ) ; } return 1 ; }
Double clicked in list; ptr may or may not point to an item
Double clicked in list ; ptr may or may not point to an item