Hi,

1)
I have a problem with the a2dDrawLineTool. I get an assertion error after
putting the first Point of the line, if i set for the SetTopTool everything
else than a2dRecursiveEditTool.

Error in liner.cpp 
line 347. Message: Expression = 0
line 355. Message: Expression: line != 0

For the first point of the line the value for m_valid_parameters = false.
            
For Example:
        m_toolctrl = new a2dStToolContr(m_canvas->GetCanvasView(), this);
        m_toolctrl->SetTopTool( new a2dDragTool( m_toolctrl ));

2)
Another Problem with the event a2dStTool::sm_toolPoped in 

        void MyStToolEvtHandler::OnComEvent(a2dComEvent &event)
        {
                if (event.GetEventComId() == &a2dStTool::sm_toolPushed)
                {
                        wxMessageBox ("sm_toolPushed");
                }
                if (event.GetEventComId() == &a2dStTool::sm_toolPoped )
                {
                        wxMessageBox ("sm_toolPoped");
                }
        }

I dont get an OnComEvent for the sm_toolPoped. sm_toolPushed and
sm_toolComEventAddObject works fine.

3)
And finally a small problem :-)
How can i change the Cursor for the TopTool at the begin?

Hope for answers
Süleyman


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to