From 53b849eadf9136990f207a8ba83d43c08ee90841 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 20 Oct 2008 11:08:05 +0000 Subject: [PATCH] use wxRegKey::QueryDefaultValue() explicitly to fix DMC compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 24cd3374d3..a498ce07e6 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -1027,7 +1027,8 @@ static bool DoLaunchDefaultBrowser(const wxString& urlOrig, int flags) static const wxChar *TOPIC_OPEN_URL = wxT("WWW_OpenURL"); wxString ddeCmd; wxRegKey keyTopic(keyDDE, wxT("topic")); - bool ok = keyTopic.Exists() && keyTopic == TOPIC_OPEN_URL; + bool ok = keyTopic.Exists() && + keyTopic.QueryDefaultValue() == TOPIC_OPEN_URL; if ( ok ) { ddeCmd = keyDDE.QueryDefaultValue(); -- 2.45.2