mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Change CefBrowser::SetOSModalLoop to CefSetOSModalLoop because the functionality is not connected with any particular browser (issue #194).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1062 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -610,16 +610,16 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam,
|
||||
break;
|
||||
|
||||
case WM_ENTERMENULOOP:
|
||||
if (!wParam && g_handler.get() && g_handler->GetBrowserHwnd()) {
|
||||
if (!wParam) {
|
||||
// Entering the menu loop for the application menu.
|
||||
g_handler->GetBrowser()->SetOSModalLoop(true);
|
||||
CefSetOSModalLoop(true);
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_EXITMENULOOP:
|
||||
if (!wParam && g_handler.get() && g_handler->GetBrowserHwnd()) {
|
||||
if (!wParam) {
|
||||
// Exiting the menu loop for the application menu.
|
||||
g_handler->GetBrowser()->SetOSModalLoop(false);
|
||||
CefSetOSModalLoop(false);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user