- sliPriority->Disable();
+ priorityCtrl = new XABPriorityCtrl(tabGeneral);
+ szrGeneral->Add(priorityCtrl, 1, wxEXPAND, 5);
+ szrGeneral->Layout();
if (intiter->first == RelatedListIndex && intiter->second > 0 &&
intiter != RelatedListPrefPtr->end()){
if (intiter->first == RelatedListIndex && intiter->second > 0 &&
intiter != RelatedListPrefPtr->end()){
- RelatedListCtrlPtr->SetItem(ListCtrlIndex, 2, wxString::Format(wxT("%i"), sliPriority->GetValue()));
+ RelatedListCtrlPtr->SetItem(ListCtrlIndex, 2, wxString::Format(wxT("%i"), priorityCtrl->GetValue()));
RelatedListCtrlPtr->SetItem(longSelected, 0, cmbType->GetValue());
RelatedListCtrlPtr->SetItem(longSelected, 1, txtRelated->GetValue());
RelatedListCtrlPtr->SetItem(longSelected, 0, cmbType->GetValue());
RelatedListCtrlPtr->SetItem(longSelected, 1, txtRelated->GetValue());
- RelatedListCtrlPtr->SetItem(longSelected, 2, wxString::Format(wxT("%i"), sliPriority->GetValue()));
+ RelatedListCtrlPtr->SetItem(longSelected, 2, wxString::Format(wxT("%i"), priorityCtrl->GetValue()));
RelatedListPtr = RelatedList;
RelatedListRelTypePtr = RelatedListRelType;
RelatedListAltIDPtr = RelatedListAltID;
RelatedListPtr = RelatedList;
RelatedListRelTypePtr = RelatedListRelType;
RelatedListAltIDPtr = RelatedListAltID;