Lines Matching refs:m_savedState
216 m_savedState = savedState;
224 if (m_savedState)
226 m_savedState->SetCanvas(NULL);
227 delete m_savedState;
239 // Then save old shape in m_savedState (actually swap pointers)
242 wxASSERT( (m_savedState == NULL) ); // new state will be 'nothing'
272 m_savedState = m_shapeOnCanvas;
274 if (m_savedState->IsKindOf(CLASSINFO(wxLineShape)))
277 wxLineShape* lineShape = (wxLineShape*) m_savedState;
296 // The app has given the command state a new m_savedState
303 wxASSERT( (m_savedState != NULL) );
306 m_shapeOnCanvas = m_savedState;
307 m_savedState = NULL;
334 wxASSERT( (m_savedState != NULL) );
337 wxLineShape *lineShape = (wxLineShape *)m_savedState;
341 m_shapeOnCanvas = m_savedState;
342 m_savedState = NULL;
394 wxASSERT( (m_savedState != NULL) ); // This is the new shape with changed colour
415 m_savedState->CopyWithHandler(*m_shapeOnCanvas);
418 delete m_savedState;
421 m_savedState = tempShape;
492 wxASSERT( (m_savedState != NULL) );
495 m_doc->GetDiagram()->AddShape(m_savedState);
496 m_shapeOnCanvas = m_savedState;
497 m_savedState = NULL;
527 wxASSERT( (m_savedState == NULL) );
562 m_savedState = m_shapeOnCanvas;