]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsgui.cpp
Disable the recently added wxFileSystemWatcher unit case under Windows.
[wxWidgets.git] / src / msw / utilsgui.cpp
index 7c44c41a186d65b73173c4759a82e0634b1cf151..b2cce08f54398722b8490e348333f61fa60faec1 100644 (file)
 // implementation
 // ============================================================================
 
+// Emit a beeeeeep
+void wxBell()
+{
+    ::MessageBeep((UINT)-1);        // default sound
+}
+
 // ---------------------------------------------------------------------------
 // helper functions for showing a "busy" cursor
 // ---------------------------------------------------------------------------
@@ -373,7 +379,7 @@ bool wxLaunchDefaultApplication(const wxString& document, int flags)
     wxUnusedVar(flags);
 
     WinStruct<SHELLEXECUTEINFO> sei;
-    sei.lpFile = document.wx_str();
+    sei.lpFile = document.t_str();
 #ifdef __WXWINCE__
     sei.nShow = SW_SHOWNORMAL; // SW_SHOWDEFAULT not defined under CE (#10216)
 #else