// 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;
: wxCommandEvent(type)
{
SetEventObject(splitter);
+ if (splitter) m_id = splitter->GetId();
}
// SASH_POS_CHANGED methods
}
private:
- friend wxSplitterWindow;
+ friend class WXDLLEXPORT wxSplitterWindow;
// data for the different types of event
union