Fix unintialized pointer in wxCommandProcessor when
wxUSE_STL=0. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,6 +69,9 @@ wxCommandProcessor::wxCommandProcessor(int maxCommands)
|
|||||||
#endif // wxUSE_MENUS
|
#endif // wxUSE_MENUS
|
||||||
m_undoAccelerator = wxT("\tCtrl+Z");
|
m_undoAccelerator = wxT("\tCtrl+Z");
|
||||||
m_redoAccelerator = wxT("\tCtrl+Y");
|
m_redoAccelerator = wxT("\tCtrl+Y");
|
||||||
|
#if !wxUSE_STL
|
||||||
|
m_currentCommand = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxCommandProcessor::~wxCommandProcessor()
|
wxCommandProcessor::~wxCommandProcessor()
|
||||||
|
Reference in New Issue
Block a user