]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmdproc.cpp
borland fix
[wxWidgets.git] / src / common / cmdproc.cpp
index f85b076762cf025f073b940b19b7d022a28e9d0a..09603432bd98bc63c9b09da1fb01f4ffa73c0372 100644 (file)
@@ -69,6 +69,9 @@ wxCommandProcessor::wxCommandProcessor(int maxCommands)
 #endif // wxUSE_MENUS
     m_undoAccelerator = wxT("\tCtrl+Z");
     m_redoAccelerator = wxT("\tCtrl+Y");
+#if !wxUSE_STL
+    m_currentCommand = NULL;
+#endif
 }
 
 wxCommandProcessor::~wxCommandProcessor()