Changeset 132 for cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
- Timestamp:
- 08/26/10 18:14:55 (21 months ago)
- Files:
-
- 1 modified
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
r131 r132 33 33 #include "ConsoleCommands/Console.hpp" 34 34 #include "ConsoleCommands/ConsoleInterpreter.hpp" 35 #include "ConsoleCommands/ConsoleStringBuffer.hpp" 35 36 #include "ConsoleCommands/ConVar.hpp" 36 37 #include "GuiSys/ConsoleByWindow.hpp" … … 438 439 m_PrevConsole=Console; 439 440 Console=m_ConByGuiWin; 441 442 // Copy the output to the previous console to the now current console. 443 cf::ConsoleStringBufferT* ConsoleSB=dynamic_cast<cf::ConsoleStringBufferT*>(m_PrevConsole); 444 if (ConsoleSB) Console->Print(ConsoleSB->GetBuffer()); 440 445 441 446 m_InitState=INIT_SUCCESS;
