]> git.saurik.com Git - wxWidgets.git/commitdiff
Modified OnSashPositionChange to take an int& instead of an int.
authorUnknown (BV) <nobody@localhost>
Wed, 12 May 1999 03:04:15 +0000 (03:04 +0000)
committerUnknown (BV) <nobody@localhost>
Wed, 12 May 1999 03:04:15 +0000 (03:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/splitter.h

index 951562b148c5ccf54eb0e740c880d02cb5d113da..6cbb3453ecc833eebfe655e19a05ea759dcf5d7d 100644 (file)
@@ -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.
 
     // 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.
     // 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
 
     // If the sash is moved to an extreme position, a subwindow
     // is removed from the splitter window, and the app is