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:
parent
feaed9410a
commit
084db46c8b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user