git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19161
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if(!XAllocColor((Display*) m_window->GetXDisplay(),
(Colormap) wxTheApp->GetMainColormap(m_window->GetXDisplay()),
&exact_def)) {
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;
return;
}
pix = the_colour->m_pixel = exact_def.pixel;
// Check for the presence of the GLX extension
if(!glXQueryExtension(display, NULL, NULL)) {
// 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");