]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/accel.cpp
1. wxFrame::IsIconized() fixed - seems to work
[wxWidgets.git] / src / os2 / accel.cpp
index 1fdc45861f6aab2dee33396a19392c8bc4bdba16..1b901b20c4bf966c9a73e4eb7975b8c80b231805 100644 (file)
@@ -89,8 +89,8 @@ wxAcceleratorTable::wxAcceleratorTable(
         wxFrame*                    pFrame = (wxFrame*)wxTheApp->GetTopWindow();
 
         ::WinSetAccelTable( vHabmain
-                           ,(HWND)pFrame->GetFrame()
                            ,hAccel
+                           ,(HWND)pFrame->GetHWND()
                           );
     }
     M_ACCELDATA->m_hAccel = hAccel;
@@ -152,8 +152,8 @@ wxAcceleratorTable::wxAcceleratorTable(
         wxFrame*                    pFrame = (wxFrame*)wxTheApp->GetTopWindow();
 
         ::WinSetAccelTable( vHabmain
-                           ,(HWND)pFrame->GetFrame()
                            ,M_ACCELDATA->m_hAccel
+                           ,(HWND)pFrame->GetHWND()
                           );
     }