X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ddff00c923d454f651aba32c8fe3654fd303e43..ba49d2acf95d53517719c4fd9ac2ad5aaa13540b:/src/os2/utilsgui.cpp diff --git a/src/os2/utilsgui.cpp b/src/os2/utilsgui.cpp index 79b584d217..12aec216ba 100644 --- a/src/os2/utilsgui.cpp +++ b/src/os2/utilsgui.cpp @@ -6,7 +6,7 @@ // Created: 20.08.2003 (extracted from os2/utils.cpp) // RCS-ID: $Id$ // Copyright: (c) David Webster -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -42,6 +42,12 @@ // implementation // ============================================================================ +// Emit a beeeeeep +void wxBell() +{ + DosBeep(1000,1000); // 1kHz during 1 sec. +} + // ---------------------------------------------------------------------------- // functions to work with .INI files // ---------------------------------------------------------------------------- @@ -82,7 +88,7 @@ void wxBeginBusyCursor(const wxCursor* pCursor) void wxEndBusyCursor() { wxCHECK_RET( gs_wxBusyCursorCount > 0 - ,_T("no matching wxBeginBusyCursor() for wxEndBusyCursor()") + ,wxT("no matching wxBeginBusyCursor() for wxEndBusyCursor()") ); if (--gs_wxBusyCursorCount == 0) @@ -116,7 +122,7 @@ bool wxCheckForInterrupt( wxWindow* pWnd ) } else { - wxFAIL_MSG(_T("pWnd==NULL !!!")); + wxFAIL_MSG(wxT("pWnd==NULL !!!")); return false;//*** temporary? } } @@ -859,7 +865,7 @@ wxBitmap wxDisableBitmap( ::GpiSetBitmap(hPS, NULLHANDLE); ::GpiDestroyPS(hPS); ::DevCloseDC(hDC); - if (vNewBmp.Ok()) + if (vNewBmp.IsOk()) return(vNewBmp); return(wxNullBitmap); } // end of wxDisableBitmap