// Adjusts the panes
void OnSize(wxSizeEvent& event);
+ // In live mode, resize child windows in idle time
+ void OnIdle(wxIdleEvent& event);
+
// Draws borders
void DrawBorders(wxDC& dc);
int m_splitMode;
bool m_permitUnsplitAlways;
+ bool m_needUpdating; // when in live mode, set the to TRUE to resize children in idle
wxWindow* m_windowOne;
wxWindow* m_windowTwo;
int m_dragMode;
}
private:
+#ifdef __MWERKS__
+ friend class wxSplitterWindow;
+#else
friend wxSplitterWindow;
+#endif
// data for the different types of event
union