- m_undoAccelerator = wxT("\tCtrl+Z");
- m_redoAccelerator = wxT("\tCtrl+Y");
-#if !wxUSE_STL
- m_currentCommand = NULL;
-#endif
+ m_undoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CTRL, 'Z').ToString();
+ m_redoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CTRL, 'Y').ToString();
+
+ m_lastSavedCommand =
+ m_currentCommand = wxList::compatibility_iterator();