fixes to handling of 0 and negative splitter position when splitting it initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -237,8 +237,13 @@ protected:
|
||||
|
||||
// get either width or height depending on the split mode
|
||||
int GetWindowSize() const;
|
||||
|
||||
// set m_sashPosition w/ safeguards
|
||||
|
||||
// convert the user specified sash position which may be > 0 (as is), < 0
|
||||
// (specifying the size of the right pane) or 0 (use default) to the real
|
||||
// position to be passed to DoSetSashPosition()
|
||||
int ConvertSashPosition(int sashPos) const;
|
||||
|
||||
// set the real sash position, sashPos here must be positive
|
||||
void DoSetSashPosition(int sashPos);
|
||||
|
||||
wxSplitMode m_splitMode;
|
||||
|
Reference in New Issue
Block a user