]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/accel.cpp
Fix explicitly setting focus to generic wxSpinCtrl.
[wxWidgets.git] / src / os2 / accel.cpp
index 3dc254182f641b23d25ac4815d8ef3dae2c23b91..fc5f2a319b4c8ad5be8c07b36c424d7543646be6 100644 (file)
@@ -75,7 +75,7 @@ wxAcceleratorTable::wxAcceleratorTable(
 
     m_refData = new wxAcceleratorRefData;
 
-    ulId = atol((char*)rResource.c_str());
+    ulId = atol(rResource.c_str());
     hAccel = ::WinLoadAccelTable( vHabmain
                                  ,NULL // resources always in .exe
                                  ,(ULONG)ulId