]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmdproc.cpp
Added call to top-level window OnInternalIdle
[wxWidgets.git] / src / common / cmdproc.cpp
index 6a7475fadb971d0cddd563c5b45ba24210df067e..f85b076762cf025f073b940b19b7d022a28e9d0a 100644 (file)
@@ -159,7 +159,11 @@ bool wxCommandProcessor::Undo()
 bool wxCommandProcessor::Redo()
 {
     wxCommand *redoCommand = (wxCommand *) NULL;
 bool wxCommandProcessor::Redo()
 {
     wxCommand *redoCommand = (wxCommand *) NULL;
-    wxList::compatibility_iterator redoNode;
+    wxList::compatibility_iterator redoNode
+#if !wxUSE_STL
+        = NULL          // just to avoid warnings
+#endif // !wxUSE_STL
+        ;
 
     if ( m_currentCommand )
     {
 
     if ( m_currentCommand )
     {