Changed time of sending the wxSizeEvent and assorted things,

this made wxGLCanvas work,
  wxMiniFrame looks correct again,
  Corrected makefile for HTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-14 13:09:01 +00:00
parent 791a21023f
commit 5451765210
18 changed files with 252 additions and 90 deletions

View File

@@ -27,7 +27,6 @@
#include "penguin.h"
#include <GL/glu.h>
#include "wx/gtk/win_gtk.h"
#define VIEW_ASPECT 1.3
@@ -106,14 +105,6 @@ void TestGLCanvas::OnPaint( wxPaintEvent& event )
if (!GetContext()) return;
#endif
printf( "on refresh.\n" );
int x,y;
GtkMyFixed *fixed = GTK_MYFIXED(m_wxwindow);
gdk_window_get_size( m_wxwindow->window, &x, &y );
printf( "-> window %d %d.\n", x, y );
gdk_window_get_size( fixed->bin_window, &x, &y );
printf( "-> bin_window %d %d.\n", x, y );
SetCurrent();
/* initialize OpenGL */
@@ -155,8 +146,6 @@ void TestGLCanvas::OnSize(wxSizeEvent& event)
int width, height;
GetClientSize(& width, & height);
printf( "onsize %d %d.\n", width, height );
#ifndef __WXMOTIF__
if (GetContext())
#endif