]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/toolwnd.cpp
Applied David's fix for not autoconf-ing on RHL8
[wxWidgets.git] / contrib / src / fl / toolwnd.cpp
index a018ce3c5c15292177629530557b9b693d0080b0..5c846c27ef430a7801941eb4cc6cf54676214b45 100644 (file)
@@ -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;