X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/370938d99c9de739c84c1d3e3cc9ef9a7b72efe5..d2fdd8d2af20f032b26562fc5eb0af2c85d5c8b6:/include/wx/generic/splitter.h diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index aa70baae1d..d74fc68403 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -160,6 +160,9 @@ public: // 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); @@ -189,6 +192,7 @@ protected: 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; @@ -231,6 +235,7 @@ public: : wxCommandEvent(type) { SetEventObject(splitter); + if (splitter) m_id = splitter->GetId(); } // SASH_POS_CHANGED methods @@ -277,7 +282,7 @@ public: } private: - friend wxSplitterWindow; + friend class WXDLLEXPORT wxSplitterWindow; // data for the different types of event union