]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splitter.h
Chnaged includes to work without precompiled headers
[wxWidgets.git] / include / wx / generic / splitter.h
index 17e349a05106efdf789f6cfdeed427e37dd37c01..4bdd5ace6af046d6230f9eefeddf94f0aaac45f5 100644 (file)
@@ -187,6 +187,7 @@ protected:
     void OnSashPosChanging(wxSplitterEvent& event);
     void OnDoubleClick(wxSplitterEvent& event);
     void OnUnsplitEvent(wxSplitterEvent& event);
+    void OnSetCursor(wxSetCursorEvent& event);
 
     void SendUnsplitEvent(wxWindow *winRemoved);
 
@@ -235,6 +236,7 @@ public:
         : wxCommandEvent(type)
     {
         SetEventObject(splitter);
+        if (splitter) m_id = splitter->GetId();
     }
 
     // SASH_POS_CHANGED methods
@@ -281,7 +283,7 @@ public:
     }
 
 private:
-    friend wxSplitterWindow;
+    friend class WXDLLEXPORT wxSplitterWindow;
 
     // data for the different types of event
     union