bool CGridLocusColumns::SetupKit( wxGrid *pGrid, const wxString &sKitName, bool bDefault, bool bILS, bool bAllowAmel, bool bSetError) { vector<wxString> vs; if(bDefault) { const wxChar *psDefault = bILS ? _T("Default*") : _T("Default"); vs.push_back(psDefault); } bool bRtn = SetupKit( pGrid,sKitName,vs,bILS,bAllowAmel,bSetError); return bRtn; }
bool CGridLocusColumns::SetupKit( wxGrid *pGrid, const wxString &sKitName, bool bDefault, bool bILS, bool bAllowAmel, bool bSetError, int *pnILScolumn, unsigned int *pnILSchannel) { vector<wxString> vs; if(bDefault) { const wxChar *psDefault = bILS ? wxS("Default*") : wxS("Default"); vs.push_back(psDefault); } bool bRtn = SetupKit( pGrid,sKitName,vs,bILS,bAllowAmel,bSetError,pnILScolumn,pnILSchannel); return bRtn; }