]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmdproc.cpp
no real change: put event handlers together at the end of the file
[wxWidgets.git] / src / common / cmdproc.cpp
index 259d3e0ff7260bd97980fc1b06618bdca1f57130..a5ddc7bed15fcfacc79a3f9952311fc42b8b2bcb 100644 (file)
@@ -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