projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compilation error
[wxWidgets.git]
/
src
/
gtk
/
glcanvas.cpp
diff --git
a/src/gtk/glcanvas.cpp
b/src/gtk/glcanvas.cpp
index 7cd95d0cab823cad6abaa973ccd401368eca9eeb..e5f769403bb06aeb92e94a1bb471cdbc08618aab 100644
(file)
--- a/
src/gtk/glcanvas.cpp
+++ b/
src/gtk/glcanvas.cpp
@@
-1,6
+1,6
@@
/////////////////////////////////////////////////////////////////////////////
// Name: gtk/glcanvas.cpp
/////////////////////////////////////////////////////////////////////////////
// Name: gtk/glcanvas.cpp
-// Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWi
ndow
s and GTK
+// Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWi
dget
s and GTK
// Author: Robert Roebling
// Modified by:
// Created: 17/08/98
// Author: Robert Roebling
// Modified by:
// Created: 17/08/98
@@
-322,7
+322,7
@@
bool wxGLCanvas::Create( wxWindow *parent,
wxCHECK_MSG( m_vi, FALSE, _T("required visual couldn't be found") );
GdkVisual *visual = gdkx_visual_get( vi->visualid );
wxCHECK_MSG( m_vi, FALSE, _T("required visual couldn't be found") );
GdkVisual *visual = gdkx_visual_get( vi->visualid );
- GdkColormap *colormap = gdk_colormap_new(
gdkx_visual_get(vi->visualid)
, TRUE );
+ GdkColormap *colormap = gdk_colormap_new(
visual
, TRUE );
gtk_widget_push_colormap( colormap );
gtk_widget_push_visual( visual );
gtk_widget_push_colormap( colormap );
gtk_widget_push_visual( visual );