b9f933ab5d
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 |
||
---|---|---|
.. | ||
tmake | ||
bc.rsp | ||
contrib.rsp | ||
copy_src.bat | ||
copybase.bat | ||
cw.rsp | ||
dialoged.rsp | ||
docsrc.rsp | ||
dsw_files.zip | ||
expdwild.bat | ||
extradoc.rsp | ||
filerepl.bat | ||
generic.rsp | ||
glcanvas.rsp | ||
gtk.rsp | ||
innobott.txt | ||
innotop.txt | ||
jpeg.rsp | ||
mac.rsp | ||
makeall.bat | ||
makedist.sh | ||
makefile.rsp | ||
makeinno.bat | ||
makewise.bat | ||
makewise.sh | ||
microwin.rsp | ||
mmedia.rsp | ||
motif.rsp | ||
msw.rsp | ||
nplugin.rsp | ||
ogl.rsp | ||
os2.rsp | ||
patch.rsp | ||
process_all_samples_bcb.bat | ||
process_sample_bcb.bat | ||
readme.txt | ||
rearchive.bat | ||
splitwise.cpp | ||
stc.rsp | ||
stubs.rsp | ||
tags.cmd | ||
tardist | ||
tardist.bat | ||
tarmicrowin.sh | ||
tarwxmac | ||
tarwxmotif | ||
tex2rtf.rsp | ||
tiff.rsp | ||
univ.rsp | ||
user.rsp | ||
utilmake.rsp | ||
utils.rsp | ||
vc.rsp | ||
vcupdate.bat | ||
wisebott.txt | ||
wisesys.txt | ||
wisetop.txt | ||
wordstyle.dot | ||
wx_chm.rsp | ||
wx_hlp.rsp | ||
wx_htb.rsp | ||
wx_html.rsp | ||
wx_pdf.rsp | ||
wx_word.rsp | ||
wxrc.rsp | ||
wxtree.rsp | ||
wxwin01.bmp | ||
x11.rsp | ||
xml.rsp | ||
zipdist.bat | ||
zipdist.sh | ||
zipdistinno.bat | ||
zipmac.bat | ||
zipmac.sh | ||
zippatch.bat | ||
zipstc.bat | ||
zipxml.bat |
Distribution scripts and lists ----------------------------------------------------------------- This directory (distrib\msw) contains some 4DOS batch files (.bat) and 'response' files (.rsp) to simplify the job of producing distributions. The .rsp files specify which files are associated with a particular module, e.g. wx200vc.rsp refers to the VC++ project files, wx200gen.rsp represents the generic files, wx200msw.rsp specifies the Windows specific files, etc. When making a distribution on Windows, I call zipdist.bat to prepare zip files with everything needed for Windows, GTK and Motif. zipdist then unzips some of them into deliver\wx, removes and adds a few files to perfect the distribution. zipdist then calls 'makewise.bat' to generate a new wxwin2.wse script, for WISE Installer. It takes wisetop.txt, wisebott.txt and adds the section for file installation. (If you've modified wxwin2.wse using WISE Installer, simply compile and run splitwise.exe to put back up-to-date wisetop.txt, wisebott.txt files before running zipdist.) Finally, zipdist runs WISE Installer using a command line argument to produce the setup.* files automatically. Note that although zipdist.bat produces archives for 3 platforms, I only use a subset of these to produce the Windows-specific setup.exe. I then have the option of distributing the zip files as well. You may need to install 4DOS to run these scripts. If anyone wishes to remove 4DOS dependency, that's fine with me. Julian Smart, 11th October 1999