]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tabctrl.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / msw / tabctrl.cpp
index a218e6d92300636c4e610e3d50a8a9f97cac4792..02a8285cc4865aead8536d4c1e6efdeca13d8f89 100644 (file)
 #if wxUSE_TAB_DIALOG
 
 #ifndef WX_PRECOMP
 #if wxUSE_TAB_DIALOG
 
 #ifndef WX_PRECOMP
+    #include "wx/msw/wrapcctl.h" // include <commctrl.h> "properly"
     #include "wx/wx.h"
     #include "wx/app.h"
 #endif
 
 #include "wx/msw/private.h"
 
     #include "wx/wx.h"
     #include "wx/app.h"
 #endif
 
 #include "wx/msw/private.h"
 
-// include <commctrl.h> "properly"
-#include "wx/msw/wrapcctl.h"
-
 #include "wx/tabctrl.h"
 #include "wx/msw/imaglist.h"
 
 #include "wx/tabctrl.h"
 #include "wx/msw/imaglist.h"
 
@@ -151,7 +149,7 @@ bool wxTabCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
     event.SetInt(idCtrl) ;
     event.SetSelection(idCtrl);
 
     event.SetInt(idCtrl) ;
     event.SetSelection(idCtrl);
 
-    return ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 // Responds to colour changes, and passes event on to children.
 }
 
 // Responds to colour changes, and passes event on to children.