Several updates for fixing the subclassing problems and accelerator processing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-09-01 13:52:31 +00:00
parent 37123da440
commit e604d44b4b
6 changed files with 132 additions and 120 deletions

View File

@@ -1031,7 +1031,7 @@ void wxMenuBar::Attach(
// Ensure the accelerator table is set to the frame (not the client!)
//
if (!::WinSetAccelTable( vHabmain
,(HWND)pFrame->GetFrame()
,(HWND)pFrame->GetHWND()
,m_vAccelTable.GetHACCEL()
))
wxLogLastError("WinSetAccelTable");