X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ad5e06b4aefdcef8a1ec2ec563540e055462e66..fc7840aa33c00b255ca088bd81c195835ac67419:/include/wx/generic/splitter.h diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 951562b148..6cbb3453ec 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -125,8 +125,9 @@ public: // Called when the sash position is about to be changed, return // FALSE from here to prevent the change from taking place. + // Repositions sash to minimum position if pane would be too small. // newSashPosition here is always positive or zero. - virtual bool OnSashPositionChange(int newSashPosition); + virtual bool OnSashPositionChange(int& newSashPosition); // If the sash is moved to an extreme position, a subwindow // is removed from the splitter window, and the app is