summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome_frame/ole_document_impl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome_frame/ole_document_impl.h b/chrome_frame/ole_document_impl.h
index 4c346d8..9ce1bbe 100644
--- a/chrome_frame/ole_document_impl.h
+++ b/chrome_frame/ole_document_impl.h
@@ -209,7 +209,11 @@ class ATL_NO_VTABLE IOleDocumentViewImpl : public IOleDocumentView {
hr = t->ActiveXDocActivate(OLEIVERB_UIACTIVATE);
}
} else {
- t->InPlaceMenuDestroy();
+ // Menu integration is still not complete, so do not destroy
+ // IE's menus. If we call InPlaceMenuDestroy here, menu items such
+ // as Print etc will be disabled and we will not get calls to QueryStatus
+ // for those commands.
+ // t->InPlaceMenuDestroy();
// t->DestroyToolbar();
hr = t->UIDeactivate();
}