]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
corrected code to really skip stack frames in the beginning and to number the remaini...
[wxWidgets.git] / src / common / utilscmn.cpp
index 9f77a8a6a8a5ef182755e828d5d6f9dd4892a428..0831170f371290b0121b9a049055229219317f66 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        utilscmn.cpp
+// Name:        src/common/utilscmn.cpp
 // Purpose:     Miscellaneous utility functions and classes
 // Author:      Julian Smart
 // Modified by:
@@ -89,6 +89,7 @@
 
 #if defined(__WXMSW__)
     #include "wx/msw/private.h"
+    #include "wx/msw/registry.h"
 #endif
 
 #if wxUSE_BASE
 // common data
 // ----------------------------------------------------------------------------
 
-#if WXWIN_COMPATIBILITY_2_2
-    const wxChar *wxInternalErrorStr = wxT("wxWidgets Internal Error");
-    const wxChar *wxFatalErrorStr = wxT("wxWidgets Fatal Error");
-#endif // WXWIN_COMPATIBILITY_2_2
-
 // ============================================================================
 // implementation
 // ============================================================================
@@ -549,7 +545,7 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags)
                 bool ok = ddeTopic == wxT("WWW_OpenURL");
                 if ( ok )
                 {
-                    ddeCmd = keyDDE;
+                    ddeCmd = keyDDE.QueryDefaultValue();
                     ok = !ddeCmd.empty();
                 }