X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db693128dd3179a8bea9230b46b082e775fcf216..d118863525100c6984372bb0dbec96d3ea9f2ed1:/contrib/src/fl/toolwnd.cpp diff --git a/contrib/src/fl/toolwnd.cpp b/contrib/src/fl/toolwnd.cpp index 621760a827..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; @@ -867,7 +869,7 @@ void cbMiniButton::Reset() void cbCloseBox::Draw( wxDC& dc ) { -#ifdef __WXGTK__ +#if defined(__WXGTK__) || defined(__WXX11__) cbMiniButton::Draw( dc );