wxWidgets/samples/opengl/cube
Ron Lee 12a3f2275c Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
Made wxSizer child list typesafe.  I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..

Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.

Added {G,S}etSpacer consistent with the accessors for windows/sizers.

Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them.  Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.

s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}

Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.

removed pointless private scoping around DECLARE_CLASS macros.

Replace 0's I added previously with NULL -- not like that will end the
email thread either..

Added Add( wxSizerItem * ) & co.  There are probably a couple of other
places we can usefully do something like this too.  Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.

Updated wxSizer docs some more, they are still incomplete but getting
better.

wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode.  There may be a few left for other ports.

Fixed a couple of other random compile warnings along the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
..
.cvsignore store CodeWarrior 5.3 projects as xml instead of binary projects 2001-12-02 18:11:49 +00:00
cube.cpp Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places. 2003-01-07 10:22:07 +00:00
cube.dsp Added opengl32.lib glu32.lib to OpenGL samples VC++ project files 2003-01-03 18:37:28 +00:00
cube.h patch from Dimitri fixing a few memory leaks and unTABbing the sources 2002-03-17 14:16:03 +00:00
cube.pro updated templates and regenerated project files for OpenGL samples 2001-10-10 12:55:54 +00:00
cube.rc Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
cubeM5.xml updated CW exported xml projects 2002-08-24 21:08:41 +00:00
makefile.b32 Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
makefile.bcc Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
makefile.g95 Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
Makefile.in inserted @IF_GNU_MAKE@ to allow building with other make versions 2002-01-25 11:31:21 +00:00
makefile.unx replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with 2001-11-28 18:10:15 +00:00
makefile.vc Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
makefile.wat Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
mondrian.ico Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00