X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72195a0fd23def9b31434ca8de4805b4a6db730f..695237bccd652c60deba347117ba5ab32067880c:/include/wx/generic/splitter.h?ds=sidebyside diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 17e349a051..d74fc68403 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -235,6 +235,7 @@ public: : wxCommandEvent(type) { SetEventObject(splitter); + if (splitter) m_id = splitter->GetId(); } // SASH_POS_CHANGED methods @@ -281,7 +282,7 @@ public: } private: - friend wxSplitterWindow; + friend class WXDLLEXPORT wxSplitterWindow; // data for the different types of event union