X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..890defb4f3a0012a296c69949bf5f93075743e8f:/src/common/cmdproc.cpp diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index 259d3e0ff7..5ece41e787 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"); @@ -86,7 +86,7 @@ bool wxCommandProcessor::UndoCommand(wxCommand& cmd) // storeIt is false. bool wxCommandProcessor::Submit(wxCommand *command, bool storeIt) { - wxCHECK_MSG( command, false, _T("no command in wxCommandProcessor::Submit") ); + wxCHECK_MSG( command, false, wxT("no command in wxCommandProcessor::Submit") ); if ( !DoCommand(*command) ) { @@ -106,7 +106,7 @@ bool wxCommandProcessor::Submit(wxCommand *command, bool storeIt) void wxCommandProcessor::Store(wxCommand *command) { - wxCHECK_RET( command, _T("no command in wxCommandProcessor::Store") ); + wxCHECK_RET( command, wxT("no command in wxCommandProcessor::Store") ); if ( (int)m_commands.GetCount() == m_maxNoCommands ) { @@ -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