]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/controlbar.cpp
Commented out the bitmap-greying code until I have time to debug it
[wxWidgets.git] / contrib / src / fl / controlbar.cpp
index f1a8e556a631412808016456960e6baa15a95536..029d39f6c1eb883f9b5808c51fea94734c87afdf 100644 (file)
@@ -749,6 +749,11 @@ void wxFrameLayout::SetBarState( cbBarInfo* pBar, int newState, bool updateNow )
         }
     }
 
+    if ( pBar->mDimInfo.GetDimHandler() )
+    {
+        pBar->mDimInfo.GetDimHandler()->OnChangeBarState( pBar, newState );
+    }
+
     pBar->mState = newState;
 
     DoSetBarState( pBar );