]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix Non-ce MSW unicode builds
authorRyan Norton <wxprojects@comcast.net>
Fri, 22 Apr 2005 15:01:27 +0000 (15:01 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 22 Apr 2005 15:01:27 +0000 (15:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index b98e0b2d5c931b141fbd42084ee6cdb82011fadc..8c42075b45ceb308c5d9f60fab9946c91b9867b5 100644 (file)
@@ -597,13 +597,18 @@ bool wxLaunchDefaultBrowser(const wxString& url)
          LPShellExecute lpShellExecute = 
              (LPShellExecute) ::GetProcAddress(hShellDll, 
              wxString::Format(wxT("ShellExecute%s"), 
+
 #ifdef __WXUNICODE__
              wxT("W")
 #else
              wxT("A")
 #endif
+#ifdef __WXWINCE__
                              )
-                                              );
+#else
+                             ).mb_str(wxConvLocal)
+#endif
+                             );
          if(lpShellExecute == NULL)
              return false;