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
M_ACCELDATA->m_ok = (M_ACCELDATA->m_hAccel != 0);
} // end of wxAcceleratorTable::wxAcceleratorTable
-bool wxAcceleratorTable::Ok() const
+bool wxAcceleratorTable::IsOk() const
{
return(M_ACCELDATA && (M_ACCELDATA->m_ok));
-} // end of wxAcceleratorTable::Ok
+} // end of wxAcceleratorTable::IsOk
void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
{
,GetHaccel()
,pMsg
);
- return (Ok() && rc);
+ return (IsOk() && rc);
} // end of wxAcceleratorTable::Translate
// ---------------------------------------------------------------------------