]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bookctrl.h
adapting comment to new implementation
[wxWidgets.git] / include / wx / bookctrl.h
index 9b4f51632bac9c801e49b0b1758c866a92897973..171366205fdf619a478779dc17ffdb6ce2bfe32c 100644 (file)
@@ -249,10 +249,17 @@ public:
     wxBookCtrlBaseEvent(wxEventType commandType = wxEVT_NULL, int winid = 0,
                         int nSel = -1, int nOldSel = -1)
         : wxNotifyEvent(commandType, winid)
-        {
-            m_nSel = nSel;
-            m_nOldSel = nOldSel;
-        }
+    {
+        m_nSel = nSel;
+        m_nOldSel = nOldSel;
+    }
+
+    wxBookCtrlBaseEvent(const wxBookCtrlBaseEvent& event)
+        : wxNotifyEvent(event)
+    {
+        m_nSel = event.m_nSel;
+        m_nOldSel = event.m_nOldSel;
+    }
 
     // accessors
         // the currently selected page (-1 if none)