///////////////////////////////////////////////////////////////////////////////
-// Name: msw/utilsgui.cpp
+// Name: src/msw/utilsgui.cpp
// Purpose: Various utility functions only available in GUI
// Author: Vadim Zeitlin
// Modified by:
// implementation
// ============================================================================
+// Emit a beeeeeep
+void wxBell()
+{
+ ::MessageBeep((UINT)-1); // default sound
+}
+
// ---------------------------------------------------------------------------
// helper functions for showing a "busy" cursor
// ---------------------------------------------------------------------------
void wxGetMousePosition( int* x, int* y )
{
POINT pt;
- GetCursorPos( & pt );
+ wxGetCursorPosMSW( & pt );
if ( x ) *x = pt.x;
if ( y ) *y = pt.y;
}
wxUnusedVar(flags);
WinStruct<SHELLEXECUTEINFO> sei;
- sei.lpFile = document.wx_str();
- sei.lpVerb = wxT("open");
+ sei.lpFile = document.t_str();
#ifdef __WXWINCE__
sei.nShow = SW_SHOWNORMAL; // SW_SHOWDEFAULT not defined under CE (#10216)
#else