]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splitter.h
SCROLLWIN instead of SCROLL again
[wxWidgets.git] / include / wx / generic / splitter.h
index 17e349a05106efdf789f6cfdeed427e37dd37c01..d74fc68403268044fd2fdecb81bc322298cd4448 100644 (file)
@@ -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