X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f260c476e46c2b1a5e192133707a137db010908e..9a6aafe0039fef580ca1bfcf0e87c1ba8e2953ba:/src/common/cmdproc.cpp diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index b5029c54bc..a5ddc7bed1 100644 --- a/src/common/cmdproc.cpp +++ b/src/common/cmdproc.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "cmdproc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -61,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"); @@ -168,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