fix for a warning when wxUSE_STL == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
29a2a24da6
commit
4ed40684b4
@ -159,7 +159,11 @@ bool wxCommandProcessor::Undo()
|
|||||||
bool wxCommandProcessor::Redo()
|
bool wxCommandProcessor::Redo()
|
||||||
{
|
{
|
||||||
wxCommand *redoCommand = (wxCommand *) NULL;
|
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 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user