X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/585ae8cbc0ba875d2b0e836d5db429e702f0c289..695237bccd652c60deba347117ba5ab32067880c:/include/wx/generic/splitter.h?ds=inline diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index e2378b42d3..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,11 +282,7 @@ public: } private: -#ifdef __MWERKS__ - friend class wxSplitterWindow; -#else - friend wxSplitterWindow; -#endif + friend class WXDLLEXPORT wxSplitterWindow; // data for the different types of event union