Added some Motif wxGLCanvas support; some more Motif bugs cured; print dialogs
look OK on Motif now; got rid of some #ifdef wxUSE_... instances git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -255,13 +255,13 @@ bool MyApp::OnInit(void)
|
||||
#endif
|
||||
|
||||
if(!doubleBuffer
|
||||
#ifdef __X__ // JACS
|
||||
#ifdef __WXGTK__ // JACS
|
||||
|| !wxGLCanvas::HaveVisual(gl_attrib)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
printf("don't have double buffer, disabling\n");
|
||||
#ifndef __WXMSW__
|
||||
#ifdef __WXGTK__
|
||||
gl_attrib[9] = None;
|
||||
#endif
|
||||
doubleBuffer = GL_FALSE;
|
||||
|
Reference in New Issue
Block a user