]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tabctrl.cpp
show default title if no custom one was specified instead of clearing it (patch 1829254)
[wxWidgets.git] / src / msw / tabctrl.cpp
index 21eb96131ece31557585261e9858108e1fda0545..d55fd09bca27d2088ecf6e377c932de4bb0e0d8a 100644 (file)
@@ -149,7 +149,7 @@ bool wxTabCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
     event.SetInt(idCtrl) ;
     event.SetSelection(idCtrl);
 
-    return ProcessEvent(event);
+    return GetEventHandler()->ProcessEvent(event);
 }
 
 // Responds to colour changes, and passes event on to children.