git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58400
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int x = (int)event.GetX(),
y = (int)event.GetY();
- if (GetWindowStyle() & wxSP_NOSASH)
+ if ( GetWindowStyle() & wxSP_NOSASH )
+ {
+ event.Skip();
return;
+ }
// with wxSP_LIVE_UPDATE style the splitter windows are always resized
// following the mouse movement while it drags the sash, without it we only
{
OnDoubleClickSash(x, y);
}
+ else
+ {
+ event.Skip();
+ }
}
void wxSplitterWindow::OnSize(wxSizeEvent& event)