wxFrame* pFrame = (wxFrame*)wxTheApp->GetTopWindow();
::WinSetAccelTable( vHabmain
- ,(HWND)pFrame->GetFrame()
,hAccel
+ ,(HWND)pFrame->GetHWND()
);
}
M_ACCELDATA->m_hAccel = hAccel;
wxFrame* pFrame = (wxFrame*)wxTheApp->GetTopWindow();
::WinSetAccelTable( vHabmain
- ,(HWND)pFrame->GetFrame()
,M_ACCELDATA->m_hAccel
+ ,(HWND)pFrame->GetHWND()
);
}
) const
{
PQMSG pMsg = (PQMSG)pWxmsg;
-
- return Ok() && ::WinTranslateAccel( vHabmain
- ,(HWND)hWnd
- ,GetHaccel()
- ,pMsg
- );
+ BOOL rc = FALSE;
+
+ rc = ::WinTranslateAccel( vHabmain
+ ,(HWND)hWnd
+ ,GetHaccel()
+ ,pMsg
+ );
+ if (rc)
+ {
+ int x = 1;
+ }
+ return (Ok() && rc);
+// ::WinTranslateAccel( vHabmain
+// ,(HWND)hWnd
+// ,GetHaccel()
+// ,pMsg
+// );
} // end of wxAcceleratorTable::Translate