File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -7766,6 +7766,21 @@ void CPrefsP18::OnFindNext()
7766
7766
DoFind (true );
7767
7767
} // end of CPrefsP18::OnFindNext
7768
7768
7769
+ CString CPrefsP18::GetFindText (CObject * pItem) const
7770
+ {
7771
+ CVariable * variable_item = (CVariable *) pItem;
7772
+
7773
+ ASSERT_VALID (variable_item);
7774
+ ASSERT ( variable_item->IsKindOf ( RUNTIME_CLASS ( CVariable ) ) );
7775
+
7776
+
7777
+ CString strResult = variable_item->strContents ;
7778
+
7779
+ strResult += " \t " + variable_item->strLabel ;
7780
+
7781
+ return strResult;
7782
+
7783
+ } // end of CPrefsP18::GetFindText
7769
7784
7770
7785
BOOL CPrefsP18::OnInitDialog ()
7771
7786
{
Original file line number Diff line number Diff line change @@ -1535,7 +1535,7 @@ class CPrefsP18 : public CGenPropertyPage
1535
1535
virtual CString GetGroup (CObject * pItem) const { return " " ; }; // get item group
1536
1536
virtual CString GetDescription (CObject * pItem) const { return " " ; }; // get item description for tree control
1537
1537
virtual int GetSequence (CObject * pItem) const { return 0 ; }; // get item sequence for sorting
1538
- virtual CString GetFindText (CObject * pItem) const { return " " ; } ; // get text for searching on
1538
+ virtual CString GetFindText (CObject * pItem) const ; // get text for searching on
1539
1539
1540
1540
// list management - add the item to the list control
1541
1541
virtual int AddItem (CObject * pItem, // add one item to the list control
You can’t perform that action at this time.
0 commit comments