[M-CVS] CVS: M/src/wx/generic persctrl.cpp,1.60,1.61
Status: Beta
Brought to you by:
vadz
From: Vadim Z. <va...@us...> - 2000-12-15 18:14:15
|
Update of /cvsroot/mahogany/M/src/wx/generic In directory slayer.i.sourceforge.net:/tmp/cvs-serv29990/src/wx/generic Modified Files: persctrl.cpp Log Message: 1. minor fixes to ADB import stuff (suppress some superfluous messages) 2. fixed bug in wxPListBox::Restore() (assert failure) Index: persctrl.cpp =================================================================== RCS file: /cvsroot/mahogany/M/src/wx/generic/persctrl.cpp,v retrieving revision 1.60 retrieving revision 1.61 diff -b -u -2 -r1.60 -r1.61 --- persctrl.cpp 2000/12/01 17:46:56 1.60 +++ persctrl.cpp 2000/12/15 18:14:12 1.61 @@ -932,5 +932,5 @@ long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l); - if ( sel < Number() ) { + if ( (sel != -1) && (sel < Number()) ) { SetSelection(sel); |