git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21916
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxCommandProcessor::Redo()
{
wxCommand *redoCommand = (wxCommand *) NULL;
bool wxCommandProcessor::Redo()
{
wxCommand *redoCommand = (wxCommand *) NULL;
- wxList::compatibility_iterator redoNode = 0;
+ wxList::compatibility_iterator redoNode
+#if !wxUSE_STL
+ = NULL // just to avoid warnings
+#endif // !wxUSE_STL
+ ;
if ( m_currentCommand )
{
if ( m_currentCommand )
{