mBarContentHitted = TRUE;
+ // In Windows, at least, the frame needs to have a null cursor
+ // else child windows (such as text windows) inherit the cursor
+#if 1
+ mpLayout->GetParentFrame().SetCursor( wxNullCursor );
+#else
mpLayout->GetParentFrame().SetCursor( *mpLayout->mpNormalCursor );
+#endif
}
// TBD:: fire something like "mouse-over-bar" event
mpLayout->ReleaseEventsFromPane( event.mpPane );
mpLayout->ReleaseEventsFromPlugin( this );
+ // In Windows, at least, the frame needs to have a null cursor
+ // else child windows (such as text windows) inherit the cursor
+#if 1
+ mpLayout->GetParentFrame().SetCursor( wxNullCursor );
+#else
mpLayout->GetParentFrame().SetCursor( *mpLayout->mpNormalCursor );
+#endif
mResizeCursorOn = FALSE;
}
mpLayout->ReleaseEventsFromPane( event.mpPane );
mpLayout->ReleaseEventsFromPlugin( this );
+ // In Windows, at least, the frame needs to have a null cursor
+ // else child windows (such as text windows) inherit the cursor
+#if 1
+ mpLayout->GetParentFrame().SetCursor( wxNullCursor );
+#else
mpLayout->GetParentFrame().SetCursor( *mpLayout->mpNormalCursor );
+#endif
if ( mRowHandleHitted )
{
// FIXME:: +/- 1s
+ int nNewHeight = bounds.height - 2 - bar.mDimInfo.mVertGap *2;
+ if(nNewHeight < 0)
+ nNewHeight = 0;
+
bar.mpBarWnd->wxWindow::SetSize( bounds.x + 1 + bar.mDimInfo.mHorizGap,
bounds.y + 1 + bar.mDimInfo.mVertGap,
bounds.width - 2 - bar.mDimInfo.mHorizGap*2,
- bounds.height - 2 - bar.mDimInfo.mVertGap *2 ,
+ nNewHeight,
0
);