]> git.saurik.com Git - wxWidgets.git/commitdiff
really avoid the compiler warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2001 13:35:04 +0000 (13:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2001 13:35:04 +0000 (13:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/fl/toolwnd.cpp

index c59831d2bc20c33b0722bb497f28ce60b86a2a4f..4a97f944caedc0e6a6eb2e741cc89c63e4da4708 100644 (file)
@@ -496,8 +496,7 @@ void wxToolWindow::CalcResizedRect( wxRect& rect, wxPoint& delta, const wxSize&
        }
        else
        {
        }
        else
        {
-               int avoidCompilerWarning = 0;
-               wxASSERT(avoidCompilerWarning); // DBG::
+               wxFAIL( _T("what did the cursor hit?") );
        }
 
        rect.x = left;
        }
 
        rect.x = left;