[Sofaswitch-svn] [commit] r124 - sofaswitch/trunk/callflow/src
Author: derek Date: Mon Sep 25 01:25:25 2006 New Revision: 124 Modified: sofaswitch/trunk/callflow/src/loadnewgraph.cpp sofaswitch/trunk/callflow/src/transfermedia.cpp Log: Get colouring to work correctly. Absolutely correctly. Modified: sofaswitch/trunk/callflow/src/loadnewgraph.cpp ============================================================================== --- sofaswitch/trunk/callflow/src/loadnewgraph.cpp (original) +++ sofaswitch/trunk/callflow/src/loadnewgraph.cpp Mon Sep 25 01:25:25 2006 @@ -36,6 +36,7 @@ { DrawCompileError(dc); dc.SetBrush(wxBrush(*wxBLACK, wxSOLID)); + dc.SetPen(*wxBLACK_PEN); wxPoint p1(m_rect.GetPosition()); wxPoint pA(p1.x + 25, p1.y + 15); Modified: sofaswitch/trunk/callflow/src/transfermedia.cpp ============================================================================== --- sofaswitch/trunk/callflow/src/transfermedia.cpp (original) +++ sofaswitch/trunk/callflow/src/transfermedia.cpp Mon Sep 25 01:25:25 2006 @@ -39,7 +39,8 @@ { DrawCompileError(dc); dc.SetBrush(wxBrush(*wxBLACK, wxSOLID)); - wxPoint p1(m_rect.GetPosition()); + dc.SetPen(*wxBLACK_PEN); + wxPoint p1(m_rect.GetPosition()); wxPoint pA(p1.x + 25, p1.y + 0); wxPoint pB(p1.x + 25, p1.y + 50); dc.DrawLine(pA, pB);
participants (1)
-
SofaSWITCH SVN