bool wxCheckForInterrupt(wxWindow *wnd)
{
- wxASSERT_MSG(FALSE, "wxCheckForInterrupt not yet implemented.");
+ wxASSERT_MSG(FALSE, wxT("wxCheckForInterrupt not yet implemented."));
return FALSE;
}
// ----------------------------------------------------------------------------
// 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()
+wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
{
static wxToolkitInfo info;
info.shortName = _T("x11univ");
info.versionMajor = 0;
info.versionMinor = 0;
info.os = wxX11;
- return &info;
+ return info;
}
// ----------------------------------------------------------------------------
"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