X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/618f2efa413947456c7efb17d143a44a76787619..d118863525100c6984372bb0dbec96d3ea9f2ed1:/contrib/src/fl/toolwnd.cpp?ds=sidebyside diff --git a/contrib/src/fl/toolwnd.cpp b/contrib/src/fl/toolwnd.cpp index a018ce3c5c..5c846c27ef 100644 --- a/contrib/src/fl/toolwnd.cpp +++ b/contrib/src/fl/toolwnd.cpp @@ -497,7 +497,7 @@ void wxToolWindow::CalcResizedRect( wxRect& rect, wxPoint& delta, const wxSize& } else { - wxFAIL( _T("what did the cursor hit?") ); + wxFAIL_MSG( _T("what did the cursor hit?") ); } rect.x = left; @@ -571,6 +571,8 @@ void wxToolWindow::OnMotion( wxMouseEvent& event ) { DrawHintRect( mPrevHintRect ); DrawHintRect( finalRect ); + + ::wxLogTrace("%d,%d / %d,%d\n", finalRect.x, finalRect.y, finalRect.width, finalRect.height); } mPrevHintRect = finalRect;