]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced wxDebugMsg with wxLogError.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 9 Feb 2003 17:05:24 +0000 (17:05 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 9 Feb 2003 17:05:24 +0000 (17:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/glcanvas.cpp

index 776eb9746c8aea01bb2df8af4abb4a54a9419441..48ce77e6deab85d41e0e31ef6706f8c8fde99ad9 100644 (file)
@@ -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;
     }