]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/notebook.mm
Hack: force a vertical scroller on wxListBox.
[wxWidgets.git] / src / cocoa / notebook.mm
index 86bf26460a2dd1e1aa451072224eff6dfc47d109..6462b07222d205e3d3c460f74ec04150ef3804af 100644 (file)
@@ -315,9 +315,10 @@ int wxNotebook::GetSelection() const
 void wxNotebook::CocoaDelegate_tabView_didSelectTabViewItem(WX_NSTabViewItem tabViewItem)
 {
     // FIXME: oldSel probably == newSel
-    wxNotebookEvent event(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, GetId(),
+    wxNotebookEvent event(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, GetId(),
         [GetNSTabView() indexOfTabViewItem:tabViewItem], GetSelection());
     event.SetEventObject(this);
+    GetEventHandler()->ProcessEvent(event);
 }
 
 bool wxNotebook::CocoaDelegate_tabView_shouldSelectTabViewItem(WX_NSTabViewItem tabViewItem)