]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splitter.h
Standard frame resource defines for OS/2
[wxWidgets.git] / include / wx / generic / splitter.h
index e2378b42d3e6ba34b2d6607117551027296f55f6..d74fc68403268044fd2fdecb81bc322298cd4448 100644 (file)
@@ -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