- int m_splitMode;
- bool m_permitUnsplitAlways;
- bool m_needUpdating; // when in live mode, set the to TRUE to resize children in idle
+ // set the real sash position, sashPos here must be positive
+ //
+ // returns TRUE if the sash position has been changed, FALSE otherwise
+ bool DoSetSashPosition(int sashPos);
+
+ // set the sash position and send an event about it having been changed
+ void SetSashPositionAndNotify(int sashPos);
+
+ // callbacks executed when we detect that the mouse has entered or left
+ // the sash
+ virtual void OnEnterSash();
+ virtual void OnLeaveSash();
+
+ // set the cursor appropriate for the current split mode
+ void SetResizeCursor();
+
+ // redraw the splitter if its "hotness" changed if necessary
+ void RedrawIfHotSensitive(bool isHot);
+
+ wxSplitMode m_splitMode;