wxNotebook* bookGroupManager = NULL;
wxPanel* panel = NULL;
wxPanel* panel2 = NULL;
+ txtNrCollections = NULL;
bookSetPoints = new wxNotebook(panelParent,
-1,
wxDefaultSize,
wxNB_TOP );
panel = new wxPanel(bookSetPoints);
-
+ txtNrCollections = NULL;
// Group Manager
if (mtype==4)
//------------------------------------------------------------------------
void WidgetShowNPoints::RefreshCollectionText()
{
- wxString strTmp;
- strTmp.Printf(_T("%d / %d "), (int)mActualCollection+1, (int)lstModelShowNPoints.size() );
- txtNrCollections->SetLabel( strTmp );
- SetOutputBox();
+ if ((mtype==4) && (txtNrCollections!=NULL)) // Just for Collection interface
+ {
+ wxString strTmp;
+ strTmp.Printf(_T("%d / %d "), (int)mActualCollection+1, (int)lstModelShowNPoints.size() );
+ txtNrCollections->SetLabel( strTmp );
+ SetOutputBox();
+ } // if mtype 4
}
//------------------------------------------------------------------------