gseg_frame_menu.cpp
/************************************************************************
* Display labels with the value of some contours 
************************************************************************/
Display labels with the value of some contours
Display labels with the value of some contours
void GsegFrame::OnViewLabelContours(wxCommandEvent& WXUNUSED(event))
{
int status = -1;
 if(m_gpanel != NULL) {
   status = m_gpanel->wxGP_Set_ViewLabelContours();
   if(status == -5) {
    wxMessageBox(wxT("Labelling not available in this mode"),
                 wxT("GsegFrame::OnViewLabelContours"), wxICON_ERROR);
   }
 }
return;
}
void GsegFrame :: OnViewLabelContours ( wxCommandEvent & WXUNUSED ( event ) ) { int status = -1 ; if ( m_gpanel != NULL ) { status = m_gpanel -> wxGP_Set_ViewLabelContours ( ) ; if ( status == -5 ) { wxMessageBox ( wxT ( " " ) , wxT ( " " ) , wxICON_ERROR ) ; } } return ; }
Display labels with the value of some contours
Display labels with the value of some contours