From: Mattia Barbon Date: Sun, 9 Feb 2003 17:05:24 +0000 (+0000) Subject: Replaced wxDebugMsg with wxLogError. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b64c979322a661a3fdb3b187aeac9e21bf725ac9?ds=inline Replaced wxDebugMsg with wxLogError. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/glcanvas.cpp b/src/motif/glcanvas.cpp index 776eb9746c..48ce77e6de 100644 --- a/src/motif/glcanvas.cpp +++ b/src/motif/glcanvas.cpp @@ -143,7 +143,7 @@ void wxGLContext::SetColour(const char *colour) if(!XAllocColor((Display*) m_window->GetXDisplay(), (Colormap) wxTheApp->GetMainColormap(m_window->GetXDisplay()), &exact_def)) { - wxDebugMsg("wxGLCanvas: cannot allocate color\n"); + wxLogError("wxGLCanvas: cannot allocate color\n"); return; } pix = the_colour->m_pixel = exact_def.pixel; @@ -245,7 +245,7 @@ bool wxGLCanvas::Create( wxWindow *parent, // Check for the presence of the GLX extension if(!glXQueryExtension(display, NULL, NULL)) { - wxDebugMsg("wxGLCanvas: GLX extension is missing\n"); + wxLogError("wxGLCanvas: GLX extension is missing\n"); return false; }