]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/toolwnd.cpp
fixed Fit() to avoid showing scrollbars
[wxWidgets.git] / 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;