Replaced wxDebugMsg with wxLogError.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-02-09 17:05:24 +00:00
parent 1c52210086
commit b64c979322

View 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;
}