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)