]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / msw / radiobox.cpp
index f73e2ba3c2d36bd234b681afd6e540261669b952..b29e5eb3e23f71faedddc9fef2736ea56a99535e 100644 (file)
@@ -258,8 +258,10 @@ void wxRadioBox::SubclassRadioButton(WXHWND hWndBtn)
 // events generation
 // ----------------------------------------------------------------------------
 
-bool wxRadioBox::MSWCommand(WXUINT cmd, WXWORD id)
+bool wxRadioBox::MSWCommand(WXUINT cmd, WXWORD id_)
 {
+    const int id = (signed short)id_;
+
     if ( cmd == BN_CLICKED )
     {
         if (id == GetId())