]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
Test using wxString::ToCDouble() in wxAny.
[wxWidgets.git] / src / msw / notebook.cpp
index d51c996daf164ba4aa450bf64c3677aecf56a280..6b171c7a7479323934735687b92a3af99eb417ce 100644 (file)
@@ -1325,11 +1325,11 @@ bool wxNotebook::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM* result)
   NMHDR* hdr = (NMHDR *)lParam;
   switch ( hdr->code ) {
     case TCN_SELCHANGE:
-      event.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED);
+      event.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGED);
       break;
 
     case TCN_SELCHANGING:
-      event.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING);
+      event.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGING);
       break;
 
     default: