X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/common/cmdproc.cpp diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index 259d3e0ff7..a5ddc7bed1 100644 --- a/src/common/cmdproc.cpp +++ b/src/common/cmdproc.cpp @@ -57,7 +57,7 @@ wxCommandProcessor::wxCommandProcessor(int maxCommands) { m_maxNoCommands = maxCommands; #if wxUSE_MENUS - m_commandEditMenu = (wxMenu *) NULL; + m_commandEditMenu = NULL; #endif // wxUSE_MENUS m_undoAccelerator = wxT("\tCtrl+Z"); m_redoAccelerator = wxT("\tCtrl+Y"); @@ -164,7 +164,7 @@ bool wxCommandProcessor::Undo() bool wxCommandProcessor::Redo() { - wxCommand *redoCommand = (wxCommand *) NULL; + wxCommand *redoCommand = NULL; wxList::compatibility_iterator redoNode #if !wxUSE_STL = NULL // just to avoid warnings