X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/873a543b62f5c730a1b50fc42d3c260bc7387f1b..bc59c2062c644236551b9652874414bdb2144955:/contrib/src/fl/bardragpl.cpp?ds=sidebyside diff --git a/contrib/src/fl/bardragpl.cpp b/contrib/src/fl/bardragpl.cpp index a1ef597f87..c3f75adb6c 100644 --- a/contrib/src/fl/bardragpl.cpp +++ b/contrib/src/fl/bardragpl.cpp @@ -465,7 +465,10 @@ void cbBarDragPlugin::ShowHint( bool prevWasInClient ) if ( mpSrcPane->mProps.mExactDockPredictionOn && mpCurPane ) { - bool success = mpLayout->RedockBar( mpDraggedBar, mHintRect, mpCurPane, FALSE ); + #ifdef __WXDEBUG__ + bool success = + #endif + mpLayout->RedockBar( mpDraggedBar, mHintRect, mpCurPane, FALSE ); wxASSERT( success ); // DBG:: @@ -519,7 +522,10 @@ void cbBarDragPlugin::ShowHint( bool prevWasInClient ) mpDraggedBar->mUMgrData.SetDirty( TRUE ); - bool success = mpLayout->RedockBar( mpDraggedBar, mHintRect, mpCurPane, FALSE ); + #ifdef __WXDEBUG__ + bool success = + #endif + mpLayout->RedockBar( mpDraggedBar, mHintRect, mpCurPane, FALSE ); wxASSERT( success ); // DBG ::