]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menu.cpp
cosmetic fixes to font encoding names
[wxWidgets.git] / src / os2 / menu.cpp
index 5f2ddd5927d7b40f3577cd8602bf8012565883ee..a9c390acc31d7a9f6389d6eccfeb89d69bb68d14 100644 (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");