]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/accel.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[wxWidgets.git] / src / os2 / accel.cpp
index bda2003f77eb3ad4d05ce3bce2c33e4cb228efa3..1b901b20c4bf966c9a73e4eb7975b8c80b231805 100644 (file)
@@ -90,7 +90,7 @@ wxAcceleratorTable::wxAcceleratorTable(
 
         ::WinSetAccelTable( vHabmain
                            ,hAccel
-                           ,(HWND)pFrame->GetFrame()
+                           ,(HWND)pFrame->GetHWND()
                           );
     }
     M_ACCELDATA->m_hAccel = hAccel;
@@ -153,7 +153,7 @@ wxAcceleratorTable::wxAcceleratorTable(
 
         ::WinSetAccelTable( vHabmain
                            ,M_ACCELDATA->m_hAccel
-                           ,(HWND)pFrame->GetFrame()
+                           ,(HWND)pFrame->GetHWND()
                           );
     }