]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
Draw wxPropertyGrid drop down items with consistent (non-bold) font (fixes #12088)
[wxWidgets.git] / src / os2 / window.cpp
index 7a44b19018cd028220f5721bac92326c5da028a7..33862da5f0a070ede9d5e5fa6383ae940a0240fd 100644 (file)
@@ -1788,7 +1788,6 @@ bool wxWindowOS2::DoPopupMenu( wxMenu* pMenu, int nX, int nY )
     bool bIsWaiting = true;
     int nHeight;
 
-    pMenu->SetInvokingWindow(this);
     pMenu->UpdateUI();
 
     if ( nX == -1 && nY == -1 )
@@ -1824,7 +1823,6 @@ bool wxWindowOS2::DoPopupMenu( wxMenu* pMenu, int nX, int nY )
         ::WinDispatchMsg(vHabmain, (PQMSG)&vMsg);
     }
 
-    pMenu->SetInvokingWindow(NULL);
     return true;
 } // end of wxWindowOS2::DoPopupMenu
 #endif // wxUSE_MENUS_NATIVE