Get the next command in queue. If
from is NULL, returns the top command. If
from is not NULL, the command following
from is returned. if
remove is true (default), the command is removed from the list. This means that the caller must delete it.
Definition at line 74 of file compiler_defs.cpp.
wxCompilerCommandsNode* node = m_Commands.GetFirst();
CompilerCommand* cmd = node->GetData();
m_LastWasRun = cmd ? cmd->isRun : false;