X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffbd0d14a65e9380350f2d70a76e592c740a4efe..5833988cb7a092f9976c1fb2320d4013f825400a:/src/x11/utils.cpp diff --git a/src/x11/utils.cpp b/src/x11/utils.cpp index ffc6805717..688756efef 100644 --- a/src/x11/utils.cpp +++ b/src/x11/utils.cpp @@ -94,14 +94,11 @@ bool wxCheckForInterrupt(wxWindow *WXUNUSED(wnd)) // ---------------------------------------------------------------------------- // 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 wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const { @@ -365,7 +362,7 @@ void wxAllocColor(Display *d,Colormap cmp,XColor *xc) { if (!XAllocColor(d,cmp,xc)) { - // cout << "wxAllocColor : Warning : Can not allocate color, attempt find nearest !\n"; + // cout << "wxAllocColor : Warning : Cannot allocate color, attempt find nearest !\n"; wxAllocNearestColor(d,cmp,xc); } } @@ -395,10 +392,3 @@ wxString wxGetXEventName(XEvent& event) #endif } -bool wxWindowIsVisible(Window win) -{ - XWindowAttributes wa; - XGetWindowAttributes(wxGlobalDisplay(), win, &wa); - - return (wa.map_state == IsViewable); -}