X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ed40684b46c71bcff8d11242c84043e2602ce58..350fffae72c078442d6d177d2071e62f2687df9f:/src/common/cmdproc.cpp diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index f85b076762..09603432bd 100644 --- a/src/common/cmdproc.cpp +++ b/src/common/cmdproc.cpp @@ -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()