X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324899f6c5fa0e052dc718b9b37fc6f557dc78ba..e1983ab58804a0e32ab2d832ded0349af1cc0476:/src/x11/utils.cpp diff --git a/src/x11/utils.cpp b/src/x11/utils.cpp index 22d3476ac8..604a87e828 100644 --- a/src/x11/utils.cpp +++ b/src/x11/utils.cpp @@ -73,7 +73,7 @@ void wxFlushEvents() bool wxCheckForInterrupt(wxWindow *wnd) { - wxASSERT_MSG(FALSE, "wxCheckForInterrupt not yet implemented."); + wxASSERT_MSG(FALSE, wxT("wxCheckForInterrupt not yet implemented.")); return FALSE; } @@ -92,11 +92,14 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) // ---------------------------------------------------------------------------- // Emit a beeeeeep +#ifndef __EMX__ +// on OS/2, we use the wxBell from wxBase library (src/os2/utils.cpp) void wxBell() { // Use current setting for the bell XBell ((Display*) wxGetDisplay(), 0); } +#endif wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo() { @@ -605,8 +608,7 @@ wxString wxGetXEventName(XEvent& event) "ClientMessage", "MappingNotify", // 33-34 "unknown(+)"}; // 35 type = wxMin(35, type); type = wxMax(1, type); - wxString str(event_name[type]); - return str; + return wxString::FromAscii(event_name[type]); #endif } #endif