wxWidgets/samples/mdi
Julian Smart b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
..
bitmaps removing bitmaps from mdi sample 2002-06-12 11:56:01 +00:00
.cvsignore store CodeWarrior 5.3 projects as xml instead of binary projects 2001-12-02 18:11:49 +00:00
chart.ico Initial revision 1998-05-20 14:01:55 +00:00
descrip.mms Committing in . 2000-08-24 10:58:27 +00:00
makefile.b32 Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work; 1999-01-04 21:51:15 +00:00
makefile.bcc Changes for 16-bit BC++ (not there yet), GnuWin32; typetest sample 1998-12-28 12:35:49 +00:00
makefile.dos wxPaintDC -> wxDC in wxListCtrl; fixed compile problems in wxTreeCtrl (return 1998-12-20 23:49:21 +00:00
makefile.g95 Rationalised Cygwin sample makefiles 1999-02-09 15:37:52 +00:00
Makefile.in inserted @IF_GNU_MAKE@ to allow building with other make versions 2002-01-25 11:31:21 +00:00
makefile.sc Initial revision 1998-05-20 14:01:55 +00:00
makefile.sl Added more makefiles; fixed some samples for Cygwin 1999-02-09 16:00:23 +00:00
makefile.twn Sigh, some more makefiles I forgot about (for TWIN32 compilation) 1999-01-25 12:20: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 Renamed .nt makefiles to .vc and factored them out; made DND sample compile 1999-01-24 19:13:55 +00:00
makefile.vms Initial revision 1998-05-20 14:01:55 +00:00
makefile.wat Watcom C++ mods 1999-01-07 15:22:05 +00:00
mdi.cpp Applied patch [ 597398 ] Generic MDI, wxNotebook based. 2002-08-20 09:09:55 +00:00
mdi.def Initial revision 1998-05-20 14:01:55 +00:00
mdi.dsp Updated VC++ files 2002-01-18 14:33:01 +00:00
mdi.h use "..." instead of <...> for wx includes 2002-01-19 14:50:37 +00:00
mdi.ico Initial revision 1998-05-20 14:01:55 +00:00
mdi.pro added new project files for all samples and demos; removed the old ones 2001-10-09 22:30:29 +00:00
mdi.rc removing bitmaps from mdi sample 2002-06-12 11:56:01 +00:00
mdiM5.xml updated CodeWarrior 5.3 exported xml projects 2002-04-07 18:28:15 +00:00
mondrian.ico Initial revision 1998-05-20 14:01:55 +00:00
mondrian.xpm Added bitmaps and icons to samples 1998-07-31 20:04:04 +00:00