From 2b5f62a0b2db198609b45dec622a018dae37008e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 4 Dec 2002 14:11:26 +0000 Subject: [PATCH] merged 2.4 branch into the trunk git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Makefile.in | 83 +- acinclude.m4 | 69 +- aclocal.m4 | 189 +- art/wxwin.ico | Bin 0 -> 1078 bytes art/wxwin16x16.png | Bin 0 -> 1241 bytes art/wxwin16x16.xpm | 25 + art/wxwin32x32.png | Bin 0 -> 1267 bytes art/wxwin32x32.xpm | 41 + config.guess | 348 +- configure | 2479 ++++--- configure.in | 331 +- contrib/configure | 29 +- contrib/configure.in | 16 +- contrib/include/wx/canvas/bbox.h | 2 +- contrib/include/wx/fl/antiflickpl.h | 2 +- contrib/include/wx/fl/bardragpl.h | 2 +- contrib/include/wx/fl/barhintspl.h | 2 +- contrib/include/wx/fl/cbcustom.h | 2 +- contrib/include/wx/fl/controlbar.h | 39 +- contrib/include/wx/fl/dyntbar.h | 17 +- contrib/include/wx/fl/dyntbarhnd.h | 2 +- contrib/include/wx/fl/fldefs.h | 50 + contrib/include/wx/fl/frmview.h | 4 +- contrib/include/wx/fl/garbagec.h | 3 +- contrib/include/wx/fl/gcupdatesmgr.h | 2 +- contrib/include/wx/fl/hintanimpl.h | 8 +- contrib/include/wx/fl/newbmpbtn.h | 10 +- contrib/include/wx/fl/panedrawpl.h | 2 +- contrib/include/wx/fl/rowdragpl.h | 4 +- contrib/include/wx/fl/rowlayoutpl.h | 2 +- contrib/include/wx/fl/toolwnd.h | 15 +- contrib/include/wx/fl/updatesmgr.h | 2 +- contrib/include/wx/ogl/basic.h | 19 +- contrib/include/wx/ogl/basicp.h | 3 +- contrib/include/wx/ogl/bmpshape.h | 2 +- contrib/include/wx/ogl/composit.h | 4 +- contrib/include/wx/ogl/divided.h | 2 +- contrib/include/wx/ogl/drawn.h | 4 +- contrib/include/wx/ogl/drawnp.h | 11 +- contrib/include/wx/ogl/lines.h | 2 +- contrib/include/wx/ogl/ogldiag.h | 2 +- contrib/include/wx/stc/stc.h | 388 +- contrib/include/wx/xrc/xh_all.h | 1 + contrib/include/wx/xrc/xh_scwin.h | 32 + contrib/include/wx/xrc/xmlres.h | 29 +- contrib/samples/animate/AniTestVC.dsp | 4 +- contrib/samples/animate/Makefile.in | 2 +- contrib/samples/applet/Makefile.in | 2 +- contrib/samples/canvas/simple/Makefile.in | 2 +- contrib/samples/canvas/simple/SimpleVC.dsp | 4 +- contrib/samples/canvas/test/Makefile.in | 2 +- contrib/samples/canvas/test/TestVC.dsp | 4 +- contrib/samples/fl/fl_demo1/Makefile.in | 2 +- contrib/samples/fl/fl_demo1/fl_demo.dsp | 69 +- contrib/samples/fl/fl_demo1/makefile.vc | 14 + contrib/samples/fl/fl_demo2/Makefile.in | 2 +- contrib/samples/fl/fl_demo2/fl_demo.dsp | 69 +- contrib/samples/fl/fl_demo2/makefile.vc | 14 + contrib/samples/fl/fl_sample1/Makefile.in | 2 +- contrib/samples/fl/fl_sample1/fl_demo.dsp | 69 +- contrib/samples/fl/fl_sample1/makefile.vc | 14 + contrib/samples/fl/fl_sample2/Makefile.in | 2 +- contrib/samples/fl/fl_sample2/fl_demo.dsp | 69 +- contrib/samples/fl/fl_sample2/makefile.vc | 14 + contrib/samples/fl/fl_sample3/Makefile.in | 2 +- contrib/samples/fl/fl_sample3/fl_demo.dsp | 69 +- contrib/samples/fl/fl_sample3/makefile.vc | 14 + contrib/samples/gizmos/Makefile.in | 2 +- contrib/samples/gizmos/dynsash/Makefile.in | 2 +- contrib/samples/gizmos/dynsash/dynsash.dsp | 4 +- .../samples/gizmos/dynsash_switch/Makefile.in | 2 +- .../gizmos/dynsash_switch/dynsash_switch.dsp | 4 +- contrib/samples/gizmos/editlbox/Makefile.in | 2 +- contrib/samples/gizmos/editlbox/editlbox.dsp | 4 +- contrib/samples/gizmos/led/Makefile.in | 23 + contrib/samples/gizmos/led/led.cpp | 341 + contrib/samples/gizmos/led/led.dsp | 177 + contrib/samples/gizmos/multicell/Makefile.in | 2 +- .../samples/gizmos/multicell/multicell.dsp | 4 +- contrib/samples/gizmos/splittree/Makefile.in | 2 +- contrib/samples/gizmos/splittree/TreeVC.dsp | 4 +- contrib/samples/mmedia/MMboardVC.dsp | 4 +- contrib/samples/mmedia/Makefile.in | 2 +- contrib/samples/ogl/ogledit/Makefile.in | 2 +- contrib/samples/ogl/ogledit/OGLEditVC.dsp | 4 +- contrib/samples/ogl/studio/Makefile.in | 2 +- contrib/samples/ogl/studio/StudioVC.dsp | 2 +- contrib/samples/plot/Makefile.in | 2 +- contrib/samples/plot/PlotVC.dsp | 4 +- contrib/samples/stc/Makefile.in | 2 +- contrib/samples/stc/StcTestVC.dsp | 4 +- contrib/samples/svg/Makefile.in | 2 +- contrib/samples/xrc/Makefile.in | 3 +- contrib/samples/xrc/XrcDemoVC.dsp | 4 +- contrib/samples/xrc/custclas.cpp | 2 +- contrib/samples/xrc/derivdlg.cpp | 2 +- contrib/samples/xrc/myframe.cpp | 24 +- contrib/samples/xrc/xrcdemo.cpp | 22 +- contrib/src/animate/Makefile.in | 9 +- contrib/src/applet/Makefile.in | 9 +- contrib/src/canvas/Makefile.in | 9 +- contrib/src/canvas/bbox.cpp | 2 +- contrib/src/fl/Makefile.in | 9 +- contrib/src/fl/flVC.dsp | 95 +- contrib/src/fl/newbmpbtn.cpp | 48 +- contrib/src/gizmos/Makefile.in | 9 +- contrib/src/gizmos/editlbox.cpp | 2 +- contrib/src/mmedia/Makefile.in | 9 +- contrib/src/mmedia/makefile.b32 | 2 +- contrib/src/mmedia/makefile.g95 | 2 +- contrib/src/net/Makefile.in | 11 +- contrib/src/ogl/Makefile.in | 9 +- contrib/src/ogl/basic.cpp | 2 +- contrib/src/ogl/basic2.cpp | 8 +- contrib/src/ogl/bmpshape.cpp | 4 +- contrib/src/ogl/composit.cpp | 7 +- contrib/src/ogl/divided.cpp | 2 +- contrib/src/ogl/drawn.cpp | 16 +- contrib/src/ogl/lines.cpp | 2 +- contrib/src/ogl/ogldiag.cpp | 2 +- contrib/src/plot/Makefile.in | 8 +- contrib/src/stc/Makefile.in | 10 +- contrib/src/stc/PlatWX.cpp | 2 +- contrib/src/stc/ScintillaWX.cpp | 69 +- contrib/src/stc/ScintillaWX.h | 7 +- contrib/src/stc/gen_iface.py | 111 +- contrib/src/stc/scintilla/include/SString.h | 6 +- .../src/stc/scintilla/include/Scintilla.iface | 4 +- .../src/stc/scintilla/src/ScintillaBase.cxx | 3 +- contrib/src/stc/stc.cpp | 52 +- contrib/src/stc/stc.cpp.in | 48 +- contrib/src/stc/stc.h.in | 22 +- contrib/src/svg/Makefile.in | 10 +- contrib/src/xrc/Makefile.in | 14 +- contrib/src/xrc/XrcVC.dsp | 4 + contrib/src/xrc/makefile.b32 | 2 +- contrib/src/xrc/makefile.g95 | 2 +- contrib/src/xrc/makefile.vc | 2 +- contrib/src/xrc/makefile.wat | 2 +- contrib/src/xrc/xh_dlg.cpp | 2 + contrib/src/xrc/xh_scwin.cpp | 52 + contrib/src/xrc/xmlres.cpp | 94 +- contrib/src/xrc/xmlrsall.cpp | 1 + contrib/utils/convertrc/ConvertVC.dsp | 4 +- contrib/utils/convertrc/rc2xml.h | 2 +- contrib/utils/wxrc/Makefile.in | 2 +- contrib/utils/wxrc/wxRcVC.dsp | 4 +- contrib/utils/wxrc/wxrc.cpp | 259 +- contrib/utils/wxrcedit/Makefile.in | 2 +- contrib/utils/wxrcedit/editor.cpp | 6 +- contrib/utils/wxrcedit/preview.cpp | 9 +- contrib/utils/wxrcedit/preview.h | 4 +- contrib/utils/wxrcedit/wxRcEditVC.dsp | 4 +- debian/changelog | 38 + debian/control.in | 2 +- debian/libwxgtk-contrib-dev.files | 20 +- debian/rules | 6 +- demos/bombs/bombs.dsp | 35 +- demos/dbbrowse/dbbrowse.dsp | 35 +- demos/forty/forty.dsp | 33 +- demos/fractal/fractal.dsp | 35 +- demos/life/life.dsp | 35 +- demos/poem/poem.dsp | 32 +- distrib/msw/contrib.rsp | 20 +- distrib/msw/copybase.bat | 239 +- distrib/msw/filerepl.bat | 1 + distrib/msw/generic.rsp | 27 +- distrib/msw/innobott.txt | 4 +- distrib/msw/innotop.txt | 24 +- distrib/msw/tardist | 466 +- distrib/msw/tarwxall | 1 + distrib/msw/tarwxmac | 10 +- distrib/msw/tarwxx11 | 85 + distrib/msw/tmake/b32.t | 187 +- distrib/msw/tmake/b32base.t | 20 +- distrib/msw/tmake/b32univ.t | 722 --- distrib/msw/tmake/filelist.t | 2 + distrib/msw/tmake/filelist.txt | 37 +- distrib/msw/tmake/g95.t | 5 +- distrib/msw/tmake/gtk.t | 2 - distrib/msw/tmake/mac.t | 1 - distrib/msw/tmake/mgl.t | 1 - distrib/msw/tmake/motif.t | 1 - distrib/msw/tmake/msw.t | 2 - distrib/msw/tmake/vc.t | 11 +- distrib/msw/tmake/vc6app.t | 2 +- distrib/msw/tmake/x11.t | 2 - distrib/msw/vc.rsp | 2 + distrib/msw/zipdistinno.bat | 5 +- distrib/msw/zipmac.bat | 2 +- distrib/msw/zipwxmac.bat | 12 +- distrib/msw/zipwxos2.bat | 11 +- distrib/os2/os2-specific.zip | Bin 126330 -> 130661 bytes docs/changes.txt | 38 + docs/gtk/install.txt | 14 +- docs/html/faq.htm | 45 +- docs/html/faqgen.htm | 60 +- docs/html/faqgtk.htm | 27 +- docs/html/faqmsw.htm | 18 +- docs/html/i18n.htm | 34 +- docs/html/platform.htm | 24 +- docs/latex/wx/category.tex | 1 + docs/latex/wx/classes.tex | 1 + docs/latex/wx/combobox.tex | 2 + docs/latex/wx/config.tex | 13 +- docs/latex/wx/critsect.tex | 2 +- docs/latex/wx/datetime.tex | 32 +- docs/latex/wx/dialog.tex | 2 +- docs/latex/wx/dragimag.tex | 8 + docs/latex/wx/filedlg.tex | 2 +- docs/latex/wx/filename.tex | 20 +- docs/latex/wx/font.tex | 2 +- docs/latex/wx/frame.tex | 4 +- docs/latex/wx/fs_mem.tex | 2 +- docs/latex/wx/ftp.tex | 22 + docs/latex/wx/function.tex | 46 +- docs/latex/wx/helpinst.tex | 2 +- docs/latex/wx/htcontnr.tex | 7 + docs/latex/wx/htparser.tex | 9 + docs/latex/wx/image.tex | 4 +- docs/latex/wx/list.tex | 55 +- docs/latex/wx/listbox.tex | 14 +- docs/latex/wx/listctrl.tex | 17 +- docs/latex/wx/listview.tex | 145 + docs/latex/wx/log.tex | 4 +- docs/latex/wx/longlong.tex | 10 +- docs/latex/wx/manual.tex | 4 +- docs/latex/wx/mbconv.tex | 29 +- docs/latex/wx/menu.tex | 11 +- docs/latex/wx/menuitem.tex | 4 +- docs/latex/wx/node.tex | 47 +- docs/latex/wx/notebook.tex | 3 +- docs/latex/wx/panel.tex | 2 +- docs/latex/wx/radiobut.tex | 3 + docs/latex/wx/scpdarry.tex | 2 +- docs/latex/wx/scpdptr.tex | 2 +- docs/latex/wx/scrolevt.inc | 23 +- docs/latex/wx/scrolwin.tex | 42 +- docs/latex/wx/semaphor.tex | 2 +- docs/latex/wx/sizer.tex | 33 +- docs/latex/wx/statbmp.tex | 4 +- docs/latex/wx/tcommdlg.tex | 2 +- docs/latex/wx/tdb.tex | 6 +- docs/latex/wx/tex2rtf.ini | 6 +- docs/latex/wx/tex2rtf_css.ini | 54 + docs/latex/wx/text.tex | 28 +- docs/latex/wx/tfontenc.tex | 9 +- docs/latex/wx/timer.tex | 2 + docs/latex/wx/treectrl.tex | 41 +- docs/latex/wx/treeevt.tex | 4 +- docs/latex/wx/tsizer.tex | 27 +- docs/latex/wx/tstring.tex | 11 +- docs/latex/wx/ttreectl.tex | 3 +- docs/latex/wx/tunicode.tex | 5 +- docs/latex/wx/upduievt.tex | 1 + docs/latex/wx/valtext.tex | 4 +- docs/latex/wx/window.tex | 58 +- docs/latex/wx/wizard.tex | 30 +- docs/latex/wx/wx.css | 180 + docs/latex/wx/wx.hpj | 2 +- docs/latex/wx/wxgtk.tex | 2 +- docs/latex/wx/wxstring.tex | 2 +- docs/latex/wx/xmlres.tex | 6 + docs/latex/wx/xmlresh.tex | 7 + docs/mac/SetTypeFromExtension.sea.hqx | 5768 +++++++++-------- docs/mac/install.txt | 61 +- docs/mac/readme.txt | 6 +- docs/mgl/install.txt | 15 +- docs/microwin/readme.txt | 2 +- docs/motif/install.txt | 2 +- docs/motif/readme.txt | 4 +- docs/msw/install.txt | 50 +- docs/os2/install.txt | 57 +- docs/publicity/announce.txt | 2 +- docs/publicity/publicity.txt | 14 +- docs/readme.txt | 4 +- docs/tech/tn0010.htm | 78 +- docs/tech/tn0013.txt | 4 +- docs/tech/tn0014.txt | 258 +- docs/univ/readme.txt | 8 +- docs/x11/install.txt | 2 +- docs/x11/readme.txt | 4 +- include/wx/arrimpl.cpp | 4 + include/wx/artprov.h | 6 +- include/wx/buffer.h | 327 +- include/wx/busyinfo.h | 2 +- include/wx/chkconf.h | 25 + include/wx/cmdproc.h | 2 +- include/wx/cmndata.h | 2 + include/wx/colordlg.h | 4 +- include/wx/datetime.h | 25 +- include/wx/datetime.inl | 8 +- include/wx/db.h | 74 +- include/wx/debug.h | 5 +- include/wx/defs.h | 32 +- include/wx/docmdi.h | 80 +- include/wx/docview.h | 41 +- include/wx/dragimag.h | 2 +- include/wx/dynload.h | 26 +- include/wx/encconv.h | 2 +- include/wx/event.h | 27 +- include/wx/filefn.h | 22 +- include/wx/filename.h | 23 +- include/wx/filesys.h | 7 + include/wx/font.h | 6 +- include/wx/fontenc.h | 9 + include/wx/fontutil.h | 6 +- include/wx/frame.h | 2 + include/wx/fs_mem.h | 2 +- include/wx/fs_zip.h | 2 +- include/wx/gdicmn.h | 9 +- include/wx/generic/calctrl.h | 7 +- include/wx/generic/dirctrlg.h | 44 +- include/wx/generic/dragimgg.h | 3 +- include/wx/generic/filedlgg.h | 5 +- include/wx/generic/grid.h | 2 +- include/wx/generic/gridsel.h | 2 +- include/wx/generic/helphtml.h | 2 +- include/wx/generic/laywin.h | 19 +- include/wx/generic/listctrl.h | 6 +- include/wx/generic/mdig.h | 5 + include/wx/generic/panelg.h | 4 +- include/wx/generic/sashwin.h | 30 +- include/wx/generic/scrolwin.h | 2 + include/wx/generic/splitter.h | 4 +- include/wx/generic/statusbr.h | 6 +- include/wx/generic/treectlg.h | 9 + include/wx/generic/treelay.h | 15 +- include/wx/geometry.h | 38 +- include/wx/glcanvas.h | 2 + include/wx/gtk/button.h | 1 + include/wx/gtk/colour.h | 2 +- include/wx/gtk/combobox.h | 2 + include/wx/gtk/dataobj.h | 6 +- include/wx/gtk/dcclient.h | 2 + include/wx/gtk/font.h | 3 + include/wx/gtk/frame.h | 7 + include/wx/gtk/gauge.h | 67 +- include/wx/gtk/glcanvas.h | 67 +- include/wx/gtk/notebook.h | 5 +- include/wx/gtk/region.h | 6 +- include/wx/gtk/scrolbar.h | 2 +- include/wx/gtk/window.h | 15 + include/wx/gtk1/button.h | 1 + include/wx/gtk1/colour.h | 2 +- include/wx/gtk1/combobox.h | 2 + include/wx/gtk1/dataobj.h | 6 +- include/wx/gtk1/dcclient.h | 2 + include/wx/gtk1/font.h | 3 + include/wx/gtk1/frame.h | 7 + include/wx/gtk1/gauge.h | 67 +- include/wx/gtk1/glcanvas.h | 67 +- include/wx/gtk1/notebook.h | 5 +- include/wx/gtk1/region.h | 6 +- include/wx/gtk1/scrolbar.h | 2 +- include/wx/gtk1/window.h | 15 + include/wx/hashmap.h | 15 +- include/wx/helpbase.h | 19 +- include/wx/html/forcelnk.h | 1 - include/wx/html/helpctrl.h | 2 +- include/wx/html/helpdata.h | 12 +- include/wx/html/helpfrm.h | 2 + include/wx/html/htmlcell.h | 3 + include/wx/html/htmlfilt.h | 14 + include/wx/html/htmlpars.h | 15 + include/wx/html/htmprint.h | 4 +- include/wx/html/m_templ.h | 2 +- include/wx/html/winpars.h | 6 + include/wx/image.h | 10 +- include/wx/imaggif.h | 26 +- include/wx/imagiff.h | 7 +- include/wx/imagjpeg.h | 26 +- include/wx/imagpcx.h | 26 +- include/wx/imagpng.h | 26 +- include/wx/imagpnm.h | 26 +- include/wx/imagtiff.h | 28 +- include/wx/imagxpm.h | 26 +- include/wx/list.h | 12 +- include/wx/listctrl.h | 2 +- include/wx/longlong.h | 27 +- include/wx/mac/app.h | 2 + include/wx/mac/dataform.h | 2 +- include/wx/mac/dataobj.h | 2 +- include/wx/mac/dataobj2.h | 4 +- include/wx/mac/frame.h | 3 + include/wx/mac/menu.h | 7 +- include/wx/mac/notebook.h | 4 +- include/wx/mac/private.h | 2 +- include/wx/mac/setup0.h | 85 +- include/wx/mac/textctrl.h | 3 +- include/wx/mac/uma.h | 1 + include/wx/mac/window.h | 2 +- include/wx/motif/statbox.h | 11 +- include/wx/msw/brush.h | 4 +- include/wx/msw/checkbox.h | 59 +- include/wx/msw/checklst.h | 2 +- include/wx/msw/dialog.h | 4 +- include/wx/msw/filedlg.h | 16 +- include/wx/msw/font.h | 5 +- include/wx/msw/gdiimage.h | 2 +- include/wx/msw/gdiobj.h | 2 +- include/wx/msw/glcanvas.h | 24 +- include/wx/msw/listbox.h | 2 +- include/wx/msw/missing.h | 13 + include/wx/msw/notebook.h | 10 +- include/wx/msw/pen.h | 2 +- include/wx/msw/region.h | 47 +- include/wx/msw/setup0.h | 40 +- include/wx/msw/stattext.h | 1 - include/wx/msw/tabctrl.h | 32 +- include/wx/msw/taskbar.h | 2 +- include/wx/msw/textctrl.h | 16 +- include/wx/msw/toplevel.h | 4 - include/wx/msw/treectrl.h | 13 +- include/wx/msw/winundef.h | 15 + include/wx/msw/wx.rc | 5 - include/wx/object.h | 2 +- include/wx/os2/notebook.h | 3 - include/wx/os2/setup0.h | 5 + include/wx/os2/textctrl.h | 5 + include/wx/print.h | 2 +- include/wx/printdlg.h | 6 +- include/wx/prntbase.h | 27 +- include/wx/prop.h | 197 +- include/wx/proplist.h | 305 +- include/wx/sizer.h | 24 + include/wx/stc/stc.h | 388 +- include/wx/strconv.h | 8 +- include/wx/stream.h | 220 +- include/wx/string.h | 10 +- include/wx/textbuf.h | 9 +- include/wx/textfile.h | 2 +- include/wx/txtstrm.h | 21 +- include/wx/univ/listbox.h | 4 +- include/wx/univ/setup.h | 1720 +++-- include/wx/univ/setup0.h | 1328 ++++ include/wx/univ/toplevel.h | 4 +- include/wx/univ/window.h | 2 +- include/wx/utils.h | 2 + include/wx/version.h | 8 +- include/wx/window.h | 35 +- include/wx/wizard.h | 9 + include/wx/wxchar.h | 19 +- include/wx/wxexpr.h | 8 +- include/wx/x11/app.h | 7 + include/wx/x11/colour.h | 5 +- include/wx/x11/dcclient.h | 5 + include/wx/x11/font.h | 22 +- include/wx/x11/private.h | 18 +- include/wx/x11/privx.h | 2 + include/wx/xrc/xh_all.h | 1 + include/wx/xrc/xh_scwin.h | 32 + include/wx/xrc/xmlres.h | 29 +- include/wx_pb.h | 1 + locale/cs.po | 2 +- locale/da.po | 2 +- locale/de.po | 777 +-- locale/es.po | 2 +- locale/fi.po | 2 +- locale/fr.po | 1523 ++--- locale/hu.po | 1506 ++--- locale/id.po | 3713 +++++++++++ locale/it.po | 2 +- locale/nl.po | 1515 ++--- locale/ru.po | 2 +- locale/sl.po | 2 +- locale/sv.po | 2 +- locale/tr.po | 20 +- locale/wxstd.po | 2 +- locale/zh.po | 2 +- misc/languages/langtabl.txt | 2 +- samples/artprov/artprov.dsp | 4 +- samples/calendar/calendar.dsp | 4 +- samples/caret/caret.dsp | 4 +- samples/checklst/checklst.cpp | 4 +- samples/checklst/checklst.dsp | 4 +- samples/config/config.dsp | 4 +- samples/configure.in | 5 + samples/console/console.cpp | 122 +- samples/console/console.dsp | 16 +- samples/console/makefile.b32 | 16 + samples/controls/controls.cpp | 116 +- samples/controls/controls.dsp | 4 +- samples/db/db.dsp | 4 +- samples/dialogs/dialogs.cpp | 13 +- samples/dialogs/dialogs.dsp | 4 +- samples/dialup/dialup.dsp | 4 +- samples/dnd/dnd.dsp | 4 +- samples/docview/docview.dsp | 4 +- samples/docvwmdi/docvwmdi.dsp | 4 +- samples/dragimag/dragimag.dsp | 4 +- samples/drawing/drawing.dsp | 4 +- samples/dynamic/dynamic.dsp | 4 +- samples/erase/erase.cpp | 35 + samples/erase/erase.dsp | 4 +- samples/event/event.dsp | 4 +- samples/exec/exec.cpp | 4 + samples/exec/exec.dsp | 4 +- samples/font/font.cpp | 97 +- samples/font/font.dsp | 4 +- samples/grid/grid.dsp | 4 +- samples/help/help.dsp | 4 +- samples/html/about/about.cpp | 14 +- samples/html/about/about.dsp | 4 +- samples/html/help/help.cpp | 28 +- samples/html/help/help.dsp | 4 +- samples/html/helpview/helpview.cpp | 4 +- samples/html/helpview/helpview.dsp | 4 +- samples/html/printing/printing.cpp | 32 +- samples/html/printing/printing.dsp | 4 +- samples/html/test/test.cpp | 33 +- samples/html/test/test.dsp | 4 +- samples/html/virtual/virtual.cpp | 28 +- samples/html/virtual/virtual.dsp | 4 +- samples/html/widget/widget.cpp | 20 +- samples/html/widget/widget.dsp | 4 +- samples/html/zip/zip.cpp | 20 +- samples/html/zip/zip.dsp | 4 +- samples/image/horse3.ani | Bin 0 -> 17268 bytes samples/image/image.cpp | 41 +- samples/image/image.dsp | 4 +- samples/internat/de/internat.mo | Bin 1105 -> 1417 bytes samples/internat/de/internat.po | 2 +- samples/internat/internat.cpp | 12 +- samples/internat/internat.dsp | 4 +- samples/ipc/client.dsp | 4 +- samples/ipc/server.dsp | 4 +- samples/joytest/joytest.dsp | 4 +- samples/keyboard/keyboard.cpp | 7 +- samples/keyboard/keyboard.dsp | 4 +- samples/keyboard/keyboard.rc | 2 +- samples/layout/layout.cpp | 138 +- samples/layout/layout.dsp | 4 +- samples/layout/layout.h | 14 +- samples/listctrl/listctrl.dsp | 4 +- samples/listctrl/listtest.cpp | 26 +- samples/listctrl/listtest.h | 10 +- samples/mdi/mdi.cpp | 4 +- samples/mdi/mdi.dsp | 4 +- samples/memcheck/memcheck.dsp | 4 +- samples/menu/menu.dsp | 4 +- samples/mfc/mfc.dsp | 4 +- samples/minifram/minifram.dsp | 4 +- samples/minimal/minimal.dsp | 4 +- samples/multimon/Makefile.in | 23 + samples/nativdlg/Makefile.in | 23 + samples/nativdlg/nativdlg.dsp | 4 +- samples/newgrid/griddemo.cpp | 8 +- samples/newgrid/newgrid.dsp | 4 +- samples/notebook/notebook.cpp | 6 +- samples/notebook/notebook.dsp | 4 +- samples/oleauto/Makefile.in | 23 + samples/oleauto/oleauto.dsp | 4 +- samples/opengl/cube/cube.dsp | 4 +- samples/opengl/isosurf/isosurf.dsp | 4 +- samples/opengl/penguin/makefile.unx | 10 +- samples/opengl/penguin/penguin.dsp | 4 +- samples/ownerdrw/Makefile.in | 23 + samples/ownerdrw/ownerdrw.dsp | 4 +- samples/png/png.dsp | 4 +- samples/printing/printing.cpp | 3 +- samples/printing/printing.dsp | 4 +- samples/proplist/proplist.dsp | 4 +- samples/propsize/propsize.dsp | 4 +- samples/regtest/Makefile.in | 23 + samples/regtest/regtest.cpp | 4 +- samples/regtest/regtest.dsp | 4 +- samples/resource/resource.cpp | 4 + samples/resource/resource.dsp | 4 +- samples/rotate/rotate.dsp | 4 +- samples/sashtest/sashtest.dsp | 4 +- samples/scroll/scroll.cpp | 218 +- samples/scroll/scroll.dsp | 4 +- samples/scrollsub/scrollsub.dsp | 4 +- samples/sockets/client.cpp | 2 +- samples/sockets/client.dsp | 4 +- samples/sockets/server.dsp | 4 +- samples/splitter/splitter.dsp | 4 +- samples/statbar/statbar.dsp | 4 +- samples/stc/Makefile.in | 2 +- samples/stc/StcTestVC.dsp | 4 +- samples/svg/Makefile.in | 2 +- samples/taskbar/taskbar.dsp | 4 +- samples/text/text.cpp | 39 +- samples/text/text.dsp | 4 +- samples/thread/thread.dsp | 4 +- samples/toolbar/toolbar.cpp | 97 +- samples/toolbar/toolbar.dsp | 4 +- samples/toolbar/toolbarM5.xml | 3174 +-------- samples/treectrl/treetest.dsp | 4 +- samples/treelay/treelay.dsp | 4 +- samples/typetest/typetest.cpp | 226 +- samples/typetest/typetest.dsp | 4 +- samples/validate/validate.dsp | 4 +- samples/widgets/makefile.unx | 43 + samples/widgets/notebook.cpp | 19 +- samples/widgets/slider.cpp | 6 +- samples/widgets/widgets.dsp | 4 +- samples/widgets/widgets.h | 4 +- samples/wizard/wizard.dsp | 4 +- samples/xrc/Makefile.in | 3 +- samples/xrc/XrcDemoVC.dsp | 4 +- samples/xrc/custclas.cpp | 2 +- samples/xrc/derivdlg.cpp | 2 +- samples/xrc/myframe.cpp | 24 +- samples/xrc/xrcdemo.cpp | 22 +- setup.h.in | 4 + setup.h_vms | 4 + src/common/appcmn.cpp | 19 +- src/common/artprov.cpp | 11 +- src/common/artstd.cpp | 26 +- src/common/cmdline.cpp | 23 +- src/common/cmndata.cpp | 14 +- src/common/config.cpp | 46 +- src/common/containr.cpp | 46 +- src/common/datetime.cpp | 108 +- src/common/datstrm.cpp | 10 +- src/common/db.cpp | 2 +- src/common/dbtable.cpp | 4 +- src/common/dlgcmn.cpp | 101 +- src/common/docview.cpp | 27 +- src/common/dosyacc.c | 10 + src/common/dynarray.cpp | 6 +- src/common/dynload.cpp | 60 +- src/common/event.cpp | 25 +- src/common/execcmn.cpp | 21 +- src/common/fileconf.cpp | 845 ++- src/common/filefn.cpp | 286 +- src/common/filename.cpp | 124 +- src/common/filesys.cpp | 56 +- src/common/fontmap.cpp | 65 +- src/common/fs_inet.cpp | 2 +- src/common/fs_mem.cpp | 2 +- src/common/fs_zip.cpp | 12 +- src/common/ftp.cpp | 2 +- src/common/gdicmn.cpp | 5 +- src/common/geometry.cpp | 2 +- src/common/imagbmp.cpp | 229 +- src/common/image.cpp | 53 +- src/common/imagpng.cpp | 12 +- src/common/imagpnm.cpp | 17 +- src/common/imagxpm.cpp | 38 +- src/common/intl.cpp | 55 +- src/common/log.cpp | 9 +- src/common/menucmn.cpp | 35 +- src/common/mimecmn.cpp | 2 +- src/common/mstream.cpp | 2 +- src/common/paper.cpp | 2 +- src/common/prntbase.cpp | 21 +- src/common/process.cpp | 13 +- src/common/protocol.cpp | 104 +- src/common/regex.cpp | 2 +- src/common/resource.cpp | 2 +- src/common/sckaddr.cpp | 7 +- src/common/sckstrm.cpp | 19 +- src/common/settcmn.cpp | 6 +- src/common/sizer.cpp | 268 +- src/common/strconv.cpp | 109 +- src/common/stream.cpp | 211 +- src/common/string.cpp | 99 +- src/common/timercmn.cpp | 8 + src/common/txtstrm.cpp | 46 +- src/common/unzip.h | 38 +- src/common/url.cpp | 2 +- src/common/utilscmn.cpp | 227 +- src/common/wfstream.cpp | 8 +- src/common/wincmn.cpp | 21 +- src/common/wxchar.cpp | 30 +- src/common/wxexpr.cpp | 2 +- src/common/xpmdecod.cpp | 2 +- src/common/zipstrm.cpp | 10 +- src/common/zstream.cpp | 10 +- src/files.lst | 1 + src/generic/busyinfo.cpp | 2 +- src/generic/calctrl.cpp | 13 + src/generic/dcpsg.cpp | 54 +- src/generic/dirctrlg.cpp | 2 + src/generic/dirdlgg.cpp | 2 +- src/generic/dragimgg.cpp | 2 +- src/generic/filedlgg.cpp | 143 +- src/generic/fontdlgg.cpp | 16 +- src/generic/grid.cpp | 118 +- src/generic/gridsel.cpp | 34 +- src/generic/helpext.cpp | 13 +- src/generic/helphtml.cpp | 10 +- src/generic/listctrl.cpp | 139 +- src/generic/mdig.cpp | 34 +- src/generic/msgdlgg.cpp | 14 +- src/generic/panelg.cpp | 16 +- src/generic/prntdlgg.cpp | 20 +- src/generic/progdlgg.cpp | 2 +- src/generic/propform.cpp | 20 +- src/generic/proplist.cpp | 48 +- src/generic/sashwin.cpp | 72 +- src/generic/scrlwing.cpp | 33 +- src/generic/splitter.cpp | 55 +- src/generic/statusbr.cpp | 130 +- src/generic/tbarsmpl.cpp | 6 +- src/generic/timer.cpp | 10 +- src/generic/treectlg.cpp | 48 +- src/generic/treelay.cpp | 4 +- src/generic/wizard.cpp | 6 +- src/gtk/app.cpp | 151 +- src/gtk/bitmap.cpp | 4 +- src/gtk/button.cpp | 9 + src/gtk/colour.cpp | 7 +- src/gtk/combobox.cpp | 28 +- src/gtk/dataobj.cpp | 5 + src/gtk/dcclient.cpp | 102 +- src/gtk/dialog.cpp | 6 +- src/gtk/files.lst | 3 - src/gtk/font.cpp | 116 +- src/gtk/fontdlg.cpp | 4 +- src/gtk/frame.cpp | 42 +- src/gtk/gauge.cpp | 46 +- src/gtk/glcanvas.cpp | 179 +- src/gtk/listbox.cpp | 2 +- src/gtk/menu.cpp | 153 +- src/gtk/notebook.cpp | 10 +- src/gtk/popupwin.cpp | 2 +- src/gtk/radiobox.cpp | 24 +- src/gtk/region.cpp | 109 +- src/gtk/scrolwin.cpp | 47 +- src/gtk/settings.cpp | 20 +- src/gtk/slider.cpp | 9 +- src/gtk/tbargtk.cpp | 47 +- src/gtk/textctrl.cpp | 16 +- src/gtk/toplevel.cpp | 6 + src/gtk/win_gtk.c | 4 +- src/gtk/window.cpp | 401 +- src/gtk1/app.cpp | 151 +- src/gtk1/bitmap.cpp | 4 +- src/gtk1/button.cpp | 9 + src/gtk1/colour.cpp | 7 +- src/gtk1/combobox.cpp | 28 +- src/gtk1/dataobj.cpp | 5 + src/gtk1/dcclient.cpp | 102 +- src/gtk1/dialog.cpp | 6 +- src/gtk1/files.lst | 3 - src/gtk1/font.cpp | 116 +- src/gtk1/fontdlg.cpp | 4 +- src/gtk1/frame.cpp | 42 +- src/gtk1/gauge.cpp | 46 +- src/gtk1/glcanvas.cpp | 179 +- src/gtk1/listbox.cpp | 2 +- src/gtk1/menu.cpp | 153 +- src/gtk1/notebook.cpp | 10 +- src/gtk1/popupwin.cpp | 2 +- src/gtk1/radiobox.cpp | 24 +- src/gtk1/region.cpp | 109 +- src/gtk1/scrolwin.cpp | 47 +- src/gtk1/settings.cpp | 20 +- src/gtk1/slider.cpp | 9 +- src/gtk1/tbargtk.cpp | 47 +- src/gtk1/textctrl.cpp | 16 +- src/gtk1/toplevel.cpp | 6 + src/gtk1/win_gtk.c | 4 +- src/gtk1/window.cpp | 401 +- src/html/descrip.mms | 5 +- src/html/helpdata.cpp | 67 +- src/html/helpfrm.cpp | 17 +- src/html/htmlcell.cpp | 15 +- src/html/htmlfilt.cpp | 73 +- src/html/htmlpars.cpp | 87 +- src/html/htmltag.cpp | 2 +- src/html/htmlwin.cpp | 2 +- src/html/htmprint.cpp | 13 +- src/html/m_dflist.cpp | 4 +- src/html/m_fonts.cpp | 4 +- src/html/m_hline.cpp | 2 +- src/html/m_image.cpp | 2 +- src/html/m_layout.cpp | 2 +- src/html/m_links.cpp | 12 +- src/html/m_list.cpp | 2 +- src/html/m_meta.cpp | 70 - src/html/m_pre.cpp | 2 +- src/html/m_style.cpp | 2 +- src/html/m_tables.cpp | 2 +- src/html/winpars.cpp | 64 +- src/jpeg/jdcoefct.c | 11 +- src/jpeg/jdinput.c | 5 + src/jpeg/jdtrans.c | 2 +- src/jpeg/jpegint.h | 8 + src/mac/app.cpp | 100 +- src/mac/bitmap.cpp | 81 +- src/mac/carbon/app.cpp | 100 +- src/mac/carbon/bitmap.cpp | 81 +- src/mac/carbon/checklst.cpp | 2 +- src/mac/carbon/cursor.cpp | 5 +- src/mac/carbon/dc.cpp | 3 +- src/mac/carbon/filedlg.cpp | 157 +- src/mac/carbon/files.lst | 5 +- src/mac/carbon/font.cpp | 4 + src/mac/carbon/frame.cpp | 26 + src/mac/carbon/gsocket.c | 6 +- src/mac/carbon/listbox.cpp | 93 +- src/mac/carbon/menu.cpp | 342 +- src/mac/carbon/menuitem.cpp | 89 +- src/mac/carbon/notebmac.cpp | 62 +- src/mac/carbon/printdlg.cpp | 24 +- src/mac/carbon/printmac.cpp | 7 +- src/mac/carbon/textctrl.cpp | 219 +- src/mac/carbon/toolbar.cpp | 7 + src/mac/carbon/tooltip.cpp | 36 +- src/mac/carbon/toplevel.cpp | 24 +- src/mac/carbon/uma.cpp | 167 +- src/mac/carbon/utils.cpp | 6 +- src/mac/carbon/window.cpp | 45 +- src/mac/checklst.cpp | 2 +- src/mac/cursor.cpp | 5 +- src/mac/dc.cpp | 3 +- src/mac/filedlg.cpp | 157 +- src/mac/files.lst | 5 +- src/mac/font.cpp | 4 + src/mac/frame.cpp | 26 + src/mac/gsocket.c | 6 +- src/mac/listbox.cpp | 93 +- src/mac/menu.cpp | 342 +- src/mac/menuitem.cpp | 89 +- src/mac/notebmac.cpp | 62 +- src/mac/printdlg.cpp | 24 +- src/mac/printmac.cpp | 7 +- src/mac/textctrl.cpp | 219 +- src/mac/toolbar.cpp | 7 + src/mac/tooltip.cpp | 36 +- src/mac/toplevel.cpp | 24 +- src/mac/uma.cpp | 167 +- src/mac/utils.cpp | 6 +- src/mac/window.cpp | 45 +- src/make.env.in | 3 +- src/makeb32.env | 16 + src/makeg95.env | 13 +- src/makelib.env.in | 4 +- src/makelib.g95 | 4 +- src/makeprog.b32 | 10 +- src/makeprog.vc | 4 +- src/makeva.env | 6 +- src/makevc.env | 6 +- src/mgl/files.lst | 26 +- src/mgl/makefile.wat | 4 - src/mgl/window.cpp | 3 +- src/microwin/files.lst | 4 +- src/motif/checklst.cpp | 15 +- src/motif/combobox.cpp | 4 +- src/motif/files.lst | 5 +- src/motif/frame.cpp | 11 + src/motif/listbox.cpp | 2 +- src/motif/menu.cpp | 6 +- src/motif/radiobox.cpp | 2 + src/motif/statbox.cpp | 102 +- src/motif/toolbar.cpp | 5 +- src/motif/utils.cpp | 1237 +++- src/motif/window.cpp | 89 +- src/motif/xmcombo/xmcombo.c | 22 +- src/msw/app.cpp | 20 +- src/msw/brush.cpp | 4 +- src/msw/checkbox.cpp | 93 +- src/msw/checklst.cpp | 6 +- src/msw/choice.cpp | 31 +- src/msw/combobox.cpp | 62 +- src/msw/dcprint.cpp | 2 +- src/msw/dialog.cpp | 16 + src/msw/dir.cpp | 33 + src/msw/dragimag.cpp | 8 +- src/msw/filedlg.cpp | 21 +- src/msw/files.lst | 6 +- src/msw/font.cpp | 4 +- src/msw/gdiimage.cpp | 23 +- src/msw/glcanvas.cpp | 4 +- src/msw/helpbest.cpp | 16 +- src/msw/helpchm.cpp | 4 +- src/msw/joystick.cpp | 2 +- src/msw/listbox.cpp | 25 +- src/msw/listctrl.cpp | 141 +- src/msw/makebase.b32 | 20 +- src/msw/makefile.b32 | 713 +- src/msw/makefile.g95 | 6 +- src/msw/makefile.vc | 12 +- src/msw/makefile.wat | 4 - src/msw/makeuniv.b32 | 1397 ---- src/msw/mimetype.cpp | 5 +- src/msw/mslu.cpp | 6 +- src/msw/notebook.cpp | 60 +- src/msw/ole/automtn.cpp | 7 +- src/msw/ole/dataobj.cpp | 2 +- src/msw/ownerdrw.cpp | 4 +- src/msw/pen.cpp | 2 +- src/msw/radiobox.cpp | 2 +- src/msw/radiobut.cpp | 86 +- src/msw/regconf.cpp | 4 +- src/msw/region.cpp | 202 +- src/msw/registry.cpp | 2 +- src/msw/scrolbar.cpp | 59 +- src/msw/slider95.cpp | 17 +- src/msw/slidrmsw.cpp | 16 +- src/msw/stattext.cpp | 12 - src/msw/tabctrl.cpp | 24 +- src/msw/taskbar.cpp | 2 +- src/msw/tbar95.cpp | 18 +- src/msw/textctrl.cpp | 146 +- src/msw/thread.cpp | 2 +- src/msw/tooltip.cpp | 23 +- src/msw/toplevel.cpp | 164 +- src/msw/treectrl.cpp | 46 +- src/msw/utils.cpp | 2 +- src/msw/utilsexc.cpp | 54 +- src/msw/volume.cpp | 2 +- src/msw/window.cpp | 193 +- src/os2/app.cpp | 13 +- src/os2/bitmap.cpp | 2 +- src/os2/combobox.cpp | 33 +- src/os2/dialog.cpp | 10 + src/os2/files.lst | 12 +- src/os2/makefile.va | 3 - src/os2/notebook.cpp | 86 +- src/os2/os2jpeg.def | 2 +- src/os2/os2png.def | 3 +- src/os2/ownerdrw.cpp | 2 +- src/os2/radiobut.cpp | 103 +- src/os2/textctrl.cpp | 47 + src/os2/thread.cpp | 7 +- src/os2/toplevel.cpp | 1 + src/os2/utils.cpp | 2 +- src/os2/window.cpp | 8 + src/os2/wx23.def | 198 +- src/png/ANNOUNCE | 49 +- src/png/CHANGES | 28 +- src/png/INSTALL | 18 +- src/png/KNOWNBUG | 2 +- src/png/LICENSE | 4 +- src/png/README | 16 +- src/png/Y2KINFO | 4 +- src/png/configure | 2 +- src/png/example.c | 2 +- src/png/libpng.3 | 21 +- src/png/libpng.txt | 8 +- src/png/libpngpf.3 | 4 +- src/png/png.5 | 2 +- src/png/png.c | 24 +- src/png/png.h | 29 +- src/png/pngasmrd.h | 2 +- src/png/pngconf.h | 6 +- src/png/pngerror.c | 2 +- src/png/pnggccrd.c | 16 +- src/png/pngget.c | 2 +- src/png/pngmem.c | 2 +- src/png/pngpread.c | 19 +- src/png/pngread.c | 6 +- src/png/pngrio.c | 2 +- src/png/pngrtran.c | 11 +- src/png/pngrutil.c | 13 +- src/png/pngset.c | 2 +- src/png/pngtest.c | 4 +- src/png/pngtrans.c | 2 +- src/png/pngvcrd.c | 2 +- src/png/pngwio.c | 2 +- src/png/pngwrite.c | 2 +- src/png/pngwtran.c | 2 +- src/png/pngwutil.c | 2 +- src/stc/Makefile.in | 10 +- src/stc/PlatWX.cpp | 2 +- src/stc/ScintillaWX.cpp | 69 +- src/stc/ScintillaWX.h | 7 +- src/stc/gen_iface.py | 111 +- src/stc/scintilla/include/SString.h | 6 +- src/stc/scintilla/include/Scintilla.iface | 4 +- src/stc/scintilla/src/ScintillaBase.cxx | 3 +- src/stc/stc.cpp | 52 +- src/stc/stc.cpp.in | 48 +- src/stc/stc.h.in | 22 +- src/univ/listbox.cpp | 14 +- src/univ/notebook.cpp | 13 + src/univ/slider.cpp | 9 +- src/univ/themes/gtk.cpp | 8 +- src/univ/themes/metal.cpp | 2 +- src/univ/toolbar.cpp | 11 +- src/univ/winuniv.cpp | 65 +- src/unix/dialup.cpp | 56 +- src/unix/dir.cpp | 4 - src/unix/fontenum.cpp | 17 +- src/unix/fontutil.cpp | 188 +- src/unix/mimetype.cpp | 93 +- src/unix/threadpsx.cpp | 85 +- src/unix/utilsunx.cpp | 15 +- src/wxBase.dsp | 114 +- src/wxUniv.dsp | 103 +- src/wxWindows.dsp | 24 +- src/wxWindows.pbproj/project.pbxproj | 292 +- src/wxWindowsM7.mcp | Bin 1124733 -> 1091055 bytes src/wxWindowsW7.xml | 80 +- src/wxwindowsM5.xml | 134 +- src/x11/app.cpp | 129 +- src/x11/bitmap.cpp | 6 +- src/x11/data.cpp | 76 +- src/x11/dataobj.cpp | 8 +- src/x11/dcclient.cpp | 155 +- src/x11/dcscreen.cpp | 34 +- src/x11/evtloop.cpp | 35 +- src/x11/files.lst | 3 - src/x11/font.cpp | 647 +- src/x11/glcanvas.cpp | 14 +- src/x11/gsockx11.c | 8 +- src/x11/pango_x.cpp | 290 + src/x11/pangox11.cpp | 276 + src/x11/popupwin.cpp | 3 +- src/x11/reparent.cpp | 10 +- src/x11/settings.cpp | 11 +- src/x11/textctrl.cpp | 188 +- src/x11/toplevel.cpp | 8 + src/x11/utils.cpp | 577 +- src/x11/window.cpp | 134 +- src/xrc/Makefile.in | 14 +- src/xrc/XrcVC.dsp | 4 + src/xrc/makefile.b32 | 2 +- src/xrc/makefile.g95 | 2 +- src/xrc/makefile.vc | 2 +- src/xrc/makefile.wat | 2 +- src/xrc/xh_dlg.cpp | 2 + src/xrc/xh_scwin.cpp | 52 + src/xrc/xmlres.cpp | 94 +- src/xrc/xmlrsall.cpp | 1 + utils/HelpGen/src/HelpGenVC.dsp | 4 +- utils/HelpGen/src/markup.h | 2 +- utils/dialoged/src/DialogEdVC.dsp | 4 +- utils/helpview/src/client.cpp | 298 + utils/helpview/src/client.dsp | 167 + utils/helpview/src/client.h | 87 + utils/helpview/src/client.rc | 1 + utils/helpview/src/helpview.cpp | 429 +- utils/helpview/src/helpview.dsp | 4 +- utils/helpview/src/helpview.h | 78 +- utils/helpview/src/readme.txt | 35 + utils/helpview/src/remhelp.cpp | 409 ++ utils/helpview/src/remhelp.h | 97 + utils/tex2rtf/docs/tex2rtf.hpj | 2 +- utils/tex2rtf/src/Tex2RTFVC.dsp | 2 +- utils/tex2rtf/src/htmlutil.cpp | 67 +- utils/tex2rtf/src/makengui.nt | 2 +- utils/tex2rtf/src/rtfutils.cpp | 18 +- utils/tex2rtf/src/tex2any.cpp | 4 +- utils/tex2rtf/src/tex2any.h | 4 + utils/tex2rtf/src/tex2rtf.cpp | 4 +- utils/tex2rtf/src/texutils.cpp | 25 +- utils/tex2rtf/src/xlputils.cpp | 2 +- utils/tex2rtf/tools/suppresswarnings.sh | 3 + utils/wxrc/Makefile.in | 2 +- utils/wxrc/wxRcVC.dsp | 4 +- utils/wxrc/wxrc.cpp | 259 +- version-script.in | 3 + wx-config.in | 48 +- wxBase.spec | 2 +- wxGTK.spec | 2 +- wxMGL.spec | 123 + wxMotif.spec | 2 +- wxWINE.spec | 2 +- wxX11.spec | 2 +- wxwin.m4 | 4 +- 1057 files changed, 37675 insertions(+), 23904 deletions(-) create mode 100644 art/wxwin.ico create mode 100644 art/wxwin16x16.png create mode 100644 art/wxwin16x16.xpm create mode 100644 art/wxwin32x32.png create mode 100644 art/wxwin32x32.xpm create mode 100644 contrib/include/wx/fl/fldefs.h create mode 100644 contrib/include/wx/xrc/xh_scwin.h create mode 100644 contrib/samples/gizmos/led/Makefile.in create mode 100644 contrib/samples/gizmos/led/led.cpp create mode 100644 contrib/samples/gizmos/led/led.dsp create mode 100644 contrib/src/xrc/xh_scwin.cpp create mode 100755 distrib/msw/tarwxx11 delete mode 100644 distrib/msw/tmake/b32univ.t create mode 100644 docs/latex/wx/listview.tex create mode 100644 docs/latex/wx/tex2rtf_css.ini create mode 100644 docs/latex/wx/wx.css create mode 100644 include/wx/univ/setup0.h create mode 100644 include/wx/xrc/xh_scwin.h create mode 100644 locale/id.po create mode 100644 samples/console/makefile.b32 create mode 100644 samples/image/horse3.ani create mode 100644 samples/multimon/Makefile.in create mode 100644 samples/nativdlg/Makefile.in create mode 100644 samples/oleauto/Makefile.in create mode 100644 samples/ownerdrw/Makefile.in create mode 100644 samples/regtest/Makefile.in create mode 100644 samples/widgets/makefile.unx delete mode 100644 src/html/m_meta.cpp delete mode 100644 src/msw/makeuniv.b32 create mode 100644 src/x11/pango_x.cpp create mode 100644 src/x11/pangox11.cpp create mode 100644 src/xrc/xh_scwin.cpp create mode 100644 utils/helpview/src/client.cpp create mode 100644 utils/helpview/src/client.dsp create mode 100644 utils/helpview/src/client.h create mode 100644 utils/helpview/src/client.rc create mode 100644 utils/helpview/src/readme.txt create mode 100644 utils/helpview/src/remhelp.cpp create mode 100644 utils/helpview/src/remhelp.h create mode 100644 utils/tex2rtf/tools/suppresswarnings.sh create mode 100644 version-script.in create mode 100644 wxMGL.spec diff --git a/Makefile.in b/Makefile.in index bce0b0c21c..de392c7d7b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -391,11 +391,19 @@ afminstall: preinstall $(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/gs_afm $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/afm $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/gs_afm - + m4datainstall: preinstall $(INSTALL) -d $(datadir)/aclocal $(INSTALL_DATA) $(top_srcdir)/wxwin.m4 $(datadir)/aclocal +win32install: preinstall + $(INSTALL) -d $(includedir)/wx/msw + $(INSTALL_DATA) $(top_srcdir)/include/wx/msw/*.cur \ + $(top_srcdir)/include/wx/msw/*.ico \ + $(top_srcdir)/include/wx/msw/*.bmp \ + $(top_srcdir)/include/wx/msw/wx.rc \ + $(includedir)/wx/msw + # this is the real install target: copies the library, wx-config and the # headers to the installation directory preinstall: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config @@ -462,7 +470,7 @@ preinstall_gl: $(build_libdir)/@WX_TARGET_LIBRARY_GL@ @if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi @INSTALL_LIBRARY@ $(build_libdir)/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@ -install: @AFMINSTALL@ @WX_ALL_INSTALLED@ m4datainstall +install: @AFMINSTALL@ @WX_ALL_INSTALLED@ m4datainstall @WIN32INSTALL@ @echo " " @echo " The installation of wxWindows is finished. On certain" @echo " platforms (e.g. Linux) you'll now have to run ldconfig" @@ -493,7 +501,7 @@ uninstall: @$(RM) $(bindir)/wx@TOOLCHAIN_NAME@-config @$(RM) $(datadir)/wx/$(VER_MAJMIN)/afm/* @$(RM) $(datadir)/wx/$(VER_MAJMIN)/gs_afm/* -# FIXME: wxBase doesnt install these next 3 dirs. + # FIXME: wxBase doesnt install these next 3 dirs. @-rmdir $(datadir)/wx/$(VER_MAJMIN)/gs_afm @-rmdir $(datadir)/wx/$(VER_MAJMIN)/afm @-rmdir $(datadir)/wx/$(VER_MAJMIN) @@ -502,6 +510,7 @@ uninstall: @list='$(HEADERS)'; for p in $$list; do \ $(RM) $(includedir)/wx/$$p; \ done + # TODO: uninstall the files installed by win32install @echo " Removing i18n files..." @-for p in $(WX_LINGUAS); do \ $(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \ @@ -536,6 +545,7 @@ ALL_DIST: distclean cp $(WXDIR)/install-sh $(DISTDIR) cp $(WXDIR)/mkinstalldirs $(DISTDIR) cp $(WXDIR)/wx-config.in $(DISTDIR) + cp $(WXDIR)/version-script.in $(DISTDIR) cp $(WXDIR)/setup.h.in $(DISTDIR) cp $(WXDIR)/setup.h_vms $(DISTDIR) cp $(WXDIR)/descrip.mms $(DISTDIR) @@ -580,7 +590,8 @@ ALL_GUI_DIST: ALL_DIST if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \ cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt - cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt + if test -f $(DOCDIR)/$(TOOLKITDIR)/todo.txt ; then \ + cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt ; fi mkdir $(DISTDIR)/include mkdir $(DISTDIR)/include/wx mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR) @@ -777,6 +788,8 @@ MSW_ZIP_TEXT_DIST: ALL_GUI_DIST cp $(SRCDIR)/*.??? $(DISTDIR)/src cp $(SRCDIR)/*.?? $(DISTDIR)/src cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw + mkdir $(DISTDIR)/contrib + cp -R $(WXDIR)/contrib $(DISTDIR) UNIV_DIST: ALL_GUI_DIST mkdir $(DISTDIR)/include/wx/univ @@ -787,6 +800,15 @@ UNIV_DIST: ALL_GUI_DIST cp $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ cp $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes +MGL_DIST: UNIV_DIST + cp $(WXDIR)/wxMGL.spec $(DISTDIR) + cp $(INCDIR)/wx/mgl/*.h $(DISTDIR)/include/wx/mgl + cp $(SRCDIR)/mgl/files.lst $(DISTDIR)/src/mgl + cp $(SRCDIR)/mgl/make* $(DISTDIR)/src/mgl + cp $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl + mkdir $(DISTDIR)/contrib + cp -R $(WXDIR)/contrib $(DISTDIR) + DEMOS_DIST: ALL_GUI_DIST mkdir $(DISTDIR)/demos cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos @@ -842,6 +864,13 @@ SAMPLES_DIST: ALL_GUI_DIST cp $(SAMPDIR)/configure $(DISTDIR)/samples cp $(SAMPDIR)/configure.in $(DISTDIR)/samples + mkdir $(DISTDIR)/samples/artprov + cp $(SAMPDIR)/artprov/Makefile.in $(DISTDIR)/samples/artprov + cp $(SAMPDIR)/artprov/makefile.unx $(DISTDIR)/samples/artprov + cp $(SAMPDIR)/artprov/*.cpp $(DISTDIR)/samples/artprov + cp $(SAMPDIR)/artprov/*.h $(DISTDIR)/samples/artprov + cp $(SAMPDIR)/artprov/*.xpm $(DISTDIR)/samples/artprov + mkdir $(DISTDIR)/samples/calendar cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar @@ -1053,6 +1082,10 @@ SAMPLES_DIST: ALL_GUI_DIST cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest + mkdir $(DISTDIR)/samples/keyboard + cp $(SAMPDIR)/keyboard/Makefile.in $(DISTDIR)/samples/keyboard + cp $(SAMPDIR)/keyboard/*.cpp $(DISTDIR)/samples/keyboard + mkdir $(DISTDIR)/samples/layout cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout @@ -1110,6 +1143,11 @@ SAMPLES_DIST: ALL_GUI_DIST cp $(SAMPDIR)/mobile/wxedit/Makefile.in $(DISTDIR)/samples/mobile/wxedit cp $(SAMPDIR)/mobile/wxedit/*.cpp $(DISTDIR)/samples/mobile/wxedit cp $(SAMPDIR)/mobile/wxedit/*.h $(DISTDIR)/samples/mobile/wxedit + mkdir $(DISTDIR)/samples/mobile/styles + cp $(SAMPDIR)/mobile/styles/Makefile.in $(DISTDIR)/samples/mobile/styles + cp $(SAMPDIR)/mobile/styles/*.cpp $(DISTDIR)/samples/mobile/styles + cp $(SAMPDIR)/mobile/styles/*.h $(DISTDIR)/samples/mobile/styles + cp $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles mkdir $(DISTDIR)/samples/dialup cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup @@ -1305,6 +1343,18 @@ UTILS_DIST: ALL_GUI_DIST cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src + mkdir $(DISTDIR)/utils/emulator + mkdir $(DISTDIR)/utils/emulator/src + mkdir $(DISTDIR)/utils/emulator/docs + cp $(UTILSDIR)/emulator/*.in $(DISTDIR)/utils/emulator + cp $(UTILSDIR)/emulator/src/*.h $(DISTDIR)/utils/emulator/src + cp $(UTILSDIR)/emulator/src/*.in $(DISTDIR)/utils/emulator/src + cp $(UTILSDIR)/emulator/src/*.cpp $(DISTDIR)/utils/emulator/src + cp $(UTILSDIR)/emulator/src/*.jpg $(DISTDIR)/utils/emulator/src + cp $(UTILSDIR)/emulator/src/*.wxe $(DISTDIR)/utils/emulator/src + cp $(UTILSDIR)/emulator/docs/*.txt $(DISTDIR)/utils/emulator/docs + cp $(UTILSDIR)/emulator/docs/*.jpg $(DISTDIR)/utils/emulator/docs + mkdir $(DISTDIR)/utils/makegen mkdir $(DISTDIR)/utils/makegen/templates cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen @@ -1319,7 +1369,29 @@ UTILS_DIST: ALL_GUI_DIST cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src - cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged + mkdir $(DISTDIR)/utils/dialoged + mkdir $(DISTDIR)/utils/dialoged/src + mkdir $(DISTDIR)/utils/dialoged/src/bitmaps + mkdir $(DISTDIR)/utils/dialoged/docs + cp $(UTILSDIR)/dialoged/Makefile.in $(DISTDIR)/utils/dialoged + cp $(UTILSDIR)/dialoged/src/*.h $(DISTDIR)/utils/dialoged/src + cp $(UTILSDIR)/dialoged/src/*.cpp $(DISTDIR)/utils/dialoged/src + cp $(UTILSDIR)/dialoged/src/Makefile.in $(DISTDIR)/utils/dialoged/src + cp $(UTILSDIR)/dialoged/src/makefile.unx $(DISTDIR)/utils/dialoged/src + cp $(UTILSDIR)/dialoged/src/bitmaps/*.xpm $(DISTDIR)/utils/dialoged/src/bitmaps + cp $(UTILSDIR)/dialoged/docs/*.tex $(DISTDIR)/utils/dialoged/docs + cp $(UTILSDIR)/dialoged/docs/*.ini $(DISTDIR)/utils/dialoged/docs + cp $(UTILSDIR)/dialoged/docs/*.gif $(DISTDIR)/utils/dialoged/docs + + mkdir $(DISTDIR)/utils/helpview + mkdir $(DISTDIR)/utils/helpview/src + mkdir $(DISTDIR)/utils/helpview/src/bitmaps + cp $(UTILSDIR)/helpview/Makefile.in $(DISTDIR)/utils/helpview + cp $(UTILSDIR)/helpview/src/*.h $(DISTDIR)/utils/helpview/src + cp $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src + cp $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src + cp $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src + cp $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps MISC_DIST: ALL_GUI_DIST mkdir $(DISTDIR)/misc @@ -1499,6 +1571,7 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER) debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST + cp $(SRCDIR)/files.lst $(DISTDIR)/src debian-msw-dirs: mkdir $(DISTDIR)/include/wx/msw diff --git a/acinclude.m4 b/acinclude.m4 index 47508a0fbc..beffd8ff0d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -19,7 +19,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([WX_PATH_FIND_INCLUDES], [ ac_find_includes= -for ac_dir in $1; +for ac_dir in $1 /usr/include; do if test -f "$ac_dir/$2"; then ac_find_includes=$ac_dir @@ -35,7 +35,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([WX_PATH_FIND_LIBRARIES], [ ac_find_libraries= -for ac_dir in $1; +for ac_dir in $1 /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/lib$2.$ac_extension"; then @@ -51,13 +51,17 @@ dnl Path to include, already defined dnl --------------------------------------------------------------------------- AC_DEFUN([WX_INCLUDE_PATH_EXIST], [ - ac_path_to_include=$1 - echo "$2" | grep "\-I$1" > /dev/null - result=$? - if test $result = 0; then + dnl never add -I/usr/include to the CPPFLAGS + if test "x$1" = "x/usr/include"; then ac_path_to_include="" else - ac_path_to_include=" -I$1" + echo "$2" | grep "\-I$1" > /dev/null + result=$? + if test $result = 0; then + ac_path_to_include="" + else + ac_path_to_include=" -I$1" + fi fi ]) @@ -378,6 +382,57 @@ AC_DEFUN([WX_ARG_ENABLE], ]) +dnl =========================================================================== +dnl Linker features test +dnl =========================================================================== + +dnl --------------------------------------------------------------------------- +dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned +dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use +dnl version script file named versionfile +dnl +dnl call WX_VERSIONED_SYMBOLS(versionfile) +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_VERSIONED_SYMBOLS], +[ + found_versioning=no + + dnl Check for known non-gcc cases: + case "${host}" in + *-*-solaris2* ) + if test "x$GCC" != "xyes" ; then + LDFLAGS_VERSIONING="-M $1" + found_versioning=yes + fi + ;; + esac + + dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC): + if test $found_versioning = no ; then + AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script, + [ + echo "VER_1 { *; };" >conftest.sym + echo "int main() { return 0; }" >conftest.cpp + + if AC_TRY_COMMAND([ + $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp + -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then + if test -s conftest.stderr ; then + wx_cv_version_script=no + else + wx_cv_version_script=yes + fi + else + wx_cv_version_script=no + fi + rm -f conftest.output conftest.stderr conftest.sym conftest.cpp + ]) + if test $wx_cv_version_script = yes ; then + LDFLAGS_VERSIONING="-Wl,--version-script,$1" + fi + fi +]) + dnl =========================================================================== dnl "3rd party" macros included here because they are not widely available diff --git a/aclocal.m4 b/aclocal.m4 index 808ecf4a94..a5d7c56139 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -31,7 +31,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([WX_PATH_FIND_INCLUDES], [ ac_find_includes= -for ac_dir in $1; +for ac_dir in $1 /usr/include; do if test -f "$ac_dir/$2"; then ac_find_includes=$ac_dir @@ -47,7 +47,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([WX_PATH_FIND_LIBRARIES], [ ac_find_libraries= -for ac_dir in $1; +for ac_dir in $1 /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/lib$2.$ac_extension"; then @@ -63,13 +63,17 @@ dnl Path to include, already defined dnl --------------------------------------------------------------------------- AC_DEFUN([WX_INCLUDE_PATH_EXIST], [ - ac_path_to_include=$1 - echo "$2" | grep "\-I$1" > /dev/null - result=$? - if test $result = 0; then + dnl never add -I/usr/include to the CPPFLAGS + if test "x$1" = "x/usr/include"; then ac_path_to_include="" else - ac_path_to_include=" -I$1" + echo "$2" | grep "\-I$1" > /dev/null + result=$? + if test $result = 0; then + ac_path_to_include="" + else + ac_path_to_include=" -I$1" + fi fi ]) @@ -349,6 +353,10 @@ AC_DEFUN([WX_ARG_WITH], dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring) +dnl +dnl enablestring is a hack and allows to show "checking for --disable-foo" +dnl message when running configure instead of the default "checking for +dnl --enable-foo" one whih is useful for the options enabled by default AC_DEFUN([WX_ARG_ENABLE], [ enablestring=$4 @@ -386,6 +394,57 @@ AC_DEFUN([WX_ARG_ENABLE], ]) +dnl =========================================================================== +dnl Linker features test +dnl =========================================================================== + +dnl --------------------------------------------------------------------------- +dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned +dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use +dnl version script file named versionfile +dnl +dnl call WX_VERSIONED_SYMBOLS(versionfile) +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_VERSIONED_SYMBOLS], +[ + found_versioning=no + + dnl Check for known non-gcc cases: + case "${host}" in + *-*-solaris2* ) + if test "x$GCC" != "xyes" ; then + LDFLAGS_VERSIONING="-M $1" + found_versioning=yes + fi + ;; + esac + + dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC): + if test $found_versioning = no ; then + AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script, + [ + echo "VER_1 { *; };" >conftest.sym + echo "int main() { return 0; }" >conftest.cpp + + if AC_TRY_COMMAND([ + $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp + -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then + if test -s conftest.stderr ; then + wx_cv_version_script=no + else + wx_cv_version_script=yes + fi + else + wx_cv_version_script=no + fi + rm -f conftest.output conftest.stderr conftest.sym conftest.cpp + ]) + if test $wx_cv_version_script = yes ; then + LDFLAGS_VERSIONING="-Wl,--version-script,$1" + fi + fi +]) + dnl =========================================================================== dnl "3rd party" macros included here because they are not widely available @@ -729,64 +788,6 @@ main () rm -f conf.gtktest ]) - -dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) -dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page -dnl also defines GSTUFF_PKG_ERRORS on error -AC_DEFUN(PKG_CHECK_MODULES, [ - succeeded=no - - if test -z "$PKG_CONFIG"; then - AC_PATH_PROG(PKG_CONFIG, pkg-config, no) - fi - - if test "$PKG_CONFIG" = "no" ; then - echo "*** The pkg-config script could not be found. Make sure it is" - echo "*** in your path, or set the PKG_CONFIG environment variable" - echo "*** to the full path to pkg-config." - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." - else - PKG_CONFIG_MIN_VERSION=0.9.0 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then - AC_MSG_CHECKING(for $2) - - if $PKG_CONFIG --exists "$2" ; then - AC_MSG_RESULT(yes) - succeeded=yes - - AC_MSG_CHECKING($1_CFLAGS) - $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` - AC_MSG_RESULT($$1_CFLAGS) - - AC_MSG_CHECKING($1_LIBS) - $1_LIBS=`$PKG_CONFIG --libs "$2"` - AC_MSG_RESULT($$1_LIBS) - else - $1_CFLAGS="" - $1_LIBS="" - ## If we have a custom action on failure, don't print errors, but - ## do set a variable so people can do so. - $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - ifelse([$4], ,echo $$1_PKG_ERRORS,) - fi - - AC_SUBST($1_CFLAGS) - AC_SUBST($1_LIBS) - else - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." - echo "*** See http://www.freedesktop.org/software/pkgconfig" - fi - fi - - if test $succeeded = yes; then - ifelse([$3], , :, [$3]) - else - ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) - fi -]) - - - # Configure paths for GTK+ # Owen Taylor 97-11-3 @@ -982,3 +983,61 @@ main () rm -f conf.gtktest ]) + +dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) +dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page +dnl also defines GSTUFF_PKG_ERRORS on error +AC_DEFUN(PKG_CHECK_MODULES, [ + succeeded=no + + if test -z "$PKG_CONFIG"; then + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + AC_MSG_CHECKING(for $2) + + if $PKG_CONFIG --exists "$2" ; then + AC_MSG_RESULT(yes) + succeeded=yes + + AC_MSG_CHECKING($1_CFLAGS) + $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` + AC_MSG_RESULT($$1_CFLAGS) + + AC_MSG_CHECKING($1_LIBS) + $1_LIBS=`$PKG_CONFIG --libs "$2"` + AC_MSG_RESULT($$1_LIBS) + else + $1_CFLAGS="" + $1_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + ifelse([$4], ,echo $$1_PKG_ERRORS,) + fi + + AC_SUBST($1_CFLAGS) + AC_SUBST($1_LIBS) + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + ifelse([$3], , :, [$3]) + else + ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) + fi +]) + + + diff --git a/art/wxwin.ico b/art/wxwin.ico new file mode 100644 index 0000000000000000000000000000000000000000..8d2dc18c6b92c1b714dcca114e1caddc605c2714 GIT binary patch literal 1078 zcmcIjIda1=5Q8i>8qYZTK~!b@3>ADBpWs%%aG!?HNvS>s11xooBu)yC*T#b2E|)AI zpuz=R*ODE6F2EOnw$1up0k;~sbFU+MLVb$B-t!17vJyfjW-bw9B&(3@kCe0`_|uls zo1+;NkL8wwPE-B*t#~#?op$xIw#%+--FZey^Lm#y^_|wNT+i<-YP&Qi>-YV#^RL$X zw*5Q340^+Y9ykPQ8p9BQ`UHh{WN*n|%Yb=M=EF@X$>%N65wp)D*XI%FaaQPQBW5mN z@;Uv;fxw5D{xkj+bCcW*&i7fb=LB4S^vR0{?%1Sg>G8Lqh{7 z`GS%$hyv1}1pWWN-TN(XfCB$Yg8YKP0wa}RxN(!G5Ev4Uo-U3d6}P6Ix8`C{;Bh(l zws+_MRMyXeG0m;}&ME421Rj!BP|lERzQ+*b@coUV(niME1#Feu4xVV&y5M%`=JDrh Y3AgIcu*N=31RBQR>FVdQ&MBb@0A8AA3jhEB literal 0 HcmV?d00001 diff --git a/art/wxwin16x16.xpm b/art/wxwin16x16.xpm new file mode 100644 index 0000000000..9964e69313 --- /dev/null +++ b/art/wxwin16x16.xpm @@ -0,0 +1,25 @@ +/* XPM */ +static char *wxwin16x16_xpm[] = { +"16 16 6 1", +" c None", +". c #000000", +"X c #000084", +"o c #FFFFFF", +"O c #FFFF00", +"+ c #FF0000", +" ", +" ", +" ", +" ....... ", +" .XXXXX. ", +" .oXXXX. ", +" .oXXX.......", +".....oXXX.OOOOO.", +".+++.XXXX.oOOOO.", +".o++......oOOOO.", +".o++++. .oOOOO.", +".o++++. .OOOOO.", +".+++++. .......", +"....... ", +" ", +" "}; diff --git a/art/wxwin32x32.png b/art/wxwin32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..20eda44161cbf3397a03b044cea10b78ddbb76db GIT binary patch literal 1267 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyq9v{oCC){ui6xo&c?uz!xv327 zm$+F4m5iBJ-(Ch(z+U3%>k1aqREmFh@I6q7v%n*=n1O*?2!t6g-L3n>z`)E9;1l8s zlxzUw1~AnCK@<0elbFeIWqT^vIyZk@gC$aO%0$K~S9 z@aO-g>vFK&TIqH~XG{HGF*TPvlRv08_{;5BqM)#y@dq>KiAg6EJ*F`g@lIfyC%EXr zS@v%etUmBv(8=Ob`EvYu!?O(c<5iCyw>UEL&Sg0w-!<(X&>99$S3j3^P6. -# Please send patches to . +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and @@ -87,30 +88,40 @@ if test $# != 0; then exit 1 fi +trap 'exit 1' 1 2 15 -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. -# CC_FOR_BUILD -- compiler used by this script. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int dummy(){}" > $dummy.c ; - for c in cc gcc c89 ; do - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; - if test $? = 0 ; then +# This shell variable is my proudest work .. or something. --bje + +set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; +(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) + || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; +dummy=$tmpdir/dummy ; +files="$dummy.c $dummy.o $dummy.rel $dummy" ; +trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; - rm -f $dummy.c $dummy.o $dummy.rel ; + rm -f $files ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac' +esac ; +unset files' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) @@ -127,29 +138,30 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) - # Netbsd (nbsd) targets should (where applicable) match one or + # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. - # Determine the machine/vendor (is the vendor relevant). - case "${UNAME_MACHINE}" in - amiga) machine=m68k-unknown ;; - arm32) machine=arm-unknown ;; - atari*) machine=m68k-atari ;; - sun3*) machine=m68k-sun ;; - mac68k) machine=m68k-apple ;; - macppc) machine=powerpc-apple ;; - hp3[0-9][05]) machine=m68k-hp ;; - ibmrt|romp-ibm) machine=romp-ibm ;; - *) machine=${UNAME_MACHINE}-unknown ;; + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. - case "${UNAME_MACHINE}" in - i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null @@ -172,6 +184,45 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` @@ -180,6 +231,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. + eval $set_cc_for_build cat <$dummy.s .data \$Lformat: @@ -205,10 +257,9 @@ main: jsr \$26,exit .end main EOF - eval $set_cc_for_build $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null if test "$?" = 0 ; then - case `./$dummy` in + case `$dummy` in 0-0) UNAME_MACHINE="alpha" ;; @@ -230,9 +281,12 @@ EOF 2-1307) UNAME_MACHINE="alphaev68" ;; + 3-1307) + UNAME_MACHINE="alphaev7" + ;; esac fi - rm -f $dummy.s $dummy + rm -f $dummy.s $dummy && rmdir $tmpdir echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha\ *:Windows_NT*:*) @@ -247,29 +301,11 @@ EOF Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition @@ -291,6 +327,10 @@ EOF NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; + DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; @@ -319,7 +359,7 @@ EOF echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -333,12 +373,6 @@ EOF aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; - sparc*:NetBSD:*) - echo `uname -p`-unknown-netbsd${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -365,18 +399,6 @@ EOF *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; @@ -416,14 +438,20 @@ EOF } EOF $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 + rm -f $dummy.c $dummy && rmdir $tmpdir echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:*:*:PowerMAX_OS) + echo powerpc-harris-powermax + exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; @@ -496,8 +524,8 @@ EOF exit(0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 + rm -f $dummy.c $dummy && rmdir $tmpdir echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 @@ -506,7 +534,7 @@ EOF fi exit 0 ;; *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else @@ -546,10 +574,8 @@ EOF 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - case "${HPUX_REV}" in - 11.[0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 @@ -558,13 +584,13 @@ EOF case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac - fi ;; - esac - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include @@ -597,10 +623,10 @@ EOF exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy - fi ;; + (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy` + if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi + rm -f $dummy.c $dummy && rmdir $tmpdir + fi ;; esac echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; @@ -635,8 +661,8 @@ EOF exit (0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 + rm -f $dummy.c $dummy && rmdir $tmpdir echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) @@ -664,9 +690,6 @@ EOF parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; - hppa*:OpenBSD:*:*) - echo hppa-unknown-openbsd - exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; @@ -685,9 +708,6 @@ EOF C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; @@ -709,18 +729,12 @@ EOF CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; @@ -731,10 +745,19 @@ EOF echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Determine whether the default compiler uses glibc. + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #if __GLIBC__ >= 2 + LIBC=gnu + #else + LIBC= + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + rm -f $dummy.c && rmdir $tmpdir + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -745,6 +768,9 @@ EOF i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; + x86:Interix*:3*) + echo i386-pc-interix3 + exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -770,16 +796,30 @@ EOF echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux + echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; mips:Linux:*:*) - case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in - big) echo mips-unknown-linux-gnu && exit 0 ;; - little) echo mipsel-unknown-linux-gnu && exit 0 ;; - esac + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + rm -f $dummy.c && rmdir $tmpdir + test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu @@ -828,7 +868,8 @@ EOF # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. - ld_supported_targets=`cd /; ld --help 2>&1 \ + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// @@ -840,7 +881,7 @@ EOF ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; + exit 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; @@ -852,32 +893,29 @@ EOF esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build - cat >$dummy.c < -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-pc-linux-gnu\n", argv[1]); -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-pc-linux-gnuaout\n", argv[1]); -#endif - return 0; -} + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + rm -f $dummy.c && rmdir $tmpdir + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; i*86:DYNIX/ptx:4*:*) @@ -915,13 +953,13 @@ EOF UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else @@ -954,9 +992,12 @@ EOF # "miniframe" echo m68010-convergent-sysv exit 0 ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -1047,6 +1088,9 @@ EOF SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; @@ -1057,15 +1101,17 @@ EOF echo `uname -p`-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo `uname -p`-${UNAME_MACHINE}-nto-qnx + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; - NSR-[KW]:NONSTOP_KERNEL:*:*) + NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) @@ -1237,8 +1283,8 @@ main () } EOF -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy +$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 +rm -f $dummy.c $dummy && rmdir $tmpdir # Apollos put the system type in the environment. diff --git a/configure b/configure index 53b06bcd3a..8e3ce97d62 100755 --- a/configure +++ b/configure @@ -52,6 +52,9 @@ + + + @@ -61,13 +64,13 @@ +# Configure paths for GTK+ +# Owen Taylor 97-11-3 -# Configure paths for GTK+ -# Owen Taylor 97-11-3 @@ -1014,7 +1017,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:1018: checking host system type" >&5 +echo "configure:1021: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -1035,7 +1038,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:1039: checking target system type" >&5 +echo "configure:1042: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -1053,7 +1056,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:1057: checking build system type" >&5 +echo "configure:1060: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -1079,7 +1082,7 @@ test "$host_alias" != "$target_alias" && WX_MAJOR_VERSION_NUMBER=2 WX_MINOR_VERSION_NUMBER=3 -WX_RELEASE_NUMBER=3 +WX_RELEASE_NUMBER=4 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER @@ -1239,11 +1242,11 @@ EOF USE_BSD=1 USE_OPENBSD=1 cat >> confdefs.h <<\EOF -#define __FREEBSD__ 1 +#define __OPENBSD__ 1 EOF cat >> confdefs.h <<\EOF -#define __OPENBSD__ 1 +#define __BSD__ 1 EOF DEFAULT_DEFAULT_wxUSE_GTK=1 @@ -1252,11 +1255,11 @@ EOF USE_BSD=1 USE_NETBSD=1 cat >> confdefs.h <<\EOF -#define __FREEBSD__ 1 +#define __NETBSD__ 1 EOF cat >> confdefs.h <<\EOF -#define __NETBSD__ 1 +#define __BSD__ 1 EOF DEFAULT_DEFAULT_wxUSE_GTK=1 @@ -1305,7 +1308,7 @@ EOF USE_AIX=1 USE_SYSV=1 USE_SVR4=1 - SO_SUFFIX=a + SO_SUFFIX=a cat >> confdefs.h <<\EOF #define __AIX__ 1 EOF @@ -1648,8 +1651,8 @@ else DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes - DEFAULT_wxUSE_PROLOGIO=yes - DEFAULT_wxUSE_RESOURCES=yes + DEFAULT_wxUSE_PROLOGIO=no + DEFAULT_wxUSE_RESOURCES=no DEFAULT_wxUSE_CONSTRAINTS=yes DEFAULT_wxUSE_IPC=yes DEFAULT_wxUSE_HELP=yes @@ -1759,7 +1762,7 @@ done enablestring= echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6 -echo "configure:1763: checking for --${enablestring:-enable}-gui" >&5 +echo "configure:1766: checking for --${enablestring:-enable}-gui" >&5 no_cache=0 # Check whether --enable-gui or --disable-gui was given. if test "${enable_gui+set}" = set; then @@ -1802,7 +1805,7 @@ if test "$wxUSE_GUI" = "yes"; then enablestring= echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6 -echo "configure:1806: checking for --${enablestring:-enable}-universal" >&5 +echo "configure:1809: checking for --${enablestring:-enable}-universal" >&5 no_cache=0 # Check whether --enable-universal or --disable-universal was given. if test "${enable_universal+set}" = set; then @@ -1896,7 +1899,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6 -echo "configure:1900: checking for --${enablestring:-enable}-nanox" >&5 +echo "configure:1903: checking for --${enablestring:-enable}-nanox" >&5 no_cache=0 # Check whether --enable-nanox or --disable-nanox was given. if test "${enable_nanox+set}" = set; then @@ -1937,7 +1940,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6 -echo "configure:1941: checking for --${enablestring:-enable}-gtk2" >&5 +echo "configure:1944: checking for --${enablestring:-enable}-gtk2" >&5 no_cache=0 # Check whether --enable-gtk2 or --disable-gtk2 was given. if test "${enable_gtk2+set}" = set; then @@ -1977,7 +1980,7 @@ fi echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6 -echo "configure:1981: checking for --with-libpng" >&5 +echo "configure:1984: checking for --with-libpng" >&5 no_cache=0 # Check whether --with-libpng or --without-libpng was given. if test "${with_libpng+set}" = set; then @@ -2028,7 +2031,7 @@ fi echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6 -echo "configure:2032: checking for --with-libjpeg" >&5 +echo "configure:2035: checking for --with-libjpeg" >&5 no_cache=0 # Check whether --with-libjpeg or --without-libjpeg was given. if test "${with_libjpeg+set}" = set; then @@ -2079,7 +2082,7 @@ fi echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6 -echo "configure:2083: checking for --with-libtiff" >&5 +echo "configure:2086: checking for --with-libtiff" >&5 no_cache=0 # Check whether --with-libtiff or --without-libtiff was given. if test "${with_libtiff+set}" = set; then @@ -2130,7 +2133,7 @@ fi echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6 -echo "configure:2134: checking for --with-opengl" >&5 +echo "configure:2137: checking for --with-opengl" >&5 no_cache=0 # Check whether --with-opengl or --without-opengl was given. if test "${with_opengl+set}" = set; then @@ -2172,7 +2175,7 @@ fi echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6 -echo "configure:2176: checking for --with-dmalloc" >&5 +echo "configure:2179: checking for --with-dmalloc" >&5 no_cache=0 # Check whether --with-dmalloc or --without-dmalloc was given. if test "${with_dmalloc+set}" = set; then @@ -2211,7 +2214,7 @@ fi echo $ac_n "checking for --with-regex""... $ac_c" 1>&6 -echo "configure:2215: checking for --with-regex" >&5 +echo "configure:2218: checking for --with-regex" >&5 no_cache=0 # Check whether --with-regex or --without-regex was given. if test "${with_regex+set}" = set; then @@ -2262,7 +2265,7 @@ fi echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6 -echo "configure:2266: checking for --with-zlib" >&5 +echo "configure:2269: checking for --with-zlib" >&5 no_cache=0 # Check whether --with-zlib or --without-zlib was given. if test "${with_zlib+set}" = set; then @@ -2313,7 +2316,7 @@ fi echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6 -echo "configure:2317: checking for --with-odbc" >&5 +echo "configure:2320: checking for --with-odbc" >&5 no_cache=0 # Check whether --with-odbc or --without-odbc was given. if test "${with_odbc+set}" = set; then @@ -2355,7 +2358,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6 -echo "configure:2359: checking for --${enablestring:-enable}-shared" >&5 +echo "configure:2362: checking for --${enablestring:-enable}-shared" >&5 no_cache=0 # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then @@ -2395,7 +2398,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6 -echo "configure:2399: checking for --${enablestring:-enable}-soname" >&5 +echo "configure:2402: checking for --${enablestring:-enable}-soname" >&5 no_cache=0 # Check whether --enable-soname or --disable-soname was given. if test "${enable_soname+set}" = set; then @@ -2435,7 +2438,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6 -echo "configure:2439: checking for --${enablestring:-enable}-optimise" >&5 +echo "configure:2442: checking for --${enablestring:-enable}-optimise" >&5 no_cache=0 # Check whether --enable-optimise or --disable-optimise was given. if test "${enable_optimise+set}" = set; then @@ -2475,7 +2478,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6 -echo "configure:2479: checking for --${enablestring:-enable}-debug" >&5 +echo "configure:2482: checking for --${enablestring:-enable}-debug" >&5 no_cache=0 # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then @@ -2516,7 +2519,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6 -echo "configure:2520: checking for --${enablestring:-enable}-precomp" >&5 +echo "configure:2523: checking for --${enablestring:-enable}-precomp" >&5 no_cache=0 # Check whether --enable-precomp or --disable-precomp was given. if test "${enable_precomp+set}" = set; then @@ -2565,7 +2568,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6 -echo "configure:2569: checking for --${enablestring:-enable}-debug_flag" >&5 +echo "configure:2572: checking for --${enablestring:-enable}-debug_flag" >&5 no_cache=0 # Check whether --enable-debug_flag or --disable-debug_flag was given. if test "${enable_debug_flag+set}" = set; then @@ -2605,7 +2608,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6 -echo "configure:2609: checking for --${enablestring:-enable}-debug_info" >&5 +echo "configure:2612: checking for --${enablestring:-enable}-debug_info" >&5 no_cache=0 # Check whether --enable-debug_info or --disable-debug_info was given. if test "${enable_debug_info+set}" = set; then @@ -2645,7 +2648,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6 -echo "configure:2649: checking for --${enablestring:-enable}-debug_gdb" >&5 +echo "configure:2652: checking for --${enablestring:-enable}-debug_gdb" >&5 no_cache=0 # Check whether --enable-debug_gdb or --disable-debug_gdb was given. if test "${enable_debug_gdb+set}" = set; then @@ -2685,7 +2688,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6 -echo "configure:2689: checking for --${enablestring:-enable}-debug_cntxt" >&5 +echo "configure:2692: checking for --${enablestring:-enable}-debug_cntxt" >&5 no_cache=0 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given. if test "${enable_debug_cntxt+set}" = set; then @@ -2725,7 +2728,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6 -echo "configure:2729: checking for --${enablestring:-enable}-mem_tracing" >&5 +echo "configure:2732: checking for --${enablestring:-enable}-mem_tracing" >&5 no_cache=0 # Check whether --enable-mem_tracing or --disable-mem_tracing was given. if test "${enable_mem_tracing+set}" = set; then @@ -2765,7 +2768,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6 -echo "configure:2769: checking for --${enablestring:-enable}-profile" >&5 +echo "configure:2772: checking for --${enablestring:-enable}-profile" >&5 no_cache=0 # Check whether --enable-profile or --disable-profile was given. if test "${enable_profile+set}" = set; then @@ -2805,7 +2808,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6 -echo "configure:2809: checking for --${enablestring:-enable}-no_rtti" >&5 +echo "configure:2812: checking for --${enablestring:-enable}-no_rtti" >&5 no_cache=0 # Check whether --enable-no_rtti or --disable-no_rtti was given. if test "${enable_no_rtti+set}" = set; then @@ -2845,7 +2848,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6 -echo "configure:2849: checking for --${enablestring:-enable}-no_exceptions" >&5 +echo "configure:2852: checking for --${enablestring:-enable}-no_exceptions" >&5 no_cache=0 # Check whether --enable-no_exceptions or --disable-no_exceptions was given. if test "${enable_no_exceptions+set}" = set; then @@ -2885,7 +2888,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6 -echo "configure:2889: checking for --${enablestring:-enable}-permissive" >&5 +echo "configure:2892: checking for --${enablestring:-enable}-permissive" >&5 no_cache=0 # Check whether --enable-permissive or --disable-permissive was given. if test "${enable_permissive+set}" = set; then @@ -2925,7 +2928,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6 -echo "configure:2929: checking for --${enablestring:-enable}-no_deps" >&5 +echo "configure:2932: checking for --${enablestring:-enable}-no_deps" >&5 no_cache=0 # Check whether --enable-no_deps or --disable-no_deps was given. if test "${enable_no_deps+set}" = set; then @@ -2966,7 +2969,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6 -echo "configure:2970: checking for --${enablestring:-enable}-compat20" >&5 +echo "configure:2973: checking for --${enablestring:-enable}-compat20" >&5 no_cache=0 # Check whether --enable-compat20 or --disable-compat20 was given. if test "${enable_compat20+set}" = set; then @@ -3006,7 +3009,7 @@ fi enablestring=disable echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6 -echo "configure:3010: checking for --${enablestring:-enable}-compat22" >&5 +echo "configure:3013: checking for --${enablestring:-enable}-compat22" >&5 no_cache=0 # Check whether --enable-compat22 or --disable-compat22 was given. if test "${enable_compat22+set}" = set; then @@ -3060,7 +3063,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6 -echo "configure:3064: checking for --${enablestring:-enable}-intl" >&5 +echo "configure:3067: checking for --${enablestring:-enable}-intl" >&5 no_cache=0 # Check whether --enable-intl or --disable-intl was given. if test "${enable_intl+set}" = set; then @@ -3100,7 +3103,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6 -echo "configure:3104: checking for --${enablestring:-enable}-config" >&5 +echo "configure:3107: checking for --${enablestring:-enable}-config" >&5 no_cache=0 # Check whether --enable-config or --disable-config was given. if test "${enable_config+set}" = set; then @@ -3141,7 +3144,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6 -echo "configure:3145: checking for --${enablestring:-enable}-protocols" >&5 +echo "configure:3148: checking for --${enablestring:-enable}-protocols" >&5 no_cache=0 # Check whether --enable-protocols or --disable-protocols was given. if test "${enable_protocols+set}" = set; then @@ -3181,7 +3184,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6 -echo "configure:3185: checking for --${enablestring:-enable}-ftp" >&5 +echo "configure:3188: checking for --${enablestring:-enable}-ftp" >&5 no_cache=0 # Check whether --enable-ftp or --disable-ftp was given. if test "${enable_ftp+set}" = set; then @@ -3221,7 +3224,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6 -echo "configure:3225: checking for --${enablestring:-enable}-http" >&5 +echo "configure:3228: checking for --${enablestring:-enable}-http" >&5 no_cache=0 # Check whether --enable-http or --disable-http was given. if test "${enable_http+set}" = set; then @@ -3261,7 +3264,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6 -echo "configure:3265: checking for --${enablestring:-enable}-fileproto" >&5 +echo "configure:3268: checking for --${enablestring:-enable}-fileproto" >&5 no_cache=0 # Check whether --enable-fileproto or --disable-fileproto was given. if test "${enable_fileproto+set}" = set; then @@ -3301,7 +3304,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6 -echo "configure:3305: checking for --${enablestring:-enable}-sockets" >&5 +echo "configure:3308: checking for --${enablestring:-enable}-sockets" >&5 no_cache=0 # Check whether --enable-sockets or --disable-sockets was given. if test "${enable_sockets+set}" = set; then @@ -3341,7 +3344,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6 -echo "configure:3345: checking for --${enablestring:-enable}-ole" >&5 +echo "configure:3348: checking for --${enablestring:-enable}-ole" >&5 no_cache=0 # Check whether --enable-ole or --disable-ole was given. if test "${enable_ole+set}" = set; then @@ -3381,7 +3384,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6 -echo "configure:3385: checking for --${enablestring:-enable}-dataobj" >&5 +echo "configure:3388: checking for --${enablestring:-enable}-dataobj" >&5 no_cache=0 # Check whether --enable-dataobj or --disable-dataobj was given. if test "${enable_dataobj+set}" = set; then @@ -3422,7 +3425,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6 -echo "configure:3426: checking for --${enablestring:-enable}-ipc" >&5 +echo "configure:3429: checking for --${enablestring:-enable}-ipc" >&5 no_cache=0 # Check whether --enable-ipc or --disable-ipc was given. if test "${enable_ipc+set}" = set; then @@ -3463,7 +3466,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6 -echo "configure:3467: checking for --${enablestring:-enable}-cmdline" >&5 +echo "configure:3470: checking for --${enablestring:-enable}-cmdline" >&5 no_cache=0 # Check whether --enable-cmdline or --disable-cmdline was given. if test "${enable_cmdline+set}" = set; then @@ -3503,7 +3506,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6 -echo "configure:3507: checking for --${enablestring:-enable}-datetime" >&5 +echo "configure:3510: checking for --${enablestring:-enable}-datetime" >&5 no_cache=0 # Check whether --enable-datetime or --disable-datetime was given. if test "${enable_datetime+set}" = set; then @@ -3543,7 +3546,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6 -echo "configure:3547: checking for --${enablestring:-enable}-timedate" >&5 +echo "configure:3550: checking for --${enablestring:-enable}-timedate" >&5 no_cache=0 # Check whether --enable-timedate or --disable-timedate was given. if test "${enable_timedate+set}" = set; then @@ -3583,7 +3586,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6 -echo "configure:3587: checking for --${enablestring:-enable}-stopwatch" >&5 +echo "configure:3590: checking for --${enablestring:-enable}-stopwatch" >&5 no_cache=0 # Check whether --enable-stopwatch or --disable-stopwatch was given. if test "${enable_stopwatch+set}" = set; then @@ -3623,7 +3626,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6 -echo "configure:3627: checking for --${enablestring:-enable}-dialupman" >&5 +echo "configure:3630: checking for --${enablestring:-enable}-dialupman" >&5 no_cache=0 # Check whether --enable-dialupman or --disable-dialupman was given. if test "${enable_dialupman+set}" = set; then @@ -3663,7 +3666,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6 -echo "configure:3667: checking for --${enablestring:-enable}-apple_ieee" >&5 +echo "configure:3670: checking for --${enablestring:-enable}-apple_ieee" >&5 no_cache=0 # Check whether --enable-apple_ieee or --disable-apple_ieee was given. if test "${enable_apple_ieee+set}" = set; then @@ -3703,7 +3706,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6 -echo "configure:3707: checking for --${enablestring:-enable}-timer" >&5 +echo "configure:3710: checking for --${enablestring:-enable}-timer" >&5 no_cache=0 # Check whether --enable-timer or --disable-timer was given. if test "${enable_timer+set}" = set; then @@ -3743,7 +3746,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6 -echo "configure:3747: checking for --${enablestring:-enable}-wave" >&5 +echo "configure:3750: checking for --${enablestring:-enable}-wave" >&5 no_cache=0 # Check whether --enable-wave or --disable-wave was given. if test "${enable_wave+set}" = set; then @@ -3783,7 +3786,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6 -echo "configure:3787: checking for --${enablestring:-enable}-fraction" >&5 +echo "configure:3790: checking for --${enablestring:-enable}-fraction" >&5 no_cache=0 # Check whether --enable-fraction or --disable-fraction was given. if test "${enable_fraction+set}" = set; then @@ -3823,7 +3826,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6 -echo "configure:3827: checking for --${enablestring:-enable}-dynlib" >&5 +echo "configure:3830: checking for --${enablestring:-enable}-dynlib" >&5 no_cache=0 # Check whether --enable-dynlib or --disable-dynlib was given. if test "${enable_dynlib+set}" = set; then @@ -3863,7 +3866,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6 -echo "configure:3867: checking for --${enablestring:-enable}-dynamicloader" >&5 +echo "configure:3870: checking for --${enablestring:-enable}-dynamicloader" >&5 no_cache=0 # Check whether --enable-dynamicloader or --disable-dynamicloader was given. if test "${enable_dynamicloader+set}" = set; then @@ -3903,7 +3906,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6 -echo "configure:3907: checking for --${enablestring:-enable}-longlong" >&5 +echo "configure:3910: checking for --${enablestring:-enable}-longlong" >&5 no_cache=0 # Check whether --enable-longlong or --disable-longlong was given. if test "${enable_longlong+set}" = set; then @@ -3943,7 +3946,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6 -echo "configure:3947: checking for --${enablestring:-enable}-geometry" >&5 +echo "configure:3950: checking for --${enablestring:-enable}-geometry" >&5 no_cache=0 # Check whether --enable-geometry or --disable-geometry was given. if test "${enable_geometry+set}" = set; then @@ -3983,7 +3986,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6 -echo "configure:3987: checking for --${enablestring:-enable}-log" >&5 +echo "configure:3990: checking for --${enablestring:-enable}-log" >&5 no_cache=0 # Check whether --enable-log or --disable-log was given. if test "${enable_log+set}" = set; then @@ -4023,7 +4026,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6 -echo "configure:4027: checking for --${enablestring:-enable}-streams" >&5 +echo "configure:4030: checking for --${enablestring:-enable}-streams" >&5 no_cache=0 # Check whether --enable-streams or --disable-streams was given. if test "${enable_streams+set}" = set; then @@ -4063,7 +4066,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6 -echo "configure:4067: checking for --${enablestring:-enable}-file" >&5 +echo "configure:4070: checking for --${enablestring:-enable}-file" >&5 no_cache=0 # Check whether --enable-file or --disable-file was given. if test "${enable_file+set}" = set; then @@ -4103,7 +4106,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6 -echo "configure:4107: checking for --${enablestring:-enable}-ffile" >&5 +echo "configure:4110: checking for --${enablestring:-enable}-ffile" >&5 no_cache=0 # Check whether --enable-ffile or --disable-ffile was given. if test "${enable_ffile+set}" = set; then @@ -4143,7 +4146,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6 -echo "configure:4147: checking for --${enablestring:-enable}-textbuf" >&5 +echo "configure:4150: checking for --${enablestring:-enable}-textbuf" >&5 no_cache=0 # Check whether --enable-textbuf or --disable-textbuf was given. if test "${enable_textbuf+set}" = set; then @@ -4183,7 +4186,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6 -echo "configure:4187: checking for --${enablestring:-enable}-textfile" >&5 +echo "configure:4190: checking for --${enablestring:-enable}-textfile" >&5 no_cache=0 # Check whether --enable-textfile or --disable-textfile was given. if test "${enable_textfile+set}" = set; then @@ -4223,7 +4226,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6 -echo "configure:4227: checking for --${enablestring:-enable}-fontmap" >&5 +echo "configure:4230: checking for --${enablestring:-enable}-fontmap" >&5 no_cache=0 # Check whether --enable-fontmap or --disable-fontmap was given. if test "${enable_fontmap+set}" = set; then @@ -4263,7 +4266,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6 -echo "configure:4267: checking for --${enablestring:-enable}-unicode" >&5 +echo "configure:4270: checking for --${enablestring:-enable}-unicode" >&5 no_cache=0 # Check whether --enable-unicode or --disable-unicode was given. if test "${enable_unicode+set}" = set; then @@ -4303,7 +4306,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6 -echo "configure:4307: checking for --${enablestring:-enable}-mslu" >&5 +echo "configure:4310: checking for --${enablestring:-enable}-mslu" >&5 no_cache=0 # Check whether --enable-mslu or --disable-mslu was given. if test "${enable_mslu+set}" = set; then @@ -4343,7 +4346,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6 -echo "configure:4347: checking for --${enablestring:-enable}-wxprintfv" >&5 +echo "configure:4350: checking for --${enablestring:-enable}-wxprintfv" >&5 no_cache=0 # Check whether --enable-wxprintfv or --disable-wxprintfv was given. if test "${enable_wxprintfv+set}" = set; then @@ -4383,7 +4386,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6 -echo "configure:4387: checking for --${enablestring:-enable}-std_iostreams" >&5 +echo "configure:4390: checking for --${enablestring:-enable}-std_iostreams" >&5 no_cache=0 # Check whether --enable-std_iostreams or --disable-std_iostreams was given. if test "${enable_std_iostreams+set}" = set; then @@ -4423,7 +4426,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6 -echo "configure:4427: checking for --${enablestring:-enable}-filesystem" >&5 +echo "configure:4430: checking for --${enablestring:-enable}-filesystem" >&5 no_cache=0 # Check whether --enable-filesystem or --disable-filesystem was given. if test "${enable_filesystem+set}" = set; then @@ -4463,7 +4466,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6 -echo "configure:4467: checking for --${enablestring:-enable}-fs_inet" >&5 +echo "configure:4470: checking for --${enablestring:-enable}-fs_inet" >&5 no_cache=0 # Check whether --enable-fs_inet or --disable-fs_inet was given. if test "${enable_fs_inet+set}" = set; then @@ -4503,7 +4506,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6 -echo "configure:4507: checking for --${enablestring:-enable}-fs_zip" >&5 +echo "configure:4510: checking for --${enablestring:-enable}-fs_zip" >&5 no_cache=0 # Check whether --enable-fs_zip or --disable-fs_zip was given. if test "${enable_fs_zip+set}" = set; then @@ -4543,7 +4546,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6 -echo "configure:4547: checking for --${enablestring:-enable}-zipstream" >&5 +echo "configure:4550: checking for --${enablestring:-enable}-zipstream" >&5 no_cache=0 # Check whether --enable-zipstream or --disable-zipstream was given. if test "${enable_zipstream+set}" = set; then @@ -4584,7 +4587,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6 -echo "configure:4588: checking for --${enablestring:-enable}-catch_segvs" >&5 +echo "configure:4591: checking for --${enablestring:-enable}-catch_segvs" >&5 no_cache=0 # Check whether --enable-catch_segvs or --disable-catch_segvs was given. if test "${enable_catch_segvs+set}" = set; then @@ -4624,7 +4627,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6 -echo "configure:4628: checking for --${enablestring:-enable}-snglinst" >&5 +echo "configure:4631: checking for --${enablestring:-enable}-snglinst" >&5 no_cache=0 # Check whether --enable-snglinst or --disable-snglinst was given. if test "${enable_snglinst+set}" = set; then @@ -4665,7 +4668,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6 -echo "configure:4669: checking for --${enablestring:-enable}-mimetype" >&5 +echo "configure:4672: checking for --${enablestring:-enable}-mimetype" >&5 no_cache=0 # Check whether --enable-mimetype or --disable-mimetype was given. if test "${enable_mimetype+set}" = set; then @@ -4705,7 +4708,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6 -echo "configure:4709: checking for --${enablestring:-enable}-system_options" >&5 +echo "configure:4712: checking for --${enablestring:-enable}-system_options" >&5 no_cache=0 # Check whether --enable-system_options or --disable-system_options was given. if test "${enable_system_options+set}" = set; then @@ -4746,7 +4749,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6 -echo "configure:4750: checking for --${enablestring:-enable}-url" >&5 +echo "configure:4753: checking for --${enablestring:-enable}-url" >&5 no_cache=0 # Check whether --enable-url or --disable-url was given. if test "${enable_url+set}" = set; then @@ -4786,7 +4789,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6 -echo "configure:4790: checking for --${enablestring:-enable}-protocol" >&5 +echo "configure:4793: checking for --${enablestring:-enable}-protocol" >&5 no_cache=0 # Check whether --enable-protocol or --disable-protocol was given. if test "${enable_protocol+set}" = set; then @@ -4826,7 +4829,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6 -echo "configure:4830: checking for --${enablestring:-enable}-protocol_http" >&5 +echo "configure:4833: checking for --${enablestring:-enable}-protocol_http" >&5 no_cache=0 # Check whether --enable-protocol_http or --disable-protocol_http was given. if test "${enable_protocol_http+set}" = set; then @@ -4866,7 +4869,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6 -echo "configure:4870: checking for --${enablestring:-enable}-protocol_ftp" >&5 +echo "configure:4873: checking for --${enablestring:-enable}-protocol_ftp" >&5 no_cache=0 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given. if test "${enable_protocol_ftp+set}" = set; then @@ -4906,7 +4909,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6 -echo "configure:4910: checking for --${enablestring:-enable}-protocol_file" >&5 +echo "configure:4913: checking for --${enablestring:-enable}-protocol_file" >&5 no_cache=0 # Check whether --enable-protocol_file or --disable-protocol_file was given. if test "${enable_protocol_file+set}" = set; then @@ -4949,7 +4952,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6 -echo "configure:4953: checking for --${enablestring:-enable}-threads" >&5 +echo "configure:4956: checking for --${enablestring:-enable}-threads" >&5 no_cache=0 # Check whether --enable-threads or --disable-threads was given. if test "${enable_threads+set}" = set; then @@ -4993,7 +4996,7 @@ if test "$wxUSE_GUI" = "yes"; then enablestring= echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6 -echo "configure:4997: checking for --${enablestring:-enable}-docview" >&5 +echo "configure:5000: checking for --${enablestring:-enable}-docview" >&5 no_cache=0 # Check whether --enable-docview or --disable-docview was given. if test "${enable_docview+set}" = set; then @@ -5033,7 +5036,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6 -echo "configure:5037: checking for --${enablestring:-enable}-help" >&5 +echo "configure:5040: checking for --${enablestring:-enable}-help" >&5 no_cache=0 # Check whether --enable-help or --disable-help was given. if test "${enable_help+set}" = set; then @@ -5073,7 +5076,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6 -echo "configure:5077: checking for --${enablestring:-enable}-mshtmlhelp" >&5 +echo "configure:5080: checking for --${enablestring:-enable}-mshtmlhelp" >&5 no_cache=0 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given. if test "${enable_mshtmlhelp+set}" = set; then @@ -5113,7 +5116,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6 -echo "configure:5117: checking for --${enablestring:-enable}-html" >&5 +echo "configure:5120: checking for --${enablestring:-enable}-html" >&5 no_cache=0 # Check whether --enable-html or --disable-html was given. if test "${enable_html+set}" = set; then @@ -5153,7 +5156,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6 -echo "configure:5157: checking for --${enablestring:-enable}-htmlhelp" >&5 +echo "configure:5160: checking for --${enablestring:-enable}-htmlhelp" >&5 no_cache=0 # Check whether --enable-htmlhelp or --disable-htmlhelp was given. if test "${enable_htmlhelp+set}" = set; then @@ -5193,7 +5196,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6 -echo "configure:5197: checking for --${enablestring:-enable}-constraints" >&5 +echo "configure:5200: checking for --${enablestring:-enable}-constraints" >&5 no_cache=0 # Check whether --enable-constraints or --disable-constraints was given. if test "${enable_constraints+set}" = set; then @@ -5233,7 +5236,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6 -echo "configure:5237: checking for --${enablestring:-enable}-printarch" >&5 +echo "configure:5240: checking for --${enablestring:-enable}-printarch" >&5 no_cache=0 # Check whether --enable-printarch or --disable-printarch was given. if test "${enable_printarch+set}" = set; then @@ -5273,7 +5276,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6 -echo "configure:5277: checking for --${enablestring:-enable}-mdi" >&5 +echo "configure:5280: checking for --${enablestring:-enable}-mdi" >&5 no_cache=0 # Check whether --enable-mdi or --disable-mdi was given. if test "${enable_mdi+set}" = set; then @@ -5313,7 +5316,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6 -echo "configure:5317: checking for --${enablestring:-enable}-loggui" >&5 +echo "configure:5320: checking for --${enablestring:-enable}-loggui" >&5 no_cache=0 # Check whether --enable-loggui or --disable-loggui was given. if test "${enable_loggui+set}" = set; then @@ -5353,7 +5356,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6 -echo "configure:5357: checking for --${enablestring:-enable}-logwin" >&5 +echo "configure:5360: checking for --${enablestring:-enable}-logwin" >&5 no_cache=0 # Check whether --enable-logwin or --disable-logwin was given. if test "${enable_logwin+set}" = set; then @@ -5393,7 +5396,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6 -echo "configure:5397: checking for --${enablestring:-enable}-logdialog" >&5 +echo "configure:5400: checking for --${enablestring:-enable}-logdialog" >&5 no_cache=0 # Check whether --enable-logdialog or --disable-logdialog was given. if test "${enable_logdialog+set}" = set; then @@ -5434,7 +5437,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6 -echo "configure:5438: checking for --${enablestring:-enable}-postscript" >&5 +echo "configure:5441: checking for --${enablestring:-enable}-postscript" >&5 no_cache=0 # Check whether --enable-postscript or --disable-postscript was given. if test "${enable_postscript+set}" = set; then @@ -5477,7 +5480,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6 -echo "configure:5481: checking for --${enablestring:-enable}-prologio" >&5 +echo "configure:5484: checking for --${enablestring:-enable}-prologio" >&5 no_cache=0 # Check whether --enable-prologio or --disable-prologio was given. if test "${enable_prologio+set}" = set; then @@ -5517,7 +5520,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6 -echo "configure:5521: checking for --${enablestring:-enable}-resources" >&5 +echo "configure:5524: checking for --${enablestring:-enable}-resources" >&5 no_cache=0 # Check whether --enable-resources or --disable-resources was given. if test "${enable_resources+set}" = set; then @@ -5558,7 +5561,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6 -echo "configure:5562: checking for --${enablestring:-enable}-xresources" >&5 +echo "configure:5565: checking for --${enablestring:-enable}-xresources" >&5 no_cache=0 # Check whether --enable-xresources or --disable-xresources was given. if test "${enable_xresources+set}" = set; then @@ -5600,7 +5603,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6 -echo "configure:5604: checking for --${enablestring:-enable}-clipboard" >&5 +echo "configure:5607: checking for --${enablestring:-enable}-clipboard" >&5 no_cache=0 # Check whether --enable-clipboard or --disable-clipboard was given. if test "${enable_clipboard+set}" = set; then @@ -5640,7 +5643,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6 -echo "configure:5644: checking for --${enablestring:-enable}-dnd" >&5 +echo "configure:5647: checking for --${enablestring:-enable}-dnd" >&5 no_cache=0 # Check whether --enable-dnd or --disable-dnd was given. if test "${enable_dnd+set}" = set; then @@ -5680,7 +5683,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6 -echo "configure:5684: checking for --${enablestring:-enable}-metafile" >&5 +echo "configure:5687: checking for --${enablestring:-enable}-metafile" >&5 no_cache=0 # Check whether --enable-metafile or --disable-metafile was given. if test "${enable_metafile+set}" = set; then @@ -5721,7 +5724,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6 -echo "configure:5725: checking for --${enablestring:-enable}-treelayout" >&5 +echo "configure:5728: checking for --${enablestring:-enable}-treelayout" >&5 no_cache=0 # Check whether --enable-treelayout or --disable-treelayout was given. if test "${enable_treelayout+set}" = set; then @@ -5763,7 +5766,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6 -echo "configure:5767: checking for --${enablestring:-enable}-controls" >&5 +echo "configure:5770: checking for --${enablestring:-enable}-controls" >&5 no_cache=0 # Check whether --enable-controls or --disable-controls was given. if test "${enable_controls+set}" = set; then @@ -5884,7 +5887,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6 -echo "configure:5888: checking for --${enablestring:-enable}-accel" >&5 +echo "configure:5891: checking for --${enablestring:-enable}-accel" >&5 no_cache=0 # Check whether --enable-accel or --disable-accel was given. if test "${enable_accel+set}" = set; then @@ -5924,7 +5927,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6 -echo "configure:5928: checking for --${enablestring:-enable}-button" >&5 +echo "configure:5931: checking for --${enablestring:-enable}-button" >&5 no_cache=0 # Check whether --enable-button or --disable-button was given. if test "${enable_button+set}" = set; then @@ -5964,7 +5967,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6 -echo "configure:5968: checking for --${enablestring:-enable}-bmpbutton" >&5 +echo "configure:5971: checking for --${enablestring:-enable}-bmpbutton" >&5 no_cache=0 # Check whether --enable-bmpbutton or --disable-bmpbutton was given. if test "${enable_bmpbutton+set}" = set; then @@ -6004,7 +6007,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6 -echo "configure:6008: checking for --${enablestring:-enable}-calendar" >&5 +echo "configure:6011: checking for --${enablestring:-enable}-calendar" >&5 no_cache=0 # Check whether --enable-calendar or --disable-calendar was given. if test "${enable_calendar+set}" = set; then @@ -6044,7 +6047,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6 -echo "configure:6048: checking for --${enablestring:-enable}-caret" >&5 +echo "configure:6051: checking for --${enablestring:-enable}-caret" >&5 no_cache=0 # Check whether --enable-caret or --disable-caret was given. if test "${enable_caret+set}" = set; then @@ -6084,7 +6087,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6 -echo "configure:6088: checking for --${enablestring:-enable}-checkbox" >&5 +echo "configure:6091: checking for --${enablestring:-enable}-checkbox" >&5 no_cache=0 # Check whether --enable-checkbox or --disable-checkbox was given. if test "${enable_checkbox+set}" = set; then @@ -6124,7 +6127,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6 -echo "configure:6128: checking for --${enablestring:-enable}-checklst" >&5 +echo "configure:6131: checking for --${enablestring:-enable}-checklst" >&5 no_cache=0 # Check whether --enable-checklst or --disable-checklst was given. if test "${enable_checklst+set}" = set; then @@ -6164,7 +6167,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6 -echo "configure:6168: checking for --${enablestring:-enable}-choice" >&5 +echo "configure:6171: checking for --${enablestring:-enable}-choice" >&5 no_cache=0 # Check whether --enable-choice or --disable-choice was given. if test "${enable_choice+set}" = set; then @@ -6204,7 +6207,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6 -echo "configure:6208: checking for --${enablestring:-enable}-combobox" >&5 +echo "configure:6211: checking for --${enablestring:-enable}-combobox" >&5 no_cache=0 # Check whether --enable-combobox or --disable-combobox was given. if test "${enable_combobox+set}" = set; then @@ -6244,7 +6247,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6 -echo "configure:6248: checking for --${enablestring:-enable}-gauge" >&5 +echo "configure:6251: checking for --${enablestring:-enable}-gauge" >&5 no_cache=0 # Check whether --enable-gauge or --disable-gauge was given. if test "${enable_gauge+set}" = set; then @@ -6284,7 +6287,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6 -echo "configure:6288: checking for --${enablestring:-enable}-grid" >&5 +echo "configure:6291: checking for --${enablestring:-enable}-grid" >&5 no_cache=0 # Check whether --enable-grid or --disable-grid was given. if test "${enable_grid+set}" = set; then @@ -6324,7 +6327,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6 -echo "configure:6328: checking for --${enablestring:-enable}-newgrid" >&5 +echo "configure:6331: checking for --${enablestring:-enable}-newgrid" >&5 no_cache=0 # Check whether --enable-newgrid or --disable-newgrid was given. if test "${enable_newgrid+set}" = set; then @@ -6364,7 +6367,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6 -echo "configure:6368: checking for --${enablestring:-enable}-imaglist" >&5 +echo "configure:6371: checking for --${enablestring:-enable}-imaglist" >&5 no_cache=0 # Check whether --enable-imaglist or --disable-imaglist was given. if test "${enable_imaglist+set}" = set; then @@ -6404,7 +6407,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6 -echo "configure:6408: checking for --${enablestring:-enable}-listbox" >&5 +echo "configure:6411: checking for --${enablestring:-enable}-listbox" >&5 no_cache=0 # Check whether --enable-listbox or --disable-listbox was given. if test "${enable_listbox+set}" = set; then @@ -6444,7 +6447,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6 -echo "configure:6448: checking for --${enablestring:-enable}-listctrl" >&5 +echo "configure:6451: checking for --${enablestring:-enable}-listctrl" >&5 no_cache=0 # Check whether --enable-listctrl or --disable-listctrl was given. if test "${enable_listctrl+set}" = set; then @@ -6484,7 +6487,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6 -echo "configure:6488: checking for --${enablestring:-enable}-notebook" >&5 +echo "configure:6491: checking for --${enablestring:-enable}-notebook" >&5 no_cache=0 # Check whether --enable-notebook or --disable-notebook was given. if test "${enable_notebook+set}" = set; then @@ -6524,7 +6527,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6 -echo "configure:6528: checking for --${enablestring:-enable}-propsheet" >&5 +echo "configure:6531: checking for --${enablestring:-enable}-propsheet" >&5 no_cache=0 # Check whether --enable-propsheet or --disable-propsheet was given. if test "${enable_propsheet+set}" = set; then @@ -6564,7 +6567,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6 -echo "configure:6568: checking for --${enablestring:-enable}-radiobox" >&5 +echo "configure:6571: checking for --${enablestring:-enable}-radiobox" >&5 no_cache=0 # Check whether --enable-radiobox or --disable-radiobox was given. if test "${enable_radiobox+set}" = set; then @@ -6604,7 +6607,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6 -echo "configure:6608: checking for --${enablestring:-enable}-radiobtn" >&5 +echo "configure:6611: checking for --${enablestring:-enable}-radiobtn" >&5 no_cache=0 # Check whether --enable-radiobtn or --disable-radiobtn was given. if test "${enable_radiobtn+set}" = set; then @@ -6644,7 +6647,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6 -echo "configure:6648: checking for --${enablestring:-enable}-sash" >&5 +echo "configure:6651: checking for --${enablestring:-enable}-sash" >&5 no_cache=0 # Check whether --enable-sash or --disable-sash was given. if test "${enable_sash+set}" = set; then @@ -6684,7 +6687,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6 -echo "configure:6688: checking for --${enablestring:-enable}-scrollbar" >&5 +echo "configure:6691: checking for --${enablestring:-enable}-scrollbar" >&5 no_cache=0 # Check whether --enable-scrollbar or --disable-scrollbar was given. if test "${enable_scrollbar+set}" = set; then @@ -6724,7 +6727,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6 -echo "configure:6728: checking for --${enablestring:-enable}-slider" >&5 +echo "configure:6731: checking for --${enablestring:-enable}-slider" >&5 no_cache=0 # Check whether --enable-slider or --disable-slider was given. if test "${enable_slider+set}" = set; then @@ -6764,7 +6767,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6 -echo "configure:6768: checking for --${enablestring:-enable}-spinbtn" >&5 +echo "configure:6771: checking for --${enablestring:-enable}-spinbtn" >&5 no_cache=0 # Check whether --enable-spinbtn or --disable-spinbtn was given. if test "${enable_spinbtn+set}" = set; then @@ -6804,7 +6807,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6 -echo "configure:6808: checking for --${enablestring:-enable}-spinctrl" >&5 +echo "configure:6811: checking for --${enablestring:-enable}-spinctrl" >&5 no_cache=0 # Check whether --enable-spinctrl or --disable-spinctrl was given. if test "${enable_spinctrl+set}" = set; then @@ -6844,7 +6847,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6 -echo "configure:6848: checking for --${enablestring:-enable}-splitter" >&5 +echo "configure:6851: checking for --${enablestring:-enable}-splitter" >&5 no_cache=0 # Check whether --enable-splitter or --disable-splitter was given. if test "${enable_splitter+set}" = set; then @@ -6884,7 +6887,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6 -echo "configure:6888: checking for --${enablestring:-enable}-statbmp" >&5 +echo "configure:6891: checking for --${enablestring:-enable}-statbmp" >&5 no_cache=0 # Check whether --enable-statbmp or --disable-statbmp was given. if test "${enable_statbmp+set}" = set; then @@ -6924,7 +6927,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6 -echo "configure:6928: checking for --${enablestring:-enable}-statbox" >&5 +echo "configure:6931: checking for --${enablestring:-enable}-statbox" >&5 no_cache=0 # Check whether --enable-statbox or --disable-statbox was given. if test "${enable_statbox+set}" = set; then @@ -6964,7 +6967,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6 -echo "configure:6968: checking for --${enablestring:-enable}-statline" >&5 +echo "configure:6971: checking for --${enablestring:-enable}-statline" >&5 no_cache=0 # Check whether --enable-statline or --disable-statline was given. if test "${enable_statline+set}" = set; then @@ -7004,7 +7007,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6 -echo "configure:7008: checking for --${enablestring:-enable}-stattext" >&5 +echo "configure:7011: checking for --${enablestring:-enable}-stattext" >&5 no_cache=0 # Check whether --enable-stattext or --disable-stattext was given. if test "${enable_stattext+set}" = set; then @@ -7044,7 +7047,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6 -echo "configure:7048: checking for --${enablestring:-enable}-statusbar" >&5 +echo "configure:7051: checking for --${enablestring:-enable}-statusbar" >&5 no_cache=0 # Check whether --enable-statusbar or --disable-statusbar was given. if test "${enable_statusbar+set}" = set; then @@ -7084,7 +7087,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6 -echo "configure:7088: checking for --${enablestring:-enable}-tabdialog" >&5 +echo "configure:7091: checking for --${enablestring:-enable}-tabdialog" >&5 no_cache=0 # Check whether --enable-tabdialog or --disable-tabdialog was given. if test "${enable_tabdialog+set}" = set; then @@ -7124,7 +7127,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6 -echo "configure:7128: checking for --${enablestring:-enable}-textctrl" >&5 +echo "configure:7131: checking for --${enablestring:-enable}-textctrl" >&5 no_cache=0 # Check whether --enable-textctrl or --disable-textctrl was given. if test "${enable_textctrl+set}" = set; then @@ -7164,7 +7167,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6 -echo "configure:7168: checking for --${enablestring:-enable}-togglebtn" >&5 +echo "configure:7171: checking for --${enablestring:-enable}-togglebtn" >&5 no_cache=0 # Check whether --enable-togglebtn or --disable-togglebtn was given. if test "${enable_togglebtn+set}" = set; then @@ -7204,7 +7207,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6 -echo "configure:7208: checking for --${enablestring:-enable}-toolbar" >&5 +echo "configure:7211: checking for --${enablestring:-enable}-toolbar" >&5 no_cache=0 # Check whether --enable-toolbar or --disable-toolbar was given. if test "${enable_toolbar+set}" = set; then @@ -7244,7 +7247,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6 -echo "configure:7248: checking for --${enablestring:-enable}-tbarnative" >&5 +echo "configure:7251: checking for --${enablestring:-enable}-tbarnative" >&5 no_cache=0 # Check whether --enable-tbarnative or --disable-tbarnative was given. if test "${enable_tbarnative+set}" = set; then @@ -7284,7 +7287,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6 -echo "configure:7288: checking for --${enablestring:-enable}-tbarsmpl" >&5 +echo "configure:7291: checking for --${enablestring:-enable}-tbarsmpl" >&5 no_cache=0 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given. if test "${enable_tbarsmpl+set}" = set; then @@ -7324,7 +7327,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6 -echo "configure:7328: checking for --${enablestring:-enable}-treectrl" >&5 +echo "configure:7331: checking for --${enablestring:-enable}-treectrl" >&5 no_cache=0 # Check whether --enable-treectrl or --disable-treectrl was given. if test "${enable_treectrl+set}" = set; then @@ -7364,7 +7367,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6 -echo "configure:7368: checking for --${enablestring:-enable}-tipwindow" >&5 +echo "configure:7371: checking for --${enablestring:-enable}-tipwindow" >&5 no_cache=0 # Check whether --enable-tipwindow or --disable-tipwindow was given. if test "${enable_tipwindow+set}" = set; then @@ -7404,7 +7407,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6 -echo "configure:7408: checking for --${enablestring:-enable}-popupwin" >&5 +echo "configure:7411: checking for --${enablestring:-enable}-popupwin" >&5 no_cache=0 # Check whether --enable-popupwin or --disable-popupwin was given. if test "${enable_popupwin+set}" = set; then @@ -7446,7 +7449,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6 -echo "configure:7450: checking for --${enablestring:-enable}-commondlg" >&5 +echo "configure:7453: checking for --${enablestring:-enable}-commondlg" >&5 no_cache=0 # Check whether --enable-commondlg or --disable-commondlg was given. if test "${enable_commondlg+set}" = set; then @@ -7486,7 +7489,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6 -echo "configure:7490: checking for --${enablestring:-enable}-choicedlg" >&5 +echo "configure:7493: checking for --${enablestring:-enable}-choicedlg" >&5 no_cache=0 # Check whether --enable-choicedlg or --disable-choicedlg was given. if test "${enable_choicedlg+set}" = set; then @@ -7526,7 +7529,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6 -echo "configure:7530: checking for --${enablestring:-enable}-coldlg" >&5 +echo "configure:7533: checking for --${enablestring:-enable}-coldlg" >&5 no_cache=0 # Check whether --enable-coldlg or --disable-coldlg was given. if test "${enable_coldlg+set}" = set; then @@ -7566,7 +7569,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6 -echo "configure:7570: checking for --${enablestring:-enable}-filedlg" >&5 +echo "configure:7573: checking for --${enablestring:-enable}-filedlg" >&5 no_cache=0 # Check whether --enable-filedlg or --disable-filedlg was given. if test "${enable_filedlg+set}" = set; then @@ -7606,7 +7609,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6 -echo "configure:7610: checking for --${enablestring:-enable}-finddlg" >&5 +echo "configure:7613: checking for --${enablestring:-enable}-finddlg" >&5 no_cache=0 # Check whether --enable-finddlg or --disable-finddlg was given. if test "${enable_finddlg+set}" = set; then @@ -7646,7 +7649,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6 -echo "configure:7650: checking for --${enablestring:-enable}-fontdlg" >&5 +echo "configure:7653: checking for --${enablestring:-enable}-fontdlg" >&5 no_cache=0 # Check whether --enable-fontdlg or --disable-fontdlg was given. if test "${enable_fontdlg+set}" = set; then @@ -7686,7 +7689,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6 -echo "configure:7690: checking for --${enablestring:-enable}-dirdlg" >&5 +echo "configure:7693: checking for --${enablestring:-enable}-dirdlg" >&5 no_cache=0 # Check whether --enable-dirdlg or --disable-dirdlg was given. if test "${enable_dirdlg+set}" = set; then @@ -7726,7 +7729,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6 -echo "configure:7730: checking for --${enablestring:-enable}-msgdlg" >&5 +echo "configure:7733: checking for --${enablestring:-enable}-msgdlg" >&5 no_cache=0 # Check whether --enable-msgdlg or --disable-msgdlg was given. if test "${enable_msgdlg+set}" = set; then @@ -7766,7 +7769,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6 -echo "configure:7770: checking for --${enablestring:-enable}-numberdlg" >&5 +echo "configure:7773: checking for --${enablestring:-enable}-numberdlg" >&5 no_cache=0 # Check whether --enable-numberdlg or --disable-numberdlg was given. if test "${enable_numberdlg+set}" = set; then @@ -7806,7 +7809,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6 -echo "configure:7810: checking for --${enablestring:-enable}-splash" >&5 +echo "configure:7813: checking for --${enablestring:-enable}-splash" >&5 no_cache=0 # Check whether --enable-splash or --disable-splash was given. if test "${enable_splash+set}" = set; then @@ -7846,7 +7849,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6 -echo "configure:7850: checking for --${enablestring:-enable}-textdlg" >&5 +echo "configure:7853: checking for --${enablestring:-enable}-textdlg" >&5 no_cache=0 # Check whether --enable-textdlg or --disable-textdlg was given. if test "${enable_textdlg+set}" = set; then @@ -7886,7 +7889,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6 -echo "configure:7890: checking for --${enablestring:-enable}-tipdlg" >&5 +echo "configure:7893: checking for --${enablestring:-enable}-tipdlg" >&5 no_cache=0 # Check whether --enable-tipdlg or --disable-tipdlg was given. if test "${enable_tipdlg+set}" = set; then @@ -7926,7 +7929,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6 -echo "configure:7930: checking for --${enablestring:-enable}-progressdlg" >&5 +echo "configure:7933: checking for --${enablestring:-enable}-progressdlg" >&5 no_cache=0 # Check whether --enable-progressdlg or --disable-progressdlg was given. if test "${enable_progressdlg+set}" = set; then @@ -7966,7 +7969,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6 -echo "configure:7970: checking for --${enablestring:-enable}-wizarddlg" >&5 +echo "configure:7973: checking for --${enablestring:-enable}-wizarddlg" >&5 no_cache=0 # Check whether --enable-wizarddlg or --disable-wizarddlg was given. if test "${enable_wizarddlg+set}" = set; then @@ -8008,7 +8011,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6 -echo "configure:8012: checking for --${enablestring:-enable}-menus" >&5 +echo "configure:8015: checking for --${enablestring:-enable}-menus" >&5 no_cache=0 # Check whether --enable-menus or --disable-menus was given. if test "${enable_menus+set}" = set; then @@ -8048,7 +8051,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6 -echo "configure:8052: checking for --${enablestring:-enable}-miniframe" >&5 +echo "configure:8055: checking for --${enablestring:-enable}-miniframe" >&5 no_cache=0 # Check whether --enable-miniframe or --disable-miniframe was given. if test "${enable_miniframe+set}" = set; then @@ -8088,7 +8091,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6 -echo "configure:8092: checking for --${enablestring:-enable}-tooltips" >&5 +echo "configure:8095: checking for --${enablestring:-enable}-tooltips" >&5 no_cache=0 # Check whether --enable-tooltips or --disable-tooltips was given. if test "${enable_tooltips+set}" = set; then @@ -8128,7 +8131,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6 -echo "configure:8132: checking for --${enablestring:-enable}-splines" >&5 +echo "configure:8135: checking for --${enablestring:-enable}-splines" >&5 no_cache=0 # Check whether --enable-splines or --disable-splines was given. if test "${enable_splines+set}" = set; then @@ -8168,7 +8171,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6 -echo "configure:8172: checking for --${enablestring:-enable}-validators" >&5 +echo "configure:8175: checking for --${enablestring:-enable}-validators" >&5 no_cache=0 # Check whether --enable-validators or --disable-validators was given. if test "${enable_validators+set}" = set; then @@ -8208,7 +8211,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6 -echo "configure:8212: checking for --${enablestring:-enable}-busyinfo" >&5 +echo "configure:8215: checking for --${enablestring:-enable}-busyinfo" >&5 no_cache=0 # Check whether --enable-busyinfo or --disable-busyinfo was given. if test "${enable_busyinfo+set}" = set; then @@ -8248,7 +8251,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6 -echo "configure:8252: checking for --${enablestring:-enable}-joystick" >&5 +echo "configure:8255: checking for --${enablestring:-enable}-joystick" >&5 no_cache=0 # Check whether --enable-joystick or --disable-joystick was given. if test "${enable_joystick+set}" = set; then @@ -8288,7 +8291,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6 -echo "configure:8292: checking for --${enablestring:-enable}-metafile" >&5 +echo "configure:8295: checking for --${enablestring:-enable}-metafile" >&5 no_cache=0 # Check whether --enable-metafile or --disable-metafile was given. if test "${enable_metafile+set}" = set; then @@ -8328,7 +8331,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6 -echo "configure:8332: checking for --${enablestring:-enable}-dragimage" >&5 +echo "configure:8335: checking for --${enablestring:-enable}-dragimage" >&5 no_cache=0 # Check whether --enable-dragimage or --disable-dragimage was given. if test "${enable_dragimage+set}" = set; then @@ -8370,7 +8373,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6 -echo "configure:8374: checking for --${enablestring:-enable}-palette" >&5 +echo "configure:8377: checking for --${enablestring:-enable}-palette" >&5 no_cache=0 # Check whether --enable-palette or --disable-palette was given. if test "${enable_palette+set}" = set; then @@ -8410,7 +8413,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6 -echo "configure:8414: checking for --${enablestring:-enable}-image" >&5 +echo "configure:8417: checking for --${enablestring:-enable}-image" >&5 no_cache=0 # Check whether --enable-image or --disable-image was given. if test "${enable_image+set}" = set; then @@ -8450,7 +8453,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6 -echo "configure:8454: checking for --${enablestring:-enable}-gif" >&5 +echo "configure:8457: checking for --${enablestring:-enable}-gif" >&5 no_cache=0 # Check whether --enable-gif or --disable-gif was given. if test "${enable_gif+set}" = set; then @@ -8490,7 +8493,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6 -echo "configure:8494: checking for --${enablestring:-enable}-pcx" >&5 +echo "configure:8497: checking for --${enablestring:-enable}-pcx" >&5 no_cache=0 # Check whether --enable-pcx or --disable-pcx was given. if test "${enable_pcx+set}" = set; then @@ -8530,7 +8533,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6 -echo "configure:8534: checking for --${enablestring:-enable}-iff" >&5 +echo "configure:8537: checking for --${enablestring:-enable}-iff" >&5 no_cache=0 # Check whether --enable-iff or --disable-iff was given. if test "${enable_iff+set}" = set; then @@ -8570,7 +8573,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6 -echo "configure:8574: checking for --${enablestring:-enable}-pnm" >&5 +echo "configure:8577: checking for --${enablestring:-enable}-pnm" >&5 no_cache=0 # Check whether --enable-pnm or --disable-pnm was given. if test "${enable_pnm+set}" = set; then @@ -8610,7 +8613,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6 -echo "configure:8614: checking for --${enablestring:-enable}-xpm" >&5 +echo "configure:8617: checking for --${enablestring:-enable}-xpm" >&5 no_cache=0 # Check whether --enable-xpm or --disable-xpm was given. if test "${enable_xpm+set}" = set; then @@ -8650,7 +8653,7 @@ fi enablestring= echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6 -echo "configure:8654: checking for --${enablestring:-enable}-ico_cur" >&5 +echo "configure:8657: checking for --${enablestring:-enable}-ico_cur" >&5 no_cache=0 # Check whether --enable-ico_cur or --disable-ico_cur was given. if test "${enable_ico_cur+set}" = set; then @@ -8709,7 +8712,7 @@ esac echo $ac_n "checking for toolkit""... $ac_c" 1>&6 -echo "configure:8713: checking for toolkit" >&5 +echo "configure:8716: checking for toolkit" >&5 if test "$wxUSE_GUI" = "yes"; then @@ -8771,56 +8774,6 @@ else echo "$ac_t""base ($host_alias hosted) only" 1>&6 fi -case "${host}" in - *-pc-os2_emx | *-pc-os2-emx ) - LIBS="$LIBS -lstdcpp" - if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then - echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6 -echo "configure:8780: checking for drand48 in -lcExt" >&5 -ac_lib_var=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lcExt $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lcExt" -else - echo "$ac_t""no" 1>&6 -fi - - else - RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res" - fi - ;; -esac - wants_win32=0 doesnt_want_win32=0 case "${host}" in @@ -8946,7 +8899,7 @@ CFLAGS=${CFLAGS:=} # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:8950: checking for $ac_word" >&5 +echo "configure:8903: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8976,7 +8929,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:8980: checking for $ac_word" >&5 +echo "configure:8933: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9027,7 +8980,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9031: checking for $ac_word" >&5 +echo "configure:8984: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9059,7 +9012,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:9063: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:9016: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -9070,12 +9023,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 9074 "configure" +#line 9027 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:9079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -9101,12 +9054,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:9105: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:9058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:9110: checking whether we are using GNU C" >&5 +echo "configure:9063: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9115,7 +9068,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -9134,7 +9087,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:9138: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:9091: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9167,7 +9120,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:9171: checking how to run the C preprocessor" >&5 +echo "configure:9124: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -9182,13 +9135,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -9199,13 +9152,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -9216,13 +9169,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -9248,13 +9201,13 @@ echo "$ac_t""$CPP" 1>&6 if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:9252: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:9205: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP @@ -9272,7 +9225,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA @@ -9309,7 +9262,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9313: checking for $ac_word" >&5 +echo "configure:9266: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9341,7 +9294,7 @@ test -n "$CXX" || CXX="gcc" echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:9345: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 +echo "configure:9298: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -9352,12 +9305,12 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext << EOF -#line 9356 "configure" +#line 9309 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -9383,12 +9336,12 @@ if test $ac_cv_prog_cxx_works = no; then { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:9387: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:9340: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 -echo "configure:9392: checking whether we are using GNU C++" >&5 +echo "configure:9345: checking whether we are using GNU C++" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9397,7 +9350,7 @@ else yes; #endif EOF -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yes else ac_cv_prog_gxx=no @@ -9416,7 +9369,7 @@ ac_test_CXXFLAGS="${CXXFLAGS+set}" ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS= echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 -echo "configure:9420: checking whether ${CXX-g++} accepts -g" >&5 +echo "configure:9373: checking whether ${CXX-g++} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9459,7 +9412,7 @@ cross_compiling=$ac_cv_prog_cc_cross # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9463: checking for $ac_word" >&5 +echo "configure:9416: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9490,7 +9443,7 @@ fi # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9494: checking for $ac_word" >&5 +echo "configure:9447: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9530,7 +9483,7 @@ fi # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:9534: checking for a BSD compatible install" >&5 +echo "configure:9487: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -9604,7 +9557,7 @@ esac # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9608: checking for $ac_word" >&5 +echo "configure:9561: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9633,7 +9586,7 @@ fi echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6 -echo "configure:9637: checking if make is GNU make" >&5 +echo "configure:9590: checking if make is GNU make" >&5 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9659,7 +9612,7 @@ fi if test "x$wx_cv_prog_makeisgnu" != "xyes"; then echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6 -echo "configure:9663: checking if make supports VPATH" >&5 +echo "configure:9616: checking if make supports VPATH" >&5 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9706,7 +9659,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9710: checking for $ac_word" >&5 +echo "configure:9663: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9740,7 +9693,7 @@ test -n "$YACC" || YACC="yacc" # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:9744: checking for $ac_word" >&5 +echo "configure:9697: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9774,7 +9727,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:9778: checking for yywrap in -l$ac_lib" >&5 +echo "configure:9731: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -9782,7 +9735,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9817,7 +9770,7 @@ fi echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:9821: checking whether ln -s works" >&5 +echo "configure:9774: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9838,23 +9791,73 @@ else fi +case "${host}" in + *-pc-os2_emx | *-pc-os2-emx ) + LIBS="$LIBS -lstdcpp" + if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then + echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6 +echo "configure:9800: checking for drand48 in -lcExt" >&5 +ac_lib_var=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lcExt $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + LIBS="$LIBS -lcExt" +else + echo "$ac_t""no" 1>&6 +fi + + else + RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res" + fi + ;; +esac + if test "$wxUSE_MAC" != 1; then for ac_hdr in strings.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:9848: checking for $ac_hdr" >&5 +echo "configure:9851: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -9886,17 +9889,17 @@ for ac_hdr in stdlib.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:9890: checking for $ac_hdr" >&5 +echo "configure:9893: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -9926,17 +9929,17 @@ for ac_hdr in malloc.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:9930: checking for $ac_hdr" >&5 +echo "configure:9933: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -9966,17 +9969,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:9970: checking for $ac_hdr" >&5 +echo "configure:9973: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -10006,17 +10009,17 @@ for ac_hdr in wchar.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:10010: checking for $ac_hdr" >&5 +echo "configure:10013: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:10020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:10023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -10048,17 +10051,17 @@ if test "$ac_cv_header_wchar_h" != "yes"; then do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:10052: checking for $ac_hdr" >&5 +echo "configure:10055: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:10062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:10065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -10090,17 +10093,17 @@ for ac_hdr in fnmatch.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:10094: checking for $ac_hdr" >&5 +echo "configure:10097: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:10104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:10107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -10131,12 +10134,12 @@ if test "x$ac_cv_header_fnmatch_h" = "xyes"; then for ac_func in fnmatch do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10135: checking for $ac_func" >&5 +echo "configure:10138: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10189,17 +10192,17 @@ for ac_hdr in langinfo.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:10193: checking for $ac_hdr" >&5 +echo "configure:10196: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:10203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -10232,17 +10235,17 @@ if test "$wxUSE_GUI" = "yes"; then do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:10236: checking for $ac_hdr" >&5 +echo "configure:10239: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:10246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:10249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -10273,12 +10276,12 @@ fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:10277: checking for working const" >&5 +echo "configure:10280: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -10348,21 +10351,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:10352: checking for inline" >&5 +echo "configure:10355: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -10389,7 +10392,7 @@ esac echo $ac_n "checking size of char""... $ac_c" 1>&6 -echo "configure:10393: checking size of char" >&5 +echo "configure:10396: checking size of char" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10397,9 +10400,10 @@ else ac_cv_sizeof_char=1 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10408,7 +10412,7 @@ main() exit(0); } EOF -if { (eval echo configure:10412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_char=`cat conftestval` else @@ -10428,7 +10432,7 @@ EOF echo $ac_n "checking size of short""... $ac_c" 1>&6 -echo "configure:10432: checking size of short" >&5 +echo "configure:10436: checking size of short" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10436,9 +10440,10 @@ else ac_cv_sizeof_short=2 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10447,7 +10452,7 @@ main() exit(0); } EOF -if { (eval echo configure:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_short=`cat conftestval` else @@ -10467,7 +10472,7 @@ EOF echo $ac_n "checking size of void *""... $ac_c" 1>&6 -echo "configure:10471: checking size of void *" >&5 +echo "configure:10476: checking size of void *" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10475,9 +10480,10 @@ else ac_cv_sizeof_void_p=4 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10486,7 +10492,7 @@ main() exit(0); } EOF -if { (eval echo configure:10490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_void_p=`cat conftestval` else @@ -10506,7 +10512,7 @@ EOF echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:10510: checking size of int" >&5 +echo "configure:10516: checking size of int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10514,9 +10520,10 @@ else ac_cv_sizeof_int=4 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10525,7 +10532,7 @@ main() exit(0); } EOF -if { (eval echo configure:10529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else @@ -10545,7 +10552,7 @@ EOF echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:10549: checking size of long" >&5 +echo "configure:10556: checking size of long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10553,9 +10560,10 @@ else ac_cv_sizeof_long=4 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10564,7 +10572,7 @@ main() exit(0); } EOF -if { (eval echo configure:10568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long=`cat conftestval` else @@ -10587,7 +10595,7 @@ EOF case "${host}" in arm-*-linux* ) echo $ac_n "checking size of long long""... $ac_c" 1>&6 -echo "configure:10591: checking size of long long" >&5 +echo "configure:10599: checking size of long long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10595,9 +10603,10 @@ else ac_cv_sizeof_long_long=8 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10606,7 +10615,7 @@ main() exit(0); } EOF -if { (eval echo configure:10610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long_long=`cat conftestval` else @@ -10628,7 +10637,7 @@ EOF ;; *-hp-hpux* ) echo $ac_n "checking size of long long""... $ac_c" 1>&6 -echo "configure:10632: checking size of long long" >&5 +echo "configure:10641: checking size of long long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10636,9 +10645,10 @@ else ac_cv_sizeof_long_long=0 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10647,7 +10657,7 @@ main() exit(0); } EOF -if { (eval echo configure:10651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long_long=`cat conftestval` else @@ -10672,7 +10682,7 @@ EOF ;; * ) echo $ac_n "checking size of long long""... $ac_c" 1>&6 -echo "configure:10676: checking size of long long" >&5 +echo "configure:10686: checking size of long long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10680,9 +10690,10 @@ else ac_cv_sizeof_long_long=0 else cat > conftest.$ac_ext < +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10691,7 +10702,7 @@ main() exit(0); } EOF -if { (eval echo configure:10695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long_long=`cat conftestval` else @@ -10713,19 +10724,32 @@ EOF esac echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6 -echo "configure:10717: checking size of wchar_t" >&5 +echo "configure:10728: checking size of wchar_t" >&5 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then - wx_cv_sizeof_wchar_t=4 + + case "${host}" in + *-pc-msdosdjgpp ) + wx_cv_sizeof_wchar_t=0 + ;; + * ) + wx_cv_sizeof_wchar_t=4 + ;; + esac + else cat > conftest.$ac_ext < @@ -10745,7 +10769,7 @@ else } EOF -if { (eval echo configure:10749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then wx_cv_sizeof_wchar_t=`cat conftestval` else @@ -10777,13 +10801,13 @@ if test "$enable_largefile" != no; then wx_largefile=no echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 -echo "configure:10781: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +echo "configure:10805: checking for _FILE_OFFSET_BITS value needed for large files" >&5 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -10794,7 +10818,7 @@ typedef struct { ; return 0; } EOF -if { (eval echo configure:10798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_sys_file_offset_bits=64 else @@ -10821,13 +10845,13 @@ EOF if test "x$wx_largefile" != "xyes"; then echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 -echo "configure:10825: checking for _LARGE_FILES value needed for large files" >&5 +echo "configure:10849: checking for _LARGE_FILES value needed for large files" >&5 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -10838,7 +10862,7 @@ typedef struct { ; return 0; } EOF -if { (eval echo configure:10842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_sys_large_files=1 else @@ -10865,7 +10889,7 @@ EOF fi echo $ac_n "checking if large file support is available""... $ac_c" 1>&6 -echo "configure:10869: checking if large file support is available" >&5 +echo "configure:10893: checking if large file support is available" >&5 if test "x$wx_largefile" = "xyes"; then cat >> confdefs.h <<\EOF #define HAVE_LARGEFILE_SUPPORT 1 @@ -10886,14 +10910,14 @@ if test "x$wx_largefile" = "xyes"; then fi echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:10890: checking whether byte ordering is bigendian" >&5 +echo "configure:10914: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -10904,11 +10928,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:10908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -10919,7 +10943,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:10923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -10939,7 +10963,7 @@ if test "$cross_compiling" = yes; then ac_cv_c_bigendian=unknown else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -10980,7 +11004,7 @@ fi echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 -echo "configure:10984: checking how to run the C++ preprocessor" >&5 +echo "configure:11008: checking how to run the C++ preprocessor" >&5 if test -z "$CXXCPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -10993,12 +11017,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross CXXCPP="${CXX-g++} -E" cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:11026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -11042,17 +11066,17 @@ cross_compiling=$ac_cv_prog_cxx_cross do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:11046: checking for $ac_hdr" >&5 +echo "configure:11070: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:11080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -11100,7 +11124,7 @@ cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6 -echo "configure:11104: checking if C++ compiler supports bool" >&5 +echo "configure:11128: checking if C++ compiler supports bool" >&5 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11115,7 +11139,7 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_cpp_bool=yes @@ -11165,7 +11189,7 @@ EOF echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6 -echo "configure:11169: checking if C++ compiler supports the explicit keyword" >&5 +echo "configure:11193: checking if C++ compiler supports the explicit keyword" >&5 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11180,7 +11204,7 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_explicit=no else @@ -11313,8 +11337,7 @@ SEARCH_INCLUDE="\ /usr/local/x11r5/include \ /usr/lpp/Xamples/include \ \ - /usr/openwin/share/include \ - /usr/include" + /usr/openwin/share/include" SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " @@ -11369,13 +11392,13 @@ rm -f confcache if test "$USE_LINUX" = 1; then echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6 -echo "configure:11373: checking for glibc 2.1 or later" >&5 +echo "configure:11396: checking for glibc 2.1 or later" >&5 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -11386,7 +11409,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:11390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_lib_glibc21=yes @@ -11434,17 +11457,17 @@ EOF if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for regex.h""... $ac_c" 1>&6 -echo "configure:11438: checking for regex.h" >&5 +echo "configure:11461: checking for regex.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:11471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -11463,12 +11486,12 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then for ac_func in regcomp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11467: checking for $ac_func" >&5 +echo "configure:11490: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11549,17 +11572,17 @@ EOF if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for zlib.h""... $ac_c" 1>&6 -echo "configure:11553: checking for zlib.h" >&5 +echo "configure:11576: checking for zlib.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:11586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -11576,7 +11599,7 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 -echo "configure:11580: checking for deflate in -lz" >&5 +echo "configure:11603: checking for deflate in -lz" >&5 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -11584,7 +11607,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lz $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -11660,17 +11683,17 @@ EOF if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for png.h""... $ac_c" 1>&6 -echo "configure:11664: checking for png.h" >&5 +echo "configure:11687: checking for png.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:11697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -11687,7 +11710,7 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6 -echo "configure:11691: checking for png_check_sig in -lpng" >&5 +echo "configure:11714: checking for png_check_sig in -lpng" >&5 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -11695,7 +11718,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lpng -lz -lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -11740,7 +11763,7 @@ fi wxUSE_LIBPNG=builtin fi else - wxUSE_LIBPNG=yes + wxUSE_LIBPNG=sys fi fi fi @@ -11769,12 +11792,12 @@ EOF if test "$wxUSE_MGL" != 1 ; then if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 -echo "configure:11773: checking for jpeglib.h" >&5 +echo "configure:11796: checking for jpeglib.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_jpeglib_h=yes else @@ -11804,7 +11827,7 @@ fi if test "$ac_cv_header_jpeglib_h" = "yes"; then echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 -echo "configure:11808: checking for jpeg_read_header in -ljpeg" >&5 +echo "configure:11831: checking for jpeg_read_header in -ljpeg" >&5 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -11812,7 +11835,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ljpeg $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -11866,6 +11889,7 @@ fi TIFF_INCLUDE= TIFF_LINK= +TIFF_PREREQ_LINKS=-lm if test "$wxUSE_LIBTIFF" != "no" ; then cat >> confdefs.h <<\EOF #define wxUSE_LIBTIFF 1 @@ -11873,19 +11897,25 @@ EOF if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then + if test "$wxUSE_LIBJPEG" = "sys"; then + TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK" + fi + if test "$wxUSE_ZLIB" = "sys"; then + TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK" + fi ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 -echo "configure:11879: checking for tiffio.h" >&5 +echo "configure:11909: checking for tiffio.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:11919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -11902,15 +11932,15 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6 -echo "configure:11906: checking for TIFFError in -ltiff" >&5 +echo "configure:11936: checking for TIFFError in -ltiff" >&5 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-ltiff -lm $LIBS" +LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -11966,6 +11996,7 @@ fi AFMINSTALL= +WIN32INSTALL= TOOLKIT= TOOLKIT_INCLUDE= @@ -11976,17 +12007,17 @@ if test "$USE_WIN32" = 1 ; then do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:11980: checking for $ac_hdr" >&5 +echo "configure:12011: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:11990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:12021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -12014,17 +12045,17 @@ done ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for windows.h""... $ac_c" 1>&6 -echo "configure:12018: checking for windows.h" >&5 +echo "configure:12049: checking for windows.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:12028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:12059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -12050,13 +12081,13 @@ fi echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6 -echo "configure:12054: checking if w32api has good enough MSIE support" >&5 +echo "configure:12085: checking if w32api has good enough MSIE support" >&5 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -12072,7 +12103,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:12076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_w32api_win32_ie=yes @@ -12108,6 +12139,8 @@ echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__" RESPROGRAMOBJ="\$(PROGRAM)_resources.o" + + WIN32INSTALL=win32install fi if test "$USE_DARWIN" = 1; then @@ -12139,7 +12172,7 @@ if test "$wxUSE_GUI" = "yes"; then if test "$wxUSE_GTK" = 1; then echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6 -echo "configure:12143: checking for GTK+ version" >&5 +echo "configure:12176: checking for GTK+ version" >&5 gtk_version_cached=1 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then @@ -12154,7 +12187,7 @@ else GTK_MODULES=gthread fi - wx_cv_lib_gtk= + wx_cv_lib_gtk= if test "x$wxUSE_GTK2" = "xyes"; then # Check whether --enable-gtktest or --disable-gtktest was given. if test "${enable_gtktest+set}" = set; then @@ -12180,7 +12213,7 @@ fi # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:12184: checking for $ac_word" >&5 +echo "configure:12217: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12228,7 +12261,7 @@ fi min_gtk_version=2.0.0 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6 -echo "configure:12232: checking for GTK+ - version >= $min_gtk_version" >&5 +echo "configure:12265: checking for GTK+ - version >= $min_gtk_version" >&5 if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs @@ -12263,7 +12296,7 @@ echo "configure:12232: checking for GTK+ - version >= $min_gtk_version" >&5 echo $ac_n "cross compiling; assumed OK... $ac_c" else cat > conftest.$ac_ext < @@ -12338,7 +12371,7 @@ main () } EOF -if { (eval echo configure:12342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:12375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -12372,7 +12405,7 @@ fi CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS" cat > conftest.$ac_ext < @@ -12382,7 +12415,7 @@ int main() { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } EOF -if { (eval echo configure:12386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" @@ -12413,9 +12446,7 @@ rm -f conftest* rm -f conf.gtktest - fi - - if test -z "$wx_cv_lib_gtk"; then + else # Check whether --with-gtk-prefix or --without-gtk-prefix was given. if test "${with_gtk_prefix+set}" = set; then withval="$with_gtk_prefix" @@ -12466,7 +12497,7 @@ fi # Extract the first word of "gtk-config", so it can be a program name with args. set dummy gtk-config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:12470: checking for $ac_word" >&5 +echo "configure:12501: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12501,7 +12532,7 @@ fi min_gtk_version=1.2.7 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 -echo "configure:12505: checking for GTK - version >= $min_gtk_version" >&5 +echo "configure:12536: checking for GTK - version >= $min_gtk_version" >&5 no_gtk="" if test "$GTK_CONFIG" = "no" ; then no_gtk=yes @@ -12524,7 +12555,7 @@ echo "configure:12505: checking for GTK - version >= $min_gtk_version" >&5 echo $ac_n "cross compiling; assumed OK... $ac_c" else cat > conftest.$ac_ext < @@ -12602,7 +12633,7 @@ main () } EOF -if { (eval echo configure:12606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -12636,7 +12667,7 @@ fi CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS" cat > conftest.$ac_ext < @@ -12646,7 +12677,7 @@ int main() { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } EOF -if { (eval echo configure:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK or finding the wrong" @@ -12684,10 +12715,9 @@ rm -f conftest* rm -f conf.gtktest - fi - if test -z "$wx_cv_lib_gtk"; then - # Check whether --with-gtk-prefix or --without-gtk-prefix was given. + if test -z "$wx_cv_lib_gtk"; then + # Check whether --with-gtk-prefix or --without-gtk-prefix was given. if test "${with_gtk_prefix+set}" = set; then withval="$with_gtk_prefix" gtk_config_prefix="$withval" @@ -12737,7 +12767,7 @@ fi # Extract the first word of "gtk-config", so it can be a program name with args. set dummy gtk-config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:12741: checking for $ac_word" >&5 +echo "configure:12771: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12772,7 +12802,7 @@ fi min_gtk_version=1.2.3 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 -echo "configure:12776: checking for GTK - version >= $min_gtk_version" >&5 +echo "configure:12806: checking for GTK - version >= $min_gtk_version" >&5 no_gtk="" if test "$GTK_CONFIG" = "no" ; then no_gtk=yes @@ -12795,7 +12825,7 @@ echo "configure:12776: checking for GTK - version >= $min_gtk_version" >&5 echo $ac_n "cross compiling; assumed OK... $ac_c" else cat > conftest.$ac_ext < @@ -12873,7 +12903,7 @@ main () } EOF -if { (eval echo configure:12877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:12907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -12907,7 +12937,7 @@ fi CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS" cat > conftest.$ac_ext < @@ -12917,7 +12947,7 @@ int main() { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } EOF -if { (eval echo configure:12921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK or finding the wrong" @@ -12955,6 +12985,7 @@ rm -f conftest* rm -f conf.gtktest + fi fi if test -z "$wx_cv_lib_gtk"; then @@ -12974,6 +13005,7 @@ fi case "$wx_cv_lib_gtk" in 2.0) WXGTK20=1 + TOOLKIT_VERSION=2 ;; 1.2.7) WXGTK127=1 WXGTK12=1 @@ -12998,7 +13030,7 @@ equivalent variable and GTK+ is version 1.2.3 or above. # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:13002: checking for $ac_word" >&5 +echo "configure:13034: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13042,19 +13074,19 @@ fi PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then echo $ac_n "checking for pangoft2""... $ac_c" 1>&6 -echo "configure:13046: checking for pangoft2" >&5 +echo "configure:13078: checking for pangoft2" >&5 if $PKG_CONFIG --exists "pangoft2" ; then echo "$ac_t""yes" 1>&6 succeeded=yes echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6 -echo "configure:13053: checking PANGOFT2_CFLAGS" >&5 +echo "configure:13085: checking PANGOFT2_CFLAGS" >&5 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"` echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6 -echo "configure:13058: checking PANGOFT2_LIBS" >&5 +echo "configure:13090: checking PANGOFT2_LIBS" >&5 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"` echo "$ac_t""$PANGOFT2_LIBS" 1>&6 else @@ -13088,6 +13120,69 @@ echo "configure:13058: checking PANGOFT2_LIBS" >&5 fi fi + else + if test "$wxUSE_UNICODE" = "yes"; then + echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2 + wxUSE_UNICODE=no + fi + fi + + if test "$USE_DARWIN" != 1; then + for ac_func in poll +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:13135: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:13163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + fi TOOLKIT_INCLUDE="$wx_cv_cflags_gtk" @@ -13098,7 +13193,7 @@ echo "configure:13058: checking PANGOFT2_LIBS" >&5 GUIDIST=GTK_DIST echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6 -echo "configure:13102: checking for gdk_im_open in -lgdk" >&5 +echo "configure:13197: checking for gdk_im_open in -lgdk" >&5 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13106,7 +13201,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lgdk $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -13144,7 +13239,7 @@ fi if test "$wxUSE_MGL" = 1; then echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6 -echo "configure:13148: checking for SciTech MGL library" >&5 +echo "configure:13243: checking for SciTech MGL library" >&5 if test "x$MGL_ROOT" = x ; then echo "$ac_t""not found" 1>&6 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; } @@ -13154,7 +13249,7 @@ echo "configure:13148: checking for SciTech MGL library" >&5 case "${host}" in *-*-linux* ) - mgl_os=linux/gcc/glibc + mgl_os="linux/gcc/glibc*" ;; *-pc-msdosdjgpp ) mgl_os=dos32/dj2 @@ -13192,7 +13287,7 @@ echo "configure:13148: checking for SciTech MGL library" >&5 if test "$wxUSE_MICROWIN" = 1; then echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6 -echo "configure:13196: checking for MicroWindows" >&5 +echo "configure:13291: checking for MicroWindows" >&5 if test "x$MICROWINDOWS" = x ; then echo "$ac_t""not found" 1>&6 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; } @@ -13224,7 +13319,7 @@ echo "configure:13196: checking for MicroWindows" >&5 # Uses ac_ vars as temps to allow command line to override cache and checks. # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:13228: checking for X" >&5 +echo "configure:13323: checking for X" >&5 # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -13286,12 +13381,12 @@ if test "$ac_x_includes" = NO; then # First, try using that file with no special directory specified. cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:13295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:13390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -13360,14 +13455,14 @@ if test "$ac_x_libraries" = NO; then ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* LIBS="$ac_save_LIBS" # We can link X programs with no special library path. @@ -13473,17 +13568,17 @@ else case "`(uname -sr) 2>/dev/null`" in "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:13477: checking whether -R must be followed by a space" >&5 +echo "configure:13572: checking whether -R must be followed by a space" >&5 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_nospace=yes else @@ -13499,14 +13594,14 @@ rm -f conftest* else LIBS="$ac_xsave_LIBS -R $x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_space=yes else @@ -13538,7 +13633,7 @@ rm -f conftest* # libraries were built with DECnet support. And karl@cs.umb.edu says # the Alpha needs dnet_stub (dnet does not exist). echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 -echo "configure:13542: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:13637: checking for dnet_ntoa in -ldnet" >&5 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13546,7 +13641,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -13579,7 +13674,7 @@ fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 -echo "configure:13583: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:13678: checking for dnet_ntoa in -ldnet_stub" >&5 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13587,7 +13682,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -13627,12 +13722,12 @@ fi # The nsl library prevents programs from opening the X display # on Irix 5.2, according to dickey@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:13631: checking for gethostbyname" >&5 +echo "configure:13726: checking for gethostbyname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" else @@ -13676,7 +13771,7 @@ fi if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:13680: checking for gethostbyname in -lnsl" >&5 +echo "configure:13775: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13684,7 +13779,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -13725,12 +13820,12 @@ fi # -lsocket must be given before -lnsl if both are needed. # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:13729: checking for connect" >&5 +echo "configure:13824: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_connect=yes" else @@ -13774,7 +13869,7 @@ fi if test $ac_cv_func_connect = no; then echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:13778: checking for connect in -lsocket" >&5 +echo "configure:13873: checking for connect in -lsocket" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13782,7 +13877,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -13817,12 +13912,12 @@ fi # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. echo $ac_n "checking for remove""... $ac_c" 1>&6 -echo "configure:13821: checking for remove" >&5 +echo "configure:13916: checking for remove" >&5 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_remove=yes" else @@ -13866,7 +13961,7 @@ fi if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:13870: checking for remove in -lposix" >&5 +echo "configure:13965: checking for remove in -lposix" >&5 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13874,7 +13969,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -13909,12 +14004,12 @@ fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:13913: checking for shmat" >&5 +echo "configure:14008: checking for shmat" >&5 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shmat=yes" else @@ -13958,7 +14053,7 @@ fi if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:13962: checking for shmat in -lipc" >&5 +echo "configure:14057: checking for shmat in -lipc" >&5 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -13966,7 +14061,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14010,7 +14105,7 @@ fi # libraries we check for below, so use a different variable. # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:14014: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:14109: checking for IceConnectionNumber in -lICE" >&5 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14018,7 +14113,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14065,7 +14160,7 @@ fi if test "$wxUSE_NANOX" = "yes"; then echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6 -echo "configure:14069: checking for MicroWindows/NanoX distribution" >&5 +echo "configure:14164: checking for MicroWindows/NanoX distribution" >&5 if test "x$MICROWIN" = x ; then echo "$ac_t""not found" 1>&6 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; } @@ -14080,10 +14175,10 @@ EOF xpm_link= echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 -echo "configure:14084: checking for Xpm library" >&5 +echo "configure:14179: checking for Xpm library" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libXpm.$ac_extension"; then @@ -14112,7 +14207,7 @@ EOF echo "$ac_t""found at $ac_find_libraries" 1>&6 else cat > conftest.$ac_ext < @@ -14124,7 +14219,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:14128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* xpm_link=" -lXpm" @@ -14148,47 +14243,336 @@ fi rm -f conftest* fi - wxUSE_UNIVERSAL="yes" - - if test "$wxUSE_NANOX" = "yes"; then - TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE" - TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1" - GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a" - else - GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link" - fi - - TOOLKIT_VPATH="\${top_srcdir}/src/x11" - TOOLKIT=X11 - GUIDIST=X11_DIST - fi + if test "$wxUSE_UNICODE" = "yes"; then + + succeeded=no - if test "$wxUSE_WINE" = 1; then - ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for windows.h""... $ac_c" 1>&6 -echo "configure:14170: checking for windows.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + if test -z "$PKG_CONFIG"; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:14255: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:14180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* + case "$PKG_CONFIG" in + /*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; +esac +fi +PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +if test -n "$PKG_CONFIG"; then + echo "$ac_t""$PKG_CONFIG" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + echo $ac_n "checking for pangox""... $ac_c" 1>&6 +echo "configure:14299: checking for pangox" >&5 + + if $PKG_CONFIG --exists "pangox" ; then + echo "$ac_t""yes" 1>&6 + succeeded=yes + + echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6 +echo "configure:14306: checking PANGOX_CFLAGS" >&5 + PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"` + echo "$ac_t""$PANGOX_CFLAGS" 1>&6 + + echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6 +echo "configure:14311: checking PANGOX_LIBS" >&5 + PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"` + echo "$ac_t""$PANGOX_LIBS" 1>&6 + else + PANGOX_CFLAGS="" + PANGOX_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"` + + fi + + + + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + + CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS" + LIBS="$LIBS $PANGOX_LIBS" + + else + + { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; } + + + fi + + + succeeded=no + + if test -z "$PKG_CONFIG"; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:14350: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$PKG_CONFIG" in + /*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; +esac +fi +PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +if test -n "$PKG_CONFIG"; then + echo "$ac_t""$PKG_CONFIG" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + echo $ac_n "checking for pangoft2""... $ac_c" 1>&6 +echo "configure:14394: checking for pangoft2" >&5 + + if $PKG_CONFIG --exists "pangoft2" ; then + echo "$ac_t""yes" 1>&6 + succeeded=yes + + echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6 +echo "configure:14401: checking PANGOFT2_CFLAGS" >&5 + PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"` + echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6 + + echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6 +echo "configure:14406: checking PANGOFT2_LIBS" >&5 + PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"` + echo "$ac_t""$PANGOFT2_LIBS" 1>&6 + else + PANGOFT2_CFLAGS="" + PANGOFT2_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"` + + fi + + + + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + + CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS" + LIBS="$LIBS $PANGOFT2_LIBS" + + else + + echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2 + wxUSE_PRINTING_ARCHITECTURE="no" + + + fi + + + succeeded=no + + if test -z "$PKG_CONFIG"; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:14446: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$PKG_CONFIG" in + /*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; +esac +fi +PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +if test -n "$PKG_CONFIG"; then + echo "$ac_t""$PKG_CONFIG" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + echo $ac_n "checking for pangoxft""... $ac_c" 1>&6 +echo "configure:14490: checking for pangoxft" >&5 + + if $PKG_CONFIG --exists "pangoxft" ; then + echo "$ac_t""yes" 1>&6 + succeeded=yes + + echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6 +echo "configure:14497: checking PANGOXFT_CFLAGS" >&5 + PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"` + echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6 + + echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6 +echo "configure:14502: checking PANGOXFT_LIBS" >&5 + PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"` + echo "$ac_t""$PANGOXFT_LIBS" 1>&6 + else + PANGOXFT_CFLAGS="" + PANGOXFT_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"` + + fi + + + + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + + CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS" + LIBS="$LIBS $PANGOXFT_LIBS" + + else + + echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2 + + + fi + + fi + + wxUSE_UNIVERSAL="yes" + + if test "$wxUSE_NANOX" = "yes"; then + TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE" + TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1" + GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a" + else + GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link" + fi + + TOOLKIT_VPATH="\${top_srcdir}/src/x11" + TOOLKIT=X11 + GUIDIST=X11_DIST + fi + + if test "$wxUSE_WINE" = 1; then + ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for windows.h""... $ac_c" 1>&6 +echo "configure:14554: checking for windows.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:14564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 @@ -14203,10 +14587,10 @@ fi xpm_link= echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 -echo "configure:14207: checking for Xpm library" >&5 +echo "configure:14591: checking for Xpm library" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libXpm.$ac_extension"; then @@ -14231,10 +14615,10 @@ EOF mesa_link= echo $ac_n "checking for Mesa library""... $ac_c" 1>&6 -echo "configure:14235: checking for Mesa library" >&5 +echo "configure:14619: checking for Mesa library" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libMesaGL.$ac_extension"; then @@ -14281,17 +14665,17 @@ else case "`(uname -sr) 2>/dev/null`" in "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:14285: checking whether -R must be followed by a space" >&5 +echo "configure:14669: checking whether -R must be followed by a space" >&5 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_nospace=yes else @@ -14307,14 +14691,14 @@ rm -f conftest* else LIBS="$ac_xsave_LIBS -R $x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_space=yes else @@ -14346,7 +14730,7 @@ rm -f conftest* # libraries were built with DECnet support. And karl@cs.umb.edu says # the Alpha needs dnet_stub (dnet does not exist). echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 -echo "configure:14350: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:14734: checking for dnet_ntoa in -ldnet" >&5 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14354,7 +14738,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14387,7 +14771,7 @@ fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 -echo "configure:14391: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:14775: checking for dnet_ntoa in -ldnet_stub" >&5 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14395,7 +14779,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14435,12 +14819,12 @@ fi # The nsl library prevents programs from opening the X display # on Irix 5.2, according to dickey@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:14439: checking for gethostbyname" >&5 +echo "configure:14823: checking for gethostbyname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" else @@ -14484,7 +14868,7 @@ fi if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:14488: checking for gethostbyname in -lnsl" >&5 +echo "configure:14872: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14492,7 +14876,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14533,12 +14917,12 @@ fi # -lsocket must be given before -lnsl if both are needed. # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:14537: checking for connect" >&5 +echo "configure:14921: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_connect=yes" else @@ -14582,7 +14966,7 @@ fi if test $ac_cv_func_connect = no; then echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:14586: checking for connect in -lsocket" >&5 +echo "configure:14970: checking for connect in -lsocket" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14590,7 +14974,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14625,12 +15009,12 @@ fi # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. echo $ac_n "checking for remove""... $ac_c" 1>&6 -echo "configure:14629: checking for remove" >&5 +echo "configure:15013: checking for remove" >&5 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_remove=yes" else @@ -14674,7 +15058,7 @@ fi if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:14678: checking for remove in -lposix" >&5 +echo "configure:15062: checking for remove in -lposix" >&5 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14682,7 +15066,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14717,12 +15101,12 @@ fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:14721: checking for shmat" >&5 +echo "configure:15105: checking for shmat" >&5 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shmat=yes" else @@ -14766,7 +15150,7 @@ fi if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:14770: checking for shmat in -lipc" >&5 +echo "configure:15154: checking for shmat in -lipc" >&5 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14774,7 +15158,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14818,7 +15202,7 @@ fi # libraries we check for below, so use a different variable. # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:14822: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:15206: checking for IceConnectionNumber in -lICE" >&5 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14826,7 +15210,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -14866,16 +15250,16 @@ fi { echo "configure: error: X11 not found" 1>&2; exit 1; } fi - GUI_TK_LIBRARY="$X_LIBS" - TOOLKIT_INCLUDE="$X_CFLAGS" + GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'` + TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'` AFMINSTALL=afminstall COMPILED_X_PROGRAM=0 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6 -echo "configure:14876: checking for Motif/Lesstif headers" >&5 +echo "configure:15260: checking for Motif/Lesstif headers" >&5 ac_find_includes= -for ac_dir in $SEARCH_INCLUDE; +for ac_dir in $SEARCH_INCLUDE /usr/include; do if test -f "$ac_dir/Xm/Xm.h"; then ac_find_includes=$ac_dir @@ -14886,19 +15270,22 @@ for ac_dir in $SEARCH_INCLUDE; if test "$ac_find_includes" != "" ; then echo "$ac_t""found in $ac_find_includes" 1>&6 - ac_path_to_include=$ac_find_includes - echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null - result=$? - if test $result = 0; then + if test "x$ac_find_includes" = "x/usr/include"; then ac_path_to_include="" else - ac_path_to_include=" -I$ac_find_includes" + echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null + result=$? + if test $result = 0; then + ac_path_to_include="" + else + ac_path_to_include=" -I$ac_find_includes" + fi fi TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include" else cat > conftest.$ac_ext < @@ -14910,7 +15297,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:14914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""found in default search path" 1>&6 @@ -14931,10 +15318,10 @@ rm -f conftest* if test "$COMPILED_X_PROGRAM" = 0; then echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6 -echo "configure:14935: checking for Motif/Lesstif library" >&5 +echo "configure:15322: checking for Motif/Lesstif library" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libXm.$ac_extension"; then @@ -14962,7 +15349,7 @@ for ac_dir in $SEARCH_LIB; CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" cat > conftest.$ac_ext < @@ -14974,7 +15361,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:14978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""found in default search path" 1>&6 @@ -14998,10 +15385,10 @@ rm -f conftest* xpm_link= echo $ac_n "checking for Xpm library""... $ac_c" 1>&6 -echo "configure:15002: checking for Xpm library" >&5 +echo "configure:15389: checking for Xpm library" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libXpm.$ac_extension"; then @@ -15034,7 +15421,7 @@ EOF CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" cat > conftest.$ac_ext < @@ -15046,7 +15433,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:15050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* xpm_link=" -lXpm" @@ -15073,7 +15460,7 @@ rm -f conftest* fi echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6 -echo "configure:15077: checking if we need -lXp and/or -lSM -lICE" >&5 +echo "configure:15464: checking if we need -lXp and/or -lSM -lICE" >&5 libp_link="" libsm_ice_link="" libs_found=0 @@ -15087,7 +15474,7 @@ echo "configure:15077: checking if we need -lXp and/or -lSM -lICE" >&5 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" cat > conftest.$ac_ext < @@ -15102,7 +15489,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* libp_link="$libp" @@ -15148,6 +15535,11 @@ rm -f conftest* if test "$wxUSE_PM" = 1; then TOOLKIT=PM GUIDIST=GTK_DIST + echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2 + wxUSE_PROLOGIO="yes" + wxUSE_RESOURCES="yes" + echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2 + wxUSE_THREADS="no" fi if test "$TOOLKIT" = "PM" ; then @@ -15245,17 +15637,17 @@ if test "$wxUSE_OPENGL" = "yes"; then else ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6 -echo "configure:15249: checking for GL/gl.h" >&5 +echo "configure:15641: checking for GL/gl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:15259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:15651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -15273,10 +15665,10 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for -lGL""... $ac_c" 1>&6 -echo "configure:15277: checking for -lGL" >&5 +echo "configure:15669: checking for -lGL" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libGL.$ac_extension"; then @@ -15306,10 +15698,10 @@ for ac_dir in $SEARCH_LIB; else echo "$ac_t""no" 1>&6 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6 -echo "configure:15310: checking for -lMesaGL" >&5 +echo "configure:15702: checking for -lMesaGL" >&5 ac_find_libraries= -for ac_dir in $SEARCH_LIB; +for ac_dir in $SEARCH_LIB /usr/lib; do for ac_extension in a so sl dylib; do if test -f "$ac_dir/libMesaGL.$ac_extension"; then @@ -15378,8 +15770,10 @@ if test "$wxUSE_DEBUG_FLAG" = "yes"; then lib_debug_suffix=d fi -TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}" -TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}" +WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"` + +TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}" +TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}" if test "$cross_compiling" = "yes"; then TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}" @@ -15388,6 +15782,7 @@ fi WX_LIBRARY="wx_${TOOLCHAIN_NAME}" WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}" +WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}" WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" @@ -15444,19 +15839,64 @@ if test "$wxUSE_SHARED" = "yes"; then esac fi -if test "$wxUSE_SHARED" = "yes"; then - - if test "$wxUSE_OPENGL" = "yes"; then - WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL" - WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}" - else - WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" - WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}" - fi +if test "$wxUSE_SHARED" = "yes"; then + + if test "$wxUSE_OPENGL" = "yes"; then + WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL" + WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}" + else + WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS" + WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}" + fi + + if test "$GCC" = "yes"; then + PIC_FLAG="-fPIC" + fi + + + + found_versioning=no + + case "${host}" in + *-*-solaris2* ) + if test "x$GCC" != "xyes" ; then + LDFLAGS_VERSIONING="-M \$(top_builddir)/version-script" + found_versioning=yes + fi + ;; + esac + + if test $found_versioning = no ; then + echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6 +echo "configure:15872: checking if the linker accepts --version-script" >&5 +if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + + echo "VER_1 { *; };" >conftest.sym + echo "int main() { return 0; }" >conftest.cpp + + if { ac_try=' + $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp + -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure:15882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then + if test -s conftest.stderr ; then + wx_cv_version_script=no + else + wx_cv_version_script=yes + fi + else + wx_cv_version_script=no + fi + rm -f conftest.output conftest.stderr conftest.sym conftest.cpp + +fi + +echo "$ac_t""$wx_cv_version_script" 1>&6 + if test $wx_cv_version_script = yes ; then + LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)/version-script" + fi + fi - if test "$GCC" = "yes"; then - PIC_FLAG="-fPIC" - fi SHARED_LD="${CXX} -shared -o" @@ -15482,13 +15922,13 @@ if test "$wxUSE_SHARED" = "yes"; then *-*-linux* ) if test "$GCC" != "yes"; then echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6 -echo "configure:15486: checking for Intel compiler" >&5 +echo "configure:15926: checking for Intel compiler" >&5 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_prog_icc=yes else @@ -15548,10 +15988,11 @@ echo "$ac_t""$wx_cv_prog_icc" 1>&6 ;; *-*-aix* ) - # Extract the first word of "makeC++SharedLib", so it can be a program name with args. + if test "$GCC" != "yes"; then + # Extract the first word of "makeC++SharedLib", so it can be a program name with args. set dummy makeC++SharedLib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:15555: checking for $ac_word" >&5 +echo "configure:15996: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15579,11 +16020,11 @@ else fi - SHARED_LD="$(AIX_CXX_LD) -p 0 -o" + SHARED_LD="$(AIX_CXX_LD) -p 0 -o" + fi ;; *-*-cygwin* | *-*-mingw32* ) - WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a" SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o" @@ -15603,9 +16044,14 @@ fi SHARED_LD="${LD} -shared -o" ;; + *-*-irix* ) + if test "$GCC" != "yes"; then + PIC_FLAG="-KPIC" + fi + ;; + *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ *-*-sunos4* | \ - *-*-irix5* | *-*-irix6* | \ *-*-osf* | \ *-*-dgux5* | \ *-*-sysv5* ) @@ -15659,7 +16105,7 @@ if test "$wxUSE_MAC" = 1; then # Extract the first word of "Rez", so it can be a program name with args. set dummy Rez; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:15663: checking for $ac_word" >&5 +echo "configure:16109: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15689,7 +16135,7 @@ fi # Extract the first word of "DeRez", so it can be a program name with args. set dummy DeRez; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:15693: checking for $ac_word" >&5 +echo "configure:16139: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15717,13 +16163,8 @@ else fi MACOSX_BUNDLE="bundle" - if test "$wxUSE_SHARED" = "yes"; then - LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)" - LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o" - else - LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)" - LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o" - fi + LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)" + LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o" else if test "$wxUSE_PM" = 1; then LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)" @@ -15732,12 +16173,12 @@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:15736: checking for ANSI C header files" >&5 +echo "configure:16177: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -15745,7 +16186,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:15749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:16190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -15762,7 +16203,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -15780,7 +16221,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -15801,7 +16242,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -15812,7 +16253,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:15816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:16257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -15836,12 +16277,12 @@ EOF fi echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:15840: checking for mode_t" >&5 +echo "configure:16281: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -15869,12 +16310,12 @@ EOF fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:15873: checking for off_t" >&5 +echo "configure:16314: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -15902,12 +16343,12 @@ EOF fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:15906: checking for pid_t" >&5 +echo "configure:16347: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -15935,12 +16376,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:15939: checking for size_t" >&5 +echo "configure:16380: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -15968,12 +16409,12 @@ EOF fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:15972: checking for uid_t in sys/types.h" >&5 +echo "configure:16413: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -16011,12 +16452,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6 -echo "configure:16015: checking if size_t is unsigned int" >&5 +echo "configure:16456: checking if size_t is unsigned int" >&5 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -16029,7 +16470,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:16033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_size_t_is_uint=no else @@ -16052,12 +16493,12 @@ EOF else echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6 -echo "configure:16056: checking if size_t is unsigned long" >&5 +echo "configure:16497: checking if size_t is unsigned long" >&5 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -16070,7 +16511,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:16074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_size_t_is_ulong=no else @@ -16104,13 +16545,13 @@ cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6 -echo "configure:16108: checking for pw_gecos in struct passwd" >&5 +echo "configure:16549: checking for pw_gecos in struct passwd" >&5 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -16121,7 +16562,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:16125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_struct_pw_gecos=yes @@ -16161,12 +16602,12 @@ EOF for ac_func in wcslen do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16165: checking for $ac_func" >&5 +echo "configure:16606: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16217,7 +16658,7 @@ done if test "$WCSLEN_FOUND" = 0; then if test "$TOOLKIT" = "MSW"; then echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6 -echo "configure:16221: checking for wcslen in -lmsvcrt" >&5 +echo "configure:16662: checking for wcslen in -lmsvcrt" >&5 ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -16225,7 +16666,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lmsvcrt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -16258,7 +16699,7 @@ fi else echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6 -echo "configure:16262: checking for wcslen in -lw" >&5 +echo "configure:16703: checking for wcslen in -lw" >&5 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -16266,7 +16707,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lw $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -16313,12 +16754,12 @@ EOF for ac_func in wcsrtombs do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16317: checking for $ac_func" >&5 +echo "configure:16758: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16381,12 +16822,12 @@ cross_compiling=$ac_cv_prog_cxx_cross for ac_func in vsnprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16385: checking for $ac_func" >&5 +echo "configure:16826: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16441,12 +16882,12 @@ if test "$wxUSE_UNICODE" = yes; then for ac_func in fputwc wprintf vswprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16445: checking for $ac_func" >&5 +echo "configure:16886: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16497,16 +16938,16 @@ fi done echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6 -echo "configure:16501: checking for _vsnwprintf" >&5 +echo "configure:16942: checking for _vsnwprintf" >&5 cat > conftest.$ac_ext < int main() { &_vsnwprintf; ; return 0; } EOF -if { (eval echo configure:16510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF @@ -16558,7 +16999,7 @@ fi echo $ac_n "checking for iconv""... $ac_c" 1>&6 -echo "configure:16562: checking for iconv" >&5 +echo "configure:17003: checking for iconv" >&5 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16566,7 +17007,7 @@ else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat > conftest.$ac_ext < #include @@ -16576,7 +17017,7 @@ iconv_t cd = iconv_open("",""); iconv_close(cd); ; return 0; } EOF -if { (eval echo configure:16580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_func_iconv=yes else @@ -16588,7 +17029,7 @@ rm -f conftest* am_save_LIBS="$LIBS" LIBS="$LIBS -liconv" cat > conftest.$ac_ext < #include @@ -16598,7 +17039,7 @@ iconv_t cd = iconv_open("",""); iconv_close(cd); ; return 0; } EOF -if { (eval echo configure:16602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_lib_iconv=yes am_cv_func_iconv=yes @@ -16619,12 +17060,12 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6 EOF echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6 -echo "configure:16623: checking if iconv needs const" >&5 +echo "configure:17064: checking if iconv needs const" >&5 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -16643,7 +17084,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:16647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_func_iconv_const="no" else @@ -16688,12 +17129,12 @@ if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then for ac_func in sigaction do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16692: checking for $ac_func" >&5 +echo "configure:17133: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16757,13 +17198,13 @@ cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6 -echo "configure:16761: checking for sa_handler type" >&5 +echo "configure:17202: checking for sa_handler type" >&5 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -16775,7 +17216,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:16779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_type_sa_handler=int @@ -16812,12 +17253,12 @@ fi for ac_func in mkstemp mktemp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16816: checking for $ac_func" >&5 +echo "configure:17257: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16866,12 +17307,12 @@ done echo $ac_n "checking for statfs""... $ac_c" 1>&6 -echo "configure:16870: checking for statfs" >&5 +echo "configure:17311: checking for statfs" >&5 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_func_statfs=yes @@ -16919,12 +17360,12 @@ EOF else echo $ac_n "checking for statvfs""... $ac_c" 1>&6 -echo "configure:16923: checking for statvfs" >&5 +echo "configure:17364: checking for statvfs" >&5 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -16940,7 +17381,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:16944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_func_statvfs=yes @@ -16974,12 +17415,12 @@ if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then for ac_func in fcntl flock do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16978: checking for $ac_func" >&5 +echo "configure:17419: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17036,12 +17477,12 @@ fi for ac_func in timegm do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17040: checking for $ac_func" >&5 +echo "configure:17481: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17092,12 +17533,12 @@ done for ac_func in putenv setenv do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17096: checking for $ac_func" >&5 +echo "configure:17537: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17167,12 +17608,12 @@ if test "$HAVE_SOME_SLEEP_FUNC" != 1; then for ac_func in nanosleep do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17171: checking for $ac_func" >&5 +echo "configure:17612: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17220,7 +17661,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 -echo "configure:17224: checking for nanosleep in -lposix4" >&5 +echo "configure:17665: checking for nanosleep in -lposix4" >&5 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -17228,7 +17669,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix4 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -17267,12 +17708,12 @@ else for ac_func in usleep do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17271: checking for $ac_func" >&5 +echo "configure:17712: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17338,12 +17779,12 @@ fi for ac_func in uname gethostname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17342: checking for $ac_func" >&5 +echo "configure:17783: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17403,12 +17844,12 @@ cross_compiling=$ac_cv_prog_cxx_cross for ac_func in strtok_r do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17407: checking for $ac_func" >&5 +echo "configure:17848: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17471,12 +17912,12 @@ INET_LINK= for ac_func in inet_addr do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17475: checking for $ac_func" >&5 +echo "configure:17916: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17524,7 +17965,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6 -echo "configure:17528: checking for inet_addr in -lnsl" >&5 +echo "configure:17969: checking for inet_addr in -lnsl" >&5 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -17532,7 +17973,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -17562,7 +18003,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then else echo "$ac_t""no" 1>&6 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6 -echo "configure:17566: checking for inet_addr in -lresolv" >&5 +echo "configure:18007: checking for inet_addr in -lresolv" >&5 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -17570,7 +18011,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -17600,7 +18041,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then else echo "$ac_t""no" 1>&6 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6 -echo "configure:17604: checking for inet_addr in -lsocket" >&5 +echo "configure:18045: checking for inet_addr in -lsocket" >&5 ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -17608,7 +18049,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -17655,12 +18096,12 @@ done for ac_func in inet_aton do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17659: checking for $ac_func" >&5 +echo "configure:18100: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17708,7 +18149,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6 -echo "configure:17712: checking for inet_aton in -l$INET_LINK" >&5 +echo "configure:18153: checking for inet_aton in -l$INET_LINK" >&5 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -17716,7 +18157,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$INET_LINK $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -17862,18 +18303,18 @@ if test "$TOOLKIT" != "MSW"; then case $flag in none) echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6 -echo "configure:17866: checking whether pthreads work without any flags" >&5 +echo "configure:18307: checking whether pthreads work without any flags" >&5 ;; -*) echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6 -echo "configure:17871: checking whether pthreads work with $flag" >&5 +echo "configure:18312: checking whether pthreads work with $flag" >&5 THREADS_CFLAGS="$flag" ;; *) echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6 -echo "configure:17877: checking for the pthreads library -l$flag" >&5 +echo "configure:18318: checking for the pthreads library -l$flag" >&5 THREADS_LINK="-l$flag" ;; esac @@ -17884,14 +18325,14 @@ echo "configure:17877: checking for the pthreads library -l$flag" >&5 CFLAGS="$THREADS_CFLAGS $CFLAGS" cat > conftest.$ac_ext < int main() { pthread_create(0,0,0,0); ; return 0; } EOF -if { (eval echo configure:17895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* THREADS_OK=yes else @@ -17920,10 +18361,14 @@ rm -f conftest* LIBS="$THREADS_LINK $LIBS" echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6 -echo "configure:17924: checking if more special flags are required for pthreads" >&5 +echo "configure:18365: checking if more special flags are required for pthreads" >&5 flag=no case "${host}" in - *-aix* | *-freebsd*) + *-aix*) + LDFLAGS="-L/usr/lib/threads $LDFLAGS" + flag="-D_THREAD_SAFE" + ;; + *-freebsd*) flag="-D_THREAD_SAFE" ;; *-hp-hpux* ) @@ -17949,12 +18394,12 @@ echo "configure:17924: checking if more special flags are required for pthreads" for ac_func in thr_setconcurrency do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17953: checking for $ac_func" >&5 +echo "configure:18398: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -18006,17 +18451,17 @@ done do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:18010: checking for $ac_hdr" >&5 +echo "configure:18455: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:18020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:18465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -18044,12 +18489,12 @@ done if test "$ac_cv_header_sched_h" = "yes"; then echo $ac_n "checking for sched_yield""... $ac_c" 1>&6 -echo "configure:18048: checking for sched_yield" >&5 +echo "configure:18493: checking for sched_yield" >&5 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_sched_yield=yes" else @@ -18094,7 +18539,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6 -echo "configure:18098: checking for sched_yield in -lposix4" >&5 +echo "configure:18543: checking for sched_yield in -lposix4" >&5 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -18102,7 +18547,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix4 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -18146,12 +18591,12 @@ fi HAVE_PRIOR_FUNCS=0 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6 -echo "configure:18150: checking for pthread_attr_getschedpolicy" >&5 +echo "configure:18595: checking for pthread_attr_getschedpolicy" >&5 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_pthread_attr_getschedpolicy=yes" else @@ -18189,12 +18634,12 @@ fi if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6 -echo "configure:18193: checking for pthread_attr_setschedparam" >&5 +echo "configure:18638: checking for pthread_attr_setschedparam" >&5 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_pthread_attr_setschedparam=yes" else @@ -18232,12 +18677,12 @@ fi if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6 -echo "configure:18236: checking for sched_get_priority_max" >&5 +echo "configure:18681: checking for sched_get_priority_max" >&5 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_sched_get_priority_max=yes" else @@ -18280,7 +18725,7 @@ if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then else echo "$ac_t""no" 1>&6 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6 -echo "configure:18284: checking for sched_get_priority_max in -lposix4" >&5 +echo "configure:18729: checking for sched_get_priority_max in -lposix4" >&5 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -18288,7 +18733,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix4 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -18344,12 +18789,12 @@ EOF fi echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6 -echo "configure:18348: checking for pthread_cancel" >&5 +echo "configure:18793: checking for pthread_cancel" >&5 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_pthread_cancel=yes" else @@ -18397,13 +18842,13 @@ fi echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6 -echo "configure:18401: checking for pthread_cleanup_push/pop" >&5 +echo "configure:18846: checking for pthread_cleanup_push/pop" >&5 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -18413,7 +18858,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:18417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_func_pthread_cleanup_push=yes @@ -18441,13 +18886,13 @@ EOF echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6 -echo "configure:18445: checking for pthread_mutexattr_t" >&5 +echo "configure:18890: checking for pthread_mutexattr_t" >&5 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -18457,7 +18902,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:18461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_type_pthread_mutexattr_t=yes @@ -18484,13 +18929,13 @@ EOF else echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6 -echo "configure:18488: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5 +echo "configure:18933: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -18499,7 +18944,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:18503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_type_pthread_rec_mutex_init=yes @@ -18534,7 +18979,7 @@ else case "${host}" in *-*-mingw32* ) echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6 -echo "configure:18538: checking if compiler supports -mthreads" >&5 +echo "configure:18983: checking if compiler supports -mthreads" >&5 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -18542,14 +18987,14 @@ else CFLAGS_OLD="$CFLAGS" CFLAGS="$CFLAGS -mthreads" cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_cflags_mthread=yes else @@ -18588,7 +19033,7 @@ EOF else if test "$ac_cv_func_strtok_r" = "yes"; then echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6 -echo "configure:18592: checking if -D_REENTRANT is needed" >&5 +echo "configure:19037: checking if -D_REENTRANT is needed" >&5 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT" echo "$ac_t""yes" 1>&6 @@ -18688,10 +19133,13 @@ if test "$GCC" = "yes" ; then CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return" fi - case "${host}" in + case "${host}" in powerpc*-*-aix* ) CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc" ;; + *-hppa* ) + CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections" + ;; esac fi @@ -18973,12 +19421,12 @@ if test "$wxUSE_DATETIME" = "yes"; then for ac_func in strptime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:18977: checking for $ac_func" >&5 +echo "configure:19425: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:19453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -19027,13 +19475,13 @@ done echo $ac_n "checking for timezone variable in ""... $ac_c" 1>&6 -echo "configure:19031: checking for timezone variable in " >&5 +echo "configure:19479: checking for timezone variable in " >&5 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -19045,7 +19493,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_var_timezone=timezone @@ -19056,7 +19504,7 @@ else rm -rf conftest* cat > conftest.$ac_ext < @@ -19068,7 +19516,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_var_timezone=_timezone @@ -19079,7 +19527,7 @@ else rm -rf conftest* cat > conftest.$ac_ext < @@ -19091,7 +19539,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_var_timezone=__timezone @@ -19132,12 +19580,12 @@ EOF for ac_func in localtime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:19136: checking for $ac_func" >&5 +echo "configure:19584: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:19612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -19187,13 +19635,13 @@ done if test "$ac_cv_func_localtime" = "yes"; then echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 -echo "configure:19191: checking for tm_gmtoff in struct tm" >&5 +echo "configure:19639: checking for tm_gmtoff in struct tm" >&5 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -19205,7 +19653,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_struct_tm_has_gmtoff=yes @@ -19234,12 +19682,12 @@ EOF for ac_func in gettimeofday ftime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:19238: checking for $ac_func" >&5 +echo "configure:19686: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:19714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -19289,7 +19737,7 @@ done if test "$ac_cv_func_gettimeofday" = "yes"; then echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6 -echo "configure:19293: checking whether gettimeofday takes two arguments" >&5 +echo "configure:19741: checking whether gettimeofday takes two arguments" >&5 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -19304,7 +19752,7 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < @@ -19317,7 +19765,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_func_gettimeofday_has_2_args=yes else @@ -19325,7 +19773,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext < @@ -19338,7 +19786,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_func_gettimeofday_has_2_args=no else @@ -19393,12 +19841,12 @@ fi if test "$wxUSE_SOCKETS" = "yes"; then if test "$TOOLKIT" != "MSW"; then echo $ac_n "checking for socket""... $ac_c" 1>&6 -echo "configure:19397: checking for socket" >&5 +echo "configure:19845: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:19873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_socket=yes" else @@ -19439,7 +19887,7 @@ if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then else echo "$ac_t""no" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:19443: checking for socket in -lsocket" >&5 +echo "configure:19891: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -19447,7 +19895,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:19910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -19494,7 +19942,7 @@ fi if test "$wxUSE_SOCKETS" = "yes" ; then if test "$TOOLKIT" != "MSW"; then echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6 -echo "configure:19498: checking what is the type of the third argument of getsockname" >&5 +echo "configure:19946: checking what is the type of the third argument of getsockname" >&5 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -19509,7 +19957,7 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < @@ -19522,7 +19970,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_type_getsockname3=socklen_t else @@ -19530,7 +19978,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext < @@ -19543,7 +19991,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:19995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_type_getsockname3=size_t else @@ -19551,7 +19999,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext < @@ -19564,7 +20012,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:19568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:20016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wx_cv_type_getsockname3=int else @@ -19636,17 +20084,17 @@ if test "$wxUSE_GUI" = "yes"; then do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:19640: checking for $ac_hdr" >&5 +echo "configure:20088: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:19650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:20098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -19700,12 +20148,12 @@ if test "$TOOLKIT" != "MSW"; then for ac_func in dlopen do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:19704: checking for $ac_func" >&5 +echo "configure:20152: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -19756,7 +20204,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:19760: checking for dlopen in -ldl" >&5 +echo "configure:20208: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -19764,7 +20212,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -19804,12 +20252,12 @@ else for ac_func in shl_load do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:19808: checking for $ac_func" >&5 +echo "configure:20256: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -19860,7 +20308,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6 -echo "configure:19864: checking for dld in -lshl_load" >&5 +echo "configure:20312: checking for dld in -lshl_load" >&5 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -19868,7 +20316,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lshl_load $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -19918,12 +20366,12 @@ done for ac_func in dlerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:19922: checking for $ac_func" >&5 +echo "configure:20370: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -19971,7 +20419,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6 -echo "configure:19975: checking for dlerror in -ldl" >&5 +echo "configure:20423: checking for dlerror in -ldl" >&5 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -19979,7 +20427,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -20065,7 +20513,7 @@ EOF if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6 -echo "configure:20069: checking for main in -lunicows" >&5 +echo "configure:20517: checking for main in -lunicows" >&5 ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -20073,14 +20521,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lunicows $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:20532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -20228,17 +20676,21 @@ if test "$wxUSE_PROLOGIO" = "yes" ; then #define wxUSE_PROLOGIO 1 EOF + ALL_OBJECTS="$ALL_OBJECTS parser.o" fi if test "$wxUSE_RESOURCES" = "yes" ; then if test "$wxUSE_NANOX" = "yes"; then echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2 - else - cat >> confdefs.h <<\EOF + else + cat >> confdefs.h <<\EOF #define wxUSE_RESOURCES 1 EOF - SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource" + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource" + fi + if test "$wxUSE_PROLOGIO" != "yes" ; then + ALL_OBJECTS="$ALL_OBJECTS parser.o" fi fi @@ -20258,17 +20710,17 @@ if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:20262: checking for $ac_hdr" >&5 +echo "configure:20714: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:20272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:20724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -20307,9 +20759,9 @@ cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6 -echo "configure:20311: checking if g++ requires -fvtable-thunks" >&5 +echo "configure:20763: checking if g++ requires -fvtable-thunks" >&5 cat > conftest.$ac_ext < #include @@ -20317,7 +20769,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:20321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:20773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""no" 1>&6 else @@ -20378,17 +20830,17 @@ if test "$wxUSE_WINE" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:20382: checking for $ac_hdr" >&5 +echo "configure:20834: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:20392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:20844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -20427,9 +20879,9 @@ cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6 -echo "configure:20431: checking if g++ requires -fvtable-thunks" >&5 +echo "configure:20883: checking if g++ requires -fvtable-thunks" >&5 cat > conftest.$ac_ext < #include @@ -20437,7 +20889,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:20441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:20893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""no" 1>&6 else @@ -21281,7 +21733,249 @@ if test "$wxUSE_MAC" = 1 ; then fi -LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS" +LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS" + +have_cos=0 +have_floor=0 +for ac_func in cos +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21744: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:21772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in floor +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21799: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:21827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6 +echo "configure:21852: checking if floating point functions link without -lm" >&5 +if test "$have_cos" = 1 -a "$have_floor" = 1; then + echo "$ac_t""yes" 1>&6 +else + echo "$ac_t""no" 1>&6 + LIBS="$LIBS -lm" + # use different functions to avoid configure caching + have_sin=0 + have_ceil=0 + for ac_func in sin +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21864: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:21892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + for ac_func in ceil +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21919: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:21947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6 +echo "configure:21972: checking if floating point functions link with -lm" >&5 + if test "$have_sin" = 1 -a "$have_ceil" = 1; then + echo "$ac_t""yes" 1>&6 + else + echo "$ac_t""no" 1>&6 + # not sure we should warn the user, crash, etc. + fi +fi if test "$wxUSE_GUI" = "yes"; then @@ -21415,6 +22109,11 @@ SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq + + + + + @@ -21422,7 +22121,7 @@ SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:21426: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:22125: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -21462,9 +22161,16 @@ wx_cv_program_ext=$PROGRAM_EXT wx_cv_target_library=$WX_TARGET_LIBRARY wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE +wx_cv_library_basename=${WX_LIBRARY_BASENAME} +wx_cv_release=${WX_RELEASE} +wx_cv_current=${WX_CURRENT} +wx_cv_revision=${WX_REVISION} +wx_cv_age=${WX_AGE} export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \ wx_cv_path_ifs wx_cv_program_ext \ - wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype + wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \ + wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age + subdirs="demos samples utils contrib" @@ -21572,6 +22278,7 @@ ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo " wx-config + version-script src/make.env src/makeprog.env src/makelib.env @@ -21648,6 +22355,10 @@ s%@X_CFLAGS@%$X_CFLAGS%g s%@X_PRE_LIBS@%$X_PRE_LIBS%g s%@X_LIBS@%$X_LIBS%g s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g +s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g +s%@PANGOX_LIBS@%$PANGOX_LIBS%g +s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g +s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g s%@AIX_CXX_LD@%$AIX_CXX_LD%g s%@RESCOMP@%$RESCOMP%g s%@DEREZ@%$DEREZ%g @@ -21659,6 +22370,7 @@ s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g +s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g @@ -21683,6 +22395,7 @@ s%@STATIC_FLAG@%$STATIC_FLAG%g s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g s%@USE_GUI@%$USE_GUI%g s%@AFMINSTALL@%$AFMINSTALL%g +s%@WIN32INSTALL@%$WIN32INSTALL%g s%@TOOLKIT@%$TOOLKIT%g s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g @@ -21705,10 +22418,12 @@ s%@PORT_FILES@%$PORT_FILES%g s%@DISTDIR@%$DISTDIR%g s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g s%@LDFLAGS_GL@%$LDFLAGS_GL%g +s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g s%@OPENGL_LIBS@%$OPENGL_LIBS%g s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g s%@EXTRADEFS@%$EXTRADEFS%g +s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g s%@RESFLAGS@%$RESFLAGS%g s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g @@ -21717,6 +22432,7 @@ s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g s%@LIBWXMACRES@%$LIBWXMACRES%g s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g +s%@GCC@%$GCC%g s%@DLLTOOL@%$DLLTOOL%g s%@AS@%$AS%g s%@NM@%$NM%g @@ -21767,6 +22483,7 @@ EOF cat >> $CONFIG_STATUS < reports that the shared - dnl libraries under AIX have the same suffix as the normal ones + dnl quoting from http://www-1.ibm.com/servers/esdd/articles/gnu.html: + dnl + dnl Both archive libraries and shared libraries on AIX have an .a + dnl extension. This will explain why you can't link with an .so and + dnl why it works with the name changed to .a. SO_SUFFIX=a AC_DEFINE(__AIX__) AC_DEFINE(__SYSV__) @@ -552,8 +555,8 @@ else DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes - DEFAULT_wxUSE_PROLOGIO=yes - DEFAULT_wxUSE_RESOURCES=yes + DEFAULT_wxUSE_PROLOGIO=no + DEFAULT_wxUSE_RESOURCES=no DEFAULT_wxUSE_CONSTRAINTS=yes DEFAULT_wxUSE_IPC=yes DEFAULT_wxUSE_HELP=yes @@ -1127,27 +1130,6 @@ else AC_MSG_RESULT(base ($host_alias hosted) only) fi -dnl --------------------------------------------------------------------------- -dnl When we are using gcc on OS/2, we want to be either using resources (PM) -dnl or a more complete POSIX emulation for Motif/GTK+/X11 -dnl --------------------------------------------------------------------------- -dnl (OS/2-only piece) -case "${host}" in - *-pc-os2_emx | *-pc-os2-emx ) - dnl Explicitly link -lstdcpp, since we are using "gcc" not "g++"/"c++". - LIBS="$LIBS -lstdcpp" - if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then - dnl More complete Unix emulation for unix-like ports - dnl by linking in POSIX/2's cExt (if available). - AC_CHECK_LIB(cExt, drand48, LIBS="$LIBS -lcExt") - else - dnl Include resources for the "native" port (wxPM). - RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res" - fi - ;; -esac -dnl (end of OS/2-only piece) - dnl --------------------------------------------------------------------------- dnl When we are using Cygwin with Motif/GTK+, we want it to appear like dnl 'just' a POSIX platform, so the Win32 API must not be available @@ -1223,7 +1205,7 @@ dnl defines GCC empty if not using gcc dnl defines CFLAGS dnl dnl this magic incantation is needed to prevent AC_PROG_CC from setting the -dnl default CFLAGS (something like "-g -O2") - we don't need this as add +dnl default CFLAGS (something like "-g -O2") -- we don't need this as we add dnl -g and -O flags ourselves below CFLAGS=${CFLAGS:=} AC_PROG_CC @@ -1357,6 +1339,27 @@ AC_PROG_LEX dnl needed for making link to setup.h AC_PROG_LN_S +dnl --------------------------------------------------------------------------- +dnl When we are using gcc on OS/2, we want to be either using resources (PM) +dnl or a more complete POSIX emulation for Motif/GTK+/X11 +dnl --------------------------------------------------------------------------- +dnl (OS/2-only piece) +case "${host}" in + *-pc-os2_emx | *-pc-os2-emx ) + dnl Explicitly link -lstdcpp, since we are using "gcc" not "g++"/"c++". + LIBS="$LIBS -lstdcpp" + if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then + dnl More complete Unix emulation for unix-like ports + dnl by linking in POSIX/2's cExt (if available). + AC_CHECK_LIB(cExt, drand48, LIBS="$LIBS -lcExt") + else + dnl Include resources for the "native" port (wxPM). + RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res" + fi + ;; +esac +dnl (end of OS/2-only piece) + dnl ------------------------------------------------------------------------ dnl Check for headers dnl ------------------------------------------------------------------------ @@ -1441,6 +1444,10 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t, [ AC_TRY_RUN( [ + /* DJGPP only has fake wchar_t: */ + #ifdef __DJGPP__ + # error "fake wchar_t" + #endif #ifdef HAVE_WCHAR_H # ifdef __CYGWIN__ # include @@ -1461,7 +1468,16 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t, ], wx_cv_sizeof_wchar_t=`cat conftestval`, wx_cv_sizeof_wchar_t=0, - wx_cv_sizeof_wchar_t=4 + [ + case "${host}" in + *-pc-msdosdjgpp ) + wx_cv_sizeof_wchar_t=0 + ;; + * ) + wx_cv_sizeof_wchar_t=4 + ;; + esac + ] ) ]) @@ -1501,13 +1517,9 @@ dnl Define search path for includes and libraries: all headers and libs will be dnl looked for in all directories of this path dnl --------------------------------------------------------------------------- -dnl notice that /usr/include should not be in this list, otherwise it breaks -dnl compilation on Solaris/gcc because standard headers are included instead -dnl of the gcc ones. (recorrection.. sadly much depends on this since it was -dnl first created and then 'corrected'.. removing /usr/include means system -dnl GL and Xpm libs will dnl not be found on linux and probably other platforms -dnl now. We need to correct that first before removing /usr/include again. -dnl see the various (ab)uses of WX_PATH_FIND_LIBRARIES below ) +dnl Notice that /usr/include should *not* be in this list, otherwise it breaks +dnl compilation on Solaris/AIX/... with gcc because standard (non ANSI C) +dnl headers are included instead of the "fixed" (ANSI-fied) gcc ones. dnl dnl Also try to put all directories which may contain X11R6 before those which dnl may contain X11R5/4 - we want to use R6 on machines which have both! @@ -1574,8 +1586,7 @@ SEARCH_INCLUDE="\ /usr/local/x11r5/include \ /usr/lpp/Xamples/include \ \ - /usr/openwin/share/include \ - /usr/include" + /usr/openwin/share/include" SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " @@ -1747,7 +1758,7 @@ if test "$wxUSE_LIBPNG" != "no" ; then fi else dnl we are using the system library - wxUSE_LIBPNG=yes + wxUSE_LIBPNG=sys fi fi fi @@ -1824,15 +1835,24 @@ dnl ------------------------------------------------------------------------ TIFF_INCLUDE= TIFF_LINK= +TIFF_PREREQ_LINKS=-lm if test "$wxUSE_LIBTIFF" != "no" ; then AC_DEFINE(wxUSE_LIBTIFF) if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then + dnl libtiff may depend on libjpeg and libz so use them in the test + dnl below or it would fail + if test "$wxUSE_LIBJPEG" = "sys"; then + TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK" + fi + if test "$wxUSE_ZLIB" = "sys"; then + TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK" + fi AC_CHECK_HEADER(tiffio.h, AC_CHECK_LIB(tiff, TIFFError, TIFF_LINK=" -ltiff", , - -lm) + $TIFF_PREREQ_LINKS) ) if test "x$TIFF_LINK" = "x" ; then @@ -1858,6 +1878,7 @@ dnl search for toolkit (widget sets) dnl ---------------------------------------------------------------- AFMINSTALL= +WIN32INSTALL= TOOLKIT= TOOLKIT_INCLUDE= @@ -1913,6 +1934,9 @@ if test "$USE_WIN32" = 1 ; then RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__" RESPROGRAMOBJ="\$(PROGRAM)_resources.o" + + dnl install Win32-specific files in "make install" + WIN32INSTALL=win32install fi if test "$USE_DARWIN" = 1; then @@ -1965,17 +1989,17 @@ if test "$wxUSE_GUI" = "yes"; then GTK_MODULES=gthread fi + dnl note that if we fail to find GTK2 we abort and don't fall + dnl back to GTK1.x wx_cv_lib_gtk= if test "x$wxUSE_GTK2" = "xyes"; then AM_PATH_GTK_2_0(2.0.0, wx_cv_lib_gtk=2.0, , $GTK_MODULES) - fi - - if test -z "$wx_cv_lib_gtk"; then + else AM_PATH_GTK(1.2.7, wx_cv_lib_gtk=1.2.7, , $GTK_MODULES) - fi - if test -z "$wx_cv_lib_gtk"; then - AM_PATH_GTK(1.2.3, wx_cv_lib_gtk=1.2.3, , $GTK_MODULES) + if test -z "$wx_cv_lib_gtk"; then + AM_PATH_GTK(1.2.3, wx_cv_lib_gtk=1.2.3, , $GTK_MODULES) + fi fi if test -z "$wx_cv_lib_gtk"; then @@ -1998,6 +2022,7 @@ if test "$wxUSE_GUI" = "yes"; then case "$wx_cv_lib_gtk" in 2.0) WXGTK20=1 + TOOLKIT_VERSION=2 ;; 1.2.7) WXGTK127=1 WXGTK12=1 @@ -2026,6 +2051,17 @@ equivalent variable and GTK+ is version 1.2.3 or above. ] ) fi + else + if test "$wxUSE_UNICODE" = "yes"; then + AC_MSG_WARN([Unicode configuration not supported with GTK+ 1.x]) + wxUSE_UNICODE=no + fi + fi + + dnl we need poll() in src/gtk/app.cpp (we know that Darwin doesn't + dnl have it but we do the check for the others) + if test "$USE_DARWIN" != 1; then + AC_CHECK_FUNCS(poll) fi TOOLKIT_INCLUDE="$wx_cv_cflags_gtk" @@ -2052,7 +2088,7 @@ equivalent variable and GTK+ is version 1.2.3 or above. dnl FIXME_MGL - test for MGL variants for freebsd etc. case "${host}" in *-*-linux* ) - mgl_os=linux/gcc/glibc + mgl_os="linux/gcc/glibc*" ;; *-pc-msdosdjgpp ) mgl_os=dos32/dj2 @@ -2171,6 +2207,37 @@ equivalent variable and GTK+ is version 1.2.3 or above. ) fi + if test "$wxUSE_UNICODE" = "yes"; then + PKG_CHECK_MODULES(PANGOX, pangox, + [ + CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS" + LIBS="$LIBS $PANGOX_LIBS" + ], + [ + AC_MSG_ERROR([pangox library not found, library cannot be compiled in Unicode mode]) + ] + ) + PKG_CHECK_MODULES(PANGOFT2, pangoft2, + [ + CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS" + LIBS="$LIBS $PANGOFT2_LIBS" + ], + [ + AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support]) + wxUSE_PRINTING_ARCHITECTURE="no" + ] + ) + PKG_CHECK_MODULES(PANGOXFT, pangoxft, + [ + CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS" + LIBS="$LIBS $PANGOXFT_LIBS" + ], + [ + AC_MSG_WARN([pangoxft library not found, library will be compiled without anti-aliasing support]) + ] + ) + fi + wxUSE_UNIVERSAL="yes" if test "$wxUSE_NANOX" = "yes"; then @@ -2233,8 +2300,10 @@ equivalent variable and GTK+ is version 1.2.3 or above. AC_MSG_ERROR(X11 not found, please use --x-includes and/or --x-libraries options) fi - GUI_TK_LIBRARY="$X_LIBS" - TOOLKIT_INCLUDE="$X_CFLAGS" + dnl for some reason AC_PATH_XTRA seems to add -INONE and -LNONE to + dnl X_LIBS and X_CFLAGS respectively -- what for?? + GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'` + TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'` AFMINSTALL=afminstall COMPILED_X_PROGRAM=0 @@ -2401,6 +2470,11 @@ equivalent variable and GTK+ is version 1.2.3 or above. if test "$wxUSE_PM" = 1; then TOOLKIT=PM GUIDIST=GTK_DIST + AC_MSG_WARN([OS/2 PM requires old resource format, re-enabled]) + wxUSE_PROLOGIO="yes" + wxUSE_RESOURCES="yes" + AC_MSG_WARN([OS/2 threads are not yet supported... disabled]) + wxUSE_THREADS="no" fi dnl the name of the directory where the files for this toolkit live @@ -2577,8 +2651,10 @@ if test "$wxUSE_DEBUG_FLAG" = "yes"; then lib_debug_suffix=d fi -TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}" -TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}" +WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[[a-z]]" "[[A-Z]]"` + +TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}" +TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}" if test "$cross_compiling" = "yes"; then TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}" @@ -2588,6 +2664,7 @@ fi dnl library link name WX_LIBRARY="wx_${TOOLCHAIN_NAME}" WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}" +WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}" dnl the name of the shared library WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}" @@ -2674,6 +2751,10 @@ if test "$wxUSE_SHARED" = "yes"; then PIC_FLAG="-fPIC" fi + + dnl use versioned symbols if available on the platform + WX_VERSIONED_SYMBOLS([\$(top_builddir)/version-script]) + dnl the command to use for creating the shared library SHARED_LD="${CXX} -shared -o" @@ -2757,16 +2838,18 @@ if test "$wxUSE_SHARED" = "yes"; then ;; *-*-aix* ) - dnl the abs path below used to be hardcoded here so I guess it must - dnl be some sort of standard location under AIX? - AC_CHECK_PROG(AIX_CXX_LD, makeC++SharedLib, - makeC++SharedLib, /usr/lpp/xlC/bin/makeC++SharedLib) + dnl default settings are ok for gcc + if test "$GCC" != "yes"; then + dnl the abs path below used to be hardcoded here so I guess it must + dnl be some sort of standard location under AIX? + AC_CHECK_PROG(AIX_CXX_LD, makeC++SharedLib, + makeC++SharedLib, /usr/lpp/xlC/bin/makeC++SharedLib) - SHARED_LD="$(AIX_CXX_LD) -p 0 -o" + SHARED_LD="$(AIX_CXX_LD) -p 0 -o" + fi ;; *-*-cygwin* | *-*-mingw32* ) - WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a" SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o" @@ -2789,9 +2872,15 @@ if test "$wxUSE_SHARED" = "yes"; then SHARED_LD="${LD} -shared -o" ;; + *-*-irix* ) + dnl default settings are ok for gcc + if test "$GCC" != "yes"; then + PIC_FLAG="-KPIC" + fi + ;; + *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ *-*-sunos4* | \ - *-*-irix5* | *-*-irix6* | \ *-*-osf* | \ *-*-dgux5* | \ *-*-sysv5* ) @@ -2854,15 +2943,10 @@ if test "$wxUSE_MAC" = 1; then AC_CHECK_PROG(RESCOMP, Rez, Rez, /Developer/Tools/Rez) AC_CHECK_PROG(DEREZ, DeRez, DeRez, /Developer/Tools/DeRez) MACOSX_BUNDLE="bundle" - if test "$wxUSE_SHARED" = "yes"; then - dnl resources are bundled with shared library, not with applications - LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)" - LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o" - else - dnl resources are bundled with applications, not with static library - LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)" - LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o" - fi + dnl resources are bundled both with shared library and applications + dnl since the carb resource *must* be included in the application + LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)" + LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o" else if test "$wxUSE_PM" = 1; then LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)" @@ -3364,7 +3448,17 @@ if test "$TOOLKIT" != "MSW"; then AC_MSG_CHECKING([if more special flags are required for pthreads]) flag=no case "${host}" in - *-aix* | *-freebsd*) + *-aix*) + dnl again quoting from + dnl http://www-1.ibm.com/servers/esdd/articles/gnu.html: + dnl + dnl When compiling and linking with -pthread, the library + dnl search path should include -L/usr/lib/threads at the + dnl beginning of the path. + LDFLAGS="-L/usr/lib/threads $LDFLAGS" + flag="-D_THREAD_SAFE" + ;; + *-freebsd*) flag="-D_THREAD_SAFE" ;; *-hp-hpux* ) @@ -3626,11 +3720,19 @@ if test "$GCC" = "yes" ; then dnl for each subroutine by default -- using the switch below only creates dnl one entry per file instead at the price of minor performance penalty dnl + dnl As of wx2.4 a bug in the hppa gcc compiler causes a similar problem + dnl without -ffunction-sections. No idea how long we'll need to maintain + dnl this, or even the extent of gcc/wx version combinations affected, but + dnl also as above, this 'fix' does not come without side effects. + dnl dnl TODO: test for the gcc version here (how?) case "${host}" in powerpc*-*-aix* ) CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc" ;; + *-hppa* ) + CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections" + ;; esac fi @@ -4290,14 +4392,18 @@ fi if test "$wxUSE_PROLOGIO" = "yes" ; then AC_DEFINE(wxUSE_PROLOGIO) + ALL_OBJECTS="$ALL_OBJECTS parser.o" fi if test "$wxUSE_RESOURCES" = "yes" ; then if test "$wxUSE_NANOX" = "yes"; then AC_MSG_WARN([Cannot use resource database functions in NanoX]) - else - AC_DEFINE(wxUSE_RESOURCES) - SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource" + else + AC_DEFINE(wxUSE_RESOURCES) + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource" + fi + if test "$wxUSE_PROLOGIO" != "yes" ; then + ALL_OBJECTS="$ALL_OBJECTS parser.o" fi fi @@ -4970,7 +5076,48 @@ dnl FIXME: should this be covered by the conditional above dnl given the -lm comment there? Or should that comment (and dnl this one) be removed.. [ 7 Nov 2001 ] -LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS" +LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS" + +dnl Only add the -lm library if floating point functions cannot be used +dnl without it. This check is important on cygwin because of the bizarre +dnl way that they have organized functions into libraries. On cygwin, both +dnl libc.a and libm.a are symbolic links to a single lib libcygwin.a. This +dnl means that +dnl 1) linking with -lm is not necessary, and +dnl 2) linking with -lm is dangerous if the order of libraries is wrong +dnl In particular, if you compile any program with -mno-cygwin and link with +dnl -lm, it will crash instantly when it is run. This happens because the +dnl linker incorrectly links the Cygwin libm.a (==libcygwin.a), which replaces +dnl the ___main function instead of allowing it to be defined by +dnl /usr/lib/mingw/libmingw32.a as it should be. +dnl +dnl On MacOS X, this test will find that -lm is unnecessary and leave it out. +dnl +dnl Just check a few floating point functions. If they are all found without +dnl -lm, then we must not need -lm. +have_cos=0 +have_floor=0 +AC_CHECK_FUNCS(cos, have_cos=1) +AC_CHECK_FUNCS(floor, have_floor=1) +AC_MSG_CHECKING(if floating point functions link without -lm) +if test "$have_cos" = 1 -a "$have_floor" = 1; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) + LIBS="$LIBS -lm" + # use different functions to avoid configure caching + have_sin=0 + have_ceil=0 + AC_CHECK_FUNCS(sin, have_sin=1) + AC_CHECK_FUNCS(ceil, have_ceil=1) + AC_MSG_CHECKING(if floating point functions link with -lm) + if test "$have_sin" = 1 -a "$have_ceil" = 1; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + # not sure we should warn the user, crash, etc. + fi +fi if test "$wxUSE_GUI" = "yes"; then @@ -5056,6 +5203,7 @@ AC_SUBST(WX_MINOR_VERSION_NUMBER) AC_SUBST(WX_RELEASE_NUMBER) AC_SUBST(WX_LIBRARY_NAME_STATIC) AC_SUBST(WX_LIBRARY_NAME_SHARED) +AC_SUBST(WX_LIBRARY_BASENAME) AC_SUBST(WX_LIBRARY_IMPORTLIB) AC_SUBST(WX_TARGET_LIBRARY) AC_SUBST(WX_LIBRARY_LINK1) @@ -5091,6 +5239,7 @@ AC_SUBST(WXDEBUG_DEFINE) dnl toolkit options AC_SUBST(USE_GUI) AC_SUBST(AFMINSTALL) +AC_SUBST(WIN32INSTALL) AC_SUBST(TOOLKIT) AC_SUBST(TOOLKIT_DIR) AC_SUBST(TOOLKIT_VPATH) @@ -5125,10 +5274,12 @@ AC_SUBST(SAMPLES_SUBDIRS) dnl additional libraries and linker settings AC_SUBST(LDFLAGS) AC_SUBST(LDFLAGS_GL) +AC_SUBST(LDFLAGS_VERSIONING) AC_SUBST(LDFLAGS_EXE) AC_SUBST(OPENGL_LIBS) AC_SUBST(DMALLOC_LIBS) AC_SUBST(EXTRADEFS) +AC_SUBST(WX_VERSION_TAG) dnl additional resurces settings AC_SUBST(RESCOMP) @@ -5144,7 +5295,8 @@ AC_SUBST(LIBWXMACRES) AC_SUBST(LIBWXMACRESCOMP) AC_SUBST(LIBWXMACRESWXCONFIG) -dnl These seem to be missing +dnl other tools +AC_SUBST(GCC) AC_SUBST(DLLTOOL) AC_SUBST(AS) AC_SUBST(NM) @@ -5175,9 +5327,16 @@ wx_cv_program_ext=$PROGRAM_EXT wx_cv_target_library=$WX_TARGET_LIBRARY wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE +wx_cv_library_basename=${WX_LIBRARY_BASENAME} +wx_cv_release=${WX_RELEASE} +wx_cv_current=${WX_CURRENT} +wx_cv_revision=${WX_REVISION} +wx_cv_age=${WX_AGE} export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \ wx_cv_path_ifs wx_cv_program_ext \ - wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype + wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \ + wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age + AC_CONFIG_SUBDIRS(demos samples utils contrib) @@ -5186,6 +5345,7 @@ dnl (the original file name may be overriden by appending another name after a dnl colon) AC_OUTPUT([ wx-config + version-script src/make.env src/makeprog.env src/makelib.env @@ -5230,4 +5390,23 @@ AC_OUTPUT([ ] ) -dnl vi: set et sts=4 sw=4: +dnl report on what we decided to do +echo +echo "Configured wxWindows ${WX_VERSION} for \`${host}'" +echo "" +echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}" + +echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}" +echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}" +echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}" + +echo " Which libraries should wxWindows use?" +echo " jpeg ${wxUSE_LIBJPEG-none}" +echo " png ${wxUSE_LIBPNG-none}" +echo " regex ${wxUSE_REGEX}" +echo " tiff ${wxUSE_LIBTIFF-none}" +echo " zlib ${wxUSE_ZLIB}" + +echo "" + +dnl vi: set et sts=4 sw=4 com=\:dnl: diff --git a/contrib/configure b/contrib/configure index 32d878c135..cbf9a0ae02 100755 --- a/contrib/configure +++ b/contrib/configure @@ -691,6 +691,16 @@ fi PATH_IFS=$wx_cv_path_ifs WX_TARGET_LIBRARY=$wx_cv_target_library WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype +WX_LIBRARY_BASENAME=$wx_cv_library_basename +WX_RELEASE=$wx_cv_release +WX_CURRENT=$wx_cv_current +WX_REVISION=$wx_cv_revision +WX_AGE=$wx_cv_age + + + + + @@ -830,16 +840,17 @@ trap 'rm -fr `echo " samples/ogl/ogledit/Makefile samples/ogl/studio/Makefile samples/stc/Makefile - samples/svg/Makefile + samples/svg/Makefile samples/canvas/Makefile samples/canvas/test/Makefile samples/canvas/simple/Makefile samples/gizmos/Makefile - samples/gizmos/multicell/Makefile - samples/gizmos/splittree/Makefile samples/gizmos/editlbox/Makefile samples/gizmos/dynsash/Makefile samples/gizmos/dynsash_switch/Makefile + samples/gizmos/multicell/Makefile + samples/gizmos/splittree/Makefile + samples/gizmos/led/Makefile samples/xrc/Makefile samples/plot/Makefile samples/applet/Makefile @@ -890,6 +901,11 @@ s%@PATH_IFS@%$PATH_IFS%g s%@ESD_LINK@%$ESD_LINK%g s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g +s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g +s%@WX_RELEASE@%$WX_RELEASE%g +s%@WX_CURRENT@%$WX_CURRENT%g +s%@WX_REVISION@%$WX_REVISION%g +s%@WX_AGE@%$WX_AGE%g CEOF EOF @@ -949,16 +965,17 @@ CONFIG_FILES=\${CONFIG_FILES-"src/Makefile samples/ogl/ogledit/Makefile samples/ogl/studio/Makefile samples/stc/Makefile - samples/svg/Makefile + samples/svg/Makefile samples/canvas/Makefile samples/canvas/test/Makefile samples/canvas/simple/Makefile samples/gizmos/Makefile - samples/gizmos/multicell/Makefile - samples/gizmos/splittree/Makefile samples/gizmos/editlbox/Makefile samples/gizmos/dynsash/Makefile samples/gizmos/dynsash_switch/Makefile + samples/gizmos/multicell/Makefile + samples/gizmos/splittree/Makefile + samples/gizmos/led/Makefile samples/xrc/Makefile samples/plot/Makefile samples/applet/Makefile diff --git a/contrib/configure.in b/contrib/configure.in index ef6db6c6ec..3047831472 100644 --- a/contrib/configure.in +++ b/contrib/configure.in @@ -26,11 +26,21 @@ dnl Final subst PATH_IFS=$wx_cv_path_ifs WX_TARGET_LIBRARY=$wx_cv_target_library WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype +WX_LIBRARY_BASENAME=$wx_cv_library_basename +WX_RELEASE=$wx_cv_release +WX_CURRENT=$wx_cv_current +WX_REVISION=$wx_cv_revision +WX_AGE=$wx_cv_age AC_SUBST(PATH_IFS) AC_SUBST(ESD_LINK) AC_SUBST(WX_TARGET_LIBRARY) AC_SUBST(WX_TARGET_LIBRARY_TYPE) +AC_SUBST(WX_LIBRARY_BASENAME) +AC_SUBST(WX_RELEASE) +AC_SUBST(WX_CURRENT) +AC_SUBST(WX_REVISION) +AC_SUBST(WX_AGE) dnl ----------- dnl File output @@ -55,15 +65,17 @@ AC_OUTPUT([ samples/ogl/ogledit/Makefile samples/ogl/studio/Makefile samples/stc/Makefile + samples/svg/Makefile samples/canvas/Makefile samples/canvas/test/Makefile samples/canvas/simple/Makefile samples/gizmos/Makefile - samples/gizmos/multicell/Makefile - samples/gizmos/splittree/Makefile samples/gizmos/editlbox/Makefile samples/gizmos/dynsash/Makefile samples/gizmos/dynsash_switch/Makefile + samples/gizmos/multicell/Makefile + samples/gizmos/splittree/Makefile + samples/gizmos/led/Makefile samples/xrc/Makefile samples/plot/Makefile samples/applet/Makefile diff --git a/contrib/include/wx/canvas/bbox.h b/contrib/include/wx/canvas/bbox.h index 6effa6951f..49a2e555ac 100644 --- a/contrib/include/wx/canvas/bbox.h +++ b/contrib/include/wx/canvas/bbox.h @@ -21,7 +21,7 @@ class wxBoundingBox { public: wxBoundingBox(); - wxBoundingBox(wxBoundingBox&); + wxBoundingBox(const wxBoundingBox&); wxBoundingBox(const wxPoint2DDouble&); wxBoundingBox(double xmin, double ymin, double xmax, double ymax); diff --git a/contrib/include/wx/fl/antiflickpl.h b/contrib/include/wx/fl/antiflickpl.h index 32b0eb2988..e8569aa6df 100644 --- a/contrib/include/wx/fl/antiflickpl.h +++ b/contrib/include/wx/fl/antiflickpl.h @@ -26,7 +26,7 @@ antiflicker plugins within the application. Locking for multithreaded applications is not yet implemented. */ -class cbAntiflickerPlugin : public cbPluginBase +class WXFL_DECLSPEC cbAntiflickerPlugin : public cbPluginBase { DECLARE_DYNAMIC_CLASS( cbAntiflickerPlugin ) protected: diff --git a/contrib/include/wx/fl/bardragpl.h b/contrib/include/wx/fl/bardragpl.h index 953b8dff9c..6c225dd237 100644 --- a/contrib/include/wx/fl/bardragpl.h +++ b/contrib/include/wx/fl/bardragpl.h @@ -23,7 +23,7 @@ Plugin class implementing bar dragging. */ -class cbBarDragPlugin : public cbPluginBase +class WXFL_DECLSPEC cbBarDragPlugin : public cbPluginBase { DECLARE_DYNAMIC_CLASS( cbBarDragPlugin ) protected: diff --git a/contrib/include/wx/fl/barhintspl.h b/contrib/include/wx/fl/barhintspl.h index 51a503145c..5f8da11d6d 100644 --- a/contrib/include/wx/fl/barhintspl.h +++ b/contrib/include/wx/fl/barhintspl.h @@ -24,7 +24,7 @@ This class intercepts bar-decoration and sizing events, and draws 3D hints around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x */ -class cbBarHintsPlugin : public cbPluginBase +class WXFL_DECLSPEC cbBarHintsPlugin : public cbPluginBase { DECLARE_DYNAMIC_CLASS( cbBarHintsPlugin ) diff --git a/contrib/include/wx/fl/cbcustom.h b/contrib/include/wx/fl/cbcustom.h index 93ec7f7f43..6eaf27cfd4 100644 --- a/contrib/include/wx/fl/cbcustom.h +++ b/contrib/include/wx/fl/cbcustom.h @@ -24,7 +24,7 @@ menu and handling basic customization such as floating and horizontal/vertical alignment of the bar. */ -class cbSimpleCustomizationPlugin : public cbPluginBase +class WXFL_DECLSPEC cbSimpleCustomizationPlugin : public cbPluginBase { public: DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin ) diff --git a/contrib/include/wx/fl/controlbar.h b/contrib/include/wx/fl/controlbar.h index dbe944fc9d..db829bc618 100644 --- a/contrib/include/wx/fl/controlbar.h +++ b/contrib/include/wx/fl/controlbar.h @@ -21,30 +21,31 @@ #include "wx/string.h" #include "wx/window.h" #include "wx/dynarray.h" +#include "wx/fl/fldefs.h" #define WXCONTROLBAR_VERSION 1.3 // forward declarations -class wxFrameLayout; +class WXFL_DECLSPEC wxFrameLayout; -class cbDockPane; -class cbUpdatesManagerBase; -class cbBarDimHandlerBase; -class cbPluginBase; -class cbPluginEvent; -class cbPaneDrawPlugin; +class WXFL_DECLSPEC cbDockPane; +class WXFL_DECLSPEC cbUpdatesManagerBase; +class WXFL_DECLSPEC cbBarDimHandlerBase; +class WXFL_DECLSPEC cbPluginBase; +class WXFL_DECLSPEC cbPluginEvent; +class WXFL_DECLSPEC cbPaneDrawPlugin; -class cbBarInfo; -class cbRowInfo; -class cbDimInfo; -class cbCommonPaneProperties; +class WXFL_DECLSPEC cbBarInfo; +class WXFL_DECLSPEC cbRowInfo; +class WXFL_DECLSPEC cbDimInfo; +class WXFL_DECLSPEC cbCommonPaneProperties; typedef cbBarInfo* BarInfoPtrT; typedef cbRowInfo* RowInfoPtrT; -WX_DEFINE_ARRAY( BarInfoPtrT, BarArrayT ); -WX_DEFINE_ARRAY( RowInfoPtrT, RowArrayT ); +WXFL_DEFINE_ARRAY( BarInfoPtrT, BarArrayT ); +WXFL_DEFINE_ARRAY( RowInfoPtrT, RowArrayT ); // control bar states @@ -97,7 +98,7 @@ Helper class, used for spying for unhandled mouse events on control bars and forwarding them to the frame layout. */ -class cbBarSpy : public wxEvtHandler +class WXFL_DECLSPEC cbBarSpy : public wxEvtHandler { public: DECLARE_DYNAMIC_CLASS( cbBarSpy ) @@ -129,7 +130,7 @@ which can be docked along the top, bottom, right, or left side of the parent frame. */ -class wxFrameLayout : public wxEvtHandler +class WXFL_DECLSPEC wxFrameLayout : public wxEvtHandler { public: // Default constructor, used only for serialization. @@ -647,7 +648,7 @@ used by any particular updates-manager to store auxiliary information to be used by its updating algorithm. */ -class cbUpdateMgrData : public wxObject +class WXFL_DECLSPEC cbUpdateMgrData : public wxObject { DECLARE_DYNAMIC_CLASS( cbUpdateMgrData ) public: @@ -687,7 +688,7 @@ to adjust the values in cbDimInfo::mSizes accordingly. Specific handlers can be hooked up to specific types of bar. */ -class cbBarDimHandlerBase : public wxObject +class WXFL_DECLSPEC cbBarDimHandlerBase : public wxObject { DECLARE_ABSTRACT_CLASS( cbBarDimHandlerBase ) @@ -725,7 +726,7 @@ Helper class used internally by the wxFrameLayout class. Holds and manages information about bar dimensions. */ -class cbDimInfo : public wxObject +class WXFL_DECLSPEC cbDimInfo : public wxObject { DECLARE_DYNAMIC_CLASS( cbDimInfo ) public: @@ -824,7 +825,7 @@ public: }; // FIXME: this array definition compiles but probably doesn't do what was intended (GD) -WX_DEFINE_ARRAY_LONG(float, cbArrayFloat); +WXFL_DEFINE_ARRAY_LONG(float, cbArrayFloat); /* Helper class used internally by the wxFrameLayout class. diff --git a/contrib/include/wx/fl/dyntbar.h b/contrib/include/wx/fl/dyntbar.h index 52945f93ab..25a1593ca6 100644 --- a/contrib/include/wx/fl/dyntbar.h +++ b/contrib/include/wx/fl/dyntbar.h @@ -18,12 +18,13 @@ #include "wx/tbarbase.h" #include "wx/dynarray.h" +#include "wx/fl/fldefs.h" /* Tool layout item. */ -class wxToolLayoutItem : public wxObject +class WXFL_DECLSPEC wxToolLayoutItem : public wxObject { DECLARE_DYNAMIC_CLASS(wxToolLayoutItem) @@ -32,19 +33,19 @@ public: bool mIsSeparator; }; -class wxDynToolInfo; +class WXFL_DECLSPEC wxDynToolInfo; typedef wxToolLayoutItem* wxToolLayoutItemPtrT; typedef wxDynToolInfo* wxDynToolInfoPtrT; -WX_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT ); -WX_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT ); +WXFL_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT ); +WXFL_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT ); /* This is a base class for layout algorithm implementations. */ -class LayoutManagerBase +class WXFL_DECLSPEC LayoutManagerBase { public: // Constructor. @@ -63,7 +64,7 @@ BagLayout lays out items in left-to-right order from top to bottom. */ -class BagLayout : public LayoutManagerBase +class WXFL_DECLSPEC BagLayout : public LayoutManagerBase { public: // Constructor. @@ -78,7 +79,7 @@ public: This class holds dynamic toolbar item information. */ -class wxDynToolInfo : public wxToolLayoutItem +class WXFL_DECLSPEC wxDynToolInfo : public wxToolLayoutItem { DECLARE_DYNAMIC_CLASS(wxDynToolInfo) @@ -98,7 +99,7 @@ public: wxDynamicToolBar manages containment and layout of tool windows. */ -class wxDynamicToolBar : public wxToolBarBase +class WXFL_DECLSPEC wxDynamicToolBar : public wxToolBarBase { protected: friend class wxDynamicToolBarSerializer; diff --git a/contrib/include/wx/fl/dyntbarhnd.h b/contrib/include/wx/fl/dyntbarhnd.h index 95441c92b8..29446bdeb1 100644 --- a/contrib/include/wx/fl/dyntbarhnd.h +++ b/contrib/include/wx/fl/dyntbarhnd.h @@ -23,7 +23,7 @@ Dynamic toolbar dimension handler. */ -class cbDynToolBarDimHandler : public cbBarDimHandlerBase +class WXFL_DECLSPEC cbDynToolBarDimHandler : public cbBarDimHandlerBase { DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler ) public: diff --git a/contrib/include/wx/fl/fldefs.h b/contrib/include/wx/fl/fldefs.h new file mode 100644 index 0000000000..d8346b6229 --- /dev/null +++ b/contrib/include/wx/fl/fldefs.h @@ -0,0 +1,50 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: fldefs.h +// Purpose: Declaration of global types and defines. +// Author: David M. Falkinder (david_falkinder@hp.com) +// Modified by: +// Created: 18/09/2002 +// RCS-ID: $Id$ +// Copyright: (c) David M. Falkinder +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef __fldefs_H_INCLUDED__ +#define __fldefs_H_INCLUDED__ + +#include "wx/defs.h" + +/* + * If we're using wx in Dynamic Library format do we + * want FL to be in DLL form as well? + */ +#if defined(WXUSINGDLL) && \ + (defined(WXMAKING_FL_DLL) || defined(WXUSING_FL_DLL)) + +#if defined(WXMAKING_FL_DLL) + // When building the DLL WXFLDECLSPEC exports classes +# define WXFL_DECLSPEC WXEXPORT +#elif defined(WXUSING_FL_DLL) + // When building the DLL WXFLDECLSPEC imports classes +# define WXFL_DECLSPEC WXIMPORT +#endif // defined(WXBUILD_FL_DLL) + +#else +// When building the static library nullify the effect of WXFL_DECLSPEC +#define WXFL_DECLSPEC +#endif // WXUSINGDLL && (WXMAKING_FL_DLL || WXUSING_FL_DLL) + +/////////////////////////////////////////////////////////////////////////////// +// Override some of the wxArray functions to +// include our definitions +/////////////////////////////////////////////////////////////////////////////// +#define WXFL_DEFINE_ARRAY(c,l) \ + class WXFL_DECLSPEC l; \ + WX_DEFINE_ARRAY(c,l) + +#define WXFL_DEFINE_ARRAY_LONG(t,l) \ + class WXFL_DECLSPEC l; \ + WX_DEFINE_ARRAY_LONG(t,l) + + +#endif // __fldefs_H_INCLUDED__ diff --git a/contrib/include/wx/fl/frmview.h b/contrib/include/wx/fl/frmview.h index 8830ab8e0a..8abc9efa36 100644 --- a/contrib/include/wx/fl/frmview.h +++ b/contrib/include/wx/fl/frmview.h @@ -32,7 +32,7 @@ class wxFrameManager; It is not clear what this class does. It is not used elsewhere in FL. */ -class wxFrameView : public wxEvtHandler +class WXFL_DECLSPEC wxFrameView : public wxEvtHandler { protected: wxStringList mTopMenus; @@ -87,7 +87,7 @@ class wxFrame; It is not clear what this class does. It is not used elsewhere in FL. */ -class wxFrameManager : wxObject +class WXFL_DECLSPEC wxFrameManager : wxObject { protected: wxList mViews; diff --git a/contrib/include/wx/fl/garbagec.h b/contrib/include/wx/fl/garbagec.h index b5f991abfa..652854fc01 100644 --- a/contrib/include/wx/fl/garbagec.h +++ b/contrib/include/wx/fl/garbagec.h @@ -17,6 +17,7 @@ #endif #include "wx/list.h" +#include "wx/fl/fldefs.h" struct GCItem { @@ -33,7 +34,7 @@ inline void* gc_node_to_obj( wxNode* pGCNode ) This class implements an extremely slow but simple garbage collection algorithm. */ -class GarbageCollector +class WXFL_DECLSPEC GarbageCollector { protected: wxList mAllNodes; diff --git a/contrib/include/wx/fl/gcupdatesmgr.h b/contrib/include/wx/fl/gcupdatesmgr.h index 2bfc959f89..4a0310432f 100644 --- a/contrib/include/wx/fl/gcupdatesmgr.h +++ b/contrib/include/wx/fl/gcupdatesmgr.h @@ -93,7 +93,7 @@ to avoid dirty non-client areas of moved windows in some special cases of 'overlapping anomalies'. */ -class cbGCUpdatesMgr : public cbSimpleUpdatesMgr +class WXFL_DECLSPEC cbGCUpdatesMgr : public cbSimpleUpdatesMgr { DECLARE_DYNAMIC_CLASS( cbGCUpdatesMgr ) protected: diff --git a/contrib/include/wx/fl/hintanimpl.h b/contrib/include/wx/fl/hintanimpl.h index e35083386e..1a07c59d6d 100644 --- a/contrib/include/wx/fl/hintanimpl.h +++ b/contrib/include/wx/fl/hintanimpl.h @@ -20,13 +20,13 @@ #include "wx/timer.h" -class cbHintAnimTimer; +class WXFL_DECLSPEC cbHintAnimTimer; /* A plugin to draw animated hints when the user drags a pane. */ -class cbHintAnimationPlugin : public cbPluginBase +class WXFL_DECLSPEC cbHintAnimationPlugin : public cbPluginBase { DECLARE_DYNAMIC_CLASS( cbHintAnimationPlugin ) protected: @@ -101,7 +101,7 @@ public: A private helper class. */ -struct MorphInfoT +struct WXFL_DECLSPEC MorphInfoT { wxPoint mFrom; wxPoint mTill; @@ -111,7 +111,7 @@ struct MorphInfoT A private helper class. */ -class cbHintAnimTimer : public wxTimer +class WXFL_DECLSPEC cbHintAnimTimer : public wxTimer { protected: diff --git a/contrib/include/wx/fl/newbmpbtn.h b/contrib/include/wx/fl/newbmpbtn.h index 73fcc32b59..507880b7ce 100644 --- a/contrib/include/wx/fl/newbmpbtn.h +++ b/contrib/include/wx/fl/newbmpbtn.h @@ -18,6 +18,7 @@ #include "wx/button.h" #include "wx/string.h" +#include "wx/fl/fldefs.h" // defaults #define NB_DEFAULT_MARGIN 2 @@ -31,8 +32,8 @@ // classes declared in this header file -class wxNewBitmapButton; -class wxBorderLessBitmapButton; +class WXFL_DECLSPEC wxNewBitmapButton; +class WXFL_DECLSPEC wxBorderLessBitmapButton; /* This is an alternative class to wxBitmapButton. It is used @@ -194,11 +195,6 @@ public: // Responds to a kill focus event. void OnKillFocus( wxFocusEvent& event ); - // Maps bitmap to current system colours on Windows -#ifdef __WXMSW__ - WXHBITMAP MapBitmap(WXHBITMAP bitmap, int width, int height); -#endif - DECLARE_EVENT_TABLE() }; diff --git a/contrib/include/wx/fl/panedrawpl.h b/contrib/include/wx/fl/panedrawpl.h index 781a9f39bc..e84f318fc6 100644 --- a/contrib/include/wx/fl/panedrawpl.h +++ b/contrib/include/wx/fl/panedrawpl.h @@ -27,7 +27,7 @@ would be enough for the frame layout to function properly (they are plugged in automatically by the wxFrameLayout class). */ -class cbPaneDrawPlugin : public cbPluginBase +class WXFL_DECLSPEC cbPaneDrawPlugin : public cbPluginBase { public: DECLARE_DYNAMIC_CLASS( cbPaneDrawPlugin ) diff --git a/contrib/include/wx/fl/rowdragpl.h b/contrib/include/wx/fl/rowdragpl.h index e9b94aea5b..831a7b7f94 100644 --- a/contrib/include/wx/fl/rowdragpl.h +++ b/contrib/include/wx/fl/rowdragpl.h @@ -25,7 +25,7 @@ The behaviour and appearance resembles drag and drop positioning of the toolbar rows in Netscape Communicator 4.xx. */ -class cbRowDragPlugin : public cbPluginBase +class WXFL_DECLSPEC cbRowDragPlugin : public cbPluginBase { DECLARE_DYNAMIC_CLASS( cbRowDragPlugin ) public: @@ -217,7 +217,7 @@ public: Internal helper class. */ -class cbHiddenBarInfo : public wxObject +class WXFL_DECLSPEC cbHiddenBarInfo : public wxObject { DECLARE_DYNAMIC_CLASS( cbHiddenBarInfo ) public: diff --git a/contrib/include/wx/fl/rowlayoutpl.h b/contrib/include/wx/fl/rowlayoutpl.h index fa1bc52ebf..969140a8a5 100644 --- a/contrib/include/wx/fl/rowlayoutpl.h +++ b/contrib/include/wx/fl/rowlayoutpl.h @@ -23,7 +23,7 @@ Simple implementation of a plugin which handles row layout requests sent from a frame layout. */ -class cbRowLayoutPlugin : public cbPluginBase +class WXFL_DECLSPEC cbRowLayoutPlugin : public cbPluginBase { DECLARE_DYNAMIC_CLASS( cbRowLayoutPlugin ) protected: diff --git a/contrib/include/wx/fl/toolwnd.h b/contrib/include/wx/fl/toolwnd.h index c6509280e6..2024c0c3d0 100644 --- a/contrib/include/wx/fl/toolwnd.h +++ b/contrib/include/wx/fl/toolwnd.h @@ -19,6 +19,7 @@ #include "wx/frame.h" #include "wx/dynarray.h" +#include "wx/fl/fldefs.h" // fixed settings @@ -26,18 +27,18 @@ #define BTN_BOX_WIDTH 12 #define BTN_X_WIEGHT 2 -class cbMiniButton; +class WXFL_DECLSPEC cbMiniButton; typedef cbMiniButton* cbMinitButtonPtrT; -WX_DEFINE_ARRAY( cbMinitButtonPtrT, cbMiniButtonArrayT ); +WXFL_DEFINE_ARRAY( cbMinitButtonPtrT, cbMiniButtonArrayT ); /* A tool window is a special kind of frame that paints its own title, and can be used to implement small floating windows. */ -class wxToolWindow : public wxFrame +class WXFL_DECLSPEC wxToolWindow : public wxFrame { DECLARE_DYNAMIC_CLASS( wxToolWindow ) @@ -221,7 +222,7 @@ public: cbCloseBox is a window close button, used in a wxToolWindow titlebar. */ -class cbCloseBox : public cbMiniButton +class WXFL_DECLSPEC cbCloseBox : public cbMiniButton { public: // Draws the close button appearance. @@ -232,7 +233,7 @@ public: cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar. */ -class cbCollapseBox : public cbMiniButton +class WXFL_DECLSPEC cbCollapseBox : public cbMiniButton { public: bool mIsAtLeft; @@ -245,7 +246,7 @@ public: cbDockBox is a window dock button, used in a wxToolWindow titlebar. */ -class cbDockBox : public cbMiniButton +class WXFL_DECLSPEC cbDockBox : public cbMiniButton { public: // Draws the dock button appearance. @@ -257,7 +258,7 @@ cbFloatedBarWindow is a kind of wxToolWindow, implementing floating toolbars. */ -class cbFloatedBarWindow : public wxToolWindow +class WXFL_DECLSPEC cbFloatedBarWindow : public wxToolWindow { DECLARE_DYNAMIC_CLASS( cbFloatedBarWindow ) protected: diff --git a/contrib/include/wx/fl/updatesmgr.h b/contrib/include/wx/fl/updatesmgr.h index 027d51315b..52a3222b9f 100644 --- a/contrib/include/wx/fl/updatesmgr.h +++ b/contrib/include/wx/fl/updatesmgr.h @@ -23,7 +23,7 @@ This class implements slightly optimized logic for refreshing the areas of frame layout that actually need to be updated. */ -class cbSimpleUpdatesMgr : public cbUpdatesManagerBase +class WXFL_DECLSPEC cbSimpleUpdatesMgr : public cbUpdatesManagerBase { DECLARE_DYNAMIC_CLASS( cbSimpleUpdatesMgr ) protected: diff --git a/contrib/include/wx/ogl/basic.h b/contrib/include/wx/ogl/basic.h index 30c23cea36..a765fbe09d 100644 --- a/contrib/include/wx/ogl/basic.h +++ b/contrib/include/wx/ogl/basic.h @@ -22,11 +22,6 @@ #define DEFAULT_MOUSE_TOLERANCE 3 #endif -// Edit these lines if you positively don't want PROLOGIO support -#ifndef PROLOGIO -#define PROLOGIO -#endif - // Key identifiers #define KEY_SHIFT 1 #define KEY_CTRL 2 @@ -110,7 +105,7 @@ class wxControlPoint; class wxShapeRegion; class wxShape; -#ifdef PROLOGIO +#if wxUSE_PROLOGIO class WXDLLEXPORT wxExpr; class WXDLLEXPORT wxExprDatabase; #endif @@ -381,7 +376,7 @@ class wxShape: public wxShapeEvtHandler virtual void ClearText(int regionId = 0); void RemoveLine(wxLineShape *line); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO // I/O virtual void WriteAttributes(wxExpr *clause); virtual void ReadAttributes(wxExpr *clause); @@ -613,7 +608,7 @@ class wxPolygonShape: public wxShape // Recalculates the centre of the polygon virtual void CalculatePolygonCentre(); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); #endif @@ -652,7 +647,7 @@ class wxRectangleShape: public wxShape void SetSize(double x, double y, bool recursive = TRUE); void SetCornerRadius(double rad); // If > 0, rounded corners -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); #endif @@ -682,8 +677,8 @@ class wxTextShape: public wxRectangleShape void OnDraw(wxDC& dc); -#ifdef PROLOGIO - void WriteAttributes(wxExpr *clause); +#if wxUSE_PROLOGIO + void WriteAttributes(wxExpr *clause); #endif // Does the copying for this object @@ -704,7 +699,7 @@ class wxEllipseShape: public wxShape void OnDraw(wxDC& dc); void SetSize(double x, double y, bool recursive = TRUE); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); #endif diff --git a/contrib/include/wx/ogl/basicp.h b/contrib/include/wx/ogl/basicp.h index fddc8732ac..a1d60cedee 100644 --- a/contrib/include/wx/ogl/basicp.h +++ b/contrib/include/wx/ogl/basicp.h @@ -136,7 +136,8 @@ class wxShapeRegion: public wxObject ~wxShapeRegion(); // Accessors - inline void SetText(const wxString& s) { m_regionText = s; } + inline void SetText(const wxString& s) + { m_regionText = s; m_formattedText.Append(new wxShapeTextLine(0,0,s));} void SetFont(wxFont *f); void SetMinSize(double w, double h); void SetSize(double w, double h); diff --git a/contrib/include/wx/ogl/bmpshape.h b/contrib/include/wx/ogl/bmpshape.h index 1b56477550..5389351fe4 100644 --- a/contrib/include/wx/ogl/bmpshape.h +++ b/contrib/include/wx/ogl/bmpshape.h @@ -27,7 +27,7 @@ class wxBitmapShape: public wxRectangleShape void OnDraw(wxDC& dc); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO // I/O void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); diff --git a/contrib/include/wx/ogl/composit.h b/contrib/include/wx/ogl/composit.h index fc373fe505..618629d4ff 100644 --- a/contrib/include/wx/ogl/composit.h +++ b/contrib/include/wx/ogl/composit.h @@ -77,7 +77,7 @@ public: // Calculates size and position of composite object based on children void CalculateSize(); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); // In case the object has constraints it needs to read in in a different pass @@ -152,7 +152,7 @@ class wxDivisionShape: public wxCompositeShape void MakeMandatoryControlPoints(); void ResetMandatoryControlPoints(); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); #endif diff --git a/contrib/include/wx/ogl/divided.h b/contrib/include/wx/ogl/divided.h index a427a63062..6fc733eee3 100644 --- a/contrib/include/wx/ogl/divided.h +++ b/contrib/include/wx/ogl/divided.h @@ -46,7 +46,7 @@ class wxDividedShape: public wxRectangleShape void MakeMandatoryControlPoints(); void ResetMandatoryControlPoints(); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); #endif diff --git a/contrib/include/wx/ogl/drawn.h b/contrib/include/wx/ogl/drawn.h index 4bc00f91d3..dafde44d21 100644 --- a/contrib/include/wx/ogl/drawn.h +++ b/contrib/include/wx/ogl/drawn.h @@ -32,7 +32,7 @@ class wxPseudoMetaFile: public wxObject void Draw(wxDC& dc, double xoffset, double yoffset); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void WriteAttributes(wxExpr *clause, int whichAngle); void ReadAttributes(wxExpr *clause, int whichAngle); #endif @@ -139,7 +139,7 @@ class wxDrawnShape: public wxRectangleShape void OnDraw(wxDC& dc); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO // I/O void WriteAttributes(wxExpr *clause); void ReadAttributes(wxExpr *clause); diff --git a/contrib/include/wx/ogl/drawnp.h b/contrib/include/wx/ogl/drawnp.h index 98ca0a8b65..dd083219b8 100644 --- a/contrib/include/wx/ogl/drawnp.h +++ b/contrib/include/wx/ogl/drawnp.h @@ -65,9 +65,10 @@ public: inline virtual void Rotate(double x, double y, double theta, double sinTheta, double cosTheta) {}; virtual void Do(wxDC& dc, double xoffset, double yoffset) = 0; virtual wxDrawOp *Copy(wxPseudoMetaFile *newImage) = 0; +#if wxUSE_PROLOGIO virtual wxExpr *WriteExpr(wxPseudoMetaFile *image) = 0; virtual void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) = 0; - +#endif inline int GetOp() const { return m_op; } // Draw an outline using the current operation. By default, return FALSE (not drawn) @@ -98,8 +99,10 @@ class wxOpSetGDI: public wxDrawOp wxOpSetGDI(int theOp, wxPseudoMetaFile *theImage, int theGdiIndex, int theMode = 0); void Do(wxDC& dc, double xoffset, double yoffset); wxDrawOp *Copy(wxPseudoMetaFile *newImage); +#if wxUSE_PROLOGIO wxExpr *WriteExpr(wxPseudoMetaFile *image); void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr); +#endif public: int m_mode; @@ -123,8 +126,10 @@ public: void Scale(double xScale, double yScale); void Translate(double x, double y); wxDrawOp *Copy(wxPseudoMetaFile *newImage); +#if wxUSE_PROLOGIO wxExpr *WriteExpr(wxPseudoMetaFile *image); void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr); +#endif public: double m_x1; @@ -149,8 +154,10 @@ class wxOpDraw: public wxDrawOp void Translate(double x, double y); void Rotate(double x, double y, double theta, double sinTheta, double cosTheta); wxDrawOp *Copy(wxPseudoMetaFile *newImage); +#if wxUSE_PROLOGIO wxExpr *WriteExpr(wxPseudoMetaFile *image); void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr); +#endif public: double m_x1; @@ -179,8 +186,10 @@ public: void Translate(double x, double y); void Rotate(double x, double y, double theta, double sinTheta, double cosTheta); wxDrawOp *Copy(wxPseudoMetaFile *newImage); +#if wxUSE_PROLOGIO wxExpr *WriteExpr(wxPseudoMetaFile *image); void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr); +#endif // Draw an outline using the current operation. virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h, diff --git a/contrib/include/wx/ogl/lines.h b/contrib/include/wx/ogl/lines.h index 0fb141ea98..22d7a3b22c 100644 --- a/contrib/include/wx/ogl/lines.h +++ b/contrib/include/wx/ogl/lines.h @@ -188,7 +188,7 @@ class wxLineShape: public wxShape bool HitTest(double x, double y, int *attachment, double *distance); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO // I/O virtual void WriteAttributes(wxExpr *clause); virtual void ReadAttributes(wxExpr *clause); diff --git a/contrib/include/wx/ogl/ogldiag.h b/contrib/include/wx/ogl/ogldiag.h index afe7db18c4..7a593f2466 100644 --- a/contrib/include/wx/ogl/ogldiag.h +++ b/contrib/include/wx/ogl/ogldiag.h @@ -67,7 +67,7 @@ public: // Make sure all text that should be centred, is centred. void RecentreAll(wxDC& dc); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO virtual bool SaveFile(const wxString& filename); virtual bool LoadFile(const wxString& filename); diff --git a/contrib/include/wx/stc/stc.h b/contrib/include/wx/stc/stc.h index 640eac8baf..82cd6684ff 100644 --- a/contrib/include/wx/stc/stc.h +++ b/contrib/include/wx/stc/stc.h @@ -24,6 +24,12 @@ #include #include +#ifdef STCISDLL +#define STCDLLEXPORT WXDLLEXPORT +#else +#define STCDLLEXPORT +#endif + //---------------------------------------------------------------------- // Should a wxPopupWindow be used for the call tips and autocomplete windows? @@ -43,12 +49,6 @@ #define wxSTC_START 2000 #define wxSTC_OPTIONAL_START 3000 #define wxSTC_LEXER_START 4000 - -// Redoes the next action on the undo history. -#define wxSTC_CMD_REDO 2011 - -// Select all the text in the document. -#define wxSTC_CMD_SELECTALL 2013 #define wxSTC_WS_INVISIBLE 0 #define wxSTC_WS_VISIBLEALWAYS 1 #define wxSTC_WS_VISIBLEAFTERINDENT 2 @@ -167,18 +167,6 @@ #define wxSTC_FIND_MATCHCASE 4 #define wxSTC_FIND_WORDSTART 0x00100000 #define wxSTC_FIND_REGEXP 0x00200000 - -// Undo one action in the undo history. -#define wxSTC_CMD_UNDO 2176 - -// Cut the selection to the clipboard. -#define wxSTC_CMD_CUT 2177 - -// Copy the selection to the clipboard. -#define wxSTC_CMD_COPY 2178 - -// Paste the contents of the clipboard into the document replacing the selection. -#define wxSTC_CMD_PASTE 2179 #define wxSTC_FOLDLEVELBASE 0x400 #define wxSTC_FOLDLEVELWHITEFLAG 0x1000 #define wxSTC_FOLDLEVELHEADERFLAG 0x2000 @@ -190,158 +178,6 @@ #define wxSTC_CACHE_CARET 1 #define wxSTC_CACHE_PAGE 2 #define wxSTC_CACHE_DOCUMENT 3 - -// Move caret down one line. -#define wxSTC_CMD_LINEDOWN 2300 - -// Move caret down one line extending selection to new caret position. -#define wxSTC_CMD_LINEDOWNEXTEND 2301 - -// Move caret up one line. -#define wxSTC_CMD_LINEUP 2302 - -// Move caret up one line extending selection to new caret position. -#define wxSTC_CMD_LINEUPEXTEND 2303 - -// Move caret left one character. -#define wxSTC_CMD_CHARLEFT 2304 - -// Move caret left one character extending selection to new caret position. -#define wxSTC_CMD_CHARLEFTEXTEND 2305 - -// Move caret right one character. -#define wxSTC_CMD_CHARRIGHT 2306 - -// Move caret right one character extending selection to new caret position. -#define wxSTC_CMD_CHARRIGHTEXTEND 2307 - -// Move caret left one word. -#define wxSTC_CMD_WORDLEFT 2308 - -// Move caret left one word extending selection to new caret position. -#define wxSTC_CMD_WORDLEFTEXTEND 2309 - -// Move caret right one word. -#define wxSTC_CMD_WORDRIGHT 2310 - -// Move caret right one word extending selection to new caret position. -#define wxSTC_CMD_WORDRIGHTEXTEND 2311 - -// Move caret to first position on line. -#define wxSTC_CMD_HOME 2312 - -// Move caret to first position on line extending selection to new caret position. -#define wxSTC_CMD_HOMEEXTEND 2313 - -// Move caret to last position on line. -#define wxSTC_CMD_LINEEND 2314 - -// Move caret to last position on line extending selection to new caret position. -#define wxSTC_CMD_LINEENDEXTEND 2315 - -// Move caret to first position in document. -#define wxSTC_CMD_DOCUMENTSTART 2316 - -// Move caret to first position in document extending selection to new caret position. -#define wxSTC_CMD_DOCUMENTSTARTEXTEND 2317 - -// Move caret to last position in document. -#define wxSTC_CMD_DOCUMENTEND 2318 - -// Move caret to last position in document extending selection to new caret position. -#define wxSTC_CMD_DOCUMENTENDEXTEND 2319 - -// Move caret one page up. -#define wxSTC_CMD_PAGEUP 2320 - -// Move caret one page up extending selection to new caret position. -#define wxSTC_CMD_PAGEUPEXTEND 2321 - -// Move caret one page down. -#define wxSTC_CMD_PAGEDOWN 2322 - -// Move caret one page down extending selection to new caret position. -#define wxSTC_CMD_PAGEDOWNEXTEND 2323 - -// Switch from insert to overtype mode or the reverse. -#define wxSTC_CMD_EDITTOGGLEOVERTYPE 2324 - -// Cancel any modes such as call tip or auto-completion list display. -#define wxSTC_CMD_CANCEL 2325 - -// Delete the selection or if no selection, the character before the caret. -#define wxSTC_CMD_DELETEBACK 2326 - -// If selection is empty or all on one line replace the selection with a tab character. -// If more than one line selected, indent the lines. -#define wxSTC_CMD_TAB 2327 - -// Dedent the selected lines. -#define wxSTC_CMD_BACKTAB 2328 - -// Insert a new line, may use a CRLF, CR or LF depending on EOL mode. -#define wxSTC_CMD_NEWLINE 2329 - -// Insert a Form Feed character. -#define wxSTC_CMD_FORMFEED 2330 - -// Move caret to before first visible character on line. -// If already there move to first character on line. -#define wxSTC_CMD_VCHOME 2331 - -// Like VCHome but extending selection to new caret position. -#define wxSTC_CMD_VCHOMEEXTEND 2332 - -// Magnify the displayed text by increasing the sizes by 1 point. -#define wxSTC_CMD_ZOOMIN 2333 - -// Make the displayed text smaller by decreasing the sizes by 1 point. -#define wxSTC_CMD_ZOOMOUT 2334 - -// Delete the word to the left of the caret. -#define wxSTC_CMD_DELWORDLEFT 2335 - -// Delete the word to the right of the caret. -#define wxSTC_CMD_DELWORDRIGHT 2336 - -// Cut the line containing the caret. -#define wxSTC_CMD_LINECUT 2337 - -// Delete the line containing the caret. -#define wxSTC_CMD_LINEDELETE 2338 - -// Switch the current line with the previous. -#define wxSTC_CMD_LINETRANSPOSE 2339 - -// Transform the selection to lower case. -#define wxSTC_CMD_LOWERCASE 2340 - -// Transform the selection to upper case. -#define wxSTC_CMD_UPPERCASE 2341 - -// Scroll the document down, keeping the caret visible. -#define wxSTC_CMD_LINESCROLLDOWN 2342 - -// Scroll the document up, keeping the caret visible. -#define wxSTC_CMD_LINESCROLLUP 2343 - -// Delete the selection or if no selection, the character before the caret. -// Will not delete the character before at the start of a line. -#define wxSTC_CMD_DELETEBACKNOTLINE 2344 - -// Move caret to first position on display line. -#define wxSTC_CMD_HOMEDISPLAY 2345 - -// Move caret to first position on display line extending selection to -// new caret position. -#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346 - -// Move caret to last position on display line. -#define wxSTC_CMD_LINEENDDISPLAY 2347 - -// Move caret to last position on display line extending selection to new -// caret position. -#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348 #define wxSTC_EDGE_NONE 0 #define wxSTC_EDGE_LINE 1 #define wxSTC_EDGE_BACKGROUND 2 @@ -866,6 +702,204 @@ #define wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR 18 #define wxSTC_SCRIPTOL_COMMENTBASIC 19 + +//----------------------------------------- +// Commands that can be bound to keystrokes + +// Redoes the next action on the undo history. +#define wxSTC_CMD_REDO 2011 + +// Select all the text in the document. +#define wxSTC_CMD_SELECTALL 2013 + +// Undo one action in the undo history. +#define wxSTC_CMD_UNDO 2176 + +// Cut the selection to the clipboard. +#define wxSTC_CMD_CUT 2177 + +// Copy the selection to the clipboard. +#define wxSTC_CMD_COPY 2178 + +// Paste the contents of the clipboard into the document replacing the selection. +#define wxSTC_CMD_PASTE 2179 + +// Clear the selection. +#define wxSTC_CMD_CLEAR 2180 + +// Move caret down one line. +#define wxSTC_CMD_LINEDOWN 2300 + +// Move caret down one line extending selection to new caret position. +#define wxSTC_CMD_LINEDOWNEXTEND 2301 + +// Move caret up one line. +#define wxSTC_CMD_LINEUP 2302 + +// Move caret up one line extending selection to new caret position. +#define wxSTC_CMD_LINEUPEXTEND 2303 + +// Move caret left one character. +#define wxSTC_CMD_CHARLEFT 2304 + +// Move caret left one character extending selection to new caret position. +#define wxSTC_CMD_CHARLEFTEXTEND 2305 + +// Move caret right one character. +#define wxSTC_CMD_CHARRIGHT 2306 + +// Move caret right one character extending selection to new caret position. +#define wxSTC_CMD_CHARRIGHTEXTEND 2307 + +// Move caret left one word. +#define wxSTC_CMD_WORDLEFT 2308 + +// Move caret left one word extending selection to new caret position. +#define wxSTC_CMD_WORDLEFTEXTEND 2309 + +// Move caret right one word. +#define wxSTC_CMD_WORDRIGHT 2310 + +// Move caret right one word extending selection to new caret position. +#define wxSTC_CMD_WORDRIGHTEXTEND 2311 + +// Move caret to first position on line. +#define wxSTC_CMD_HOME 2312 + +// Move caret to first position on line extending selection to new caret position. +#define wxSTC_CMD_HOMEEXTEND 2313 + +// Move caret to last position on line. +#define wxSTC_CMD_LINEEND 2314 + +// Move caret to last position on line extending selection to new caret position. +#define wxSTC_CMD_LINEENDEXTEND 2315 + +// Move caret to first position in document. +#define wxSTC_CMD_DOCUMENTSTART 2316 + +// Move caret to first position in document extending selection to new caret position. +#define wxSTC_CMD_DOCUMENTSTARTEXTEND 2317 + +// Move caret to last position in document. +#define wxSTC_CMD_DOCUMENTEND 2318 + +// Move caret to last position in document extending selection to new caret position. +#define wxSTC_CMD_DOCUMENTENDEXTEND 2319 + +// Move caret one page up. +#define wxSTC_CMD_PAGEUP 2320 + +// Move caret one page up extending selection to new caret position. +#define wxSTC_CMD_PAGEUPEXTEND 2321 + +// Move caret one page down. +#define wxSTC_CMD_PAGEDOWN 2322 + +// Move caret one page down extending selection to new caret position. +#define wxSTC_CMD_PAGEDOWNEXTEND 2323 + +// Switch from insert to overtype mode or the reverse. +#define wxSTC_CMD_EDITTOGGLEOVERTYPE 2324 + +// Cancel any modes such as call tip or auto-completion list display. +#define wxSTC_CMD_CANCEL 2325 + +// Delete the selection or if no selection, the character before the caret. +#define wxSTC_CMD_DELETEBACK 2326 + +// If selection is empty or all on one line replace the selection with a tab character. +// If more than one line selected, indent the lines. +#define wxSTC_CMD_TAB 2327 + +// Dedent the selected lines. +#define wxSTC_CMD_BACKTAB 2328 + +// Insert a new line, may use a CRLF, CR or LF depending on EOL mode. +#define wxSTC_CMD_NEWLINE 2329 + +// Insert a Form Feed character. +#define wxSTC_CMD_FORMFEED 2330 + +// Move caret to before first visible character on line. +// If already there move to first character on line. +#define wxSTC_CMD_VCHOME 2331 + +// Like VCHome but extending selection to new caret position. +#define wxSTC_CMD_VCHOMEEXTEND 2332 + +// Magnify the displayed text by increasing the sizes by 1 point. +#define wxSTC_CMD_ZOOMIN 2333 + +// Make the displayed text smaller by decreasing the sizes by 1 point. +#define wxSTC_CMD_ZOOMOUT 2334 + +// Delete the word to the left of the caret. +#define wxSTC_CMD_DELWORDLEFT 2335 + +// Delete the word to the right of the caret. +#define wxSTC_CMD_DELWORDRIGHT 2336 + +// Cut the line containing the caret. +#define wxSTC_CMD_LINECUT 2337 + +// Delete the line containing the caret. +#define wxSTC_CMD_LINEDELETE 2338 + +// Switch the current line with the previous. +#define wxSTC_CMD_LINETRANSPOSE 2339 + +// Transform the selection to lower case. +#define wxSTC_CMD_LOWERCASE 2340 + +// Transform the selection to upper case. +#define wxSTC_CMD_UPPERCASE 2341 + +// Scroll the document down, keeping the caret visible. +#define wxSTC_CMD_LINESCROLLDOWN 2342 + +// Scroll the document up, keeping the caret visible. +#define wxSTC_CMD_LINESCROLLUP 2343 + +// Delete the selection or if no selection, the character before the caret. +// Will not delete the character before at the start of a line. +#define wxSTC_CMD_DELETEBACKNOTLINE 2344 + +// Move caret to first position on display line. +#define wxSTC_CMD_HOMEDISPLAY 2345 + +// Move caret to first position on display line extending selection to +// new caret position. +#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346 + +// Move caret to last position on display line. +#define wxSTC_CMD_LINEENDDISPLAY 2347 + +// Move caret to last position on display line extending selection to new +// caret position. +#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348 + +// Move to the previous change in capitalisation. +#define wxSTC_CMD_WORDPARTLEFT 2390 + +// Move to the previous change in capitalisation extending selection +// to new caret position. +#define wxSTC_CMD_WORDPARTLEFTEXTEND 2391 + +// Move to the change next in capitalisation. +#define wxSTC_CMD_WORDPARTRIGHT 2392 + +// Move to the next change in capitalisation extending selection +// to new caret position. +#define wxSTC_CMD_WORDPARTRIGHTEXTEND 2393 + +// Delete back from the current position to the start of the line. +#define wxSTC_CMD_DELLINELEFT 2395 + +// Delete forwards from the current position to the end of the line. +#define wxSTC_CMD_DELLINERIGHT 2396 + + // END of generated section //---------------------------------------------------------------------- @@ -873,8 +907,11 @@ class ScintillaWX; // forward declare class WordList; struct SCNotification; - -extern const wxChar* wxSTCNameStr; +#ifndef SWIG +extern STCDLLEXPORT const wxChar* wxSTCNameStr; +class STCDLLEXPORT wxStyledTextCtrl; +class STCDLLEXPORT wxStyledTextEvent; +#endif //---------------------------------------------------------------------- @@ -1644,14 +1681,14 @@ public: // Move caret to first position on display line. void HomeDisplay(); - // Move caret to first position on display line extending selection to + // Move caret to first position on display line extending selection to // new caret position. void HomeDisplayExtend(); // Move caret to last position on display line. void LineEndDisplay(); - // Move caret to last position on display line extending selection to new + // Move caret to last position on display line extending selection to new // caret position. void LineEndDisplayExtend(); @@ -1933,6 +1970,7 @@ private: void OnMouseMove(wxMouseEvent& evt); void OnMouseLeftUp(wxMouseEvent& evt); void OnMouseRightUp(wxMouseEvent& evt); + void OnMouseMiddleUp(wxMouseEvent& evt); void OnContextMenu(wxContextMenuEvent& evt); void OnMouseWheel(wxMouseEvent& evt); void OnChar(wxKeyEvent& evt); @@ -1968,7 +2006,7 @@ private: //---------------------------------------------------------------------- -// SWIG can't handle "#if" type of conditionals, onlu "#ifdef" +// SWIG can't handle "#if" type of conditionals, only "#ifdef" #ifdef SWIG #define STC_USE_DND 1 #else diff --git a/contrib/include/wx/xrc/xh_all.h b/contrib/include/wx/xrc/xh_all.h index 5382b6ffb0..2ac1db392c 100644 --- a/contrib/include/wx/xrc/xh_all.h +++ b/contrib/include/wx/xrc/xh_all.h @@ -46,5 +46,6 @@ #include "wx/xrc/xh_unkwn.h" #include "wx/xrc/xh_gdctl.h" #include "wx/xrc/xh_frame.h" +#include "wx/xrc/xh_scwin.h" #endif // _WX_XMLRES_H_ diff --git a/contrib/include/wx/xrc/xh_scwin.h b/contrib/include/wx/xrc/xh_scwin.h new file mode 100644 index 0000000000..1befc41215 --- /dev/null +++ b/contrib/include/wx/xrc/xh_scwin.h @@ -0,0 +1,32 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: xh_scwin.h +// Purpose: XML resource handler for wxScrolledWindow +// Author: Vaclav Slavik +// Created: 2002/10/18 +// RCS-ID: $Id$ +// Copyright: (c) 2002 Vaclav Slavik +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_XH_SCWIN_H_ +#define _WX_XH_SCWIN_H_ + +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "xh_scwin.h" +#endif + +#include "wx/xrc/xmlres.h" +#include "wx/defs.h" + + + +class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler +{ +public: + wxScrolledWindowXmlHandler(); + virtual wxObject *DoCreateResource(); + virtual bool CanHandle(wxXmlNode *node); +}; + + +#endif // _WX_XH_SCWIN_H_ diff --git a/contrib/include/wx/xrc/xmlres.h b/contrib/include/wx/xrc/xmlres.h index ca37a9cfa7..d0d6a831cd 100644 --- a/contrib/include/wx/xrc/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -37,6 +37,9 @@ class WXDLLEXPORT wxFrame; class WXDLLEXPORT wxToolBar; class WXXMLDLLEXPORT wxXmlResourceHandler; +class WXXMLDLLEXPORT wxXmlSubclassFactory; +class WXXMLDLLEXPORT wxXmlSubclassFactoriesList; +class wxXmlResourceModule; // These macros indicate current version of XML resources (this information is @@ -133,6 +136,11 @@ public: // Removes all handlers void ClearHandlers(); + + // Registers subclasses factory for use in XRC. This function is not meant + // for public use, please see the comment above wxXmlSubclassFactory + // definition. + static void AddSubclassFactory(wxXmlSubclassFactory *factory); // Loads menu from resource. Returns NULL on failure. wxMenu *LoadMenu(const wxString& name); @@ -216,7 +224,9 @@ public: static wxXmlResource *Set(wxXmlResource *res); // Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING. - int GetFlags() { return m_flags; } + int GetFlags() const { return m_flags; } + // Set flags after construction. + void SetFlags(int flags) { m_flags = flags; } protected: // Scans the resources list for unloaded files and loads them. Also reloads @@ -244,6 +254,9 @@ private: #endif friend class wxXmlResourceHandler; + friend class wxXmlResourceModule; + + static wxXmlSubclassFactoriesList *ms_subclassFactories; // singleton instance: static wxXmlResource *ms_instance; @@ -438,6 +451,20 @@ protected: void wxXmlInitResourceModule(); +// This class is used to create instances of XRC "object" nodes with "subclass" +// property. It is _not_ supposed to be used by XRC users, you should instead +// register your subclasses via wxWindows' RTTI mechanism. This class is useful +// only for language bindings developer who need a way to implement subclassing +// in wxWindows ports that don't support wxRTTI (e.g. wxPython). +class WXXMLDLLEXPORT wxXmlSubclassFactory +{ +public: + // Try to create instance of given class and return it, return NULL on failure: + virtual wxObject *Create(const wxString& className) = 0; + virtual ~wxXmlSubclassFactory() {} +}; + + /* ------------------------------------------------------------------------- Backward compatibility macros. Do *NOT* use, they may disappear in future versions of the XRC library! diff --git a/contrib/samples/animate/AniTestVC.dsp b/contrib/samples/animate/AniTestVC.dsp index 73f3d56884..dd74dd069c 100644 --- a/contrib/samples/animate/AniTestVC.dsp +++ b/contrib/samples/animate/AniTestVC.dsp @@ -111,7 +111,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/anitest.exe" /pdbtype:sept /libpath:"../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/anitest.exe" /pdbtype:sept /libpath:"../../../lib" !ELSEIF "$(CFG)" == "AniTestVC - Win32 Release DLL" @@ -138,7 +138,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/anitest.exe" /libpath:"../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/anitest.exe" /libpath:"../../../lib" !ELSEIF "$(CFG)" == "AniTestVC - Win32 UnivRelease" diff --git a/contrib/samples/animate/Makefile.in b/contrib/samples/animate/Makefile.in index d645e9ad99..29bf8fb02f 100644 --- a/contrib/samples/animate/Makefile.in +++ b/contrib/samples/animate/Makefile.in @@ -17,7 +17,7 @@ PROGRAM=anitest OBJECTS=$(PROGRAM).o -APPEXTRALIBS=$(top_builddir)/lib/libwx_anim.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_anim-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/applet/Makefile.in b/contrib/samples/applet/Makefile.in index 08d399dcb9..4300fb618c 100644 --- a/contrib/samples/applet/Makefile.in +++ b/contrib/samples/applet/Makefile.in @@ -19,7 +19,7 @@ DATAFILES=about.html index.html OBJECTS=applet.o dialogs_wdr.o monitorapplet.o combobox.o -APPEXTRALIBS=$(top_builddir)/lib/libapplet.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_applet-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/canvas/simple/Makefile.in b/contrib/samples/canvas/simple/Makefile.in index 1618e568a5..b92c3904af 100644 --- a/contrib/samples/canvas/simple/Makefile.in +++ b/contrib/samples/canvas/simple/Makefile.in @@ -17,7 +17,7 @@ PROGRAM=simple OBJECTS=simple.o -APPEXTRALIBS=$(top_builddir)/lib/libcanvas.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_canvas-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/canvas/simple/SimpleVC.dsp b/contrib/samples/canvas/simple/SimpleVC.dsp index 4410a5d28b..aebbcb1a3d 100644 --- a/contrib/samples/canvas/simple/SimpleVC.dsp +++ b/contrib/samples/canvas/simple/SimpleVC.dsp @@ -109,7 +109,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/simple.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/simple.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "SimpleVC - Win32 Release DLL" @@ -136,7 +136,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/simple.exe" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/simple.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/canvas/test/Makefile.in b/contrib/samples/canvas/test/Makefile.in index 500d2bdd8a..081537852d 100644 --- a/contrib/samples/canvas/test/Makefile.in +++ b/contrib/samples/canvas/test/Makefile.in @@ -19,7 +19,7 @@ OBJECTS=test.o DATAFILES = pat4.bmp pat36.bmp -APPEXTRALIBS=$(top_builddir)/lib/libcanvas.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_canvas-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/canvas/test/TestVC.dsp b/contrib/samples/canvas/test/TestVC.dsp index e5aeae3652..bc011d489e 100644 --- a/contrib/samples/canvas/test/TestVC.dsp +++ b/contrib/samples/canvas/test/TestVC.dsp @@ -109,7 +109,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/test.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/test.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "TestVC - Win32 Release DLL" @@ -136,7 +136,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/test.exe" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/test.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/fl/fl_demo1/Makefile.in b/contrib/samples/fl/fl_demo1/Makefile.in index 88f55027f9..83f4fe3496 100644 --- a/contrib/samples/fl/fl_demo1/Makefile.in +++ b/contrib/samples/fl/fl_demo1/Makefile.in @@ -17,7 +17,7 @@ TARGET = fl_demo1 program_dir = contrib/samples/fl/$(TARGET) APPEXTRADEFS = -I$(top_srcdir)/contrib/include -DBMP_DIR=\"../bitmaps/\" -APPEXTRALIBS = $(top_builddir)/lib/libfl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS = $(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_fl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ PROGRAM = $(TARGET) OBJECTS = $(TARGET).o diff --git a/contrib/samples/fl/fl_demo1/fl_demo.dsp b/contrib/samples/fl/fl_demo1/fl_demo.dsp index 5b443a2c1b..1a6c4a90eb 100644 --- a/contrib/samples/fl/fl_demo1/fl_demo.dsp +++ b/contrib/samples/fl/fl_demo1/fl_demo.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Application" 0x0101 -CFG=fl_demo1 - Win32 Debug +CFG=fl_demo1 - Win32 Debug DLL !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,12 +13,14 @@ CFG=fl_demo1 - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_demo1 - Win32 Debug" +!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_demo1 - Win32 Debug DLL" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "fl_demo1 - Win32 Release" (based on "Win32 (x86) Application") !MESSAGE "fl_demo1 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "fl_demo1 - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "fl_demo1 - Win32 Release DLL" (based on "Win32 (x86) Application") !MESSAGE # Begin Project @@ -81,12 +83,68 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +!ELSEIF "$(CFG)" == "fl_demo1 - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug_DLL" +# PROP BASE Intermediate_Dir "Debug_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDll" +# PROP Intermediate_Dir "DebugDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fldlld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "fl_demo1 - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release_DLL" +# PROP BASE Intermediate_Dir "Release_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDll" +# PROP Intermediate_Dir "ReleaseDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /YX /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fldll.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" + !ENDIF # Begin Target # Name "fl_demo1 - Win32 Release" # Name "fl_demo1 - Win32 Debug" +# Name "fl_demo1 - Win32 Debug DLL" +# Name "fl_demo1 - Win32 Release DLL" # Begin Source File SOURCE=.\fl_demo1.cpp @@ -97,6 +155,13 @@ SOURCE=.\fl_demo1.cpp # ADD CPP /Yc"wx/wxprec.h" +!ELSEIF "$(CFG)" == "fl_demo1 - Win32 Debug DLL" + +# ADD BASE CPP /Yc"wx/wxprec.h" +# ADD CPP /Yc"wx/wxprec.h" + +!ELSEIF "$(CFG)" == "fl_demo1 - Win32 Release DLL" + !ENDIF # End Source File diff --git a/contrib/samples/fl/fl_demo1/makefile.vc b/contrib/samples/fl/fl_demo1/makefile.vc index 51eaae55ca..e997c2c79d 100644 --- a/contrib/samples/fl/fl_demo1/makefile.vc +++ b/contrib/samples/fl/fl_demo1/makefile.vc @@ -12,11 +12,25 @@ WXDIR = ..\..\..\.. TARGET = fl_demo1 EXTRAINC = -DBMP_DIR=\"../bitmaps/\" + +!if "$(WXUSING_FL_DLL)" == "1" +# Define WXUSING_FL_DLL so the compiler knows it is set. +EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL +# Set to use wxWin in DLL format... +WXUSINGDLL = 1 + +!if "$(FINAL)" == "1" +EXTRALIBS = $(WXDIR)\lib\fldll.lib +!else +EXTRALIBS = $(WXDIR)\lib\fldlld.lib +!endif +!else !if "$(FINAL)" == "1" EXTRALIBS = $(WXDIR)\lib\fl.lib !else EXTRALIBS = $(WXDIR)\lib\fld.lib !endif +!endif PROGRAM = $(TARGET) OBJECTS = $(TARGET).obj diff --git a/contrib/samples/fl/fl_demo2/Makefile.in b/contrib/samples/fl/fl_demo2/Makefile.in index 911f9b5b42..da24607db2 100644 --- a/contrib/samples/fl/fl_demo2/Makefile.in +++ b/contrib/samples/fl/fl_demo2/Makefile.in @@ -17,7 +17,7 @@ TARGET = fl_demo2 program_dir = contrib/samples/fl/$(TARGET) APPEXTRADEFS = -I$(top_srcdir)/contrib/include -DBMP_DIR=\"../bitmaps/\" -APPEXTRALIBS = $(top_builddir)/lib/libfl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS = $(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_fl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ PROGRAM = $(TARGET) OBJECTS = $(TARGET).o diff --git a/contrib/samples/fl/fl_demo2/fl_demo.dsp b/contrib/samples/fl/fl_demo2/fl_demo.dsp index a54daca6c2..39b64fb47e 100644 --- a/contrib/samples/fl/fl_demo2/fl_demo.dsp +++ b/contrib/samples/fl/fl_demo2/fl_demo.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Application" 0x0101 -CFG=fl_demo2 - Win32 Debug +CFG=fl_demo2 - Win32 Debug DLL !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,12 +13,14 @@ CFG=fl_demo2 - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_demo2 - Win32 Debug" +!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_demo2 - Win32 Debug DLL" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "fl_demo2 - Win32 Release" (based on "Win32 (x86) Application") !MESSAGE "fl_demo2 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "fl_demo2 - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "fl_demo2 - Win32 Release DLL" (based on "Win32 (x86) Application") !MESSAGE # Begin Project @@ -81,12 +83,68 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +!ELSEIF "$(CFG)" == "fl_demo2 - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug_DLL" +# PROP BASE Intermediate_Dir "Debug_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDll" +# PROP Intermediate_Dir "DebugDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fldlld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "fl_demo2 - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release_DLL" +# PROP BASE Intermediate_Dir "Release_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDll" +# PROP Intermediate_Dir "ReleaseDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /YX /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fldll.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" + !ENDIF # Begin Target # Name "fl_demo2 - Win32 Release" # Name "fl_demo2 - Win32 Debug" +# Name "fl_demo2 - Win32 Debug DLL" +# Name "fl_demo2 - Win32 Release DLL" # Begin Source File SOURCE=.\fl_demo2.cpp @@ -97,6 +155,13 @@ SOURCE=.\fl_demo2.cpp # ADD CPP /Yc"wx/wxprec.h" +!ELSEIF "$(CFG)" == "fl_demo2 - Win32 Debug DLL" + +# ADD BASE CPP /Yc"wx/wxprec.h" +# ADD CPP /Yc"wx/wxprec.h" + +!ELSEIF "$(CFG)" == "fl_demo2 - Win32 Release DLL" + !ENDIF # End Source File diff --git a/contrib/samples/fl/fl_demo2/makefile.vc b/contrib/samples/fl/fl_demo2/makefile.vc index e05c0d699c..f3414ac254 100644 --- a/contrib/samples/fl/fl_demo2/makefile.vc +++ b/contrib/samples/fl/fl_demo2/makefile.vc @@ -12,11 +12,25 @@ WXDIR = ..\..\..\.. TARGET = fl_demo2 EXTRAINC = -DBMP_DIR=\"../bitmaps/\" + +!if "$(WXUSING_FL_DLL)" == "1" +# Define WXUSING_FL_DLL so the compiler knows it is set. +EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL +# Set to use wxWin in DLL format... +WXUSINGDLL = 1 + +!if "$(FINAL)" == "1" +EXTRALIBS = $(WXDIR)\lib\fldll.lib +!else +EXTRALIBS = $(WXDIR)\lib\fldlld.lib +!endif +!else !if "$(FINAL)" == "1" EXTRALIBS = $(WXDIR)\lib\fl.lib !else EXTRALIBS = $(WXDIR)\lib\fld.lib !endif +!endif PROGRAM = $(TARGET) OBJECTS = $(TARGET).obj diff --git a/contrib/samples/fl/fl_sample1/Makefile.in b/contrib/samples/fl/fl_sample1/Makefile.in index 11d671a280..ad507429e4 100644 --- a/contrib/samples/fl/fl_sample1/Makefile.in +++ b/contrib/samples/fl/fl_sample1/Makefile.in @@ -17,7 +17,7 @@ TARGET = fl_sample1 program_dir = contrib/samples/fl/$(TARGET) APPEXTRADEFS = -I$(top_srcdir)/contrib/include -DBMP_DIR=\"../bitmaps/\" -APPEXTRALIBS = $(top_builddir)/lib/libfl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS = $(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_fl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ PROGRAM = $(TARGET) OBJECTS = $(TARGET).o diff --git a/contrib/samples/fl/fl_sample1/fl_demo.dsp b/contrib/samples/fl/fl_sample1/fl_demo.dsp index 7f32ffaab0..7923a4a3cc 100644 --- a/contrib/samples/fl/fl_sample1/fl_demo.dsp +++ b/contrib/samples/fl/fl_sample1/fl_demo.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Application" 0x0101 -CFG=fl_sample1 - Win32 Debug +CFG=fl_sample1 - Win32 Debug DLL !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,12 +13,14 @@ CFG=fl_sample1 - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_sample1 - Win32 Debug" +!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_sample1 - Win32 Debug DLL" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "fl_sample1 - Win32 Release" (based on "Win32 (x86) Application") !MESSAGE "fl_sample1 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "fl_sample1 - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "fl_sample1 - Win32 Release DLL" (based on "Win32 (x86) Application") !MESSAGE # Begin Project @@ -81,12 +83,68 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +!ELSEIF "$(CFG)" == "fl_sample1 - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug_DLL" +# PROP BASE Intermediate_Dir "Debug_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDll" +# PROP Intermediate_Dir "DebugDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fldlld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "fl_sample1 - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release_DLL" +# PROP BASE Intermediate_Dir "Release_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDll" +# PROP Intermediate_Dir "ReleaseDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /YX /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fldll.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" + !ENDIF # Begin Target # Name "fl_sample1 - Win32 Release" # Name "fl_sample1 - Win32 Debug" +# Name "fl_sample1 - Win32 Debug DLL" +# Name "fl_sample1 - Win32 Release DLL" # Begin Source File SOURCE=.\fl_sample1.cpp @@ -97,6 +155,13 @@ SOURCE=.\fl_sample1.cpp # ADD CPP /Yc"wx/wxprec.h" +!ELSEIF "$(CFG)" == "fl_sample1 - Win32 Debug DLL" + +# ADD BASE CPP /Yc"wx/wxprec.h" +# ADD CPP /Yc"wx/wxprec.h" + +!ELSEIF "$(CFG)" == "fl_sample1 - Win32 Release DLL" + !ENDIF # End Source File diff --git a/contrib/samples/fl/fl_sample1/makefile.vc b/contrib/samples/fl/fl_sample1/makefile.vc index 50f4d6e26b..fed37595d7 100644 --- a/contrib/samples/fl/fl_sample1/makefile.vc +++ b/contrib/samples/fl/fl_sample1/makefile.vc @@ -12,11 +12,25 @@ WXDIR = ..\..\..\.. TARGET = fl_sample1 EXTRAINC = -DBMP_DIR=\"../bitmaps/\" + +!if "$(WXUSING_FL_DLL)" == "1" +# Define WXUSING_FL_DLL so the compiler knows it is set. +EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL +# Set to use wxWin in DLL format... +WXUSINGDLL = 1 + +!if "$(FINAL)" == "1" +EXTRALIBS = $(WXDIR)\lib\fldll.lib +!else +EXTRALIBS = $(WXDIR)\lib\fldlld.lib +!endif +!else !if "$(FINAL)" == "1" EXTRALIBS = $(WXDIR)\lib\fl.lib !else EXTRALIBS = $(WXDIR)\lib\fld.lib !endif +!endif PROGRAM = $(TARGET) OBJECTS = $(TARGET).obj diff --git a/contrib/samples/fl/fl_sample2/Makefile.in b/contrib/samples/fl/fl_sample2/Makefile.in index 85b50b407c..6a863be5a1 100644 --- a/contrib/samples/fl/fl_sample2/Makefile.in +++ b/contrib/samples/fl/fl_sample2/Makefile.in @@ -17,7 +17,7 @@ TARGET = fl_sample2 program_dir = contrib/samples/fl/$(TARGET) APPEXTRADEFS = -I$(top_srcdir)/contrib/include -DBMP_DIR=\"../bitmaps/\" -APPEXTRALIBS = $(top_builddir)/lib/libfl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS = $(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_fl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ PROGRAM = $(TARGET) OBJECTS = $(TARGET).o diff --git a/contrib/samples/fl/fl_sample2/fl_demo.dsp b/contrib/samples/fl/fl_sample2/fl_demo.dsp index b1c478514e..fcd52de4bb 100644 --- a/contrib/samples/fl/fl_sample2/fl_demo.dsp +++ b/contrib/samples/fl/fl_sample2/fl_demo.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Application" 0x0101 -CFG=fl_sample2 - Win32 Debug +CFG=fl_sample2 - Win32 Debug DLL !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,12 +13,14 @@ CFG=fl_sample2 - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_sample2 - Win32 Debug" +!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_sample2 - Win32 Debug DLL" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "fl_sample2 - Win32 Release" (based on "Win32 (x86) Application") !MESSAGE "fl_sample2 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "fl_sample2 - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "fl_sample2 - Win32 Release DLL" (based on "Win32 (x86) Application") !MESSAGE # Begin Project @@ -81,12 +83,68 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +!ELSEIF "$(CFG)" == "fl_sample2 - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug_DLL" +# PROP BASE Intermediate_Dir "Debug_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDll" +# PROP Intermediate_Dir "DebugDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fldlld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "fl_sample2 - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release_DLL" +# PROP BASE Intermediate_Dir "Release_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDll" +# PROP Intermediate_Dir "ReleaseDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /YX /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fldll.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" + !ENDIF # Begin Target # Name "fl_sample2 - Win32 Release" # Name "fl_sample2 - Win32 Debug" +# Name "fl_sample2 - Win32 Debug DLL" +# Name "fl_sample2 - Win32 Release DLL" # Begin Source File SOURCE=.\fl_sample2.cpp @@ -97,6 +155,13 @@ SOURCE=.\fl_sample2.cpp # ADD CPP /Yc"wx/wxprec.h" +!ELSEIF "$(CFG)" == "fl_sample2 - Win32 Debug DLL" + +# ADD BASE CPP /Yc"wx/wxprec.h" +# ADD CPP /Yc"wx/wxprec.h" + +!ELSEIF "$(CFG)" == "fl_sample2 - Win32 Release DLL" + !ENDIF # End Source File diff --git a/contrib/samples/fl/fl_sample2/makefile.vc b/contrib/samples/fl/fl_sample2/makefile.vc index dabd5660e5..22340ab393 100644 --- a/contrib/samples/fl/fl_sample2/makefile.vc +++ b/contrib/samples/fl/fl_sample2/makefile.vc @@ -12,11 +12,25 @@ WXDIR = ..\..\..\.. TARGET = fl_sample2 EXTRAINC = -DBMP_DIR=\"../bitmaps/\" + +!if "$(WXUSING_FL_DLL)" == "1" +# Define WXUSING_FL_DLL so the compiler knows it is set. +EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL +# Set to use wxWin in DLL format... +WXUSINGDLL = 1 + +!if "$(FINAL)" == "1" +EXTRALIBS = $(WXDIR)\lib\fldll.lib +!else +EXTRALIBS = $(WXDIR)\lib\fldlld.lib +!endif +!else !if "$(FINAL)" == "1" EXTRALIBS = $(WXDIR)\lib\fl.lib !else EXTRALIBS = $(WXDIR)\lib\fld.lib !endif +!endif PROGRAM = $(TARGET) OBJECTS = $(TARGET).obj diff --git a/contrib/samples/fl/fl_sample3/Makefile.in b/contrib/samples/fl/fl_sample3/Makefile.in index b19998869b..fab8e27cce 100644 --- a/contrib/samples/fl/fl_sample3/Makefile.in +++ b/contrib/samples/fl/fl_sample3/Makefile.in @@ -17,7 +17,7 @@ TARGET = fl_sample3 program_dir = contrib/samples/fl/$(TARGET) APPEXTRADEFS = -I$(top_srcdir)/contrib/include -DBMP_DIR=\"../bitmaps/\" -APPEXTRALIBS = $(top_builddir)/lib/libfl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS = $(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_fl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ PROGRAM = $(TARGET) OBJECTS = $(TARGET).o diff --git a/contrib/samples/fl/fl_sample3/fl_demo.dsp b/contrib/samples/fl/fl_sample3/fl_demo.dsp index 83830eb9db..11c877fa32 100644 --- a/contrib/samples/fl/fl_sample3/fl_demo.dsp +++ b/contrib/samples/fl/fl_sample3/fl_demo.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Application" 0x0101 -CFG=fl_sample3 - Win32 Debug +CFG=fl_sample3 - Win32 Debug DLL !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,12 +13,14 @@ CFG=fl_sample3 - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_sample3 - Win32 Debug" +!MESSAGE NMAKE /f "fl_demo.mak" CFG="fl_sample3 - Win32 Debug DLL" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "fl_sample3 - Win32 Release" (based on "Win32 (x86) Application") !MESSAGE "fl_sample3 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "fl_sample3 - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "fl_sample3 - Win32 Release DLL" (based on "Win32 (x86) Application") !MESSAGE # Begin Project @@ -81,12 +83,68 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +!ELSEIF "$(CFG)" == "fl_sample3 - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug_DLL" +# PROP BASE Intermediate_Dir "Debug_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDll" +# PROP Intermediate_Dir "DebugDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fldlld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "fl_sample3 - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release_DLL" +# PROP BASE Intermediate_Dir "Release_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDll" +# PROP Intermediate_Dir "ReleaseDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXUSING_FL_DLL" /YX /FD /D BMP_DIR=\"../bitmaps/\" /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fldll.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib" + !ENDIF # Begin Target # Name "fl_sample3 - Win32 Release" # Name "fl_sample3 - Win32 Debug" +# Name "fl_sample3 - Win32 Debug DLL" +# Name "fl_sample3 - Win32 Release DLL" # Begin Source File SOURCE=.\fl_sample3.cpp @@ -97,6 +155,13 @@ SOURCE=.\fl_sample3.cpp # ADD CPP /Yc"wx/wxprec.h" +!ELSEIF "$(CFG)" == "fl_sample3 - Win32 Debug DLL" + +# ADD BASE CPP /Yc"wx/wxprec.h" +# ADD CPP /Yc"wx/wxprec.h" + +!ELSEIF "$(CFG)" == "fl_sample3 - Win32 Release DLL" + !ENDIF # End Source File diff --git a/contrib/samples/fl/fl_sample3/makefile.vc b/contrib/samples/fl/fl_sample3/makefile.vc index 699a66babc..d63277a77a 100644 --- a/contrib/samples/fl/fl_sample3/makefile.vc +++ b/contrib/samples/fl/fl_sample3/makefile.vc @@ -12,11 +12,25 @@ WXDIR = ..\..\..\.. TARGET = fl_sample3 EXTRAINC = -DBMP_DIR=\"../bitmaps/\" + +!if "$(WXUSING_FL_DLL)" == "1" +# Define WXUSING_FL_DLL so the compiler knows it is set. +EXTRAINC = $(EXTRAINC) -DWXUSING_FL_DLL +# Set to use wxWin in DLL format... +WXUSINGDLL = 1 + +!if "$(FINAL)" == "1" +EXTRALIBS = $(WXDIR)\lib\fldll.lib +!else +EXTRALIBS = $(WXDIR)\lib\fldlld.lib +!endif +!else !if "$(FINAL)" == "1" EXTRALIBS = $(WXDIR)\lib\fl.lib !else EXTRALIBS = $(WXDIR)\lib\fld.lib !endif +!endif PROGRAM = $(TARGET) OBJECTS = $(TARGET).obj diff --git a/contrib/samples/gizmos/Makefile.in b/contrib/samples/gizmos/Makefile.in index 223d5330fe..25e545a2a9 100644 --- a/contrib/samples/gizmos/Makefile.in +++ b/contrib/samples/gizmos/Makefile.in @@ -1,6 +1,6 @@ # $Id$ -CONTRIB_SAMPLES=multicell splittree editlbox dynsash dynsash_switch +CONTRIB_SAMPLES=editlbox dynsash dynsash_switch multicell splittree led all: @for d in $(CONTRIB_SAMPLES); do (cd $$d && $(MAKE)); done diff --git a/contrib/samples/gizmos/dynsash/Makefile.in b/contrib/samples/gizmos/dynsash/Makefile.in index 5e5fd58b72..5ec22a79b8 100644 --- a/contrib/samples/gizmos/dynsash/Makefile.in +++ b/contrib/samples/gizmos/dynsash/Makefile.in @@ -16,7 +16,7 @@ program_dir = contrib/samples/gizmos/dynsash PROGRAM=dynsash OBJECTS=dynsash.o -APPEXTRALIBS=$(top_builddir)/lib/libgizmos.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/gizmos/dynsash/dynsash.dsp b/contrib/samples/gizmos/dynsash/dynsash.dsp index 27f6530455..7f25c68842 100644 --- a/contrib/samples/gizmos/dynsash/dynsash.dsp +++ b/contrib/samples/gizmos/dynsash/dynsash.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 wxmsw233d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/dynsash.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 wxmsw234d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/dynsash.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "dynsash - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 wxmsw233.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/dynsash.exe" /libpath:"../../../../lib" +# ADD LINK32 wxmsw234.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/dynsash.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/gizmos/dynsash_switch/Makefile.in b/contrib/samples/gizmos/dynsash_switch/Makefile.in index b9796bb40e..1c104bba81 100644 --- a/contrib/samples/gizmos/dynsash_switch/Makefile.in +++ b/contrib/samples/gizmos/dynsash_switch/Makefile.in @@ -16,7 +16,7 @@ program_dir = contrib/samples/gizmos/dynsash_switch PROGRAM=dynsash_switch OBJECTS=dynsash_switch.o -APPEXTRALIBS=$(top_builddir)/lib/libgizmos.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsp b/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsp index 91c16772ad..eb3a39a7c9 100644 --- a/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsp +++ b/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 wxmsw233d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/dynsash_switch.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 wxmsw234d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/dynsash_switch.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "dynsash_switch - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 wxmsw233.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/dynsash_switch.exe" /libpath:"../../../../lib" +# ADD LINK32 wxmsw234.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/dynsash_switch.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/gizmos/editlbox/Makefile.in b/contrib/samples/gizmos/editlbox/Makefile.in index 465981c704..1ffec80c2a 100644 --- a/contrib/samples/gizmos/editlbox/Makefile.in +++ b/contrib/samples/gizmos/editlbox/Makefile.in @@ -16,7 +16,7 @@ program_dir = contrib/samples/gizmos/editlbox PROGRAM=test OBJECTS=test.o -APPEXTRALIBS=$(top_builddir)/lib/libgizmos.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/gizmos/editlbox/editlbox.dsp b/contrib/samples/gizmos/editlbox/editlbox.dsp index 7de8a5b377..891930e28c 100644 --- a/contrib/samples/gizmos/editlbox/editlbox.dsp +++ b/contrib/samples/gizmos/editlbox/editlbox.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 wxmsw233d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/editlbox.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 wxmsw234d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/editlbox.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "editlbox - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 wxmsw233.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/editlbox.exe" /libpath:"../../../../lib" +# ADD LINK32 wxmsw234.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/editlbox.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/gizmos/led/Makefile.in b/contrib/samples/gizmos/led/Makefile.in new file mode 100644 index 0000000000..8ccc5e8741 --- /dev/null +++ b/contrib/samples/gizmos/led/Makefile.in @@ -0,0 +1,23 @@ +# +# File: Makefile.in +# Author: Julian Smart +# Created: 2002 +# Updated: +# Copyright: (c) 2002 Julian Smart +# +# "%W% %G%" +# +# Makefile for the led example (UNIX). + +top_srcdir = @top_srcdir@/.. +top_builddir = ../../../.. +program_dir = contrib/samples/gizmos/led + +PROGRAM=led +OBJECTS=led.o + +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRADEFS=-I$(top_srcdir)/contrib/include + +include $(top_builddir)/src/makeprog.env + diff --git a/contrib/samples/gizmos/led/led.cpp b/contrib/samples/gizmos/led/led.cpp new file mode 100644 index 0000000000..4818281f8b --- /dev/null +++ b/contrib/samples/gizmos/led/led.cpp @@ -0,0 +1,341 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: led.cpp +// Purpose: LED sample +// Author: Julian Smart +// Modified by: +// Created: 04/01/98 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +// ============================================================================ +// declarations +// ============================================================================ + +// ---------------------------------------------------------------------------- +// headers +// ---------------------------------------------------------------------------- + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +// for all others, include the necessary headers (this file is usually all you +// need because it includes almost all "standard" wxWindows headers) +#ifndef WX_PRECOMP + #include "wx/wx.h" +#endif + +#include "../../../include/wx/gizmos/ledctrl.h" +#include "wx/sizer.h" +#include "wx/panel.h" + +// ---------------------------------------------------------------------------- +// private classes +// ---------------------------------------------------------------------------- + +class MyPanel : public wxPanel +{ +public: + MyPanel(wxFrame *frame); + + void OnIncrement(); + void OnDecrement(); + void OnSetValue(); + void OnAlignLeft(); + void OnAlignCenter(); + void OnAlignRight(); + void OnDrawFaded(); + +private: + wxLEDNumberCtrl *m_led; +}; + +// Define a new application type, each program should derive a class from wxApp +class MyApp : public wxApp +{ +public: + // override base class virtuals + // ---------------------------- + + // this one is called on application startup and is a good place for the app + // initialization (doing it here and not in the ctor allows to have an error + // return: if OnInit() returns false, the application terminates) + virtual bool OnInit(); +}; + +// Define a new frame type: this is going to be our main frame +class MyFrame : public wxFrame +{ +public: + // ctor(s) + MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, + long style = wxDEFAULT_FRAME_STYLE); + + // event handlers (these functions should _not_ be virtual) + void OnQuit(wxCommandEvent& event); + void OnIncrement(wxCommandEvent& event); + void OnDecrement(wxCommandEvent& event); + void OnSetValue(wxCommandEvent& event); + void OnAlignLeft(wxCommandEvent& event); + void OnAlignCenter(wxCommandEvent& event); + void OnAlignRight(wxCommandEvent& event); + void OnDrawFaded(wxCommandEvent& event); + void OnAbout(wxCommandEvent& event); + +private: + MyPanel *m_panel; + + // any class wishing to process wxWindows events must use this macro + DECLARE_EVENT_TABLE() +}; + +// ---------------------------------------------------------------------------- +// constants +// ---------------------------------------------------------------------------- + +// IDs for the controls and the menu commands +enum +{ + // menu items + LED_Quit = 1, + + LED_Edit_Increment, + LED_Edit_Decrement, + LED_Edit_SetValue, + LED_Edit_AlignLeft, + LED_Edit_AlignCenter, + LED_Edit_AlignRight, + LED_Edit_DrawFaded, + + // it is important for the id corresponding to the "About" command to have + // this standard value as otherwise it won't be handled properly under Mac + // (where it is special and put into the "Apple" menu) + LED_About = wxID_ABOUT, + + MY_PANEL, + MY_LED +}; + +// ---------------------------------------------------------------------------- +// event tables and other macros for wxWindows +// ---------------------------------------------------------------------------- + +// the event tables connect the wxWindows events with the functions (event +// handlers) which process them. It can be also done at run-time, but for the +// simple menu events like this the static method is much simpler. +BEGIN_EVENT_TABLE(MyFrame, wxFrame) + EVT_MENU(LED_Quit, MyFrame::OnQuit) + EVT_MENU(LED_Edit_Increment, MyFrame::OnIncrement) + EVT_MENU(LED_Edit_Decrement, MyFrame::OnDecrement) + EVT_MENU(LED_Edit_SetValue, MyFrame::OnSetValue) + EVT_MENU(LED_Edit_AlignLeft, MyFrame::OnAlignLeft) + EVT_MENU(LED_Edit_AlignCenter, MyFrame::OnAlignCenter) + EVT_MENU(LED_Edit_AlignRight, MyFrame::OnAlignRight) + EVT_MENU(LED_Edit_DrawFaded, MyFrame::OnDrawFaded) + EVT_MENU(LED_About, MyFrame::OnAbout) +END_EVENT_TABLE() + +// Create a new application object: this macro will allow wxWindows to create +// the application object during program execution (it's better than using a +// static object for many reasons) and also declares the accessor function +// wxGetApp() which will return the reference of the right type (i.e. MyApp and +// not wxApp) +IMPLEMENT_APP(MyApp) + +// ============================================================================ +// implementation +// ============================================================================ + +// ---------------------------------------------------------------------------- +// the application class +// ---------------------------------------------------------------------------- + +// 'Main program' equivalent: the program execution "starts" here +bool MyApp::OnInit() +{ + // create the main application window + MyFrame *frame = new MyFrame(_T("LED App"), + wxPoint(50, 50), wxSize(450, 340)); + + // and show it (the frames, unlike simple controls, are not shown when + // created initially) + frame->Show(TRUE); + + // success: wxApp::OnRun() will be called which will enter the main message + // loop and the application will run. If we returned FALSE here, the + // application would exit immediately. + return TRUE; +} + +// ---------------------------------------------------------------------------- +// main frame +// ---------------------------------------------------------------------------- + +// frame constructor +MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style) + : wxFrame(NULL, -1, title, pos, size, style) +{ +#if wxUSE_MENUS + // create a menu bar + wxMenu *menuFile = new wxMenu; + + // the "About" item should be in the help menu + wxMenu *helpMenu = new wxMenu; + helpMenu->Append(LED_About, _T("&About...\tF1"), _T("Show about dialog")); + + menuFile->Append(LED_Quit, _T("E&xit\tAlt-X"), _T("Quit this program")); + + wxMenu *editMenu = new wxMenu; + editMenu->Append(LED_Edit_Increment, _T("&Increment LED\tCtrl-I")); + editMenu->Append(LED_Edit_Decrement, _T("&Decrement LED\tCtrl-D")); + editMenu->Append(LED_Edit_SetValue, _T("&Set LED Value...\tCtrl-S")); + editMenu->AppendSeparator(); + editMenu->AppendRadioItem(LED_Edit_AlignLeft, _T("Align &Left")); + editMenu->AppendRadioItem(LED_Edit_AlignCenter, _T("Align &Center")); + editMenu->AppendRadioItem(LED_Edit_AlignRight, _T("Align &Right")); + editMenu->AppendSeparator(); + editMenu->AppendCheckItem(LED_Edit_DrawFaded, _T("Draw &Faded\tCtrl-F")); + + editMenu->Check(LED_Edit_DrawFaded, TRUE); + + // now append the freshly created menu to the menu bar... + wxMenuBar *menuBar = new wxMenuBar(); + menuBar->Append(menuFile, _T("&File")); + menuBar->Append(editMenu, _T("&Edit")); + menuBar->Append(helpMenu, _T("&Help")); + + // ... and attach this menu bar to the frame + SetMenuBar(menuBar); +#endif // wxUSE_MENUS + + m_panel = new MyPanel(this); +} + + +// event handlers + +void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) +{ + // TRUE is to force the frame to close + Close(TRUE); +} + +void MyFrame::OnIncrement(wxCommandEvent& event) +{ + m_panel->OnIncrement(); +} + +void MyFrame::OnDecrement(wxCommandEvent& event) +{ + m_panel->OnDecrement(); +} + +void MyFrame::OnSetValue(wxCommandEvent& event) +{ + m_panel->OnSetValue(); +} + +void MyFrame::OnAlignLeft(wxCommandEvent& event) +{ + m_panel->OnAlignLeft(); +} + +void MyFrame::OnAlignCenter(wxCommandEvent& event) +{ + m_panel->OnAlignCenter(); +} + +void MyFrame::OnAlignRight(wxCommandEvent& event) +{ + m_panel->OnAlignRight(); +} + +void MyFrame::OnDrawFaded(wxCommandEvent& event) +{ + m_panel->OnDrawFaded(); +} + +void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) +{ + wxString msg; + msg.Printf( _T("This is the About dialog of the LED sample.\n") + _T("Welcome to %s"), wxVERSION_STRING); + + wxMessageBox(msg, _T("About LED"), wxOK | wxICON_INFORMATION, this); +} + +// -------------------------------------------------------------------------- +// MyPanel +// -------------------------------------------------------------------------- + +MyPanel::MyPanel(wxFrame *frame) + : wxPanel(frame, MY_PANEL) +{ + m_led = new wxLEDNumberCtrl(this, MY_LED, + wxPoint(20, 20), wxSize(300, 200), + wxLED_ALIGN_LEFT | wxLED_DRAW_FADED); + + m_led->SetValue(_T("50")); +} + +void MyPanel::OnIncrement() +{ + wxString strValue = m_led->GetValue(); + if ( strValue == _T("99") ) + return; + + long lValue; + strValue.ToLong(&lValue); + ++lValue; + m_led->SetValue(wxString::Format(_T("%ld"), lValue)); +} + +void MyPanel::OnDecrement() +{ + wxString strValue = m_led->GetValue(); + + long lValue; + strValue.ToLong(&lValue); + if (lValue == 0) + return; + + --lValue; + m_led->SetValue(wxString::Format(_T("%ld"), lValue)); +} + +void MyPanel::OnSetValue() +{ + wxString strValue = m_led->GetValue(); + + long lValue; + strValue.ToLong(&lValue); + lValue = ::wxGetNumberFromUser(_T("Please enter a number between 0 and 99"), _T(""), _T("Please enter a number"), lValue, 0, 99, this); + + if (lValue != -1) + m_led->SetValue(wxString::Format(_T("%ld"), lValue)); +} + +void MyPanel::OnAlignLeft() +{ + m_led->SetAlignment(wxLED_ALIGN_LEFT); +} + +void MyPanel::OnAlignCenter() +{ + m_led->SetAlignment(wxLED_ALIGN_CENTER); +} + +void MyPanel::OnAlignRight() +{ + m_led->SetAlignment(wxLED_ALIGN_RIGHT); +} + +void MyPanel::OnDrawFaded() +{ + m_led->SetDrawFaded(!(m_led->GetDrawFaded())); +} diff --git a/contrib/samples/gizmos/led/led.dsp b/contrib/samples/gizmos/led/led.dsp new file mode 100644 index 0000000000..c5111efefe --- /dev/null +++ b/contrib/samples/gizmos/led/led.dsp @@ -0,0 +1,177 @@ +# Microsoft Developer Studio Project File - Name="led" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=led - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "led.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "led.mak" CFG="led - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "led - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "led - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "led - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "led - Win32 Release DLL" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "led - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib gizmos.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/led.exe" /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "led - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib gizmosd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/led.exe" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "led - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "DebugDLL" +# PROP BASE Intermediate_Dir "DebugDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDLL" +# PROP Intermediate_Dir "DebugDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 wxmsw233d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/led.exe" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "led - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDLL" +# PROP BASE Intermediate_Dir "ReleaseDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDLL" +# PROP Intermediate_Dir "ReleaseDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 wxmsw.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/led.exe" /libpath:"../../../../lib" + +!ENDIF + +# Begin Target + +# Name "led - Win32 Release" +# Name "led - Win32 Debug" +# Name "led - Win32 Debug DLL" +# Name "led - Win32 Release DLL" +# Begin Source File + +SOURCE=.\led.cpp + +!IF "$(CFG)" == "led - Win32 Release" + +# ADD CPP /I "..\..\..\include" +# SUBTRACT CPP /I "..\..\include" + +!ELSEIF "$(CFG)" == "led - Win32 Debug" + +# ADD CPP /I "..\..\..\include" +# SUBTRACT CPP /I "..\..\include" /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "led - Win32 Debug DLL" + +# SUBTRACT BASE CPP /YX /Yc /Yu +# ADD CPP /I "..\..\..\include" +# SUBTRACT CPP /I "..\..\include" /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "led - Win32 Release DLL" + +# ADD CPP /I "..\..\..\include" +# SUBTRACT CPP /I "..\..\include" + +!ENDIF + +# End Source File +# End Target +# End Project diff --git a/contrib/samples/gizmos/multicell/Makefile.in b/contrib/samples/gizmos/multicell/Makefile.in index f703be5269..10f2c56048 100644 --- a/contrib/samples/gizmos/multicell/Makefile.in +++ b/contrib/samples/gizmos/multicell/Makefile.in @@ -17,7 +17,7 @@ PROGRAM=multicell OBJECTS=mtest.o -APPEXTRALIBS=$(top_builddir)/lib/libgizmos.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/gizmos/multicell/multicell.dsp b/contrib/samples/gizmos/multicell/multicell.dsp index ea37c5a3b4..f594d433a3 100644 --- a/contrib/samples/gizmos/multicell/multicell.dsp +++ b/contrib/samples/gizmos/multicell/multicell.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 wxmsw233d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/mtest.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 wxmsw234d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/mtest.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "multicell - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 wxmsw233.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/mtest.exe" /libpath:"../../../../lib" +# ADD LINK32 wxmsw234.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/mtest.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/gizmos/splittree/Makefile.in b/contrib/samples/gizmos/splittree/Makefile.in index 7935a90651..8fc452aa91 100644 --- a/contrib/samples/gizmos/splittree/Makefile.in +++ b/contrib/samples/gizmos/splittree/Makefile.in @@ -16,7 +16,7 @@ program_dir = contrib/samples/gizmos/splittree PROGRAM=splittree OBJECTS=tree.o -APPEXTRALIBS=$(top_builddir)/lib/libgizmos.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/gizmos/splittree/TreeVC.dsp b/contrib/samples/gizmos/splittree/TreeVC.dsp index 800cc0da84..7e8dcbeecb 100644 --- a/contrib/samples/gizmos/splittree/TreeVC.dsp +++ b/contrib/samples/gizmos/splittree/TreeVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 wxmsw233d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/tree.exe" /pdbtype:sept /libpath:"../../../../lib" +# ADD LINK32 wxmsw234d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/tree.exe" /pdbtype:sept /libpath:"../../../../lib" !ELSEIF "$(CFG)" == "TreeVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 wxmsw233.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/tree.exe" /libpath:"../../../../lib" +# ADD LINK32 wxmsw234.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/tree.exe" /libpath:"../../../../lib" !ENDIF diff --git a/contrib/samples/mmedia/MMboardVC.dsp b/contrib/samples/mmedia/MMboardVC.dsp index f041494a25..d4997a9d0c 100644 --- a/contrib/samples/mmedia/MMboardVC.dsp +++ b/contrib/samples/mmedia/MMboardVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib mmediad.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/mmboard.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib mmediad.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/mmboard.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "MMboardVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib mmedia.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/mmboard.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib mmedia.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/mmboard.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/contrib/samples/mmedia/Makefile.in b/contrib/samples/mmedia/Makefile.in index 7c4c5cbbba..9a06dcb206 100644 --- a/contrib/samples/mmedia/Makefile.in +++ b/contrib/samples/mmedia/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=mmboard OBJECTS=mmboard.o mmbman.o -APPEXTRALIBS=$(top_builddir)/lib/libmmedia.@WX_TARGET_LIBRARY_TYPE@ @ESD_LINK@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_mmedia-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ @ESD_LINK@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/ogl/ogledit/Makefile.in b/contrib/samples/ogl/ogledit/Makefile.in index 055739c441..cd83570f71 100644 --- a/contrib/samples/ogl/ogledit/Makefile.in +++ b/contrib/samples/ogl/ogledit/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=ogledit OBJECTS=$(PROGRAM).o doc.o view.o palette.o -APPEXTRALIBS=$(top_builddir)/lib/libogl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_ogl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/ogl/ogledit/OGLEditVC.dsp b/contrib/samples/ogl/ogledit/OGLEditVC.dsp index 30d7da70f7..c640dc7dd5 100644 --- a/contrib/samples/ogl/ogledit/OGLEditVC.dsp +++ b/contrib/samples/ogl/ogledit/OGLEditVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib" !ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib" !ENDIF diff --git a/contrib/samples/ogl/studio/Makefile.in b/contrib/samples/ogl/studio/Makefile.in index 1f6d9c4673..1e0b48dd54 100644 --- a/contrib/samples/ogl/studio/Makefile.in +++ b/contrib/samples/ogl/studio/Makefile.in @@ -12,7 +12,7 @@ DATAFILES=studio_resources.wxr OBJECTS=$(PROGRAM).o doc.o shapes.o symbols.o view.o cspalette.o\ mainfrm.o project.o dialogs.o csprint.o -APPEXTRALIBS=$(top_builddir)/lib/libogl.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_ogl-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include -I$(top_srcdir)/$(program_dir)/bitmaps include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/ogl/studio/StudioVC.dsp b/contrib/samples/ogl/studio/StudioVC.dsp index e72fa51356..86e03d09ce 100644 --- a/contrib/samples/ogl/studio/StudioVC.dsp +++ b/contrib/samples/ogl/studio/StudioVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib" !ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL" diff --git a/contrib/samples/plot/Makefile.in b/contrib/samples/plot/Makefile.in index 8ba9e2abff..32b1812b66 100644 --- a/contrib/samples/plot/Makefile.in +++ b/contrib/samples/plot/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=plot OBJECTS=plot.o -APPEXTRALIBS=$(top_builddir)/lib/libwx_plot.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_plot-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/plot/PlotVC.dsp b/contrib/samples/plot/PlotVC.dsp index 39f842bcfd..d9a9ffe10f 100644 --- a/contrib/samples/plot/PlotVC.dsp +++ b/contrib/samples/plot/PlotVC.dsp @@ -109,7 +109,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "PlotVC - Win32 Release DLL" @@ -136,7 +136,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/contrib/samples/stc/Makefile.in b/contrib/samples/stc/Makefile.in index cffdcc78d7..0de249989a 100644 --- a/contrib/samples/stc/Makefile.in +++ b/contrib/samples/stc/Makefile.in @@ -13,7 +13,7 @@ PROGRAM=stctest OBJECTS=$(PROGRAM).o -APPEXTRALIBS=$(top_builddir)/lib/libstc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_stc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include DATAFILES=stctest.cpp diff --git a/contrib/samples/stc/StcTestVC.dsp b/contrib/samples/stc/StcTestVC.dsp index f7e9b6e7e4..f51fb28c6f 100644 --- a/contrib/samples/stc/StcTestVC.dsp +++ b/contrib/samples/stc/StcTestVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "StcTestVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/contrib/samples/svg/Makefile.in b/contrib/samples/svg/Makefile.in index 8c63b68960..5f1ba42210 100644 --- a/contrib/samples/svg/Makefile.in +++ b/contrib/samples/svg/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=svgtest OBJECTS=svgtest.o -APPEXTRALIBS=$(top_builddir)/lib/libwx_dcsvg.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_dcsvg-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/samples/xrc/Makefile.in b/contrib/samples/xrc/Makefile.in index 74b1001946..512deacc5e 100644 --- a/contrib/samples/xrc/Makefile.in +++ b/contrib/samples/xrc/Makefile.in @@ -16,7 +16,7 @@ OBJECTS=$(PROGRAM).o \ derivdlg.o \ custclas.o -APPEXTRALIBS=$(top_builddir)/lib/libwxxrc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include DATADIRS = rc @@ -31,6 +31,7 @@ DATAFILES = rc/artprov.xrc \ rc/toolbar.xrc \ rc/uncenter.xrc \ rc/variable.xrc \ + rc/appicon.xpm \ rc/artprov.xpm \ rc/basicdlg.xpm \ rc/controls.xpm \ diff --git a/contrib/samples/xrc/XrcDemoVC.dsp b/contrib/samples/xrc/XrcDemoVC.dsp index 5bef50036a..61c5c6314a 100644 --- a/contrib/samples/xrc/XrcDemoVC.dsp +++ b/contrib/samples/xrc/XrcDemoVC.dsp @@ -109,7 +109,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Release DLL" @@ -136,7 +136,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/contrib/samples/xrc/custclas.cpp b/contrib/samples/xrc/custclas.cpp index 020a14e4b5..ba30c5f7f7 100644 --- a/contrib/samples/xrc/custclas.cpp +++ b/contrib/samples/xrc/custclas.cpp @@ -156,7 +156,7 @@ void MyResizableListCtrl::SetColumnWidths() // This is just a debug message in case you want to watch the // events scroll by as you resize. - wxLogDebug( "Successfully set column widths" ); + wxLogDebug( wxT("Successfully set column widths") ); } diff --git a/contrib/samples/xrc/derivdlg.cpp b/contrib/samples/xrc/derivdlg.cpp index a9a719c49d..437615d60b 100644 --- a/contrib/samples/xrc/derivdlg.cpp +++ b/contrib/samples/xrc/derivdlg.cpp @@ -61,7 +61,7 @@ END_EVENT_TABLE() // Constructor (Notice how small and easy it is) PreferencesDialog::PreferencesDialog(wxWindow* parent) { - wxXmlResource::Get()->LoadDialog(this, parent, "derived_dialog"); + wxXmlResource::Get()->LoadDialog(this, parent, wxT("derived_dialog")); } // Destructor. (Empty, as I don't need anything special done when destructing). diff --git a/contrib/samples/xrc/myframe.cpp b/contrib/samples/xrc/myframe.cpp index 2d03b22e44..594d8769e1 100644 --- a/contrib/samples/xrc/myframe.cpp +++ b/contrib/samples/xrc/myframe.cpp @@ -109,18 +109,18 @@ MyFrame::MyFrame(wxWindow* parent) // since this frame will always be the top window, and thus parentless. // However, the current approach has source code that can be recycled // for other frames that aren't the top level window.] - wxXmlResource::Get()->LoadFrame(this, parent, "main_frame"); + wxXmlResource::Get()->LoadFrame(this, parent, wxT("main_frame")); // Set the icon for the frame. SetIcon(wxICON(appicon)); // Load the menubar from XRC and set this frame's menubar to it. - SetMenuBar(wxXmlResource::Get()->LoadMenuBar("main_menu")); + SetMenuBar(wxXmlResource::Get()->LoadMenuBar(wxT("main_menu"))); // Load the toolbar from XRC and set this frame's toolbar to it. // NOTE: For toolbars you currently should do it exactly like this. // With toolbars, you currently can't create one, and set it later. It // needs to be all in one step. - SetToolBar(wxXmlResource::Get()->LoadToolBar(this, "main_toolbar")); + SetToolBar(wxXmlResource::Get()->LoadToolBar(this, wxT("main_toolbar"))); // Give the frame a optional statusbar. The '1' just means one field. // A gripsizer will automatically get put on into the corner, if that @@ -146,7 +146,7 @@ void MyFrame::OnNonDerivedDialogToolOrMenuCommand(wxCommandEvent& WXUNUSED(event wxDialog dlg; // "non_derived_dialog" is the name of the wxDialog XRC node that should // be loaded. - wxXmlResource::Get()->LoadDialog(&dlg, this, "non_derived_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("non_derived_dialog")); dlg.ShowModal(); } @@ -166,7 +166,7 @@ void MyFrame::OnDerivedDialogToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnControlsToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "controls_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("controls_dialog")); #if wxUSE_LISTCTRL // There is no data in the listctrl. This will add some columns @@ -211,7 +211,7 @@ void MyFrame::OnControlsToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnUncenteredToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "uncentered_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("uncentered_dialog")); dlg.ShowModal(); } @@ -219,7 +219,7 @@ void MyFrame::OnUncenteredToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnCustomClassToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "custom_class_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("custom_class_dialog")); // Make an instance of our new custom class. MyResizableListCtrl* a_myResizableListCtrl = new MyResizableListCtrl(&dlg, @@ -231,7 +231,7 @@ void MyFrame::OnCustomClassToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) // "custom_control_placeholder" is the name of the "unknown" tag in the // custctrl.xrc XRC file. - wxXmlResource::Get()->AttachUnknownControl("custom_control_placeholder", + wxXmlResource::Get()->AttachUnknownControl(wxT("custom_control_placeholder"), a_myResizableListCtrl); dlg.ShowModal(); } @@ -240,7 +240,7 @@ void MyFrame::OnCustomClassToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "platform_property_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("platform_property_dialog")); dlg.ShowModal(); } @@ -248,7 +248,7 @@ void MyFrame::OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& WXUNUSED(event void MyFrame::OnArtProviderToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "art_provider_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("art_provider_dialog")); dlg.ShowModal(); } @@ -256,7 +256,7 @@ void MyFrame::OnArtProviderToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnVariableExpansionToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "variable_expansion_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("variable_expansion_dialog")); dlg.ShowModal(); } @@ -267,5 +267,5 @@ void MyFrame::OnAboutToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) msg.Printf( _T("This is the about dialog of XML resources demo.\n") _T("Welcome to %s"), wxVERSION_STRING); - wxMessageBox(msg, "About XML resources demo", wxOK | wxICON_INFORMATION, this); + wxMessageBox(msg, _("About XML resources demo"), wxOK | wxICON_INFORMATION, this); } diff --git a/contrib/samples/xrc/xrcdemo.cpp b/contrib/samples/xrc/xrcdemo.cpp index f7d755352c..c904f52e28 100644 --- a/contrib/samples/xrc/xrcdemo.cpp +++ b/contrib/samples/xrc/xrcdemo.cpp @@ -88,27 +88,27 @@ bool MyApp::OnInit() // into one giant XRC file if you wanted, but then they become more // diffcult to manage, and harder to reuse in later projects. // The menubar - wxXmlResource::Get()->Load("rc/menu.xrc"); + wxXmlResource::Get()->Load(wxT("rc/menu.xrc")); // The toolbar - wxXmlResource::Get()->Load("rc/toolbar.xrc"); + wxXmlResource::Get()->Load(wxT("rc/toolbar.xrc")); // Non-derived dialog example - wxXmlResource::Get()->Load("rc/basicdlg.xrc"); + wxXmlResource::Get()->Load(wxT("rc/basicdlg.xrc")); // Derived dialog example - wxXmlResource::Get()->Load("rc/derivdlg.xrc"); + wxXmlResource::Get()->Load(wxT("rc/derivdlg.xrc")); // Controls property example - wxXmlResource::Get()->Load("rc/controls.xrc"); + wxXmlResource::Get()->Load(wxT("rc/controls.xrc")); // Frame example - wxXmlResource::Get()->Load("rc/frame.xrc"); + wxXmlResource::Get()->Load(wxT("rc/frame.xrc")); // Uncentered example - wxXmlResource::Get()->Load("rc/uncenter.xrc"); + wxXmlResource::Get()->Load(wxT("rc/uncenter.xrc")); // Custom class example - wxXmlResource::Get()->Load("rc/custclas.xrc"); + wxXmlResource::Get()->Load(wxT("rc/custclas.xrc")); // wxArtProvider example - wxXmlResource::Get()->Load("rc/artprov.xrc"); + wxXmlResource::Get()->Load(wxT("rc/artprov.xrc")); // Platform property example - wxXmlResource::Get()->Load("rc/platform.xrc"); + wxXmlResource::Get()->Load(wxT("rc/platform.xrc")); // Variable expansion example - wxXmlResource::Get()->Load("rc/variable.xrc"); + wxXmlResource::Get()->Load(wxT("rc/variable.xrc")); // Make an instance of your derived frame. Passing NULL (the default value // of MyFrame's constructor is NULL) as the frame doesn't have a frame diff --git a/contrib/src/animate/Makefile.in b/contrib/src/animate/Makefile.in index a902f90775..a749a523d8 100644 --- a/contrib/src/animate/Makefile.in +++ b/contrib/src/animate/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/animate -TARGET_LIBNAME=libwx_anim +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_animate-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=plot diff --git a/contrib/src/applet/Makefile.in b/contrib/src/applet/Makefile.in index 1cfa1d7264..e1e99f6a30 100644 --- a/contrib/src/applet/Makefile.in +++ b/contrib/src/applet/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/applet -TARGET_LIBNAME=libapplet +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_applet-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=applet diff --git a/contrib/src/canvas/Makefile.in b/contrib/src/canvas/Makefile.in index 277ad0c0f4..555666e305 100644 --- a/contrib/src/canvas/Makefile.in +++ b/contrib/src/canvas/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/canvas -TARGET_LIBNAME=libcanvas +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_canvas-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=canvas diff --git a/contrib/src/canvas/bbox.cpp b/contrib/src/canvas/bbox.cpp index 227b0d1c33..b284a86c76 100644 --- a/contrib/src/canvas/bbox.cpp +++ b/contrib/src/canvas/bbox.cpp @@ -26,7 +26,7 @@ wxBoundingBox::wxBoundingBox() } -wxBoundingBox::wxBoundingBox(wxBoundingBox &other) +wxBoundingBox::wxBoundingBox(const wxBoundingBox &other) { m_minx = other.m_minx; m_miny = other.m_miny; diff --git a/contrib/src/fl/Makefile.in b/contrib/src/fl/Makefile.in index e902c419f7..c1ac8f3190 100644 --- a/contrib/src/fl/Makefile.in +++ b/contrib/src/fl/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/fl -TARGET_LIBNAME = libfl +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_fl-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=fl diff --git a/contrib/src/fl/flVC.dsp b/contrib/src/fl/flVC.dsp index 0d1adf1f93..89f23075d5 100644 --- a/contrib/src/fl/flVC.dsp +++ b/contrib/src/fl/flVC.dsp @@ -2,9 +2,10 @@ # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=flVC - Win32 Debug +CFG=flVC - Win32 Release DLL !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,20 +14,20 @@ CFG=flVC - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "flVC.mak" CFG="flVC - Win32 Debug" +!MESSAGE NMAKE /f "flVC.mak" CFG="flVC - Win32 Release DLL" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "flVC - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE "flVC - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "flVC - Win32 Debug DLL" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "flVC - Win32 Release DLL" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe !IF "$(CFG)" == "flVC - Win32 Release" @@ -40,9 +41,11 @@ RSC=rc.exe # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" # PROP Target_Dir "" +LINK32=link.exe +CPP=cl.exe # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__HACK_MY_MSDEV40__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c -# SUBTRACT CPP /YX +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__HACK_MY_MSDEV40__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /YX /FD /c +RSC=rc.exe # ADD BASE RSC /l 0x809 # ADD RSC /l 0x809 BSC32=bscmake.exe @@ -64,9 +67,11 @@ LIB32=link.exe -lib # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" +LINK32=link.exe +CPP=cl.exe # ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c -# SUBTRACT CPP /YX +# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /YX /FD /c +RSC=rc.exe # ADD BASE RSC /l 0x809 # ADD RSC /l 0x809 BSC32=bscmake.exe @@ -76,12 +81,82 @@ LIB32=link.exe -lib # ADD BASE LIB32 /nologo # ADD LIB32 /nologo /out:"..\..\..\lib\fld.lib" +!ELSEIF "$(CFG)" == "flVC - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug_DLL" +# PROP BASE Intermediate_Dir "Debug_DLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\..\..\lib" +# PROP Intermediate_Dir "Debug_DLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\..\..\lib\fld.lib" +# ADD LIB32 /nologo /out:"..\..\..\lib\fld.lib" +CPP=cl.exe +# ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT BASE CPP /YX +# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXMAKING_FL_DLL" /YX /FD /c +# SUBTRACT CPP /u +MTL=midl.exe +RSC=rc.exe +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 /machine:IX86 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /version:1.0 /dll /debug /machine:IX86 /out:"../../../lib/fldlld.dll" /libpath:"../../../lib" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "flVC - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "flVC___Win32_Release_DLL" +# PROP BASE Intermediate_Dir "flVC___Win32_Release_DLL" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\..\..\lib" +# PROP Intermediate_Dir "Release_DLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\..\..\lib\fld.lib" +# ADD LIB32 /nologo /out:"..\..\..\lib\fld.lib" +CPP=cl.exe +# ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /D "WXBUILD_FL_DLL" /YX /FD /c +# SUBTRACT BASE CPP /u +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/mswdlld" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D "WXUSINGDLL" /D "WXMAKING_FL_DLL" /YX /FD /c +# SUBTRACT CPP /u +MTL=midl.exe +RSC=rc.exe +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /version:1.0 /dll /debug /machine:IX86 /out:"../../../lib/fldlld.dll" /libpath:"../../../lib" +# SUBTRACT BASE LINK32 /pdb:none +# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib wxmsw234.lib /nologo /version:1.0 /dll /machine:IX86 /out:"../../../lib/fldll.dll" /libpath:"../../../lib" +# SUBTRACT LINK32 /pdb:none /incremental:no /debug + !ENDIF # Begin Target # Name "flVC - Win32 Release" # Name "flVC - Win32 Debug" +# Name "flVC - Win32 Debug DLL" +# Name "flVC - Win32 Release DLL" # Begin Group "Headers" # PROP Default_Filter "" @@ -119,6 +194,10 @@ SOURCE=..\..\include\wx\fl\dyntbarhnd.h # End Source File # Begin Source File +SOURCE=..\..\include\wx\fl\fldefs.h +# End Source File +# Begin Source File + SOURCE=..\..\include\wx\fl\frmview.h # End Source File # Begin Source File diff --git a/contrib/src/fl/newbmpbtn.cpp b/contrib/src/fl/newbmpbtn.cpp index 740bf206d8..0659bea4ac 100644 --- a/contrib/src/fl/newbmpbtn.cpp +++ b/contrib/src/fl/newbmpbtn.cpp @@ -525,7 +525,7 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp, #ifdef __WXMSW__ // Map to system colours - (void) MapBitmap(destBmp->GetHBITMAP(), destBmp->GetWidth(), destBmp->GetHeight()); + (void) wxToolBar::MapBitmap(destBmp->GetHBITMAP(), destBmp->GetWidth(), destBmp->GetHeight()); #endif } @@ -799,49 +799,3 @@ void wxNewBitmapButton::OnKillFocus( wxFocusEvent& event ) wxMessageBox("kill-focus for button!"); } -#ifdef __WXMSW__ -WXHBITMAP wxNewBitmapButton::MapBitmap(WXHBITMAP bitmap, int width, int height) -{ - MemoryHDC hdcMem; - - if ( !hdcMem ) - { - wxLogLastError(_T("CreateCompatibleDC")); - - return bitmap; - } - - SelectInHDC bmpInHDC(hdcMem, (HBITMAP)bitmap); - - if ( !bmpInHDC ) - { - wxLogLastError(_T("SelectObject")); - - return bitmap; - } - - wxCOLORMAP *cmap = wxGetStdColourMap(); - - for ( int i = 0; i < width; i++ ) - { - for ( int j = 0; j < height; j++ ) - { - COLORREF pixel = ::GetPixel(hdcMem, i, j); - - for ( size_t k = 0; k < wxSTD_COL_MAX; k++ ) - { - COLORREF col = cmap[k].from; - if ( abs(GetRValue(pixel) - GetRValue(col)) < 10 && - abs(GetGValue(pixel) - GetGValue(col)) < 10 && - abs(GetBValue(pixel) - GetBValue(col)) < 10 ) - { - ::SetPixel(hdcMem, i, j, cmap[k].to); - break; - } - } - } - } - - return bitmap; -} -#endif diff --git a/contrib/src/gizmos/Makefile.in b/contrib/src/gizmos/Makefile.in index 2e8619349b..436da14ab3 100644 --- a/contrib/src/gizmos/Makefile.in +++ b/contrib/src/gizmos/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/gizmos -TARGET_LIBNAME=libgizmos +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_gizmos-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=gizmos diff --git a/contrib/src/gizmos/editlbox.cpp b/contrib/src/gizmos/editlbox.cpp index e7c065127d..e7d6160a03 100644 --- a/contrib/src/gizmos/editlbox.cpp +++ b/contrib/src/gizmos/editlbox.cpp @@ -41,7 +41,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, - const wxString &name = "listctrl") + const wxString &name = _T("listctrl")) : wxListCtrl(parent, id, pos, size, style, validator, name) { CreateColumns(); diff --git a/contrib/src/mmedia/Makefile.in b/contrib/src/mmedia/Makefile.in index ace479e123..aed8a229d5 100644 --- a/contrib/src/mmedia/Makefile.in +++ b/contrib/src/mmedia/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/mmedia -TARGET_LIBNAME=libmmedia +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_mmedia-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=mmedia diff --git a/contrib/src/mmedia/makefile.b32 b/contrib/src/mmedia/makefile.b32 index 219a6e3080..9120a5e490 100644 --- a/contrib/src/mmedia/makefile.b32 +++ b/contrib/src/mmedia/makefile.b32 @@ -13,7 +13,7 @@ LIBTARGET=$(WXDIR)\contrib\lib\mmedia.lib OBJECTS = cdbase.obj cdwin.obj g711.obj g721.obj g723_24.obj \ g723_40.obj g72x.obj sndaiff.obj sndbase.obj sndcodec.obj \ - sndcpcm.obj sndfile.obj sndg72x.obj sndpcm.obj sndulaw.obj \ + sndcpcm.obj sndfile.obj sndg72x.obj sndmsad.obj sndpcm.obj sndulaw.obj \ sndwav.obj sndwin.obj vidbase.obj vidwin.obj !include $(WXDIR)\src\makelib.b32 diff --git a/contrib/src/mmedia/makefile.g95 b/contrib/src/mmedia/makefile.g95 index 4311548bf0..b6d00bf4ad 100644 --- a/contrib/src/mmedia/makefile.g95 +++ b/contrib/src/mmedia/makefile.g95 @@ -12,7 +12,7 @@ WXDIR = ../../.. LIBTARGET=$(WXDIR)/contrib/lib/libmmedia.a OBJECTS = cdbase.o cdwin.o g711.o g721.o g723_24.o \ g723_40.o g72x.o sndaiff.o sndbase.o sndcodec.o \ - sndcpcm.o sndfile.o sndg72x.o sndpcm.o sndulaw.o \ + sndcpcm.o sndfile.o sndg72x.o sndmsad.o sndpcm.o sndulaw.o \ sndwav.o sndwin.o vidbase.o vidwin.o include $(WXDIR)/src/makelib.g95 diff --git a/contrib/src/net/Makefile.in b/contrib/src/net/Makefile.in index 9809ddec64..5d9bce041c 100644 --- a/contrib/src/net/Makefile.in +++ b/contrib/src/net/Makefile.in @@ -4,14 +4,15 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/net -TARGET_LIBNAME=libwx_net +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_net-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx -HEADER_SUBDIR=plot +HEADER_SUBDIR=net HEADERS=msg.h email.h web.h diff --git a/contrib/src/ogl/Makefile.in b/contrib/src/ogl/Makefile.in index 2b86eff47a..f3094fe3cf 100644 --- a/contrib/src/ogl/Makefile.in +++ b/contrib/src/ogl/Makefile.in @@ -4,11 +4,12 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/ogl -TARGET_LIBNAME=libogl +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_ogl-@WX_RELEASE@ + +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=ogl diff --git a/contrib/src/ogl/basic.cpp b/contrib/src/ogl/basic.cpp index a78d178bf5..261243d542 100644 --- a/contrib/src/ogl/basic.cpp +++ b/contrib/src/ogl/basic.cpp @@ -1697,7 +1697,7 @@ void wxShape::RemoveLine(wxLineShape *line) m_lines.DeleteObject(line); } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxShape::WriteAttributes(wxExpr *clause) { clause->AddAttributeValueString("type", GetClassInfo()->GetClassName()); diff --git a/contrib/src/ogl/basic2.cpp b/contrib/src/ogl/basic2.cpp index 5dd361faa4..33ed98da8a 100644 --- a/contrib/src/ogl/basic2.cpp +++ b/contrib/src/ogl/basic2.cpp @@ -581,7 +581,7 @@ void wxPolygonShape::ResetControlPoints() } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxPolygonShape::WriteAttributes(wxExpr *clause) { wxShape::WriteAttributes(clause); @@ -940,7 +940,7 @@ bool wxRectangleShape::GetPerimeterPoint(double x1, double y1, return TRUE; } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxRectangleShape::WriteAttributes(wxExpr *clause) { wxShape::WriteAttributes(clause); @@ -1013,7 +1013,7 @@ void wxTextShape::Copy(wxShape& copy) wxRectangleShape::Copy(copy); } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxTextShape::WriteAttributes(wxExpr *clause) { wxRectangleShape::WriteAttributes(clause); @@ -1080,7 +1080,7 @@ void wxEllipseShape::SetSize(double x, double y, bool recursive) SetDefaultRegionSize(); } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxEllipseShape::WriteAttributes(wxExpr *clause) { wxShape::WriteAttributes(clause); diff --git a/contrib/src/ogl/bmpshape.cpp b/contrib/src/ogl/bmpshape.cpp index 10b1748517..7125c98300 100644 --- a/contrib/src/ogl/bmpshape.cpp +++ b/contrib/src/ogl/bmpshape.cpp @@ -52,7 +52,7 @@ void wxBitmapShape::OnDraw(wxDC& dc) { if (!m_bitmap.Ok()) return; - + wxMemoryDC tempDC; tempDC.SelectObject(m_bitmap); double x, y; @@ -76,7 +76,7 @@ void wxBitmapShape::SetSize(double w, double h, bool recursive) SetDefaultRegionSize(); } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxBitmapShape::WriteAttributes(wxExpr *clause) { // Can't really save the bitmap; so instantiate the bitmap diff --git a/contrib/src/ogl/composit.cpp b/contrib/src/ogl/composit.cpp index ded8e3be12..3602cac170 100644 --- a/contrib/src/ogl/composit.cpp +++ b/contrib/src/ogl/composit.cpp @@ -33,10 +33,11 @@ #include #include +#if wxUSE_PROLOGIO // Sometimes, objects need to access the whole database to // construct themselves. wxExprDatabase *GlobalwxExprDatabase = NULL; - +#endif /* * Division control point @@ -598,7 +599,7 @@ bool wxCompositeShape::Constrain() return changed; } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxCompositeShape::WriteAttributes(wxExpr *clause) { wxRectangleShape::WriteAttributes(clause); @@ -984,7 +985,7 @@ void wxDivisionShape::Copy(wxShape& copy) // Division geometry copying is handled at the wxCompositeShape level. } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxDivisionShape::WriteAttributes(wxExpr *clause) { wxCompositeShape::WriteAttributes(clause); diff --git a/contrib/src/ogl/divided.cpp b/contrib/src/ogl/divided.cpp index 8bac0783fc..146ca96d68 100644 --- a/contrib/src/ogl/divided.cpp +++ b/contrib/src/ogl/divided.cpp @@ -415,7 +415,7 @@ void wxDividedShape::ResetMandatoryControlPoints() } } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxDividedShape::WriteAttributes(wxExpr *clause) { wxRectangleShape::WriteAttributes(clause); diff --git a/contrib/src/ogl/drawn.cpp b/contrib/src/ogl/drawn.cpp index 24db4482d9..07a3036997 100644 --- a/contrib/src/ogl/drawn.cpp +++ b/contrib/src/ogl/drawn.cpp @@ -35,6 +35,8 @@ #include #include +#include + static void IntToHex(unsigned int dec, char *buf); static unsigned long HexToInt(char *buf); extern char *oglBuffer; @@ -234,7 +236,7 @@ bool wxDrawnShape::GetPerimeterPoint(double x1, double y1, return wxRectangleShape::GetPerimeterPoint(x1, y1, x2, y2, x3, y3); } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxDrawnShape::WriteAttributes(wxExpr *clause) { wxRectangleShape::WriteAttributes(clause); @@ -520,6 +522,7 @@ wxDrawOp *wxOpSetGDI::Copy(wxPseudoMetaFile *newImage) return newOp; } +#if wxUSE_PROLOGIO wxExpr *wxOpSetGDI::WriteExpr(wxPseudoMetaFile *image) { wxExpr *expr = new wxExpr(wxExprList); @@ -580,6 +583,7 @@ void wxOpSetGDI::ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) break; } } +#endif /* * Set/destroy clipping @@ -634,6 +638,7 @@ void wxOpSetClipping::Translate(double x, double y) m_y1 += y; } +#if wxUSE_PROLOGIO wxExpr *wxOpSetClipping::WriteExpr(wxPseudoMetaFile *image) { wxExpr *expr = new wxExpr(wxExprList); @@ -670,6 +675,7 @@ void wxOpSetClipping::ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) break; } } +#endif /* * Draw line, rectangle, rounded rectangle, ellipse, point, arc, text @@ -878,6 +884,7 @@ void wxOpDraw::Rotate(double x, double y, double theta, double sinTheta, double } } +#if wxUSE_PROLOGIO wxExpr *wxOpDraw::WriteExpr(wxPseudoMetaFile *image) { wxExpr *expr = new wxExpr(wxExprList); @@ -989,6 +996,7 @@ void wxOpDraw::ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) } } } +#endif /* * Draw polygon, polyline, spline @@ -1102,6 +1110,7 @@ void wxOpPolyDraw::Rotate(double x, double y, double theta, double sinTheta, dou } } +#if wxUSE_PROLOGIO wxExpr *wxOpPolyDraw::WriteExpr(wxPseudoMetaFile *image) { wxExpr *expr = new wxExpr(wxExprList); @@ -1190,6 +1199,7 @@ void wxOpPolyDraw::ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) i ++; } } +#endif // Draw an outline using the current operation. bool wxOpPolyDraw::OnDrawOutline(wxDC& dc, double x, double y, double w, double h, double oldW, double oldH) @@ -1446,7 +1456,7 @@ void wxPseudoMetaFile::Rotate(double x, double y, double theta) m_currentRotation = theta; } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxPseudoMetaFile::WriteAttributes(wxExpr *clause, int whichAngle) { wxString widthStr; @@ -1817,7 +1827,7 @@ void wxPseudoMetaFile::Copy(wxPseudoMetaFile& copy) bool wxPseudoMetaFile::LoadFromMetaFile(char *filename, double *rwidth, double *rheight) { - if (!FileExists(filename)) + if (!wxFileExists(filename)) return NULL; wxXMetaFile *metaFile = new wxXMetaFile; diff --git a/contrib/src/ogl/lines.cpp b/contrib/src/ogl/lines.cpp index 2b94575298..7c816e5414 100644 --- a/contrib/src/ogl/lines.cpp +++ b/contrib/src/ogl/lines.cpp @@ -1373,7 +1373,7 @@ void wxLineShape::ResetControlPoints() } } -#ifdef PROLOGIO +#if wxUSE_PROLOGIO void wxLineShape::WriteAttributes(wxExpr *clause) { wxShape::WriteAttributes(clause); diff --git a/contrib/src/ogl/ogldiag.cpp b/contrib/src/ogl/ogldiag.cpp index f5b880414b..d7ec3fc0b6 100644 --- a/contrib/src/ogl/ogldiag.cpp +++ b/contrib/src/ogl/ogldiag.cpp @@ -225,7 +225,7 @@ void wxDiagram::RecentreAll(wxDC& dc) } // Input/output -#ifdef PROLOGIO +#if wxUSE_PROLOGIO bool wxDiagram::SaveFile(const wxString& filename) { wxBeginBusyCursor(); diff --git a/contrib/src/plot/Makefile.in b/contrib/src/plot/Makefile.in index 7b5c8a7fbf..f5435cd265 100644 --- a/contrib/src/plot/Makefile.in +++ b/contrib/src/plot/Makefile.in @@ -4,11 +4,11 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/plot -TARGET_LIBNAME=libwx_plot +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_plot-@WX_RELEASE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=plot diff --git a/contrib/src/stc/Makefile.in b/contrib/src/stc/Makefile.in index 01b2877cb8..042da17f87 100644 --- a/contrib/src/stc/Makefile.in +++ b/contrib/src/stc/Makefile.in @@ -9,13 +9,13 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. scintilla_dir = $(top_srcdir)/contrib/src/stc/scintilla -libsrc_dir = contrib/src/stc@PATH_IFS@$(scintilla_dir)/src +libsrc_dir = contrib/src/stc/scintilla/src:$(top_srcdir)/contrib/src/stc -TARGET_LIBNAME=libstc +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_stc-@WX_RELEASE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=stc diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 8abff4b97d..eaf9899f03 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -804,7 +804,7 @@ void ListBox::Clear() { } void ListBox::Append(char *s) { - GETLB(id)->Append(s); + GETLB(id)->Append(stc2wx(s)); } int ListBox::Length() { diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index f1c0e43a0a..e389534c80 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -338,7 +338,7 @@ void ScintillaWX::Copy() { SelectionText st; CopySelectionRange(&st); if (wxTheClipboard->Open()) { - wxTheClipboard->UsePrimarySelection(); + wxTheClipboard->UsePrimarySelection(FALSE); wxString text = stc2wx(st.s, st.len); wxTheClipboard->SetData(new wxTextDataObject(text)); wxTheClipboard->Close(); @@ -355,7 +355,7 @@ void ScintillaWX::Paste() { bool gotData = FALSE; if (wxTheClipboard->Open()) { - wxTheClipboard->UsePrimarySelection(); + wxTheClipboard->UsePrimarySelection(FALSE); gotData = wxTheClipboard->GetData(data); wxTheClipboard->Close(); } @@ -380,7 +380,7 @@ bool ScintillaWX::CanPaste() { wxTheClipboard->Open(); if (wxTheClipboard->IsOpened()) { - wxTheClipboard->UsePrimarySelection(); + wxTheClipboard->UsePrimarySelection(FALSE); canPaste = wxTheClipboard->IsSupported(wxUSE_UNICODE ? wxDF_UNICODETEXT : wxDF_TEXT); if (didOpen) wxTheClipboard->Close(); @@ -405,8 +405,22 @@ void ScintillaWX::AddToPopUp(const char *label, int cmd, bool enabled) { } +// This is called by the Editor base class whenever something is selected void ScintillaWX::ClaimSelection() { - +#ifdef __WXGTK__ + // Put the selected text in the PRIMARY selection + if (currentPos != anchor) { + SelectionText st; + CopySelectionRange(&st); + if (wxTheClipboard->Open()) { + wxTheClipboard->UsePrimarySelection(TRUE); + wxString text = stc2wx(st.s, st.len); + wxTheClipboard->SetData(new wxTextDataObject(text)); + wxTheClipboard->UsePrimarySelection(FALSE); + wxTheClipboard->Close(); + } + } +#endif } @@ -547,23 +561,64 @@ void ScintillaWX::DoSysColourChange() { InvalidateStyleData(); } -void ScintillaWX::DoButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt) { +void ScintillaWX::DoLeftButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt) { ButtonDown(pt, curTime, shift, ctrl, alt); } -void ScintillaWX::DoButtonUp(Point pt, unsigned int curTime, bool ctrl) { +void ScintillaWX::DoLeftButtonUp(Point pt, unsigned int curTime, bool ctrl) { ButtonUp(pt, curTime, ctrl); } -void ScintillaWX::DoButtonMove(Point pt) { +void ScintillaWX::DoLeftButtonMove(Point pt) { ButtonMove(pt); } +void ScintillaWX::DoMiddleButtonUp(Point pt) { +#ifdef __WXGTK__ + // Set the current position to the mouse click point and + // then paste in the PRIMARY selection, if any. wxGTK only. + int newPos = PositionFromLocation(pt); + MovePositionTo(newPos, 0, 1); + + pdoc->BeginUndoAction(); + wxTextDataObject data; + bool gotData = FALSE; + if (wxTheClipboard->Open()) { + wxTheClipboard->UsePrimarySelection(TRUE); + gotData = wxTheClipboard->GetData(data); + wxTheClipboard->UsePrimarySelection(FALSE); + wxTheClipboard->Close(); + } + if (gotData) { + wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(data.GetText()); + int len = strlen(buf); + pdoc->InsertString(currentPos, buf, len); + SetEmptySelection(currentPos + len); + } + pdoc->EndUndoAction(); + NotifyChange(); + Redraw(); + + ShowCaretAtCurrentPosition(); + EnsureCaretVisible(); +#endif +} + void ScintillaWX::DoAddChar(int key) { +#if wxUSE_UNICODE + char ansiChars[3]; + ansiChars[0] = key; + ansiChars[1] = 0; + wxString uniChar(ansiChars, wxConvLocal); + wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(uniChar); + AddCharUTF((char*)buf.data(), strlen(buf)); +#else AddChar(key); +#endif } + int ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed) { #if defined(__WXGTK__) || defined(__WXMAC__) // Ctrl chars (A-Z) end up with the wrong keycode on wxGTK... diff --git a/contrib/src/stc/ScintillaWX.h b/contrib/src/stc/ScintillaWX.h index 5f87911952..d904fc3c18 100644 --- a/contrib/src/stc/ScintillaWX.h +++ b/contrib/src/stc/ScintillaWX.h @@ -122,9 +122,10 @@ public: void DoLoseFocus(); void DoGainFocus(); void DoSysColourChange(); - void DoButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt); - void DoButtonUp(Point pt, unsigned int curTime, bool ctrl); - void DoButtonMove(Point pt); + void DoLeftButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt); + void DoLeftButtonUp(Point pt, unsigned int curTime, bool ctrl); + void DoLeftButtonMove(Point pt); + void DoMiddleButtonUp(Point pt); void DoMouseWheel(int rotation, int delta, int linesPerAction, int ctrlDown, bool isPageScroll); void DoAddChar(int key); int DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed); diff --git a/contrib/src/stc/gen_iface.py b/contrib/src/stc/gen_iface.py index b5342b73e6..6689380466 100644 --- a/contrib/src/stc/gen_iface.py +++ b/contrib/src/stc/gen_iface.py @@ -36,7 +36,13 @@ valPrefixes = [('SCI_', ''), ] # Message function values that should have a CMD_ constant as well -cmdValues = [ (2300, 2350), 2011, 2013, (2176, 2180) ] +cmdValues = [ (2300, 2349), + 2011, + 2013, + (2176, 2180), + (2390, 2393), + (2395, 2396), + ] # Map some generic typenames to wx types, using return value syntax @@ -420,6 +426,54 @@ methodOverrideMap = { 0), + 'GetDocPointer' : (0, + 'void* %s();', + '''void* %s() { + return (void*)SendMsg(%s);''', + 0), + + 'SetDocPointer' : (0, + 'void %s(void* docPointer);', + '''void %s(void* docPointer) { + SendMsg(%s, 0, (long)docPointer);''', + 0), + + 'CreateDocument' : (0, + 'void* %s();', + '''void* %s() { + return (void*)SendMsg(%s);''', + 0), + + 'AddRefDocument' : (0, + 'void %s(void* docPointer);', + '''void %s(void* docPointer) { + SendMsg(%s, 0, (long)docPointer);''', + 0), + + 'ReleaseDocument' : (0, + 'void %s(void* docPointer);', + '''void %s(void* docPointer) { + SendMsg(%s, 0, (long)docPointer);''', + 0), + 'SetCodePage' : (0, + 0, + '''void %s(int codePage) { +#if wxUSE_UNICODE + wxASSERT_MSG(codePage == wxSTC_CP_UTF8, + wxT("Only wxSTC_CP_UTF8 may be used when wxUSE_UNICODE is on.")); +#else + wxASSERT_MSG(codePage != wxSTC_CP_UTF8, + wxT("wxSTC_CP_UTF8 may not be used when wxUSE_UNICODE is off.")); +#endif + SendMsg(%s, codePage);''', + ("Set the code page used to interpret the bytes of the document as characters.",) ), + + + 'GrabFocus' : (None, 0, 0, 0), + 'SetFocus' : ('SetSTCFocus', 0, 0, 0), + 'GetFocus' : ('GetSTCFocus', 0, 0, 0), + + # Remove all methods that are key commands since they can be # executed with CmdKeyExecute @@ -470,53 +524,6 @@ methodOverrideMap = { 'DeleteBackNotLine' : (None, 0, 0, 0), - 'GetDocPointer' : (0, - 'void* %s();', - '''void* %s() { - return (void*)SendMsg(%s);''', - 0), - - 'SetDocPointer' : (0, - 'void %s(void* docPointer);', - '''void %s(void* docPointer) { - SendMsg(%s, 0, (long)docPointer);''', - 0), - - 'CreateDocument' : (0, - 'void* %s();', - '''void* %s() { - return (void*)SendMsg(%s);''', - 0), - - 'AddRefDocument' : (0, - 'void %s(void* docPointer);', - '''void %s(void* docPointer) { - SendMsg(%s, 0, (long)docPointer);''', - 0), - - 'ReleaseDocument' : (0, - 'void %s(void* docPointer);', - '''void %s(void* docPointer) { - SendMsg(%s, 0, (long)docPointer);''', - 0), - 'SetCodePage' : (0, - 0, - '''void %s(int codePage) { -#if wxUSE_UNICODE - wxASSERT_MSG(codePage == wxSTC_CP_UTF8, - wxT("Only wxSTC_CP_UTF8 may be used when wxUSE_UNICODE is on.")); -#else - wxASSERT_MSG(codePage != wxSTC_CP_UTF8, - wxT("wxSTC_CP_UTF8 may not be used when wxUSE_UNICODE is off.")); -#endif - SendMsg(%s, codePage);''', - ("Set the code page used to interpret the bytes of the document as characters.",) ), - - - 'GrabFocus' : (None, 0, 0, 0), - 'SetFocus' : ('SetSTCFocus', 0, 0, 0), - 'GetFocus' : ('GetSTCFocus', 0, 0, 0), - '' : ('', 0, 0, 0), @@ -529,6 +536,7 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest): curDocStrings = [] values = [] methods = [] + cmds = [] # parse iface file fi = FileInput(iface) @@ -547,7 +555,7 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest): curDocStrings = [] elif op == 'fun ' or op == 'set ' or op == 'get ': - parseFun(line[4:], methods, curDocStrings, values) + parseFun(line[4:], methods, curDocStrings, cmds) curDocStrings = [] elif op == 'cat ': @@ -570,6 +578,7 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest): # process templates data = {} data['VALUES'] = processVals(values) + data['CMDS'] = processVals(cmds) defs, imps = processMethods(methods) data['METHOD_DEFS'] = defs data['METHOD_IMPS'] = imps @@ -747,10 +756,10 @@ def parseFun(line, methods, docs, values): param1 = parseParam(param1) param2 = parseParam(param2) - # Special case. For the key command functionss we want a value defined too + # Special case. For the key command functions we want a value defined too num = string.atoi(number) for v in cmdValues: - if (type(v) == type(()) and v[0] <= num < v[1]) or v == num: + if (type(v) == type(()) and v[0] <= num <= v[1]) or v == num: parseVal('CMD_%s=%s' % (string.upper(name), number), values, docs) #if retType == 'void' and not param1 and not param2: diff --git a/contrib/src/stc/scintilla/include/SString.h b/contrib/src/stc/scintilla/include/SString.h index 6bfe50fccd..3c7ccc33a5 100644 --- a/contrib/src/stc/scintilla/include/SString.h +++ b/contrib/src/stc/scintilla/include/SString.h @@ -369,7 +369,11 @@ public: */ inline char *StringDup( const char *s, ///< The string to duplicate - SString::lenpos_t len=SString::measure_length) ///< The length of memory to allocate. Optional. + /* gcc 2.96 doesn't seem to like this syntax: gives + 'non-local function uses anonymous type' + SString::lenpos_t len=SString::measure_length) ///< The length of memory to allocate. Optional. + */ + SString::lenpos_t len=0xffffffffU) ///< The length of memory to allocate. Optional. { return SString::StringAllocate(s, len); } diff --git a/contrib/src/stc/scintilla/include/Scintilla.iface b/contrib/src/stc/scintilla/include/Scintilla.iface index 776fe8f2b7..d6383b103b 100644 --- a/contrib/src/stc/scintilla/include/Scintilla.iface +++ b/contrib/src/stc/scintilla/include/Scintilla.iface @@ -1130,14 +1130,14 @@ fun void DeleteBackNotLine=2344(,) # Move caret to first position on display line. fun void HomeDisplay=2345(,) -# Move caret to first position on display line extending selection to +# Move caret to first position on display line extending selection to # new caret position. fun void HomeDisplayExtend=2346(,) # Move caret to last position on display line. fun void LineEndDisplay=2347(,) -# Move caret to last position on display line extending selection to new +# Move caret to last position on display line extending selection to new # caret position. fun void LineEndDisplayExtend=2348(,) diff --git a/contrib/src/stc/scintilla/src/ScintillaBase.cxx b/contrib/src/stc/scintilla/src/ScintillaBase.cxx index a5e5a065d1..ab6e9a19b4 100644 --- a/contrib/src/stc/scintilla/src/ScintillaBase.cxx +++ b/contrib/src/stc/scintilla/src/ScintillaBase.cxx @@ -70,7 +70,7 @@ void ScintillaBase::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { } if (ac.Active()) { AutoCompleteCharacterAdded(s[0]); - // For fill ups add the character after the autocompletion has + // For fill ups add the character after the autocompletion has // triggered so containers see the key so can display a calltip. if (isFillUp) { Editor::AddCharUTF(s, len, treatAsDBCS); @@ -317,6 +317,7 @@ void ScintillaBase::AutoCompleteCompleted() { scn.nmhdr.code = SCN_USERLISTSELECTION; scn.message = 0; scn.wParam = listType; + scn.listType = listType; scn.lParam = 0; scn.text = userListSelected.c_str(); NotifyParent(scn); diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index d675e8da9d..17cf6ee406 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -90,10 +90,8 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_SCROLL (wxStyledTextCtrl::OnScroll) EVT_SIZE (wxStyledTextCtrl::OnSize) EVT_LEFT_DOWN (wxStyledTextCtrl::OnMouseLeftDown) -#if defined(__WXMSW__) || defined(__WXMAC__) // Let Scintilla see the double click as a second click EVT_LEFT_DCLICK (wxStyledTextCtrl::OnMouseLeftDown) -#endif EVT_MOTION (wxStyledTextCtrl::OnMouseMove) EVT_LEFT_UP (wxStyledTextCtrl::OnMouseLeftUp) #if defined(__WXGTK__) || defined(__WXMAC__) @@ -102,6 +100,7 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_CONTEXT_MENU (wxStyledTextCtrl::OnContextMenu) #endif EVT_MOUSEWHEEL (wxStyledTextCtrl::OnMouseWheel) + EVT_MIDDLE_UP (wxStyledTextCtrl::OnMouseMiddleUp) EVT_CHAR (wxStyledTextCtrl::OnChar) EVT_KEY_DOWN (wxStyledTextCtrl::OnKeyDown) EVT_KILL_FOCUS (wxStyledTextCtrl::OnLoseFocus) @@ -1478,7 +1477,7 @@ void wxStyledTextCtrl::HomeDisplay() { SendMsg(2345, 0, 0); } -// Move caret to first position on display line extending selection to +// Move caret to first position on display line extending selection to // new caret position. void wxStyledTextCtrl::HomeDisplayExtend() { SendMsg(2346, 0, 0); @@ -1489,7 +1488,7 @@ void wxStyledTextCtrl::LineEndDisplay() { SendMsg(2347, 0, 0); } -// Move caret to last position on display line extending selection to new +// Move caret to last position on display line extending selection to new // caret position. void wxStyledTextCtrl::LineEndDisplayExtend() { SendMsg(2348, 0, 0); @@ -1959,18 +1958,18 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { SetFocus(); wxPoint pt = evt.GetPosition(); - m_swx->DoButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ShiftDown(), evt.ControlDown(), evt.AltDown()); } void wxStyledTextCtrl::OnMouseMove(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonMove(Point(pt.x, pt.y)); + m_swx->DoLeftButtonMove(Point(pt.x, pt.y)); } void wxStyledTextCtrl::OnMouseLeftUp(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ControlDown()); } @@ -1981,6 +1980,11 @@ void wxStyledTextCtrl::OnMouseRightUp(wxMouseEvent& evt) { } +void wxStyledTextCtrl::OnMouseMiddleUp(wxMouseEvent& evt) { + wxPoint pt = evt.GetPosition(); + m_swx->DoMiddleButtonUp(Point(pt.x, pt.y)); +} + void wxStyledTextCtrl::OnContextMenu(wxContextMenuEvent& evt) { wxPoint pt = evt.GetPosition(); ScreenToClient(&pt.x, &pt.y); @@ -1998,8 +2002,6 @@ void wxStyledTextCtrl::OnMouseWheel(wxMouseEvent& evt) { void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { - int key = evt.GetKeyCode(); - // On (some?) non-US keyboards the AltGr key is required to enter some // common characters. It comes to us as both Alt and Ctrl down so we need // to let the char through in that case, otherwise if only ctrl or only @@ -2008,10 +2010,13 @@ void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { bool alt = evt.AltDown(); bool skip = ((ctrl || alt) && ! (ctrl && alt)); + int key = evt.GetKeyCode(); + // printf("OnChar key:%d consumed:%d ctrl:%d alt:%d skip:%d\n", // key, m_lastKeyDownConsumed, ctrl, alt, skip); - if (key <= WXK_START && /*key >= 32 &&*/ !m_lastKeyDownConsumed && !skip) { + if ( (key <= WXK_START || key > WXK_NUMPAD_DIVIDE) && + !m_lastKeyDownConsumed && !skip) { m_swx->DoAddChar(key); return; } @@ -2076,6 +2081,20 @@ void wxStyledTextCtrl::NotifyChange() { GetEventHandler()->ProcessEvent(evt); } + +static void SetEventText(wxStyledTextEvent& evt, const char* text, + size_t length) { + if(!text) return; + + // The unicode conversion MUST have a null byte to terminate the + // string so move it into a buffer first and give it one. + wxMemoryBuffer buf(length+1); + buf.AppendData((void*)text, length); + buf.AppendByte(0); + evt.SetText(stc2wx(buf)); +} + + void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { SCNotification& scn = *_scn; wxStyledTextEvent evt(0, GetId()); @@ -2121,14 +2140,7 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_MODIFIED: evt.SetEventType(wxEVT_STC_MODIFIED); evt.SetModificationType(scn.modificationType); - if (scn.text) { - // The unicode conversion MUST have a null byte to terminate the - // string so move it into a buffer first and give it one. - wxMemoryBuffer buf(scn.length+1); - buf.AppendData((void*)scn.text, scn.length); - buf.AppendByte(0); - evt.SetText(stc2wx(buf)); - } + SetEventText(evt, scn.text, scn.length); evt.SetLength(scn.length); evt.SetLinesAdded(scn.linesAdded); evt.SetLine(scn.line); @@ -2160,12 +2172,12 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_USERLISTSELECTION: evt.SetEventType(wxEVT_STC_USERLISTSELECTION); evt.SetListType(scn.listType); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_URIDROPPED: evt.SetEventType(wxEVT_STC_URIDROPPED); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_DWELLSTART: diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index 3e1b761faf..0ab9afdc5e 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/src/stc/stc.cpp.in @@ -90,10 +90,8 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_SCROLL (wxStyledTextCtrl::OnScroll) EVT_SIZE (wxStyledTextCtrl::OnSize) EVT_LEFT_DOWN (wxStyledTextCtrl::OnMouseLeftDown) -#if defined(__WXMSW__) || defined(__WXMAC__) // Let Scintilla see the double click as a second click EVT_LEFT_DCLICK (wxStyledTextCtrl::OnMouseLeftDown) -#endif EVT_MOTION (wxStyledTextCtrl::OnMouseMove) EVT_LEFT_UP (wxStyledTextCtrl::OnMouseLeftUp) #if defined(__WXGTK__) || defined(__WXMAC__) @@ -102,6 +100,7 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_CONTEXT_MENU (wxStyledTextCtrl::OnContextMenu) #endif EVT_MOUSEWHEEL (wxStyledTextCtrl::OnMouseWheel) + EVT_MIDDLE_UP (wxStyledTextCtrl::OnMouseMiddleUp) EVT_CHAR (wxStyledTextCtrl::OnChar) EVT_KEY_DOWN (wxStyledTextCtrl::OnKeyDown) EVT_KILL_FOCUS (wxStyledTextCtrl::OnLoseFocus) @@ -337,18 +336,18 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { SetFocus(); wxPoint pt = evt.GetPosition(); - m_swx->DoButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ShiftDown(), evt.ControlDown(), evt.AltDown()); } void wxStyledTextCtrl::OnMouseMove(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonMove(Point(pt.x, pt.y)); + m_swx->DoLeftButtonMove(Point(pt.x, pt.y)); } void wxStyledTextCtrl::OnMouseLeftUp(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ControlDown()); } @@ -359,6 +358,11 @@ void wxStyledTextCtrl::OnMouseRightUp(wxMouseEvent& evt) { } +void wxStyledTextCtrl::OnMouseMiddleUp(wxMouseEvent& evt) { + wxPoint pt = evt.GetPosition(); + m_swx->DoMiddleButtonUp(Point(pt.x, pt.y)); +} + void wxStyledTextCtrl::OnContextMenu(wxContextMenuEvent& evt) { wxPoint pt = evt.GetPosition(); ScreenToClient(&pt.x, &pt.y); @@ -376,8 +380,6 @@ void wxStyledTextCtrl::OnMouseWheel(wxMouseEvent& evt) { void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { - int key = evt.GetKeyCode(); - // On (some?) non-US keyboards the AltGr key is required to enter some // common characters. It comes to us as both Alt and Ctrl down so we need // to let the char through in that case, otherwise if only ctrl or only @@ -386,10 +388,13 @@ void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { bool alt = evt.AltDown(); bool skip = ((ctrl || alt) && ! (ctrl && alt)); + int key = evt.GetKeyCode(); + // printf("OnChar key:%%d consumed:%%d ctrl:%%d alt:%%d skip:%%d\n", // key, m_lastKeyDownConsumed, ctrl, alt, skip); - if (key <= WXK_START && /*key >= 32 &&*/ !m_lastKeyDownConsumed && !skip) { + if ( (key <= WXK_START || key > WXK_NUMPAD_DIVIDE) && + !m_lastKeyDownConsumed && !skip) { m_swx->DoAddChar(key); return; } @@ -454,6 +459,20 @@ void wxStyledTextCtrl::NotifyChange() { GetEventHandler()->ProcessEvent(evt); } + +static void SetEventText(wxStyledTextEvent& evt, const char* text, + size_t length) { + if(!text) return; + + // The unicode conversion MUST have a null byte to terminate the + // string so move it into a buffer first and give it one. + wxMemoryBuffer buf(length+1); + buf.AppendData((void*)text, length); + buf.AppendByte(0); + evt.SetText(stc2wx(buf)); +} + + void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { SCNotification& scn = *_scn; wxStyledTextEvent evt(0, GetId()); @@ -499,14 +518,7 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_MODIFIED: evt.SetEventType(wxEVT_STC_MODIFIED); evt.SetModificationType(scn.modificationType); - if (scn.text) { - // The unicode conversion MUST have a null byte to terminate the - // string so move it into a buffer first and give it one. - wxMemoryBuffer buf(scn.length+1); - buf.AppendData((void*)scn.text, scn.length); - buf.AppendByte(0); - evt.SetText(stc2wx(buf)); - } + SetEventText(evt, scn.text, scn.length); evt.SetLength(scn.length); evt.SetLinesAdded(scn.linesAdded); evt.SetLine(scn.line); @@ -538,12 +550,12 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_USERLISTSELECTION: evt.SetEventType(wxEVT_STC_USERLISTSELECTION); evt.SetListType(scn.listType); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_URIDROPPED: evt.SetEventType(wxEVT_STC_URIDROPPED); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_DWELLSTART: diff --git a/contrib/src/stc/stc.h.in b/contrib/src/stc/stc.h.in index 157a7bfc23..0a3360359e 100644 --- a/contrib/src/stc/stc.h.in +++ b/contrib/src/stc/stc.h.in @@ -24,6 +24,12 @@ #include #include +#ifdef STCISDLL +#define STCDLLEXPORT WXDLLEXPORT +#else +#define STCDLLEXPORT +#endif + //---------------------------------------------------------------------- // Should a wxPopupWindow be used for the call tips and autocomplete windows? @@ -38,6 +44,12 @@ %(VALUES)s + +//----------------------------------------- +// Commands that can be bound to keystrokes +%(CMDS)s + + // END of generated section //---------------------------------------------------------------------- @@ -45,8 +57,11 @@ class ScintillaWX; // forward declare class WordList; struct SCNotification; - -extern const wxChar* wxSTCNameStr; +#ifndef SWIG +extern STCDLLEXPORT const wxChar* wxSTCNameStr; +class STCDLLEXPORT wxStyledTextCtrl; +class STCDLLEXPORT wxStyledTextEvent; +#endif //---------------------------------------------------------------------- @@ -175,6 +190,7 @@ private: void OnMouseMove(wxMouseEvent& evt); void OnMouseLeftUp(wxMouseEvent& evt); void OnMouseRightUp(wxMouseEvent& evt); + void OnMouseMiddleUp(wxMouseEvent& evt); void OnContextMenu(wxContextMenuEvent& evt); void OnMouseWheel(wxMouseEvent& evt); void OnChar(wxKeyEvent& evt); @@ -210,7 +226,7 @@ private: //---------------------------------------------------------------------- -// SWIG can't handle "#if" type of conditionals, onlu "#ifdef" +// SWIG can't handle "#if" type of conditionals, only "#ifdef" #ifdef SWIG #define STC_USE_DND 1 #else diff --git a/contrib/src/svg/Makefile.in b/contrib/src/svg/Makefile.in index 9f1f1e253b..904597247e 100644 --- a/contrib/src/svg/Makefile.in +++ b/contrib/src/svg/Makefile.in @@ -4,14 +4,14 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. libsrc_dir = contrib/src/svg -TARGET_LIBNAME=libwx_dcsvg +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_dcsvg-@WX_RELEASE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ HEADER_PATH=$(top_srcdir)/contrib/include/wx -HEADER_SUBDIR=dcsvg +HEADER_SUBDIR=svg HEADERS=dcsvg.h diff --git a/contrib/src/xrc/Makefile.in b/contrib/src/xrc/Makefile.in index f645274010..ca0f650ca8 100644 --- a/contrib/src/xrc/Makefile.in +++ b/contrib/src/xrc/Makefile.in @@ -7,11 +7,11 @@ expat_dir = $(top_srcdir)/contrib/src/xrc/expat libsrc_dir = contrib/src/xrc@PATH_IFS@$(expat_dir)/xmlparse@PATH_IFS@$(expat_dir)/xmltok -TARGET_LIBNAME=libwxxrc +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@ -LIBVERSION_CURRENT=0 -LIBVERSION_REVISION=1 -LIBVERSION_AGE=0 +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=xrc @@ -22,9 +22,9 @@ EXPAT_OBJECTS=xmltok.o xmlrole.o xmlparse.o HEADERS=xh_all.h xh_bttn.h xh_chckb.h xh_chckl.h xh_choic.h xh_combo.h \ xh_dlg.h xh_gauge.h xh_html.h xh_menu.h xh_notbk.h xh_panel.h \ xh_radbt.h xh_radbx.h xh_sizer.h xh_slidr.h xh_spin.h xh_stbmp.h \ - xh_sttxt.h xh_text.h xh_listb.h xml.h xmlio.h xmlres.h xh_toolb.h \ + xh_sttxt.h xh_text.h xh_listb.h xml.h xmlres.h xh_toolb.h \ xh_bmpbt.h xh_cald.h xh_listc.h xh_scrol.h xh_stbox.h xh_tree.h \ - xh_stlin.h xh_bmp.h xh_unkwn.h xh_frame.h xh_gdctl.h + xh_stlin.h xh_bmp.h xh_unkwn.h xh_frame.h xh_gdctl.h xh_scwin.h OBJECTS=$(EXPAT_OBJECTS) \ xml.o xmlres.o xmlrsall.o \ @@ -33,7 +33,7 @@ OBJECTS=$(EXPAT_OBJECTS) \ xh_radbx.o xh_sizer.o xh_slidr.o xh_spin.o xh_stbmp.o xh_sttxt.o \ xh_text.o xh_listb.o xh_toolb.o xh_stlin.o xh_bmp.o xh_unkwn.o \ xh_bmpbt.o xh_cald.o xh_listc.o xh_scrol.o xh_stbox.o xh_tree.o \ - xh_frame.o xh_gdctl.o + xh_frame.o xh_gdctl.o xh_scwin.o DEPFILES=$(OBJECTS:.o=.d) APPEXTRADEFS=-I$(top_srcdir)/contrib/include $(EXPAT_DEFS) diff --git a/contrib/src/xrc/XrcVC.dsp b/contrib/src/xrc/XrcVC.dsp index 44c9ba9a78..174c339711 100644 --- a/contrib/src/xrc/XrcVC.dsp +++ b/contrib/src/xrc/XrcVC.dsp @@ -184,6 +184,10 @@ SOURCE=.\xh_scrol.cpp # End Source File # Begin Source File +SOURCE=.\xh_scwin.cpp +# End Source File +# Begin Source File + SOURCE=.\xh_sizer.cpp # End Source File # Begin Source File diff --git a/contrib/src/xrc/makefile.b32 b/contrib/src/xrc/makefile.b32 index dc7d4fa68a..2024abb133 100644 --- a/contrib/src/xrc/makefile.b32 +++ b/contrib/src/xrc/makefile.b32 @@ -27,7 +27,7 @@ OBJECTS=$(EXPAT_OBJECTS) \ xh_radbx.obj xh_sizer.obj xh_slidr.obj xh_spin.obj xh_stbmp.obj xh_sttxt.obj \ xh_text.obj xh_listb.obj xh_toolb.obj xh_stlin.obj xh_bmp.obj \ xh_bmpbt.obj xh_cald.obj xh_listc.obj xh_scrol.obj xh_stbox.obj \ - xh_tree.obj xh_unkwn.obj xh_frame.obj xh_gdctl.obj + xh_tree.obj xh_unkwn.obj xh_frame.obj xh_gdctl.obj xh_scwin.obj !include $(WXDIR)\src\makelib.b32 diff --git a/contrib/src/xrc/makefile.g95 b/contrib/src/xrc/makefile.g95 index 8a4bfb322f..00b31580dc 100644 --- a/contrib/src/xrc/makefile.g95 +++ b/contrib/src/xrc/makefile.g95 @@ -28,7 +28,7 @@ OBJECTS= $(XMLPARSEDIR_OBJECTS) $(XMLTOKDIR_OBJECTS) \ xh_radbx.o xh_sizer.o xh_slidr.o xh_spin.o xh_stbmp.o xh_sttxt.o \ xh_text.o xh_listb.o xh_toolb.o xh_stlin.o xh_bmp.o xh_unkwn.o \ xh_bmpbt.o xh_cald.o xh_listc.o xh_scrol.o xh_stbox.o xh_tree.o \ - xh_frame.o xh_gdctl.o + xh_frame.o xh_gdctl.o xh_scwin.o include $(WXDIR)/src/makelib.g95 diff --git a/contrib/src/xrc/makefile.vc b/contrib/src/xrc/makefile.vc index 51bf90f9b4..6065d42e49 100644 --- a/contrib/src/xrc/makefile.vc +++ b/contrib/src/xrc/makefile.vc @@ -57,7 +57,7 @@ OBJECTS=$(EXPAT_OBJS) \ $(D)\xh_text.obj $(D)\xh_listb.obj $(D)\xh_toolb.obj \ $(D)\xh_bmpbt.obj $(D)\xh_cald.obj $(D)\xh_listc.obj $(D)\xh_scrol.obj \ $(D)\xh_stbox.obj $(D)\xh_tree.obj $(D)\xh_stlin.obj $(D)\xh_bmp.obj \ - $(D)\xh_unkwn.obj $(D)\xh_gdctl.obj + $(D)\xh_unkwn.obj $(D)\xh_gdctl.obj $(D)\xh_scwin.obj !include $(WXDIR)\src\makelib.vc diff --git a/contrib/src/xrc/makefile.wat b/contrib/src/xrc/makefile.wat index 43cfc46647..d4069fc0f6 100644 --- a/contrib/src/xrc/makefile.wat +++ b/contrib/src/xrc/makefile.wat @@ -18,7 +18,7 @@ OBJECTS=xml.obj xmlres.obj xmlrsall.obj & xh_radbx.obj xh_sizer.obj xh_slidr.obj xh_spin.obj xh_stbmp.obj xh_sttxt.obj & xh_text.obj xh_listb.obj xh_toolb.obj xh_stlin.obj xh_bmp.obj & xh_bmpbt.obj xh_cald.obj xh_listc.obj xh_scrol.obj xh_stbox.obj & - xh_tree.obj xh_unkwn.obj xh_frame.obj + xh_tree.obj xh_unkwn.obj xh_frame.obj xh_scwin.obj all: $(WXXMLLIB) diff --git a/contrib/src/xrc/xh_dlg.cpp b/contrib/src/xrc/xh_dlg.cpp index d44ad16a91..3c916a9e1d 100644 --- a/contrib/src/xrc/xh_dlg.cpp +++ b/contrib/src/xrc/xh_dlg.cpp @@ -41,6 +41,8 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxTAB_TRAVERSAL); XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY); XRC_ADD_STYLE(wxCLIP_CHILDREN); + XRC_ADD_STYLE(wxMAXIMIZE_BOX); + XRC_ADD_STYLE(wxMINIMIZE_BOX); AddWindowStyles(); } diff --git a/contrib/src/xrc/xh_scwin.cpp b/contrib/src/xrc/xh_scwin.cpp new file mode 100644 index 0000000000..9aedfefe57 --- /dev/null +++ b/contrib/src/xrc/xh_scwin.cpp @@ -0,0 +1,52 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: xh_scwin.cpp +// Purpose: XRC resource for wxScrolledWindow +// Author: Vaclav Slavik +// Created: 2002/10/18 +// RCS-ID: $Id$ +// Copyright: (c) 2002 Vaclav Slavik +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifdef __GNUG__ +#pragma implementation "xh_scwin.h" +#endif + +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#include "wx/xrc/xh_scwin.h" +#include "wx/scrolwin.h" + + +wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler() +: wxXmlResourceHandler() +{ + XRC_ADD_STYLE(wxHSCROLL); + XRC_ADD_STYLE(wxVSCROLL); + AddWindowStyles(); +} + +wxObject *wxScrolledWindowXmlHandler::DoCreateResource() +{ + XRC_MAKE_INSTANCE(control, wxScrolledWindow) + + control->Create(m_parentAsWindow, + GetID(), + GetPosition(), GetSize(), + GetStyle(wxT("style"), wxHSCROLL | wxVSCROLL), + GetName()); + + SetupWindow(control); + + return control; +} + +bool wxScrolledWindowXmlHandler::CanHandle(wxXmlNode *node) +{ + return IsOfClass(node, wxT("wxScrolledWindow")); +} diff --git a/contrib/src/xrc/xmlres.cpp b/contrib/src/xrc/xmlres.cpp index 0a1b72cd3a..859a9eaa10 100644 --- a/contrib/src/xrc/xmlres.cpp +++ b/contrib/src/xrc/xmlres.cpp @@ -146,7 +146,6 @@ void wxXmlResource::ClearHandlers() } - wxMenu *wxXmlResource::LoadMenu(const wxString& name) { return (wxMenu*)CreateResFromNode(FindResource(name, wxT("wxMenu")), NULL, NULL); @@ -261,7 +260,7 @@ static void ProcessPlatformProperty(wxXmlNode *node) isok = TRUE; else { - wxStringTokenizer tkn(s, " |"); + wxStringTokenizer tkn(s, wxT(" |")); while (tkn.HasMoreTokens()) { @@ -408,10 +407,25 @@ wxXmlNode *wxXmlResource::DoFindResource(wxXmlNode *parent, if ( node->GetType() == wxXML_ELEMENT_NODE && (node->GetName() == wxT("object") || node->GetName() == wxT("object_ref")) && - (!classname || - node->GetPropVal(wxT("class"), wxEmptyString) == classname) && - node->GetPropVal(wxT("name"), &dummy) && dummy == name ) - return node; + node->GetPropVal(wxT("name"), &dummy) && dummy == name ) + { + wxString cls(node->GetPropVal(wxT("class"), wxEmptyString)); + if (!classname || cls == classname) + return node; + // object_ref may not have 'class' property: + if (cls.empty() && node->GetName() == wxT("object_ref")) + { + wxString refName = node->GetPropVal(wxT("ref"), wxEmptyString); + if (refName.empty()) + continue; + wxXmlNode* refNode = FindResource(refName, wxEmptyString, TRUE); + if (refNode && + refNode->GetPropVal(wxT("class"), wxEmptyString) == classname) + { + return node; + } + } + } } if ( recursive ) @@ -487,7 +501,7 @@ static void MergeNodes(wxXmlNode& dest, wxXmlNode& with) for (dnode = dest.GetChildren(); dnode; dnode = dnode->GetNext() ) { if ( dnode->GetName() == node->GetName() && - dnode->GetPropVal("name", wxEmptyString) == name && + dnode->GetPropVal(wxT("name"), wxEmptyString) == name && dnode->GetType() == node->GetType() ) { MergeNodes(*dnode, *node); @@ -547,6 +561,40 @@ wxObject *wxXmlResource::CreateResFromNode(wxXmlNode *node, wxObject *parent, wx } +#include "wx/listimpl.cpp" +WX_DECLARE_LIST(wxXmlSubclassFactory, wxXmlSubclassFactoriesList); +WX_DEFINE_LIST(wxXmlSubclassFactoriesList); + +wxXmlSubclassFactoriesList *wxXmlResource::ms_subclassFactories = NULL; + +/*static*/ void wxXmlResource::AddSubclassFactory(wxXmlSubclassFactory *factory) +{ + if (!ms_subclassFactories) + { + ms_subclassFactories = new wxXmlSubclassFactoriesList; + ms_subclassFactories->DeleteContents(TRUE); + } + ms_subclassFactories->Append(factory); +} + +class wxXmlSubclassFactoryCXX : public wxXmlSubclassFactory +{ +public: + ~wxXmlSubclassFactoryCXX() {} + + wxObject *Create(const wxString& className) + { + wxClassInfo* classInfo = wxClassInfo::FindClass(className); + + if (classInfo) + return classInfo->CreateObject(); + else + return NULL; + } +}; + + + wxXmlResourceHandler::wxXmlResourceHandler() @@ -568,18 +616,23 @@ wxObject *wxXmlResourceHandler::CreateResource(wxXmlNode *node, wxObject *parent !(m_resource->GetFlags() & wxXRC_NO_SUBCLASSING)) { wxString subclass = node->GetPropVal(wxT("subclass"), wxEmptyString); - wxClassInfo* classInfo = wxClassInfo::FindClass(subclass); - - if (classInfo) - m_instance = classInfo->CreateObject(); - - if (!m_instance) + if (!subclass.empty()) { - wxLogError(_("Subclass '%s' not found for resource '%s', not subclassing!"), - subclass.c_str(), node->GetPropVal(wxT("name"), wxEmptyString).c_str()); - } + for (wxXmlSubclassFactoriesList::Node *i = wxXmlResource::ms_subclassFactories->GetFirst(); + i; i = i->GetNext()) + { + m_instance = i->GetData()->Create(subclass); + if (m_instance) + break; + } - m_instance = classInfo->CreateObject(); + if (!m_instance) + { + wxString name = node->GetPropVal(wxT("name"), wxEmptyString); + wxLogError(_("Subclass '%s' not found for resource '%s', not subclassing!"), + subclass.c_str(), name.c_str()); + } + } } m_node = node; @@ -634,7 +687,7 @@ int wxXmlResourceHandler::GetStyle(const wxString& param, int defaults) if (!s) return defaults; - wxStringTokenizer tkn(s, wxT("| "), wxTOKEN_STRTOK); + wxStringTokenizer tkn(s, wxT("| \t\n"), wxTOKEN_STRTOK); int style = 0; int index; wxString fl; @@ -733,6 +786,7 @@ int wxXmlResourceHandler::GetID() stdID(wxID_STATIC); stdID(wxID_FORWARD); stdID(wxID_BACKWARD); stdID(wxID_DEFAULT); stdID(wxID_MORE); stdID(wxID_SETUP); stdID(wxID_RESET); stdID(wxID_HELP_CONTEXT); + stdID(wxID_CLOSE_ALL); #undef stdID else return wxXmlResource::GetXRCID(sid); } @@ -845,6 +899,8 @@ wxIcon wxXmlResourceHandler::GetIcon(const wxString& param, wxXmlNode *wxXmlResourceHandler::GetParamNode(const wxString& param) { + wxCHECK_MSG(m_node, NULL, wxT("You can't access handler data before it was initialized!")); + wxXmlNode *n = m_node->GetChildren(); while (n) @@ -1166,11 +1222,13 @@ public: wxXmlResourceModule() {} bool OnInit() { + wxXmlResource::AddSubclassFactory(new wxXmlSubclassFactoryCXX); return TRUE; } void OnExit() { delete wxXmlResource::Set(NULL); + wxDELETE(wxXmlResource::ms_subclassFactories); CleanXRCID_Records(); } }; diff --git a/contrib/src/xrc/xmlrsall.cpp b/contrib/src/xrc/xmlrsall.cpp index b55badc9f9..5d933f9490 100644 --- a/contrib/src/xrc/xmlrsall.cpp +++ b/contrib/src/xrc/xmlrsall.cpp @@ -94,4 +94,5 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxGenericDirCtrlXmlHandler); #endif AddHandler(new wxFrameXmlHandler); + AddHandler(new wxScrolledWindowXmlHandler); } diff --git a/contrib/utils/convertrc/ConvertVC.dsp b/contrib/utils/convertrc/ConvertVC.dsp index 31de3d7b5e..97c2c7f155 100644 --- a/contrib/utils/convertrc/ConvertVC.dsp +++ b/contrib/utils/convertrc/ConvertVC.dsp @@ -110,7 +110,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxconvert.exe" /pdbtype:sept /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxconvert.exe" /pdbtype:sept /libpath:"..\..\..\lib" !ELSEIF "$(CFG)" == "ConvertVC - Win32 Release DLL" @@ -137,7 +137,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxconvert.exe" /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxconvert.exe" /libpath:"..\..\..\lib" !ENDIF diff --git a/contrib/utils/convertrc/rc2xml.h b/contrib/utils/convertrc/rc2xml.h index 184a8dadfb..9f1c18b29e 100644 --- a/contrib/utils/convertrc/rc2xml.h +++ b/contrib/utils/convertrc/rc2xml.h @@ -92,4 +92,4 @@ protected: }; -#endif \ No newline at end of file +#endif diff --git a/contrib/utils/wxrc/Makefile.in b/contrib/utils/wxrc/Makefile.in index 9685e6f172..b20802bbb0 100644 --- a/contrib/utils/wxrc/Makefile.in +++ b/contrib/utils/wxrc/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=wxrc OBJECTS=wxrc.o -APPEXTRALIBS=$(top_builddir)/lib/libwxxrc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/utils/wxrc/wxRcVC.dsp b/contrib/utils/wxrc/wxRcVC.dsp index 24ae29e1e7..4d62151234 100644 --- a/contrib/utils/wxrc/wxRcVC.dsp +++ b/contrib/utils/wxrc/wxRcVC.dsp @@ -110,7 +110,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib" !ELSEIF "$(CFG)" == "wxRcVC - Win32 Release DLL" @@ -137,7 +137,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrc.exe" /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrc.exe" /libpath:"..\..\..\lib" !ENDIF diff --git a/contrib/utils/wxrc/wxrc.cpp b/contrib/utils/wxrc/wxrc.cpp index 23b27952a7..ff536b0ef8 100644 --- a/contrib/utils/wxrc/wxrc.cpp +++ b/contrib/utils/wxrc/wxrc.cpp @@ -84,18 +84,18 @@ int XmlResApp::OnRun() { static const wxCmdLineEntryDesc cmdLineDesc[] = { - { wxCMD_LINE_SWITCH, "h", "help", "show help message", + { wxCMD_LINE_SWITCH, _T("h"), _T("help"), _T("show help message"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP }, - { wxCMD_LINE_SWITCH, "v", "verbose", "be verbose" }, - { wxCMD_LINE_SWITCH, "c", "cpp-code", "output C++ source rather than .rsc file" }, - { wxCMD_LINE_SWITCH, "p", "python-code", "output wxPython source rather than .rsc file" }, - { wxCMD_LINE_SWITCH, "g", "gettext", "output list of translatable strings (to stdout or file if -o used)" }, - { wxCMD_LINE_OPTION, "n", "function", "C++/Python function name (with -c or -p) [InitXmlResource]" }, - { wxCMD_LINE_OPTION, "o", "output", "output file [resource.xrs/cpp]" }, + { wxCMD_LINE_SWITCH, _T("v"), _T("verbose"), _T("be verbose") }, + { wxCMD_LINE_SWITCH, _T("c"), _T("cpp-code"), _T("output C++ source rather than .rsc file") }, + { wxCMD_LINE_SWITCH, _T("p"), _T("python-code"), _T("output wxPython source rather than .rsc file") }, + { wxCMD_LINE_SWITCH, _T("g"), _T("gettext"), _T("output list of translatable strings (to stdout or file if -o used)") }, + { wxCMD_LINE_OPTION, _T("n"), _T("function"), _T("C++/Python function name (with -c or -p) [InitXmlResource]") }, + { wxCMD_LINE_OPTION, _T("o"), _T("output"), _T("output file [resource.xrs/cpp]") }, #if 0 // not yet implemented - { wxCMD_LINE_OPTION, "l", "list-of-handlers", "output list of neccessary handlers to this file" }, + { wxCMD_LINE_OPTION, _T("l"), _T("list-of-handlers", _T("output list of neccessary handlers to this file" }, #endif - { wxCMD_LINE_PARAM, NULL, NULL, "input file(s)", + { wxCMD_LINE_PARAM, NULL, NULL, _T("input file(s)"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE | wxCMD_LINE_OPTION_MANDATORY }, @@ -139,30 +139,30 @@ int XmlResApp::OnRun() void XmlResApp::ParseParams(const wxCmdLineParser& cmdline) { - flagGettext = cmdline.Found("g"); - flagVerbose = cmdline.Found("v"); - flagCPP = cmdline.Found("c"); - flagPython = cmdline.Found("p"); + flagGettext = cmdline.Found(_T("g")); + flagVerbose = cmdline.Found(_T("v")); + flagCPP = cmdline.Found(_T("c")); + flagPython = cmdline.Found(_T("p")); - if (!cmdline.Found("o", &parOutput)) + if (!cmdline.Found(_T("o"), &parOutput)) { if (flagGettext) parOutput = wxEmptyString; else { if (flagCPP) - parOutput = "resource.cpp"; + parOutput = _T("resource.cpp"); else if (flagPython) - parOutput = "resource.py"; + parOutput = _T("resource.py"); else - parOutput = "resource.xrs"; + parOutput = _T("resource.xrs"); } } parOutputPath = wxPathOnly(parOutput); - if (!parOutputPath) parOutputPath = "."; + if (!parOutputPath) parOutputPath = _T("."); - if (!cmdline.Found("n", &parFuncname)) - parFuncname = "InitXmlResource"; + if (!cmdline.Found(_T("n"), &parFuncname)) + parFuncname = _T("InitXmlResource"); for (size_t i = 0; i < cmdline.GetParamCount(); i++) parFiles.Add(cmdline.GetParam(i)); @@ -194,19 +194,19 @@ void XmlResApp::CompileRes() wxString XmlResApp::GetInternalFileName(const wxString& name, const wxArrayString& flist) { wxString name2 = name; - name2.Replace(":", "_"); - name2.Replace("/", "_"); - name2.Replace("\\", "_"); - name2.Replace("*", "_"); - name2.Replace("?", "_"); + name2.Replace(_T(":"), _T("_")); + name2.Replace(_T("/"), _T("_")); + name2.Replace(_T("\\"), _T("_")); + name2.Replace(_T("*"), _T("_")); + name2.Replace(_T("?"), _T("_")); - wxString s = wxFileNameFromPath(parOutput) + "$" + name2; + wxString s = wxFileNameFromPath(parOutput) + _T("$") + name2; if (wxFileExists(s) && flist.Index(s) == wxNOT_FOUND) { for (int i = 0;; i++) { - s.Printf(wxFileNameFromPath(parOutput) + "$%03i-" + name2, i); + s.Printf(wxFileNameFromPath(parOutput) + _T("$%03i-") + name2, i); if (!wxFileExists(s) || flist.Index(s) != wxNOT_FOUND) break; } @@ -221,13 +221,13 @@ wxArrayString XmlResApp::PrepareTempFiles() for (size_t i = 0; i < parFiles.Count(); i++) { if (flagVerbose) - wxPrintf("processing " + parFiles[i] + "...\n"); + wxPrintf(_T("processing ") + parFiles[i] + _T("...\n")); wxXmlDocument doc; if (!doc.Load(parFiles[i])) { - wxLogError("Error parsing file " + parFiles[i]); + wxLogError(_T("Error parsing file ") + parFiles[i]); retCode = 1; continue; } @@ -239,7 +239,7 @@ wxArrayString XmlResApp::PrepareTempFiles() wxString internalName = GetInternalFileName(parFiles[i], flist); - doc.Save(parOutputPath + "/" + internalName); + doc.Save(parOutputPath + _T("/") + internalName); flist.Add(internalName); } @@ -251,42 +251,55 @@ wxArrayString XmlResApp::PrepareTempFiles() // find all files mentioned in structure, e.g. filename void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxString& inputPath) { - wxXmlNode *n = node; - if (n == NULL) return; - n = n->GetChildren(); - + // Is 'node' XML node element? + if (node == NULL) return; + if (node->GetType() != wxXML_ELEMENT_NODE) return; + + // Does 'node' contain filename information at all? + bool containsFilename = ( + // Any bitmaps: + (node->GetName() == _T("bitmap")) || + // URLs in wxHtmlWindow: + (node->GetName() == _T("url")) || + // wxBitmapButton: + (node->GetParent() != NULL && + node->GetParent()->GetPropVal(_T("class"), _T("")) == _T("wxBitmapButton") && + (node->GetName() == _T("focus") || + node->GetName() == _T("disabled") || + node->GetName() == _T("selected"))) + ); + + wxXmlNode *n = node->GetChildren(); while (n) { - if ((node->GetType() == wxXML_ELEMENT_NODE) && - // parent is an element, i.e. has subnodes... + if (containsFilename && (n->GetType() == wxXML_TEXT_NODE || - n->GetType() == wxXML_CDATA_SECTION_NODE) && - // ...it is textnode... - ((node/*not n!*/->GetName() == "bitmap") || - (node/*not n!*/->GetName() == "url"))) - // ...and known to contain filename + n->GetType() == wxXML_CDATA_SECTION_NODE)) { wxString fullname; - if (wxIsAbsolutePath(n->GetContent()) || inputPath == "") fullname = n->GetContent(); - else fullname = inputPath + "/" + n->GetContent(); + if (wxIsAbsolutePath(n->GetContent()) || inputPath.empty()) + fullname = n->GetContent(); + else + fullname = inputPath + _T("/") + n->GetContent(); if (flagVerbose) - wxPrintf("adding " + fullname + "...\n"); - + wxPrintf(_T("adding ") + fullname + _T("...\n")); + wxString filename = GetInternalFileName(n->GetContent(), flist); n->SetContent(filename); - flist.Add(filename); + if (flist.Index(filename) == wxNOT_FOUND) + flist.Add(filename); wxFileInputStream sin(fullname); - wxFileOutputStream sout(parOutputPath + "/" + filename); + wxFileOutputStream sout(parOutputPath + _T("/") + filename); sin.Read(sout); // copy the stream } - + // subnodes: if (n->GetType() == wxXML_ELEMENT_NODE) FindFilesInXML(n, flist, inputPath); - + n = n->GetNext(); } } @@ -296,7 +309,7 @@ void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxSt void XmlResApp::DeleteTempFiles(const wxArrayString& flist) { for (size_t i = 0; i < flist.Count(); i++) - wxRemoveFile(parOutputPath + "/" + flist[i]); + wxRemoveFile(parOutputPath + _T("/") + flist[i]); } @@ -306,17 +319,17 @@ void XmlResApp::MakePackageZIP(const wxArrayString& flist) wxString files; for (size_t i = 0; i < flist.Count(); i++) - files += flist[i] + " "; + files += flist[i] + _T(" "); files.RemoveLast(); if (flagVerbose) - wxPrintf("compressing " + parOutput + "...\n"); + wxPrintf(_T("compressing ") + parOutput + _T("...\n")); - if (wxExecute("zip -9 -j " + wxString(flagVerbose ? "" : "-q ") + - parOutput + " " + files, TRUE) == -1) + if (wxExecute(_T("zip -9 -j ") + wxString(flagVerbose ? _T("") : _T("-q ")) + + parOutput + _T(" ") + files, TRUE) == -1) { - wxLogError("Unable to execute zip program. Make sure it is in the path."); - wxLogError("You can download it at http://www.cdrom.com/pub/infozip/"); + wxLogError(_T("Unable to execute zip program. Make sure it is in the path.")); + wxLogError(_T("You can download it at http://www.cdrom.com/pub/infozip/")); retCode = 1; return; } @@ -333,9 +346,9 @@ static wxString FileToCppArray(wxString filename, int num) wxFFile file(filename, "rb"); size_t lng = file.Length(); - snum.Printf("%i", num); - output.Printf("static size_t xml_res_size_" + snum + " = %i;\n", lng); - output += "static unsigned char xml_res_file_" + snum + "[] = {\n"; + snum.Printf(_T("%i"), num); + output.Printf(_T("static size_t xml_res_size_") + snum + _T(" = %i;\n"), lng); + output += _T("static unsigned char xml_res_file_") + snum + _T("[] = {\n"); // we cannot use string literals because MSVC is dumb wannabe compiler // with arbitrary limitation to 2048 strings :( @@ -344,12 +357,12 @@ static wxString FileToCppArray(wxString filename, int num) for (size_t i = 0, linelng = 0; i < lng; i++) { - tmp.Printf("%i", buffer[i]); - if (i != 0) output << ','; + tmp.Printf(_T("%i"), buffer[i]); + if (i != 0) output << _T(','); if (linelng > 70) { linelng = 0; - output << "\n"; + output << _T("\n"); } output << tmp; linelng += tmp.Length()+1; @@ -357,7 +370,7 @@ static wxString FileToCppArray(wxString filename, int num) delete[] buffer; - output += "};\n\n"; + output += _T("};\n\n"); return output; } @@ -369,61 +382,61 @@ void XmlResApp::MakePackageCPP(const wxArrayString& flist) size_t i; if (flagVerbose) - wxPrintf("creating C++ source file " + parOutput + "...\n"); + wxPrintf(_T("creating C++ source file ") + parOutput + _T("...\n")); - file.Write("\ -//\n\ -// This file was automatically generated by wxrc, do not edit by hand.\n\ -//\n\n\ -#include \n\ -\n\ -#ifdef __BORLANDC__\n\ - #pragma hdrstop\n\ -#endif\n\ -\n\ -#ifndef WX_PRECOMP\n\ - #include \n\ -#endif\n\ -\ -#include \n\ -#include \n\ -#include \n\ -#include \n\ -\n"); + file.Write(_T("") +_T("//\n") +_T("// This file was automatically generated by wxrc, do not edit by hand.\n") +_T("//\n\n") +_T("#include \n") +_T("\n") +_T("#ifdef __BORLANDC__\n") +_T(" #pragma hdrstop\n") +_T("#endif\n") +_T("\n") +_T("#ifndef WX_PRECOMP\n") +_T(" #include \n") +_T("#endif\n") +_T("") +_T("#include \n") +_T("#include \n") +_T("#include \n") +_T("#include \n") +_T("\n")); for (i = 0; i < flist.Count(); i++) file.Write(FileToCppArray(flist[i], i)); - file.Write("\ -void " + parFuncname + "()\n\ -{\n\ -\n\ - // Check for memory FS. If not present, load the handler:\n\ - {\n\ - wxMemoryFSHandler::AddFile(\"XRC_resource/dummy_file\", \"dummy one\");\n\ - wxFileSystem fsys;\n\ - wxFSFile *f = fsys.OpenFile(\"memory:XRC_resource/dummy_file\");\n\ - wxMemoryFSHandler::RemoveFile(\"XRC_resource/dummy_file\");\n\ - if (f) delete f;\n\ - else wxFileSystem::AddHandler(new wxMemoryFSHandler);\n\ - }\n\ -\n"); + file.Write(_T("") +_T("void " + parFuncname + "()\n") +_T("{\n") +_T("\n") +_T(" // Check for memory FS. If not present, load the handler:\n") +_T(" {\n") +_T(" wxMemoryFSHandler::AddFile(\"XRC_resource/dummy_file\", \"dummy one\");\n") +_T(" wxFileSystem fsys;\n") +_T(" wxFSFile *f = fsys.OpenFile(\"memory:XRC_resource/dummy_file\");\n") +_T(" wxMemoryFSHandler::RemoveFile(\"XRC_resource/dummy_file\");\n") +_T(" if (f) delete f;\n") +_T(" else wxFileSystem::AddHandler(new wxMemoryFSHandler);\n") +_T(" }\n") +_T("\n")); for (i = 0; i < flist.Count(); i++) { wxString s; - s.Printf(" wxMemoryFSHandler::AddFile(\"XRC_resource/" + flist[i] + - "\", xml_res_file_%i, xml_res_size_%i);\n", i, i); + s.Printf(_T(" wxMemoryFSHandler::AddFile(\"XRC_resource/") + flist[i] + + _T("\", xml_res_file_%i, xml_res_size_%i);\n"), i, i); file.Write(s); } for (i = 0; i < parFiles.Count(); i++) { - file.Write(" wxXmlResource::Get()->Load(\"memory:XRC_resource/" + - GetInternalFileName(parFiles[i], flist) + "\");\n"); + file.Write(_T(" wxXmlResource::Get()->Load(\"memory:XRC_resource/") + + GetInternalFileName(parFiles[i], flist) + _T("\");\n")); } - file.Write("}\n"); + file.Write(_T("}\n")); } @@ -436,8 +449,8 @@ static wxString FileToPythonArray(wxString filename, int num) wxFFile file(filename, "rb"); size_t lng = file.Length(); - snum.Printf("%i", num); - output = " xml_res_file_" + snum + " = \"\"\"\\\n"; + snum.Printf(_T("%i"), num); + output = _T(" xml_res_file_") + snum + _T(" = \"\"\"\\\n"); unsigned char *buffer = new unsigned char[lng]; file.Read(buffer, lng); @@ -451,15 +464,15 @@ static wxString FileToPythonArray(wxString filename, int num) linelng = 0; } else if (c < 32 || c > 127) - tmp.Printf("\\x%02x", c); + tmp.Printf(_T("\\x%02x"), c); else if (c == '\\') - tmp = "\\\\"; + tmp = _T("\\\\"); else tmp = (wxChar)c; if (linelng > 70) { linelng = 0; - output << "\\\n"; + output << _T("\\\n"); } output << tmp; linelng += tmp.Length(); @@ -467,7 +480,7 @@ static wxString FileToPythonArray(wxString filename, int num) delete[] buffer; - output += "\"\"\"\n\n"; + output += _T("\"\"\"\n\n"); return output; } @@ -479,18 +492,18 @@ void XmlResApp::MakePackagePython(const wxArrayString& flist) size_t i; if (flagVerbose) - wxPrintf("creating Python source file " + parOutput + "...\n"); + wxPrintf(_T("creating Python source file ") + parOutput + _T("...\n")); file.Write( - "#\n" - "# This file was automatically generated by wxrc, do not edit by hand.\n" - "#\n\n" - "from wxPython.wx import *\n" - "from wxPython.xrc import *\n\n" + _T("#\n") + _T("# This file was automatically generated by wxrc, do not edit by hand.\n") + _T("#\n\n") + _T("from wxPython.wx import *\n") + _T("from wxPython.xrc import *\n\n") ); - file.Write("def " + parFuncname + "():\n"); + file.Write(_T("def ") + parFuncname + _T("():\n")); for (i = 0; i < flist.Count(); i++) file.Write(FileToPythonArray(flist[i], i)); @@ -498,7 +511,7 @@ void XmlResApp::MakePackagePython(const wxArrayString& flist) for (i = 0; i < flist.Count(); i++) { wxString s; - s.Printf(" wxXmlResource_Get().LoadFromString(xml_res_file_%i)\n", i); + s.Printf(_T(" wxXmlResource_Get().LoadFromString(xml_res_file_%i)\n"), i); file.Write(s); } } @@ -511,7 +524,7 @@ void XmlResApp::OutputGettext() wxFFile fout; if (!parOutput) fout.Attach(stdout); - else fout.Open(parOutput, _T("wt")); + else fout.Open(parOutput, "wt"); for (size_t i = 0; i < str.GetCount(); i++) fout.Write(_T("_(\"") + str[i] + _T("\");\n")); @@ -528,12 +541,12 @@ wxArrayString XmlResApp::FindStrings() for (size_t i = 0; i < parFiles.Count(); i++) { if (flagVerbose) - wxPrintf("processing " + parFiles[i] + "...\n"); + wxPrintf(_T("processing ") + parFiles[i] + _T("...\n")); wxXmlDocument doc; if (!doc.Load(parFiles[i])) { - wxLogError("Error parsing file " + parFiles[i]); + wxLogError(_T("Error parsing file ") + parFiles[i]); retCode = 1; continue; } @@ -567,7 +580,13 @@ static wxString ConvertText(const wxString& str) case wxT('\n') : str2 << wxT("\\n"); break; case wxT('\t') : str2 << wxT("\\t"); break; case wxT('\r') : str2 << wxT("\\r"); break; - case wxT('\\') : str2 << wxT("\\\\"); break; + case wxT('\\') : if ((*(dt+1) != 'n') && + (*(dt+1) != 't') && + (*(dt+1) != 'r')) + str2 << wxT("\\\\"); + else + str2 << wxT("\\"); + break; case wxT('"') : str2 << wxT("\\\""); break; default : str2 << *dt; break; } diff --git a/contrib/utils/wxrcedit/Makefile.in b/contrib/utils/wxrcedit/Makefile.in index 8f84122ee3..7fef156197 100644 --- a/contrib/utils/wxrcedit/Makefile.in +++ b/contrib/utils/wxrcedit/Makefile.in @@ -25,7 +25,7 @@ DATAFILES = df/break.df df/control.df df/menu_item.df df/notebookpage.df \ df/wxStaticLine.df df/wxStaticText.df df/wxTextCtrl.df \ df/wxToolBar.df df/wxTreeCtrl.df -APPEXTRALIBS=$(top_builddir)/lib/libwxxrc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/contrib/utils/wxrcedit/editor.cpp b/contrib/utils/wxrcedit/editor.cpp index affbc9e01b..a84cc5f336 100644 --- a/contrib/utils/wxrcedit/editor.cpp +++ b/contrib/utils/wxrcedit/editor.cpp @@ -494,8 +494,7 @@ void EditorFrame::OnTreeSel(wxTreeEvent& event) } RecursivelyExpand(m_TreeCtrl, event.GetItem()); - PreviewFrame::Get()->Preview(node,m_Resource->GetRoot()->GetPropVal( - wxT("version"), wxT("0.0.0.0"))); + PreviewFrame::Get()->Preview(node,m_Resource); } } @@ -509,8 +508,7 @@ void EditorFrame::OnToolbar(wxCommandEvent& event) { XmlTreeData* dt = (XmlTreeData*)m_TreeCtrl->GetItemData(m_TreeCtrl->GetSelection());; if (dt != NULL && dt->Node != NULL) - PreviewFrame::Get()->Preview(dt->Node,m_Resource->GetRoot()->GetPropVal( - wxT("version"), wxT("0.0.0.0"))); + PreviewFrame::Get()->Preview(dt->Node, m_Resource); break; } diff --git a/contrib/utils/wxrcedit/preview.cpp b/contrib/utils/wxrcedit/preview.cpp index ddf3be2b61..a7ffa2eacd 100644 --- a/contrib/utils/wxrcedit/preview.cpp +++ b/contrib/utils/wxrcedit/preview.cpp @@ -140,8 +140,10 @@ void PreviewFrame::MakeDirty() -void PreviewFrame::Preview(wxXmlNode *node,const wxString &version) +void PreviewFrame::Preview(wxXmlNode *node, wxXmlDocument *orig_doc) { + wxString version = orig_doc->GetRoot()->GetPropVal(wxT("version"), wxT("0.0.0.0")); + while (node->GetParent()->GetParent() != NULL) node = node->GetParent(); { @@ -150,6 +152,7 @@ void PreviewFrame::Preview(wxXmlNode *node,const wxString &version) root->AddProperty(new wxXmlProperty(wxT("version"),version,NULL)); doc.SetRoot(root); doc.GetRoot()->AddChild(new wxXmlNode(*node)); + doc.SetFileEncoding(orig_doc->GetFileEncoding()); if (XmlGetClass(doc.GetRoot()->GetChildren()) == _T("wxDialog")) XmlSetClass(doc.GetRoot()->GetChildren(), _T("wxPanel")); @@ -168,7 +171,7 @@ void PreviewFrame::Preview(wxXmlNode *node,const wxString &version) } m_Node = node; - m_Version = version; + m_Doc = orig_doc; m_LogCtrl->Clear(); wxLogTextCtrl mylog(m_LogCtrl); @@ -237,5 +240,5 @@ END_EVENT_TABLE() void PreviewFrame::OnMouseEnter(wxMouseEvent& event) { - if (m_Dirty) Preview(m_Node,m_Version); + if (m_Dirty) Preview(m_Node,m_Doc); } diff --git a/contrib/utils/wxrcedit/preview.h b/contrib/utils/wxrcedit/preview.h index abacbc1578..50b690a9df 100644 --- a/contrib/utils/wxrcedit/preview.h +++ b/contrib/utils/wxrcedit/preview.h @@ -31,7 +31,7 @@ class PreviewFrame : public wxFrame PreviewFrame(); ~PreviewFrame(); - void Preview(wxXmlNode *node,const wxString &version); + void Preview(wxXmlNode *node,wxXmlDocument *doc); void MakeDirty(); // current node updated, needs preview refresh // (will be done once mouse enters preview win) @@ -47,7 +47,7 @@ class PreviewFrame : public wxFrame private: static PreviewFrame *ms_Instance; wxXmlNode *m_Node; - wxString m_Version; + wxXmlDocument *m_Doc; wxScrolledWindow *m_ScrollWin; wxTextCtrl *m_LogCtrl; wxSplitterWindow *m_Splitter; diff --git a/contrib/utils/wxrcedit/wxRcEditVC.dsp b/contrib/utils/wxrcedit/wxRcEditVC.dsp index eddeaab732..406acc175a 100644 --- a/contrib/utils/wxrcedit/wxRcEditVC.dsp +++ b/contrib/utils/wxrcedit/wxRcEditVC.dsp @@ -110,7 +110,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrcedit.exe" /pdbtype:sept /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrcedit.exe" /pdbtype:sept /libpath:"..\..\..\lib" !ELSEIF "$(CFG)" == "wxRcEditVC - Win32 Release DLL" @@ -137,7 +137,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrcedit.exe" /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrcedit.exe" /libpath:"..\..\..\lib" !ENDIF diff --git a/debian/changelog b/debian/changelog index f50761b210..e966ae0a1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,41 @@ +wxwindows2.3 (2.3.4) unstable; urgency=low + + * 2.4.0pre1 I guess. + * Added -ffunction-sections for broken hppa linker. Closes: #162948 + + -- Ron Lee Mon, 18 Nov 2002 18:54:21 -0800 + +wxwindows2.3 (2.3.3.2) unstable; urgency=low + + * The one more for luck release. + * Debian-wise, it fixes the problem with contrib lib name clashes; + code-wise, lots of little issues (and a couple of big 'uns) from + 2.3.3 -- see the more regular change or cvs logs for details... + * Yes, it's still the unstable branch, yes the request for testing + to see if we can reasonably obsolete 2.2 in post-woody debian + is still current, and yes we're still working toward a stable + 2.4 release as fast as we can. Big thanks to everyone who's + been patient and/or active fixing things. + + -- Ron Lee Thu, 26 Sep 2002 17:43:05 -0700 + +wxwindows2.3 (2.3.3.1) unstable; urgency=low + + * Ok, Robin says wxPython is good to go. + * Since wx2.2 has crashed and burned with the new releases of + python and png, Could package maintainers with packages that + depend on wx please recompile with this package and let me + know if they still need 2.2 in woody? If not I'll have them + removed. There should be a 2.4 release following very soon. + (hah, let's see how the date on that comment testifies!) + * Yes, I know wxpython is missing man pages for some of its + scripts. File a bug if you must, but preferably, if you know + what they do, attach a patch containing one. I don't use them + myself or could even do more than guess what they do today. + Sorry, C++. + + -- Ron Lee Thu, 19 Sep 2002 16:25:12 -0700 + wxwindows2.3 (2.3.3) unstable; urgency=low * The "If it sucks, You whined for it!" release. diff --git a/debian/control.in b/debian/control.in index 3d02a9e5f0..218a57954b 100644 --- a/debian/control.in +++ b/debian/control.in @@ -116,7 +116,7 @@ Description: wxWindows Cross-platform C++ GUI toolkit (GTK+ development) Package: libwxgtk=V-python Architecture: any Section: interpreters -Depends: python (>=2.1), python (<<2.2), ${shlibs:Depends} +Depends: python (>=2.2), python (<<2.3), ${shlibs:Depends} Suggests: wxwin=V-doc, wxwin=V-examples Conflicts: libwxgtk=V-python-contrib, python-wxwin Replaces: libwxgtk=V-python-contrib, python-wxwin diff --git a/debian/libwxgtk-contrib-dev.files b/debian/libwxgtk-contrib-dev.files index c88f73cd31..d569a54361 100644 --- a/debian/libwxgtk-contrib-dev.files +++ b/debian/libwxgtk-contrib-dev.files @@ -1,12 +1,12 @@ usr/include/wx/ -usr/lib/libcanvas.so -usr/lib/libfl.so -usr/lib/libgizmos.so -usr/lib/libmmedia.so -usr/lib/libogl.so -usr/lib/libstc.so -usr/lib/libwx_dcsvg.so -usr/lib/libwx_net.so -usr/lib/libwx_plot.so -usr/lib/libwxxrc.so +usr/lib/libwx_gtk_canvas-*.so +usr/lib/libwx_gtk_dcsvg-*.so +usr/lib/libwx_gtk_fl-*.so +usr/lib/libwx_gtk_gizmos-*.so +usr/lib/libwx_gtk_mmedia-*.so +usr/lib/libwx_gtk_net-*.so +usr/lib/libwx_gtk_ogl-*.so +usr/lib/libwx_gtk_plot-*.so +usr/lib/libwx_gtk_stc-*.so +usr/lib/libwx_gtk_xrc-*.so diff --git a/debian/rules b/debian/rules index 03e582f943..a534bbee40 100755 --- a/debian/rules +++ b/debian/rules @@ -562,7 +562,8 @@ install-gtk-dev: build-gtk-static-stamp install-gtk-lib dh_clean -k dh_installdirs dh_movefiles --sourcedir=debian/$(package_gtk_lib) - cp $(objdir_gtk_static)/lib/libwx_gtk*.a debian/$(package_gtk_dev)/usr/lib + cp $(objdir_gtk_static)/lib/libwx_gtk-*.a debian/$(package_gtk_dev)/usr/lib + cp $(objdir_gtk_static)/lib/libwx_gtk_gl-*.a debian/$(package_gtk_dev)/usr/lib install-gtk-dbg: DH_OPTIONS=-p$(package_gtk_dbg) install-gtk-dbg: build-gtk-debug-stamp @@ -601,7 +602,8 @@ install-gtk-contrib-dev: build-contrib-static-stamp install-gtk-dev dh_installdirs dh_movefiles --sourcedir=debian/$(package_gtk_contrib) cp $(objdir_gtk_static)/lib/*.a debian/$(package_gtk_contrib_dev)/usr/lib - rm -f debian/$(package_gtk_contrib_dev)/usr/lib/libwx_gtk*.a + rm -f debian/$(package_gtk_contrib_dev)/usr/lib/libwx_gtk-*.a + rm -f debian/$(package_gtk_contrib_dev)/usr/lib/libwx_gtk_gl-*.a install-gtk-py: DH_OPTIONS=-p$(package_gtk_py) install-gtk-py: build-gtk-py-stamp diff --git a/demos/bombs/bombs.dsp b/demos/bombs/bombs.dsp index 6982b81d40..26661ced69 100644 --- a/demos/bombs/bombs.dsp +++ b/demos/bombs/bombs.dsp @@ -45,17 +45,17 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdll /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "bombs - Win32 Debug DLL" @@ -71,17 +71,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdlld /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "bombs - Win32 Release" @@ -97,17 +97,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I..\..\lib\msw /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlib.lib ../..\lib\regex.lib ../..\lib\png.lib ../..\lib\jpeg.lib ../..\lib\tiff.lib ../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "bombs - Win32 Debug" @@ -123,17 +123,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I..\..\lib\mswd /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlibd.lib ../..\lib\regexd.lib ../..\lib\pngd.lib ../..\lib\jpegd.lib ../..\lib\tiffd.lib ../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ENDIF @@ -151,8 +151,7 @@ SOURCE=.\bombs.cpp SOURCE=.\bombs.rc # ADD BASE RSC /l 0x809 -# ADD RSC /l 0x809 /i "../../include" -# SUBTRACT RSC /i "../../../include" +# ADD RSC /l 0x809 /i "..\..\include" # End Source File # Begin Source File diff --git a/demos/dbbrowse/dbbrowse.dsp b/demos/dbbrowse/dbbrowse.dsp index af2e12d045..859bf92c6a 100644 --- a/demos/dbbrowse/dbbrowse.dsp +++ b/demos/dbbrowse/dbbrowse.dsp @@ -45,17 +45,17 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdll /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /i "../../lib/mswdll" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /i "..\..\lib/mswdll" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "dbbrowse - Win32 Debug DLL" @@ -71,17 +71,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdlld /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /i "../../lib/mswdlld" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /i "..\..\lib/mswdlld" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "dbbrowse - Win32 Release" @@ -97,17 +97,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I..\..\lib\msw /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /i "../../lib/msw" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /i "..\..\lib/msw" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\zlib.lib ../../..\lib\regex.lib ../../..\lib\png.lib ../..\lib\jpeg.lib ../..\lib\tiff.lib ../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "dbbrowse - Win32 Debug" @@ -123,17 +123,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I..\..\lib\mswd /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /i "../../lib/mswd" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /i "..\..\lib/mswd" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlibd.lib ../..\lib\regexd.lib ../..\lib\pngd.lib ../..\lib\jpegd.lib ../..\lib\tiffd.lib ../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ENDIF @@ -155,8 +155,7 @@ SOURCE=.\dbbrowse.cpp SOURCE=.\dbbrowse.rc # ADD BASE RSC /l 0x809 -# ADD RSC /l 0x809 /i "../../include" -# SUBTRACT RSC /i "../../../include" +# ADD RSC /l 0x809 /i "..\..\include" # End Source File # Begin Source File diff --git a/demos/forty/forty.dsp b/demos/forty/forty.dsp index 83bb08020d..d4713fa117 100644 --- a/demos/forty/forty.dsp +++ b/demos/forty/forty.dsp @@ -45,17 +45,17 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdll /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "../../include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "../../include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "forty - Win32 Debug DLL" @@ -71,17 +71,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdlld /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "../../include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "../../include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "forty - Win32 Release" @@ -97,17 +97,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I..\..\lib\msw /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "../../include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "../../include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlib.lib ../..\lib\regex.lib ../..\lib\png.lib ../..\lib\jpeg.lib ../..\lib\tiff.lib ../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "forty - Win32 Debug" @@ -123,17 +123,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I..\..\lib\mswd /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "../../include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "../../include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlibd.lib ../..\lib\regexd.lib ../..\lib\pngd.lib ../..\lib\jpegd.lib ../..\lib\tiffd.lib ../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ENDIF @@ -160,7 +160,6 @@ SOURCE=.\forty.cpp SOURCE=.\forty.rc # ADD BASE RSC /l 0x809 # ADD RSC /l 0x809 /i "../../include" -# SUBTRACT RSC /i "../../../include" # End Source File # Begin Source File diff --git a/demos/fractal/fractal.dsp b/demos/fractal/fractal.dsp index b2ab319f57..14057516dc 100644 --- a/demos/fractal/fractal.dsp +++ b/demos/fractal/fractal.dsp @@ -45,17 +45,17 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdll /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "fractal - Win32 Debug DLL" @@ -71,17 +71,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdlld /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "fractal - Win32 Release" @@ -97,17 +97,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I..\..\lib\msw /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlib.lib ../..\lib\regex.lib ../..\lib\png.lib ../..\lib\jpeg.lib ../..\lib\tiff.lib ../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "fractal - Win32 Debug" @@ -123,17 +123,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I..\..\lib\mswd /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlibd.lib ../..\lib\regexd.lib ../..\lib\pngd.lib ../..\lib\jpegd.lib ../..\lib\tiffd.lib ../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ENDIF @@ -151,8 +151,7 @@ SOURCE=.\fractal.cpp SOURCE=.\fractal.rc # ADD BASE RSC /l 0x809 -# ADD RSC /l 0x809 /i "../../include" -# SUBTRACT RSC /i "../../../include" +# ADD RSC /l 0x809 /i "..\..\include" # End Source File # End Target # End Project diff --git a/demos/life/life.dsp b/demos/life/life.dsp index e711056638..5a18ee0dd9 100644 --- a/demos/life/life.dsp +++ b/demos/life/life.dsp @@ -45,17 +45,17 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdll /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "life - Win32 Debug DLL" @@ -71,17 +71,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdlld /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "life - Win32 Release" @@ -97,17 +97,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I..\..\lib\msw /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlib.lib ../..\lib\regex.lib ../..\lib\png.lib ../..\lib\jpeg.lib ../..\lib\tiff.lib ../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "life - Win32 Debug" @@ -123,17 +123,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I..\..\lib\mswd /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlibd.lib ../..\lib\regexd.lib ../..\lib\pngd.lib ../..\lib\jpegd.lib ../..\lib\tiffd.lib ../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ENDIF @@ -159,8 +159,7 @@ SOURCE=.\life.cpp SOURCE=.\life.rc # ADD BASE RSC /l 0x809 -# ADD RSC /l 0x809 /i "../../include" -# SUBTRACT RSC /i "../../../include" +# ADD RSC /l 0x809 /i "..\..\include" # End Source File # Begin Source File diff --git a/demos/poem/poem.dsp b/demos/poem/poem.dsp index e2a0182619..3e0c6e0cd9 100644 --- a/demos/poem/poem.dsp +++ b/demos/poem/poem.dsp @@ -45,17 +45,17 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdll /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "poem - Win32 Debug DLL" @@ -71,17 +71,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswdlld" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I..\..\lib\mswdlld /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "poem - Win32 Release" @@ -97,17 +97,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MD /W4 /O2 /I "../../include" /I "../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD CPP /nologo /MD /W4 /O2 /I "..\..\include" /I "..\..\lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I..\..\lib\msw /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "NDEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlib.lib ../..\lib\regex.lib ../..\lib\png.lib ../..\lib\jpeg.lib ../..\lib\tiff.lib ../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\png.lib ..\..\lib\jpeg.lib ..\..\lib\tiff.lib ..\..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "poem - Win32 Debug" @@ -123,17 +123,17 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c -# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../include" /I "../../lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "..\..\include" /I "..\..\lib/mswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I..\..\lib\mswd /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" -# ADD RSC /l 0x409 /i "../../include" /d "_DEBUG" +# ADD BASE RSC /l 0x409 /i "..\..\include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "..\..\include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../..\lib\zlibd.lib ../..\lib\regexd.lib ../..\lib\pngd.lib ../..\lib\jpegd.lib ../..\lib\tiffd.lib ../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\pngd.lib ..\..\lib\jpegd.lib ..\..\lib\tiffd.lib ..\..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ENDIF diff --git a/distrib/msw/contrib.rsp b/distrib/msw/contrib.rsp index b176cf90ff..7a05380ced 100644 --- a/distrib/msw/contrib.rsp +++ b/distrib/msw/contrib.rsp @@ -65,8 +65,8 @@ contrib/samples/gizmos/multicell/*.txt contrib/samples/gizmos/multicell/*.ico contrib/samples/gizmos/multicell/*.bmp contrib/samples/gizmos/multicell/*.rc -contrib/samples/gizmos/multicell/MulticellVC.dsp -contrib/samples/gizmos/multicell/MulticellVC.dsw +contrib/samples/gizmos/multicell/multicell.dsp +contrib/samples/gizmos/multicell/multicell.dsw contrib/samples/gizmos/splittree/*.cpp contrib/samples/gizmos/splittree/*.h @@ -91,8 +91,8 @@ contrib/samples/gizmos/editlbox/*.txt contrib/samples/gizmos/editlbox/*.ico contrib/samples/gizmos/editlbox/*.bmp contrib/samples/gizmos/editlbox/*.rc -contrib/samples/gizmos/editlbox/EditlboxVC.dsp -contrib/samples/gizmos/editlbox/EditlboxVC.dsw +contrib/samples/gizmos/editlbox/editlbox.dsp +contrib/samples/gizmos/editlbox/editlbox.dsw contrib/samples/gizmos/dynsash/*.cpp contrib/samples/gizmos/dynsash/*.h @@ -104,8 +104,8 @@ contrib/samples/gizmos/dynsash/*.txt contrib/samples/gizmos/dynsash/*.ico contrib/samples/gizmos/dynsash/*.bmp contrib/samples/gizmos/dynsash/*.rc -contrib/samples/gizmos/dynsash/DynsashVC.dsp -contrib/samples/gizmos/dynsash/SynsashVC.dsw +contrib/samples/gizmos/dynsash/dynsash.dsp +contrib/samples/gizmos/dynsash/dynsash.dsw contrib/samples/gizmos/dynsash_switch/*.cpp contrib/samples/gizmos/dynsash_switch/*.h @@ -117,8 +117,8 @@ contrib/samples/gizmos/dynsash_switch/*.txt contrib/samples/gizmos/dynsash_switch/*.ico contrib/samples/gizmos/dynsash_switch/*.bmp contrib/samples/gizmos/dynsash_switch/*.rc -contrib/samples/gizmos/dynsash_switch/DynsashSwitchVC.dsp -contrib/samples/gizmos/dynsash_switch/DynsashSwitchVC.dsw +contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsp +contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsw contrib/samples/animate/*.cpp contrib/samples/animate/*.h @@ -130,8 +130,8 @@ contrib/samples/animate/*.txt contrib/samples/animate/*.ico contrib/samples/animate/*.bmp contrib/samples/animate/*.rc -contrib/samples/animate/AnimVC.dsp -contrib/samples/animate/AnimVC.dsw +contrib/samples/animate/AniTestVC.dsp +contrib/samples/animate/AniTestVC.dsw contrib/samples/fl/makefile* contrib/samples/fl/bitmaps/*.bmp diff --git a/distrib/msw/copybase.bat b/distrib/msw/copybase.bat index 8512cde9d4..a34195b618 100755 --- a/distrib/msw/copybase.bat +++ b/distrib/msw/copybase.bat @@ -1,9 +1,10 @@ @echo off -rem VZ: this is quick and _very_ dirty +rem VZ: this is quick and _very_ dirty, to be replaced by a script directly +rem parsing the files.txt and include/wx/version.h... -set VER=2.3.3 -set DEST=s:\upload\wxBase-%VER% +set VER=2.3.4 +set DEST=t:\wxBase-%VER% mkdir %DEST% mkdir %DEST%\include @@ -20,26 +21,46 @@ mkdir %DEST%\src\msw mkdir %DEST%\src\regex mkdir %DEST%\src\unix mkdir %DEST%\src\zlib +mkdir %DEST%\lib chdir %WXWIN% rem Copy the files to the root directory +copy /q configure.in %DEST% +copy /q configure %DEST% +copy /q wxwin.m4 %DEST% +copy /q aclocal.m4 %DEST% +copy /q config.sub %DEST% +copy /q config.guess %DEST% +copy /q install-sh %DEST% +copy /q mkinstalldirs %DEST% +copy /q wx-config.in %DEST% +copy /q setup.h.in %DEST% +copy /q Makefile.in %DEST% +copy /q wxBase.spec %DEST% copy /q docs\changes.txt %DEST%\CHANGES.txt copy /q docs\licence.txt %DEST%\LICENCE.txt -copy /q docs\install.txt %DEST%\README.txt -copy /q docs\symbols.txt %DEST%\SYMBOLS.txt +copy /q docs\base\readme.txt %DEST%\README.txt -rem Copy the project files +rem Copy the project/make files copy /q src\wxBase.dsp %DEST%\src\wxBase.dsp copy /q src\wxBase.dsw %DEST%\src\wxBase.dsw -copy /q include\wx\msw\setup.h %DEST%\include\wx\msw\setup.h +copy /q include\wx\msw\setup0.h %DEST%\include\wx\msw\setup.h +copy /q src\makeb32.env %DEST%\src\makeb32.env +copy /q src\makelib.b32 %DEST%\src\makelib.b32 +copy /q src\makeprog.b32 %DEST%\src\makeprog.b32 +copy /q src\msw\makebase.b32 %DEST%\src\msw\makebase.b32 +copy /q src\*.in %DEST%\src rem Copy the sample copy /q samples\console\console.cpp %DEST%\samples\console\console.cpp copy /q samples\console\console.dsp %DEST%\samples\console\console.dsp +copy /q samples\console\makefile.b32 %DEST%\samples\console\makefile.b32 +copy /q samples\console\makefile.unx %DEST%\samples\console +copy /q samples\console\Makefile.in %DEST%\samples\console copy /q samples\console\testdata.fc %DEST%\samples\console\testdata.fc rem Copy regex and zlib files @@ -51,13 +72,117 @@ rem The files not in src/files.lst copy /q src\msw\dummy.cpp %DEST%\src\msw\dummy.cpp copy /q src\msw\dummydll.cpp %DEST%\src\msw\dummydll.cpp +copy /q src\common\execcmn.cpp %DEST%\src\common\execcmn.cpp copy /q src\common\unictabl.inc %DEST%\src\common\unictabl.inc +copy /q src\common\unzip.h %DEST%\src\common\unzip.h -rem The rest is generated from src/files.lst +copy /q include\wx\msw\gsockmsw.h %DEST%\include\wx\msw\gsockmsw.h +copy /q include\wx\msw\missing.h %DEST%\include\wx\msw\missing.h +copy /q include\wx\msw\mslu.h %DEST%\include\wx\msw\mslu.h +copy /q include\wx\msw\msvcrt.h %DEST%\include\wx\msw\msvcrt.h +copy /q include\wx\msw\private.h %DEST%\include\wx\msw\private.h +copy /q include\wx\msw\regconf.h %DEST%\include\wx\msw\regconf.h +copy /q include\wx\msw\registry.h %DEST%\include\wx\msw\registry.h + +rem The rest is generated from src/files.lst by pasting the ALL_SOURCES and +rem ALL_HEADERS here and doing +rem +rem .,$s@^\s*\(.*\)/\([^ ]*\)\( \\\)\?$@copy /q src\\\1\\\2 %DEST%\\src\\\1\\\2 +rem +rem and +rem +rem .,$s@/@\\@|exe "normal "|.,$s@^\s*\([^ ]*\)\( \\\)\?$@copy /q include\\wx\\\1 %DEST%\\include\\wx\\\1 +rem +copy /q src\common\init.cpp %DEST%\src\common\init.cpp +copy /q src\common\appcmn.cpp %DEST%\src\common\appcmn.cpp +copy /q src\common\clntdata.cpp %DEST%\src\common\clntdata.cpp +copy /q src\common\cmdline.cpp %DEST%\src\common\cmdline.cpp +copy /q src\common\config.cpp %DEST%\src\common\config.cpp +copy /q src\common\datetime.cpp %DEST%\src\common\datetime.cpp +copy /q src\common\datstrm.cpp %DEST%\src\common\datstrm.cpp +copy /q src\common\db.cpp %DEST%\src\common\db.cpp +copy /q src\common\dbtable.cpp %DEST%\src\common\dbtable.cpp +copy /q src\common\dircmn.cpp %DEST%\src\common\dircmn.cpp +copy /q src\common\dynarray.cpp %DEST%\src\common\dynarray.cpp +copy /q src\common\dynlib.cpp %DEST%\src\common\dynlib.cpp +copy /q src\common\dynload.cpp %DEST%\src\common\dynload.cpp +copy /q src\common\encconv.cpp %DEST%\src\common\encconv.cpp +copy /q src\common\event.cpp %DEST%\src\common\event.cpp +copy /q src\common\extended.c %DEST%\src\common\extended.c +copy /q src\common\ffile.cpp %DEST%\src\common\ffile.cpp +copy /q src\common\file.cpp %DEST%\src\common\file.cpp +copy /q src\common\fileconf.cpp %DEST%\src\common\fileconf.cpp +copy /q src\common\filefn.cpp %DEST%\src\common\filefn.cpp +copy /q src\common\filename.cpp %DEST%\src\common\filename.cpp +copy /q src\common\filesys.cpp %DEST%\src\common\filesys.cpp +copy /q src\common\fontmap.cpp %DEST%\src\common\fontmap.cpp +copy /q src\common\fs_inet.cpp %DEST%\src\common\fs_inet.cpp +copy /q src\common\fs_mem.cpp %DEST%\src\common\fs_mem.cpp +copy /q src\common\fs_zip.cpp %DEST%\src\common\fs_zip.cpp +copy /q src\common\ftp.cpp %DEST%\src\common\ftp.cpp +copy /q src\common\hash.cpp %DEST%\src\common\hash.cpp +copy /q src\common\hashmap.cpp %DEST%\src\common\hashmap.cpp +copy /q src\common\http.cpp %DEST%\src\common\http.cpp +copy /q src\common\intl.cpp %DEST%\src\common\intl.cpp +copy /q src\common\ipcbase.cpp %DEST%\src\common\ipcbase.cpp +copy /q src\common\list.cpp %DEST%\src\common\list.cpp +copy /q src\common\log.cpp %DEST%\src\common\log.cpp +copy /q src\common\longlong.cpp %DEST%\src\common\longlong.cpp +copy /q src\common\memory.cpp %DEST%\src\common\memory.cpp +copy /q src\common\mimecmn.cpp %DEST%\src\common\mimecmn.cpp +copy /q src\common\module.cpp %DEST%\src\common\module.cpp +copy /q src\common\msgout.cpp %DEST%\src\common\msgout.cpp +copy /q src\common\mstream.cpp %DEST%\src\common\mstream.cpp +copy /q src\common\object.cpp %DEST%\src\common\object.cpp +copy /q src\common\process.cpp %DEST%\src\common\process.cpp +copy /q src\common\protocol.cpp %DEST%\src\common\protocol.cpp +copy /q src\common\regex.cpp %DEST%\src\common\regex.cpp +copy /q src\common\sckaddr.cpp %DEST%\src\common\sckaddr.cpp +copy /q src\common\sckfile.cpp %DEST%\src\common\sckfile.cpp +copy /q src\common\sckipc.cpp %DEST%\src\common\sckipc.cpp +copy /q src\common\sckstrm.cpp %DEST%\src\common\sckstrm.cpp +copy /q src\common\socket.cpp %DEST%\src\common\socket.cpp +copy /q src\common\strconv.cpp %DEST%\src\common\strconv.cpp +copy /q src\common\stream.cpp %DEST%\src\common\stream.cpp +copy /q src\common\string.cpp %DEST%\src\common\string.cpp +copy /q src\common\sysopt.cpp %DEST%\src\common\sysopt.cpp +copy /q src\common\textbuf.cpp %DEST%\src\common\textbuf.cpp +copy /q src\common\textfile.cpp %DEST%\src\common\textfile.cpp +copy /q src\common\timercmn.cpp %DEST%\src\common\timercmn.cpp +copy /q src\common\tokenzr.cpp %DEST%\src\common\tokenzr.cpp +copy /q src\common\txtstrm.cpp %DEST%\src\common\txtstrm.cpp +copy /q src\common\unzip.c %DEST%\src\common\unzip.c +copy /q src\common\url.cpp %DEST%\src\common\url.cpp +copy /q src\common\utilscmn.cpp %DEST%\src\common\utilscmn.cpp +copy /q src\common\variant.cpp %DEST%\src\common\variant.cpp +copy /q src\common\wfstream.cpp %DEST%\src\common\wfstream.cpp +copy /q src\common\wxchar.cpp %DEST%\src\common\wxchar.cpp +copy /q src\common\zipstrm.cpp %DEST%\src\common\zipstrm.cpp +copy /q src\common\zstream.cpp %DEST%\src\common\zstream.cpp +copy /q src\unix\dir.cpp %DEST%\src\unix\dir.cpp +copy /q src\unix\gsocket.c %DEST%\src\unix\gsocket.c +copy /q src\unix\mimetype.cpp %DEST%\src\unix\mimetype.cpp +copy /q src\unix\snglinst.cpp %DEST%\src\unix\snglinst.cpp +copy /q src\unix\threadpsx.cpp %DEST%\src\unix\threadpsx.cpp +copy /q src\unix\utilsunx.cpp %DEST%\src\unix\utilsunx.cpp +copy /q src\msw\dde.cpp %DEST%\src\msw\dde.cpp +copy /q src\msw\dir.cpp %DEST%\src\msw\dir.cpp +copy /q src\msw\gsocket.c %DEST%\src\msw\gsocket.c +copy /q src\msw\gsockmsw.c %DEST%\src\msw\gsockmsw.c +copy /q src\msw\main.cpp %DEST%\src\msw\main.cpp +copy /q src\msw\mimetype.cpp %DEST%\src\msw\mimetype.cpp +copy /q src\msw\regconf.cpp %DEST%\src\msw\regconf.cpp +copy /q src\msw\registry.cpp %DEST%\src\msw\registry.cpp +copy /q src\msw\snglinst.cpp %DEST%\src\msw\snglinst.cpp +copy /q src\msw\thread.cpp %DEST%\src\msw\thread.cpp +copy /q src\msw\utils.cpp %DEST%\src\msw\utils.cpp +copy /q src\msw\utilsexc.cpp %DEST%\src\msw\utilsexc.cpp +copy /q src\msw\volume.cpp %DEST%\src\msw\volume.cpp copy /q include\wx\app.h %DEST%\include\wx\app.h copy /q include\wx\arrimpl.cpp %DEST%\include\wx\arrimpl.cpp copy /q include\wx\buffer.h %DEST%\include\wx\buffer.h +copy /q include\wx\build.h %DEST%\include\wx\build.h copy /q include\wx\chkconf.h %DEST%\include\wx\chkconf.h copy /q include\wx\clntdata.h %DEST%\include\wx\clntdata.h copy /q include\wx\cmdline.h %DEST%\include\wx\cmdline.h @@ -75,8 +200,10 @@ copy /q include\wx\defs.h %DEST%\include\wx\defs.h copy /q include\wx\dir.h %DEST%\include\wx\dir.h copy /q include\wx\dynarray.h %DEST%\include\wx\dynarray.h copy /q include\wx\dynlib.h %DEST%\include\wx\dynlib.h +copy /q include\wx\dynload.h %DEST%\include\wx\dynload.h copy /q include\wx\encconv.h %DEST%\include\wx\encconv.h copy /q include\wx\event.h %DEST%\include\wx\event.h +copy /q include\wx\features.h %DEST%\include\wx\features.h copy /q include\wx\ffile.h %DEST%\include\wx\ffile.h copy /q include\wx\file.h %DEST%\include\wx\file.h copy /q include\wx\fileconf.h %DEST%\include\wx\fileconf.h @@ -90,9 +217,13 @@ copy /q include\wx\fs_mem.h %DEST%\include\wx\fs_mem.h copy /q include\wx\fs_zip.h %DEST%\include\wx\fs_zip.h copy /q include\wx\gsocket.h %DEST%\include\wx\gsocket.h copy /q include\wx\hash.h %DEST%\include\wx\hash.h +copy /q include\wx\hashmap.h %DEST%\include\wx\hashmap.h copy /q include\wx\intl.h %DEST%\include\wx\intl.h copy /q include\wx\ioswrap.h %DEST%\include\wx\ioswrap.h +copy /q include\wx\ipc.h %DEST%\include\wx\ipc.h copy /q include\wx\ipcbase.h %DEST%\include\wx\ipcbase.h +copy /q include\wx\isql.h %DEST%\include\wx\isql.h +copy /q include\wx\isqlext.h %DEST%\include\wx\isqlext.h copy /q include\wx\list.h %DEST%\include\wx\list.h copy /q include\wx\listimpl.cpp %DEST%\include\wx\listimpl.cpp copy /q include\wx\log.h %DEST%\include\wx\log.h @@ -102,16 +233,15 @@ copy /q include\wx\memory.h %DEST%\include\wx\memory.h copy /q include\wx\memtext.h %DEST%\include\wx\memtext.h copy /q include\wx\mimetype.h %DEST%\include\wx\mimetype.h copy /q include\wx\module.h %DEST%\include\wx\module.h +copy /q include\wx\msgout.h %DEST%\include\wx\msgout.h copy /q include\wx\mstream.h %DEST%\include\wx\mstream.h copy /q include\wx\object.h %DEST%\include\wx\object.h -copy /q include\wx\objstrm.h %DEST%\include\wx\objstrm.h copy /q include\wx\platform.h %DEST%\include\wx\platform.h copy /q include\wx\process.h %DEST%\include\wx\process.h copy /q include\wx\regex.h %DEST%\include\wx\regex.h copy /q include\wx\sckaddr.h %DEST%\include\wx\sckaddr.h copy /q include\wx\sckipc.h %DEST%\include\wx\sckipc.h copy /q include\wx\sckstrm.h %DEST%\include\wx\sckstrm.h -copy /q include\wx\serbase.h %DEST%\include\wx\serbase.h copy /q include\wx\snglinst.h %DEST%\include\wx\snglinst.h copy /q include\wx\socket.h %DEST%\include\wx\socket.h copy /q include\wx\strconv.h %DEST%\include\wx\strconv.h @@ -121,16 +251,17 @@ copy /q include\wx\sysopt.h %DEST%\include\wx\sysopt.h copy /q include\wx\textbuf.h %DEST%\include\wx\textbuf.h copy /q include\wx\textfile.h %DEST%\include\wx\textfile.h copy /q include\wx\thread.h %DEST%\include\wx\thread.h +copy /q include\wx\thrimpl.cpp %DEST%\include\wx\thrimpl.cpp copy /q include\wx\time.h %DEST%\include\wx\time.h copy /q include\wx\timer.h %DEST%\include\wx\timer.h copy /q include\wx\tokenzr.h %DEST%\include\wx\tokenzr.h copy /q include\wx\txtstrm.h %DEST%\include\wx\txtstrm.h -copy /q include\wx\unzip.h %DEST%\include\wx\unzip.h copy /q include\wx\url.h %DEST%\include\wx\url.h copy /q include\wx\utils.h %DEST%\include\wx\utils.h copy /q include\wx\variant.h %DEST%\include\wx\variant.h copy /q include\wx\vector.h %DEST%\include\wx\vector.h copy /q include\wx\version.h %DEST%\include\wx\version.h +copy /q include\wx\volume.h %DEST%\include\wx\volume.h copy /q include\wx\wfstream.h %DEST%\include\wx\wfstream.h copy /q include\wx\wx.h %DEST%\include\wx\wx.h copy /q include\wx\wxchar.h %DEST%\include\wx\wxchar.h @@ -140,92 +271,10 @@ copy /q include\wx\zstream.h %DEST%\include\wx\zstream.h copy /q include\wx\unix\gsockunx.h %DEST%\include\wx\unix\gsockunx.h copy /q include\wx\unix\mimetype.h %DEST%\include\wx\unix\mimetype.h copy /q include\wx\msw\dde.h %DEST%\include\wx\msw\dde.h +copy /q include\wx\msw\gccpriv.h %DEST%\include\wx\msw\gccpriv.h copy /q include\wx\msw\mimetype.h %DEST%\include\wx\msw\mimetype.h +copy /q include\wx\msw\winundef.h %DEST%\include\wx\msw\winundef.h copy /q include\wx\protocol\file.h %DEST%\include\wx\protocol\file.h copy /q include\wx\protocol\ftp.h %DEST%\include\wx\protocol\ftp.h copy /q include\wx\protocol\http.h %DEST%\include\wx\protocol\http.h copy /q include\wx\protocol\protocol.h %DEST%\include\wx\protocol\protocol.h - -copy /q src\common\init.cpp %DEST%\src\common\init.cpp -copy /q src\common\appcmn.cpp %DEST%\src\common\appcmn.cpp -copy /q src\common\clntdata.cpp %DEST%\src\common\clntdata.cpp -copy /q src\common\cmdline.cpp %DEST%\src\common\cmdline.cpp -copy /q src\common\config.cpp %DEST%\src\common\config.cpp -copy /q src\common\datetime.cpp %DEST%\src\common\datetime.cpp -copy /q src\common\datstrm.cpp %DEST%\src\common\datstrm.cpp -copy /q src\common\db.cpp %DEST%\src\common\db.cpp -copy /q src\common\dbtable.cpp %DEST%\src\common\dbtable.cpp -copy /q src\common\dircmn.cpp %DEST%\src\common\dircmn.cpp -copy /q src\common\dynarray.cpp %DEST%\src\common\dynarray.cpp -copy /q src\common\dynlib.cpp %DEST%\src\common\dynlib.cpp -copy /q src\common\encconv.cpp %DEST%\src\common\encconv.cpp -copy /q src\common\event.cpp %DEST%\src\common\event.cpp -copy /q src\common\extended.c %DEST%\src\common\extended.c -copy /q src\common\ffile.cpp %DEST%\src\common\ffile.cpp -copy /q src\common\file.cpp %DEST%\src\common\file.cpp -copy /q src\common\fileconf.cpp %DEST%\src\common\fileconf.cpp -copy /q src\common\filefn.cpp %DEST%\src\common\filefn.cpp -copy /q src\common\filename.cpp %DEST%\src\common\filename.cpp -copy /q src\common\filesys.cpp %DEST%\src\common\filesys.cpp -copy /q src\common\fontmap.cpp %DEST%\src\common\fontmap.cpp -copy /q src\common\fs_inet.cpp %DEST%\src\common\fs_inet.cpp -copy /q src\common\fs_mem.cpp %DEST%\src\common\fs_mem.cpp -copy /q src\common\fs_zip.cpp %DEST%\src\common\fs_zip.cpp -copy /q src\common\ftp.cpp %DEST%\src\common\ftp.cpp -copy /q src\common\hash.cpp %DEST%\src\common\hash.cpp -copy /q src\common\http.cpp %DEST%\src\common\http.cpp -copy /q src\common\intl.cpp %DEST%\src\common\intl.cpp -copy /q src\common\ipcbase.cpp %DEST%\src\common\ipcbase.cpp -copy /q src\common\list.cpp %DEST%\src\common\list.cpp -copy /q src\common\log.cpp %DEST%\src\common\log.cpp -copy /q src\common\longlong.cpp %DEST%\src\common\longlong.cpp -copy /q src\common\memory.cpp %DEST%\src\common\memory.cpp -copy /q src\common\mimecmn.cpp %DEST%\src\common\mimecmn.cpp -copy /q src\common\module.cpp %DEST%\src\common\module.cpp -copy /q src\common\mstream.cpp %DEST%\src\common\mstream.cpp -copy /q src\common\object.cpp %DEST%\src\common\object.cpp -copy /q src\common\objstrm.cpp %DEST%\src\common\objstrm.cpp -copy /q src\common\process.cpp %DEST%\src\common\process.cpp -copy /q src\common\protocol.cpp %DEST%\src\common\protocol.cpp -copy /q src\common\regex.cpp %DEST%\src\common\regex.cpp -copy /q src\common\sckaddr.cpp %DEST%\src\common\sckaddr.cpp -copy /q src\common\sckfile.cpp %DEST%\src\common\sckfile.cpp -copy /q src\common\sckipc.cpp %DEST%\src\common\sckipc.cpp -copy /q src\common\sckstrm.cpp %DEST%\src\common\sckstrm.cpp -copy /q src\common\serbase.cpp %DEST%\src\common\serbase.cpp -copy /q src\common\socket.cpp %DEST%\src\common\socket.cpp -copy /q src\common\strconv.cpp %DEST%\src\common\strconv.cpp -copy /q src\common\stream.cpp %DEST%\src\common\stream.cpp -copy /q src\common\string.cpp %DEST%\src\common\string.cpp -copy /q src\common\sysopt.cpp %DEST%\src\common\sysopt.cpp -copy /q src\common\textbuf.cpp %DEST%\src\common\textbuf.cpp -copy /q src\common\textfile.cpp %DEST%\src\common\textfile.cpp -copy /q src\common\timercmn.cpp %DEST%\src\common\timercmn.cpp -copy /q src\common\tokenzr.cpp %DEST%\src\common\tokenzr.cpp -copy /q src\common\txtstrm.cpp %DEST%\src\common\txtstrm.cpp -copy /q src\common\unzip.c %DEST%\src\common\unzip.c -copy /q src\common\url.cpp %DEST%\src\common\url.cpp -copy /q src\common\utilscmn.cpp %DEST%\src\common\utilscmn.cpp -copy /q src\common\variant.cpp %DEST%\src\common\variant.cpp -copy /q src\common\wfstream.cpp %DEST%\src\common\wfstream.cpp -copy /q src\common\wxchar.cpp %DEST%\src\common\wxchar.cpp -copy /q src\common\zipstrm.cpp %DEST%\src\common\zipstrm.cpp -copy /q src\common\zstream.cpp %DEST%\src\common\zstream.cpp -copy /q src\unix\dir.cpp %DEST%\src\unix\dir.cpp -copy /q src\unix\gsocket.c %DEST%\src\unix\gsocket.c -copy /q src\unix\mimetype.cpp %DEST%\src\unix\mimetype.cpp -copy /q src\unix\snglinst.cpp %DEST%\src\unix\snglinst.cpp -copy /q src\unix\threadpsx.cpp %DEST%\src\unix\threadpsx.cpp -copy /q src\unix\utilsunx.cpp %DEST%\src\unix\utilsunx.cpp -copy /q src\msw\dde.cpp %DEST%\src\msw\dde.cpp -copy /q src\msw\dir.cpp %DEST%\src\msw\dir.cpp -copy /q src\msw\gsocket.c %DEST%\src\msw\gsocket.c -copy /q src\msw\gsockmsw.c %DEST%\src\msw\gsockmsw.c -copy /q src\msw\main.cpp %DEST%\src\msw\main.cpp -copy /q src\msw\mimetype.cpp %DEST%\src\msw\mimetype.cpp -copy /q src\msw\regconf.cpp %DEST%\src\msw\regconf.cpp -copy /q src\msw\registry.cpp %DEST%\src\msw\registry.cpp -copy /q src\msw\snglinst.cpp %DEST%\src\msw\snglinst.cpp -copy /q src\msw\thread.cpp %DEST%\src\msw\thread.cpp -copy /q src\msw\utils.cpp %DEST%\src\msw\utils.cpp -copy /q src\msw\utilsexc.cpp %DEST%\src\msw\utilsexc.cpp diff --git a/distrib/msw/filerepl.bat b/distrib/msw/filerepl.bat index 815fc0b19b..450a30b609 100755 --- a/distrib/msw/filerepl.bat +++ b/distrib/msw/filerepl.bat @@ -10,6 +10,7 @@ set files=%3 echo s/%keyword/%repl/g > script.tmp call %wxwin\distrib\msw\expdwild.bat %3 list.tmp +Rem goto end set len=%@LINES[%files] do i = 0 to %len by 1 diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp index 7e61bcc925..027773fd44 100644 --- a/distrib/msw/generic.rsp +++ b/distrib/msw/generic.rsp @@ -8,11 +8,9 @@ config.sub configure.in setup.h.in install-sh -missing mkinstalldirs -modules -template.mak wx-config.in +version-script.in setup.h_vms distrib/msw/*.rsp @@ -28,19 +26,18 @@ distrib/msw/tmake/makeall.bat distrib/msw/tmake/makeall.sh distrib/msw/tmake/wxwin.pro distrib/msw/tmake/tmake.conf -distrib/gtk/* locale/*.po -locale/*.mo locale/Makefile art/*.xpm +art/*.ico +art/*.png art/motif/*.xpm art/gtk/*.xpm docs/readme.txt docs/readme_vms.txt -docs/install.txt docs/changes.txt docs/todo.txt docs/licence.txt @@ -48,18 +45,10 @@ docs/licendoc.txt docs/preamble.txt docs/gpl.txt docs/lgpl.txt -docs/symbols.txt -docs/bugs.txt docs/index.htm docs/html/*.htm docs/html/*.gif -docs/html/*.png -docs/html/icons/*.gif -docs/html/icons/*.png -docs/html/icons/*.jpg docs/html/images/*.gif -docs/html/images/*.png -docs/html/images/*.jpg docs/tech/*.txt docs/tech/*.htm @@ -152,19 +141,9 @@ lib/dummy tools/gettext/*.* -bitmaps/xpm/16x16/*.* -bitmaps/xpm/32x32/*.* -bitmaps/xpm/64x64/*.* -bitmaps/xpm/misc/*.* -bitmaps/*.* -bitmaps/bmp/16x15/*.* -bitmaps/bmp/10x8/*.* -bitmaps/ico/32x32/*.* - misc/afm/*.afm misc/gs_afm/*.afm -utils/*.txt utils/make*.* utils/configure utils/configure.in diff --git a/distrib/msw/innobott.txt b/distrib/msw/innobott.txt index 4fda9d8113..215c8ec6d3 100644 --- a/distrib/msw/innobott.txt +++ b/distrib/msw/innobott.txt @@ -32,10 +32,10 @@ ; DO NOT DELETE THEM or you may be unable to reload the script ;[ScriptSetup] -;VerNum=2.3.3 +;VerNum=2.3.4 ;InnoVer=1.3 ;AddVerTo=AppVerName ;SetupFilename=setup.exe -;OutputFolder=C:\wx2dev\wxWindows\deliver +;OutputFolder=C:\wx24\wxWindows\deliver ;CopyrightText=Copyright © The wxWindows Team diff --git a/distrib/msw/innotop.txt b/distrib/msw/innotop.txt index 7e5c76ba20..526c9de73f 100644 --- a/distrib/msw/innotop.txt +++ b/distrib/msw/innotop.txt @@ -4,13 +4,13 @@ [Setup] MinVersion=4.0,4.0 - AppName=wxWindows 2.3.3 + AppName=wxWindows 2.3.4 AppId=wxWindows CreateUninstallRegKey=1 UsePreviousAppDir=0 UsePreviousGroup=0 - AppVersion=2.3.3 - AppVerName=wxWindows 2.3.3 + AppVersion=2.3.4 + AppVerName=wxWindows 2.3.4 AppCopyright=Copyright © The wxWindows Team BackColor=$FF0000 BackColor2=$000000 @@ -19,7 +19,7 @@ WindowStartMaximized=1 WindowVisible=1 WindowResizable=1 - UninstallDisplayName=wxWindows 2.3.3 + UninstallDisplayName=wxWindows 2.3.4 UninstallLogMode=Append DirExistsWarning=auto UninstallFilesDir={app} @@ -28,19 +28,19 @@ CreateAppDir=1 DisableProgramGroupPage=0 AlwaysCreateUninstallIcon=1 - UninstallIconName=Uninstall wxWindows 2.3.3 + UninstallIconName=Uninstall wxWindows 2.3.4 Uninstallable=1 - DefaultDirName=c:\wxWindows_2.3.3 - DefaultGroupName=wxWindows 2.3.3 - LicenseFile=C:\wx2dev\wxWindows\docs\licence.txt - InfoBeforeFile=C:\wx2dev\wxWindows\docs\readme.txt - InfoAfterFile=C:\wx2dev\wxWindows\docs\msw\install.txt + DefaultDirName=c:\wxWindows_2.3.4 + DefaultGroupName=wxWindows 2.3.4 + LicenseFile=C:\wx24\wxWindows\docs\licence.txt + InfoBeforeFile=C:\wx24\wxWindows\docs\readme.txt + InfoAfterFile=C:\wx24\wxWindows\docs\msw\install.txt MessagesFile=compiler:default.isl DiskSpanning=1 DiskSize=1457664 DiskClusterSize=512 ReserveBytes=0 UseSetupLdr=1 - SourceDir=c:\wx2dev\wxWindows\deliver\wxWindows-2.3.3 - OutputDir=c:\wx2dev\wxWindows\deliver + SourceDir=c:\wx24\wxWindows\deliver\wxWindows-2.3.4 + OutputDir=c:\wx24\wxWindows\deliver diff --git a/distrib/msw/tardist b/distrib/msw/tardist index 4093e66f17..2c8a21b2aa 100644 --- a/distrib/msw/tardist +++ b/distrib/msw/tardist @@ -29,347 +29,437 @@ expandlines() done } +doinit() +{ + cd $WXSRC + echo Removing backup files... + rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~ + + rm -f $WXDEST/wx*-${WXVER}*.tar.gz + # Copy setup files + cp $WXSRC/include/wx/os2/SETUP0.H $WXSRC/include/wx/os2/setup.h + cp $WXSRC/include/wx/msw/setup0.h $WXSRC/include/wx/msw/setup.h + cp $WXSRC/include/wx/univ/setup0.h $WXSRC/include/wx/univ/setup.h + + # Copy readme and other files + + cp $WXSRC/docs/readme.txt $WXDEST/readme-${WXVER}.txt + cp $WXSRC/docs/changes.txt $WXDEST/changes-${WXVER}.txt + cp $WXSRC/docs/mgl/readme.txt $WXDEST/readme-mgl-${WXVER}.txt + cp $WXSRC/docs/mgl/install.txt $WXDEST/install-mgl-${WXVER}.txt + cp $WXSRC/docs/x11/readme.txt $WXDEST/readme-x11-${WXVER}.txt + cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt + cp $WXSRC/docs/x11/install.txt $WXDEST/install-x11-${WXVER}.txt + cp $WXSRC/docs/motif/readme.txt $WXDEST/readme-motif-${WXVER}.txt + cp $WXSRC/docs/motif/install.txt $WXDEST/install-motif-${WXVER}.txt + cp $WXSRC/docs/msw/readme.txt $WXDEST/readme-msw-${WXVER}.txt + cp $WXSRC/docs/msw/install.txt $WXDEST/install-msw-${WXVER}.txt + cp $WXSRC/docs/gtk/readme.txt $WXDEST/readme-gtk-${WXVER}.txt + cp $WXSRC/docs/gtk/install.txt $WXDEST/install-gtk-${WXVER}.txt + cp $WXSRC/docs/mac/readme.txt $WXDEST/readme-mac-${WXVER}.txt + cp $WXSRC/docs/mac/install.txt $WXDEST/install-mac-${WXVER}.txt + cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt +} -init="" -if [ "$1" = "" ] -then - echo Usage: tardist wx-dir output-dir version - exit -fi - -if [ "$2" = "" ] -then - echo Usage: tardist wx-dir output-dir version - exit -fi - -if [ "$3" = "" ] -then - echo Usage: tardist wx-dir output-dir version - exit -fi - -WXVER=$3 - -echo About to archive wxWindows: -echo From $1 -echo To $2 -echo CTRL-C if this is not correct. -read dummy - -cd $1 - -echo Removing backup files... -rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~ - -rm -f $2/wx*-${WXVER}*.tar.gz - -# Copy setup files -cp $1/include/wx/os2/SETUP0.H $1/include/wx/os2/setup.h -cp $1/include/wx/msw/setup0.h $1/include/wx/msw/setup.h - -echo Tarring... - -### Generic -#cat $1/distrib/msw/generic.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp > /tmp/wxgen_in.txt -#expandlines /tmp/wxgen_in.txt /tmp/wxgen.txt -#$TAR cf $2/wxWindows-${WXVER}-gen.tar -T /tmp/wxgen.txt -#gzip $2/wxWindows-${WXVER}-gen.tar -#mv $2/wxWindows-${WXVER}-gen.tar.gz $2/wxWindows-${WXVER}-gen.tgz +dospinwxgtk() +{ +echo Tarring wxGTK... -### wxGTK -cd $1 -cat $1/distrib/msw/generic.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxgtk_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/dialoged.rsp $WXSRC/distrib/msw/gtk.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxgtk_in.txt expandlines /tmp/wxgtk_in.txt /tmp/wxgtk.txt -$TAR cf $2/wxGTK-${WXVER}.tar -T /tmp/wxgtk.txt +$TAR cf $WXDEST/wxGTK-${WXVER}.tar -T /tmp/wxgtk.txt echo Re-tarring wxGTK in a subdirectory... -cd $2 -mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} +cd $WXDEST +mkdir wxGTK-${WXVER} +cd wxGTK-${WXVER} $TAR xf ../wxGTK-${WXVER}.tar cd .. rm -f wxGTK-${WXVER}.tar -$TAR cf $2/wxGTK-${WXVER}.tar wxWindows-${WXVER}/* -rm -f -r wxWindows-${WXVER} -gzip $2/wxGTK-${WXVER}.tar +$TAR cf $WXDEST/wxGTK-${WXVER}.tar wxGTK-${WXVER}/* +rm -f -r wxGTK-${WXVER} +gzip $WXDEST/wxGTK-${WXVER}.tar +} + +dospinwxmotif() +{ +echo Tarring wxMotif... -### wxMotif -cd $1 -cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxmotif_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmotif_in.txt expandlines /tmp/wxmotif_in.txt /tmp/wxmotif.txt -$TAR cf $2/wxMotif-${WXVER}.tar -T /tmp/wxmotif.txt +$TAR cf $WXDEST/wxMotif-${WXVER}.tar -T /tmp/wxmotif.txt echo Re-tarring wxMotif in a subdirectory... -cd $2 -mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} +cd $WXDEST +mkdir wxMotif-${WXVER} +cd wxMotif-${WXVER} $TAR xf ../wxMotif-${WXVER}.tar cd .. rm -f wxMotif-${WXVER}.tar -$TAR cf $2/wxMotif-${WXVER}.tar wxWindows-${WXVER}/* -rm -f -r wxWindows-${WXVER} -gzip $2/wxMotif-${WXVER}.tar +$TAR cf $WXDEST/wxMotif-${WXVER}.tar wxMotif-${WXVER}/* +rm -f -r wxMotif-${WXVER} +gzip $WXDEST/wxMotif-${WXVER}.tar +} + +dospinwxx11() +{ +echo Tarring wxX11... ### wxX11: combined wxMotif and wxX11 distributions -cd $1 -cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/univ.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxx11_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/univ.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/dialoged.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxx11_in.txt expandlines /tmp/wxx11_in.txt /tmp/wxx11.txt -$TAR cf $2/wxX11-${WXVER}.tar -T /tmp/wxx11.txt +$TAR cf $WXDEST/wxX11-${WXVER}.tar -T /tmp/wxx11.txt echo Re-tarring wxX11 in a subdirectory... -cd $2 -mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} +cd $WXDEST +mkdir wxX11-${WXVER} +cd wxX11-${WXVER} $TAR xf ../wxX11-${WXVER}.tar cd .. rm -f wxX11-${WXVER}.tar -$TAR cf $2/wxX11-${WXVER}.tar wxWindows-${WXVER}/* -rm -f -r wxWindows-${WXVER} -gzip $2/wxX11-${WXVER}.tar +$TAR cf $WXDEST/wxX11-${WXVER}.tar wxX11-${WXVER}/* +rm -f -r wxX11-${WXVER} +gzip $WXDEST/wxX11-${WXVER}.tar +} ### wxMSW -# cd $1 -# cat $1/distrib/msw/msw.rsp $1/distrib/msw/vc.rsp $1/distrib/msw/bc.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxmsw_in.txt +# cd $WXSRC +# cat $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/bc.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmsw_in.txt # expandlines /tmp/wxmsw_in.txt /tmp/wxmsw.txt -# $TAR cf $2/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt -# gzip $2/wxMSW-${WXVER}.tar +# $TAR cf $WXDEST/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt +# gzip $WXDEST/wxMSW-${WXVER}.tar +dospinwxmac() +{ +echo Tarring wxMac... ### wxMac -cp $1/include/wx/mac/setup0.h $1/include/wx/setup.h -cd $1 -cat $1/distrib/msw/mac.rsp $1/distrib/msw/generic.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/stc.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt +cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/setup.h +cd $WXSRC +cat $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/dialoged.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt -$TAR cf $2/wxMac-${WXVER}.tar -T /tmp/wxmac.txt +$TAR cf $WXDEST/wxMac-${WXVER}.tar -T /tmp/wxmac.txt -rm -f $1/include/wx/setup.h +rm -f $WXSRC/include/wx/setup.h echo Re-tarring wxMac in a subdirectory... -cd $2 -mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} +cd $WXDEST +mkdir wxMac-${WXVER} +cd wxMac-${WXVER} $TAR xf ../wxMac-${WXVER}.tar rm -f -r contrib/src/mmedia contrib/samples/mmedia cd .. rm -f wxMac-${WXVER}.tar -$TAR cf $2/wxMac-${WXVER}.tar wxWindows-${WXVER}/* -rm -f -r wxWindows-${WXVER} -gzip $2/wxMac-${WXVER}.tar +$TAR cf $WXDEST/wxMac-${WXVER}.tar wxMac-${WXVER}/* +rm -f -r wxMac-${WXVER} +gzip $WXDEST/wxMac-${WXVER}.tar +} ### wxUniv: universal-specific files -cd $1 -cat $1/distrib/msw/univ.rsp > /tmp/wxuniv_in.txt -expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt -$TAR cf $2/wxWindows-${WXVER}-Univ.tar -T /tmp/wxuniv.txt +#cd $WXSRC +#cat $WXSRC/distrib/msw/univ.rsp > /tmp/wxuniv_in.txt +#expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt +#$TAR cf $WXDEST/wxWindows-${WXVER}-Univ.tar -T /tmp/wxuniv.txt +# +#echo Re-tarring wxUniversal in a subdirectory... +#cd $WXDEST +#mkdir wxWindows-${WXVER} +#cd wxWindows-${WXVER} +#$TAR xf ../wxWindows-${WXVER}-Univ.tar +#cd .. +#rm -f wxWindows-${WXVER}-Univ.tar +#$TAR cf $WXDEST/wxWindows-${WXVER}-Univ.tar wxWindows-${WXVER}/* +#rm -f -r wxWindows-${WXVER} +#gzip $WXDEST/wxWindows-${WXVER}-Univ.tar -echo Re-tarring wxUniversal in a subdirectory... -cd $2 -mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} -$TAR xf ../wxWindows-${WXVER}-Univ.tar -cd .. -rm -f wxWindows-${WXVER}-Univ.tar -$TAR cf $2/wxWindows-${WXVER}-Univ.tar wxWindows-${WXVER}/* -rm -f -r wxWindows-${WXVER} -gzip $2/wxWindows-${WXVER}-Univ.tar +dospinwxall() +{ +echo Tarring wxAll... ### wxAll: all distributions in one giant archive -cd $1 -cat $1/distrib/msw/generic.rsp $1/distrib/msw/msw.rsp $1/distrib/msw/vc.rsp $1/distrib/msw/cw.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/mac.rsp $1/distrib/msw/os2.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/univ.rsp $1/distrib/msw/mgl.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/utilmake.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/mmedia.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/stc.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp $1/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/cw.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/gtk.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/os2.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/univ.rsp $WXSRC/distrib/msw/mgl.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/utilmake.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/mmedia.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/dialoged.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp $WXSRC/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt expandlines /tmp/wxall_in.txt /tmp/wxall.txt -$TAR cf $2/wxAll-${WXVER}.tar -T /tmp/wxall.txt +$TAR cf $WXDEST/wxAll-${WXVER}.tar -T /tmp/wxall.txt echo Re-tarring wxAll in a subdirectory... -cd $2 +cd $WXDEST mkdir wxWindows-${WXVER} # If we have the full set of VC++ project files, # get them -if [ -f $2/extra/wxWindows-${WXVER}-VC.zip ]; then - unzip -o $2/extra/wxWindows-${WXVER}-VC.zip +if [ -f $WXDEST/extra/wxWindows-${WXVER}-VC.zip ]; then + unzip -o $WXDEST/extra/wxWindows-${WXVER}-VC.zip else - echo "Warning - did not find $2/deliver/extra/wxWindows-${WXVER}-VC.zip" + echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-VC.zip" fi cd wxWindows-${WXVER} $TAR xf ../wxAll-${WXVER}.tar # Translate all .dsp and .dsw files to DOS format -unix2dos --unix2dos `cat $1/distrib/msw/vc.rsp` +unix2dos --unix2dos `cat $WXSRC/distrib/msw/vc.rsp` # Copy OS/2 specific configure files -cp $1/distrib/os2/os2-specific.zip docs/os2 +cp $WXSRC/distrib/os2/os2-specific.zip docs/os2 # Copy the OS/2 files which probably haven't been copied yet mkdir include/wx/os2 mkdir src/os2 -cp $1/include/wx/os2/*.H include/wx/os2 -cp $1/src/os2/*.CPP $1/src/os2/*.I src/os2 +cp $WXSRC/include/wx/os2/*.H include/wx/os2 +cp $WXSRC/src/os2/*.CPP $WXSRC/src/os2/*.I src/os2 # Make all OS/2 files lower case -$1/distrib/msw/namedown include/wx/os2/*.H -$1/distrib/msw/namedown src/os2/*.CPP src/os2/*.I +$WXSRC/distrib/msw/namedown include/wx/os2/*.H +$WXSRC/distrib/msw/namedown src/os2/*.CPP src/os2/*.I cd .. rm -f wxAll-${WXVER}.tar -$TAR cf $2/wxAll-${WXVER}.tar wxWindows-${WXVER}/* +$TAR cf $WXDEST/wxAll-${WXVER}.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER} -gzip $2/wxAll-${WXVER}.tar +gzip $WXDEST/wxAll-${WXVER}.tar +} +dospinwxdocs() +{ +echo Tarring wxDocs... ### Doc sources -#cd $1 -#cat $1/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt +#cd $WXSRC +#cat $WXSRC/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt #expandlines /tmp/docsrc_in.txt /tmp/docsrc.txt -#$TAR cf $2/wxWindows-${WXVER}-doc.tar -T /tmp/docsrc.txt +#$TAR cf $WXDEST/wxWindows-${WXVER}-doc.tar -T /tmp/docsrc.txt # #echo Re-tarring docs in a subdirectory... -#cd $2 +#cd $WXDEST #mkdir wxWindows-${WXVER} #cd wxWindows-${WXVER} #$TAR xf ../wxWindows-${WXVER}-doc.tar #cd .. #rm -f wxWindows-${WXVER}-doc.tar -#$TAR cf $2/wxWindows-${WXVER}-doc.tar wxWindows-${WXVER}/* +#$TAR cf $WXDEST/wxWindows-${WXVER}-doc.tar wxWindows-${WXVER}/* #rm -f -r wxWindows-${WXVER} -#gzip $2/wxWindows-${WXVER}-doc.tar +#gzip $WXDEST/wxWindows-${WXVER}-doc.tar ### HTML docs -cd $1 -cat $1/distrib/msw/wx_html.rsp > /tmp/html_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/wx_html.rsp > /tmp/html_in.txt expandlines /tmp/html_in.txt /tmp/html.txt -$TAR cf $2/wxWindows-${WXVER}-HTML.tar -T /tmp/html.txt +$TAR cf $WXDEST/wxWindows-${WXVER}-HTML.tar -T /tmp/html.txt echo Re-tarring HTML in a subdirectory... -cd $2 +cd $WXDEST mkdir wxWindows-${WXVER} cd wxWindows-${WXVER} $TAR xf ../wxWindows-${WXVER}-HTML.tar cd .. rm -f wxWindows-${WXVER}-HTML.tar -$TAR cf $2/wxWindows-${WXVER}-HTML.tar wxWindows-${WXVER}/* +$TAR cf $WXDEST/wxWindows-${WXVER}-HTML.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER} -gzip $2/wxWindows-${WXVER}-HTML.tar +gzip $WXDEST/wxWindows-${WXVER}-HTML.tar ### HTB docs -cd $1 -cat $1/distrib/msw/wx_htb.rsp > /tmp/htb_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/wx_htb.rsp > /tmp/htb_in.txt expandlines /tmp/htb_in.txt /tmp/htb.txt -$TAR cf $2/wxWindows-${WXVER}-HTB.tar -T /tmp/htb.txt +$TAR cf $WXDEST/wxWindows-${WXVER}-HTB.tar -T /tmp/htb.txt echo Re-tarring HTB in a subdirectory... -cd $2 +cd $WXDEST mkdir wxWindows-${WXVER} cd wxWindows-${WXVER} $TAR xf ../wxWindows-${WXVER}-HTB.tar cd .. rm -f wxWindows-${WXVER}-HTB.tar -$TAR cf $2/wxWindows-${WXVER}-HTB.tar wxWindows-${WXVER}/* +$TAR cf $WXDEST/wxWindows-${WXVER}-HTB.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER} -gzip $2/wxWindows-${WXVER}-HTB.tar +gzip $WXDEST/wxWindows-${WXVER}-HTB.tar ### PDF docs -cd $1 -cat $1/distrib/msw/wx_pdf.rsp > /tmp/pdf_in.txt +cd $WXSRC +cat $WXSRC/distrib/msw/wx_pdf.rsp > /tmp/pdf_in.txt expandlines /tmp/pdf_in.txt /tmp/pdf.txt -$TAR cf $2/wxWindows-${WXVER}-PDF.tar -T /tmp/pdf.txt +$TAR cf $WXDEST/wxWindows-${WXVER}-PDF.tar -T /tmp/pdf.txt echo Re-tarring PDF in a subdirectory... -cd $2 +cd $WXDEST mkdir wxWindows-${WXVER} cd wxWindows-${WXVER} $TAR xf ../wxWindows-${WXVER}-PDF.tar cd .. rm -f wxWindows-${WXVER}-PDF.tar -$TAR cf $2/wxWindows-${WXVER}-PDF.tar wxWindows-${WXVER}/* +$TAR cf $WXDEST/wxWindows-${WXVER}-PDF.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER} -gzip $2/wxWindows-${WXVER}-PDF.tar +gzip $WXDEST/wxWindows-${WXVER}-PDF.tar +} ### Tex2RTF -#cd $1 -#cat $1/distrib/msw/tex2rtf.rsp > /tmp/tex2rtf_in.txt +#cd $WXSRC +#cat $WXSRC/distrib/msw/tex2rtf.rsp > /tmp/tex2rtf_in.txt #expandlines /tmp/tex2rtf_in.txt /tmp/tex2rtf.txt -#$TAR cf $2/wxWindows-${WXVER}-tex2rtf.tar -T /tmp/tex2rtf.txt +#$TAR cf $WXDEST/wxWindows-${WXVER}-tex2rtf.tar -T /tmp/tex2rtf.txt # #echo Re-tarring Tex2RTF in a subdirectory... -#cd $2 +#cd $WXDEST #mkdir wxWindows-${WXVER} #cd wxWindows-${WXVER} #$TAR xf ../wxWindows-${WXVER}-tex2rtf.tar #cd .. #rm -f wxWindows-${WXVER}-tex2rtf.tar -#$TAR cf $2/wxWindows-${WXVER}-tex2rtf.tar wxWindows-${WXVER}/* +#$TAR cf $WXDEST/wxWindows-${WXVER}-tex2rtf.tar wxWindows-${WXVER}/* #rm -f -r wxWindows-${WXVER} -#gzip $2/wxWindows-${WXVER}-tex2rtf.tar +#gzip $WXDEST/wxWindows-${WXVER}-tex2rtf.tar ### OGL -#cd $1 -#cat $1/distrib/msw/ogl.rsp > /tmp/ogl_in.txt +#cd $WXSRC +#cat $WXSRC/distrib/msw/ogl.rsp > /tmp/ogl_in.txt #expandlines /tmp/ogl_in.txt /tmp/ogl.txt -#$TAR cf $2/wxWindows-${WXVER}-ogl.tar -T /tmp/ogl.txt +#$TAR cf $WXDEST/wxWindows-${WXVER}-ogl.tar -T /tmp/ogl.txt # #echo Re-tarring OGL in a subdirectory... -#cd $2 +#cd $WXDEST #mkdir wxWindows-${WXVER} #cd wxWindows-${WXVER} #$TAR xf ../wxWindows-${WXVER}-ogl.tar #cd .. #rm -f wxWindows-${WXVER}-ogl.tar -#$TAR cf $2/wxWindows-${WXVER}-ogl.tar wxWindows-${WXVER}/* +#$TAR cf $WXDEST/wxWindows-${WXVER}-ogl.tar wxWindows-${WXVER}/* #rm -f -r wxWindows-${WXVER} -#gzip $2/wxWindows-${WXVER}-ogl.tar +#gzip $WXDEST/wxWindows-${WXVER}-ogl.tar ### JPEG -#cd $1 -#cat $1/distrib/msw/jpeg.rsp > /tmp/jpeg_in.txt +#cd $WXSRC +#cat $WXSRC/distrib/msw/jpeg.rsp > /tmp/jpeg_in.txt #expandlines /tmp/jpeg_in.txt /tmp/jpeg.txt -#$TAR cf $2/wxWindows-${WXVER}-jpeg.tar -T /tmp/jpeg.txt +#$TAR cf $WXDEST/wxWindows-${WXVER}-jpeg.tar -T /tmp/jpeg.txt # #echo Re-tarring jpeg in a subdirectory... -#cd $2 +#cd $WXDEST #mkdir wxWindows-${WXVER} #cd wxWindows-${WXVER} #$TAR xf ../wxWindows-${WXVER}-jpeg.tar #cd .. #rm -f wxWindows-${WXVER}-jpeg.tar -#$TAR cf $2/wxWindows-${WXVER}-jpeg.tar wxWindows-${WXVER}/* +#$TAR cf $WXDEST/wxWindows-${WXVER}-jpeg.tar wxWindows-${WXVER}/* #rm -f -r wxWindows-${WXVER} -#gzip $2/wxWindows-${WXVER}-jpeg.tar +#gzip $WXDEST/wxWindows-${WXVER}-jpeg.tar ### TIFF -#cd $1 -#cat $1/distrib/msw/tiff.rsp > /tmp/tiff_in.txt +#cd $WXSRC +#cat $WXSRC/distrib/msw/tiff.rsp > /tmp/tiff_in.txt #expandlines /tmp/tiff_in.txt /tmp/tiff.txt -#$TAR cf $2/wxWindows-${WXVER}-tiff.tar -T /tmp/tiff.txt +#$TAR cf $WXDEST/wxWindows-${WXVER}-tiff.tar -T /tmp/tiff.txt # #echo Re-tarring docs in a subdirectory... -#cd $2 +#cd $WXDEST #mkdir wxWindows-${WXVER} #cd wxWindows-${WXVER} #$TAR xf ../wxWindows-${WXVER}-tiff.tar #cd .. #rm -f wxWindows-${WXVER}-tiff.tar -#$TAR cf $2/wxWindows-${WXVER}-tiff.tar wxWindows-${WXVER}/* +#$TAR cf $WXDEST/wxWindows-${WXVER}-tiff.tar wxWindows-${WXVER}/* #rm -f -r wxWindows-${WXVER} -#gzip $2/wxWindows-${WXVER}-tiff.tar - -# Copy readme and other files -cd $1 -cp $1/docs/readme.txt $2/readme-${WXVER}.txt -cp $1/docs/changes.txt $2/changes-${WXVER}.txt -cp $1/docs/mgl/readme.txt $2/readme-mgl-${WXVER}.txt -cp $1/docs/mgl/install.txt $2/install-mgl-${WXVER}.txt -cp $1/docs/x11/readme.txt $2/readme-x11-${WXVER}.txt -cp $1/docs/x11/readme-nanox.txt $2/readme-nanox-${WXVER}.txt -cp $1/docs/x11/install.txt $2/install-x11-${WXVER}.txt -cp $1/docs/motif/readme.txt $2/readme-motif-${WXVER}.txt -cp $1/docs/motif/install.txt $2/install-motif-${WXVER}.txt -cp $1/docs/msw/readme.txt $2/readme-msw-${WXVER}.txt -cp $1/docs/msw/install.txt $2/install-msw-${WXVER}.txt -cp $1/docs/gtk/readme.txt $2/readme-gtk-${WXVER}.txt -cp $1/docs/gtk/install.txt $2/install-gtk-${WXVER}.txt -cp $1/docs/mac/readme.txt $2/readme-mac-${WXVER}.txt -cp $1/docs/mac/install.txt $2/install-mac-${WXVER}.txt -cp $1/docs/os2/install.txt $2/install-os2-${WXVER}.txt - -echo Done! +#gzip $WXDEST/wxWindows-${WXVER}-tiff.tar + +init="" +if [ "$1" = "" ] +then + echo Usage: tardist wx-dir output-dir version + exit +fi + +if [ "$2" = "" ] +then + echo Usage: tardist wx-dir output-dir version + exit +fi + +if [ "$3" = "" ] +then + echo Usage: tardist wx-dir output-dir version + exit +fi + +PROGNAME=$0 +WXSRC=$1 +WXDEST=$2 +WXVER=$3 + +SPINWXALL=0 +SPINWXX11=0 +SPINWXGTK=0 +SPINWXMOTIF=0 +SPINWXMAC=0 +SPINWXDOCS=0 +SPINEVERYTHING=0 + +usage() +{ + echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]" + echo Options: + echo " --help Display this help message" + echo " --wxall Spin wxAll" + echo " --wxgtk Spin wxGTK" + echo " --wxmotif Spin wxMotif" + echo " --wxmac Spin wxMac" + echo " --wxx11 Spin wxX11" + echo " --wxdocs Spin docs" + echo " --all Spin EVERYTHING" + + exit 1 +} + +# Process command line options. +shift 3 +for i in "$@"; do + case "$i" in + --wxall) SPINWXALL=1 ;; + --wxx11) SPINWXX11=1 ;; + --wxgtk) SPINWXGTK=1 ;; + --wxmotif) SPINWXMOTIF=1 ;; + --wxmac) SPINWXMAC=1 ;; + --wxdocs) SPINWXDOCS=1 ;; + --all) SPINEVERYTHING=1 ;; + *) + usage + exit + ;; + esac +done + +echo About to archive wxWindows: +echo From $WXSRC +echo To $WXDEST +echo Version $WXVER +echo CTRL-C if this is not correct. +read dummy + +doinit + +if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then + dospinwxx11 +fi + +if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then + dospinwxgtk +fi + +if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then + dospinwxmac +fi + +if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then + dospinwxmotif +fi + +if [ "$SPINWXDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then + dospinwxdocs +fi + +if [ "$SPINWXALL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then + dospinwxall +fi + + diff --git a/distrib/msw/tarwxall b/distrib/msw/tarwxall index a6cecb08d8..b38bddd888 100755 --- a/distrib/msw/tarwxall +++ b/distrib/msw/tarwxall @@ -103,6 +103,7 @@ $1/distrib/msw/namedown include/wx/os2/*.H $1/distrib/msw/namedown src/os2/*.CPP src/os2/*.I cd .. + rm -f wxAll-${WXVER}.tar $TAR cf $2/wxAll-${WXVER}.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER} diff --git a/distrib/msw/tarwxmac b/distrib/msw/tarwxmac index d4b27af39e..1e2b159d1c 100755 --- a/distrib/msw/tarwxmac +++ b/distrib/msw/tarwxmac @@ -63,7 +63,7 @@ echo Removing backup files... rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~ rm -f $2/wxMac-${WXVER}*.tar.gz -rm -f -r $2/wxWindows-${WXVER} +rm -f -r $2/wxMac-${WXVER} cp $1/include/wx/mac/setup0.h $1/include/wx/setup.h @@ -78,8 +78,8 @@ rm -f $1/include/wx/setup.h echo Re-tarring in a subdirectory... cd $2 -mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} +mkdir wxMac-${WXVER} +cd wxMac-${WXVER} $TAR xf ../wxMac-${WXVER}.tar # Remove mmedia @@ -87,8 +87,8 @@ rm -f -r contrib/src/mmedia contrib/samples/mmedia cd .. rm -f wxMac-${WXVER}.tar -$TAR cf $2/wxMac-${WXVER}.tar wxWindows-${WXVER}/* -rm -f -r wxWindows-${WXVER} +$TAR cf $2/wxMac-${WXVER}.tar wxMac-${WXVER}/* +rm -f -r wxMac-${WXVER} gzip $2/wxMac-${WXVER}.tar # Copy readme and other files diff --git a/distrib/msw/tarwxx11 b/distrib/msw/tarwxx11 new file mode 100755 index 0000000000..065f67c0d4 --- /dev/null +++ b/distrib/msw/tarwxx11 @@ -0,0 +1,85 @@ +#!/bin/sh +# tarwxall: make up a tar.gz distribution of wxX11 +# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver) + +# We can't use e.g. this: +# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWindows-$VERSION-gen.zip +# because there's not enough space on the command line, plus we need to ignore the +# blank lines. + +TAR=tar +ARCH=`arch` +if [ "$ARCH" = "ppc" ]; then + TAR=gnutar +fi + +expandlines() +{ + toexpand=$1 + outputfile=$2 + + rm -f $outputfile + touch $outputfile + for line in `cat $toexpand` ; do + if [ "$line" != "" ]; then + ls $line >> $outputfile + fi + uniq < $outputfile > /tmp/uniqtemp.txt + mv /tmp/uniqtemp.txt $outputfile + done +} + + +init="" +if [ "$1" = "" ] +then + echo Usage: tarwxx11 wx-dir output-dir version + exit +fi + +if [ "$2" = "" ] +then + echo Usage: tarwxx11 wx-dir output-dir version + exit +fi + +if [ "$3" = "" ] +then + echo Usage: tarwxx11 wx-dir output-dir version + exit +fi + +WXVER=$3 + +echo About to archive wxAll: +echo From $1 +echo To $2 +echo CTRL-C if this is not correct. +read dummy + +cd $1 + +echo Removing backup files... +rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~ + +rm -f $2/wxX11-${WXVER}*.tar.gz +rm -f $2/wxX11-${WXVER} + +### wxX11: combined wxMotif and wxX11 distributions +cd $1 +cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/univ.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxx11_in.txt +expandlines /tmp/wxx11_in.txt /tmp/wxx11.txt +$TAR cf $2/wxX11-${WXVER}.tar -T /tmp/wxx11.txt + +echo Re-tarring wxX11 in a subdirectory... +cd $2 +mkdir wxX11-${WXVER} +cd wxX11-${WXVER} +$TAR xf ../wxX11-${WXVER}.tar +cd .. +rm -f wxX11-${WXVER}.tar +$TAR cf $2/wxX11-${WXVER}.tar wxX11-${WXVER}/* +rm -f -r wxX11-${WXVER} +gzip $2/wxX11-${WXVER}.tar + + diff --git a/distrib/msw/tmake/b32.t b/distrib/msw/tmake/b32.t index 5f0f0f5605..4201fc3f53 100644 --- a/distrib/msw/tmake/b32.t +++ b/distrib/msw/tmake/b32.t @@ -13,12 +13,20 @@ IncludeTemplate("filelist.t"); #! now transform these hashes into $project tags - foreach $file (sort keys %wxGeneric) { - my $tag = ""; - next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/; + foreach $file (sort keys %wxUNIV) { + next if $wxUNIV{$file} =~ /\T\b/; $file =~ s/cp?p?$/obj/; - $project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " " + $obj = "\$(UNIVDIR)\\" . $file . " "; + $project{"WXUNIVOBJS"} .= "\$(MSWDIR)\\" . $file . " " + } + + foreach $file (sort keys %wxUNIV) { + next unless $wxUNIV{$file} =~ /\T\b/; + + $file =~ s/cp?p?$/obj/; + $obj = "\$(UNIVTHEMEDIR)\\" . $file . " "; + $project{"WXUNIVTHEMEOBJS"} .= "\$(MSWDIR)\\" . $file . " " } foreach $file (sort keys %wxHTML) { @@ -38,6 +46,7 @@ $project{"WXCOBJS"} .= $obj if $isCFile; } +#! MSW dir for native port foreach $file (sort keys %wxMSW) { next if $wxMSW{$file} =~ /\b16\b/; @@ -61,6 +70,57 @@ } $project{"WXCOBJS"} .= $obj if $isCFile; } + +#! Now do MSW dir for UNIV + foreach $file (sort keys %wxMSW) { + next unless $wxMSW{$file} =~ /\b(L|B)\b/; + +#! if ( $file =~ /^automtn/ ) { +#! #! comment in old makefile.b32 seems to imply that this file can not +#! #! be compiled with Borland (leads to crash in oleauto sample) +#! No longer true, at least for BC++ 5.2 +#! next; +#! } + + $isCFile = $file =~ /\.c$/; + + my $isOleObj = $wxMSW{$file} =~ /\bO\b/; + $file =~ s/cp?p?$/obj/; + my $obj = "\$(MSWDIR)\\" . $file . " "; + + $project{"WXMSWUNIVOBJS"} .= $obj; + if ( $isOleObj ) { + #! remember that this file is in ole subdir + $project{"WXOLEUNIVOBJS"} .= $obj; + } + $project{"WXCUNIVOBJS"} .= $obj if $isCFile; + } + +#! Generic Dir for Native Port + foreach $file (sort keys %wxGeneric) { + my $tag = ""; + next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/; + + $file =~ s/cp?p?$/obj/; + $project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " " + } + +#! Generic Dir for UNIV Port + foreach $file (sort keys %wxGeneric) { + my $filereal = $file; + if ( $file =~ /^([^.]+)g.cpp$/ ) { + $filereal = "$1.cpp"; + } + $file =~ s/cp?p?$/obj/; + $filereal =~ s/cp?p?$/obj/; + + next if $project{"WXMSWUNIVOBJS"} =~ /\b$filereal\b/ || + $project{"WXUNIVOBJS"} =~ /\b$filereal\b/; + + + $project{"WXGENERICUNIVOBJS"} .= "\$(MSWDIR)\\" . $file . " " + } + #$} # This file was automatically generated by tmake @@ -87,6 +147,7 @@ WXDIR = $(WXWIN) THISDIR = $(WXDIR)\src\msw + # Set all these to 1 if you want to build a dynamic library !if "$(DLL)" == "1" WXMAKINGDLL=1 @@ -128,31 +189,35 @@ GENDIR=..\generic COMMDIR=..\common HTMLDIR=..\html OLEDIR=.\ole +UNIVDIR=..\univ +UNIVTHEMEDIR=..\univ\themes MSWDIR=. DOCDIR = $(WXDIR)\docs GENERICOBJS= #$ ExpandList("WXGENERICOBJS"); -# Not needed: -# $(MSWDIR)\colrdlgg.obj \ -# $(MSWDIR)\fontdlgg.obj \ -# $(MSWDIR)\msgdlgg.obj \ -# $(MSWDIR)\printps.obj \ -# $(MSWDIR)\prntdlgg.obj \ -# $(MSWDIR)\listctrl.obj \ -# $(MSWDIR)\notebook.obj \ -# $(MSWDIR)\treectrl.obj +MSWOBJS = #$ ExpandList("WXMSWOBJS"); -COMMONOBJS = \ - $(MSWDIR)\y_tab.obj \ - #$ ExpandList("WXCOMMONOBJS"); +GENERICUNIVOBJS= #$ ExpandList("WXGENERICUNIVOBJS"); -MSWOBJS = #$ ExpandList("WXMSWOBJS"); +MSWUNIVOBJS = #$ ExpandList("WXMSWUNIVOBJS"); + +UNIVOBJS = #$ ExpandList("WXUNIVOBJS"); + +UNIVTHEMEOBJS = #$ ExpandList("WXUNIVTHEMEOBJS"); HTMLOBJS = #$ ExpandList("WXHTMLOBJS"); +COMMONOBJS = \ + $(MSWDIR)\y_tab.obj \ + #$ ExpandList("WXCOMMONOBJS"); + +!if "$(WXUSINGUNIV)" == "1" +OBJECTS = $(COMMONOBJS) $(GENERICUNIVOBJS) $(MSWUNIVOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS) +!else OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) +!endif default: wx @@ -168,7 +233,7 @@ makesetuph: # Copy include\wx\msw\setup.h to the architecture-specific location makearchsetuph: - copy $(WXDIR)\include\wx\msw\setup.h $(ARCHSETUPH) + copy $(SETUPSRCDIR)\setup.h $(ARCHSETUPH) cd $(WXDIR)\src\msw $(ARCHINCDIR)\wx: @@ -219,6 +284,27 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c # $(OBJECTS): $(WXDIR)\include\wx\setup.h +!if "$(WXUSINGUNIV)" == "1" +######################################################## +# MSW objects (compile Native or UNIV) - UNIV + +#${ + $_ = $project{"WXMSWUNIVOBJS"}; + my @objs = split; + foreach (@objs) { + $text .= $_ . ": "; + if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/MSWDIR/OLEDIR/; } + $suffix = $project{"WXCUNIVOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)'; + s/obj$/$suffix/; + $text .= $_ . "\n\n"; + } +#$} + + +!else +######################################################## +# MSW objects (compile Native or UNIV) - Native + #${ $_ = $project{"WXMSWOBJS"}; my @objs = split; @@ -230,6 +316,38 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c $text .= $_ . "\n\n"; } #$} +!endif + +!if "$(WXUSINGUNIV)" == "1" +######################################################## +# UNIV objects +#${ + $_ = $project{"WXUNIVOBJS"}; + my @objs = split; + foreach (@objs) { + $text .= $_ . ": "; + s/MSWDIR/UNIVDIR/; + s/obj$/\$(SRCSUFF)/; + $text .= $_ . "\n\n"; + } +#$} + + +######################################################## +# UNIV THEME objects + +#${ + $_ = $project{"WXUNIVTHEMEOBJS"}; + my @objs = split; + foreach (@objs) { + $text .= $_ . ": "; + s/MSWDIR/UNIVTHEMEDIR/; + s/obj$/\$(SRCSUFF)/; + $text .= $_ . "\n\n"; + } +#$} + +!endif ######################################################## # Common objects (always compiled) @@ -246,9 +364,29 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c } #$} +!if "$(WXUSINGUNIV)" == "1" +######################################################## +# Generic objects (not always compiled, depending on +# whether platforms have native implementations) +# Native + + +#${ + $_ = $project{"WXGENERICUNIVOBJS"}; + my @objs = split; + foreach (@objs) { + $text .= $_ . ": "; + s/MSWDIR/GENDIR/; + s/obj$/\$(SRCSUFF)/; + $text .= $_ . "\n\n"; + } +#$} + +!else ######################################################## # Generic objects (not always compiled, depending on # whether platforms have native implementations) +# Native #${ $_ = $project{"WXGENERICOBJS"}; @@ -260,6 +398,7 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c $text .= $_ . "\n\n"; } #$} +!endif ######################################################## # HTML objects (always compiled) @@ -293,7 +432,7 @@ all_execs: png: $(CFG) cd $(WXDIR)\src\png - ${MAKE} -f makefile.b32 + ${MAKE} -f makefile.b32 FINAL=$(FINAL) cd $(WXDIR)\src\msw clean_png: @@ -303,7 +442,7 @@ clean_png: zlib: $(CFG) cd $(WXDIR)\src\zlib - ${MAKE} -f makefile.b32 lib + ${MAKE} -f makefile.b32 FINAL=$(FINAL) lib cd $(WXDIR)\src\msw clean_zlib: @@ -313,7 +452,7 @@ clean_zlib: jpeg: $(CFG) cd $(WXDIR)\src\jpeg - ${MAKE} -f makefile.b32 + ${MAKE} -f makefile.b32 FINAL=$(FINAL) cd $(WXDIR)\src\msw clean_jpeg: @@ -323,7 +462,7 @@ clean_jpeg: regex: $(CFG) cd $(WXDIR)\src\regex - ${MAKE} -f makefile.b32 lib + ${MAKE} -f makefile.b32 FINAL=$(FINAL) lib cd $(WXDIR)\src\msw clean_regex: @@ -333,7 +472,7 @@ clean_regex: tiff: $(CFG) cd $(WXDIR)\src\tiff - ${MAKE} -f makefile.b32 lib + ${MAKE} -f makefile.b32 FINAL=$(FINAL) lib cd $(WXDIR)\src\msw clean_tiff: @@ -360,7 +499,7 @@ $(CFG): makefile.b32 -L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk -D__WXWIN__ --D__WXMSW__ +-D$(PORT) -D__WINDOWS__ -DWIN32 $(OPT) diff --git a/distrib/msw/tmake/b32base.t b/distrib/msw/tmake/b32base.t index c80f5de01d..9366f8c9e9 100644 --- a/distrib/msw/tmake/b32base.t +++ b/distrib/msw/tmake/b32base.t @@ -85,8 +85,8 @@ wxUSE_GUI=0 !include $(WXDIR)\src\makeb32.env PERIPH_LIBS= -PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET) +PERIPH_TARGET=zlib regex $(PERIPH_TARGET) +PERIPH_CLEAN_TARGET=clean_zlib clean_regex $(PERIPH_CLEAN_TARGET) !if "$(DLL)" == "0" DUMMY=dummy @@ -106,7 +106,6 @@ MSWDIR=. DOCDIR = $(WXDIR)\docs COMMONOBJS = \ - $(MSWDIR)\y_tab.obj \ #$ ExpandList("WXCOMMONOBJS"); MSWOBJS = #$ ExpandList("WXMSWOBJS"); @@ -164,19 +163,6 @@ dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\includ version.res: brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc -$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c - -# cl @<< -# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ -# << - -$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c - copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c - -$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c - copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c - - #${ $_ = $project{"WXMSWOBJS"}; my @objs = split; @@ -305,8 +291,6 @@ clean: $(PERIPH_CLEAN_TARGET) -erase *.pch -erase *.csm -erase "wx32.#??" - -erase ..\common\y_tab.c - -erase ..\common\lex_yy.c cleanall: clean diff --git a/distrib/msw/tmake/b32univ.t b/distrib/msw/tmake/b32univ.t deleted file mode 100644 index 65220c2419..0000000000 --- a/distrib/msw/tmake/b32univ.t +++ /dev/null @@ -1,722 +0,0 @@ -#!############################################################################# -#! File: b32.t -#! Purpose: tmake template file from which makefile.b32 is generated by running -#! tmake -t b32 wxwin.pro -#! Author: Vadim Zeitlin -#! Created: 14.07.99 -#! Version: $Id$ -#!############################################################################# - -#${ - #! include the code which parses filelist.txt file and initializes - #! %wxCommon, %wxGeneric and %wxMSW hashes. - IncludeTemplate("filelist.t"); - - #! now transform these hashes into $project tags - - foreach $file (sort keys %wxUNIV) { - next if $wxUNIV{$file} =~ /\T\b/; - - $file =~ s/cp?p?$/obj/; - $obj = "\$(UNIVDIR)\\" . $file . " "; - $project{"WXUNIVOBJS"} .= "\$(MSWDIR)\\" . $file . " " - } - - foreach $file (sort keys %wxUNIV) { - next unless $wxUNIV{$file} =~ /\T\b/; - - $file =~ s/cp?p?$/obj/; - $obj = "\$(UNIVTHEMEDIR)\\" . $file . " "; - $project{"WXUNIVTHEMEOBJS"} .= "\$(MSWDIR)\\" . $file . " " - } - - foreach $file (sort keys %wxHTML) { - next if $wxHTML{$file} =~ /\b16\b/; - - $file =~ s/cp?p?$/obj/; - $project{"WXHTMLOBJS"} .= "\$(MSWDIR)\\" . $file . " " - } - - foreach $file (sort keys %wxCommon) { - next if $wxCommon{$file} =~ /\b(16|U)\b/; - - $isCFile = $file =~ /\.c$/; - $file =~ s/cp?p?$/obj/; - $obj = "\$(MSWDIR)\\" . $file . " "; - $project{"WXCOMMONOBJS"} .= $obj; - $project{"WXCOBJS"} .= $obj if $isCFile; - } - - foreach $file (sort keys %wxMSW) { - next unless $wxMSW{$file} =~ /\b(L|B)\b/; - -#! if ( $file =~ /^automtn/ ) { -#! #! comment in old makefile.b32 seems to imply that this file can not -#! #! be compiled with Borland (leads to crash in oleauto sample) -#! No longer true, at least for BC++ 5.2 -#! next; -#! } - - $isCFile = $file =~ /\.c$/; - - my $isOleObj = $wxMSW{$file} =~ /\bO\b/; - $file =~ s/cp?p?$/obj/; - my $obj = "\$(MSWDIR)\\" . $file . " "; - - $project{"WXMSWOBJS"} .= $obj; - if ( $isOleObj ) { - #! remember that this file is in ole subdir - $project{"WXOLEOBJS"} .= $obj; - } - $project{"WXCOBJS"} .= $obj if $isCFile; - } - - foreach $file (sort keys %wxGeneric) { - my $filereal = $file; - if ( $file =~ /^([^.]+)g.cpp$/ ) { - $filereal = "$1.cpp"; - } - $file =~ s/cp?p?$/obj/; - $filereal =~ s/cp?p?$/obj/; - - next if $project{"WXMSWOBJS"} =~ /\b$filereal\b/ || - $project{"WXUNIVOBJS"} =~ /\b$filereal\b/; - - - $project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " " - } - -#$} - -# This file was automatically generated by tmake -# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T! - -# -# File: makefile.b32 -# Author: Julian Smart -# Created: 1998 -# Updated: -# Copyright: -# -# "%W% %G%" -# -# Makefile : Builds wxWindows library wx.lib for MS Windows, -# and Borland C++ (32-bit). - -# BCCDIR now defined in ../makeb32.env - -!if "$(WXWIN)" == "" -!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx -!endif - -WXDIR = $(WXWIN) -THISDIR = $(WXDIR)\src\msw - -# Set all these to 1 if you want to build a dynamic library -!if "$(DLL)" == "1" -WXMAKINGDLL=1 -WXBUILDDLL=1 -!endif - -!include $(WXDIR)\src\makeb32.env - -# Please set these according to the settings in wx_setup.h, so we can include -# the appropriate libraries in wx.lib -USE_CTL3D=0 - -PERIPH_LIBS= -PERIPH_TARGET= -PERIPH_CLEAN_TARGET= - -!if "$(USE_CTL3D)" == "1" -#Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman) -PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS) -PERIPH_TARGET=ctl3d $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET) -!endif - -#PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\jpeg.lib $(WXDIR)\lib\tiff.lib $(PERIPH_LIBS) -PERIPH_LIBS= -PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET) - -!if "$(DLL)" == "0" -DUMMY=dummy -!else -DUMMY=dummydll -LIBS= cw32mti import32 ole2w32 odbc32 zlib winpng jpeg tiff regex -!endif - -LIBTARGET=$(WXLIB) - -GENDIR=..\generic -COMMDIR=..\common -HTMLDIR=..\html -OLEDIR=.\ole -UNIVDIR=..\univ -UNIVTHEMEDIR=..\univ\themes -MSWDIR=. - -DOCDIR = $(WXDIR)\docs - -GENERICOBJS= #$ ExpandList("WXGENERICOBJS"); - -# Not needed: -# $(MSWDIR)\colrdlgg.obj \ -# $(MSWDIR)\fontdlgg.obj \ -# $(MSWDIR)\msgdlgg.obj \ -# $(MSWDIR)\printps.obj \ -# $(MSWDIR)\prntdlgg.obj \ -# $(MSWDIR)\listctrl.obj \ -# $(MSWDIR)\notebook.obj \ -# $(MSWDIR)\treectrl.obj - -COMMONOBJS = \ - $(MSWDIR)\y_tab.obj \ - #$ ExpandList("WXCOMMONOBJS"); - -MSWOBJS = #$ ExpandList("WXMSWOBJS"); - -HTMLOBJS = #$ ExpandList("WXHTMLOBJS"); - -UNIVOBJS = #$ ExpandList("WXUNIVOBJS"); - -UNIVTHEMEOBJS = #$ ExpandList("WXUNIVTHEMEOBJS"); - -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS) - -default: wx - -wx: $(ARCHINCDIR)\wx makesetuph makearchsetuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) - -all: wx - -# Copy the in-CVS setup0.h to setup.h if necessary -makesetuph: - cd $(WXDIR)\include\wx\msw - if not exist setup.h copy setup0.h setup.h - cd $(WXDIR)\src\msw - -# Copy include\wx\univ\setup.h to the architecture-specific location -makearchsetuph: - copy $(WXDIR)\include\wx\univ\setup.h $(ARCHSETUPH) - cd $(WXDIR)\src\msw - -$(ARCHINCDIR)\wx: - -mkdir $(ARCHINCDIR) - -mkdir $(ARCHINCDIR)\wx - -!if "$(DLL)" == "0" - -$(LIBTARGET): $(DUMMY).obj $(OBJECTS) - -erase $(LIBTARGET) - tlib "$(LIBTARGET)" /P1024 @&&! -+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) -! - -!else - -$(LIBTARGET): $(DUMMY).obj $(OBJECTS) - -erase $(LIBTARGET) - -erase $(WXLIBDIR)\wx.dll - $(LINK) $(LINK_FLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk /v @&&! -c0d32.obj $(OBJECTS) -$(WXLIBDIR)\wx -nul -$(PERIPH_LIBS) $(LIBS) -wxb32 -! - -erase $(WXLIBDIR)\version.res - brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc - implib -c $(LIBTARGET) $(WXLIBDIR)\wx.dll - -!endif - -dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h -dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res - -$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c - -# cl @<< -# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ -# << - -$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c - copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c - -$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c - copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c - -# $(OBJECTS): $(WXDIR)\include\wx\setup.h - -#${ - $_ = $project{"WXMSWOBJS"}; - my @objs = split; - foreach (@objs) { - $text .= $_ . ": "; - if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/MSWDIR/OLEDIR/; } - $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)'; - s/obj$/$suffix/; - $text .= $_ . "\n\n"; - } -#$} - -######################################################## -# Common objects (always compiled) - -#${ - $_ = $project{"WXCOMMONOBJS"}; - my @objs = split; - foreach (@objs) { - $text .= $_ . ": "; - $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)'; - s/MSWDIR/COMMDIR/; - s/obj$/$suffix/; - $text .= $_ . "\n\n"; - } -#$} - -######################################################## -# Generic objects (not always compiled, depending on -# whether platforms have native implementations) - -#${ - $_ = $project{"WXGENERICOBJS"}; - my @objs = split; - foreach (@objs) { - $text .= $_ . ": "; - s/MSWDIR/GENDIR/; - s/obj$/\$(SRCSUFF)/; - $text .= $_ . "\n\n"; - } -#$} - -######################################################## -# HTML objects (always compiled) - -#${ - $_ = $project{"WXHTMLOBJS"}; - my @objs = split; - foreach (@objs) { - $text .= $_ . ": "; - s/MSWDIR/HTMLDIR/; - s/obj$/\$(SRCSUFF)/; - $text .= $_ . "\n\n"; - } -#$} - - -######################################################## -# UNIV objects (always compiled) - -#${ - $_ = $project{"WXUNIVOBJS"}; - my @objs = split; - foreach (@objs) { - $text .= $_ . ": "; - s/MSWDIR/UNIVDIR/; - s/obj$/\$(SRCSUFF)/; - $text .= $_ . "\n\n"; - } -#$} - - -######################################################## -# UNIV THEME objects (always compiled) - -#${ - $_ = $project{"WXUNIVTHEMEOBJS"}; - my @objs = split; - foreach (@objs) { - $text .= $_ . ": "; - s/MSWDIR/UNIVTHEMEDIR/; - s/obj$/\$(SRCSUFF)/; - $text .= $_ . "\n\n"; - } -#$} - - -all_utils: - cd $(WXDIR)\utils - make -f makefile.b32 - cd $(WXDIR)\src\msw - -all_samples: - cd $(WXDIR)\samples - make -f makefile.b32 - cd $(WXDIR)\src\msw - -all_execs: - cd $(WXDIR)\utils - make -f makefile.b32 all_execs - cd $(WXDIR)\src\msw - -png: $(CFG) - cd $(WXDIR)\src\png - make -f makefile.b32 - cd $(WXDIR)\src\msw - -clean_png: - cd $(WXDIR)\src\png - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -zlib: $(CFG) - cd $(WXDIR)\src\zlib - make -f makefile.b32 lib - cd $(WXDIR)\src\msw - -clean_zlib: - cd $(WXDIR)\src\zlib - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -jpeg: $(CFG) - cd $(WXDIR)\src\jpeg - make -f makefile.b32 - cd $(WXDIR)\src\msw - -clean_jpeg: - cd $(WXDIR)\src\jpeg - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -regex: $(CFG) - cd $(WXDIR)\src\regex - make -f makefile.b32 lib - cd $(WXDIR)\src\msw - -clean_regex: - cd $(WXDIR)\src\regex - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -tiff: $(CFG) - cd $(WXDIR)\src\tiff - make -f makefile.b32 lib - cd $(WXDIR)\src\msw - -clean_tiff: - cd $(WXDIR)\src\tiff - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -$(CFG): makeuniv.b32 - copy &&! --Hc --H=$(WXDIR)\src\msw\wx32.csm --3 --d --a1 # byte alignment --R- --X --w-par --w-aus --w-hid # virtual function A hides virtual function B --tWM - --I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff --I$(WXDIR)\include\wx\msw\gnuwin32 - --L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk --D__WXWIN__ --D__WINDOWS__ --D__WXUNIVERSAL__ --D_WIN32 --DWIN32 -$(OPT) -$(DEBUG_FLAGS) -$(WIN95FLAG) -! $(CFG) - -clean: $(PERIPH_CLEAN_TARGET) - -erase $(LIBTARGET) - -erase $(WXLIBDIR)\wx.dll - -erase $(WXLIBDIR)\wx.tds - -erase $(WXLIBDIR)\wx.il? - -erase *.obj - -erase *.pch - -erase *.csm - -erase *.cfg - -erase "wx32.#??" - -erase ..\common\y_tab.c - -erase ..\common\lex_yy.c - -cleanall: clean - - -# Making documents -docs: allhlp allhtml allpdfrtf -alldocs: docs -hlp: wxhlp portinghlp -wxhlp: $(DOCDIR)/winhelp/wx.hlp -prophlp: $(DOCDIR)/winhelp/prop.hlp -refhlp: $(DOCDIR)/winhelp/techref.hlp -rtf: $(DOCDIR)/winhelp/wx.rtf -proprtf: $(DOCDIR)/winhelp/prop.rtf -pdfrtf: $(DOCDIR)/pdf/wx.rtf -proppdfrtf: $(DOCDIR)/pdf/prop.rtf -refpdfrtf: $(DOCDIR)/pdf/techref.rtf -html: wxhtml portinghtml -wxhtml: $(DOCDIR)\html\wx\wx.htm -htmlhelp: $(DOCDIR)\html\wx\wx.chm -prophtml: $(DOCDIR)\html\proplist\prop.htm -ps: wxps referencps -wxps: $(WXDIR)\docs\ps\wx.ps -propps: $(WXDIR)\docs\ps\prop.ps -referencps: $(WXDIR)\docs\ps\referenc.ps - -portinghtml: $(DOCDIR)\html\porting\port.htm -portingrtf: $(DOCDIR)/winhelp/porting.rtf -portinghlp: $(DOCDIR)/winhelp/porting.hlp -portingpdfrtf: $(DOCDIR)/pdf/porting.rtf -portingps: $(WXDIR)\docs\ps\porting.ps - -allhlp: wxhlp portinghlp prophlp - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 hlp - cd $(THISDIR) - -# cd $(WXDIR)\utils\wxhelp\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\tex2rtf\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxgraph\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxchart\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxtree\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxbuild\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxgrid\src -# make -f makefile.b32 hlp - -allhtml: wxhtml portinghtml prophtml - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 html - cd $(THISDIR) - -# make -f makefile.b32 html -# cd $(WXDIR)\utils\dialoged\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\hytext\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxhelp\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\tex2rtf\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxgraph\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxchart\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxtree\src -# make -f makefile.b32 html - -allps: wxps referencps portingps propps - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 ps - cd $(THISDIR) - -allpdfrtf: pdfrtf portingpdfrtf proppdfrtf - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 pdfrtf - cd $(THISDIR) - -# cd $(WXDIR)\utils\wxhelp\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\tex2rtf\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\wxgraph\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\wxchart\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\wxtree\src -# make -f makefile.b32 ps -# cd $(THISDIR) - -$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj - cd $(DOCDIR)/latex/wx - -erase wx.ph - hc wx - move wx.hlp $(DOCDIR)\winhelp\wx.hlp - move wx.cnt $(DOCDIR)\winhelp\wx.cnt - cd $(THISDIR) - -$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj - cd $(DOCDIR)/latex/porting - -erase porting.ph - hc porting - move porting.hlp $(DOCDIR)\winhelp\porting.hlp - move porting.cnt $(DOCDIR)\winhelp\porting.cnt - cd $(THISDIR) - -$(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj - cd $(DOCDIR)/latex/proplist - -erase prop.ph - hc prop - move prop.hlp $(DOCDIR)\winhelp\prop.hlp - move prop.cnt $(DOCDIR)\winhelp\prop.cnt - cd $(THISDIR) - -$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj - cd $(DOCDIR)/latex/techref - -erase techref.ph - hc techref - move techref.hlp $(DOCDIR)\winhelp\techref.hlp - move techref.cnt $(DOCDIR)\winhelp\techref.cnt - cd $(THISDIR) - -$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex - cd $(DOCDIR)\latex\wx - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex - cd $(DOCDIR)\latex\porting - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/latex/proplist/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex - cd $(DOCDIR)\latex\proplist - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex - cd $(DOCDIR)\latex\techref - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex - cd $(DOCDIR)\latex\wx - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex - cd $(DOCDIR)\latex\porting - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex - cd $(DOCDIR)\latex\proplist - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex - cd $(DOCDIR)\latex\techref - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex - cd $(DOCDIR)\latex\wx - -mkdir $(DOCDIR)\html\wx - -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html - -erase $(DOCDIR)\html\wx\*.con - -erase $(DOCDIR)\html\wx\*.ref - -erase $(DOCDIR)\latex\wx\*.con - -erase $(DOCDIR)\latex\wx\*.ref - cd $(THISDIR) - -$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp - cd $(DOCDIR)\html\wx - -hhc wx.hhp - cd $(THISDIR) - - -$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex - cd $(DOCDIR)\latex\porting - -mkdir $(DOCDIR)\html\porting - -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html - -erase $(DOCDIR)\html\porting\*.con - -erase $(DOCDIR)\html\porting\*.ref - -erase $(DOCDIR)\latex\porting\*.con - -erase $(DOCDIR)\latex\porting\*.ref - cd $(THISDIR) - -$(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex - cd $(DOCDIR)\latex\proplist - -mkdir $(DOCDIR)\html\proplist - -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html - -erase $(DOCDIR)\html\proplist\*.con - -erase $(DOCDIR)\html\proplist\*.ref - -erase $(DOCDIR)\latex\proplist\*.con - -erase $(DOCDIR)\latex\proplist\*.ref - cd $(THISDIR) - -$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex - cd $(WXDIR)\docs\latex\wx - -latex manual - -latex manual - -makeindx manual - -bibtex manual - -latex manual - -latex manual - cd $(THISDIR) - -$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex - cd $(WXDIR)\docs\latex\porting - -latex porting - -latex porting - -makeindx porting - -bibtex porting - -latex porting - -latex porting - cd $(THISDIR) - -$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi - cd $(WXDIR)\docs\latex\wx - -dvips32 -o wx.ps manual - move wx.ps $(WXDIR)\docs\ps\wx.ps - cd $(THISDIR) - -$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi - cd $(WXDIR)\docs\latex\porting - -dvips32 -o porting.ps porting - move porting.ps $(WXDIR)\docs\ps\porting.ps - cd $(THISDIR) - -$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex - cd $(WXDIR)\docs\latex\wx - -latex referenc - -latex referenc - -makeindx referenc - -bibtex referenc - -latex referenc - -latex referenc - cd $(THISDIR) - -$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi - cd $(WXDIR)\docs\latex\wx - -dvips32 -o referenc.ps referenc - move referenc.ps $(WXDIR)\docs\ps\referenc.ps - cd $(THISDIR) - -# In order to force document reprocessing -touchmanual: - -touch $(WXDIR)\docs\latex\wx\manual.tex - -updatedocs: touchmanual alldocs - -# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the -# Office StartUp folder, and PDFMaker should be installed. -updatepdf: # touchmanual pdfrtf - start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF" - - -MFTYPE=b32 -# Can't use this or we'll have to distribute all tmake files with wxWindows -# makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t - -self: - cd $(WXWIN)\distrib\msw\tmake - tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) - copy makefile.$(MFTYPE) $(WXWIN)\src\msw - diff --git a/distrib/msw/tmake/filelist.t b/distrib/msw/tmake/filelist.t index 5ad041fd2d..c4d9540fa4 100644 --- a/distrib/msw/tmake/filelist.t +++ b/distrib/msw/tmake/filelist.t @@ -97,6 +97,8 @@ $wxGTKINCLUDE{$filename} = $fileflags; } elsif ( $filetype eq "OS2H" ) { $wxOS2PMINCLUDE{$filename} = $fileflags; + } elsif ( $filetype eq "MGLH" ) { + $wxMGLINCLUDE{$filename} = $fileflags; } elsif ( $filetype eq "X11H" ) { $wxX11INCLUDE{$filename} = $fileflags; } elsif ( $filetype eq "UnivH" ) { diff --git a/distrib/msw/tmake/filelist.txt b/distrib/msw/tmake/filelist.txt index e38f4ced4a..afb753fd9a 100644 --- a/distrib/msw/tmake/filelist.txt +++ b/distrib/msw/tmake/filelist.txt @@ -30,6 +30,7 @@ # MotifH /include/wx/motif # MSWH /include/wx/msw # OS2H /include/wx/os2 +# MGLH /include/wx/mgl # X11H /include/wx/x11 # GenericH /include/wx/generic # HtmlH /include/wx/html @@ -90,7 +91,7 @@ imaglist.cpp Generic NotWin32 laywin.cpp Generic listctrl.cpp Generic NotWin32 logg.cpp Generic -mdig.cpp Generic NotWin32,NotGTK,NotOS2,NotMac +mdig.cpp Generic NotWin32,NotGTK,NotMac msgdlgg.cpp Generic Generic notebook.cpp Generic NotWin32,NotGTK,NotOS2,NotMGL,NotX11,NotMac,NotMicro numdlgg.cpp Generic @@ -294,7 +295,9 @@ enhmeta.cpp MSW Win32Only helpbest.cpp MSW Win32Only evtloop.cpp MSW LowLevel fdrepdlg.cpp MSW Win32Only -filedlg.cpp MSW +# FIXME: the generic implementation doesn't work under MSW, so we must +# the native dialog under MSW +filedlg.cpp MSW LowLevel font.cpp MSW LowLevel fontdlg.cpp MSW fontenum.cpp MSW LowLevel @@ -687,12 +690,10 @@ iniconf.cpp OS2 joystick.cpp OS2 listbox.cpp OS2 main.cpp OS2 -mdi.cpp OS2 menu.cpp OS2 menuitem.cpp OS2 metafile.cpp OS2 mimetype.cpp OS2 -minifram.cpp OS2 msgdlg.cpp OS2 nativdlg.cpp OS2 notebook.cpp OS2 @@ -745,7 +746,6 @@ m_list.cpp HTML m_dflist.cpp HTML m_pre.cpp HTML m_tables.cpp HTML -m_meta.cpp HTML m_style.cpp HTML htmprint.cpp HTML @@ -1230,6 +1230,28 @@ textctrl.h X11H toplevel.h X11H window.h X11H +app.h MGLH +bitmap.h MGLH +brush.h MGLH +clipbrd.h MGLH +colour.h MGLH +cursor.h MGLH +dc.h MGLH +dcclient.h MGLH +dcmemory.h MGLH +dcscreen.h MGLH +font.h MGLH +fontutil.h MGLH +gdiobj.h MGLH +icon.h MGLH +palette.h MGLH +pen.h MGLH +popupwin.h MGLH +private.h MGLH +region.h MGLH +toplevel.h MGLH +window.h MGLH + accel.h MSWH app.h MSWH bitmap.h MSWH @@ -1267,7 +1289,7 @@ fontdlg.h MSWH frame.h MSWH gauge95.h MSWH gaugemsw.h MSWH -gccpriv.h MSWH +gccpriv.h MSWH Base gdiimage.h MSWH gdiobj.h MSWH glcanvas.h MSWH @@ -1392,7 +1414,6 @@ dialog.h OS2H radiobox.h OS2H toolbar.h OS2H checkbox.h OS2H -mdi.h OS2H radiobut.h OS2H tooltip.h OS2H checklst.h OS2H @@ -1479,7 +1500,7 @@ helphtml.h GenericH imaglist.h GenericH laywin.h GenericH listctrl.h GenericH NotWin32 -mdig.h GenericH NotWin32,NotGTK,NotOS2,NotMac +mdig.h GenericH NotWin32,NotGTK,NotMac msgdlgg.h GenericH notebook.h GenericH paletteg.h GenericH NotMSW,NotX,NotX11,NotOS2 diff --git a/distrib/msw/tmake/g95.t b/distrib/msw/tmake/g95.t index 7fb2d7fd44..f1c494ef52 100644 --- a/distrib/msw/tmake/g95.t +++ b/distrib/msw/tmake/g95.t @@ -343,9 +343,12 @@ $(ARCHINCDIR)/wx: mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)) mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx) +# Copy ALWAYS uses forward slashes now. + $(SETUP_H): $(ARCHINCDIR)/wx - $(COPY) $(WXDIR)/include/wx/msw/setup.h $@ + $(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@) +# $(COPY) $(WXDIR)/include/wx/msw/setup.h $@ # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@) ifndef WXMAKINGDLL diff --git a/distrib/msw/tmake/gtk.t b/distrib/msw/tmake/gtk.t index 0c2ea827de..798d035553 100644 --- a/distrib/msw/tmake/gtk.t +++ b/distrib/msw/tmake/gtk.t @@ -13,8 +13,6 @@ IncludeTemplate("filelist.t"); #! find all our sources - $project{"COMMONOBJS"} .= "parser.o "; - foreach $file (sort keys %wxGeneric) { next if $wxGeneric{$file} =~ /\bNotGTK\b/; diff --git a/distrib/msw/tmake/mac.t b/distrib/msw/tmake/mac.t index 6e7bd9b304..0315d6af52 100644 --- a/distrib/msw/tmake/mac.t +++ b/distrib/msw/tmake/mac.t @@ -13,7 +13,6 @@ IncludeTemplate("filelist.t"); #! find all our sources - $project{"COMMONOBJS"} .= "parser.o "; #! MoreFiles sources $project{"GUIOBJS"} .= "DirectoryCopy.o "; $project{"GUIOBJS"} .= "FSpCompat.o "; diff --git a/distrib/msw/tmake/mgl.t b/distrib/msw/tmake/mgl.t index af07954f30..56da38c497 100644 --- a/distrib/msw/tmake/mgl.t +++ b/distrib/msw/tmake/mgl.t @@ -13,7 +13,6 @@ IncludeTemplate("filelist.t"); #! find all our sources - $project{"COMMONOBJS"} .= "parser.o "; foreach $file (sort keys %wxGeneric) { next if $wxGeneric{$file} =~ /\bNotMGL\b/; diff --git a/distrib/msw/tmake/motif.t b/distrib/msw/tmake/motif.t index dbca7fc9e5..9cc31f2883 100644 --- a/distrib/msw/tmake/motif.t +++ b/distrib/msw/tmake/motif.t @@ -13,7 +13,6 @@ IncludeTemplate("filelist.t"); #! find all our sources - $project{"COMMONOBJS"} .= "parser.o "; $project{"GUIOBJS"} .= "xmcombo.o "; foreach $file (sort keys %wxGeneric) { diff --git a/distrib/msw/tmake/msw.t b/distrib/msw/tmake/msw.t index cfdd651f73..32681accc9 100644 --- a/distrib/msw/tmake/msw.t +++ b/distrib/msw/tmake/msw.t @@ -13,8 +13,6 @@ IncludeTemplate("filelist.t"); #! find all our sources - $project{"COMMONOBJS"} .= "parser.o "; - foreach $file (sort keys %wxGeneric) { next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/; diff --git a/distrib/msw/tmake/vc.t b/distrib/msw/tmake/vc.t index b594d5d854..983890a164 100644 --- a/distrib/msw/tmake/vc.t +++ b/distrib/msw/tmake/vc.t @@ -589,19 +589,26 @@ $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/ -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf cd $(THISDIR) +# This target does two sets of HTML: one using a style sheet, for +# the purposes of the CHM file, and one without. $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex cd $(DOCDIR)\latex\wx -mkdir $(DOCDIR)\html\wx copy *.gif $(DOCDIR)\html\wx -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html + -mkdir $(DOCDIR)\mshtml + -mkdir $(DOCDIR)\mshtml\wx + copy *.gif $(DOCDIR)\mshtml\wx + -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini -erase $(DOCDIR)\html\wx\*.con -erase $(DOCDIR)\html\wx\*.ref -erase $(DOCDIR)\latex\wx\*.con -erase $(DOCDIR)\latex\wx\*.ref cd $(THISDIR) -$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp - cd $(DOCDIR)\html\wx +$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.hhp + cd $(DOCDIR)\mshtml\wx + copy $(DOCDIR)\latex\wx\wx.css . -hhc wx.hhp -mkdir ..\..\htmlhelp -erase $(DOCDIR)\htmlhelp\wx.chm diff --git a/distrib/msw/tmake/vc6app.t b/distrib/msw/tmake/vc6app.t index 39ff9c463e..9ceace9bb1 100644 --- a/distrib/msw/tmake/vc6app.t +++ b/distrib/msw/tmake/vc6app.t @@ -49,7 +49,7 @@ } else { $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application'; $project{"VC_PROJ_CODE"} = '0x0103'; - $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib '; + $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib shell32.lib '; if ( Config("wx") ) { $vc_base_libs .= 'wsock32.lib '; } diff --git a/distrib/msw/tmake/x11.t b/distrib/msw/tmake/x11.t index f493412685..fd4ebb3957 100644 --- a/distrib/msw/tmake/x11.t +++ b/distrib/msw/tmake/x11.t @@ -13,8 +13,6 @@ IncludeTemplate("filelist.t"); #! find all our sources - $project{"COMMONOBJS"} .= "parser.o "; - foreach $file (sort keys %wxX11) { ($fileobj = $file) =~ s/cp?p?$/\o/; diff --git a/distrib/msw/vc.rsp b/distrib/msw/vc.rsp index 940fdff5ba..42254c1616 100644 --- a/distrib/msw/vc.rsp +++ b/distrib/msw/vc.rsp @@ -285,6 +285,8 @@ utils/helpgen/src/HelpGenVC.dsw utils/helpview/src/helpview.dsp utils/helpview/src/helpview.dsw +utils/helpview/src/client.dsp +utils/helpview/src/client.dsw contrib/src/ogl/OglVC.dsp contrib/src/ogl/OglVC.dsw diff --git a/distrib/msw/zipdistinno.bat b/distrib/msw/zipdistinno.bat index 6e044141e8..9040126a6e 100755 --- a/distrib/msw/zipdistinno.bat +++ b/distrib/msw/zipdistinno.bat @@ -7,7 +7,7 @@ set webfiles=c:\wx2dev\wxWebSite set inno=1 Rem Set this to the required version -set version=2.3.3 +set version=2.3.4 if "%src" == "" goto usage if "%dest" == "" goto usage @@ -45,7 +45,7 @@ if direxist %dest\wx erase /sxyz %dest\wx\ if not direxist %dest mkdir %dest if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version% -# Copy FAQ from wxWebSite CVS +Rem Copy FAQ from wxWebSite CVS if not direxist %webfiles% echo Error - %webfiles% does not exist if not direxist %webfiles% goto end echo Copying FAQ and other files from %webfiles @@ -56,6 +56,7 @@ copy %webfiles%\site\i18n.htm %src\docs\html Rem Copy setup0.h files to setup.h copy %src%\include\wx\os2\setup0.h %src%\include\wx\os2\setup.h copy %src%\include\wx\msw\setup0.h %src%\include\wx\msw\setup.h +copy %src%\include\wx\univ\setup0.h %src%\include\wx\univ\setup.h cd %src% echo Zipping... diff --git a/distrib/msw/zipmac.bat b/distrib/msw/zipmac.bat index 2d18635834..a50770e1af 100755 --- a/distrib/msw/zipmac.bat +++ b/distrib/msw/zipmac.bat @@ -5,7 +5,7 @@ set src=%wxwin% set dest=%src%\deliver Rem Set this to the required version -set version=2.3.1 +set version=2.3.4 if "%src%" == "" goto usage if "%dest%" == "" goto usage diff --git a/distrib/msw/zipwxmac.bat b/distrib/msw/zipwxmac.bat index 2ae9621a16..472d01ccd4 100755 --- a/distrib/msw/zipwxmac.bat +++ b/distrib/msw/zipwxmac.bat @@ -7,7 +7,7 @@ set webfiles=c:\wx2dev\wxWebSite set stuffit="c:\Program Files\Aladdin Systems\StuffIt 7.5\StuffIt.exe" Rem Set this to the required version -set version=2.3.3 +set version=2.3.4 if "%src" == "" goto usage if "%dest" == "" goto usage @@ -47,10 +47,10 @@ zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp erase /Y %src%\include\wx\setup.h -if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version% +if direxist %dest%\wxMac-%version% erase /sxyz %dest%\wxMac-%version% -mkdir %dest%\wxWindows-%version% -cd %dest%\wxWindows-%version% +mkdir %dest%\wxMac-%version% +cd %dest%\wxMac-%version% unzip32 ..\wxMac-%version%.zip erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\*.pdf erase /SXY docs\html\dialoged docs\html\tex2rtf @@ -58,7 +58,9 @@ erase /SXY docs\html\dialoged docs\html\tex2rtf cd %dest% erase wxMac-%version%.zip -zip32 -r wxMac-%version%.zip wxWindows-%version%/* +zip32 -r wxMac-%version%.zip wxMac-%version%/* + +erase /sxyz %dest%\wxMac-%version% Rem echo Making StuffIt archive... Rem set stuffitcmd=%stuffit% -stuff -create wxMac-%version%.sit wxWindows-%version%\* diff --git a/distrib/msw/zipwxos2.bat b/distrib/msw/zipwxos2.bat index 5aeb6a40da..079245d0ff 100755 --- a/distrib/msw/zipwxos2.bat +++ b/distrib/msw/zipwxos2.bat @@ -5,7 +5,7 @@ set dest=%src\deliver set webfiles=c:\wx2dev\wxWebSite Rem Set this to the required version -set version=2.3.3 +set version=2.3.4 if "%src" == "" goto usage if "%dest" == "" goto usage @@ -44,10 +44,10 @@ zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\makefile.rsp Rem erase /Y %src%\include\wx\setup.h -if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version% +if direxist %dest%\wxOS2-%version% erase /sxyz %dest%\wxOS2-%version% -mkdir %dest%\wxWindows-%version% -cd %dest%\wxWindows-%version% +mkdir %dest%\wxOS2-%version% +cd %dest%\wxOS2-%version% unzip32 ..\wxOS2-%version%.zip echo Overwriting with OS2-specific versions of configure files... unzip32 -o %src%\distrib\os2\os2-specific.zip @@ -64,7 +64,8 @@ call %src%\distrib\msw\lower.bat cd %dest% erase wxOS2-%version%.zip -zip32 -r wxOS2-%version%.zip wxWindows-%version%/* +zip32 -r wxOS2-%version%.zip wxOS2-%version%/* +erase /sxyz wxOS2-%version% echo wxOS2 archived. diff --git a/distrib/os2/os2-specific.zip b/distrib/os2/os2-specific.zip index c1876468ee3d5d04f4d69d424f732cd5625b7585..c6f195df68d06fc27d9db45eed3818ec658d7996 100644 GIT binary patch literal 130661 zcmX`SV~`+B6Q$d>ZQHhO+qP}nwr$(iv^j0tcK4lkzq|WCqn({+cc1_u0RRAu?d{Ag&0U>LuXHZ$vD=$|?FN2<<*~N@+L??` z`WDRIgW_nrxm=*zoQ_#wRaEOrZJ6on-e@Up{M@>S+27QWQ1Nnf;MWBkgbP26?3`hV9~q#SgWGiVw)Q^ba?(Ghgm|*Wk-JL19>%~F5r+q!|2+Tp5tmDWDS@n{Bs%IP zMTg_}k9TBa&P)h5NCbrYhx32k>G!VH>*4xoyG{6b{PkWU9TkJFal|WQWVV&k&=?aH4PYPJk~#5{uA(Jo`JG&cHPiAjov2Sy?T zG*02wPVb#HvdJP~TsMD=cSJj8CJT6|p?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OUc7wqkPtgQHB=Li8scS$o~nSFb#`uq~c-og(QO0F0KzkbhAO+u>6;oJ5ofGm(y97=Hana5)i;0SbbGcH+?G;t;^#b z2BjI=j+{3a6hyYGwi}cxM*~Q;bq2K${H5qbs2cWgoLcyGRn1S(ID4@R1FQAyx<0Q+ z#j+HCydNZwVsy!^{Z+ja>HJNM?fi0IJ$z6v*n5&rsJbO(Dp@tCQCA9UXBl%$Ev8%d zwjX#>&SC0aLV-_TX*|96)2>>?3o`4Il}PUq3G}Q03?h8IaiQ35Cc zL3zdjBy5Z>##L&qYe0Rb_b>n34@7T8Kc|$mBzB#NWEBXn`Lo+e+^HF!8J)| zzZ-X^VnjS_AfI)@QR_G#J=rPZwcv9AH2CMDYp18(;!fcJVa|#--OTo-p^7}}9U>ee zq>6!sq;06!cN)=HI`~jgq(u`?uTbe(elMFvE_=a0x82T+G&CS6CBWL{~G-F=taXsFanhr{CnH~m(lUp3b)$^2B7{U zcKjRc`1jQR_wz&kJH3)DR1_y;TZgx1PMoIpcIH+V&W>g(YXAD`f8q(`ga>{9J7Kdf fR1{~B)!TosEq@o|c8(axw<9VF%E2b`1Lc1J - + +wxWindows 2 FAQ + - -wxWindows 2 FAQ - + - - - +
- + wxWindows 2 FAQ
-

+

-Welcome to the wxWindows FAQ. Please select a category:

+Welcome to the wxWindows FAQ. Please select a category:

-

+

-For further information, please see the wxWindows Web site, -plus install.txt (per port), todo.txt (per port), and bugs.txt (all ports). -

+For further information, please see the +wxWindows Web site, +wxWiki +and install.txt (per port), todo.txt (per port), and bugs.txt (all ports) files +in your wxWindows installation. +

- + - + diff --git a/docs/html/faqgen.htm b/docs/html/faqgen.htm index 43776e0578..f75ce4688e 100644 --- a/docs/html/faqgen.htm +++ b/docs/html/faqgen.htm @@ -1,3 +1,4 @@ + @@ -25,15 +26,18 @@ See also top-level FAQ page.

List of questions in this category

  • What is wxWindows?
  • +
  • Can I use wxWindows 2 for both proprietary projects, and GPL'ed projects?
  • +
  • Is there support?
  • Who uses wxWindows?
  • -
  • What platforms are supported by wxWindows 2?
  • -
  • How does wxWindows 2 support platform-specific features?
  • +
  • What platforms are supported by wxWindows?
  • +
  • How does wxWindows support platform-specific features?
  • Does wxWindows use STL? or the standard string class?
  • -
  • Is there a rich edit/markup widget for wxWindows 2? +
  • Is there a rich edit/markup widget for wxWindows?
  • How to use C++ exceptions with wxWindows? -
  • How is wxWindows 2 being developed?
  • -
  • How is wxWindows 2 distributed?
  • +
  • How is wxWindows being developed?
  • +
  • How is wxWindows distributed?
  • What are the plans for the future?
  • +
  • What is wxBase?
  • What is wxUniversal?
  • What about Java?
  • How can I help the project?
  • @@ -54,7 +58,7 @@ You don't have to use C++ to use wxWindows: there is a Perl interface.

    -

    Can I use wxWindows 2 for both proprietary (commercial) projects, and GPL'ed projects?

    +

    Can I use wxWindows 2 for both proprietary (commercial) projects, and GPL'ed projects?

    Yes. Please see the licence for details, but basically you can distribute proprietary binaries without distributing any source code, and neither will wxWindows @@ -64,7 +68,7 @@ The conditions for using wxWindows 2 are the same whether you are a personal, ac or commercial developer.

    -

    Is there support?

    +

    Is there support?

    No official support, but the mailing list is very helpful and some people say that wxWindows support is better than for much commercial software. The developers are @@ -81,6 +85,9 @@ quite large for a list of this type.

    See Users for a list of some users and their applications, and also Feedback for comments.

    +Our highest-profile user yet is industry veteran and Lotus Corp. founder Mitch Kapor +and his Open Source Applications Foundation. +

    What platforms are supported by wxWindows 2?

    @@ -159,10 +166,9 @@ or by adding this to a header before you include any STL files:

    These are the possibilities so far:

      -
    • The richedit sample has a text editor that does markup.
    • See www.scintilla.org for -a very nice syntax-highlighting editor widget. Robin Dunn is writing a wxWindows wrapper -for this widget. +a very nice syntax-highlighting editor widget. Robin Dunn has written a wxWindows wrapper +for this widget, available in the wxWindows distribution under contrib/src/stc.
    • If you only need to display marked-up information, rather than edit it, then wxHTML will suit your needs. wxHTML is built into wxWindows - please see the reference manual for details, and samples/html. @@ -200,29 +206,29 @@ There are a few issues to keep in mind, though:

      -

      How is wxWindows 2 being developed?

      +

      How is wxWindows being developed?

      We are using the CVS system to develop and maintain wxWindows. This allows -us to make alterations and upload them instantly to the SourceForge server, from +us to make alterations and upload them instantly to the server, from which others can update their source.

      To build source from CVS, see the file BuildCVS.txt in the top-level wxWindows distribution directory.

      -

      How is wxWindows 2 distributed?

      +

      How is wxWindows distributed?

      By ftp, and via the wxWindows CD-ROM.

      If you are feeling adventurous, you may also check out the sources directly -from the cvs +from cvs.

      What are the plans for the future?

      -Currently we're working too hard on getting wxWindows 2 finished (are GUI toolkits ever +Currently we're working too hard on getting wxWindows finished (are GUI toolkits ever finished?) to think very far ahead. However, we know we want to make wxWindows as robust and well-publicised as possible. We also want to aim for better platform-independence of -resources such as icons and bitmaps, standardising on the PNG for all platforms.

      +resources such as icons and bitmaps, standardising on PNG and XPM for all platforms.

      Other possibilities include: DCOM/CORBA compatibility; a wxWindows book; wxWorkshop, an IDE; @@ -234,12 +240,24 @@ their product.

      The high-level goal of wxWindows is to be thought of as the number one C++ framework, for virtually any platform. Move over, MFC!

      +

      What is wxBase?

      + +wxBase is a subset of wxWindows comprised by the non-GUI classes. It includes +wxWindows container and primitive data type classes (including wxString, +wxDateTime and so on) and also useful wrappers for the operating system objects +such as files, processes, threads, sockets and so on. With very minor +exceptions wxBase may be used in exactly the same way as wxWindows but it +doesn't require a GUI to run and so is ideal for creating console mode +utilities or server programs. It is also possible to create a program which can +be compiled either as a console application (using wxBase) or a GUI one (using +a full featured wxWindows port). +

      What is wxUniversal?

      -wxUniversal is a new port of wxWindows being currently actively developed. The -main difference is that wxUniversal implements all controls (or widgets) in -wxWindows itself thus allowing to have much more flexibility (i.e. support for -themes even under MS Windows!). It also means that it is now much easier to +The main difference between wxUniversal-based ports (such as wxX11, wxMGL) and other ports (such as wxMSW, wxGTK+, wxMac) +is that wxUniversal implements all controls (or widgets) in +wxWindows itself thus allowing to have much more flexibility (for example, support for +themes even under MS Windows). It also means that it is now much easier to port wxWindows to a new platform as only the low-level classes must be ported which make for a small part of the library.

      @@ -255,7 +273,7 @@ from Java, and the level of interest in wxWindows is as high as ever.

      Please check out the Community pages, in particular the suggested projects, and -mail Julian Smart or the developers' mailing list with your own suggestions.

      +mail the developers' mailing list with your own suggestions.

      diff --git a/docs/html/faqgtk.htm b/docs/html/faqgtk.htm index c93ebad47e..df33965ef4 100644 --- a/docs/html/faqgtk.htm +++ b/docs/html/faqgtk.htm @@ -1,3 +1,4 @@ + @@ -25,12 +26,13 @@ See also top-level FAQ page.

      List of questions in this category


      @@ -69,9 +71,9 @@ so may be added without dependence on libraries. Other features may be supported future, probably as a separate library.

      -

      Warning about GTK libraries supplied with RedHat

      +

      Warning about GTK+ libraries supplied with RedHat

      -It seems that some versions of RedHat include a badly patched version of GTK (not wxGTK) +It seems that some versions of RedHat include a badly patched version of GTK+ (not wxGTK) which causes some trouble with wxWindows' socket code. Common symptoms are that when a client tries to establish a connection to an existing server which refuses the request, the client will get notified twice, first getting a LOST event and then a CONNECT event. @@ -89,6 +91,23 @@ and programs linked against it will not run with version on a 2.1.X system. It will then run on practically all Linux distros (if you link you app statically against the image libraries and std C++ lib)." +

      + +

      Can I statically link the GTK+ library?

      + +No, this is not possible. It leads to crashes in GTK+. +

      + +

      Why does my simple program using +EVT_CHAR doesn't work?

      + +In wxGTK, the frames never get focus and so can never receive CHAR +nor KEY events so an EVT_CHAR handler for a frame will be +never called. To receive these events, you should create a wxPanel +inside the frame and register the key event handlers for the panel, not the +frame. + +

      diff --git a/docs/html/faqmsw.htm b/docs/html/faqmsw.htm index 2c56fedb31..346e9de28d 100644 --- a/docs/html/faqmsw.htm +++ b/docs/html/faqmsw.htm @@ -1,3 +1,4 @@ + @@ -201,7 +202,8 @@ Statically-linked wxWindows 2 programs are smaller than wxWindows 1.xx programs, wxWindows 2 has been designed to reduce dependencies between classes, and other techniques. The linker will not include code from the library that is not (directly or indirectly) referenced -by your application. So for example, the 'minimal' sample is less than 300KB using VC++ 6.

      +by your application. So for example, the 'minimal' sample is less than 500KB using VC++ 6 +(note that this figure may be greater for the latest version of wxWindows).

      If you want to distribute really small executables, you can use Petite @@ -210,6 +212,12 @@ will shrink to a mere 250KB. With this sort of size, there is reduced incentive use DLLs. Another good compression tool is UPX.

      +Please do not be surprised if MinGW produces a statically-linked minimal executable of 1 MB. Firstly, gcc +produces larger executables than some compilers. Secondly, this figure will +include most of the overhead of wxWindows, so as your application becomes more +complex, the overhead becomes proportionaly less significant. And thirdly, trading executable compactness +for the enormous increase in productivity you get with wxWindows is almost always well worth it. +

      Is wxWindows compatible with MFC?

      There is a sample which demonstrates MFC and wxWindows code co-existing in the same @@ -392,7 +400,11 @@ VZ This can happen if you have a child window intercepting EVT_CHAR events and swallowing all keyboard input. You should ensure that event.Skip() is called for all input that -isn'used by the event handler. +isn'used by the event handler.

      + +It can also happen if you append the submenu to the parent +menu {\it before} you have added your menu items. Do the append {\it after} adding +your items, or accelerators may not be registered properly.

      Why can I not write to the HKLM part of the registry with wxRegConfig?

      @@ -414,7 +426,7 @@ First, you can use wxRegKey directly, for example: regKey.SetName(idName); { - wxLogNull dummy; + wxLogNull dummy; if (!regKey.Create()) { idName = wxT("HKEY_CURRENT_USER\\SOFTWARE\\My Company\\My Product\\Stuff\\"); diff --git a/docs/html/i18n.htm b/docs/html/i18n.htm index b5fa8b7dd9..a82dd9277c 100644 --- a/docs/html/i18n.htm +++ b/docs/html/i18n.htm @@ -124,6 +124,13 @@ translations as of wxWindows 2.3. + + Greek + Done + Tsolakos Stavros + + + Hungarian Done @@ -131,6 +138,14 @@ translations as of wxWindows 2.3. + + Indonesian + Done + + Bambang Purnomosidi D. P. + + + Italian Done @@ -157,6 +172,7 @@ translations as of wxWindows 2.3. Ok Roman Rolinsky, Vadim Zeitlin + Andrew V. Samoilov @@ -179,6 +195,13 @@ translations as of wxWindows 2.3. Kaj G Backas + + Turkish + Ok + Hakki Dogusan + + +
      @@ -196,15 +219,14 @@ translations. Here are the the steps you should follow:
      1. Get the latest version of the file locale/wxstd.po from the wxWindows source tree: if you're using cvs - or the daily - snapshots, you should already have it. Otherwise you can always + or the daily snapshots, + you should already have it. Otherwise you can always retrieve it directly from the cvs repository via the Web interface - - here. + here.
      2. Rename it to XY.po where "XY" is the 2 letter - - ISO country code for your language. + ISO 639-1 language code + for your language.
      3. Translate the strings in this file using either your favourite text editor or a specialized tool such as Vaclav Slavik's excellent diff --git a/docs/html/platform.htm b/docs/html/platform.htm index cb2e2d6feb..46ef6cbc89 100644 --- a/docs/html/platform.htm +++ b/docs/html/platform.htm @@ -1,6 +1,6 @@ - Platforms supported by wxWindows 2.x + Platforms supported by wxWindows 2.4 @@ -20,10 +20,11 @@

        -You will find below the list of all supported platforms for different ports of wxWindows 2.x (wxMSW/wxGTK/wxMotif ports -only). The cross icon in the third column doesn't mean that the platform is not supported, but just that wxWindows hasn't -been tested on it recently (the table is being updated for wxWindows 2.3.3 -currently). +You will find below the list of all supported platforms for different ports of +wxWindows 2.x (wxMSW/wxGTK/wxMotif ports only). The cross icon in the third +column doesn't mean that the platform is not supported, but just that +wxWindows hasn't been tested on it recently (the table is being updated for +wxWindows 2.4.0 currently).

        See also: @@ -86,9 +87,20 @@ often don't work. wxMotif with gcc 2.95Ok
        with OpenMotif +
        All BSD systems tests are for wxGTK using gcc. FreeBSD - wxGTK with gccOkVZLimited thread support on older systems + version from 3.2 to 4.6, x86OkVZ
        + + + +NetBSD + 1.6, AlphaOkVZ
        + + + +OpenBSD + 3.1, AlphaOkVZSome problems with shared libraries, ok with static ones diff --git a/docs/latex/wx/category.tex b/docs/latex/wx/category.tex index 85ddafa64c..dba0aa01a0 100644 --- a/docs/latex/wx/category.tex +++ b/docs/latex/wx/category.tex @@ -93,6 +93,7 @@ that are not static can have \helpref{validators}{wxvalidator} associated with t \twocolitem{\helpref{wxStaticBox}{wxstaticbox}}{A static, or group box for visually grouping related controls} \twocolitem{\helpref{wxListBox}{wxlistbox}}{A list of strings for single or multiple selection} \twocolitem{\helpref{wxListCtrl}{wxlistctrl}}{A control for displaying lists of strings and/or icons, plus a multicolumn report view} +\twocolitem{\helpref{wxListView}{wxlistview}}{A simpler interface ({\it fa\c{c}ade} for wxListCtrl in report mode} \twocolitem{\helpref{wxTabCtrl}{wxtabctrl}}{Manages several tabs} \twocolitem{\helpref{wxTextCtrl}{wxtextctrl}}{Single or multiline text editing control} \twocolitem{\helpref{wxTreeCtrl}{wxtreectrl}}{Tree (hierarchy) control} diff --git a/docs/latex/wx/classes.tex b/docs/latex/wx/classes.tex index 6e6487a91f..646ee733c3 100644 --- a/docs/latex/wx/classes.tex +++ b/docs/latex/wx/classes.tex @@ -174,6 +174,7 @@ \input listctrl.tex \input listevt.tex \input listitem.tex +\input listview.tex \input locale.tex \input log.tex \input longlong.tex diff --git a/docs/latex/wx/combobox.tex b/docs/latex/wx/combobox.tex index 1d2b124cda..04deea757c 100644 --- a/docs/latex/wx/combobox.tex +++ b/docs/latex/wx/combobox.tex @@ -67,6 +67,8 @@ Constructor, creating and showing a combobox. \docparam{id}{Window identifier. A value of -1 indicates a default value.} +\docparam{value}{Initial selection string. An empty string indicates no selection.} + \docparam{pos}{Window position.} \docparam{size}{Window size. If the default size (-1, -1) is specified then the window is sized diff --git a/docs/latex/wx/config.tex b/docs/latex/wx/config.tex index 9d8c865fba..b00e4624c6 100644 --- a/docs/latex/wx/config.tex +++ b/docs/latex/wx/config.tex @@ -368,18 +368,13 @@ a local or global config file is created or used. If the flag is present but the parameter is empty, the parameter will be set to a default. If the parameter is present but the style flag not, the relevant flag will be added to the style. For wxFileConfig you can also add wxCONFIG\_USE\_RELATIVE\_PATH -by logicaly or'ing it to either of the \_FILE options to tell wxFileConfig to +by logically or'ing it to either of the \_FILE options to tell wxFileConfig to use relative instead of absolute paths. For wxFileConfig, you can also add wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS which will turn off character escaping for the values of entries stored in the config file: for example -a {\it foo} key with some backslash characters will be stored as -\begin{verbatim} - foo=C:\mydir -\end{verbatim} -instead of the usual storage of -\begin{verbatim} - foo=C:\\mydir -\end{verbatim} +a {\it foo} key with some backslash characters will be stored as {\tt foo=C:$\backslash$mydir} instead +of the usual storage of {\tt foo=C:$\backslash\backslash$mydir}. + The wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style can be helpful if your config file must be read or written to by a non-wxWindows program (which might not understand the escape characters). Note, however, that if diff --git a/docs/latex/wx/critsect.tex b/docs/latex/wx/critsect.tex index 2451e97d04..545954a1d8 100644 --- a/docs/latex/wx/critsect.tex +++ b/docs/latex/wx/critsect.tex @@ -1,6 +1,6 @@ \section{\class{wxCriticalSection}}\label{wxcriticalsection} -A critical section object is used for the same exactly purpose as +A critical section object is used for exactly the same purpose as \helpref{mutexes}{wxmutex}. The only difference is that under Windows platform critical sections are only visible inside one process, while mutexes may be shared between processes, so using critical sections is slightly more diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index 3baa8dab1c..9de18864b2 100644 --- a/docs/latex/wx/datetime.tex +++ b/docs/latex/wx/datetime.tex @@ -235,6 +235,7 @@ values were correct as constructors can not return an error code. \helpref{Set(double jdn)}{wxdatetimesetjdn}\\ \helpref{Set(h, m, s, ms)}{wxdatetimesettime}\\ \helpref{Set(day, mon, year, h, m, s, ms)}{wxdatetimesetdate}\\ +\helpref{SetFromDOS(unsigned long ddt)}{wxdatetimesetfromdos}\\ \helpref{ResetTime}{wxdatetimeresettime}\\ \helpref{SetYear}{wxdatetimesetyear}\\ \helpref{SetMonth}{wxdatetimesetmonth}\\ @@ -268,7 +269,8 @@ some more complicated calculations to find the answer are under the \helpref{GetWeekOfMonth}{wxdatetimegetweekofmonth}\\ \helpref{GetYearDay}{wxdatetimegetyearday}\\ \helpref{IsWorkDay}{wxdatetimeisworkday}\\ -\helpref{IsGregorianDate}{wxdatetimeisgregoriandate} +\helpref{IsGregorianDate}{wxdatetimeisgregoriandate}\\ +\helpref{GetAsDOS}{wxdatetimegetasdos} \membersection{Date comparison} @@ -882,6 +884,24 @@ Returns {\tt TRUE} if the given date os later than the date of adoption of the Gregorian calendar in the given country (and hence the Gregorian calendar calculations make sense for it). +%%%%%%%%%%%%%%%%%%%%%% dos date and time format %%%%%%%%%%%%%%%%%%%%%%% + +\membersection{wxDateTime::SetFromDOS}\label{wxdatetimesetfromdos} + +\func{wxDateTime\&}{Set}{\param{unsigned long }{ddt}} + +Sets the date from the date and time in +\urlref{DOS}{http://developer.novell.com/ndk/doc/smscomp/index.html?page=/ndk/doc/smscomp/sms\_docs/data/hc2vlu5i.html} +format. + +\membersection{wxDateTime::GetAsDOS}\label{wxdatetimegetasdos} + +\constfunc{unsigned long}{GetAsDOS}{\void} + +Returns the date and time in +\urlref{DOS}{http://developer.novell.com/ndk/doc/smscomp/index.html?page=/ndk/doc/smscomp/sms\_docs/data/hc2vlu5i.html} +format. + %%%%%%%%%%%%%%%%%%%%%%%%%%% comparison %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \membersection{wxDateTime::IsEqualTo}\label{wxdatetimeisequalto} @@ -1127,7 +1147,7 @@ This function returns the time representation in the ISO 8601 format \membersection{wxDateTime::SetToWeekDayInSameWeek}\label{wxdatetimesettoweekdayinsameweek} -\func{wxDateTime\&}{SetToWeekDayInSameWeek}{\param{WeekDay }{weekday}} +\func{wxDateTime\&}{SetToWeekDayInSameWeek}{\param{WeekDay }{weekday}, \param{WeekFlags}{flags = {\tt Monday\_First}}} Adjusts the date so that it will still lie in the same week as before, but its week day will be the given one. @@ -1136,9 +1156,9 @@ Returns the reference to the modified object itself. \membersection{wxDateTime::GetWeekDayInSameWeek}\label{wxdatetimegetweekdayinsameweek} -\constfunc{wxDateTime}{GetWeekDayInSameWeek}{\param{WeekDay }{weekday}} +\constfunc{wxDateTime}{GetWeekDayInSameWeek}{\param{WeekDay }{weekday}, \param{WeekFlags}{flags = {\tt Monday\_First}}} -Returns the copy of this object to which +Returns the copy of this object to which \helpref{SetToWeekDayInSameWeek}{wxdatetimesettoweekdayinsameweek} was applied. @@ -1216,7 +1236,7 @@ Returns the copy of this object to which \membersection{wxDateTime::SetToTheWeek}\label{wxdatetimesettotheweek} -\func{bool}{SetToTheWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}} +\func{bool}{SetToTheWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}, \param{WeekFlags}{flags = {\tt Monday\_First}}} Set the date to the given {\it weekday} in the week with given number {\it numWeek}. The number should be in range $1\ldots53$ and {\tt FALSE} will @@ -1225,7 +1245,7 @@ date was changed successfully. \membersection{wxDateTime::GetWeek}\label{wxdatetimegetweek} -\constfunc{wxDateTime}{GetWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}} +\constfunc{wxDateTime}{GetWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}, \param{WeekFlags}{flags = {\tt Monday\_First}}} Returns the copy of this object to which \helpref{SetToTheWeek}{wxdatetimesettotheweek} was applied. diff --git a/docs/latex/wx/dialog.tex b/docs/latex/wx/dialog.tex index d598319fa4..4262dbd4d1 100644 --- a/docs/latex/wx/dialog.tex +++ b/docs/latex/wx/dialog.tex @@ -65,7 +65,7 @@ the dialog to respond to system close events. \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the dialog box.} -\twocolitem{\windowstyle{wxDEFAULT\_DIALOG\_STYLE}}{Equivalent to a combination of wxCAPTION, wxSYSTEM\_MENU and wxTHICK\_FRAME} +\twocolitem{\windowstyle{wxDEFAULT\_DIALOG\_STYLE}}{Equivalent to a combination of wxCAPTION and wxSYSTEM\_MENU (the latter is not used under Unix)} \twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Display a resizeable frame around the window.} \twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Display a system menu.} \twocolitem{\windowstyle{wxTHICK\_FRAME}}{Display a thick frame around the window.} diff --git a/docs/latex/wx/dragimag.tex b/docs/latex/wx/dragimag.tex index 72cca31294..42eab1e207 100644 --- a/docs/latex/wx/dragimag.tex +++ b/docs/latex/wx/dragimag.tex @@ -28,6 +28,14 @@ override \helpref{wxDragImage::DoDrawImage}{wxdragimagedodrawimage} and Please see {\tt samples/dragimag} for an example. +%\wxheading{Notes} +% +%Using the native Windows implementation, you must supply an image with a mask, or +%the image will not show when dragged. It is not clear if this is a bug +%in Windows or in the wxDragImage implementation. You can add a mask +%with a call to wxImage::SetMaskColour, passing RGB values not likely +%to be in the image. [CURED by creating the ImageList with ILC_MASK] + \wxheading{Derived from} \helpref{wxObject}{wxobject} diff --git a/docs/latex/wx/filedlg.tex b/docs/latex/wx/filedlg.tex index 6e95b41ec0..5f2b412dd6 100644 --- a/docs/latex/wx/filedlg.tex +++ b/docs/latex/wx/filedlg.tex @@ -164,7 +164,7 @@ Sets the default filename. \func{void}{SetFilterIndex}{\param{int }{filterIndex}} -Sets the default filter index, starting from zero. Windows only. +Sets the default filter index, starting from zero. \membersection{wxFileDialog::SetMessage}\label{wxfiledialogsetmessage} diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex index f56df752b3..1749fbdcfb 100644 --- a/docs/latex/wx/filename.tex +++ b/docs/latex/wx/filename.tex @@ -89,7 +89,7 @@ on the file name format and the only portable way to answer to this question is to use \helpref{IsAbsolute}{wxfilenameisabsolute} method. To ensure that the filename is absolute you may use \helpref{Normalize}{wxfilenamenormalize}. There is also an inverse function \helpref{MakeRelativeTo}{wxfilenamemakerelativeto} -which undoes what \helpref{Normalize(wxPATH\_NORM\_DOTS}{wxfilenamenormalize} +which undoes what \helpref{Normalize(wxPATH\_NORM\_DOTS)}{wxfilenamenormalize} does. Other functions returning information about the file format provided by this @@ -598,7 +598,7 @@ Deletes the specified directory from the file system. \membersection{wxFileName::SameAs}\label{wxfilenamesameas} -\func{bool}{SameAs}{\param{const wxFileName\& }{filepath}, \param{wxPathFormat }{format = wxPATH\_NATIVE}} +\constfunc{bool}{SameAs}{\param{const wxFileName\& }{filepath}, \param{wxPathFormat }{format = wxPATH\_NATIVE}} Compares the filename using the rules of this platform. @@ -674,9 +674,19 @@ Assigns the new value to this filename object. \membersection{wxFileName::operator==}\label{wxfilenameoperatorequal} -\func{bool operator}{operator==}{\param{const wxFileName\& }{filename}} +\constfunc{bool operator}{operator==}{\param{const wxFileName\& }{filename}} -\func{bool operator}{operator==}{\param{const wxString\& }{filename}} +\constfunc{bool operator}{operator==}{\param{const wxString\& }{filename}} -Returns {\tt TRUE} if the filenames are equal for the native file format. +Returns {\tt TRUE} if the filenames are equal. The string {\it filenames} is +interpreted as a path in the native filename format. + +\membersection{wxFileName::operator!=}\label{wxfilenameoperatornotequal} + +\constfunc{bool operator}{operator!=}{\param{const wxFileName\& }{filename}} + +\constfunc{bool operator}{operator!=}{\param{const wxString\& }{filename}} + +Returns {\tt TRUE} if the filenames are different. The string {\it filenames} +is interpreted as a path in the native filename format. diff --git a/docs/latex/wx/font.tex b/docs/latex/wx/font.tex index 8d920e7c3b..7053109138 100644 --- a/docs/latex/wx/font.tex +++ b/docs/latex/wx/font.tex @@ -211,7 +211,7 @@ Returns {\tt TRUE} if the font is a fixed width (or monospaced) font, \func{static wxFontEncoding}{GetDefaultEncoding}{\void} -Returns the current applications default encoding. +Returns the current application's default encoding. \wxheading{See also} diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex index 118d48be72..1ee544180c 100644 --- a/docs/latex/wx/frame.tex +++ b/docs/latex/wx/frame.tex @@ -52,14 +52,14 @@ a wxEVT\_HELP event if the user clicked on an application window. {\it Note} tha style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction). You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so you should use -{\tt wxDEFAULT\_FRAME\_STYLE \& \~ (wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the +{\tt wxDEFAULT\_FRAME\_STYLE \& \verb$~$ (wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the frames having this style (the dialogs don't have minimize nor maximize box by default)} \end{twocollist} The default frame style is for normal, resizeable frames. To create a frame which can not be resized by user, you may use the following combination of -styles: {\tt wxDEFAULT\_FRAME\_STYLE \& \~ (wxRESIZE\_BORDER \pipe wxRESIZE\_BOX \pipe wxMAXIMIZE\_BOX)}. +styles: {\tt wxDEFAULT\_FRAME\_STYLE \& \verb$~$ (wxRESIZE\_BORDER \pipe wxRESIZE\_BOX \pipe wxMAXIMIZE\_BOX)}. % Note: the space after the tilde is necessary or Tex2RTF complains. See also \helpref{window styles overview}{windowstyles}. diff --git a/docs/latex/wx/fs_mem.tex b/docs/latex/wx/fs_mem.tex index 1b9f8d61bc..733b6d61f8 100644 --- a/docs/latex/wx/fs_mem.tex +++ b/docs/latex/wx/fs_mem.tex @@ -22,7 +22,7 @@ Example: void MyFrame::OnAbout(wxCommandEvent&) { wxBusyCursor bcur; - + wxFileSystem::AddHandler(new wxMemoryFSHandler); wxMemoryFSHandler::AddFile("logo.pcx", wxBITMAP(logo), wxBITMAP_TYPE_PCX); wxMemoryFSHandler::AddFile("about.htm", "About: " diff --git a/docs/latex/wx/ftp.tex b/docs/latex/wx/ftp.tex index eb0bf3fe87..def46870b0 100644 --- a/docs/latex/wx/ftp.tex +++ b/docs/latex/wx/ftp.tex @@ -115,6 +115,13 @@ Default constructor. Destructor will close the connection if connected. +\membersection{wxFTP::Abort}\label{wxftpabort} + +\func{bool}{Abort}{\void} + +Aborts the download currently in process, returns {\tt TRUE} if ok, {\tt FALSE} +if an error occured. + \membersection{wxFTP::CheckCommand} \func{bool}{CheckCommand}{\param{const wxString\&}{ command}, \param{char }{ret}} @@ -246,6 +253,21 @@ to specify a user and a password. % ---------------------------------------------------------------------------- +\membersection{wxFTP::FileExists}\label{wxftpfileexists} + +\func{bool}{FileExists}{\param{const wxString\&}{ filename}} + +Returns {\tt TRUE} if the given remote file exists, {\tt FALSE} otherwise. + +\membersection{wxFTP::GetFileSize}\label{wxftpgetfilesize} + +\func{int}{GetFileSize}{\param{const wxString\&}{ filename}} + +Returns the file size in bytes or $-1$ if the file doesn't exist or the size +couldn't be determined. Notice that this size can be approximative size only +and shouldn't be used for allocating the buffer in which the remote file is +copied, for example. + \membersection{wxFTP::GetDirList}\label{wxftpgetdirlist} \func{bool}{GetDirList}{\param{wxArrayString\& }{files}, \param{const wxString\&}{ wildcard = ""}} diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 2a31f788cd..14fdda7baf 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -153,6 +153,8 @@ the corresponding topic. \helpref{wxLogTrace}{wxlogtrace}\\ \helpref{wxLogVerbose}{wxlogverbose}\\ \helpref{wxLogWarning}{wxlogwarning}\\ +\helpref{wxLL}{wxll}\\ +\helpref{wxLongLongFmtSpec}{wxlonglongfmtspec}\\ \helpref{wxMakeMetafilePlaceable}{wxmakemetafileplaceable}\\ \helpref{wxMatchWild}{wxmatchwild}\\ \helpref{wxMessageBox}{wxmessagebox}\\ @@ -399,8 +401,8 @@ once for each previous successful call to \helpref{wxInitialize}{wxinitialize}. Calls \helpref{wxApp::Yield}{wxappyield}. -This function is kept only for backwards compatibility, please use -\helpref{wxApp::Yield}{wxappyield}method instead in any new code. +This function is kept only for backwards compatibility. Please use +the \helpref{wxApp::Yield}{wxappyield} method instead in any new code. \wxheading{Include files} @@ -2109,6 +2111,44 @@ the compiler supports it or nothing otherwise. Thus, it can be used even in the code which might have to be compiled with an old compiler without support for this language feature but still take advantage of it when it is available. +\membersection{wxLL}\label{wxll} + +\func{wxLongLong\_t}{wxLL}{\param{}{number}} + +This macro is defined for the platforms with a native 64 bit integer type and +allows to define 64 bit compile time constants: + +\begin{verbatim} + #ifdef wxLongLong_t + wxLongLong_t ll = wxLL(0x1234567890abcdef); + #endif +\end{verbatim} + +\wxheading{Include files} + + + +\membersection{wxLongLongFmtSpec}\label{wxlonglongfmtspec} + +This macro is defined to contain the {\tt printf()} format specifier using +which 64 bit integer numbers (i.e. those of type {\tt wxLongLong\_t}) can be +printed. Example of using it: + +\begin{verbatim} + #ifdef wxLongLong_t + wxLongLong_t ll = wxLL(0x1234567890abcdef); + printf("Long long = %" wxLongLongFmtSpec "x\n", ll); + #endif +\end{verbatim} + +\wxheading{See also} + +\helpref{wxLL}{wxll} + +\wxheading{Include files} + + + \membersection{::wxNewId}\label{wxnewid} \func{long}{wxNewId}{\void} @@ -2576,7 +2616,7 @@ class wxFrame: public wxWindow DECLARE_DYNAMIC_CLASS(wxFrame) private: - const wxString\& frameTitle; + const wxString& frameTitle; public: ... }; diff --git a/docs/latex/wx/helpinst.tex b/docs/latex/wx/helpinst.tex index 405a855d7c..43a266c295 100644 --- a/docs/latex/wx/helpinst.tex +++ b/docs/latex/wx/helpinst.tex @@ -45,7 +45,7 @@ a similar style to the Microsoft HTML Help viewer and using some of the same fil Although it has an API compatible with other help controllers, it has more advanced features, so it is recommended that you use the specific API for this class instead. Note that if you use .zip or .htb formats for your books, you -must add this line to your application initialization: \verb$wxFileSystem::AddHandler(new wxZipFSHandler);$ +must add this line to your application initialization: {\tt wxFileSystem::AddHandler(new wxZipFSHandler);} or nothing will be shown in your help window. \end{itemize} diff --git a/docs/latex/wx/htcontnr.tex b/docs/latex/wx/htcontnr.tex index a723a4420d..6739b4d0fd 100644 --- a/docs/latex/wx/htcontnr.tex +++ b/docs/latex/wx/htcontnr.tex @@ -41,6 +41,13 @@ Returns container's horizontal alignment. Returns container's vertical alignment. +\membersection{wxHtmlContainerCell::GetBackgroundColour}\label{wxhtmlcontainercellgetbackgroundcolour} + +\func{wxColour}{GetBackgroundColour}{\void} + +Returns the background colour of the container or {\tt wxNullColour} if no background +colour is set. + \membersection{wxHtmlContainerCell::GetFirstCell}\label{wxhtmlcontainercellgetfirstcell} \func{wxHtmlCell*}{GetFirstCell}{\void} diff --git a/docs/latex/wx/htparser.tex b/docs/latex/wx/htparser.tex index f198bb9887..91eff929ad 100644 --- a/docs/latex/wx/htparser.tex +++ b/docs/latex/wx/htparser.tex @@ -256,3 +256,12 @@ Sets the virtual file system that will be used to request additional files. (For example {\tt } tag handler requests wxFSFile with the image data.) +\membersection{wxHtmlParser::StopParsing}\label{wxhtmlparserstopparsing} + +\func{void}{StopParsing}{\void} + +Call this function to interrupt parsing from a tag handler. No more tags +will be parsed afterward. This function may only be called from +\helpref{wxHtmlParser::Parse}{wxhtmlparserparse} or any function called +by it (i.e. from tag handlers). + diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index 4986bf1c19..5f2dd48af5 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -911,7 +911,7 @@ Returns 'this' object. \membersection{wxImage::operator $==$} -\func{bool}{operator $==$}{\param{const wxImage\& }{image}} +\constfunc{bool}{operator $==$}{\param{const wxImage\& }{image}} Equality operator. This operator tests whether the internal data pointers are equal (a fast test). @@ -926,7 +926,7 @@ Returns TRUE if the images were effectively equal, FALSE otherwise. \membersection{wxImage::operator $!=$} -\func{bool}{operator $!=$}{\param{const wxImage\& }{image}} +\constfunc{bool}{operator $!=$}{\param{const wxImage\& }{image}} Inequality operator. This operator tests whether the internal data pointers are unequal (a fast test). diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index 2f07958847..7a1a8ec9d1 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -68,9 +68,11 @@ future versions completely. The use of the latter is especially discouraged as it is not only unsafe but is also much less efficient than \helpref{wxArrayString}{wxarraystring} class. -In the documentation of the list classes below, you should replace wxNode with -wxListName::Node and wxObject with the list element type (i.e. the first -parameter of WX\_DECLARE\_LIST) for the template lists. +In the documentation of the list classes below, the template notations are +used even though these classes are not really templates at all -- but it helps +to think about them as if they were. You should replace wxNode with +wxListName::Node and T itself with the list element type (i.e. the first +parameter of WX\_DECLARE\_LIST). \wxheading{Derived from} @@ -138,9 +140,9 @@ members for getting to the next or previous node. \func{}{wxList}{\param{unsigned int}{ key\_type}} -\func{}{wxList}{\param{int}{ n}, \param{wxObject *}{objects[]}} +\func{}{wxList}{\param{int}{ n}, \param{T *}{objects[]}} -\func{}{wxList}{\param{wxObject *}{object}, ...} +\func{}{wxList}{\param{T *}{object}, ...} Constructors. {\it key\_type} is one of wxKEY\_NONE, wxKEY\_INTEGER, or wxKEY\_STRING, and indicates what sort of keying is required (if any). @@ -159,15 +161,16 @@ client data held in the nodes. \membersection{wxList::Append}\label{wxlistappend} -\func{wxNode *}{Append}{\param{wxObject *}{object}} +\func{wxNode *}{Append}{\param{T *}{object}} -\func{wxNode *}{Append}{\param{long}{ key}, \param{wxObject *}{object}} +\func{wxNode *}{Append}{\param{long}{ key}, \param{T *}{object}} -\func{wxNode *}{Append}{\param{const wxString\& }{key}, \param{wxObject *}{object}} +\func{wxNode *}{Append}{\param{const wxString\& }{key}, \param{T *}{object}} -Appends a new {\bf wxNode} to the end of the list and puts a pointer to the -\rtfsp{\it object} in the node. The last two forms store a key with the object for -later retrieval using the key. The new node is returned in each case. +Appends a new \helpref{wxNode}{wxnode} to the end of the list and puts a +pointer to the \rtfsp{\it object} in the node. The last two forms store a key +with the object for later retrieval using the key. The new node is returned in +each case. The key string is copied and stored by the list implementation. @@ -187,22 +190,26 @@ a node whenever the node is destroyed. The default is {\tt FALSE}. \membersection{wxList::DeleteNode}\label{wxlistdeletenode} -\func{bool}{DeleteNode}{\param{wxNode *}{node}} +\func{bool}{DeleteNode}{\param{wxNode *}{node}} Deletes the given node from the list, returning {\tt TRUE} if successful. \membersection{wxList::DeleteObject}\label{wxlistdeleteobject} -\func{bool}{DeleteObject}{\param{wxObject *}{object}} +\func{bool}{DeleteObject}{\param{T *}{object}} Finds the given client {\it object} and deletes the appropriate node from the list, returning {\tt TRUE} if successful. The application must delete the actual object separately. \membersection{wxList::Find}\label{wxlistfind} -\func{wxNode *}{Find}{\param{long}{ key}} +\func{wxNode *}{Find}{\param{T *}{ object}} -\func{wxNode *}{Find}{\param{const wxString\& }{key}} +Returns the node whose client date is {\it object} or NULL if none found. + +\func{wxNode *}{Find}{\param{long}{ key}} + +\func{wxNode *}{Find}{\param{const wxString\& }{key}} Returns the node whose stored key matches {\it key}. Use on a keyed list only. @@ -214,37 +221,37 @@ Returns the number of elements in the list. \membersection{wxList::GetFirst}\label{wxlistgetfirst} -\func{wxNode *}{GetFirst}{\void} +\func{wxNode *}{GetFirst}{\void} Returns the first node in the list (NULL if the list is empty). \membersection{wxList::GetLast}\label{wxlistgetlast} -\func{wxNode *}{GetLast}{\void} +\func{wxNode *}{GetLast}{\void} Returns the last node in the list (NULL if the list is empty). \membersection{wxList::IndexOf}\label{wxlistindexof} -\func{int}{IndexOf}{\param{wxObject*}{ obj }} +\func{int}{IndexOf}{\param{T*}{ obj }} Returns the index of {\it obj} within the list or wxNOT\_FOUND if {\it obj} is not found in the list. \membersection{wxList::Insert}\label{wxlistinsert} -\func{wxNode *}{Insert}{\param{wxObject *}{object}} +\func{wxNode *}{Insert}{\param{T *}{object}} Insert object at front of list. -\func{wxNode *}{Insert}{\param{size\_t }{position}, \param{wxObject *}{object}} +\func{wxNode *}{Insert}{\param{size\_t }{position}, \param{T *}{object}} Insert object before {\it position}, i.e. the index of the new item in the list will be equal to {\it position}. {\it position} should be less than or equal to \helpref{GetCount}{wxlistgetcount}; if it is equal to it, this is the same as calling \helpref{Append}{wxlistappend}. -\func{wxNode *}{Insert}{\param{wxNode *}{node}, \param{wxObject *}{object}} +\func{wxNode *}{Insert}{\param{wxNode *}{node}, \param{T *}{object}} Inserts the object before the given {\it node}. @@ -257,13 +264,13 @@ Returns {\tt TRUE} if the list is empty, {\tt FALSE} otherwise. % Use different label name to avoid clashing with wxListItem label \membersection{wxList::Item}\label{wxlistitemfunc} -\constfunc{wxNode *}{Item}{\param{size\_t }{index}} +\constfunc{wxNode *}{Item}{\param{size\_t }{index}} Returns the node at given position in the list. \membersection{wxList::Member}\label{wxlistmember} -\func{wxNode *}{Member}{\param{wxObject *}{object}} +\func{wxNode *}{Member}{\param{T *}{object}} {\bf NB:} This function is deprecated, use \helpref{Find}{wxlistfind} instead. @@ -271,7 +278,7 @@ Returns the node associated with {\it object} if it is in the list, NULL otherwi \membersection{wxList::Nth}\label{wxlistnth} -\func{wxNode *}{Nth}{\param{int}{ n}} +\func{wxNode *}{Nth}{\param{int}{ n}} {\bf NB:} This function is deprecated, use \helpref{Item}{wxlistitemfunc} instead. diff --git a/docs/latex/wx/listbox.tex b/docs/latex/wx/listbox.tex index c81cb93fb6..07b133a76c 100644 --- a/docs/latex/wx/listbox.tex +++ b/docs/latex/wx/listbox.tex @@ -284,7 +284,7 @@ it. \membersection{wxListBox::InsertItems}\label{wxlistboxinsertitems} -\func{void}{InsertItems}{\param{int}{ nItems}, \param{const wxString}{ items}, \param{int}{ pos}} +\func{void}{InsertItems}{\param{int}{ nItems}, \param{const wxString}{ *items}, \param{int}{ pos}} Insert the given number of strings before the specified position. @@ -331,9 +331,11 @@ TRUE if the given item is selected, FALSE otherwise. \membersection{wxListBox::Set}\label{wxlistboxset} -\func{void}{Set}{\param{int}{ n}, \param{const wxString*}{ choices}} +\func{void}{Set}{\param{int}{ n}, \param{const wxString*}{ choices}, \param{void}{ **clientData = {\tt NULL}}} -Clears the list box and adds the given strings. Not implemented for GTK. +\func{void}{Set}{\param{const wxArrayString\&}{ choices}, \param{void}{ **clientData = {\tt NULL}}} + +Clears the list box and adds the given strings to it. \wxheading{Parameters} @@ -341,10 +343,12 @@ Clears the list box and adds the given strings. Not implemented for GTK. \docparam{choices}{An array of strings to set.} +\docparam{clientData}{Options array of client data pointers} + \wxheading{Remarks} -Deallocate the array from the calling program -after this function has been called. +You may free the array from the calling program after this function has been +called. \membersection{wxListBox::SetClientData}\label{wxlistboxsetclientdata} diff --git a/docs/latex/wx/listctrl.tex b/docs/latex/wx/listctrl.tex index 9aef15d27c..9cfbf90f6e 100644 --- a/docs/latex/wx/listctrl.tex +++ b/docs/latex/wx/listctrl.tex @@ -14,7 +14,12 @@ without consuming much memory. To use virtual list control you must use \helpref{OnGetItemText}{wxlistctrlongetitemtext} (and optionally \helpref{OnGetItemImage}{wxlistctrlongetitemimage} and \helpref{OnGetItemAttr}{wxlistctrlongetitemattr}) to return the information -about the items when the control requests it. +about the items when the control requests it. Virtual list control can be used +as a normal one except that no operations which can take time proportional to +the number of items in the control happen -- this is required to allow having a +practically infinite number of items. For example, in a multiple selection +virtual list control, the selections won't be sent when many items are selected +at once because this could mean iterating over all the items. Using many of wxListCtrl features is shown in the \helpref{corresponding sample}{samplelistctrl}. @@ -606,12 +611,12 @@ the given {\it column} for the specified {\tt item}. \func{bool}{ScrollList}{\param{int }{dx}, \param{int }{dy}} -Scrolls the list control. If in icon, small icon or report view mode, -dx specifies the number of pixels to scroll. If in list view mode, dx -specifies the number of columns to scroll. +Scrolls the list control. If in icon, small icon or report view mode, +{\it dx} specifies the number of pixels to scroll. If in list view mode, +{\it dx} specifies the number of columns to scroll. {\it dy} always specifies +the number of pixels to scroll vertically. -If in icon, small icon or list view mode, dy specifies the number of pixels -to scroll. If in report view mode, dy specifies the number of lines to scroll. +{\bf NB:} This method is currently only implemented in the Windows version. \membersection{wxListCtrl::SetBackgroundColour}\label{wxlistctrlsetbackgroundcolour} diff --git a/docs/latex/wx/listview.tex b/docs/latex/wx/listview.tex new file mode 100644 index 0000000000..76138d5310 --- /dev/null +++ b/docs/latex/wx/listview.tex @@ -0,0 +1,145 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Name: listview.tex +%% Purpose: wxListView documentation +%% Author: Vadim Zeitlin +%% Modified by: +%% Created: 07.11.02 +%% RCS-ID: $Id$ +%% Copyright: (c) 2002 Vadim Zeitlin +%% License: wxWindows license +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{\class{wxListView}}\label{wxlistview} + +This class currently simply presents a simpler to use interface for the +\helpref{wxListCtrl}{wxlistctrl} -- it can be thought of as a {\it fa\c{c}ade} +for that complicated class. Using it is preferable to using +\helpref{wxListCtrl}{wxlistctrl} directly whenever possible because in the +future some ports might implement wxListView but not the full set of wxListCtrl +features. + +Other than different interface, this class is identical to wxListCtrl. In +particular, it uses the same events, same windows styles and so on. + +\wxheading{Derived from} + +\helpref{wxListCtrl}{wxlistctrl}\\ +\helpref{wxControl}{wxcontrol}\\ +\helpref{wxWindow}{wxwindow}\\ +\helpref{wxEvtHandler}{wxevthandler}\\ +\helpref{wxObject}{wxobject} + +\wxheading{Include files} + + + +%%%%%%%%%%%%% Methods in alphabetic order %%%%%%%%%%%%% +\latexignore{\rtfignore{\wxheading{Members}}} + +\membersection{wxListView::ClearColumnImage}\label{wxlistviewclearcolumnimage} + +\func{void}{ClearColumnImage}{\param{int }{col}} + +Resets the column image -- after calling this function, no image will be shown. + +\wxheading{Parameters} + +\docparam{col}{the column to clear image for} + +\wxheading{See also} + +\helpref{SetColumnImage}{wxlistviewsetcolumnimage} + + +\membersection{wxListView::Focus}\label{wxlistviewfocus} + +\func{void}{Focus}{\param{long }{index}} + +Sets focus to the item with the given {\it index}. + + +\membersection{wxListView::GetFirstSelected}\label{wxlistviewgetfirstselected} + +\constfunc{long}{GetFirstSelected}{\void} + +Returns the first selected item in a (presumably) multiple selection control. +Tigether with \helpref{GetNextSelected}{wxlistviewgetnextselected} it can be +used to iterate over all selected items in the control. + +\wxheading{Return value} + +The fisrt selected item, if any, $-1$ otherwise. + + +\membersection{wxListView::GetFocusedItem}\label{wxlistviewgetfocuseditem} + +\constfunc{long}{GetFocusedItem}{\void} + +Returns the currently focused item or $-1$ if none. + +\wxheading{See also} + +\helpref{IsSelected}{wxlistviewisselected},\\ +\helpref{Focus}{wxlistviewfocus} + + +\membersection{wxListView::GetNextSelected}\label{wxlistviewgetnextselected} + +\constfunc{long}{GetNextSelected}{\param{long }{item}} + +Used together with \helpref{GetFirstSelected}{wxlistviewgetfirstselected} to +iterate oevr all selected items in the control. + +\wxheading{Return value} + +Returns the next selected item or $-1$ if there are no more of them. + + +\membersection{wxListView::IsSelected}\label{wxlistviewisselected} + +\func{bool}{IsSelected}{\param{long }{index}} + +Returns {\tt TRUE} if the item with the given {\it index} is selected, +{\tt FALSE} otherwise. + +\wxheading{See also} + +\helpref{GetFirstSelected}{wxlistviewgetfirstselected},\\ +\helpref{GetNextSelected}{wxlistviewgetnextselected} + + +\membersection{wxListView::Select}\label{wxlistviewselect} + +\func{void}{Select}{long n, \param{bool }{on = TRUE}} + +Selects or unselects the given item. + +\wxheading{Parameters} + +\docparam{n}{the item to select or unselect} + +\docparam{on}{if {\tt TRUE} (default), selects the item, otherwise unselects it} + +\wxheading{See also} + +\helpref{SetItemState}{wxlistctrlsetitemstate} + + +\membersection{wxListView::SetColumnImage}\label{wxlistviewsetcolumnimage} + +\func{void}{SetColumnImage}{\param{int }{col}, \param{int }{image}} + +Sets the column image for the specified column. To use the column images, the +control must have a valid image list with at least one image. + +\wxheading{Parameters} + +\docparam{col}{the column to set image for} + +\docparam{image}{the index of the column image in the controls image list} + +\wxheading{See also} + +\helpref{ClearColumnImage}{wxlistviewclearcolumnimage},\\ +\helpref{SetImageList}{wxlistctrlsetimagelist} + diff --git a/docs/latex/wx/log.tex b/docs/latex/wx/log.tex index 1a88333182..aed457e94d 100644 --- a/docs/latex/wx/log.tex +++ b/docs/latex/wx/log.tex @@ -380,7 +380,9 @@ wxLogChain *logChain = new wxLogChain(new wxLogStderr); // all the log messages are sent to stderr and also processed as usually ... -delete logChain; +// don't delete logChain directly as this would leave a dangling +// pointer as active log target, use SetActiveTarget() instead +delete wxLog::SetActiveTarget(...something else or NULL...); \end{verbatim} diff --git a/docs/latex/wx/longlong.tex b/docs/latex/wx/longlong.tex index 37f62f17eb..e3e44f2785 100644 --- a/docs/latex/wx/longlong.tex +++ b/docs/latex/wx/longlong.tex @@ -25,10 +25,16 @@ also has operators for implicit construction from and conversion to the native You would usually use this type in exactly the same manner as any other (built-in) arithmetic type. Note that wxLongLong is a signed type, if you -want unsigned values use wxULongLong. +want unsigned values use wxULongLong which has exactly the same API as +wxLongLong except when explicitly mentioned otherwise. If a native (i.e. supported directly by the compiler) 64 bit integer type was -found a typedef {\it wxLongLong\_t} will be defined to correspond it. +found to exist, {\it wxLongLong\_t} macro will be defined to correspond to it. +Also, in this case only, two additional macros will be defined: +\helpref{wxLongLongFmtSpec}{wxlonglongfmtspec} for printing 64 bit integers +using the standard {\tt printf()} function (but see also +\helpref{ToString()}{wxlonglongtostring} for a more portable solution) and +\helpref{wxLL}{wxll} for defining 64 bit integer compile-time constants. \wxheading{Derived from} diff --git a/docs/latex/wx/manual.tex b/docs/latex/wx/manual.tex index bc1608cc7d..91e3b2aa0e 100644 --- a/docs/latex/wx/manual.tex +++ b/docs/latex/wx/manual.tex @@ -26,13 +26,13 @@ %\special{!/@scaleunit 1 def} \parskip=10pt \parindent=0pt -\title{wxWindows 2.3: A portable C++ and Python GUI toolkit} +\title{wxWindows 2.3.4: A portable C++ and Python GUI toolkit} \winhelponly{\author{by Julian Smart et al %\winhelponly{\\$$\image{1cm;0cm}{wxwin.wmf}$$} }} \winhelpignore{\author{Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al} -\date{August 2002} +\date{November 2002} } \makeindex \begin{document} diff --git a/docs/latex/wx/mbconv.tex b/docs/latex/wx/mbconv.tex index 5aaf60b65c..dd5653d371 100644 --- a/docs/latex/wx/mbconv.tex +++ b/docs/latex/wx/mbconv.tex @@ -37,15 +37,36 @@ Constructor. \constfunc{virtual size\_t}{MB2WC}{\param{wchar\_t* }{buf}, \param{const char* }{psz}, \param{size\_t }{n}} -Converts from multibyte encoding to Unicode, using the libc routine mbstowcs() -(this is overridden by derived classes). Returns the size of the destination buffer. +Converts from a string {\it psz} in multibyte encoding to Unicode putting the +output into the buffer {\it buf} of the size {\it n} (in wide characters, not +bytes). If {\it buf} is {\tt NULL}, nothing is written to it but the length of +the string which would result from the conversion is calculated and returned. +Note that this is the length and not size, i.e. the returned value does +{\bf not} include the trailing NUL. But when the function is called with a +non-{\tt NULL} buffer, the {\it n} parameter should be the size of the buffer +and so it {\bf should} take into account the trailing NUL. + +\wxheading{Parameters} + +\docparam{buf}{the output buffer, may be {\tt NULL} if the caller is only +interested in the length of the resulting string} + +\docparam{psz}{the {\tt NUL}-terminated input string, cannot be {\tt NULL}} + +\docparam{n}{the size of the output buffer, ignored if {\it buf} is {\tt NULL}} + +\wxheading{Return value} + +The length of the converted string. \membersection{wxMBConv::WC2MB}\label{wxmbconvwc2mb} \constfunc{virtual size\_t}{WC2MB}{\param{char* }{buf}, \param{const wchar\_t* }{psz}, \param{size\_t }{n}} -Converts from Unicode to multibyte encoding, using the libc routine wcstombs() -(this is overridden by derived classes). Returns the size of the destination buffer. +Converts from Unicode to multibyte encoding. The semantics of this function +(including the return value meaning) is the same as for +\helpref{MB2WC}{wxmbconvmb2wc}. + \membersection{wxMBConv::cMB2WC}\label{wxmbconvcmb2wc} diff --git a/docs/latex/wx/menu.tex b/docs/latex/wx/menu.tex index b5626089db..5a42e562f8 100644 --- a/docs/latex/wx/menu.tex +++ b/docs/latex/wx/menu.tex @@ -27,6 +27,13 @@ of the item positions inserting or removing the items in the menu containing the radio items risks to not work correctly. Finally note that the radio items are only supported under Windows and GTK+ currently. +\wxheading{Allocation strategy} + +All menus except the popup ones must be created on the heap. All menus +attached to a menubar or to another menu will be deleted by their parent when +it is deleted. As the frame menubar is deleted by the frame itself, it means +that normally all menus used are deleted automatically. + \wxheading{Derived from} \helpref{wxEvtHandler}{wxevthandler}\\ @@ -104,7 +111,9 @@ Adds a string item to the end of the menu. \func{void}{Append}{\param{int}{ id}, \param{const wxString\& }{ item}, \param{wxMenu *}{subMenu},\rtfsp \param{const wxString\& }{helpString = ""}} -Adds a pull-right submenu to the end of the menu. +Adds a pull-right submenu to the end of the menu. Append the submenu to the parent +menu {\it after} you have added your menu items, or accelerators may not be +registered properly. \func{void}{Append}{\param{wxMenuItem*}{ menuItem}} diff --git a/docs/latex/wx/menuitem.tex b/docs/latex/wx/menuitem.tex index 903794c0b3..16691f6bbb 100644 --- a/docs/latex/wx/menuitem.tex +++ b/docs/latex/wx/menuitem.tex @@ -36,7 +36,9 @@ Constructs a wxMenuItem object. \docparam{id}{Identifier for this menu item, or ID\_SEPARATOR to indicate a separator.} -\docparam{text}{Text for the menu item, as shown on the menu.} +\docparam{text}{Text for the menu item, as shown on the menu. An accelerator +key can be specified using the ampersand '\&' character. In order to embed an +ampersand character in the menu item text, the ampersand must be doubled.} \docparam{helpString}{Optional help string that will be shown on the status bar.} diff --git a/docs/latex/wx/node.tex b/docs/latex/wx/node.tex index c2b6600772..de3f30e362 100644 --- a/docs/latex/wx/node.tex +++ b/docs/latex/wx/node.tex @@ -1,12 +1,19 @@ -\section{\class{wxNodeBase}}\label{wxnode} - -A node structure used in linked lists (see \helpref{wxList}{wxlist}) and -derived classes. You should never use wxNodeBase class directly because it -works with untyped (void *) data and this is unsafe. Use wxNode-derived classes -which are defined by WX\_DECLARE\_LIST and WX\_DEFINE\_LIST macros instead as -described in \helpref{wxList}{wxlist} documentation (see example there). wxNode -is defined for compatibility as wxNodeBase containing "wxObject *" pointer, but -usage of this class is deprecated. +\section{\class{wxNode}}\label{wxnode} + +wxNodeBase is the node structure used in linked lists (see +\helpref{wxList}{wxlist}) and derived classes. You should never use wxNodeBase +class directly, however, because it works with untyped ({\tt void *}) data and +this is unsafe. Use wxNodeBase-derived classes which are automatically defined +by WX\_DECLARE\_LIST and WX\_DEFINE\_LIST macros instead as described in +\helpref{wxList}{wxlist} documentation (see example there). Also note that +although there is a class called wxNode, it is defined for backwards +compatibility only and usage of this class is strongly deprecated. + +In the documentation below, the type {\tt T} should be thought of as a +``template'' parameter: this is the type of data stored in the linked list or, +in other words, the first argument of WX\_DECLARE\_LIST macro. Also, wxNode is +written as wxNode even though it isn't really a template class -- but it +helps to think of it as if it were. \wxheading{Derived from} @@ -22,32 +29,32 @@ None. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxNodeBase::GetData} +\membersection{wxNode::GetData} -\func{void *}{Data}{\void} +\constfunc{T *}{GetData}{\void} Retrieves the client data pointer associated with the node. -\membersection{wxNodeBase::GetNext} +\membersection{wxNode::GetNext} -\func{wxNodeBase *}{Next}{\void} +\constfunc{wxNode *}{GetNext}{\void} -Retrieves the next node (NULL if at end of list). +Retrieves the next node or NULL if this node is the last one. -\membersection{wxNodeBase::GetPrevious} +\membersection{wxNode::GetPrevious} -\func{wxNodeBase *}{GetPrevious}{\void} +\func{wxNode *}{GetPrevious}{\void} -Retrieves the previous node (NULL if at start of list). +Retrieves the previous node or NULL if this node is the first one in the list. -\membersection{wxNodeBase::SetData} +\membersection{wxNode::SetData} -\func{void}{SetData}{\param{void *}{data}} +\func{void}{SetData}{\param{T *}{data}} Sets the data associated with the node (usually the pointer will have been set when the node was created). -\membersection{wxNodeBase::IndexOf} +\membersection{wxNode::IndexOf} \func{int}{IndexOf}{\void} diff --git a/docs/latex/wx/notebook.tex b/docs/latex/wx/notebook.tex index 9f91ec35dc..f0d414855a 100644 --- a/docs/latex/wx/notebook.tex +++ b/docs/latex/wx/notebook.tex @@ -24,10 +24,11 @@ managed by wxNotebook. \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxNB\_FIXEDWIDTH}}{(Windows only)All tabs will have same width.} \twocolitem{\windowstyle{wxNB\_LEFT}}{Place tabs on the left side.} \twocolitem{\windowstyle{wxNB\_RIGHT}}{Place tabs on the right side.} \twocolitem{\windowstyle{wxNB\_BOTTOM}}{Place tabs under instead of above the notebook pages.} +\twocolitem{\windowstyle{wxNB\_FIXEDWIDTH}}{(Windows only) All tabs will have same width.} +\twocolitem{\windowstyle{wxNB\_MULTILINE}}{(Windows only) There can be several rows of tabs.} \end{twocollist} diff --git a/docs/latex/wx/panel.tex b/docs/latex/wx/panel.tex index 6dfeb8fe6e..63b331c13f 100644 --- a/docs/latex/wx/panel.tex +++ b/docs/latex/wx/panel.tex @@ -43,7 +43,7 @@ A panel may be loaded from a wxWindows resource file (extension {\tt wxr}). Default constructor. -\func{}{wxPanel}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp +\func{}{wxPanel}{\param{wxWindow* }{parent}, \param{wxWindowID }{id = $-1$},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{long}{ style = wxTAB\_TRAVERSAL},\rtfsp diff --git a/docs/latex/wx/radiobut.tex b/docs/latex/wx/radiobut.tex index 9146afe3c0..c9b5f647ed 100644 --- a/docs/latex/wx/radiobut.tex +++ b/docs/latex/wx/radiobut.tex @@ -19,6 +19,9 @@ exclusive options. It has a text label next to a (usually) round button. \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{wxRB\_GROUP}}{Marks the beginning of a new group of radio buttons.} +\twocolitem{\windowstyle{wxRB\_SINGLE}}{If your radio buttons are not +consecutive siblings, they cannot form a group under Windows and you should use +this style to indicate that each of them is handled individually.} \end{twocollist} See also \helpref{window styles overview}{windowstyles}. diff --git a/docs/latex/wx/scpdarry.tex b/docs/latex/wx/scpdarry.tex index 9164885ea7..baa23718ea 100644 --- a/docs/latex/wx/scpdarry.tex +++ b/docs/latex/wx/scpdarry.tex @@ -47,7 +47,7 @@ pointer array. \end{verbatim} A smart pointer holds a pointer to an object (which must be complete -when wxDEFINE_SCOPED_ARRAY() is called). The memory used by the object is +when wxDEFINE\_SCOPED\_ARRAY() is called). The memory used by the object is deleted when the smart pointer goes out of scope. The first argument of the macro is the pointer type, the second is the name of the new smart pointer class being created. Below we will use wxScopedArray to diff --git a/docs/latex/wx/scpdptr.tex b/docs/latex/wx/scpdptr.tex index f5ae98c0c4..844aefbe2f 100644 --- a/docs/latex/wx/scpdptr.tex +++ b/docs/latex/wx/scpdptr.tex @@ -47,7 +47,7 @@ pointer array. \end{verbatim} A smart pointer holds a pointer to an object (which must be complete -when wxDEFINE_SCOPED_PTR() is called). The memory used by the object is +when wxDEFINE\_SCOPED\_PTR() is called). The memory used by the object is deleted when the smart pointer goes out of scope. The first argument of the macro is the pointer type, the second is the name of the new smart pointer class being created. Below we will use wxScopedPtr to diff --git a/docs/latex/wx/scrolevt.inc b/docs/latex/wx/scrolevt.inc index 90d5758865..f33a53d0e6 100644 --- a/docs/latex/wx/scrolevt.inc +++ b/docs/latex/wx/scrolevt.inc @@ -5,9 +5,9 @@ member functions that take a wxScrollEvent argument. You can use {\tt EVT\_COMMAND\_SCROLL...} macros with window IDs for when intercepting scroll events from controls, or {\tt EVT\_SCROLL...} macros without window IDs for intercepting scroll events from the receiving window - except for this, -the macros behave exactly the same +the macros behave exactly the same. -\twocolwidtha{7cm} +\twocolwidtha{9cm} \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_SCROLL(func)}}{Process all scroll events.} \twocolitem{{\bf EVT\_SCROLL\_TOP(func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-top events (minium position).} @@ -34,3 +34,22 @@ sent as the user drags the thumbtrack).} \end{twocollist}% + +\wxheading{The difference between {\tt EVT\_SCROLL\_THUMBRELEASE} and {\tt EVT\_SCROLL\_ENDSCROLL}} + +The {\tt EVT\_SCROLL\_THUMBRELEASE} event is only emitted when actually dragging +the thumb using the mouse and releasing it (This {\tt EVT\_SCROLL\_THUMBRELEASE} +event is also followed by an {\tt EVT\_SCROLL\_ENDSCROLL} event). + +The {\tt EVT\_SCROLL\_ENDSCROLL} event also occurs when using the keyboard to +change the thumb position, and when clicking next to the thumb (In all these +cases the {\tt EVT\_SCROLL\_THUMBRELEASE} event does not happen). + +In short, the {\tt EVT\_SCROLL\_ENDSCROLL} event is triggered when scrolling/ +moving has finished. The only exception (unfortunately) is that changing the +thumb position using the mousewheel does give a {\tt EVT\_SCROLL\_THUMBRELEASE} +event but NOT an {\tt EVT\_SCROLL\_ENDSCROLL} event. + +Please see the widgets sample ("Slider" page) to see the difference +between {\tt EVT\_SCROLL\_THUMBRELEASE} and {\tt EVT\_SCROLL\_ENDSCROLL} in action. + diff --git a/docs/latex/wx/scrolwin.tex b/docs/latex/wx/scrolwin.tex index 15c5be4cc1..9507fb04be 100644 --- a/docs/latex/wx/scrolwin.tex +++ b/docs/latex/wx/scrolwin.tex @@ -4,7 +4,47 @@ The wxScrolledWindow class manages scrolling for its client area, transforming the coordinates according to the scrollbar positions, and setting the scroll positions, thumb sizes and ranges according to the area in view. -As with all windows, an application can draw onto a wxScrolledWindow using a \helpref{device context}{dcoverview}. +Starting from version 2.4 of wxWindows, there are several ways to use a +wxScrolledWindow. In particular, there are now three ways to set the +size of the scrolling area: + +One way is to set the scrollbars directly using a call to +\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars}. +This is the way it used to be in any previous version of wxWindows +and it will be kept for backwards compatibility. + +An additional method of manual control, which requires a little less +computation of your own, is to set the total size of the scrolling area by +calling either \helpref{wxWindow::SetVirtualSize}{wxwindowsetvirtualsize}, +or \helpref{wxWindow::FitInside}{wxwindowfitinside}, and setting the +scrolling increments for it by calling +\helpref{wxScrolledWindow::SetScrollRate}{wxscrolledwindowsetscrollrate}. +Scrolling in some orientation is enabled by setting a non zero increment +for it. + +The most automatic and newest way is to simply let sizers determine the +scrolling area. This is now the default when you set an interior sizer +into a wxScrolledWindow with \helpref{wxWindow::SetSizer}{wxwindowsetsizer}. +The scrolling area will be set to the size requested by the sizer and +the scrollbars will be assigned for each orientation according to the need +for them and the scrolling increment set by +\helpref{wxScrolledWindow::SetScrollRate}{wxscrolledwindowsetscrollrate}. +As above, scrolling is only enabled in orientations with a non-zero +increment. You can influence the minimum size of the scrolled area +controlled by a sizer by calling +\helpref{wxWindow::SetVirtualSizeHints}{wxwindowsetvirtualsizehints}. +(calling \helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars} + has analogous effects in wxWindows 2.4 -- in later versions it may not continue + to override the sizer) + +Note: if Maximum size hints are still supported by SetVirtualSizeHints, use +them at your own dire risk. They may or may not have been removed for 2.4, +but it really only makes sense to set minimum size hints here. We should +probably replace SetVirtualSizeHints with SetMinVirtualSize or similar +and remove it entirely in future. + +As with all windows, an application can draw onto a wxScrolledWindow using +a \helpref{device context}{dcoverview}. You have the option of handling the OnPaint handler or overriding the \helpref{OnDraw}{wxscrolledwindowondraw} function, which is passed diff --git a/docs/latex/wx/semaphor.tex b/docs/latex/wx/semaphor.tex index 88190caa8b..68da8177ec 100644 --- a/docs/latex/wx/semaphor.tex +++ b/docs/latex/wx/semaphor.tex @@ -60,7 +60,7 @@ Destructor is not virtual, don't use this class polymorphically. \func{wxSemaError }{Post}{\void} Increments the semaphore count and signals one of the waiting -threads in an atomic way. Returns wxSEMA_OVERFLOW if the count +threads in an atomic way. Returns wxSEMA\_OVERFLOW if the count would increase the counter past the maximum. \wxheading{Return value} diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index e052026c43..b7d1b8ee4e 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -54,11 +54,11 @@ The destructor. \membersection{wxSizer::Add}\label{wxsizeradd} -\func{void}{Add}{\param{wxWindow* }{window}, \param{int }{option = 0},\param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} +\func{void}{Add}{\param{wxWindow* }{window}, \param{int }{proportion = 0},\param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} -\func{void}{Add}{\param{wxSizer* }{sizer}, \param{int }{option = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} +\func{void}{Add}{\param{wxSizer* }{sizer}, \param{int }{proportion = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} -\func{void}{Add}{\param{int }{width}, \param{int }{height}, \param{int }{option = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} +\func{void}{Add}{\param{int }{width}, \param{int }{height}, \param{int }{proportion = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} Adds the {\it window} to the sizer. As wxSizer itself is an abstract class, the parameters have no meaning in the wxSizer class itself, but as there currently is only one class @@ -76,11 +76,11 @@ horizontal boxes on the level beneath).} \docparam{width and height}{The dimension of a spacer to be added to the sizer. Adding spacers to sizers gives more flexibility in the design of dialogs; imagine for example a horizontal box with two buttons at the bottom of a dialog: you might want to insert a space between the two buttons and make that space stretchable -using the {\it option} flag and the result will be that the left button will be aligned with the left +using the {\it proportion} flag and the result will be that the left button will be aligned with the left side of the dialog and the right button with the right side - the space in between will shrink and grow with the dialog.} -\docparam{option}{Although the meaning of this parameter is undefined in wxSizer, it is used in wxBoxSizer +\docparam{proportion}{Although the meaning of this parameter is undefined in wxSizer, it is used in wxBoxSizer to indicate if a child of a sizer can change its size in the main orientation of the wxBoxSizer - where 0 stands for not changeable and a value of more than zero is interpreted relative to the value of other children of the same wxBoxSizer. For example, you might have a horizontal wxBoxSizer with three children, two @@ -93,7 +93,7 @@ using these flags. One is the border around a window: the {\it border} parameter determines the border width whereas the flags given here determine where the border may be (wxTOP, wxBOTTOM, wxLEFT, wxRIGHT or wxALL). The other flags determine the child window's behaviour if the size of the sizer changes. -However this is not - in contrast to the {\it option} flag - in the main +However this is not - in contrast to the {\it proportion} flag - in the main orientation, but in the respectively other orientation. So if you created a wxBoxSizer with the wxVERTICAL option, these flags will be relevant if the sizer changes its horizontal size. A child may get resized to completely fill @@ -106,7 +106,7 @@ in the main orientation using wxALIGN\_CENTER\_VERTICAL (same as wxALIGN\_CENTRE\_VERTICAL) and wxALIGN\_CENTER\_HORIZONTAL (same as wxALIGN\_CENTRE\_HORIZONTAL) flags. Finally, you can also specify wxADJUST\_MINSIZE flag to make the minimal size of the control dynamically adjust -to the value returned by its \helpref{GetBestSize()}{wxwindowgetbestsize} +to the value returned by its \helpref{GetAdjustedBestSize()}{wxwindowgetadjustedbestsize} method - this allows, for example, for correct relayouting of a static text control even if its text is changed during run-time.} @@ -114,7 +114,7 @@ control even if its text is changed during run-time.} \docparam{userData}{Allows an extra object to be attached to the sizer item, for use in derived classes when sizing information is more -complex than the {\it option} and {\it flag} will allow for.} +complex than the {\it proportion} and {\it flag} will allow for.} \membersection{wxSizer::CalcMin}\label{wxsizercalcmin} @@ -175,11 +175,11 @@ the current dimension. \membersection{wxSizer::Prepend}\label{wxsizerprepend} -\func{void}{Prepend}{\param{wxWindow* }{window}, \param{int }{option = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} +\func{void}{Prepend}{\param{wxWindow* }{window}, \param{int }{proportion = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} -\func{void}{Prepend}{\param{wxSizer* }{sizer}, \param{int }{option = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} +\func{void}{Prepend}{\param{wxSizer* }{sizer}, \param{int }{proportion = 0}, \param{int }{flag = 0}, \param{int }{border = 0}, \param{wxObject* }{userData = NULL}} -\func{void}{Prepend}{\param{int }{width}, \param{int }{height}, \param{int }{option = 0}, \param{int }{flag = 0}, \param{int }{border= 0}, \param{wxObject* }{userData = NULL}} +\func{void}{Prepend}{\param{int }{width}, \param{int }{height}, \param{int }{proportion = 0}, \param{int }{flag = 0}, \param{int }{border= 0}, \param{wxObject* }{userData = NULL}} Same as \helpref{wxSizer::Add}{wxsizeradd}, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. @@ -254,9 +254,18 @@ see sample in the description of \helpref{wxBoxSizer}{wxboxsizer} if the window \func{void}{SetVirtualSizeHints}{\param{wxWindow* }{window}} Tell the sizer to set the minimal size of the {\it window} virtual area to match the sizer's -minimal size. For windows with managed scrollbars this will set them appropriately. +minimal size. For windows with managed scrollbars this will set them appropriately. \wxheading{See also} \helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars} +\membersection{wxSizer::Show}\label{wxsizershow} + +\func{void}{Show}{\param{wxWindow* }{window}, \param{bool }{show = TRUE}} + +\func{void}{Show}{\param{wxSizer* }{sizer}, \param{bool }{show = TRUE}} + +Shows or hides a window or sizer. To make a sizer item disappear or +reappear, use Show() followed by Layout(). + diff --git a/docs/latex/wx/statbmp.tex b/docs/latex/wx/statbmp.tex index 78ea1aac9c..3c9922ebfb 100644 --- a/docs/latex/wx/statbmp.tex +++ b/docs/latex/wx/statbmp.tex @@ -37,7 +37,7 @@ palette problems. Default constructor. \func{}{wxStaticBitmap}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxBitmap\& }{label = ``"}, \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{const wxBitmap\& }{label}, \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{long}{ style = 0}, \param{const wxString\& }{name = ``staticBitmap"}} Constructor, creating and showing a text control. @@ -65,7 +65,7 @@ Constructor, creating and showing a text control. \membersection{wxStaticBitmap::Create}\label{wxstaticbitmapcreate} \func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxBitmap\& }{label = ``"}, \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{const wxBitmap\& }{label}, \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{long}{ style = 0}, \param{const wxString\& }{name = ``staticBitmap"}} Creation function, for two-step construction. For details see \helpref{wxStaticBitmap::wxStaticBitmap}{wxstaticbitmapconstr}. diff --git a/docs/latex/wx/tcommdlg.tex b/docs/latex/wx/tcommdlg.tex index ccea6686b5..cd91cc9036 100644 --- a/docs/latex/wx/tcommdlg.tex +++ b/docs/latex/wx/tcommdlg.tex @@ -167,7 +167,7 @@ The wildcard may be a specification for multiple types of file with a description for each, such as: \begin{verbatim} - "BMP files (*.bmp) | *.bmp | GIF files (*.gif) | *.gif" + "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" \end{verbatim} \subsection{wxDirDialog overview}\label{wxdirdialogoverview} diff --git a/docs/latex/wx/tdb.tex b/docs/latex/wx/tdb.tex index 449efdbfc3..401f78758e 100644 --- a/docs/latex/wx/tdb.tex +++ b/docs/latex/wx/tdb.tex @@ -404,8 +404,8 @@ member. \begin{verbatim} wxDbConnectInf DbConnectInf; - DbConnectInf.SetDsn,"MyDSN"); - DbConnectInf.SetUserID,"MyUserName"); + DbConnectInf.SetDsn("MyDSN"); + DbConnectInf.SetUserID("MyUserName"); DbConnectInf.SetPassword("MyPassword"); DbConnectInf.SetDefaultDir(""); \end{verbatim} @@ -832,7 +832,7 @@ this example it was stored in "DbConnectInf.Henv") have been closed, then it is safe to release the environment handle: \begin{verbatim} - DbConnectInf->FreeHenv()); + DbConnectInf->FreeHenv(); \end{verbatim} Or, if the long form of the constructor was used and the constructor was allowed diff --git a/docs/latex/wx/tex2rtf.ini b/docs/latex/wx/tex2rtf.ini index cbb9b01c42..60b0948b4a 100644 --- a/docs/latex/wx/tex2rtf.ini +++ b/docs/latex/wx/tex2rtf.ini @@ -1,4 +1,6 @@ -;;; Tex2RTF initialisation file +;;; Tex2RTF initialisation file, using NO style sheet for HTML. See +;;; tex2rtf_css.ini for a version using a style sheet. You can use +;;; -macros tex2rtf.ini to specify the ini file. runTwice = yes titleFontSize = 12 authorFontSize = 10 @@ -32,7 +34,7 @@ htmlFaceName = "Arial, Lucida, Helvetica" \textbackslash [0]{{\tt$\backslash$}} \gifsep [0]{\par} ignoreInput = "ltx.tex" -htmlStylesheet = "wx.css" +; htmlStylesheet = "wx.css" ;\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}} ;\htmlonly{\image{}{books.gif}}\helpref{#1}{#2} diff --git a/docs/latex/wx/tex2rtf_css.ini b/docs/latex/wx/tex2rtf_css.ini new file mode 100644 index 0000000000..e6a089d119 --- /dev/null +++ b/docs/latex/wx/tex2rtf_css.ini @@ -0,0 +1,54 @@ +;;; Tex2RTF initialisation file, using a style sheet for HTML. +;;; See tex2rtf.ini for a version using no style sheet, and instead +;;; setting explicit fonts. You can use -macros tex2rtf_css.ini to +;;; specify the ini file. +runTwice = yes +titleFontSize = 12 +authorFontSize = 10 +authorFontSize = 10 +chapterFontSize = 12 +sectionFontSize = 12 +subsectionFontSize = 12 +contentsDepth = 2 +headerRule = yes +footerRule = yes +useHeadingStyles = yes +listItemIndent=40 +generateHPJ = yes +htmlBrowseButtons = bitmap +winHelpContents = yes +winHelpVersion = 3 ; 3 for Windows 3.x, 4 for Windows 95 +winHelpTitle = "wxWindows Manual" +truncateFilenames = yes +combineSubSections = yes +;; +;; These two are for generating MS HTML Help project, contents and index files. +;; +htmlWorkshopFiles = true +htmlIndex = true + +; Finally, a way to specify face names +;htmlFaceName = "Arial, Lucida, Helvetica" + +\textasciitilde [0]{{\tt\~}} +\textasciicircum [0]{{\tt\^}} +\textbackslash [0]{{\tt$\backslash$}} +\gifsep [0]{\par} +ignoreInput = "ltx.tex" +htmlStylesheet = "wx.css" + +;\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}} +;\htmlonly{\image{}{books.gif}}\helpref{#1}{#2} +;\sethotspotcolour{on}\sethotspotunderline{on}} +\overview [2] {\helpref{#1}{#2}} +\docparam [2]{\parskip{0}{\it #1}\htmlignore{\par}\parskip{10}\indented{1cm}{#2}} +\wxheading [1]{{\bf \htmlignore{\fcol{blue}{#1}}\htmlonly{\fcol{red}{#1}}}} +\const [0] {{\bf const}} +\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}} +\windowstyle [1] {{\bf #1}\index{#1}} +\bftt [1] {\bf{\tt{#1}}} +\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1} +%\pythonnote [1] {} +\perlnote [1] {{\bf \fcol{blue}{wxPerl note:}} #1} +%\perlnote [1] {} + diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index c7f58237a3..32527801c3 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -125,6 +125,29 @@ it to always show it. It doesn't do anything under other platforms.} See also \helpref{window styles overview}{windowstyles} and \helpref{wxTextCtrl::wxTextCtrl}{wxtextctrlconstr}. +\wxheading{wxTextCtrl text format} + +The multiline text controls always store the text as a sequence of lines +separated by {\tt $\backslash$n} characters, i.e. in the Unix text format even +on non-Unix platforms. This allows the user code to ignore the differences +between the platforms but at a price: the indices in the control such as those +returned by \helpref{GetInsertionPoint}{wxtextctrlgetinsertionpoint} or +\helpref{GetSelection}{wxtextctrlgetselection} can {\bf not} be used as +indices into the string returned by \helpref{GetValue}{wxtextctrlgetvalue} as +they're going to be slightly off for platforms using +{\tt $\backslash$r$\backslash$n} as separator (as Windows does), for example. + +Instead, if you need to obtain a substring between the $2$ indices obtained +from the control with the help of the functions mentioned above, you should +use \helpref{GetRange}{wxtextctrlgetrange}. And the indices themselves can +only be passed to other methods, for example +\helpref{SetInsertionPoint}{wxtextctrlsetinsertionpoint} or +\helpref{SetSelection}{wxtextctrlsetselection}. + +To summarize: never use the indices returned by (multiline) wxTextCtrl as +indices into the string it contains, but only as arguments to be passed back +to the other wxTextCtrl methods. + \wxheading{wxTextCtrl styles} Multi-line text controls support the styles, i.e. provide a possibility to set @@ -554,8 +577,9 @@ returned string is empty. \constfunc{wxString}{GetValue}{\void} Gets the contents of the control. Notice that for a multiline text control, -the lines will be separated by (Unix-style) $\backslash$n characters, even under -Windows where they are separated by a $\backslash$r$\backslash$n sequence in the native control. +the lines will be separated by (Unix-style) $\backslash$n characters, even +under Windows where they are separated by a $\backslash$r$\backslash$n +sequence in the native control. \membersection{wxTextCtrl::IsEditable}\label{wxtextctrliseditable} diff --git a/docs/latex/wx/tfontenc.tex b/docs/latex/wx/tfontenc.tex index d35e87cc0a..b83964d8c2 100644 --- a/docs/latex/wx/tfontenc.tex +++ b/docs/latex/wx/tfontenc.tex @@ -55,20 +55,19 @@ The situation is particularly complicated with Cyrillic encodings for which used on the Internet), ISO8859-5 (ISO standard for Cyrillic) and CP1251 (WinCyrillic). -This abundance of (incompatible) encoding:w -s should make it clear that using +This abundance of (incompatible) encodings should make it clear that using encodings is less easy than it might seem. The problems arise both from the fact that the standard encodings for the given language (say Russian, which is written in Cyrillic) are different on different platforms and because the fonts in the given encoding might just not be installed (this is especially a problem with Unix, or, in general, non-Win32 systems). -To allow to see clearer in this, \helpref{wxFontEnumerator}{wxfontenumerator} +To clarify, the \helpref{wxFontEnumerator}{wxfontenumerator} class may be used to enumerate both all available encodings and to find the facename(s) in which the given encoding exists. If you can find the font in the correct encoding with wxFontEnumerator then your troubles are over, but, unfortunately, sometimes this is not enough. For example, there is no standard -way (I know of, please tell me if you do!) to find a font on a Windows system +way (that I know of, please tell me if you do!) to find a font on a Windows system for KOI8 encoding (only for WinCyrillic one which is quite different), so \helpref{wxFontEnumerator}{wxfontenumerator} will never return one, even if the user has installed a KOI8 font on his system. @@ -80,7 +79,7 @@ course, it would be fairly useless if it tried to determine these mappings by itself, so, instead, it (optionally) ask the user and remember his answers so that the next time the program will automatically choose the correct font. -All these topics are illustrated by the \helpref{font sample}{samplefont}, +All these topics are illustrated by the \helpref{font sample}{samplefont}; please refer to it and the documentation of the classes mentioned here for further explanations. diff --git a/docs/latex/wx/timer.tex b/docs/latex/wx/timer.tex index 7830183b5d..262e8332fc 100644 --- a/docs/latex/wx/timer.tex +++ b/docs/latex/wx/timer.tex @@ -20,6 +20,8 @@ In any case, you must start the timer with \helpref{Start}{wxtimerstart} after constructing it before it actually starts sending notifications. It can be stopped later with \helpref{Stop}{wxtimerstop}. +{\bf NB:} note that timer can only be used from the main thread currently. + \wxheading{Derived from} \helpref{wxObject}{wxobject} diff --git a/docs/latex/wx/treectrl.tex b/docs/latex/wx/treectrl.tex index 894fafe40d..4ded4a8c80 100644 --- a/docs/latex/wx/treectrl.tex +++ b/docs/latex/wx/treectrl.tex @@ -1,7 +1,8 @@ \section{\class{wxTreeCtrl}}\label{wxtreectrl} A tree control presents information as a hierarchy, with items that may be expanded -to show further items. Items in a tree control are referenced by wxTreeItemId handles. +to show further items. Items in a tree control are referenced by wxTreeItemId handles, +which may be tested for validity by calling wxTreeItemId::IsOk. To intercept events from a tree control, use the event table macros described in \helpref{wxTreeEvent}{wxtreeevent}. @@ -233,13 +234,23 @@ Creates the tree control. See \helpref{wxTreeCtrl::wxTreeCtrl}{wxtreectrlconstr} \func{void}{Delete}{\param{const wxTreeItemId\&}{ item}} -Deletes the specified item. +Deletes the specified item. A {\tt EVT\_TREE\_DELETE\_ITEM} event will be +generated. \membersection{wxTreeCtrl::DeleteAllItems}\label{wxtreectrldeleteallitems} \func{void}{DeleteAllItems}{\void} -Deletes all the items in the control. +Deletes all the items in the control. Note that this will {\bf not} generate +any events unlike \helpref{Delete}{wxtreectrldelete} method. + +\membersection{wxTreeCtrl::DeleteChildren}\label{wxtreectrldeletechildren} + +\func{void}{DeleteChildren}{\param{const wxTreeItemId\& }{item}} + +Deletes all children of the given item (but not the item itself). Note that +this will {\bf not} generate any events unlike +\helpref{Delete}{wxtreectrldelete} method. \membersection{wxTreeCtrl::EditLabel}\label{wxtreectrleditlabel} @@ -338,13 +349,14 @@ For this enumeration function you must pass in a `cookie' parameter which is opaque for the application but is necessary for the library to make these functions reentrant (i.e. allow more than one enumeration on one and the same object simultaneously). The cookie passed to -GetFirstChild and GetNextChild should be the same. +GetFirstChild and GetNextChild should be the same variable. Returns an invalid tree item if there are no further children. \wxheading{See also} -\helpref{wxTreeCtrl::GetNextChild}{wxtreectrlgetnextchild} +\helpref{wxTreeCtrl::GetNextChild}{wxtreectrlgetnextchild}, +\helpref{wxTreeCtrl::GetNextSibling}{wxtreectrlgetnextsibling} \pythonnote{In wxPython the returned wxTreeItemId and the new cookie value are both returned as a tuple containing the two values.} @@ -370,6 +382,12 @@ Returns the normal image list. Returns the current tree control indentation. +\membersection{wxTreeCtrl::GetItemBackgroundColour}\label{wxtreectrlgetitembackgroundcolour} + +\constfunc{wxColour}{GetItemBackgroundColour}{\param{const wxTreeItemId\&}{ item}} + +Returns the background colour of the item. + \membersection{wxTreeCtrl::GetItemData}\label{wxtreectrlgetitemdata} \constfunc{wxTreeItemData*}{GetItemData}{\param{const wxTreeItemId\&}{ item}} @@ -397,6 +415,12 @@ tree->GetItemData( item )->GetData(); ).} \end{twocollist}} } +\membersection{wxTreeCtrl::GetItemFont}\label{wxtreectrlgetitemfont} + +\constfunc{wxFont}{GetItemFont}{\param{const wxTreeItemId\&}{ item}} + +Returns the font of the item label. + \membersection{wxTreeCtrl::GetItemImage}\label{wxtreectrlgetitemimage} \constfunc{int}{GetItemImage}{\param{const wxTreeItemId\& }{item}, @@ -421,6 +445,12 @@ item is expanded and the normal image is shown when it is collapsed) Returns the item label. +\membersection{wxTreeCtrl::GetItemTextColour}\label{wxtreectrlgetitemtextcolour} + +\constfunc{wxColour}{GetItemTextColour}{\param{const wxTreeItemId\&}{ item}} + +Returns the colour of the item label. + \membersection{wxTreeCtrl::GetLastChild}\label{wxtreectrlgetlastchild} \constfunc{wxTreeItemId}{GetLastChild}{\param{const wxTreeItemId\&}{ item}} @@ -430,6 +460,7 @@ Returns the last child of the item (or an invalid tree item if this item has no \wxheading{See also} \helpref{GetFirstChild}{wxtreectrlgetfirstchild}, +\helpref{wxTreeCtrl::GetNextSibling}{wxtreectrlgetnextsibling}, \helpref{GetLastChild}{wxtreectrlgetlastchild} \membersection{wxTreeCtrl::GetNextChild}\label{wxtreectrlgetnextchild} diff --git a/docs/latex/wx/treeevt.tex b/docs/latex/wx/treeevt.tex index 3889143b0f..98980ad290 100644 --- a/docs/latex/wx/treeevt.tex +++ b/docs/latex/wx/treeevt.tex @@ -20,8 +20,8 @@ functions that take a wxTreeEvent argument. \twocolwidtha{9cm} \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_TREE\_BEGIN\_DRAG(id, func)}}{The user has started dragging an item with the left mouse button.} -\twocolitem{{\bf EVT\_TREE\_BEGIN\_RDRAG(id, func)}}{The user has started dragging an item with the right mouse button.} +\twocolitem{{\bf EVT\_TREE\_BEGIN\_DRAG(id, func)}}{The user has started dragging an item with the left mouse button. The event handler must call {\bf wxTreeEvent::Allow()} for the drag operation to continue.} +\twocolitem{{\bf EVT\_TREE\_BEGIN\_RDRAG(id, func)}}{The user has started dragging an item with the right mouse button. The event handler must call {\bf wxTreeEvent::Allow()} for the drag operation to continue.} \twocolitem{{\bf EVT\_TREE\_BEGIN\_LABEL\_EDIT(id, func)}}{Begin editing a label. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} \twocolitem{{\bf EVT\_TREE\_END\_DRAG(id, func)}}{The user has released the mouse after dragging an item.} \twocolitem{{\bf EVT\_TREE\_END\_LABEL\_EDIT(id, func)}}{The user has finished editing a label. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} diff --git a/docs/latex/wx/tsizer.tex b/docs/latex/wx/tsizer.tex index 4f60169188..618c9f7b04 100644 --- a/docs/latex/wx/tsizer.tex +++ b/docs/latex/wx/tsizer.tex @@ -3,7 +3,8 @@ Classes: \helpref{wxSizer}{wxsizer}, \helpref{wxGridSizer}{wxgridsizer}, \helpref{wxFlexGridSizer}{wxflexgridsizer}, \helpref{wxBoxSizer}{wxboxsizer}, \helpref{wxStaticBoxSizer}{wxstaticboxsizer}, -\helpref{wxNotebookSizer}{wxnotebooksizer} +\helpref{wxNotebookSizer}{wxnotebooksizer}, +\helpref{CreateButtonSizer}{createbuttonsizer} Sizers, as represented by the wxSizer class and its descendants in the wxWindows class hierarchy, have become the method of choice to @@ -192,7 +193,7 @@ the buttons shall be centred as the width of the dialog changes. It is the unique feature of a box sizer, that it can grow in both directions (height and width) but can distribute its growth in the main direction (horizontal for a row) {\it unevenly} among its children. In our example case, the vertical sizer is supposed to propagate all its -height changes to only the text area, not to the button area. This is determined by the {\it option} parameter +height changes to only the text area, not to the button area. This is determined by the {\it proportion} parameter when adding a window (or another sizer) to a sizer. It is interpreted as a weight factor, i.e. it can be zero, indicating that the window may not be resized at all, or above zero. If several windows have a value above zero, the value is interpreted @@ -312,3 +313,25 @@ aware of: box around the sizer. Note that this static box has to be created separately. +\subsection{CreateButtonSizer}\label{createbuttonsizer} + +As a convenience, CreateButtonSizer ( long flags ) can be used to create a standard button sizer +in which standard buttons are displayed. The following flags can be passed to this function: + + +\begin{verbatim} + wxYES_NO // Add Yes/No subpanel + wxYES // return wxID_YES + wxNO // return wxID_NO + wxNO_DEFAULT // make the wxNO button the default, otherwise wxYES or wxOK button will be default + + wxOK // return wxID_OK + wxCANCEL // return wxID_CANCEL + wxHELP // return wxID_HELP + + wxFORWARD // return wxID_FORWARD + wxBACKWARD // return wxID_BACKWARD + wxSETUP // return wxID_SETUP + wxMORE // return wxID_MORE + +\end{verbatim} diff --git a/docs/latex/wx/tstring.tex b/docs/latex/wx/tstring.tex index b40d241257..d69304d57e 100644 --- a/docs/latex/wx/tstring.tex +++ b/docs/latex/wx/tstring.tex @@ -9,8 +9,8 @@ wxString is a class which represents a character string of arbitrary length (lim arbitrary characters. The ASCII NUL character is allowed, although care should be taken when passing strings containing it to other functions. -wxString works with both ASCII (8 bit characters) as well as UNICODE (16 but -characters) strings. +wxString works with both ASCII (traditional, 7 or 8 bit, characters) as well as +Unicode (wide characters) strings. This class has all the standard operations you can expect to find in a string class: dynamic memory management (string extends to accommodate new characters), @@ -48,9 +48,10 @@ very useful but don't exist in most of other string classes: for example, \helpref{BeforeLast}{wxstringbeforelast}, \helpref{operator<<}{wxstringoperatorout} or \helpref{Printf}{wxstringprintf}. Of course, all the standard string operations are supported as well. -\item {\bf UNICODE} In this release, wxString only supports {\it construction} from -a UNICODE string, but in the next one it will be capable of also storing its -internal data in either ASCII or UNICODE format. +\item {\bf Unicode} wxString is Unicode friendly: it allows to easily convert +to and from ANSI and Unicode strings in any build mode (see the +\helpref{Unicode overview}{unicode} for more details) and maps to either +{\tt string} or {\tt wstring} transparently depending on the current mode. \item {\bf Used by wxWindows} And, of course, this class is used everywhere inside wxWindows so there is no performance loss which would result from conversions of objects of any other string class (including std::string) to diff --git a/docs/latex/wx/ttreectl.tex b/docs/latex/wx/ttreectl.tex index 30847cf1d9..4298d96a6b 100644 --- a/docs/latex/wx/ttreectl.tex +++ b/docs/latex/wx/ttreectl.tex @@ -6,7 +6,8 @@ The tree control displays its items in a tree like structure. Each item has its own (optional) icon and a label. An item may be either collapsed (meaning that its children are not visible) or expanded (meaning that its children are shown). Each item in the tree is identified by its {\it itemId} which is of -opaque data type {\it wxTreeItemId}. +opaque data type {\it wxTreeItemId}. You can test whether an item is valid +by calling wxTreeItemId::IsOk. The items text and image may be retrieved and changed with \helpref{GetItemText}{wxtreectrlgetitemtext}/\helpref{SetItemText}{wxtreectrlsetitemtext} diff --git a/docs/latex/wx/tunicode.tex b/docs/latex/wx/tunicode.tex index 693edee8e5..bbbc90c9ee 100644 --- a/docs/latex/wx/tunicode.tex +++ b/docs/latex/wx/tunicode.tex @@ -160,7 +160,7 @@ Although everything works fine inside the program, things can get nasty when it tries to communicate with the outside world which, sadly, often expects ANSI strings (a notable exception is the entire Win32 API which accepts either Unicode or ANSI strings and which thus makes it unnecessary to ever perform -any conversions in the program). +any conversions in the program). GTK 2.0 only accepts UTF-8 strings. To get a ANSI string from a wxString, you may use the mb\_str() function which always returns an ANSI @@ -175,7 +175,8 @@ the Unicode string. \subsection{Unicode-related compilation settings} You should define {\tt wxUSE\_UNICODE} to $1$ to compile your program in -Unicode mode. Note that it currently only works in Win32 and that some parts of +Unicode mode. Note that it currently only works in Win32 and GTK 2.0 and +that some parts of wxWindows are not Unicode-compliant yet (ODBC classes, for example). If you compile your program in ANSI mode you can still define {\tt wxUSE\_WCHAR\_T} to get some limited support for {\tt wchar\_t} type. diff --git a/docs/latex/wx/upduievt.tex b/docs/latex/wx/upduievt.tex index 925f4b6ef0..ef4cd1fbb1 100644 --- a/docs/latex/wx/upduievt.tex +++ b/docs/latex/wx/upduievt.tex @@ -5,6 +5,7 @@ to give an application the chance to update various user interface elements. \wxheading{Derived from} +\helpref{wxCommandEvent}{wxcommandevent}\\ \helpref{wxEvent}{wxevent}\\ \helpref{wxObject}{wxobject} diff --git a/docs/latex/wx/valtext.tex b/docs/latex/wx/valtext.tex index 0973e9df20..87ca0bb22b 100644 --- a/docs/latex/wx/valtext.tex +++ b/docs/latex/wx/valtext.tex @@ -55,8 +55,8 @@ checks if each input character is in the list (one character per list element), \docparam{valPtr}{A pointer to a wxString variable that contains the value. This variable should have a lifetime equal to or longer than the validator lifetime (which is usually -determined by the lifetime of the window). If NULL, the validator uses its own internal -storage for the value.} +determined by the lifetime of the window). % If NULL, the validator uses its own internal storage for the value. NOT TRUE +} \membersection{wxTextValidator::\destruct{wxTextValidator}} diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index a885f34a52..c784cfbb04 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -3,13 +3,13 @@ wxWindow is the base class for all windows. Any children of the window will be deleted automatically by the destructor before the window itself is deleted. -Please note that we documented a number of handler functions (OnChar(), OnMouse() etc.) in this -help text. These must not be called by a user program and are documented only for illustration. -On several platforms, only a few of these handlers are actually written (they are not always -needed) and if you are uncertain on how to add a certain behaviour to a window class, intercept -the respective event as usual and call \helpref{wxEvent::Skip}{wxeventskip} so that the native -platform can implement its native behaviour or just ignore the event if nothing needs to be -done. +%Please note that we documented a number of handler functions (OnChar(), OnMouse() etc.) in this +%help text. These must not be called by a user program and are documented only for illustration. +%On several platforms, only a few of these handlers are actually written (they are not always +%needed) and if you are uncertain on how to add a certain behaviour to a window class, intercept +%the respective event as usual and call \helpref{wxEvent::Skip}{wxeventskip} so that the native +%platform can implement its native behaviour or just ignore the event if nothing needs to be +%done. \wxheading{Derived from} @@ -521,6 +521,16 @@ The search is recursive in both cases. Sizes the window so that it fits around its subwindows. This function won't do anything if there are no subwindows. +\membersection{wxWindow::FitInside}\label{wxwindowfitinside} + +\func{virtual void}{FitInside}{\void} + +Similar to \helpref{Fit}{wxwindowfit}, but sizes the interior (virtual) size +of a window. Mainly useful with scrolled windows to reset scrollbars after +sizing changes that do not trigger a size event, and/or scrolled windows without +an interior sizer. This function similarly won't do anything if there are no +subwindows. + \membersection{wxWindow::Freeze}\label{wxwindowfreeze} \func{virtual void}{Freeze}{\void} @@ -535,6 +545,16 @@ wxTextCtrl under wxGTK) but is not implemented on all platforms nor for all controls so it is mostly just a hint to wxWindows and not a mandatory directive. +\membersection{wxWindow::GetAdjustedBestSize}\label{wxwindowgetadjustedbestsize} + +\constfunc{wxSize}{GetAdjustedBestSize}{\void} + +This method is similar to \helpref{GetBestSize}{wxwindowgetbestsize}, except +in one thing. GetBestSize should return the minimum untruncated size of the +window, while this method will return the largest of BestSize and any user +specified minimum size. ie. it is the minimum size the window should currently +be drawn at, not the minimal size it can possibly tolerate. + \membersection{wxWindow::GetBackgroundColour}\label{wxwindowgetbackgroundcolour} \constfunc{virtual wxColour}{GetBackgroundColour}{\void} @@ -1759,6 +1779,19 @@ erased.} \docparam{rect}{If non-NULL, only the given rectangle will be treated as damaged.} +\wxheading{See also} + +\helpref{wxWindow::RefreshRect}{wxwindowrefreshrect} + +\membersection{wxWindow::RefreshRect}\label{wxwindowrefreshrect} + +\func{virtual void}{Refresh}{\param{const wxRect\& }{rect}} + +Redraws the contents of the given rectangle: the area inside it will be +repainted. + +This is the same as \helpref{Refresh}{wxwindowrefresh} but has a nicer syntax. + \membersection{wxWindow::ReleaseMouse}\label{wxwindowreleasemouse} \func{virtual void}{ReleaseMouse}{\void} @@ -2682,6 +2715,17 @@ Returns {\tt FALSE} if a transfer failed. \helpref{wxWindow::TransferDataFromWindow}{wxwindowtransferdatafromwindow},\rtfsp \helpref{wxValidator}{wxvalidator}, \helpref{wxWindow::Validate}{wxwindowvalidate} +\membersection{wxWindow::Update}\label{wxwindowupdate} + +\func{virtual void}{Update}{\void} + +Calling this method immediately repaints the invalidated area of the window +while this would usually only happen when the flow of control returns to the +event loop. Notice that this function doesn't refresh the window and does +nothing if the window hadn't been already repainted. Use +\helpref{Refresh}{wxwindowrefresh} first if you want to immediately redraw the +window unconditionally. + \membersection{wxWindow::Validate}\label{wxwindowvalidate} \func{virtual bool}{Validate}{\void} diff --git a/docs/latex/wx/wizard.tex b/docs/latex/wx/wizard.tex index 2ae93d6650..5bb32f8170 100644 --- a/docs/latex/wx/wizard.tex +++ b/docs/latex/wx/wizard.tex @@ -134,9 +134,9 @@ also \helpref{GetBitmap}{wxwizardpagegetbitmap}.} \docparam{pos}{The position of the dialog, it will be centered on the screen by default.} -\membersection{wxWizard::Fit}\label{wxwizardfit} +\membersection{wxWizard::FitToPage}\label{wxwizardfittopage} -\func{void}{Fit}{\param{const wxWizardPage* }{firstPage}} +\func{void}{FittoPage}{\param{const wxWizardPage* }{firstPage}} Sets the page size to be big enough for all the pages accessible via the given {\it firstPage}, i.e. this page, its next page and so on. @@ -160,6 +160,32 @@ Get the current page while the wizard is running. {\tt NULL} is returned if Returns the size available for the pages. +\membersection{wxWizard::HasNextPage}\label{wxwizardhasnextpage} + +\func{virtual bool}{HasNextPage}{\param{wxWizardPage *}{page}} + +Return {\tt TRUE} if this page is not the last one in the wizard. The base +class version implements this by calling +\helpref{page->GetNext}{wxwizardpagegetnext} but this could be undesirable if, +for example, the pages are created on demand only. + +\wxheading{See also} + +\helpref{HasPrevPage}{wxwizardhasprevpage} + +\membersection{wxWizard::HasPrevPage}\label{wxwizardhasprevpage} + +\func{virtual bool}{HasPrevPage}{\param{wxWizardPage *}{page}} + +Return {\tt TRUE} if this page is not the last one in the wizard. The base +class version implements this by calling +\helpref{page->GetPrev}{wxwizardpagegetprev} but this could be undesirable if, +for example, the pages are created on demand only. + +\wxheading{See also} + +\helpref{HasNextPage}{wxwizardhasnextpage} + \membersection{wxWizard::RunWizard}\label{wxwizardrunwizard} \func{bool}{RunWizard}{\param{wxWizardPage* }{firstPage}} diff --git a/docs/latex/wx/wx.css b/docs/latex/wx/wx.css new file mode 100644 index 0000000000..56240ba5ce --- /dev/null +++ b/docs/latex/wx/wx.css @@ -0,0 +1,180 @@ +body +{ + padding: 0px 0px 0px 26px; + background: #ffffff; + color: #000000; + font-family: Verdana, Arial, Helvetica, sans-serif; +} + +div +{ + width: 90%; + border: 2px solid #999999; + padding: 4px 8px; + background: #cccccc; +} + +h1, h2, h3, h4 +{ + font-family: Verdana, Arial, Helvetica, sans-serif; + margin-left: -26px; +} + +h1 +{ + font-size: 200%; + margin-top: 1em; + margin-bottom: .6em; +} + +h2 +{ + font-size: 150%; + margin-top: 1em; + margin-bottom: .6em; +} + +h3 +{ + font-size: 120%; + margin-left: 0px; + margin-bottom: 0.2em; + margin-top: 1.5em; +} + +h4 +{ + margin-top: 1em; + margin-bottom: .6em; +} + +h5 +{ + margin-bottom: 1em; + margin-top: 1.5em; +} + + +ul p, ol p, dl p +{ + margin-left: 0em; +} + +p +{ + margin-top: .6em; + margin-bottom: .6em; +} + +dl +{ + margin-top: 0em; +} + +dd +{ + margin-bottom: 0em; + margin-left: 1.5em; +} + +dt +{ + margin-top: .6em; +} + +ul, ol +{ + margin-top: .6em; + margin-bottom: 0em; +} + +ol +{ + margin-left: 3.6em; +} + +ul +{ + list-style-type: disc; + margin-left: 1.9em; +} + +li +{ + margin-bottom: .6em; +} + +tt +{ + font-family: Andale Mono, Courier New, Courier, mono; +} + +pre +{ + margin-top: .6em; + margin-bottom: .6em; + margin-left: 2em; + margin-right: 2em; + font-family: Andale Mono, Courier New, Courier, mono; + color: #550000; + background: #eeeeee; +} + +table +{ + width: 90%; + background: #999999; + margin-top: 0em; + margin-bottom: .3em; + background: #ffffff; +} + +th +{ + padding: 2px 4px; + background: #dddddd; + text-align: left; + vertical-align: top; + margin: .25em; +} + +td +{ + margin: .25em; + padding: 2px 4px; + background: #eeeeee; + vertical-align: top; +} + +tr +{ + margin: .25em; + vertical-align: top; +} + +a:link +{ + color: #0066ff; +} + +a:visited +{ + color: #996600; +} + +a:hover +{ + color: #cc9900; +} + + + +body, td, pre, tt +{ + font-size: 100%; +} + +h4, th +{ + font-size: 120%; +} diff --git a/docs/latex/wx/wx.hpj b/docs/latex/wx/wx.hpj index 07caa08bae..037b040bba 100644 --- a/docs/latex/wx/wx.hpj +++ b/docs/latex/wx/wx.hpj @@ -1,5 +1,5 @@ [OPTIONS] -BMROOT=c:\wx2dev\wxWind~1\docs/latex/wx ; Assume that bitmaps are where the source is +BMROOT=c:\wx24\wxwind~1\docs/latex/wx ; Assume that bitmaps are where the source is TITLE=wxWindows Manual CONTENTS=Contents COMPRESS=HIGH diff --git a/docs/latex/wx/wxgtk.tex b/docs/latex/wx/wxgtk.tex index 8d12d3b588..2b2d8c176b 100644 --- a/docs/latex/wx/wxgtk.tex +++ b/docs/latex/wx/wxgtk.tex @@ -5,7 +5,7 @@ from www.gtk.org. It makes use of GTK+'s native widgets wherever possible and uses wxWindows' generic controls when needed. GTK+ itself has been ported to a number of systems, but so far only the original X11 version is supported. Support for the recently released -GTK+ 2.0 including Unicode support is still under construction. +GTK+ 2.0 including Unicode support is work in progress. You will need GTK+ 1.2.3 or higher which is available from: diff --git a/docs/latex/wx/wxstring.tex b/docs/latex/wx/wxstring.tex index 9ab8067f36..0ba4b7638a 100644 --- a/docs/latex/wx/wxstring.tex +++ b/docs/latex/wx/wxstring.tex @@ -660,7 +660,7 @@ If {\it fromEnd} is TRUE, reverse search direction. If {\bf caseSensitive}, comparison is case sensitive (the default). -Returns the index of the first item matched, or NOT\_FOUND. +Returns the index of the first item matched, or wxNOT\_FOUND. % TODO %\membersection{wxString::insert}\label{wxstringinsert} diff --git a/docs/latex/wx/xmlres.tex b/docs/latex/wx/xmlres.tex index 16d57d69fa..1b5974706a 100644 --- a/docs/latex/wx/xmlres.tex +++ b/docs/latex/wx/xmlres.tex @@ -229,6 +229,12 @@ Loads a toolbar. Sets the global resources object and returns a pointer to the previous one (may be NULL). +\membersection{wxXmlResource::SetFlags}\label{wxxmlresourcesetflags} + +\func{int}{SetFlags}{\void} + +Sets flags (bitlist of wxXRC\_USE\_LOCALE and wxXRC\_NO\_SUBCLASSING). + \membersection{wxXmlResource::UpdateResources}\label{wxxmlresourceupdateresources} \func{void}{UpdateResources}{\void} diff --git a/docs/latex/wx/xmlresh.tex b/docs/latex/wx/xmlresh.tex index b469b224bc..eb6e2ba273 100644 --- a/docs/latex/wx/xmlresh.tex +++ b/docs/latex/wx/xmlresh.tex @@ -56,6 +56,13 @@ Add styles common to all wxWindow-derived classes. Returns TRUE if it understands this node and can create a resource from it, FALSE otherwise. +\wxheading{Note} + +You must {\bf not} call any wxXmlResourceHandler methods except +\helpref{IsOfClass}{wxxmlresourcehandlerisofclass} from this method! The instance +is not yet initialized with node data at the time CanHandle is called and it is only +safe to operate on {\it node} directly or to call IsOfClass. + \membersection{wxXmlResourceHandler::CreateChildren}\label{wxxmlresourcehandlercreatechildren} \func{void}{CreateChildren}{\param{wxObject* }{parent}, \param{bool }{this\_hnd\_only = FALSE}} diff --git a/docs/mac/SetTypeFromExtension.sea.hqx b/docs/mac/SetTypeFromExtension.sea.hqx index c13813779d..8ec967d057 100755 --- a/docs/mac/SetTypeFromExtension.sea.hqx +++ b/docs/mac/SetTypeFromExtension.sea.hqx @@ -1,2637 +1,3137 @@ (This file must be converted with BinHex 4.0) -:'&0PG&4jF'9'FQpY4AKdC@jcD@pZ,R0PB3""8&"-BA9cG#%!N!0(8J!"U0@CV90 -dG@CQ5A3J+'-T-6Nj0bda16Ni)%&XB@4ND@iJ8hPcG'9YFb`J5@jM,L`JD(4dF$S -[,hH3!bjKE'&NC'PZFhPc,Q0[E5p6G(9QCNPd,`d+'J!&%!!!4e)!N!0b!!%!N!0 -b6G80TD95CA0PFRCPC+@P!+@3"!%!!%3!!,D!![bh`B*6!*!0&(4i!*!18f9d9(P -`C8CbEfe&H(4PER0TEfi!!4VV39"36%&8)$8K!2q3"!#3#S!!N!QDZ3!!4QS!N!3 -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$B`! +!-qJJpMR3"%[rr`3!0%-JpUS-!3Arr`!!-(JJpMR-!3Mrr`!!0@NJpMR)!38!&`! +!-+NJpMR%!3J!FJ!!0CdJpMR![lRrr`!!bAiJpMQm[lRrraJ!0DFJpMQi!!(rrb! +!-,-JpMQd!!,rrb!!-2)JpMQ`"P0dBA4eF`C`FQpYF(3)a#"cG@CQDAJ'8h4KG(9 +c#dPZFf9bG#"%DA0V%%9iDA0dD@jR8'&cFhG[FQ3E4AKTFh4TEQG3BA0cGfpbC#e +"F("PBA*KEQ0P#dPZFf9bG#"%DA0V$NphEQ9b)(*PFfpeFQ0P'd9iDA0dD@jR8'& +cFhG[FQ3Y3A"`C@&bB@jMC3P6C@GYC@jd)$%*8f9RE@9ZG#!b#90PCfePER3J-`P +6C@GYC@jd)$8*8f9RE@9ZG#!f#90PCfePER3J0RQ*: diff --git a/docs/mac/install.txt b/docs/mac/install.txt index 6704369180..3ce9533a50 100644 --- a/docs/mac/install.txt +++ b/docs/mac/install.txt @@ -1,26 +1,45 @@ +Installing and compiling wxMac +============================================================ + +On MacOS X, you can download Apple's free developer tools (gcc +and associated headers and libraries, such as the Carbon API). +You can then use configure in a similar way to compiling +wxWindows on Linux, (or on Windows using MinGW or Cygwin). See +'Apple Developers Tools' below for more details on using +configure. + +To target on MacOS 8 or 9, you need to buy Metrowerks +CodeWarrior. You can then compile Mac Classic or MacOS X +applications on Mac OS X, or compile Mac Classic or MacOS X +applications on Mac Classic. However you can only run and debug +each type of application on the target operating system. + Installing latest headers (and Carbon Support) ---------------------------------------------- -NOTE : these steps are not necessary for Pro 6, only for Pro 5.3 +NOTE: these steps are not necessary for CW Pro 6 and above, +only for CW Pro 5.3. -the latest build for carbon support lead to a few changes you will have to +The latest build for carbon support leads to a few changes you will have to follow, in order to successfully compile the code (also necessary if you don't -want to build the carbon targets) - -1. you need CodeWarrior Pro 5.3 , i.e. 5.0 with all the upgrades -2. you have to download the 3.4.0 (or greater) universal interfaces from - ftp://ftp.apple.com/developer/Development_Kits/UniversalHeaders3.4.1.img.bin -3. put the Interfaces and Libraries Folder into the MacOS Support folder and replace older versions -4. remove from the MacOS Support folder the separate OpenTransport folder +want to build the carbon targets). + +1. You need CodeWarrior Pro 5.3 , i.e. 5.0 with all the upgrades. +2. You have to download the 3.4.0 (or greater) universal interfaces from + ftp://ftp.apple.com/developer/Development_Kits/UniversalHeaders3.4.1.img.bin. +3. put the Interfaces and Libraries Folder into the MacOS Support folder and + replace older versions. +4. remove from the MacOS Support folder the separate OpenTransport folder. 5. open the file MacOS Support:MacHeaders:MacHeaders.c and add the line #include after the #include -6. rebuild all MacHeaders from the MacHeaders.mcp project in the same folder +6. rebuild all MacHeaders from the MacHeaders.mcp project in the same folder. -if you want to build the carbon targets, you will also need the latest +If you want to build the carbon targets, you will also need the latest carbonized version of MSL from Metrowerks, at the time of writing, this meant -applying the changes from the folders +applying the changes from the folders: + CodeWarrior Pro 5:Pre-Release:Carbon & MacOSX Development:Carbonized MSL and CodeWarrior Pro 5:Pre-Release:Carbon & MacOSX Development:Carbonized Runtimes (consult the file CodeWarrior Pro 5:Pre-Release:Carbon & MacOSX Development:Carbon & MacOSX README) @@ -43,8 +62,9 @@ libraries and headers from http://developer.apple.com/opengl/index.html If you want OpenGL support with CodeWarrior, set wxUSE_OPENGL to 1 in include/wx/setup.h -If you don't want OpenGl support, remove the file "glcanvas.cpp" from the -project before compilation and leave the setting at 0 +If you don't want OpenGl support, set wxUSE_OPENGL to 0 (the +default) and remove the file OpenGLLibraryStub from the project +before compilation. If you want OpenGL support with the Apple Developer Tools under Mac OS X, add --with-opengl to the arguments of configure when configuring wxMac. @@ -56,16 +76,22 @@ The project files are stored as xml text files and converted to binary CodeWarrior projects in the distribution (see AppleScript Files below): - *M5.xml -> *M5.mcp for CodeWarrior 5.3 - *M6.xml -> *M6.mcp for CodeWarrior 6 - - *M7.xml -> *M7.mcp for CodeWarrior 7 + - *M7.xml -> *M7.mcp for CodeWarrior 7 and above. In order to build the library (and then the samples) you need to make the -following projects (for 5.3) -:src:wxxindowsM5.mcp +following projects (for CW 5.3, similar process for CW 7): + +:src:wxwindowsM5.mcp :src:png:pngM5.mcp :src:tiff:tiffM5.mcp :src:jpeg:jpegM5.mcp :src:zlib:zlibM5.mcp +Note that if using CW 8 and above, when compiling the samples +you may need to edit the target settings, click on Language +Settings, C/++ Language and remove the forward slash at the +start of /wx/wx_cw_d.h (or similar filename). + AppleScript Files ----------------- @@ -125,3 +151,4 @@ Missing PLStringFuncsLib ------------------------ You will have to build All Targets for MacOS Support:Libraries:Sources:PLStringFuncs:Glue:PLStringFuncsGlue.mcp + diff --git a/docs/mac/readme.txt b/docs/mac/readme.txt index be39b1ff7a..8ec6507fc0 100644 --- a/docs/mac/readme.txt +++ b/docs/mac/readme.txt @@ -4,7 +4,7 @@ More Information is available from the wxWindows project home page at http://www.wxwindows.org -For more information, please see changes.txt, todo.txt, and the +For more information, please see install.txt, todo.txt, and the manuals. Please send problems concerning installation, feature requests, @@ -12,7 +12,7 @@ bug reports or comments to the wxWindows users list. Information on how to subscribe is available from the wxWindows.org homepage. Questions/Problems related directly to the mac port can be sent directly -csomor@advancedconcepts.ch +csomor@advancedconcepts.ch. wxWindows/Mac doesn't come with any guarantee whatsoever. It might crash your harddisk or destroy your monitor. It doesn't @@ -20,4 +20,4 @@ claim to be suitable for any special or general purpose. Regards, -Stefan Csomor \ No newline at end of file +Stefan Csomor diff --git a/docs/mgl/install.txt b/docs/mgl/install.txt index 133e568a3a..6da271dc36 100644 --- a/docs/mgl/install.txt +++ b/docs/mgl/install.txt @@ -11,20 +11,25 @@ IMPORTANT NOTE: When sending bug reports tell us what version of wxWindows you are using (including the beta) and what compiler on what system. One - example: wxMGL 2.3.3, gcc 2.95.3, Redhat 7.0 + example: wxMGL 2.3.4, gcc 2.95.3, Redhat 7.0 First steps ----------- - Download SciTech MGL library (version 5.0) from http://www.scitechsoft.com. - The downloads page is here: + The downloads page is here (you need MGL version 5.0beta7 or newer): http://www.scitechsoft.com/products/embedded/mgl_home.html - (You needed a version newer than Beta 5! Preferably the up-to-date one from - SciTech Perforce repository.) - Install it according to provided instructions. In particular, make sure that + + Install MGL according to provided instructions. In particular, make sure that MGL_ROOT and NUCLEUS_PATH environment variables are set before attempting to build wxMGL. + Make sure you installed all MGL components, including the "fonts" package + (it's called mgl50b7-font.tar.gz in Linux version). It is important to have + SciTech's basic fonts in $(MGL_ROOT)/fonts directory (you may want to add + Arial TrueType font for better output quality) and basic cursors in + $(MGL_ROOT)/cursors. wxMGL depends on their presence. + - Download wxMGL-x.y.z.tgz, where x.y.z is the version number. Download documentation in a preferred format, such as wxWindows-HTML.zip or wxWindows-PDF.zip. diff --git a/docs/microwin/readme.txt b/docs/microwin/readme.txt index c9d3d56524..05978742be 100644 --- a/docs/microwin/readme.txt +++ b/docs/microwin/readme.txt @@ -60,7 +60,7 @@ MicroWindows: wxMicroWindows: -- Download wxMSW 2.3.3 or greater, or get it from CVS +- Download wxMSW 2.3.4 or greater, or get it from CVS - Copy include/wx/msw/setup_microwin.h to include/wx/setup.h if include/wx/setup.h doesn't exist diff --git a/docs/motif/install.txt b/docs/motif/install.txt index c0c3157acb..6444041525 100644 --- a/docs/motif/install.txt +++ b/docs/motif/install.txt @@ -11,7 +11,7 @@ IMPORTANT NOTE: When sending bug reports tell us what version of wxWindows you are using (including the beta) and what compiler on what system. One - example: wxMotif 2.3.3, gcc 2.95.4, Redhat 6.1 + example: wxMotif 2.3.4, gcc 2.95.4, Redhat 6.1 First steps ----------- diff --git a/docs/motif/readme.txt b/docs/motif/readme.txt index d8f0554207..363c122331 100644 --- a/docs/motif/readme.txt +++ b/docs/motif/readme.txt @@ -1,7 +1,7 @@ - Welcome to wxWindows/Motif 2.3.3 + Welcome to wxWindows/Motif 2.3.4 -You have downloaded version 2.3.3 of the Motif port of +You have downloaded version 2.3.4 of the Motif port of the wxWindows GUI library. More information about the wxWindows project as a whole diff --git a/docs/msw/install.txt b/docs/msw/install.txt index 5e93a604ec..93b948fa1f 100644 --- a/docs/msw/install.txt +++ b/docs/msw/install.txt @@ -1,8 +1,8 @@ -Installing wxWindows 2.3.3 +Installing wxWindows 2.3.4 -------------------------- -This is wxWindows 2.3.3 for Microsoft Windows 9x/ME, Windows NT, +This is wxWindows 2.3.4 for Microsoft Windows 9x/ME, Windows NT, Windows 2000 and Windows XP. This is an unstable development release. Please note that the library naming conventions for VC++ @@ -25,11 +25,15 @@ Please report bugs using the SourceForge bug tracker: Unarchiving ----------- -A setup program is provided (setup.exe) to automatically copy files to a -directory on your hard disk. Do not install into a path that contains spaces. -The installation program should set the WXWIN environment variable, which -will be activated when your machine is rebooted. The setup -program contains the following: +A setup program is provided (setup.exe) to automatically copy +files to a directory on your hard disk. Do not install into a +path that contains spaces. To avoid confusion with other +wxWindows installations that might be on your machine, the +installation program does not se the WXWIN environment variable; +please set this by hand via the System applet if you wish to +make it permanent. + +The setup program contains the following: - All common, generic and MSW-specific wxWindows source; - samples; @@ -58,9 +62,9 @@ Other add-on packages are available from the wxWindows Web site, such as: General installation notes -------------------------- -Alter your WXWIN environment variable to point to this directory. -For Cygwin or Mingw32 compilation, make sure WXWIN contains only -forward slashes. +Alter your WXWIN environment variable to point to the root directory of the +wxWindows installation. For Cygwin or Mingw32 compilation, make sure WXWIN +contains only forward slashes. If installing from the CVS server, copy include/wx/msw/setup0.h to include/wx/msw/setup.h and edit the resulting file to choose @@ -225,12 +229,13 @@ executables. Borland C++ 4.5/5.0/5.5 compilation ------------------------------- -Compiling using the makefiles (updated 24 Seot 02): +Compiling using the makefiles (updated 24 Sept 02): 1. Make sure your WXWIN variable is set [e.g add set WXWIN=c:\wxwindows - to your autoexec.bat file], and that it uses the FAT (short - name) form with no spaces. + to your autoexec.bat file], The WXWIN variable should contain neither spaces nor - + You may like to use the short form as shown by a dos directory listing ; + eg instead of c:\wxwindows-2.3.4 use c:\wxwind~1.4 Reboot if needed for the changes to autoexec.bat to take effect. 2. Change directory to src\msw. Type 'make -f makefile.b32' to make the wxWindows core library. Ignore the compiler warnings. @@ -261,7 +266,20 @@ Compiling using the makefiles (updated 24 Seot 02): and then for each sample, 'make -f makefile.b32 WXUSINGDLL=1 FINAL=1' -6. To make console mode applications with wxWindows functions go +6. You can use the WXUNIVERSAL widgets instead of the native MSW + ones (eg if you want to build an application with the same + look and feel on all platforms) + Use the command + 'make -f makefile.b32 WXUSINGUNIV=1' + Then run + 'make -f makefile.b32 WXUSINGUNIV=1' in the sample directory which you wish + to build using the wxUniversal widgets. Use 'SET WXTHEME=GTK' [or WIN32 or METAL] + to test the existing themes + The makefile is written with the intention that you can build DLLs + and do final releases by combinations of commandline parameters. + At the time of writing, (Oct 02) not all the wxDialogs are working + +7. To make console mode applications with wxWindows functions go to the src\msw directory 'make -f makebase.b32 clean' 'make -f makebase.b32' @@ -390,7 +408,7 @@ Metrowerks CodeWarrior compilation ---------------------------------- 1. CodeWarrior Pro7 project files in XML format are already - included in wxMSW-2.3.3.zip and the setup version. + included in wxMSW-2.3.4.zip and the setup version. 2. Review the file include\wx\msw\setup.h (or include\wx\msw\setup0.h if you are working from the CVS version) to make sure the settings reflect what you want. If you aren't sure, leave it alone and go with the @@ -471,7 +489,7 @@ provide Unix-like tools that you'll need to build wxWindows. The solution prior to MSYS was to download extra utilities from ports/mingw32 on the wxWindows ftp site or CD-ROM: - ftp://biolp22.york.ac.uk/pub/ports/mingw32/extra.zip + ftp://biolpc22.york.ac.uk/pub/ports/mingw32/extra.zip These should be extracted to a directory in your path. If you have already downloaded rm, cp, mv from elsewhere, or are using diff --git a/docs/os2/install.txt b/docs/os2/install.txt index da9882009e..1202b6de32 100644 --- a/docs/os2/install.txt +++ b/docs/os2/install.txt @@ -1,7 +1,7 @@ -Installing wxWindows 2.3.3 +Installing wxWindows 2.3.4 -------------------------- -This is wxWindows 2.3.3 for IBM OS/2 Warp3 and Warp4. This is an unstable +This is wxWindows 2.3.4 for IBM OS/2 Warp3 and Warp4. This is an unstable development release and OS/2 is considered to be in beta. IMPORTANT NOTE: If you experience problems installing, please @@ -17,7 +17,7 @@ Unarchiving At this time there is no comprehensive setup.exe type installation program. wxWindows for OS/2 requires you download various .zip files and unpack them to your desired location on your system. Pick a location say, -C:\wx\wxWindows-2.3.3, copy the .zip files to there and unzip them ensuring you +C:\wx\wxWindows-2.3.4, copy the .zip files to there and unzip them ensuring you unzip the subdirectories as well. You will need: - All common, generic and OS2-specific wxWindows source; @@ -30,7 +30,7 @@ unzip the subdirectories as well. You will need: - PNG library source; - ZLIB library source; -All but the documentation is included in wxOS2-2.3.3.zip, documentation +All but the documentation is included in wxOS2-2.3.4.zip, documentation must be downloaded separately from the wxWindows Web site. Other add-on packages are available from the wxWindows Web site, such as: @@ -46,27 +46,27 @@ General installation notes After unzipping everything your directory tree should look something like this: -x:\wx\wxWindows-2.3.3\docs (your HTML reference manual) -x:\wx\wxWindows-2.3.3\include\wx -x:\wx\wxWindows-2.3.3\include\wx\generic -x:\wx\wxWindows-2.3.3\include\wx\html -x:\wx\wxWindows-2.3.3\include\wx\os2 -x:\wx\wxWindows-2.3.3\samples\.... (all the sample directories) -x:\wx\wxWindows-2.3.3\src -x:\wx\wxWindows-2.3.3\src\common -x:\wx\wxWindows-2.3.3\src\generic -x:\wx\wxWindows-2.3.3\src\html -x:\wx\wxWindows-2.3.3\src\jpeg -x:\wx\wxWindows-2.3.3\src\os2 -x:\wx\wxWindows-2.3.3\src\png -x:\wx\wxWindows-2.3.3\src\tiff -x:\wx\wxWindows-2.3.3\src\zlib +x:\wx\wxWindows-2.3.4\docs (your HTML reference manual) +x:\wx\wxWindows-2.3.4\include\wx +x:\wx\wxWindows-2.3.4\include\wx\generic +x:\wx\wxWindows-2.3.4\include\wx\html +x:\wx\wxWindows-2.3.4\include\wx\os2 +x:\wx\wxWindows-2.3.4\samples\.... (all the sample directories) +x:\wx\wxWindows-2.3.4\src +x:\wx\wxWindows-2.3.4\src\common +x:\wx\wxWindows-2.3.4\src\generic +x:\wx\wxWindows-2.3.4\src\html +x:\wx\wxWindows-2.3.4\src\jpeg +x:\wx\wxWindows-2.3.4\src\os2 +x:\wx\wxWindows-2.3.4\src\png +x:\wx\wxWindows-2.3.4\src\tiff +x:\wx\wxWindows-2.3.4\src\zlib If you are using VisualAge, you will also need to ensure you have a -\lib directory as well, x:\wx\wxWindows-2.3.3\lib +\lib directory as well, x:\wx\wxWindows-2.3.4\lib and you will have to set a WXWIN environment variable in your config.sys, -SET WXWIN=X:\WX\WXWINDOWS-2.3.3; +SET WXWIN=X:\WX\WXWINDOWS-2.3.4; Compilation ----------- @@ -163,7 +163,10 @@ Compilation using EMX In addition to EMX-0.9d you will need a rather complete Unix-like environment, starting with a shell (e.g. ash) and most of the GNU file/text/shell utilities, but also flex, bison, sed, grep, awk -and GNU make. +and GNU make. Particularly note that uname is relevant to get the +configure script working - the one from GNU shell utilities 1.12 +does work (check that uname -s returns "OS/2" and uname -m returns "i386" +and you should be mostly fine. The first thing to do is to decide on a build directory. You can either do in-tree builds or you can do the build in a directory separated from @@ -173,13 +176,17 @@ developping cross-platform applications you might want to compile (and update) e.g. wxGTK or wxX11 as well. In the following, let's assume you decided to build in -\wx\wxWindows-2.3.3\build\pm. Now we need to set some environment +\wx\wxWindows-2.3.4\build\pm. Now we need to set some environment variables, namely MAKE_SHELL (to a Unix like shell, let's assume ash) and INSTALL (to point to the install script. If you omit this, configure might find something like the system's tcpip\pcomos\install.exe which will not do the thing you want), e.g. SET MAKE_SHELL=ash -SET INSTALL=/wx/wxWindows-2.3.3/install-sh. +SET INSTALL=/wx/wxWindows-2.3.4/install-sh. + +Be warned that depending on the precise version of your make, setting +MAKE_SHELL might not be sufficient, it might be necessary to set SHELL +and even COMSPEC to a unix like shell as well. Now run the provided configure script by executing e.g. `ash -c "../../configure \ @@ -217,7 +224,7 @@ Finally, if you also want to build a different port, e.g. wxGTK, you essentially have to use the procedure described above, the only difference being that you have to pass a switch to configure indicating which port to build. If you do not do this in a separate build directory (e.g. -\wxWindows-2.3.3\build\gtk), you'll have to do a `make clean' first. +\wxWindows-2.3.4\build\gtk), you'll have to do a `make clean' first. The magical switches that have to be passed to configure for the various ports are --with-gtk (wxGTK), --with-motif (wxMotif), --with-x11 (wxX11), and --disable-gui (wxBase). Note that contrary to the native, PM based diff --git a/docs/publicity/announce.txt b/docs/publicity/announce.txt index f1941c35ba..0ef3435e40 100644 --- a/docs/publicity/announce.txt +++ b/docs/publicity/announce.txt @@ -1,4 +1,4 @@ -Announcing wxWindows 2.3.3: a cross-platform GUI toolkit +Announcing wxWindows 2.3.4: a cross-platform GUI toolkit ---------------------------------------------------------------- September 16th, 2002 -- the wxWindows team is pleased to diff --git a/docs/publicity/publicity.txt b/docs/publicity/publicity.txt index 362a44be1c..81eaa5841e 100644 --- a/docs/publicity/publicity.txt +++ b/docs/publicity/publicity.txt @@ -28,11 +28,23 @@ comp.windows.x comp.windows.x.announce comp.windows.x.motif +Note: submissions to comp.windows.linux.announce must be +sent to cola@stump.algebra.com, with short descr +of software and location. See http://stump.algebra.com/~cola/ +NO CROSSPOSTING when sending to this address. + +Pack plenty information into the subject. +Don't write a subject like "Foo version 1.1 released". Many +people will not know what Foo is, so the subject won't help them +select articles. Instead, say "Foo 1.1 - copy files more +efficiently than cp". There is no need to say that the article +is an announcement, so don't write a subject like "ANNOUNCEMENT: +Foo version 1.1 released". News and links sites: ----------------------- -slashdot.org, freshmeat.net +slashdot.org, freshmeat.net, http://lwn.net/ Many of these links will be out of date now: diff --git a/docs/readme.txt b/docs/readme.txt index 989b190a88..98c9d2d6c7 100644 --- a/docs/readme.txt +++ b/docs/readme.txt @@ -1,4 +1,4 @@ -wxWindows 2.3.3 +wxWindows 2.3.4 --------------- *** Please note that this is an UNSTABLE DEVELOPMENT SNAPSHOT. @@ -204,5 +204,5 @@ web site. Have fun! -The wxWindows Team, September 2002 +The wxWindows Team, November 2002 diff --git a/docs/tech/tn0010.htm b/docs/tech/tn0010.htm index c8b8063f0a..8476f9a079 100644 --- a/docs/tech/tn0010.htm +++ b/docs/tech/tn0010.htm @@ -24,7 +24,7 @@ Compiling wxWindows applications in the VC++ IDE

        -Settings for wxWindows 2 / Settings for wxWindows 1.68 +Settings for wxWindows 2.2 / Settings for wxWindows 1.68

        @@ -44,9 +44,10 @@ installation path.

        -

        Settings for wxWindows 2

        +

        Settings for wxWindows 2.2

        -These settings apply to wxWindows 2.1.14 and above.

        +These settings apply to wxWindows 2.1.14 and above but most of them are not +necessary any longer for wxWindows 2.3+.

        General
        @@ -206,77 +207,6 @@ Select your .rc file. The Additional resource include directories field s
        -

        - - - - - diff --git a/docs/tech/tn0013.txt b/docs/tech/tn0013.txt index 7eca5935ac..070b5deac3 100644 --- a/docs/tech/tn0013.txt +++ b/docs/tech/tn0013.txt @@ -13,7 +13,7 @@ the other Unix-based ports including wxMotif, wxX11 and wxBase. a) Do a fresh checkout using the command - cvs -d :pserver:anoncvs@cvs.wxwindows.org:/home/wxcvs co wxGTK + cvs -d :pserver:anoncvs@cvs.wxwindows.org:/packs/cvsroots/wxwindows co wxGTK NB: if you realize later that some needed files were not checked out by this command, please modify CVSROOT/modules to include the missing @@ -80,7 +80,7 @@ a) Setting up the RPM tree: you should have the RPM tree set up properly dist"). b) Start RPM build by going to RPM_ROOT directory and typing "rpm -ba - SPECS/wxGTK.spec". It may be a good idea to append "2&>1 | tee wxGTK.out" + SPECS/wxGTK.spec". It may be a good idea to append "2>&1 | tee wxGTK.out" (or "|& tee" if you're using the one true shell ;-) as it might be not easy to detect errors in the verbose rpm output if anything goes wrong. diff --git a/docs/tech/tn0014.txt b/docs/tech/tn0014.txt index d8c897fd19..21783d1812 100644 --- a/docs/tech/tn0014.txt +++ b/docs/tech/tn0014.txt @@ -4,7 +4,7 @@ !!!!! NOT YET FINISHED !!!!! 0. Introduction ---------------- +=============== This note describes the file format used for storing XRC resources that are used by wxXmlResource class. It is probably only useful for those implementing @@ -20,31 +20,41 @@ The XRC format is based on XML 1.0 (please consult W3C's specification). There is no DTD available since it is not possible to fully describe the format with the limited expressive power of DTDs. + + 1. Terminology --------------- +============== The usual XML terminology applies. In particular, we shall use the terms -"node", "property" and "value" in the XML sense: +NODE, PROPERTY and VALUE in the XML sense: ... -The term "attribute" is specific to XRC and refers to a property-less subnode -of an or node. In the example bellow, , +ATTRIBUTE VALUE is the content of all text elements within attribute tag. In the +above example, "wxSUNKEN_BORDER", "A label" and "10,10" are attribute values. +ATTRIBUTE TYPE defines what attribute values are valid for given attribute (you +can think of it as attribute value syntax definition). + + + 2. Elementary description -------------------------- +========================= XRC resource file is a well-formed XML 1.0 document. All elements of XRC file are from the http://www.wxwindows.org/wxxrc namespace. @@ -61,7 +71,7 @@ is 0 for the first incompatible change in given wxWindows release, 1 for the second etc. Differences between versions are described within this document in paragraphs -entitled "Version Note". +entitled "Version Note". The node contains namespace declaration, too: @@ -70,20 +80,232 @@ The node contains namespace declaration, too: The node is only allowed to have and subnodes, all of which must have the "name" property. - - TODO (name, class, subclass) +The node represents a single object (GUI element) and it usually maps +directly to a wxWindows class instance. It three properties: "name", "class" +and "subclass". "class" must always be present, it tells XRC what wxWindows +object should be created in this place. The other two are optional. +"name" is ID used to identify the object. It is the value passed to the XRCID() macro +and is also used to construct wxWindow's id and name attributes and must be unique +among all children of the neareset container object (wxDialog, wxFrame, wxPanel, +wxNotebook) upside from the object in XML nodes hiearchy (two distinct containers +may contain objects with same "name", though). "subclass" is +optional name of class whose constructor will be called instead of the constructor +for "class". Subclass must be available in the program that loads the resource, +must be derived from "class" and must be registered within wxWindows' RTTI system. + +Example: + + + ... + + + node may have arbitrary child nodes. What child nodes and their semantics +are class-dependent and are defined later in this document. The user is allowed +to register new object handlers within XRC and extend it to accept new +classes (and therefore different 's child nodes). + + node is identical to , except that it does _not_ have "class" +property and has additonal required property "ref". It's concept is similar to Unix +symlinks: value of the "ref" property is equal to the value of "name" property of +some existing node (called referred node) in the resources (not neccessary top-level). +Referred node's "class" property and all subnodes are copied in place of the referee + node which is then processed as regular node. If the +node itself has child nodes, then these nodes _override_ any nodes from the referred node. + +Example: + + + hello + 100,-1d + + + bar + + +is identical to: + + + hello + 100,-1d + + + bar + 100,-1d + + + + +3. Common attribute types +========================= + +There are several attribute types (see section 1. Terminology) that are common +to many attributes of different classes: + +String +------ +Any text. Some characters have special interpretation and are translated +by XRC parser according to this table: + "_" -> "&" ('&' is used to underline e.g. menu items in wxWindows) + "__" -> "_" + "\n" -> line break (C character '\n') + "\r" -> carriage return (C character '\r') + "\t" -> tabelator (C character '\t') + +Version Note: + '$' was used instead of '_' prior to version 2.3.0.1. + + +I18nString +---------- +Like String, but the value is translated to native language using wxLocale +at runtime (unless it was disabled by not passing wxXRC_USE_LOCALE flag to +wxXmlResource constructor). Used for strings that are "visible" in the GUI. + + +UnsignedInteger +--------------- +This is obvious. Only digits 0-9 may be present and there must be at least +one digit. + + +Integer +------- +Like UnsignedInteger but may be prefixed with '-' (ints less than zero). + + +Position +-------- +Specifies (window's) position in 2D space. Syntax is ,[d] +where is valid value of Integer type. + - - TODO (name, ref, subclass) +Size +---- +Syntax is same as Position's syntax, but the values are interpreted as window +size (wxSize type) and not position (wxPosition type). -3. Common attributes --------------------- +Style[wxSomeClass] +------------------ +List of style flags that can be passed to wxSomeClass' constructor. Flags are +written in same way as in C++ code (e.g. "wxSUNKEN_BORDER", "wxHW_SCROLLBAR_NEVER") +and are delimined with any combination of whitespaces and '|'. Possible flags +are class-dependent and are not described in this technote. Please refer to wxWindows +manual for all styles that given class can accept; if XRC does not accept a flag +listed in wxWindows documentation, it is a bug. + + +Bitmap +------ +Attribute value is interpreted as filename (either absolute or relative to +the location of XRC resource file). In addition, attribute node may have +"stock_id" and "stock_client" properties. Their values may be any of wxArtID (or +wxArtClient respectively) values as used by wxArtProvider (because the user may +define own constants, efectively any string is legal here). Examples are +"wxART_FILE_OPEN" (id) or "wxART_MENU" (client). + +Any of "stock_id" or "stock_client" properties or the filename may be omitted. XRC +determines the bitmap to use according to this algorithm: + 1. If there is non-empty "stock_id" property, query wxArtProvider for the bitmap + (if there is no "stock_client", use default one, which is usually wxART_OTHER; + exceptions are noted in class-specific sections bellow). If the query fails, + continue to 2. + 2. Load the bitmap from the file in attribute value. + + +Boolean +------- +Boolean value, either "0" (false) or "1" (true). + -TODO 4. Supported classes --------------------- +==================== + +Attributes are listed in tables in the following format: +attribute name attribute type default value, if any + [(optional remarks.................... + ...................................)] + +wxBitmap +-------- +This is a special case, because it does not create a wxWindow instance but +creates wxBitmap instead. Another exceptional thing is that it does not have +any attributes. Instead, the node itself is interpreted as if it were attribute +of type Bitmap. + +Example: bitmaps/foo.gif + + +wxIcon +------ +Identical to wxBitmap class, except that it creates wxIcon instead of wxBitmap. + + +wxButton +-------- +position Position -1,-1 +size Size -1,-1 +style Style[wxButton] + +label I18nString +default Boolean false + (Is the button default button?) + + +wxCalendarCtrl +-------------- +position Position -1,-1 +size Size -1,-1 +style Style[wxCalendarCtrl] + + +wxCheckBox +---------- +position Position -1,-1 +size Size -1,-1 +style Style[wxCheckBox] +checked Boolean false + + +wxCheckList +----------- +position Position -1,-1 +size Size -1,-1 +style Style[wxCheckList] +content (see bellow) (empty) + +Optional "content" attribute does not have attribute value. Instead, +arbitrary number of nodes may be rooted under it (the control +is filled with strings contained in these nodes). Each +node must contain I18nString value and may have "checked" property +with possible values "0" or "1" indicating the the item is initially +checked. + +Example: + + + One + Two + Three + Four + + + + +wxScrolledWindow +---------------- +position Position -1,-1 +size Size -1,-1 +style Style[wxScrolledWindow] wxHSCROLL | wxVSCROLL + + + +5. More features +================ + +FIXME -- "platform" property handling -TODO === EOF === diff --git a/docs/univ/readme.txt b/docs/univ/readme.txt index 6f35784ab3..d2ceccc77d 100644 --- a/docs/univ/readme.txt +++ b/docs/univ/readme.txt @@ -56,6 +56,12 @@ b) Cygwin Please refer to the Unix section below c) Other compilers + Borland: + in the wxwindows\src\msw directory run + 'make -f makefile.b32 WXUSINGUNIV=1' to build the library and then run + 'make -f makefile.b32 WXUSINGUNIV=1' in the sample directory which you wish + to build using the wxUniversal widgets. Use 'SET WXTHEME=GTK' [or WIN32 or METAL] + to test the existing themes Unfortunately we don't have makefiles for any other compilers yet. Please contact us if you would like to help us with creating one for the @@ -115,6 +121,6 @@ itself, namely: Vadim Zeitlin -This file is accurate for the version 2.3.3 of wxUniversal. It was last +This file is accurate for the version 2.3.4 of wxUniversal. It was last modified on Apr 15, 2002. diff --git a/docs/x11/install.txt b/docs/x11/install.txt index 5239306806..3f0e8c2452 100644 --- a/docs/x11/install.txt +++ b/docs/x11/install.txt @@ -11,7 +11,7 @@ IMPORTANT NOTE: When sending bug reports tell us what version of wxWindows you are using (including the beta) and what compiler on what system. One - example: wxX11 2.3.3, gcc 2.95.4, Redhat 6.2 + example: wxX11 2.3.4, gcc 2.95.4, Redhat 6.2 First steps ----------- diff --git a/docs/x11/readme.txt b/docs/x11/readme.txt index 4e8f155377..a9ece6e956 100644 --- a/docs/x11/readme.txt +++ b/docs/x11/readme.txt @@ -1,7 +1,7 @@ - Welcome to wxWindows/X11 2.3.3 + Welcome to wxWindows/X11 2.3.4 -You have downloaded version 2.3.3 of the X11 port of +You have downloaded version 2.3.4 of the X11 port of the wxWindows GUI library. This runs on X11 with no Motif, Xt, GTK+ or any other standard widget set -- instead it uses the wxUniversal widgets. The intention diff --git a/include/wx/arrimpl.cpp b/include/wx/arrimpl.cpp index 8296608a01..46f94e5dab 100644 --- a/include/wx/arrimpl.cpp +++ b/include/wx/arrimpl.cpp @@ -75,6 +75,8 @@ void name::RemoveAt(size_t uiIndex, size_t nRemove) \ \ void name::Add(const T& item, size_t nInsert) \ { \ + if (nInsert == 0) \ + return; \ T* pItem = new T(item); \ size_t nOldSize = GetCount(); \ if ( pItem != NULL ) \ @@ -85,6 +87,8 @@ void name::Add(const T& item, size_t nInsert) \ \ void name::Insert(const T& item, size_t uiIndex, size_t nInsert) \ { \ + if (nInsert == 0) \ + return; \ T* pItem = new T(item); \ if ( pItem != NULL ) \ wxBaseArrayPtrVoid::Insert(pItem, uiIndex, nInsert); \ diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 3bba43e060..4a862d3f58 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -22,6 +22,7 @@ class WXDLLEXPORT wxArtProvidersList; class WXDLLEXPORT wxArtProviderCache; +class wxArtProviderModule; // ---------------------------------------------------------------------------- // Types @@ -113,10 +114,13 @@ public: const wxArtClient& client = wxART_OTHER, const wxSize& size = wxDefaultSize); +protected: + friend class wxArtProviderModule; + // Initializes default provider + static void InitStdProvider(); // Destroy caches & all providers static void CleanUpProviders(); -protected: // Derived classes must override this method to create requested // art resource. This method is called only once per instance's // lifetime for each requested wxArtID. diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 3b770e32af..b913e75100 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -23,92 +23,96 @@ // of new/delete // ---------------------------------------------------------------------------- -class wxCharBuffer -{ -public: - wxCharBuffer(const char *str) - : m_str(str ? strdup(str) : NULL) - { - } - - wxCharBuffer(size_t len) - : m_str((char *)malloc((len + 1)*sizeof(char))) - { - m_str[len] = '\0'; - } - - // no need to check for NULL, free() does it - ~wxCharBuffer() { free(m_str); } - - wxCharBuffer(const wxCharBuffer& src) - : m_str(src.m_str) - { - // no reference count yet... - ((wxCharBuffer*)&src)->m_str = (char *)NULL; - } - wxCharBuffer& operator=(const wxCharBuffer& src) - { - m_str = src.m_str; - // no reference count yet... - ((wxCharBuffer*)&src)->m_str = (char *)NULL; - return *this; - } - - const char *data() const { return m_str; } - operator const char *() const { return m_str; } - char operator[](size_t n) const { return m_str[n]; } - -private: - char *m_str; -}; +#define DEFINE_BUFFER(classname, chartype, strdupfunc) \ +class classname \ +{ \ +public: \ + classname(const chartype *str) \ + : m_str(str ? strdupfunc(str) : NULL) \ + { \ + } \ + \ + classname(size_t len) \ + : m_str((chartype *)malloc((len + 1)*sizeof(chartype))) \ + { \ + m_str[len] = (chartype)0; \ + } \ + \ + /* no need to check for NULL, free() does it */ \ + ~classname() { free(m_str); } \ + \ + /* \ + WARNING: \ + \ + the copy ctor and assignment operators change the passed in object \ + even although it is declared as "const", so: \ + \ + a) it shouldn't be really const \ + b) you shouldn't use it afterwards (or know that it was reset) \ + \ + This is very ugly but is unfortunately needed to make the normal use\ + of classname buffer objects possible and is very similar to what \ + std::auto_ptr<> does (as if it were an excuse...) \ + */ \ + \ + /* \ + because of the remark above, release() is declared const even if it \ + isn't really const \ + */ \ + chartype *release() const \ + { \ + chartype *p = m_str; \ + ((classname *)this)->m_str = NULL; \ + return p; \ + } \ + \ + classname(const classname& src) \ + : m_str(src.release()) \ + { \ + } \ + \ + classname& operator=(const chartype *str) \ + { \ + free(m_str); \ + m_str = str ? strdupfunc(str) : NULL; \ + return *this; \ + } \ + \ + classname& operator=(const classname& src) \ + { \ + free(m_str); \ + m_str = src.release(); \ + \ + return *this; \ + } \ + \ + chartype *data() { return m_str; } \ + const chartype *data() const { return m_str; } \ + operator const chartype *() const { return m_str; } \ + chartype operator[](size_t n) const { return m_str[n]; } \ + \ +private: \ + chartype *m_str; \ +} + +DEFINE_BUFFER(wxCharBuffer, char, strdup); #if wxUSE_WCHAR_T -class wxWCharBuffer +inline wchar_t *wxWcsdupReplacement(const wchar_t *wcs) { -public: - wxWCharBuffer(const wchar_t *wcs) - : m_wcs((wchar_t *)NULL) - { - if (wcs) { - size_t siz = (wxWcslen(wcs) + 1)*sizeof(wchar_t); - m_wcs = (wchar_t *)malloc(siz); - memcpy(m_wcs, wcs, siz); - } - } - wxWCharBuffer(size_t len) - : m_wcs((wchar_t *)malloc((len + 1)*sizeof(wchar_t))) - { - m_wcs[len] = L'\0'; - } + const size_t siz = (wxWcslen(wcs) + 1)*sizeof(wchar_t); + wchar_t *wcsCopy = (wchar_t *)malloc(siz); + memcpy(wcsCopy, wcs, siz); + return wcsCopy; +} - // no need to check for NULL, free() does it - ~wxWCharBuffer() { free(m_wcs); } - - wxWCharBuffer(const wxWCharBuffer& src) - : m_wcs(src.m_wcs) - { - // no reference count yet... - ((wxWCharBuffer*)&src)->m_wcs = (wchar_t *)NULL; - } - wxWCharBuffer& operator=(const wxWCharBuffer& src) - { - m_wcs = src.m_wcs; - // no reference count yet... - ((wxWCharBuffer*)&src)->m_wcs = (wchar_t *)NULL; - return *this; - } - - const wchar_t *data() const { return m_wcs; } - operator const wchar_t *() const { return m_wcs; } - wchar_t operator[](size_t n) const { return m_wcs[n]; } - -private: - wchar_t *m_wcs; -}; +DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxWcsdupReplacement); #endif // wxUSE_WCHAR_T +#undef DEFINE_BUFFER + #if wxUSE_UNICODE #define wxMB2WXbuf wxWCharBuffer #define wxWX2MBbuf wxCharBuffer @@ -125,101 +129,146 @@ private: // A class for holding growable data buffers (not necessarily strings) // ---------------------------------------------------------------------------- -class wxMemoryBuffer +// This class manages the actual data buffer pointer and is ref-counted. +class wxMemoryBufferData { public: + // the initial size and also the size added by ResizeIfNeeded() enum { BLOCK_SIZE = 1024 }; - wxMemoryBuffer(size_t size = wxMemoryBuffer::BLOCK_SIZE) - : m_data(malloc(size)), m_size(size), m_len(0) + + friend class wxMemoryBuffer; + + // everyting is private as it can only be used by wxMemoryBuffer +private: + wxMemoryBufferData(size_t size = wxMemoryBufferData::BLOCK_SIZE) + : m_data(size ? malloc(size) : NULL), m_size(size), m_len(0), m_ref(0) { } + ~wxMemoryBufferData() { free(m_data); } - ~wxMemoryBuffer() { free(m_data); } - - // Accessors - void* GetData() const { return m_data; } - size_t GetBufSize() const { return m_size; } - size_t GetDataLen() const { return m_len; } - void SetBufSize(size_t size) { ResizeIfNeeded(size); } - void SetDataLen(size_t len) + void ResizeIfNeeded(size_t newSize) { - wxASSERT(len <= m_size); - m_len = len; + if (newSize > m_size) + { + void *dataOld = m_data; + m_data = realloc(m_data, newSize + wxMemoryBufferData::BLOCK_SIZE); + if ( !m_data ) + { + free(dataOld); + } + + m_size = newSize + wxMemoryBufferData::BLOCK_SIZE; + } } - // Ensure the buffer is big enough and return a pointer to it - void* GetWriteBuf(size_t sizeNeeded) + void IncRef() { m_ref += 1; } + void DecRef() { - ResizeIfNeeded(sizeNeeded); - return m_data; + m_ref -= 1; + if (m_ref == 0) // are there no more references? + delete this; } - // Update the length after the write - void UngetWriteBuf(size_t sizeUsed) { SetDataLen(sizeUsed); } - // Like the above, but appends to the buffer - void* GetAppendBuf(size_t sizeNeeded) + + // the buffer containing the data + void *m_data; + + // the size of the buffer + size_t m_size; + + // the amount of data currently in the buffer + size_t m_len; + + // the reference count + size_t m_ref; +}; + + +class wxMemoryBuffer +{ +public: + // ctor and dtor + wxMemoryBuffer(size_t size = wxMemoryBufferData::BLOCK_SIZE) { - ResizeIfNeeded(m_len + sizeNeeded); - return (char*)m_data + m_len; + m_bufdata = new wxMemoryBufferData(size); + m_bufdata->IncRef(); } - void UngetAppendBuf(size_t sizeUsed) { SetDataLen(m_len + sizeUsed); } - // Other ways to append to the buffer - void AppendByte(char data) { - ResizeIfNeeded(m_len + 1); - *(((char*)m_data)+m_len) = data; - m_len += 1; + ~wxMemoryBuffer() { m_bufdata->DecRef(); } + + + // copy and assignment + wxMemoryBuffer(const wxMemoryBuffer& src) + : m_bufdata(src.m_bufdata) + { + m_bufdata->IncRef(); } - void AppendData(void* data, size_t len) + + wxMemoryBuffer& operator=(const wxMemoryBuffer& src) { - memcpy(GetAppendBuf(len), data, len); - UngetAppendBuf(len); + m_bufdata->DecRef(); + m_bufdata = src.m_bufdata; + m_bufdata->IncRef(); + return *this; } - operator const char *() const { return (const char*)m_data; } + // Accessors + void *GetData() const { return m_bufdata->m_data; } + size_t GetBufSize() const { return m_bufdata->m_size; } + size_t GetDataLen() const { return m_bufdata->m_len; } - // Copy and assignment - wxMemoryBuffer(const wxMemoryBuffer& src) - : m_data(src.m_data), m_size(src.m_size), m_len(src.m_len) + void SetBufSize(size_t size) { m_bufdata->ResizeIfNeeded(size); } + void SetDataLen(size_t len) { - // no reference count yet... - ((wxMemoryBuffer*)&src)->m_data = NULL; - ((wxMemoryBuffer*)&src)->m_size = 0; - ((wxMemoryBuffer*)&src)->m_len = 0; + wxASSERT(len <= m_bufdata->m_size); + m_bufdata->m_len = len; } - wxMemoryBuffer& operator=(const wxMemoryBuffer& src) + // Ensure the buffer is big enough and return a pointer to it + void *GetWriteBuf(size_t sizeNeeded) { - m_data = src.m_data; - m_size = src.m_size; - m_len = src.m_len; + m_bufdata->ResizeIfNeeded(sizeNeeded); + return m_bufdata->m_data; + } - // no reference count yet... - ((wxMemoryBuffer*)&src)->m_data = NULL; - ((wxMemoryBuffer*)&src)->m_size = 0; - ((wxMemoryBuffer*)&src)->m_len = 0; + // Update the length after the write + void UngetWriteBuf(size_t sizeUsed) { SetDataLen(sizeUsed); } - return *this; - } + // Like the above, but appends to the buffer + void *GetAppendBuf(size_t sizeNeeded) + { + m_bufdata->ResizeIfNeeded(m_bufdata->m_len + sizeNeeded); + return (char*)m_bufdata->m_data + m_bufdata->m_len; + } + // Update the length after the append + void UngetAppendBuf(size_t sizeUsed) + { + SetDataLen(m_bufdata->m_len + sizeUsed); + } -protected: - void ResizeIfNeeded(size_t newSize) + // Other ways to append to the buffer + void AppendByte(char data) { - if (newSize > m_size) - { - m_data = realloc(m_data, newSize + wxMemoryBuffer::BLOCK_SIZE); - wxASSERT(m_data != NULL); - m_size = newSize + wxMemoryBuffer::BLOCK_SIZE; - } + wxCHECK_RET( m_bufdata->m_data, _T("invalid wxMemoryBuffer") ); + + m_bufdata->ResizeIfNeeded(m_bufdata->m_len + 1); + *(((char*)m_bufdata->m_data) + m_bufdata->m_len) = data; + m_bufdata->m_len += 1; + } + + void AppendData(void* data, size_t len) + { + memcpy(GetAppendBuf(len), data, len); + UngetAppendBuf(len); } + operator const char *() const { return (const char*)GetData(); } + private: - void* m_data; - size_t m_size; - size_t m_len; + wxMemoryBufferData* m_bufdata; }; // ---------------------------------------------------------------------------- diff --git a/include/wx/busyinfo.h b/include/wx/busyinfo.h index b5a94ba6de..ab9f5a6f2d 100644 --- a/include/wx/busyinfo.h +++ b/include/wx/busyinfo.h @@ -16,7 +16,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 5c9be4068b..3320f3c855 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -95,6 +95,14 @@ # endif #endif /* !defined(wxUSE_MIMETYPE) */ +#ifndef wxUSE_PROLOGIO +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_PROLOGIO must be defined." +# else +# define wxUSE_PROLOGIO 0 +# endif +#endif /* !defined(wxUSE_PROLOGIO) */ + #ifndef wxUSE_PROTOCOL # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_PROTOCOL must be defined." @@ -675,6 +683,14 @@ # endif #endif /* !defined(wxUSE_TREECTRL) */ +#ifndef wxUSE_WX_RESOURCES +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_WX_RESOURCES must be defined." +# else +# define wxUSE_WX_RESOURCES 0 +# endif +#endif /* !defined(wxUSE_WX_RESOURCES) */ + #ifndef wxUSE_WXHTML_HELP # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_WXHTML_HELP must be defined." @@ -1168,5 +1184,14 @@ # endif #endif /* wxUSE_CLIPBOARD */ +#if wxUSE_WX_RESOURCES && !wxUSE_PROLOGIO +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxr resources require PrologIO" +# else +# undef wxUSE_PROLOGIO +# define wxUSE_PROLOGIO 1 +# endif +#endif /* wxUSE_WX_RESOURCES */ + #endif /* wxUSE_GUI */ diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index 91ed5ee234..b5b8b88b10 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -26,7 +26,7 @@ class WXDLLEXPORT wxCommand : public wxObject { public: - wxCommand(bool canUndoIt = FALSE, const wxString& name = ""); + wxCommand(bool canUndoIt = FALSE, const wxString& name = wxT("")); ~wxCommand(); // Override this to perform a command diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index d1aed4df34..390ec00aed 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -218,9 +218,11 @@ public: #elif defined(__WXMAC__) void* m_macPageFormat ; void* m_macPrintSettings ; + void* m_macPrintSession ; #endif private: + int m_printNoCopies; int m_printOrientation; bool m_printCollate; diff --git a/include/wx/colordlg.h b/include/wx/colordlg.h index 8b8ce1d292..d961b8b535 100644 --- a/include/wx/colordlg.h +++ b/include/wx/colordlg.h @@ -14,9 +14,9 @@ #if wxUSE_COLOURDLG -#if defined(__WXMSW__) +#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) #include "wx/msw/colordlg.h" -#elif defined(__WXMAC__) +#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__) #include "wx/mac/colordlg.h" #else #include "wx/generic/colrdlgg.h" diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 654041d61c..c546534b81 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -17,6 +17,8 @@ #pragma interface "datetime.h" #endif +#include "wx/defs.h" + #if wxUSE_DATETIME #include @@ -657,8 +659,10 @@ public: // ------------------------------------------------------------------------ // set to the given week day in the same week as this one - wxDateTime& SetToWeekDayInSameWeek(WeekDay weekday); - inline wxDateTime GetWeekDayInSameWeek(WeekDay weekday) const; + wxDateTime& SetToWeekDayInSameWeek(WeekDay weekday, + WeekFlags flags = Monday_First); + inline wxDateTime GetWeekDayInSameWeek(WeekDay weekday, + WeekFlags flags = Monday_First) const; // set to the next week day following this one wxDateTime& SetToNextWeekDay(WeekDay weekday); @@ -692,8 +696,12 @@ public: // sets the date to the given day of the given week in the year, // returns TRUE on success and FALSE if given date doesn't exist (e.g. // numWeek is > 53) - bool SetToTheWeek(wxDateTime_t numWeek, WeekDay weekday = Mon); - inline wxDateTime GetWeek(wxDateTime_t numWeek, WeekDay weekday = Mon) const; + bool SetToTheWeek(wxDateTime_t numWeek, + WeekDay weekday = Mon, + WeekFlags flags = Monday_First); + inline wxDateTime GetWeek(wxDateTime_t numWeek, + WeekDay weekday = Mon, + WeekFlags flags = Monday_First) const; // sets the date to the last day of the given (or current) month or the // given (or current) year @@ -843,6 +851,15 @@ public: // adoption of the Gregorian calendar is simply unknown. bool IsGregorianDate(GregorianAdoption country = Gr_Standard) const; + // dos date and time format + // ------------------------------------------------------------------------ + + // set from the DOS packed format + wxDateTime& SetFromDOS(unsigned long ddt); + + // pack the date in DOS format + unsigned long GetAsDOS() const; + // comparison (see also functions below for operator versions) // ------------------------------------------------------------------------ diff --git a/include/wx/datetime.inl b/include/wx/datetime.inl index 8ec379dd9d..398b02828b 100644 --- a/include/wx/datetime.inl +++ b/include/wx/datetime.inl @@ -156,7 +156,8 @@ inline bool wxDateTime::SetToLastWeekDay(WeekDay weekday, return SetToWeekDay(weekday, -1, month, year); } -inline wxDateTime wxDateTime::GetWeekDayInSameWeek(WeekDay weekday) const +inline wxDateTime wxDateTime::GetWeekDayInSameWeek(WeekDay weekday, + WeekFlags flags) const { MODIFY_AND_RETURN( SetToWeekDayInSameWeek(weekday) ); } @@ -191,11 +192,12 @@ inline wxDateTime wxDateTime::GetLastWeekDay(WeekDay weekday, } inline wxDateTime wxDateTime::GetWeek(wxDateTime_t numWeek, - WeekDay weekday) const + WeekDay weekday, + WeekFlags flags) const { wxDateTime dt(*this); - return dt.SetToTheWeek(numWeek, weekday) ? dt : wxInvalidDateTime; + return dt.SetToTheWeek(numWeek, weekday, flags) ? dt : wxInvalidDateTime; } inline wxDateTime wxDateTime::GetLastMonthDay(Month month, int year) const diff --git a/include/wx/db.h b/include/wx/db.h index e43e77db95..ecb4f3ab6a 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: db.h +// Name: wx/db.h // Purpose: Header file wxDb class. The wxDb class represents a connection // to an ODBC data source. The wxDb class allows operations on the data // source such as opening and closing the data source. @@ -32,13 +32,8 @@ // /////////////////////////////////////////////////////////////////////////////// -/* -// SYNOPSIS START -// SYNOPSIS STOP -*/ - -#ifndef DB_DOT_H -#define DB_DOT_H +#ifndef _WX_DB_H_ +#define _WX_DB_H_ // BJO 20000503: introduce new GetColumns members which are more database independant and @@ -58,36 +53,40 @@ #include "wx/string.h" #ifdef __VISUALC__ -// include standard Windows headers -#if defined(__WXMSW__) && !wxUSE_MFC - #ifndef STRICT - #define STRICT 1 - #endif - - #include - #include "wx/msw/winundef.h" -#endif - -// If you use the wxDbCreateDataSource() function with MSW/VC6, -// you cannot use the iODBC headers, you must use the VC headers, -// plus the odbcinst.h header - gt Nov 2 2000 -// -// Must add "odbccp32.lib" in \wx2\wxWindows\src\makevc.env to the WINLIBS= line -// + // we need to include standard Windows headers but we can't include + // directly when using MFC because it includes it itself in a + // different manner + #if wxUSE_MFC + #include + #else // !wxUSE_MFC + #ifndef STRICT + #define STRICT 1 + #endif + + #include + #include "wx/msw/winundef.h" + #endif // wxUSE_MFC/!wxUSE_MFC + + // If you use the wxDbCreateDataSource() function with MSW/VC6, + // you cannot use the iODBC headers, you must use the VC headers, + // plus the odbcinst.h header - gt Nov 2 2000 + // + // Must add "odbccp32.lib" in \wx2\wxWindows\src\makevc.env to the WINLIBS= line + // #include "sql.h" #include "sqlext.h" #include "odbcinst.h" #elif defined( __VMS ) -// For OpenVMS use the ones from the library -extern "C" { - #include - #include -} -#else -extern "C" { - #include "wx/isql.h" - #include "wx/isqlext.h" -} + // For OpenVMS use the ones from the library + extern "C" { + #include + #include + } +#else // !__VISUALC__, !__VMS + extern "C" { + #include "wx/isql.h" + #include "wx/isqlext.h" + } #endif @@ -715,7 +714,7 @@ int WXDLLEXPORT wxDbConnectionsInUse(void); // Writes a message to the wxLog window (stdout usually) when an internal error // situation occurs. This function only works in DEBUG builds -const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, +const wxChar* WXDLLEXPORT wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb, const wxChar *ErrFile, int ErrLine); @@ -772,10 +771,11 @@ bool WXDLLEXPORT FreeDbConnection(wxDB *pDb); void WXDLLEXPORT CloseDbConnections(void); int WXDLLEXPORT NumberDbConnectionsInUse(void); -bool SqlLog(sqlLog state, const char *filename = SQL_LOG_FILENAME); +bool SqlLog(sqlLog state, const wxChar *filename = SQL_LOG_FILENAME); bool WXDLLEXPORT GetDataSource(HENV henv, char *Dsn, SWORD DsnMax, char *DsDesc, SWORD DsDescMax, UWORD direction = SQL_FETCH_NEXT); #endif // Deprecated structures/classes/functions -#endif +#endif // _WX_DB_H_ + diff --git a/include/wx/debug.h b/include/wx/debug.h index 9c92739aaa..4f4230f6c5 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -123,12 +123,13 @@ // Use of wxFalse instead of FALSE suppresses compiler warnings about testing // constant expression WXDLLEXPORT_DATA(extern const bool) wxFalse; +#define wxAssertFailure wxFalse // special form of assert: always triggers it (in debug mode) -#define wxFAIL wxASSERT(wxFalse) +#define wxFAIL wxASSERT(wxAssertFailure) // FAIL with some message -#define wxFAIL_MSG(msg) wxASSERT_MSG(wxFalse, msg) +#define wxFAIL_MSG(msg) wxASSERT_MSG(wxAssertFailure, msg) // NB: the following macros work also in release mode! diff --git a/include/wx/defs.h b/include/wx/defs.h index f0ce9ccc28..5482b48848 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1099,6 +1099,7 @@ enum wxBorder * wxRadioButton style flag */ #define wxRB_GROUP 0x0004 +#define wxRB_SINGLE 0x0008 /* * wxGauge flags @@ -1172,8 +1173,12 @@ enum wxBorder */ #define wxTC_RIGHTJUSTIFY 0x0010 #define wxTC_FIXEDWIDTH 0x0020 -#define wxTC_OWNERDRAW 0x0040 +#define wxTC_TOP 0x0000 // default +#define wxTC_LEFT 0x0020 +#define wxTC_RIGHT 0x0040 +#define wxTC_BOTTOM 0x0080 #define wxTC_MULTILINE wxNB_MULTILINE +#define wxTC_OWNERDRAW 0x0200 // wxToolBar style flags #define wxTB_HORIZONTAL wxHORIZONTAL // == 0x0004 @@ -1794,11 +1799,11 @@ enum wxPrintMode // macro to specify "All Files" on different platforms #if defined(__WXMSW__) || defined(__WXPM__) -# define wxALL_FILES_PATTERN "*.*" -# define wxALL_FILES gettext_noop("All files (*.*)|*.*") +# define wxALL_FILES_PATTERN wxT("*.*") +# define wxALL_FILES gettext_noop(wxT("All files (*.*)|*.*")) #else -# define wxALL_FILES_PATTERN "*" -# define wxALL_FILES gettext_noop("All files (*)|*") +# define wxALL_FILES_PATTERN wxT("*") +# define wxALL_FILES gettext_noop(wxT("All files (*)|*")) #endif // --------------------------------------------------------------------------- @@ -2083,13 +2088,24 @@ typedef GtkWidget *WXWidget; #endif #ifdef __WXGTK20__ +/* Input method thing */ +typedef struct _GtkIMMulticontext GtkIMMulticontext; +#endif // __WXGTK20__ + +#endif // __WXGTK__ + +#if defined(__WXGTK20__) || (defined(__WXX11__) && wxUSE_UNICODE) +#define wxUSE_PANGO 1 +#else +#define wxUSE_PANGO 0 +#endif + +#if wxUSE_PANGO /* Stand-ins for Pango types */ typedef struct _PangoContext PangoContext; typedef struct _PangoLayout PangoLayout; typedef struct _PangoFontDescription PangoFontDescription; -#endif // GTK+ 2.0 - -#endif // GTK +#endif #ifdef __WXMGL__ typedef struct window_t *WXWidget; diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 37b2109475..089a328ce4 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -29,26 +29,26 @@ class WXDLLEXPORT wxDocMDIParentFrame: public wxMDIParentFrame { - DECLARE_CLASS(wxDocMDIParentFrame) - public: - wxDocMDIParentFrame(wxDocManager *manager, wxFrame *parent, wxWindowID id, - const wxString& title, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame"); +public: + wxDocMDIParentFrame(wxDocManager *manager, wxFrame *parent, wxWindowID id, + const wxString& title, const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("frame")); - // Extend event processing to search the document manager's event table - virtual bool ProcessEvent(wxEvent& event); + // Extend event processing to search the document manager's event table + virtual bool ProcessEvent(wxEvent& event); - wxDocManager *GetDocumentManager(void) const { return m_docManager; } + wxDocManager *GetDocumentManager(void) const { return m_docManager; } - void OnExit(wxCommandEvent& event); - void OnMRUFile(wxCommandEvent& event); - void OnCloseWindow(wxCloseEvent& event); + void OnExit(wxCommandEvent& event); + void OnMRUFile(wxCommandEvent& event); + void OnCloseWindow(wxCloseEvent& event); - protected: - wxDocManager *m_docManager; +protected: + wxDocManager *m_docManager; - -DECLARE_EVENT_TABLE() +private: + DECLARE_CLASS(wxDocMDIParentFrame) + DECLARE_EVENT_TABLE() }; /* @@ -57,31 +57,31 @@ DECLARE_EVENT_TABLE() class WXDLLEXPORT wxDocMDIChildFrame: public wxMDIChildFrame { - DECLARE_CLASS(wxDocMDIChildFrame) - - public: - wxDocMDIChildFrame(wxDocument *doc, wxView *view, wxMDIParentFrame *frame, wxWindowID id, - const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long type = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame"); - ~wxDocMDIChildFrame(void); - - // Extend event processing to search the view's event table - virtual bool ProcessEvent(wxEvent& event); - - void OnActivate(wxActivateEvent& event); - void OnCloseWindow(wxCloseEvent& event); - - inline wxDocument *GetDocument(void) const { return m_childDocument; } - inline wxView *GetView(void) const { return m_childView; } - inline void SetDocument(wxDocument *doc) { m_childDocument = doc; } - inline void SetView(wxView *view) { m_childView = view; } - bool Destroy() { m_childView = (wxView *)NULL; return wxMDIChildFrame::Destroy(); } - protected: - wxDocument* m_childDocument; - wxView* m_childView; - -DECLARE_EVENT_TABLE() - +public: + wxDocMDIChildFrame(wxDocument *doc, wxView *view, wxMDIParentFrame *frame, wxWindowID id, + const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, + long type = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("frame")); + ~wxDocMDIChildFrame(); + + // Extend event processing to search the view's event table + virtual bool ProcessEvent(wxEvent& event); + + void OnActivate(wxActivateEvent& event); + void OnCloseWindow(wxCloseEvent& event); + + inline wxDocument *GetDocument() const { return m_childDocument; } + inline wxView *GetView(void) const { return m_childView; } + inline void SetDocument(wxDocument *doc) { m_childDocument = doc; } + inline void SetView(wxView *view) { m_childView = view; } + bool Destroy() { m_childView = (wxView *)NULL; return wxMDIChildFrame::Destroy(); } + +protected: + wxDocument* m_childDocument; + wxView* m_childView; + +private: + DECLARE_EVENT_TABLE() + DECLARE_CLASS(wxDocMDIChildFrame) }; #endif diff --git a/include/wx/docview.h b/include/wx/docview.h index 93e968d334..0a6ca711f4 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -64,8 +64,6 @@ enum class WXDLLEXPORT wxDocument : public wxEvtHandler { - DECLARE_ABSTRACT_CLASS(wxDocument) - public: wxDocument(wxDocument *parent = (wxDocument *) NULL); ~wxDocument(); @@ -160,12 +158,13 @@ protected: wxDocument* m_documentParent; wxCommandProcessor* m_commandProcessor; bool m_savedYet; + +private: + DECLARE_ABSTRACT_CLASS(wxDocument) }; class WXDLLEXPORT wxView: public wxEvtHandler { - DECLARE_ABSTRACT_CLASS(wxView) - public: // wxView(wxDocument *doc = (wxDocument *) NULL); wxView(); @@ -222,12 +221,14 @@ protected: wxDocument* m_viewDocument; wxString m_viewTypeName; wxWindow* m_viewFrame; + +private: + DECLARE_ABSTRACT_CLASS(wxView) }; // Represents user interface (and other) properties of documents and views class WXDLLEXPORT wxDocTemplate: public wxObject { -DECLARE_CLASS(wxDocTemplate) friend class WXDLLEXPORT wxDocManager; @@ -286,6 +287,9 @@ protected: // For dynamic creation of appropriate instances. wxClassInfo* m_docClassInfo; wxClassInfo* m_viewClassInfo; + +private: + DECLARE_CLASS(wxDocTemplate) }; // One object of this class may be created in an application, to manage all @@ -333,9 +337,6 @@ public: // called when file format detection didn't work, can be overridden to do // something in this case - // This is of course completely stupid, because if the file dialog is - // cancelled you get an assert. Brilliant. -- JACS -// virtual void OnOpenFileFailure() { wxFAIL_MSG(_T("file format mismatch")); } virtual void OnOpenFileFailure() { } virtual wxDocument *CreateDocument(const wxString& path, long flags = 0); @@ -427,8 +428,6 @@ protected: class WXDLLEXPORT wxDocChildFrame : public wxFrame { - DECLARE_CLASS(wxDocChildFrame) - public: wxDocChildFrame(wxDocument *doc, wxView *view, @@ -438,7 +437,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long type = wxDEFAULT_FRAME_STYLE, - const wxString& name = "frame"); + const wxString& name = wxT("frame")); ~wxDocChildFrame(); // Extend event processing to search the view's event table @@ -457,6 +456,8 @@ protected: wxDocument* m_childDocument; wxView* m_childView; +private: + DECLARE_CLASS(wxDocChildFrame) DECLARE_EVENT_TABLE() }; @@ -466,8 +467,6 @@ protected: class WXDLLEXPORT wxDocParentFrame : public wxFrame { - DECLARE_CLASS(wxDocParentFrame) - public: wxDocParentFrame(wxDocManager *manager, wxFrame *frame, @@ -476,7 +475,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long type = wxDEFAULT_FRAME_STYLE, - const wxString& name = "frame"); + const wxString& name = wxT("frame")); // Extend event processing to search the document manager's event table virtual bool ProcessEvent(wxEvent& event); @@ -490,6 +489,8 @@ public: protected: wxDocManager *m_docManager; +private: + DECLARE_CLASS(wxDocParentFrame) DECLARE_EVENT_TABLE() }; @@ -500,10 +501,8 @@ protected: #if wxUSE_PRINTING_ARCHITECTURE class WXDLLEXPORT wxDocPrintout : public wxPrintout { - DECLARE_DYNAMIC_CLASS(wxDocPrintout) - public: - wxDocPrintout(wxView *view = (wxView *) NULL, const wxString& title = "Printout"); + wxDocPrintout(wxView *view = (wxView *) NULL, const wxString& title = wxT("Printout")); bool OnPrintPage(int page); bool HasPage(int page); bool OnBeginDocument(int startPage, int endPage); @@ -513,6 +512,9 @@ public: protected: wxView* m_printoutView; + +private: + DECLARE_DYNAMIC_CLASS(wxDocPrintout) }; #endif // wxUSE_PRINTING_ARCHITECTURE @@ -522,8 +524,6 @@ protected: class WXDLLEXPORT wxFileHistory : public wxObject { - DECLARE_DYNAMIC_CLASS(wxFileHistory) - public: wxFileHistory(int maxFiles = 9); ~wxFileHistory(); @@ -563,6 +563,9 @@ protected: wxList m_fileMenus; // Max files to maintain int m_fileMaxFiles; + +private: + DECLARE_DYNAMIC_CLASS(wxFileHistory) }; #if wxUSE_STD_IOSTREAM diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index 097edaacd3..39d4a81058 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -8,7 +8,7 @@ class WXDLLEXPORT wxMemoryDC; class WXDLLEXPORT wxDC; #if defined(__WXMSW__) -#ifdef __WIN16__ +#if defined(__WIN16__) || defined(__WXUNIVERSAL__) #include "wx/generic/dragimgg.h" #define wxDragImage wxGenericDragImage #define sm_classwxDragImage sm_classwxGenericDragImage diff --git a/include/wx/dynload.h b/include/wx/dynload.h index 11462250d6..a1c19d73a9 100644 --- a/include/wx/dynload.h +++ b/include/wx/dynload.h @@ -25,7 +25,7 @@ #if wxUSE_DYNAMIC_LOADER -#include "wx/hash.h" +#include "wx/hashmap.h" #include "wx/module.h" // FIXME: can this go in private.h or something too?? @@ -38,11 +38,10 @@ #include "wx/msw/private.h" #endif -// Ugh, I'd much rather this was typesafe, but no time -// to rewrite wxHashTable right now.. +class WXDLLEXPORT wxPluginLibrary; -typedef wxHashTable wxDLManifest; -typedef wxHashTable wxDLImports; +WX_DECLARE_EXPORTED_STRING_HASH_MAP(wxPluginLibrary *, wxDLManifest); +typedef wxDLManifest wxDLImports; // ---------------------------------------------------------------------------- // conditional compilation @@ -168,7 +167,7 @@ protected: // no copy ctor/assignment operators // or we'd try to unload the library twice -DECLARE_NO_COPY_CLASS(wxDynamicLibrary) + DECLARE_NO_COPY_CLASS(wxDynamicLibrary) }; @@ -234,7 +233,7 @@ private: void RegisterModules(); // Init any wxModules in the lib. void UnregisterModules(); // Cleanup any wxModules we installed. -DECLARE_NO_COPY_CLASS(wxPluginLibrary) + DECLARE_NO_COPY_CLASS(wxPluginLibrary) }; @@ -257,7 +256,7 @@ public: // Instance methods. - wxPluginManager() : m_entry(0) {}; + wxPluginManager() : m_entry(NULL) {}; wxPluginManager(const wxString &libname, int flags = wxDL_DEFAULT) { Load(libname, flags); @@ -277,14 +276,21 @@ public: static void ClearManifest() { delete ms_manifest; ms_manifest = NULL; } private: + // return the pointer to the entry for the library with given name in + // ms_manifest or NULL if none + static wxPluginLibrary *FindByName(const wxString& name) + { + const wxDLManifest::iterator i = ms_manifest->find(name); + + return i == ms_manifest->end() ? NULL : i->second; + } static wxDLManifest* ms_manifest; // Static hash of loaded libs. wxPluginLibrary* m_entry; // Cache our entry in the manifest. // We could allow this class to be copied if we really // wanted to, but not without modification. - -DECLARE_NO_COPY_CLASS(wxPluginManager) + DECLARE_NO_COPY_CLASS(wxPluginManager) }; diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 013b9d76bf..7b9589f355 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -62,7 +62,7 @@ class WXDLLEXPORT wxEncodingConverter : public wxObject wxEncodingConverter(); ~wxEncodingConverter() { if (m_Table) delete[] m_Table; } - // Initialize convertion. Both output or input encoding may + // Initialize conversion. Both output or input encoding may // be wxFONTENCODING_UNICODE, but only if wxUSE_WCHAR_T is set to 1. // // All subsequent calls to Convert() will interpret it's argument diff --git a/include/wx/event.h b/include/wx/event.h index 223502421d..744263bba4 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -817,22 +817,7 @@ class WXDLLEXPORT wxKeyEvent : public wxEvent { public: wxKeyEvent(wxEventType keyType = wxEVT_NULL); - wxKeyEvent(const wxKeyEvent& evt) : wxEvent(evt) - { - m_x = evt.m_x; - m_y = evt.m_y; - - m_keyCode = evt.m_keyCode; - - m_controlDown = evt.m_controlDown; - m_shiftDown = evt.m_shiftDown; - m_altDown = evt.m_altDown; - m_metaDown = evt.m_metaDown; - m_scanCode = evt.m_scanCode; - m_rawCode = evt.m_rawCode; - m_rawFlags = evt.m_rawFlags; - } - + wxKeyEvent(const wxKeyEvent& evt); // Find state of shift/control keys bool ControlDown() const { return m_controlDown; } @@ -914,8 +899,14 @@ public: bool m_metaDown; bool m_scanCode; - // these fields contain the platform-specific information about the pressed - // key +#if wxUSE_UNICODE + // This contains the full Unicode character + // in a character events in Unicode mode + wxChar m_uniChar; +#endif + + // these fields contain the platform-specific information about + // key that was pressed wxUint32 m_rawCode; wxUint32 m_rawFlags; diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 45e3648086..b6d2f0087f 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -150,34 +150,25 @@ WXDLLEXPORT int wxOpen( const wxChar *pathname, int flags, mode_t mode ); // functions // ---------------------------------------------------------------------------- WXDLLEXPORT bool wxFileExists(const wxString& filename); -#define FileExists wxFileExists // does the path exist? (may have or not '/' or '\\' at the end) WXDLLEXPORT bool wxPathExists(const wxChar *pszPathName); -#define wxDirExists wxPathExists -#define DirExists wxDirExists - WXDLLEXPORT bool wxIsAbsolutePath(const wxString& filename); -#define IsAbsolutePath wxIsAbsolutePath // Get filename WXDLLEXPORT wxChar* wxFileNameFromPath(wxChar *path); WXDLLEXPORT wxString wxFileNameFromPath(const wxString& path); -#define FileNameFromPath wxFileNameFromPath // Get directory WXDLLEXPORT wxString wxPathOnly(const wxString& path); -#define PathOnly wxPathOnly // wxString version WXDLLEXPORT wxString wxRealPath(const wxString& path); WXDLLEXPORT void wxDos2UnixFilename(wxChar *s); -#define Dos2UnixFilename wxDos2UnixFilename WXDLLEXPORT void wxUnix2DosFilename(wxChar *s); -#define Unix2DosFilename wxUnix2DosFilename // Strip the extension, in situ WXDLLEXPORT void wxStripExtension(wxChar *buffer); @@ -251,6 +242,19 @@ WXDLLEXPORT bool wxMkdir(const wxString& dir, int perm = 0777); // Remove directory. Flags reserved for future use. WXDLLEXPORT bool wxRmdir(const wxString& dir, int flags = 0); +// compatibility defines, don't use in new code +#define wxDirExists wxPathExists + +#if WXWIN_COMPATIBILITY_2 + #define FileExists wxFileExists + #define DirExists wxDirExists + #define IsAbsolutePath wxIsAbsolutePath + #define FileNameFromPath wxFileNameFromPath + #define PathOnly wxPathOnly + #define Dos2UnixFilename wxDos2UnixFilename + #define Unix2DosFilename wxUnix2DosFilename +#endif + // ---------------------------------------------------------------------------- // separators in file names // ---------------------------------------------------------------------------- diff --git a/include/wx/filename.h b/include/wx/filename.h index 491e7deecc..38e6645e06 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -274,14 +274,21 @@ public: // Comparison - // compares with the rules of this platform - bool SameAs(const wxFileName &filepath, - wxPathFormat format = wxPATH_NATIVE); - - // uses the current platform settings - bool operator==(const wxFileName& filename) { return SameAs(filename); } - bool operator==(const wxString& filename) - { return *this == wxFileName(filename); } + // compares with the rules of the given platforms format + bool SameAs(const wxFileName& filepath, + wxPathFormat format = wxPATH_NATIVE) const; + + // compare with another filename object + bool operator==(const wxFileName& filename) const + { return SameAs(filename); } + bool operator!=(const wxFileName& filename) const + { return !SameAs(filename); } + + // compare with a filename string interpreted as a native file name + bool operator==(const wxString& filename) const + { return SameAs(wxFileName(filename)); } + bool operator!=(const wxString& filename) const + { return !SameAs(wxFileName(filename)); } // are the file names of this type cases sensitive? static bool IsCaseSensitive( wxPathFormat format = wxPATH_NATIVE ); diff --git a/include/wx/filesys.h b/include/wx/filesys.h index b8e5da0927..b819282152 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -180,6 +180,13 @@ public: // remove all items from the m_Handlers list static void CleanUpHandlers(); + // Returns the native path for a file URL + static wxString URLToNativePath( const wxString& url ); + + // Returns the file URL for a native path + static wxString NativePathToURL( const wxString& path ); + + protected: wxString m_Path; // the path (location) we are currently in diff --git a/include/wx/font.h b/include/wx/font.h index e519bad84d..0e6098ea3b 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -182,6 +182,10 @@ public: wxString GetStyleString() const; wxString GetWeightString() const; + // Unofficial API, don't use + virtual void SetNoAntiAliasing( bool no = TRUE ) { } + virtual bool GetNoAntiAliasing() { return FALSE; } + // the default encoding is used for creating all fonts with default // encoding parameter static wxFontEncoding GetDefaultEncoding() { return ms_encodingDefault; } @@ -191,7 +195,7 @@ protected: // get the internal data wxFontRefData *GetFontData() const { return (wxFontRefData *)m_refData; } - + private: // the currently default encoding: by default, it's the default system // encoding, but may be changed by the application using diff --git a/include/wx/fontenc.h b/include/wx/fontenc.h index 2ec2bc147a..afa99f08f1 100644 --- a/include/wx/fontenc.h +++ b/include/wx/fontenc.h @@ -71,6 +71,15 @@ enum wxFontEncoding wxFONTENCODING_UTF7, // UTF-7 Unicode encoding wxFONTENCODING_UTF8, // UTF-8 Unicode encoding + // Far Eastern encodings + // Chinese + wxFONTENCODING_GB2312 = wxFONTENCODING_CP936, // Simplified Chinese + wxFONTENCODING_BIG5 = wxFONTENCODING_CP950, // Traditional Chinese + + // Japanese (see http://zsigri.tripod.com/fontboard/cjk/jis.html) + wxFONTENCODING_SHIFT_JIS = wxFONTENCODING_CP932, // Shift JIS + wxFONTENCODING_EUC_JP, // Extended Unix Codepage for Japanese + wxFONTENCODING_UNICODE, // Unicode - currently used only by // wxEncodingConverter class diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 90ec00dc1c..2adeb7ed40 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -72,7 +72,9 @@ enum wxXLFDField // further it might make sense to make it a real class with virtual methods struct WXDLLEXPORT wxNativeFontInfo { -#if defined(_WX_X_FONTLIKE) +#if wxUSE_PANGO + PangoFontDescription *description; +#elif defined(_WX_X_FONTLIKE) // the members can't be accessed directly as we only parse the // xFontName on demand private: @@ -113,8 +115,6 @@ public: FATTRS fa; FONTMETRICS fm; FACENAMEDESC fn; -#elif defined(__WXGTK20__) - PangoFontDescription *description; #else // other platforms // // This is a generic implementation that should work on all ports diff --git a/include/wx/frame.h b/include/wx/frame.h index 2af6cd1d8d..4228ea0c10 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -86,8 +86,10 @@ public: virtual wxMenuBar *GetMenuBar() const { return m_frameMenuBar; } #endif // wxUSE_MENUS +#ifdef WXWIN_COMPATIBILITY_2_2 // call this to simulate a menu command bool Command(int id) { return ProcessCommand(id); } +#endif // WXWIN_COMPATIBILITY_2_2 // process menu command: returns TRUE if processed bool ProcessCommand(int id); diff --git a/include/wx/fs_mem.h b/include/wx/fs_mem.h index 0d70b7be9e..44cd4d489d 100644 --- a/include/wx/fs_mem.h +++ b/include/wx/fs_mem.h @@ -15,7 +15,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/include/wx/fs_zip.h b/include/wx/fs_zip.h index cfc1a99525..0678587f36 100644 --- a/include/wx/fs_zip.h +++ b/include/wx/fs_zip.h @@ -16,7 +16,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 9f206f30fc..3cd8a18402 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -151,10 +151,10 @@ enum wxStockCursor #ifdef __WXMSW__ // Load from a resource - #define wxICON(X) wxIcon("" #X "") + #define wxICON(X) wxIcon(wxT(#X)) #elif defined(__WXPM__) // Load from a resource - #define wxICON(X) wxIcon("" #X "") + #define wxICON(X) wxIcon(wxT(#X)) #elif defined(__WXMGL__) // Initialize from an included XPM #define wxICON(X) wxIcon( (const char**) X##_xpm ) @@ -172,7 +172,7 @@ enum wxStockCursor #define wxICON(X) wxIcon( X##_xpm ) #else // This will usually mean something on any platform - #define wxICON(X) wxIcon("" #X "") + #define wxICON(X) wxIcon(wxT(#X)) #endif // platform /* Another macro: this one is for portable creation of bitmaps. We assume that @@ -180,7 +180,7 @@ enum wxStockCursor */ #if defined(__WXMSW__) || defined(__WXPM__) - #define wxBITMAP(name) wxBitmap(#name, wxBITMAP_TYPE_RESOURCE) + #define wxBITMAP(name) wxBitmap(wxT(#name), wxBITMAP_TYPE_RESOURCE) #elif defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__) || defined(__WXMAC__) || defined(__WXMGL__) // Initialize from an included XPM #define wxBITMAP(name) wxBitmap( (const char**) name##_xpm ) @@ -247,6 +247,7 @@ public: wxRealPoint operator-(const wxRealPoint& pt) const { return wxRealPoint(x - pt.x, y - pt.y); } bool operator==(const wxRealPoint& pt) const { return x == pt.x && y == pt.y; } + bool operator!=(const wxRealPoint& pt) const { return x != pt.x || y != pt.y; } }; class WXDLLEXPORT wxPoint diff --git a/include/wx/generic/calctrl.h b/include/wx/generic/calctrl.h index 63f98225f8..879ddcda07 100644 --- a/include/wx/generic/calctrl.h +++ b/include/wx/generic/calctrl.h @@ -43,12 +43,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS, - const wxString& name = wxCalendarNameStr) - { - Init(); - - (void)Create(parent, id, date, pos, size, style, name); - } + const wxString& name = wxCalendarNameStr); bool Create(wxWindow *parent, wxWindowID id, diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index f0456997a9..b19d21f647 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -102,9 +102,9 @@ public: int defaultFilter = 0, const wxString& name = wxTreeCtrlNameStr ); - void Init(); + virtual void Init(); - ~wxGenericDirCtrl(); + virtual ~wxGenericDirCtrl(); void OnExpandItem(wxTreeEvent &event ); void OnCollapseItem(wxTreeEvent &event ); @@ -113,52 +113,52 @@ public: void OnSize(wxSizeEvent &event ); // Try to expand as much of the given path as possible. - bool ExpandPath(const wxString& path); + virtual bool ExpandPath(const wxString& path); // Accessors - inline wxString GetDefaultPath() const { return m_defaultPath; } - void SetDefaultPath(const wxString& path) { m_defaultPath = path; } + virtual inline wxString GetDefaultPath() const { return m_defaultPath; } + virtual void SetDefaultPath(const wxString& path) { m_defaultPath = path; } // Get dir or filename - wxString GetPath() const; + virtual wxString GetPath() const; // Get selected filename path only (else empty string). // I.e. don't count a directory as a selection - wxString GetFilePath() const; - void SetPath(const wxString& path); + virtual wxString GetFilePath() const; + virtual void SetPath(const wxString& path); - void ShowHidden( bool show ); - bool GetShowHidden() { return m_showHidden; } + virtual void ShowHidden( bool show ); + virtual bool GetShowHidden() { return m_showHidden; } - wxString GetFilter() const { return m_filter; } - void SetFilter(const wxString& filter); + virtual wxString GetFilter() const { return m_filter; } + virtual void SetFilter(const wxString& filter); - int GetFilterIndex() const { return m_currentFilter; } - void SetFilterIndex(int n); + virtual int GetFilterIndex() const { return m_currentFilter; } + virtual void SetFilterIndex(int n); - wxTreeItemId GetRootId() { return m_rootId; } + virtual wxTreeItemId GetRootId() { return m_rootId; } - wxTreeCtrl* GetTreeCtrl() const { return m_treeCtrl; } - wxDirFilterListCtrl* GetFilterListCtrl() const { return m_filterListCtrl; } + virtual wxTreeCtrl* GetTreeCtrl() const { return m_treeCtrl; } + virtual wxDirFilterListCtrl* GetFilterListCtrl() const { return m_filterListCtrl; } // Helper - void SetupSections(); + virtual void SetupSections(); // Parse the filter into an array of filters and an array of descriptions - int ParseFilter(const wxString& filterStr, wxArrayString& filters, wxArrayString& descriptions); + virtual int ParseFilter(const wxString& filterStr, wxArrayString& filters, wxArrayString& descriptions); // Find the child that matches the first part of 'path'. // E.g. if a child path is "/usr" and 'path' is "/usr/include" // then the child for /usr is returned. // If the path string has been used (we're at the leaf), done is set to TRUE - wxTreeItemId FindChild(wxTreeItemId parentId, const wxString& path, bool& done); + virtual wxTreeItemId FindChild(wxTreeItemId parentId, const wxString& path, bool& done); // Resize the components of the control - void DoResize(); + virtual void DoResize(); // Collapse & expand the tree, thus re-creating it from scratch: - void ReCreateTree(); + virtual void ReCreateTree(); protected: void ExpandDir(wxTreeItemId parentId); diff --git a/include/wx/generic/dragimgg.h b/include/wx/generic/dragimgg.h index 0a907fdfac..ad24c31e6e 100644 --- a/include/wx/generic/dragimgg.h +++ b/include/wx/generic/dragimgg.h @@ -1,4 +1,4 @@ -///////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// // Name: wx/generic/dragimgg.h // Purpose: wxDragImage class: a kind of a cursor, that can cope // with more sophisticated images @@ -22,6 +22,7 @@ #include "wx/cursor.h" #include "wx/treectrl.h" #include "wx/listctrl.h" +#include "wx/log.h" /* To use this class, create a wxDragImage when you start dragging, for example: diff --git a/include/wx/generic/filedlgg.h b/include/wx/generic/filedlgg.h index 452a01cf6a..41e4ba171a 100644 --- a/include/wx/generic/filedlgg.h +++ b/include/wx/generic/filedlgg.h @@ -89,13 +89,16 @@ public: void OnHome( wxCommandEvent &event ); void OnListOk( wxCommandEvent &event ); void OnNew( wxCommandEvent &event ); - void OnChoice( wxCommandEvent &event ); + void OnChoiceFilter( wxCommandEvent &event ); void OnTextEnter( wxCommandEvent &event ); void OnCheck( wxCommandEvent &event ); void HandleAction( const wxString &fn ); protected: + // use the filter with the given index + void DoSetFilterIndex(int filterindex); + wxString m_message; long m_dialogStyle; wxString m_dir; diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 3add2b3c6a..9154f8970c 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -1824,7 +1824,7 @@ protected: bool GetModelValues(); bool SetModelValues(); - friend class wxGridSelection; + friend class WXDLLEXPORT wxGridSelection; DECLARE_DYNAMIC_CLASS( wxGrid ) DECLARE_EVENT_TABLE() diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index 4645f2c142..87fc640315 100644 --- a/include/wx/generic/gridsel.h +++ b/include/wx/generic/gridsel.h @@ -82,7 +82,7 @@ private: wxGrid *m_grid; wxGrid::wxGridSelectionModes m_selectionMode; - friend class wxGrid; + friend class WXDLLEXPORT wxGrid; }; #endif // #ifdef __WXGRIDSEL_H__ diff --git a/include/wx/generic/helphtml.h b/include/wx/generic/helphtml.h index ca99146693..8e81689988 100644 --- a/include/wx/generic/helphtml.h +++ b/include/wx/generic/helphtml.h @@ -86,7 +86,7 @@ DECLARE_ABSTRACT_CLASS(wxHTMLHelpControllerBase) @file Name of help directory. @return true on success */ - virtual bool LoadFile(const wxString& file = ""); + virtual bool LoadFile(const wxString& file = wxT("")); /** Display list of all help entries. @return true on success diff --git a/include/wx/generic/laywin.h b/include/wx/generic/laywin.h index 7a4908efdc..992e1b0d34 100644 --- a/include/wx/generic/laywin.h +++ b/include/wx/generic/laywin.h @@ -61,9 +61,7 @@ enum wxLayoutAlignment class WXDLLEXPORT wxQueryLayoutInfoEvent: public wxEvent { -DECLARE_DYNAMIC_CLASS(wxQueryLayoutInfoEvent) public: - wxQueryLayoutInfoEvent(wxWindowID id = 0) { SetEventType(wxEVT_QUERY_LAYOUT_INFO); @@ -99,7 +97,9 @@ protected: wxSize m_size; wxLayoutOrientation m_orientation; wxLayoutAlignment m_alignment; - + +private: + DECLARE_DYNAMIC_CLASS(wxQueryLayoutInfoEvent) }; typedef void (wxEvtHandler::*wxQueryLayoutInfoEventFunction)(wxQueryLayoutInfoEvent&); @@ -113,7 +113,6 @@ typedef void (wxEvtHandler::*wxQueryLayoutInfoEventFunction)(wxQueryLayoutInfoEv class WXDLLEXPORT wxCalculateLayoutEvent: public wxEvent { -DECLARE_DYNAMIC_CLASS(wxCalculateLayoutEvent) public: wxCalculateLayoutEvent(wxWindowID id = 0) { @@ -135,6 +134,9 @@ public: protected: int m_flags; wxRect m_rect; + +private: + DECLARE_DYNAMIC_CLASS(wxCalculateLayoutEvent) }; typedef void (wxEvtHandler::*wxCalculateLayoutEventFunction)(wxCalculateLayoutEvent&); @@ -149,7 +151,6 @@ typedef void (wxEvtHandler::*wxCalculateLayoutEventFunction)(wxCalculateLayoutEv // an IDE-style interface. class WXDLLEXPORT wxSashLayoutWindow: public wxSashWindow { - DECLARE_CLASS(wxSashLayoutWindow) public: wxSashLayoutWindow() { @@ -157,13 +158,13 @@ public: } wxSashLayoutWindow(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = "layoutWindow") + const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = wxT("layoutWindow")) { Create(parent, id, pos, size, style, name); } bool Create(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = "layoutWindow"); + const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = wxT("layoutWindow")); // Accessors inline wxLayoutAlignment GetAlignment() const { return m_alignment; }; @@ -190,7 +191,9 @@ private: wxLayoutOrientation m_orientation; wxSize m_defaultSize; -DECLARE_EVENT_TABLE() +private: + DECLARE_CLASS(wxSashLayoutWindow) + DECLARE_EVENT_TABLE() }; #endif // wxUSE_SASH diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index b29dd9b516..b84337ef21 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -72,7 +72,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, - const wxString &name = "listctrl" ) + const wxString &name = wxT("listctrl") ) { Create(parent, id, pos, size, style, validator, name); } @@ -84,7 +84,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, - const wxString &name = "listctrl" ); + const wxString &name = wxT("listctrl") ); bool GetColumn( int col, wxListItem& item ) const; bool SetColumn( int col, wxListItem& item ); @@ -246,7 +246,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxLC_ICON, const wxValidator &validator = wxDefaultValidator, - const wxString &name = "listctrl" ) + const wxString &name = wxT("listctrl") ) : wxGenericListCtrl(parent, id, pos, size, style, validator, name) { } diff --git a/include/wx/generic/mdig.h b/include/wx/generic/mdig.h index 467bddfef4..de26aa026d 100644 --- a/include/wx/generic/mdig.h +++ b/include/wx/generic/mdig.h @@ -265,6 +265,8 @@ private: #if wxUSE_GENERIC_MDI_AS_NATIVE +class wxMDIChildFrame ; + //----------------------------------------------------------------------------- // wxMDIParentFrame //----------------------------------------------------------------------------- @@ -284,6 +286,9 @@ public: { } + wxMDIChildFrame * GetActiveChild() const ; + + private: DECLARE_DYNAMIC_CLASS(wxMDIParentFrame) }; diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index b7f14c0af2..cb4a5f7769 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -82,8 +82,8 @@ public: virtual void InitDialog(); #ifdef __WXUNIVERSAL__ - virtual bool IsCanvasWindow() { return TRUE; } - virtual bool ProvidesBackground() { return TRUE; } + virtual bool IsCanvasWindow() const { return TRUE; } + virtual bool ProvidesBackground() const { return TRUE; } #endif WX_DECLARE_CONTROL_CONTAINER(); diff --git a/include/wx/generic/sashwin.h b/include/wx/generic/sashwin.h index f21b76c8a3..dcd39f47f5 100644 --- a/include/wx/generic/sashwin.h +++ b/include/wx/generic/sashwin.h @@ -69,13 +69,7 @@ public: class WXDLLEXPORT wxSashWindow: public wxWindow { - DECLARE_DYNAMIC_CLASS(wxSashWindow) - public: - -//////////////////////////////////////////////////////////////////////////// -// Public API - // Default constructor wxSashWindow() { @@ -84,7 +78,7 @@ public: // Normal constructor wxSashWindow(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = "sashWindow") + const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = wxT("sashWindow")) { Init(); Create(parent, id, pos, size, style, name); @@ -93,7 +87,7 @@ public: ~wxSashWindow(); bool Create(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = "sashWindow"); + const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = wxT("sashWindow")); // Set whether there's a sash in this position void SetSashVisible(wxSashEdgePosition edge, bool sash); @@ -144,6 +138,11 @@ public: // Adjusts the panes void OnSize(wxSizeEvent& event); +#ifdef __WXMSW__ + // Handle cursor correctly + void OnSetCursor(wxSetCursorEvent& event); +#endif // wxMSW + // Draws borders void DrawBorders(wxDC& dc); @@ -189,8 +188,11 @@ private: wxColour m_hilightColour; wxColour m_faceColour; bool m_mouseCaptured; + wxCursor* m_currentCursor; -DECLARE_EVENT_TABLE() +private: + DECLARE_DYNAMIC_CLASS(wxSashWindow) + DECLARE_EVENT_TABLE() }; BEGIN_DECLARE_EVENT_TYPES() @@ -207,9 +209,7 @@ enum wxSashDragStatus class WXDLLEXPORT wxSashEvent: public wxCommandEvent { - DECLARE_DYNAMIC_CLASS(wxSashEvent) - - public: +public: inline wxSashEvent(int id = 0, wxSashEdgePosition edge = wxSASH_NONE) { m_eventType = (wxEventType) wxEVT_SASH_DRAGGED; m_id = id; m_edge = edge; } @@ -224,10 +224,14 @@ class WXDLLEXPORT wxSashEvent: public wxCommandEvent //// dragging the top below the bottom) inline void SetDragStatus(wxSashDragStatus status) { m_dragStatus = status; } inline wxSashDragStatus GetDragStatus() const { return m_dragStatus; } - private: + +private: wxSashEdgePosition m_edge; wxRect m_dragRect; wxSashDragStatus m_dragStatus; + +private: + DECLARE_DYNAMIC_CLASS(wxSashEvent) }; typedef void (wxEvtHandler::*wxSashEventFunction)(wxSashEvent&); diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index 1d3a4d3404..e0336e1368 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -69,6 +69,8 @@ public: // lay out the window and its children virtual bool Layout(); + virtual void DoSetVirtualSize(int x, int y); + protected: // this is needed for wxEVT_PAINT processing hack described in // wxScrollHelperEvtHandler::ProcessEvent() diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 2ea74a49d0..26480fe129 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -71,7 +71,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSP_3D, - const wxString& name = "splitter") + const wxString& name = wxT("splitter")) { Init(); Create(parent, id, pos, size, style, name); @@ -83,7 +83,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSP_3D, - const wxString& name = "splitter"); + const wxString& name = wxT("splitter")); // Gets the only or left/top pane wxWindow *GetWindow1() const { return m_windowOne; } diff --git a/include/wx/generic/statusbr.h b/include/wx/generic/statusbr.h index fc08061abf..fe00d93e30 100644 --- a/include/wx/generic/statusbr.h +++ b/include/wx/generic/statusbr.h @@ -92,7 +92,9 @@ public: void SetBorderY(int y); void OnPaint(wxPaintEvent& event); - void OnSize(wxSizeEvent& event); + + void OnLeftDown(wxMouseEvent& event); + void OnRightDown(wxMouseEvent& event); virtual void InitColours(); @@ -105,6 +107,8 @@ protected: wxArrayString m_statusStrings; + // the last known width of the client rect (used to rebuild cache) + int m_lastClientWidth; // the widths of the status bar panes in pixels wxArrayInt m_widthsAbs; diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index 8d88362e3a..8cf87709b1 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -117,6 +117,15 @@ public: // get the data associated with the item wxTreeItemData *GetItemData(const wxTreeItemId& item) const; + // get the item's text colour + wxColour GetItemTextColour(const wxTreeItemId& item) const; + + // get the item's background colour + wxColour GetItemBackgroundColour(const wxTreeItemId& item) const; + + // get the item's font + wxFont GetItemFont(const wxTreeItemId& item) const; + // modifiers // --------- diff --git a/include/wx/generic/treelay.h b/include/wx/generic/treelay.h index 4bcc4baf0f..b202da646e 100644 --- a/include/wx/generic/treelay.h +++ b/include/wx/generic/treelay.h @@ -29,8 +29,6 @@ class wxMouseEvent; class WXDLLEXPORT wxTreeLayout: public wxObject { - DECLARE_ABSTRACT_CLASS(wxTreeLayout) - public: wxTreeLayout(); virtual ~wxTreeLayout() { } @@ -49,7 +47,7 @@ public: // Optional redefinition void Initialize(void); inline virtual void SetNodeName(long WXUNUSED(id), const wxString& WXUNUSED(name)) {} - inline virtual wxString GetNodeName(long WXUNUSED(id)) { return wxString(""); } + inline virtual wxString GetNodeName(long WXUNUSED(id)) { return wxString(wxT("")); } virtual void GetNodeSize(long id, long *x, long *y, wxDC& dc); virtual void Draw(wxDC& dc); virtual void DrawNodes(wxDC& dc); @@ -76,8 +74,6 @@ public: private: void CalcLayout(long node_id, int level, wxDC& dc); - // Members - protected: long m_parentNode; long m_lastY; @@ -87,6 +83,9 @@ protected: long m_topMargin; long m_leftMargin; bool m_orientation; // TRUE for top-to-bottom, FALSE for left-to-right + +private: + DECLARE_ABSTRACT_CLASS(wxTreeLayout) }; class WXDLLEXPORT wxStoredNode @@ -105,7 +104,6 @@ public: class WXDLLEXPORT wxTreeLayoutStored: public wxTreeLayout { - DECLARE_DYNAMIC_CLASS(wxTreeLayoutStored) public: wxTreeLayoutStored(int noNodes = 200); virtual ~wxTreeLayoutStored(void); @@ -130,7 +128,7 @@ public: virtual void SetClientData(long id, long clientData); virtual long GetClientData(long id) const; - virtual long AddChild(const wxString& name, const wxString& parent = ""); + virtual long AddChild(const wxString& name, const wxString& parent = wxT("")); virtual long AddChild(const wxString& name, long parent); virtual long NameToId(const wxString& name); @@ -139,6 +137,9 @@ private: wxStoredNode* m_nodes; int m_num; int m_maxNodes; + +private: + DECLARE_DYNAMIC_CLASS(wxTreeLayoutStored) }; // For backward compatibility diff --git a/include/wx/geometry.h b/include/wx/geometry.h index dacbdd6203..b872f8a7fb 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -59,11 +59,11 @@ public : inline wxPoint2DInt( const wxPoint &pt ); // noops for this class, just return the coords - inline void GetFloor( wxInt32 *x , wxInt32 *y ); - inline void GetRounded( wxInt32 *x , wxInt32 *y ); + inline void GetFloor( wxInt32 *x , wxInt32 *y ) const; + inline void GetRounded( wxInt32 *x , wxInt32 *y ) const; - inline wxDouble GetVectorLength(); - wxDouble GetVectorAngle(); + inline wxDouble GetVectorLength() const; + wxDouble GetVectorAngle() const; inline void SetVectorLength( wxDouble length ); void SetVectorAngle( wxDouble degrees ); void SetPolarCoordinates( wxInt32 angle , wxInt32 length ); @@ -133,7 +133,7 @@ inline wxPoint2DInt::wxPoint2DInt( const wxPoint &pt ) m_y = pt.y; } -inline void wxPoint2DInt::GetFloor( wxInt32 *x , wxInt32 *y ) +inline void wxPoint2DInt::GetFloor( wxInt32 *x , wxInt32 *y ) const { if ( x ) *x = m_x; @@ -141,12 +141,12 @@ inline void wxPoint2DInt::GetFloor( wxInt32 *x , wxInt32 *y ) *y = m_y; } -inline void wxPoint2DInt::GetRounded( wxInt32 *x , wxInt32 *y ) +inline void wxPoint2DInt::GetRounded( wxInt32 *x , wxInt32 *y ) const { GetFloor(x, y); } -inline wxDouble wxPoint2DInt::GetVectorLength() +inline wxDouble wxPoint2DInt::GetVectorLength() const { // cast needed MIPSpro compiler under SGI return sqrt( (double)(m_x)*(m_x) + (m_y)*(m_y) ); @@ -304,8 +304,8 @@ public : { m_x = (wxDouble) pt.x ; m_y = (wxDouble) pt.y ; } // two different conversions to integers, floor and rounding - inline void GetFloor( wxInt32 *x , wxInt32 *y ); - inline void GetRounded( wxInt32 *x , wxInt32 *y ); + inline void GetFloor( wxInt32 *x , wxInt32 *y ) const; + inline void GetRounded( wxInt32 *x , wxInt32 *y ) const; inline wxDouble GetVectorLength() const; wxDouble GetVectorAngle() const ; @@ -315,10 +315,10 @@ public : // set the vector length to 1.0, preserving the angle void Normalize(); - inline wxDouble GetDistance( const wxPoint2DDouble &pt ); - inline wxDouble GetDistanceSquare( const wxPoint2DDouble &pt ); - inline wxDouble GetDotProduct( const wxPoint2DDouble &vec ); - inline wxDouble GetCrossProduct( const wxPoint2DDouble &vec ); + inline wxDouble GetDistance( const wxPoint2DDouble &pt ) const; + inline wxDouble GetDistanceSquare( const wxPoint2DDouble &pt ) const; + inline wxDouble GetDotProduct( const wxPoint2DDouble &vec ) const; + inline wxDouble GetCrossProduct( const wxPoint2DDouble &vec ) const; // the reflection of this point inline wxPoint2DDouble operator-(); @@ -369,13 +369,13 @@ inline wxPoint2DDouble::wxPoint2DDouble( const wxPoint2DDouble &pt ) m_y = pt.m_y; } -inline void wxPoint2DDouble::GetFloor( wxInt32 *x , wxInt32 *y ) +inline void wxPoint2DDouble::GetFloor( wxInt32 *x , wxInt32 *y ) const { *x = (wxInt32) floor( m_x ); *y = (wxInt32) floor( m_y ); } -inline void wxPoint2DDouble::GetRounded( wxInt32 *x , wxInt32 *y ) +inline void wxPoint2DDouble::GetRounded( wxInt32 *x , wxInt32 *y ) const { *x = (wxInt32) floor( m_x + 0.5 ); *y = (wxInt32) floor( m_y + 0.5); @@ -393,22 +393,22 @@ inline void wxPoint2DDouble::SetVectorLength( wxDouble length ) m_y = (m_y * length / before) ; } -inline wxDouble wxPoint2DDouble::GetDistance( const wxPoint2DDouble &pt ) +inline wxDouble wxPoint2DDouble::GetDistance( const wxPoint2DDouble &pt ) const { return sqrt( GetDistanceSquare( pt ) ); } -inline wxDouble wxPoint2DDouble::GetDistanceSquare( const wxPoint2DDouble &pt ) +inline wxDouble wxPoint2DDouble::GetDistanceSquare( const wxPoint2DDouble &pt ) const { return ( (pt.m_x-m_x)*(pt.m_x-m_x) + (pt.m_y-m_y)*(pt.m_y-m_y) ); } -inline wxDouble wxPoint2DDouble::GetDotProduct( const wxPoint2DDouble &vec ) +inline wxDouble wxPoint2DDouble::GetDotProduct( const wxPoint2DDouble &vec ) const { return ( m_x * vec.m_x + m_y * vec.m_y ); } -inline wxDouble wxPoint2DDouble::GetCrossProduct( const wxPoint2DDouble &vec ) +inline wxDouble wxPoint2DDouble::GetCrossProduct( const wxPoint2DDouble &vec ) const { return ( m_x * vec.m_y - vec.m_x * m_y ); } diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index 45962a519d..3c4a52646e 100644 --- a/include/wx/glcanvas.h +++ b/include/wx/glcanvas.h @@ -5,6 +5,8 @@ #if wxUSE_GLCANVAS +#define wxGLCanvasName _T("GLCanvas") + #if defined(__WXMSW__) #include "wx/msw/glcanvas.h" #elif defined(__WXMOTIF__) diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index f6d0a48857..5b895a059e 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -65,6 +65,7 @@ public: // -------------- void ApplyWidgetStyle(); + bool IsOwnGtkWindow( GdkWindow *window ); protected: virtual wxSize DoGetBestSize() const; diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index f299ca5949..de243d30a7 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -47,7 +47,7 @@ public: // Implicit conversion from the colour name wxColour( const wxString &colourName ) { InitFromName(colourName); } - wxColour( const char *colourName ) { InitFromName(colourName); } + wxColour( const char *colourName ) { InitFromName( wxString::FromAscii(colourName) ); } #if wxUSE_UNICODE wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); } #endif diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 3574f6837f..6fc045a704 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -108,6 +108,8 @@ public: // implementation + virtual void SetFocus(); + void OnSize( wxSizeEvent &event ); void OnChar( wxKeyEvent &event ); diff --git a/include/wx/gtk/dataobj.h b/include/wx/gtk/dataobj.h index 019d5f657f..52ea20c7bd 100644 --- a/include/wx/gtk/dataobj.h +++ b/include/wx/gtk/dataobj.h @@ -22,10 +22,8 @@ class wxDataObject : public wxDataObjectBase { public: wxDataObject(); -#ifdef __DARWIN__ - virtual ~wxDataObject() { } -#endif - + virtual ~wxDataObject(); + virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; }; diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 802e60b693..a9cb16b074 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -118,6 +118,8 @@ public: wxWindow *m_owner; wxRegion m_currentClippingRegion; wxRegion m_paintClippingRegion; + + // PangoContext stuff for GTK 2.0 #ifdef __WXGTK20__ PangoContext *m_context; PangoFontDescription *m_fontdesc; diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index 9311e7d115..bad03b9d6b 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -96,6 +96,9 @@ public: virtual void SetEncoding(wxFontEncoding encoding); virtual void SetNativeFontInfo( const wxNativeFontInfo& info ); + virtual void SetNoAntiAliasing( bool no = TRUE ); + virtual bool GetNoAntiAliasing(); + // implementation from now on void Unshare(); diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index 0a14bb20c3..d4ec4bc940 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -84,6 +84,7 @@ public: virtual void OnInternalIdle(); bool m_menuBarDetached; + int m_menuBarHeight; bool m_toolBarDetached; protected: @@ -95,8 +96,14 @@ protected: virtual void DoGetClientSize( int *width, int *height ) const; #if wxUSE_MENUS_NATIVE + virtual void DetachMenuBar(); virtual void AttachMenuBar(wxMenuBar *menubar); + +public: + // Menu size is dynamic now, call this whenever it might change. + void UpdateMenuBarSize(); + #endif // wxUSE_MENUS_NATIVE DECLARE_DYNAMIC_CLASS(wxFrame) diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index 11ec3318c1..c1d22c1a98 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -42,25 +42,32 @@ extern const wxChar* wxGaugeNameStr; class wxGauge: public wxControl { public: - inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; m_useProgressBar = TRUE; } - - inline wxGauge( wxWindow *parent, wxWindowID id, int range, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxGA_HORIZONTAL, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxGaugeNameStr ) + wxGauge() { Init(); } + + wxGauge( wxWindow *parent, + wxWindowID id, + int range, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxGA_HORIZONTAL, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxGaugeNameStr ) { - Create(parent, id, range, pos, size, style, validator, name); + Init(); + + Create(parent, id, range, pos, size, style, validator, name); } - bool Create( wxWindow *parent, wxWindowID id, int range, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxGA_HORIZONTAL, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxGaugeNameStr ); - void SetShadowWidth( int WXUNUSED(w) ) {}; - void SetBezelFace( int WXUNUSED(w) ) {}; + + bool Create( wxWindow *parent, + wxWindowID id, int range, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxGA_HORIZONTAL, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxGaugeNameStr ); + + void SetShadowWidth( int WXUNUSED(w) ) { } + void SetBezelFace( int WXUNUSED(w) ) { } void SetRange( int r ); void SetValue( int pos ); int GetShadowWidth() const { return 0; }; @@ -68,17 +75,27 @@ public: int GetRange() const; int GetValue() const; - // Are we a Win95/GTK progress bar, or a normal gauge? - inline bool GetProgressBar() const { return m_useProgressBar; } - // implementation // ------------- - + void ApplyWidgetStyle(); - int m_rangeMax; - int m_gaugePos; - bool m_useProgressBar; - + + // the max and current gauge values + int m_rangeMax, + m_gaugePos; + + // obsolete functions, don't use +#ifdef WXWIN_COMPATIBILITY_2_2 + bool GetProgressBar() const { return TRUE; } +#endif // WXWIN_COMPATIBILITY_2_2 + +protected: + // common part of all ctors + void Init() { m_rangeMax = m_gaugePos = 0; } + + // set the gauge value to the value of m_gaugePos + void DoSetGauge(); + private: DECLARE_DYNAMIC_CLASS(wxGauge) }; diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index 472ba104ff..29f3deabc3 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -6,7 +6,7 @@ // Created: 17/8/98 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(__APPLE__) @@ -65,15 +65,15 @@ class WXDLLEXPORT wxGLContext: public wxObject { public: wxGLContext( bool isRGB, wxWindow *win, const wxPalette& palette = wxNullPalette ); - wxGLContext( - bool WXUNUSED(isRGB), wxWindow *win, + wxGLContext( + bool WXUNUSED(isRGB), wxWindow *win, const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); ~wxGLContext(); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); void SetupPixelFormat(); @@ -91,7 +91,7 @@ public: GtkWidget *m_widget; wxPalette m_palette; wxWindow* m_window; - + private: DECLARE_CLASS(wxGLContext) }; @@ -110,51 +110,52 @@ public: m_vi = (void*) NULL; m_exposed = FALSE; } - wxGLCanvas( wxWindow *parent, wxWindowID id = -1, + wxGLCanvas( wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, + const wxSize& size = wxDefaultSize, + long style = 0, const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); wxGLCanvas( wxWindow *parent, const wxGLContext *shared = (wxGLContext *)NULL, - wxWindowID id = -1, + wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, + const wxSize& size = wxDefaultSize, + long style = 0, const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared = (wxGLCanvas *)NULL, - wxWindowID id = -1, + wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, + const wxSize& size = wxDefaultSize, + long style = 0, const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); - bool Create( wxWindow *parent, - const wxGLContext *shared = (wxGLContext*)NULL, - const wxGLCanvas *shared_context_of = (wxGLCanvas*)NULL, - wxWindowID id = -1, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, - const wxPalette& palette = wxNullPalette ); - + bool Create( wxWindow *parent, + const wxGLContext *shared = (wxGLContext*)NULL, + const wxGLCanvas *shared_context_of = (wxGLCanvas*)NULL, + wxWindowID id = -1, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, + const wxPalette& palette = wxNullPalette ); + ~wxGLCanvas(); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); void OnSize(wxSizeEvent& event); - + void OnInternalIdle(); - inline wxGLContext* GetContext() const { return m_glContext; } + inline wxGLContext* GetContext() const { return m_glContext; } // implementation - + wxGLContext *m_glContext, *m_sharedContext; wxGLCanvas *m_sharedContextOf; @@ -162,10 +163,10 @@ public: bool m_canFreeVi; GtkWidget *m_glWidget; bool m_exposed; - + // returns an XVisualInfo* based on desired GL attributes; // returns NULL if an appropriate visual is not found. The - // caller is reponsible for using XFree() to deallocate + // caller is reponsible for using XFree() to deallocate // the returned structure. static void* ChooseGLVisual(int *attribList); diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index 5d6abe9932..ec9ce37371 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -122,12 +122,15 @@ public: // selection internally instead of querying the notebook for it int m_selection; + // flag set to TRUE while we're inside "switch_page" callback + bool m_inSwitchPage; + protected: // remove one page from the notebook but do not destroy it virtual wxNotebookPage *DoRemovePage(int nPage); private: - + // the padding set by SetPadding() int m_padding; DECLARE_DYNAMIC_CLASS(wxNotebook) diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 7c224ab08b..51e739c73f 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -146,11 +146,11 @@ public: void Reset() { m_current = 0u; } void Reset(const wxRegion& region); - operator bool () const; bool HaveRects() const; + operator bool () const { return HaveRects(); } - void operator ++ (); - void operator ++ (int); + wxRegionIterator& operator ++ (); + wxRegionIterator operator ++ (int); wxCoord GetX() const; wxCoord GetY() const; diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index 455eb42799..f471873aa3 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -12,7 +12,7 @@ #define __GTKSCROLLBARH__ #if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface +#pragma interface "scrolbar.h" #endif #include "wx/defs.h" diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 7a48f97ffd..13adf9b21f 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -157,6 +157,17 @@ public: // and sets m_widgetStyle to this value. GtkStyle *GetWidgetStyle(); +#ifdef __WXGTK20__ + // Returns the default context which usually is anti-aliased + PangoContext *GtkGetPangoDefaultContext(); + + // Returns the X11 context which renders on the X11 client + // side (which can be remote) and which usually is not + // anti-aliased and is thus faster + PangoContext *GtkGetPangoX11Context(); + PangoContext *m_x11Context; +#endif + // Called by SetFont() and SetXXXColour etc void SetWidgetStyle(); @@ -195,11 +206,15 @@ public: // this widget will be queried for GTK's focus events GtkWidget *m_focusWidget; +#ifdef __WXGTK20__ + GtkIMMulticontext *m_imContext; +#else #if HAVE_XIM // XIM support for wxWindows GdkIC *m_ic; GdkICAttr *m_icattr; #endif +#endif #ifndef __WXGTK20__ // The area to be cleared (and not just refreshed) diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index f6d0a48857..5b895a059e 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -65,6 +65,7 @@ public: // -------------- void ApplyWidgetStyle(); + bool IsOwnGtkWindow( GdkWindow *window ); protected: virtual wxSize DoGetBestSize() const; diff --git a/include/wx/gtk1/colour.h b/include/wx/gtk1/colour.h index f299ca5949..de243d30a7 100644 --- a/include/wx/gtk1/colour.h +++ b/include/wx/gtk1/colour.h @@ -47,7 +47,7 @@ public: // Implicit conversion from the colour name wxColour( const wxString &colourName ) { InitFromName(colourName); } - wxColour( const char *colourName ) { InitFromName(colourName); } + wxColour( const char *colourName ) { InitFromName( wxString::FromAscii(colourName) ); } #if wxUSE_UNICODE wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); } #endif diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 3574f6837f..6fc045a704 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -108,6 +108,8 @@ public: // implementation + virtual void SetFocus(); + void OnSize( wxSizeEvent &event ); void OnChar( wxKeyEvent &event ); diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index 019d5f657f..52ea20c7bd 100644 --- a/include/wx/gtk1/dataobj.h +++ b/include/wx/gtk1/dataobj.h @@ -22,10 +22,8 @@ class wxDataObject : public wxDataObjectBase { public: wxDataObject(); -#ifdef __DARWIN__ - virtual ~wxDataObject() { } -#endif - + virtual ~wxDataObject(); + virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; }; diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index 802e60b693..a9cb16b074 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -118,6 +118,8 @@ public: wxWindow *m_owner; wxRegion m_currentClippingRegion; wxRegion m_paintClippingRegion; + + // PangoContext stuff for GTK 2.0 #ifdef __WXGTK20__ PangoContext *m_context; PangoFontDescription *m_fontdesc; diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index 9311e7d115..bad03b9d6b 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/font.h @@ -96,6 +96,9 @@ public: virtual void SetEncoding(wxFontEncoding encoding); virtual void SetNativeFontInfo( const wxNativeFontInfo& info ); + virtual void SetNoAntiAliasing( bool no = TRUE ); + virtual bool GetNoAntiAliasing(); + // implementation from now on void Unshare(); diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index 0a14bb20c3..d4ec4bc940 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/frame.h @@ -84,6 +84,7 @@ public: virtual void OnInternalIdle(); bool m_menuBarDetached; + int m_menuBarHeight; bool m_toolBarDetached; protected: @@ -95,8 +96,14 @@ protected: virtual void DoGetClientSize( int *width, int *height ) const; #if wxUSE_MENUS_NATIVE + virtual void DetachMenuBar(); virtual void AttachMenuBar(wxMenuBar *menubar); + +public: + // Menu size is dynamic now, call this whenever it might change. + void UpdateMenuBarSize(); + #endif // wxUSE_MENUS_NATIVE DECLARE_DYNAMIC_CLASS(wxFrame) diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index 11ec3318c1..c1d22c1a98 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -42,25 +42,32 @@ extern const wxChar* wxGaugeNameStr; class wxGauge: public wxControl { public: - inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; m_useProgressBar = TRUE; } - - inline wxGauge( wxWindow *parent, wxWindowID id, int range, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxGA_HORIZONTAL, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxGaugeNameStr ) + wxGauge() { Init(); } + + wxGauge( wxWindow *parent, + wxWindowID id, + int range, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxGA_HORIZONTAL, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxGaugeNameStr ) { - Create(parent, id, range, pos, size, style, validator, name); + Init(); + + Create(parent, id, range, pos, size, style, validator, name); } - bool Create( wxWindow *parent, wxWindowID id, int range, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxGA_HORIZONTAL, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxGaugeNameStr ); - void SetShadowWidth( int WXUNUSED(w) ) {}; - void SetBezelFace( int WXUNUSED(w) ) {}; + + bool Create( wxWindow *parent, + wxWindowID id, int range, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxGA_HORIZONTAL, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxGaugeNameStr ); + + void SetShadowWidth( int WXUNUSED(w) ) { } + void SetBezelFace( int WXUNUSED(w) ) { } void SetRange( int r ); void SetValue( int pos ); int GetShadowWidth() const { return 0; }; @@ -68,17 +75,27 @@ public: int GetRange() const; int GetValue() const; - // Are we a Win95/GTK progress bar, or a normal gauge? - inline bool GetProgressBar() const { return m_useProgressBar; } - // implementation // ------------- - + void ApplyWidgetStyle(); - int m_rangeMax; - int m_gaugePos; - bool m_useProgressBar; - + + // the max and current gauge values + int m_rangeMax, + m_gaugePos; + + // obsolete functions, don't use +#ifdef WXWIN_COMPATIBILITY_2_2 + bool GetProgressBar() const { return TRUE; } +#endif // WXWIN_COMPATIBILITY_2_2 + +protected: + // common part of all ctors + void Init() { m_rangeMax = m_gaugePos = 0; } + + // set the gauge value to the value of m_gaugePos + void DoSetGauge(); + private: DECLARE_DYNAMIC_CLASS(wxGauge) }; diff --git a/include/wx/gtk1/glcanvas.h b/include/wx/gtk1/glcanvas.h index 472ba104ff..29f3deabc3 100644 --- a/include/wx/gtk1/glcanvas.h +++ b/include/wx/gtk1/glcanvas.h @@ -6,7 +6,7 @@ // Created: 17/8/98 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(__APPLE__) @@ -65,15 +65,15 @@ class WXDLLEXPORT wxGLContext: public wxObject { public: wxGLContext( bool isRGB, wxWindow *win, const wxPalette& palette = wxNullPalette ); - wxGLContext( - bool WXUNUSED(isRGB), wxWindow *win, + wxGLContext( + bool WXUNUSED(isRGB), wxWindow *win, const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); ~wxGLContext(); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); void SetupPixelFormat(); @@ -91,7 +91,7 @@ public: GtkWidget *m_widget; wxPalette m_palette; wxWindow* m_window; - + private: DECLARE_CLASS(wxGLContext) }; @@ -110,51 +110,52 @@ public: m_vi = (void*) NULL; m_exposed = FALSE; } - wxGLCanvas( wxWindow *parent, wxWindowID id = -1, + wxGLCanvas( wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, + const wxSize& size = wxDefaultSize, + long style = 0, const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); wxGLCanvas( wxWindow *parent, const wxGLContext *shared = (wxGLContext *)NULL, - wxWindowID id = -1, + wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, + const wxSize& size = wxDefaultSize, + long style = 0, const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared = (wxGLCanvas *)NULL, - wxWindowID id = -1, + wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, + const wxSize& size = wxDefaultSize, + long style = 0, const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); - bool Create( wxWindow *parent, - const wxGLContext *shared = (wxGLContext*)NULL, - const wxGLCanvas *shared_context_of = (wxGLCanvas*)NULL, - wxWindowID id = -1, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "GLCanvas", - int *attribList = (int*) NULL, - const wxPalette& palette = wxNullPalette ); - + bool Create( wxWindow *parent, + const wxGLContext *shared = (wxGLContext*)NULL, + const wxGLCanvas *shared_context_of = (wxGLCanvas*)NULL, + wxWindowID id = -1, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxString& name = wxGLCanvasName, + int *attribList = (int*) NULL, + const wxPalette& palette = wxNullPalette ); + ~wxGLCanvas(); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); void OnSize(wxSizeEvent& event); - + void OnInternalIdle(); - inline wxGLContext* GetContext() const { return m_glContext; } + inline wxGLContext* GetContext() const { return m_glContext; } // implementation - + wxGLContext *m_glContext, *m_sharedContext; wxGLCanvas *m_sharedContextOf; @@ -162,10 +163,10 @@ public: bool m_canFreeVi; GtkWidget *m_glWidget; bool m_exposed; - + // returns an XVisualInfo* based on desired GL attributes; // returns NULL if an appropriate visual is not found. The - // caller is reponsible for using XFree() to deallocate + // caller is reponsible for using XFree() to deallocate // the returned structure. static void* ChooseGLVisual(int *attribList); diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index 5d6abe9932..ec9ce37371 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -122,12 +122,15 @@ public: // selection internally instead of querying the notebook for it int m_selection; + // flag set to TRUE while we're inside "switch_page" callback + bool m_inSwitchPage; + protected: // remove one page from the notebook but do not destroy it virtual wxNotebookPage *DoRemovePage(int nPage); private: - + // the padding set by SetPadding() int m_padding; DECLARE_DYNAMIC_CLASS(wxNotebook) diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 7c224ab08b..51e739c73f 100644 --- a/include/wx/gtk1/region.h +++ b/include/wx/gtk1/region.h @@ -146,11 +146,11 @@ public: void Reset() { m_current = 0u; } void Reset(const wxRegion& region); - operator bool () const; bool HaveRects() const; + operator bool () const { return HaveRects(); } - void operator ++ (); - void operator ++ (int); + wxRegionIterator& operator ++ (); + wxRegionIterator operator ++ (int); wxCoord GetX() const; wxCoord GetY() const; diff --git a/include/wx/gtk1/scrolbar.h b/include/wx/gtk1/scrolbar.h index 455eb42799..f471873aa3 100644 --- a/include/wx/gtk1/scrolbar.h +++ b/include/wx/gtk1/scrolbar.h @@ -12,7 +12,7 @@ #define __GTKSCROLLBARH__ #if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface +#pragma interface "scrolbar.h" #endif #include "wx/defs.h" diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 7a48f97ffd..13adf9b21f 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -157,6 +157,17 @@ public: // and sets m_widgetStyle to this value. GtkStyle *GetWidgetStyle(); +#ifdef __WXGTK20__ + // Returns the default context which usually is anti-aliased + PangoContext *GtkGetPangoDefaultContext(); + + // Returns the X11 context which renders on the X11 client + // side (which can be remote) and which usually is not + // anti-aliased and is thus faster + PangoContext *GtkGetPangoX11Context(); + PangoContext *m_x11Context; +#endif + // Called by SetFont() and SetXXXColour etc void SetWidgetStyle(); @@ -195,11 +206,15 @@ public: // this widget will be queried for GTK's focus events GtkWidget *m_focusWidget; +#ifdef __WXGTK20__ + GtkIMMulticontext *m_imContext; +#else #if HAVE_XIM // XIM support for wxWindows GdkIC *m_ic; GdkICAttr *m_icattr; #endif +#endif #ifndef __WXGTK20__ // The area to be cleared (and not just refreshed) diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index 9b635e8a07..f1698d3a11 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -62,9 +62,9 @@ protected: _wxHashTable_NodeBase** dstTable, BucketFromNode func, ProcessNode proc ); - static void** AllocTable( size_t size ) + static void** AllocTable( size_t sz ) { - return (void **)calloc(size, sizeof(void*)); + return (void **)calloc(sz, sizeof(void*)); } }; @@ -172,10 +172,10 @@ public: \ const_pointer operator ->() const { return &(m_node->m_value); } \ }; \ \ - CLASSNAME( size_type size = 10, const hasher& hfun = hasher(), \ + CLASSNAME( size_type sz = 10, const hasher& hfun = hasher(), \ const key_equal& k_eq = key_equal(), \ const key_extractor& k_ex = key_extractor() ) \ - : m_tableBuckets( GetNextPrime( size ) ), \ + : m_tableBuckets( GetNextPrime( sz ) ), \ m_items( 0 ), \ m_hasher( hfun ), \ m_equals( k_eq ), \ @@ -218,7 +218,12 @@ public: \ \ /* removes all elements from the hash table, but does not */ \ /* shrink it ( perhaps it should ) */ \ - void clear() { DeleteNodes( m_tableBuckets, (_wxHashTable_NodeBase**)m_table, DeleteNode ); } \ + void clear() \ + { \ + DeleteNodes( m_tableBuckets, (_wxHashTable_NodeBase**)m_table, \ + DeleteNode ); \ + m_items = 0; \ + } \ \ size_type size() const { return m_items; } \ size_type max_size() const { return size_type(-1); } \ diff --git a/include/wx/helpbase.h b/include/wx/helpbase.h index 9ac23f2e9f..95a1562e7a 100644 --- a/include/wx/helpbase.h +++ b/include/wx/helpbase.h @@ -31,11 +31,9 @@ // Defines the API for help controllers class WXDLLEXPORT wxHelpControllerBase: public wxObject { - DECLARE_CLASS(wxHelpControllerBase) - public: inline wxHelpControllerBase() {} - inline ~wxHelpControllerBase() {}; + inline ~wxHelpControllerBase() {} // Must call this to set the filename and server name. // server is only required when implementing TCP/IP-based @@ -47,7 +45,7 @@ public: virtual void SetViewer(const wxString& WXUNUSED(viewer), long WXUNUSED(flags) = 0) {} // If file is "", reloads file given in Initialize - virtual bool LoadFile(const wxString& file = "") = 0; + virtual bool LoadFile(const wxString& file = wxT("")) = 0; // Displays the contents virtual bool DisplayContents(void) = 0; @@ -59,11 +57,11 @@ public: virtual bool DisplayContextPopup(int WXUNUSED(contextId)) { return FALSE; }; // Display the text in a popup, if possible - virtual bool DisplayTextPopup(const wxString& WXUNUSED(text), const wxPoint& WXUNUSED(pos)) { return FALSE; }; + virtual bool DisplayTextPopup(const wxString& WXUNUSED(text), const wxPoint& WXUNUSED(pos)) { return FALSE; } // By default, uses KeywordSection to display a topic. Implementations // may override this for more specific behaviour. - virtual bool DisplaySection(const wxString& section) { return KeywordSearch(section); }; + virtual bool DisplaySection(const wxString& section) { return KeywordSearch(section); } virtual bool DisplayBlock(long blockNo) = 0; virtual bool KeywordSearch(const wxString& k) = 0; /// Allows one to override the default settings for the help frame. @@ -80,11 +78,14 @@ public: wxPoint *WXUNUSED(pos) = NULL, bool *WXUNUSED(newFrameEachTime) = NULL) { - return (wxFrame*) NULL;// does nothing by default + return (wxFrame*) NULL; // does nothing by default } - virtual bool Quit(void) = 0; - virtual void OnQuit(void) {}; + virtual bool Quit() = 0; + virtual void OnQuit() {} + +private: + DECLARE_CLASS(wxHelpControllerBase) }; #endif // wxUSE_HELP diff --git a/include/wx/html/forcelnk.h b/include/wx/html/forcelnk.h index 38aca9f672..87c6b5a041 100644 --- a/include/wx/html/forcelnk.h +++ b/include/wx/html/forcelnk.h @@ -67,7 +67,6 @@ See mod_*.cpp and htmlwin.cpp for example :-) FORCE_LINK(m_hline) \ FORCE_LINK(m_links) \ FORCE_LINK(m_tables) \ - FORCE_LINK(m_meta) \ FORCE_LINK(m_style) diff --git a/include/wx/html/helpctrl.h b/include/wx/html/helpctrl.h index f5f285d8b7..e71db3db4c 100644 --- a/include/wx/html/helpctrl.h +++ b/include/wx/html/helpctrl.h @@ -57,7 +57,7 @@ public: virtual bool Initialize(const wxString& file, int WXUNUSED(server) ) { return Initialize(file); } virtual bool Initialize(const wxString& file); virtual void SetViewer(const wxString& WXUNUSED(viewer), long WXUNUSED(flags) = 0) {} - virtual bool LoadFile(const wxString& file = ""); + virtual bool LoadFile(const wxString& file = wxT("")); virtual bool DisplaySection(int sectionNo); virtual bool DisplaySection(const wxString& section) { return Display(section); } virtual bool DisplayBlock(long blockNo) { return DisplaySection(blockNo); } diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index 72612cf2b1..cf318613f2 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -93,23 +93,23 @@ struct wxHtmlContentsItem }; //------------------------------------------------------------------------------ -// wxSearchEngine +// wxHtmlSearchEngine // This class takes input streams and scans them for occurence // of keyword(s) //------------------------------------------------------------------------------ -class WXDLLEXPORT wxSearchEngine : public wxObject +class WXDLLEXPORT wxHtmlSearchEngine : public wxObject { public: - wxSearchEngine() : wxObject() {m_Keyword = NULL; } - ~wxSearchEngine() {if (m_Keyword) delete[] m_Keyword; } + wxHtmlSearchEngine() : wxObject() {m_Keyword = NULL; } + ~wxHtmlSearchEngine() {if (m_Keyword) delete[] m_Keyword; } // Sets the keyword we will be searching for virtual void LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only); // Scans the stream for the keyword. // Returns TRUE if the stream contains keyword, fALSE otherwise - virtual bool Scan(wxInputStream *stream); + virtual bool Scan(const wxFSFile& file); private: wxChar *m_Keyword; @@ -139,7 +139,7 @@ public: private: wxHtmlHelpData* m_Data; - wxSearchEngine m_Engine; + wxHtmlSearchEngine m_Engine; wxString m_Keyword, m_Name; wxChar *m_LastPage; wxHtmlContentsItem* m_ContentsItem; diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 11a5e82961..3e0e6e9264 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -33,7 +33,9 @@ #include "wx/stattext.h" #include "wx/html/htmlwin.h" #include "wx/html/htmprint.h" + class WXDLLEXPORT wxButton; +class WXDLLEXPORT wxTextCtrl; // style flags for the Help Frame diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index e2760ab1f8..eb2b4bee51 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -219,6 +219,9 @@ public: void SetMinHeight(int h, int align = wxHTML_ALIGN_TOP) {m_MinHeight = h; m_MinHeightAlign = align; m_LastLayout = -1;} void SetBackgroundColour(const wxColour& clr) {m_UseBkColour = TRUE; m_BkColour = clr;} + // returns background colour (of wxNullColour if none set), so that widgets can + // adapt to it: + wxColour GetBackgroundColour(); void SetBorder(const wxColour& clr1, const wxColour& clr2) {m_UseBorder = TRUE; m_BorderColour1 = clr1, m_BorderColour2 = clr2;} virtual wxHtmlLinkInfo* GetLink(int x = 0, int y = 0) const; virtual const wxHtmlCell* Find(int condition, const void* param) const; diff --git a/include/wx/html/htmlfilt.h b/include/wx/html/htmlfilt.h index 57c5b47187..4f49f9f8c7 100644 --- a/include/wx/html/htmlfilt.h +++ b/include/wx/html/htmlfilt.h @@ -65,6 +65,20 @@ public: virtual wxString ReadFile(const wxFSFile& file) const; }; +//-------------------------------------------------------------------------------- +// wxHtmlFilterHTML +// filter for text/html +//-------------------------------------------------------------------------------- + +class wxHtmlFilterHTML : public wxHtmlFilter +{ + DECLARE_DYNAMIC_CLASS(wxHtmlFilterHTML) + + public: + virtual bool CanRead(const wxFSFile& file) const; + virtual wxString ReadFile(const wxFSFile& file) const; +}; + #endif // wxUSE_HTML diff --git a/include/wx/html/htmlpars.h b/include/wx/html/htmlpars.h index ea6a99bc5c..58f2f2bcc0 100644 --- a/include/wx/html/htmlpars.h +++ b/include/wx/html/htmlpars.h @@ -72,6 +72,9 @@ public: virtual void InitParser(const wxString& source); // This must be called after Parse(). virtual void DoneParser(); + + // May be called during parsing to immediately return from Parse(). + virtual void StopParsing() { m_stopParsing = TRUE; } // Parses the m_Source from begin_pos to end_pos-1. // (in noparams version it parses whole m_Source) @@ -117,6 +120,11 @@ public: // Restores parser's state from stack or returns FALSE if the stack is // empty virtual bool RestoreState(); + + // Parses HTML string 'markup' and extracts charset info from tag + // if present. Returns empty string if the tag is missing. + // For wxHTML's internal use. + static wxString ExtractCharsetInformation(const wxString& markup); protected: // DOM structure @@ -173,6 +181,9 @@ protected: // entity parse wxHtmlEntitiesParser *m_entitiesParser; + + // flag indicating that the parser should stop + bool m_stopParsing; }; @@ -242,7 +253,11 @@ public: wxChar GetEntityChar(const wxString& entity); // Returns character that represents given Unicode code +#if wxUSE_UNICODE + wxChar GetCharForCode(unsigned code) { return (wxChar)code; } +#else wxChar GetCharForCode(unsigned code); +#endif protected: #if wxUSE_WCHAR_T && !wxUSE_UNICODE diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index 38575d5b5a..713d1ef895 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -98,7 +98,7 @@ enum { class WXDLLEXPORT wxHtmlPrintout : public wxPrintout { public: - wxHtmlPrintout(const wxString& title = "Printout"); + wxHtmlPrintout(const wxString& title = wxT("Printout")); ~wxHtmlPrintout(); void SetHtmlText(const wxString& html, const wxString &basepath = wxEmptyString, bool isdir = TRUE); @@ -176,7 +176,7 @@ private: class WXDLLEXPORT wxHtmlEasyPrinting : public wxObject { public: - wxHtmlEasyPrinting(const wxString& name = "Printing", wxFrame *parent_frame = NULL); + wxHtmlEasyPrinting(const wxString& name = wxT("Printing"), wxFrame *parent_frame = NULL); ~wxHtmlEasyPrinting(); bool PreviewFile(const wxString &htmlfile); diff --git a/include/wx/html/m_templ.h b/include/wx/html/m_templ.h index 9d9174772d..7dc0e16227 100644 --- a/include/wx/html/m_templ.h +++ b/include/wx/html/m_templ.h @@ -32,7 +32,7 @@ I STRONGLY recommend reading and understanding these macros!! class HTML_Handler_##name : public wxHtmlWinTagHandler \ { \ public: \ - wxString GetSupportedTags() {return tags;} + wxString GetSupportedTags() {return wxT(tags);} diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h index 5e6866d069..23905552f7 100644 --- a/include/wx/html/winpars.h +++ b/include/wx/html/winpars.h @@ -117,10 +117,12 @@ public: const wxHtmlLinkInfo& GetLink() const { return m_Link; } void SetLink(const wxHtmlLinkInfo& link); +#if !wxUSE_UNICODE void SetInputEncoding(wxFontEncoding enc); wxFontEncoding GetInputEncoding() const { return m_InputEnc; } wxFontEncoding GetOutputEncoding() const { return m_OutputEnc; } wxEncodingConverter *GetEncodingConverter() const { return m_EncConv; } +#endif // creates font depending on m_Font* members. virtual wxFont* CreateCurrentFont(); @@ -161,7 +163,9 @@ private: wxFont* m_FontsTable[2][2][2][2][7]; wxString m_FontsFacesTable[2][2][2][2][7]; +#if !wxUSE_UNICODE wxFontEncoding m_FontsEncTable[2][2][2][2][7]; +#endif // table of loaded fonts. 1st four indexes are 0 or 1, depending on on/off // state of these flags (from left to right): // [bold][italic][underlined][fixed_size] @@ -172,9 +176,11 @@ private: wxString m_FontFaceFixed, m_FontFaceNormal; // html font sizes and faces of fixed and proportional fonts +#if !wxUSE_UNICODE wxFontEncoding m_InputEnc, m_OutputEnc; // I/O font encodings wxEncodingConverter *m_EncConv; +#endif }; diff --git a/include/wx/image.h b/include/wx/image.h index 6d025c286b..848f5e324a 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -44,7 +44,7 @@ class WXDLLEXPORT wxImageHandler: public wxObject { public: wxImageHandler() - : m_name(""), m_extension(""), m_mime(), m_type(0) + : m_name(wxT("")), m_extension(wxT("")), m_mime(), m_type(0) { } #if wxUSE_STREAMS @@ -97,7 +97,7 @@ public: WX_DECLARE_EXPORTED_HASH_MAP(unsigned long, wxImageHistogramEntry, wxIntegerHash, wxIntegerEqual, - wxImageHistogram); + wxImageHistogram) //----------------------------------------------------------------------------- // wxImage @@ -121,7 +121,7 @@ public: wxImage( const wxImage* image ); #if WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI - // convertion to/from wxBitmap (deprecated, use wxBitmap's methods instead): + // conversion to/from wxBitmap (deprecated, use wxBitmap's methods instead): wxImage( const wxBitmap &bitmap ); wxBitmap ConvertToBitmap() const; #ifdef __WXGTK__ @@ -248,9 +248,9 @@ public: return *this; } - bool operator == (const wxImage& image) + bool operator == (const wxImage& image) const { return m_refData == image.m_refData; } - bool operator != (const wxImage& image) + bool operator != (const wxImage& image) const { return m_refData != image.m_refData; } static wxList& GetHandlers() { return sm_handlers; } diff --git a/include/wx/imaggif.h b/include/wx/imaggif.h index 1eaba1b62e..5af07e4072 100644 --- a/include/wx/imaggif.h +++ b/include/wx/imaggif.h @@ -25,23 +25,23 @@ class WXDLLEXPORT wxGIFHandler : public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxGIFHandler) - public: - - inline wxGIFHandler() - { - m_name = "GIF file"; - m_extension = "gif"; - m_type = wxBITMAP_TYPE_GIF; - m_mime = "image/gif"; - }; + inline wxGIFHandler() + { + m_name = wxT("GIF file"); + m_extension = wxT("gif"); + m_type = wxBITMAP_TYPE_GIF; + m_mime = wxT("image/gif"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxGIFHandler) }; #endif diff --git a/include/wx/imagiff.h b/include/wx/imagiff.h index 076cc115a9..3591d7570e 100644 --- a/include/wx/imagiff.h +++ b/include/wx/imagiff.h @@ -24,8 +24,6 @@ class WXDLLEXPORT wxIFFHandler : public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxIFFHandler) - public: wxIFFHandler() { @@ -33,13 +31,16 @@ public: m_extension = wxT("iff"); m_type = wxBITMAP_TYPE_IFF; m_mime = wxT("image/x-iff"); - }; + } #if wxUSE_STREAMS virtual bool LoadFile(wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1); virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=TRUE); virtual bool DoCanRead(wxInputStream& stream); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxIFFHandler) }; #endif // wxUSE_IMAGE && wxUSE_IFF diff --git a/include/wx/imagjpeg.h b/include/wx/imagjpeg.h index ff76239224..7c9a82de9d 100644 --- a/include/wx/imagjpeg.h +++ b/include/wx/imagjpeg.h @@ -23,23 +23,23 @@ #if wxUSE_LIBJPEG class WXDLLEXPORT wxJPEGHandler: public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxJPEGHandler) - public: - - inline wxJPEGHandler() - { - m_name = "JPEG file"; - m_extension = "jpg"; - m_type = wxBITMAP_TYPE_JPEG; - m_mime = "image/jpeg"; - }; + inline wxJPEGHandler() + { + m_name = wxT("JPEG file"); + m_extension = wxT("jpg"); + m_type = wxBITMAP_TYPE_JPEG; + m_mime = wxT("image/jpeg"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxJPEGHandler) }; #endif diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index f6e5908472..40d3ca7c7e 100644 --- a/include/wx/imagpcx.h +++ b/include/wx/imagpcx.h @@ -24,23 +24,23 @@ #if wxUSE_PCX class WXDLLEXPORT wxPCXHandler : public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxPCXHandler) - public: - - inline wxPCXHandler() - { - m_name = "PCX file"; - m_extension = "pcx"; - m_type = wxBITMAP_TYPE_PCX; - m_mime = "image/pcx"; - }; + inline wxPCXHandler() + { + m_name = wxT("PCX file"); + m_extension = wxT("pcx"); + m_type = wxBITMAP_TYPE_PCX; + m_mime = wxT("image/pcx"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); #endif // wxUSE_STREAMS + +private: + DECLARE_DYNAMIC_CLASS(wxPCXHandler) }; #endif // wxUSE_PCX diff --git a/include/wx/imagpng.h b/include/wx/imagpng.h index 232e880403..1183280c11 100644 --- a/include/wx/imagpng.h +++ b/include/wx/imagpng.h @@ -23,23 +23,23 @@ #if wxUSE_LIBPNG class WXDLLEXPORT wxPNGHandler: public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxPNGHandler) - public: - - inline wxPNGHandler() - { - m_name = "PNG file"; - m_extension = "png"; - m_type = wxBITMAP_TYPE_PNG; - m_mime = "image/png"; - }; + inline wxPNGHandler() + { + m_name = wxT("PNG file"); + m_extension = wxT("png"); + m_type = wxBITMAP_TYPE_PNG; + m_mime = wxT("image/png"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxPNGHandler) }; #endif diff --git a/include/wx/imagpnm.h b/include/wx/imagpnm.h index 21f2896b57..12f184f587 100644 --- a/include/wx/imagpnm.h +++ b/include/wx/imagpnm.h @@ -23,23 +23,23 @@ #if wxUSE_PNM class WXDLLEXPORT wxPNMHandler : public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxPNMHandler) - public: - - inline wxPNMHandler() - { - m_name = "PNM file"; - m_extension = "pnm"; - m_type = wxBITMAP_TYPE_PNM; - m_mime = "image/pnm"; - }; + inline wxPNMHandler() + { + m_name = wxT("PNM file"); + m_extension = wxT("pnm"); + m_type = wxBITMAP_TYPE_PNM; + m_mime = wxT("image/pnm"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxPNMHandler) }; #endif diff --git a/include/wx/imagtiff.h b/include/wx/imagtiff.h index 5d539336a8..67657d6d4f 100644 --- a/include/wx/imagtiff.h +++ b/include/wx/imagtiff.h @@ -24,24 +24,24 @@ #if wxUSE_LIBTIFF class WXDLLEXPORT wxTIFFHandler: public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxTIFFHandler) - public: - - inline wxTIFFHandler() - { - m_name = "TIFF file"; - m_extension = "tif"; - m_type = wxBITMAP_TYPE_TIF; - m_mime = "image/tiff"; - }; + inline wxTIFFHandler() + { + m_name = wxT("TIFF file"); + m_extension = wxT("tif"); + m_type = wxBITMAP_TYPE_TIF; + m_mime = wxT("image/tiff"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); - virtual int GetImageCount( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); + virtual int GetImageCount( wxInputStream& stream ); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxTIFFHandler) }; #endif diff --git a/include/wx/imagxpm.h b/include/wx/imagxpm.h index 658fa3d622..f8825308c2 100644 --- a/include/wx/imagxpm.h +++ b/include/wx/imagxpm.h @@ -23,23 +23,23 @@ class WXDLLEXPORT wxXPMHandler : public wxImageHandler { - DECLARE_DYNAMIC_CLASS(wxXPMHandler) - public: - - inline wxXPMHandler() - { - m_name = wxT("XPM file"); - m_extension = wxT("xpm"); - m_type = wxBITMAP_TYPE_XPM; - m_mime = wxT("image/xpm"); - }; + inline wxXPMHandler() + { + m_name = wxT("XPM file"); + m_extension = wxT("xpm"); + m_type = wxBITMAP_TYPE_XPM; + m_mime = wxT("image/xpm"); + } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual bool DoCanRead( wxInputStream& stream ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool DoCanRead( wxInputStream& stream ); #endif + +private: + DECLARE_DYNAMIC_CLASS(wxXPMHandler) }; diff --git a/include/wx/list.h b/include/wx/list.h index 886c744618..ed182de01f 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -193,7 +193,7 @@ private: class WXDLLEXPORT wxListBase : public wxObject { -friend class wxNodeBase; // should be able to call DetachNode() +friend class WXDLLEXPORT wxNodeBase; // should be able to call DetachNode() friend class wxHashTableBase; // should be able to call untyped Find() private: // common part of all ctors @@ -235,7 +235,7 @@ public: int Number() const { return GetCount(); } wxNode *First() const { return (wxNode *)GetFirst(); } wxNode *Last() const { return (wxNode *)GetLast(); } - wxNode *Nth(size_t index) const { return (wxNode *)Item(index); } + wxNode *Nth(size_t n) const { return (wxNode *)Item(n); } #endif // wxLIST_COMPATIBILITY protected: @@ -274,8 +274,12 @@ protected: wxNodeBase *Item(size_t index) const; // get the list item's data - void *operator[](size_t index) const - { wxNodeBase *node = Item(index); return node ? node->GetData() : (wxNodeBase*)NULL; } + void *operator[](size_t n) const + { + wxNodeBase *node = Item(n); + + return node ? node->GetData() : (wxNodeBase *)NULL; + } // operations // append to end of list diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index a89000e868..c57ee5ef67 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -44,7 +44,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxLC_REPORT, const wxValidator& validator = wxDefaultValidator, - const wxString &name = "listctrl" ) + const wxString &name = wxT("listctrl") ) { Create(parent, id, pos, size, style, validator, name); } diff --git a/include/wx/longlong.h b/include/wx/longlong.h index a4eb5f547d..db1bc25975 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -50,29 +50,39 @@ // long", then check for specific compilers #if defined(SIZEOF_LONG) && (SIZEOF_LONG == 8) #define wxLongLong_t long + #define wxLongLongSuffix l + #define wxLongLongFmtSpec _T("l") #define wxLongLongIsLong #elif (defined(__VISUALC__) && defined(__WIN32__)) || defined( __VMS__ ) #define wxLongLong_t __int64 + #define wxLongLongSuffix i64 + #define wxLongLongFmtSpec _T("I64") #elif defined(__BORLANDC__) && defined(__WIN32__) && (__BORLANDC__ >= 0x520) #define wxLongLong_t __int64 -#elif defined(SIZEOF_LONG_LONG) && SIZEOF_LONG_LONG >= 8 - #define wxLongLong_t long long -#elif defined(__MINGW32__) || defined(__CYGWIN__) || defined(__WXMICROWIN__) + #define wxLongLongSuffix i64 + #define wxLongLongFmtSpec _T("I64") +#elif (defined(SIZEOF_LONG_LONG) && SIZEOF_LONG_LONG >= 8) || \ + defined(__MINGW32__) || \ + defined(__CYGWIN__) || \ + defined(__WXMICROWIN__) || \ + (defined(__DJGPP__) && __DJGPP__ >= 2) #define wxLongLong_t long long + #define wxLongLongSuffix ll + #define wxLongLongFmtSpec _T("ll") #elif defined(__MWERKS__) #if __option(longlong) #define wxLongLong_t long long + #define wxLongLongSuffix ll + #define wxLongLongFmtSpec _T("ll") #else #error "The 64 bit integer support in CodeWarrior has been disabled." #error "See the documentation on the 'longlong' pragma." #endif #elif defined(__VISAGECPP__) && __IBMCPP__ >= 400 - #define wxLongLong_t long long -#elif defined(__DJGPP__) && __DJGPP__ >= 2 #define wxLongLong_t long long #else // no native long long type // both warning and pragma warning are not portable, but at least an - // unknown pragma should never be an error - except that, actually, some + // unknown pragma should never be an error -- except that, actually, some // broken compilers don't like it, so we have to disable it in this case // #if !(defined(__WATCOMC__) || defined(__VISAGECPP__)) @@ -85,6 +95,11 @@ #define wxUSE_LONGLONG_WX 1 #endif // compiler +// this macro allows to definea 64 bit constant in a portable way +#define wxMakeLongLong(x, s) x ## s +#define wxMakeLongLong2(x, s) wxMakeLongLong(x, s) +#define wxLL(x) wxMakeLongLong2(x, wxLongLongSuffix) + // the user may predefine wxUSE_LONGLONG_NATIVE and/or wxUSE_LONGLONG_NATIVE // to disable automatic testing (useful for the test program which defines // both classes) but by default we only use one class diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index bbc96c1099..0241b2e649 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -109,6 +109,8 @@ public: static bool s_macDefaultEncodingIsPC ; static bool s_macSupportPCMenuShortcuts ; static long s_macAboutMenuItemId ; + static long s_macPreferencesMenuItemId ; + static long s_macExitMenuItemId ; static wxString s_macHelpMenuTitleName ; static bool s_macHasAppearance ; diff --git a/include/wx/mac/dataform.h b/include/wx/mac/dataform.h index d9267a9981..d1bf0f98bc 100644 --- a/include/wx/mac/dataform.h +++ b/include/wx/mac/dataform.h @@ -12,7 +12,7 @@ #ifndef _WX_MAC_DATAFORM_H #define _WX_MAC_DATAFORM_H -class wxDataFormat +class WXDLLEXPORT wxDataFormat { public: typedef unsigned long NativeFormat; diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index 3c1e8de47b..d0986d168e 100644 --- a/include/wx/mac/dataobj.h +++ b/include/wx/mac/dataobj.h @@ -20,7 +20,7 @@ // wxDataObject is the same as wxDataObjectBase under wxGTK // ---------------------------------------------------------------------------- -class wxDataObject : public wxDataObjectBase +class WXDLLEXPORT wxDataObject : public wxDataObjectBase { public: wxDataObject(); diff --git a/include/wx/mac/dataobj2.h b/include/wx/mac/dataobj2.h index 744aa141ae..c6fd53689c 100644 --- a/include/wx/mac/dataobj2.h +++ b/include/wx/mac/dataobj2.h @@ -20,7 +20,7 @@ // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- -class wxBitmapDataObject : public wxBitmapDataObjectBase +class WXDLLEXPORT wxBitmapDataObject : public wxBitmapDataObjectBase { public: // ctors @@ -64,7 +64,7 @@ private: // wxFileDataObject is a specialization of wxDataObject for file names // ---------------------------------------------------------------------------- -class wxFileDataObject : public wxFileDataObjectBase +class WXDLLEXPORT wxFileDataObject : public wxFileDataObjectBase { public: // implement base class pure virtuals diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 6434553ebe..1005712dd7 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -113,6 +113,9 @@ protected: virtual void DoGetClientSize(int *width, int *height) const; virtual void DoSetClientSize(int width, int height); + virtual void DetachMenuBar(); + virtual void AttachMenuBar(wxMenuBar *menubar); + protected: #if wxUSE_STATUSBAR static bool m_useNativeStatusBar; diff --git a/include/wx/mac/menu.h b/include/wx/mac/menu.h index 4c79dbf2aa..6c39c96fc0 100644 --- a/include/wx/mac/menu.h +++ b/include/wx/mac/menu.h @@ -63,7 +63,6 @@ public: // implementation only from now on // ------------------------------- - bool MacMenuSelect(wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum) ; int MacGetIndexFromId( int id ) ; int MacGetIndexFromItem( wxMenuItem *pItem ) ; void MacEnableMenu( bool bDoEnable ) ; @@ -163,6 +162,11 @@ public: // attach to a frame void Attach(wxFrame *frame); + // clear the invoking window for all menus and submenus + void UnsetInvokingWindow() ; + + // set the invoking window for all menus and submenus + void SetInvokingWindow( wxFrame* frame ) ; #if wxUSE_ACCEL // get the accel table for all the menus const wxAcceleratorTable& GetAccelTable() const { return m_accelTable; } @@ -176,7 +180,6 @@ public: void Refresh(bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL); void MacInstallMenuBar() ; - void MacMenuSelect(wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum) ; static wxMenuBar* MacGetInstalledMenuBar() { return s_macInstalledMenuBar ; } protected: diff --git a/include/wx/mac/notebook.h b/include/wx/mac/notebook.h index e461360b9f..bdeec4ee71 100644 --- a/include/wx/mac/notebook.h +++ b/include/wx/mac/notebook.h @@ -143,8 +143,8 @@ protected: void ChangePage(int nOldSel, int nSel); // change pages void MacSetupTabs(); -// wxImageList *m_pImageList; // we can have an associated image list -// wxArrayPages m_aPages; // array of pages + // the icon indices + wxArrayInt m_images; int m_nSelection; // the current selection (-1 if none) diff --git a/include/wx/mac/private.h b/include/wx/mac/private.h index f34b32ea62..341d5307c7 100644 --- a/include/wx/mac/private.h +++ b/include/wx/mac/private.h @@ -129,7 +129,7 @@ PicHandle wxMacCreatePict( GWorldPtr gw , GWorldPtr mask = NULL ) ; CIconHandle wxMacCreateCIcon(GWorldPtr image , GWorldPtr mask , short dstDepth , short iconSize ) ; void wxMacSetColorTableEntry( CTabHandle newColors , int index , int red , int green , int blue ) ; CTabHandle wxMacCreateColorTable( int numColors ) ; -void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap , bool forceColorIcon = false ) ; +void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap , int forceType = 0 ) ; #define MAC_WXCOLORREF(a) (*((RGBColor*)&(a))) #define MAC_WXHBITMAP(a) (GWorldPtr(a)) diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index 5942f39266..5f5157bb1b 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -36,6 +36,22 @@ // so there is little advantage to setting it to 1. #define WXWIN_COMPATIBILITY 0 +// This setting determines the compatibility with 2.0 API: set it to 1 to +// enable it +// +// Default is 0. +// +// Recommended setting: 0 (please update your code instead!) +#define WXWIN_COMPATIBILITY_2 0 + +// This setting determines the compatibility with 2.0 API: set it to 1 to +// enable it +// +// Default is 1. +// +// Recommended setting: 0 (please update your code instead!) +#define WXWIN_COMPATIBILITY_2_2 1 + // in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap, // but this is very dangerous because you can mistakenly pass an icon instead // of a bitmap to a function taking "const wxBitmap&" - which will *not* work @@ -106,23 +122,25 @@ #define wxUSE_MEMORY_TRACING 1 // In debug mode, cause new and delete to be redefined globally. -// If this causes problems (e.g. link errors), set this to 0. +// If this causes problems (e.g. link errors which is a common problem +// especially if you use another library which also redefines the global new +// and delete), set this to 0. // This switch is currently ignored for mingw / cygwin // -// Default is 1 +// Default is 0 // -// Recommended setting: 1 but see comment in the beginning of this section +// Recommended setting: 0 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 // In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If // this causes problems (e.g. link errors), set this to 0. You may need to set // this to 0 if using templates (at least for VC++). This switch is currently -// ignored for mingw / cygwin +// ignored for mingw / cygwin // -// Default is 1 +// Default is 0 // -// Recommended setting: 1 but see comment in the beginning of this section -#define wxUSE_DEBUG_NEW_ALWAYS 1 +// Recommended setting: 0 +#define wxUSE_DEBUG_NEW_ALWAYS 0 // wxHandleFatalExceptions() may be used to catch the program faults at run // time and, instead of terminating the program with a usual GPF message box, @@ -190,6 +208,13 @@ // Recommended setting: 1 (always) #define wxUSE_LOG_DIALOG 1 +// Support for command line parsing using wxCmdLineParser class. +// +// Default is 1 +// +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line) +#define wxUSE_CMDLINE_PARSER 1 + // Support for multithreaded applications: if 1, compile in thread classes // (thread.h) and make the library a bit more thread safe. Although thread // support is quite stable by now, you may still consider recompiling the @@ -246,7 +271,8 @@ // use wxTextBuffer class: required by wxTextFile #define wxUSE_TEXTBUFFER 1 -// use wxTextFile class: requires wxFile, required by wxFileConfig +// use wxTextFile class: requires wxFile and wxTextBuffer, required by +// wxFileConfig #define wxUSE_TEXTFILE 1 // i18n support: _() macro, wxLocale class. Requires wxTextFile. @@ -317,14 +343,14 @@ // If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows // to connect/disconnect from the network and be notified whenever the dial-up -// network connection is established/terminated. Requires wxUSE_DYNLIB_CLASS. +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER. // // Default is 1. // // Recommended setting: 1 #define wxUSE_DIALUP_MANAGER 1 -// Compile in wxLibrary class for run-time DLL loading and function calling. +// Compile in classes for run-time DLL loading and function calling. // Required by wxUSE_DIALUP_MANAGER. // // This setting is for Win32 only @@ -374,9 +400,6 @@ // wxMimeTypesManager class #define wxUSE_MIMETYPE 1 -// wxSystemOptions class -#define wxUSE_SYSTEM_OPTIONS 1 - // wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP // or wxURL you need to set this to 1. // @@ -401,7 +424,13 @@ // // Recommended setting: 1 if your compiler supports it, if it doesn't please // contribute us a makefile for src/regex for it -#define wxUSE_REGEX 0 +#define wxUSE_REGEX 1 + +// wxSystemOptions class +#define wxUSE_SYSTEM_OPTIONS 1 + +// wxWave class +#define wxUSE_WAVE 1 // ---------------------------------------------------------------------------- // Individual GUI controls @@ -450,7 +479,6 @@ #define wxUSE_GAUGE 1 // wxGauge #define wxUSE_LISTBOX 1 // wxListBox #define wxUSE_LISTCTRL 1 // wxListCtrl -#define wxUSE_PROPSHEET 1 // wxProperty #define wxUSE_RADIOBOX 1 // wxRadioBox #define wxUSE_RADIOBTN 1 // wxRadioButton #define wxUSE_SCROLLBAR 1 // wxScrollBar @@ -532,6 +560,9 @@ #define wxUSE_GRID 1 #define wxUSE_NEW_GRID 1 +// wxProperty[Value/Form/List] classes, used by Dialog Editor +#define wxUSE_PROPSHEET 0 + // ---------------------------------------------------------------------------- // Miscellaneous GUI stuff // ---------------------------------------------------------------------------- @@ -617,6 +648,13 @@ // Recommended setting: 1 (used in the library itself) #define wxUSE_CHOICEDLG 1 +// Use colour picker dialog +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_COLOURDLG 1 + // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 @@ -629,6 +667,13 @@ // Recommended setting: 1 (used in many places in the library itself) #define wxUSE_FILEDLG 1 +// Use find/replace dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (but may be safely set to 0) +#define wxUSE_FINDREPLDLG 1 + // Use font picker dialog // // Default is 1 @@ -655,9 +700,6 @@ // number entry dialog #define wxUSE_NUMBERDLG 1 -// color chooser dialog -#define wxUSE_COLOURDLG 1 - // splash screen class #define wxUSE_SPLASH 1 @@ -770,8 +812,11 @@ #define wxUSE_SPLINES 1 // 0 for no splines -#define wxUSE_WX_RESOURCES 1 - // Use .wxr resource mechanism (requires PrologIO library) +// use wxExpr (a.k.a. PrologIO) +#define wxUSE_PROLOGIO 0 + +// Use .wxr resource mechanism (requires PrologIO library) +#define wxUSE_WX_RESOURCES 0 #define wxUSE_MOUSEWHEEL 1 // Include mouse wheel support diff --git a/include/wx/mac/textctrl.h b/include/wx/mac/textctrl.h index 1d9b218333..5c2c753c43 100644 --- a/include/wx/mac/textctrl.h +++ b/include/wx/mac/textctrl.h @@ -152,7 +152,8 @@ public: void OnUpdateRedo(wxUpdateUIEvent& event); virtual bool MacCanFocus() const { return true ; } - + virtual bool MacSetupCursor( const wxPoint& pt ) ; + virtual void MacSuperShown( bool show ) ; virtual bool Show(bool show = TRUE) ; diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index c9172b6c8a..7709e2a12a 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -16,6 +16,7 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls) ; void UMACleanupToolbox() ; +long UMAGetSystemVersion() ; bool UMAHasAppearance() ; long UMAGetAppearanceVersion() ; bool UMAHasWindowManager() ; diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index 6018e46219..cef26853e1 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -242,7 +242,7 @@ public: virtual void Update() ; // for compatibility void MacUpdateImmediately() { Update() ; } - bool MacSetupCursor( const wxPoint& pt ) ; + virtual bool MacSetupCursor( const wxPoint& pt ) ; // virtual bool MacSetPortDrawingParams( const Point & localOrigin, const Rect & clipRect, WindowRef window , wxWindowMac* rootwin ) ; // virtual void MacGetPortParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin ) ; diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index a2a31bdcb7..38a5e89ebd 100644 --- a/include/wx/motif/statbox.h +++ b/include/wx/motif/statbox.h @@ -55,20 +55,11 @@ public: // Implementation virtual void ChangeFont(bool keepOriginalSize = TRUE); - virtual void ChangeBackgroundColour(); - virtual void ChangeForegroundColour(); - WXWidget GetTopWidget() const { return m_formWidget; } - WXWidget GetLabelWidget() const { return m_labelWidget; } protected: // Motif-specific - WXWidget m_formWidget; WXWidget m_labelWidget; - - virtual void DoSetSize(int x, int y, - int width, int height, - int sizeFlags = wxSIZE_AUTO); - + private: DECLARE_EVENT_TABLE() }; diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index ccc307e118..842e259d27 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -50,8 +50,8 @@ public: bool Ok() const { return m_refData != NULL; } - // create (if necessary) and return the HBRUSH for this brush - WXHBRUSH GetResourceHandle() const; + // return the HBRUSH for this brush + virtual WXHANDLE GetResourceHandle() const; protected: virtual wxObjectRefData *CreateRefData() const; diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 97cf1d32b5..57603fc9a0 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -17,31 +17,37 @@ #endif // Checkbox item (single checkbox) -class WXDLLEXPORT wxBitmap; class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase { public: wxCheckBox() { } - wxCheckBox(wxWindow *parent, wxWindowID id, const wxString& label, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxCheckBoxNameStr) + wxCheckBox(wxWindow *parent, + wxWindowID id, + const wxString& label, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxCheckBoxNameStr) { Create(parent, id, label, pos, size, style, validator, name); } - bool Create(wxWindow *parent, wxWindowID id, const wxString& label, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxCheckBoxNameStr); + bool Create(wxWindow *parent, + wxWindowID id, + const wxString& label, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxCheckBoxNameStr); virtual void SetValue(bool value); - virtual bool GetValue() const ; + virtual bool GetValue() const; - virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void SetLabel(const wxString& label); + + virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); protected: @@ -51,32 +57,5 @@ private: DECLARE_DYNAMIC_CLASS(wxCheckBox) }; -class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox -{ -DECLARE_DYNAMIC_CLASS(wxBitmapCheckBox) - -public: - int checkWidth ; - int checkHeight ; - - wxBitmapCheckBox() { checkWidth = -1; checkHeight = -1; } - wxBitmapCheckBox(wxWindow *parent, wxWindowID id, const wxBitmap *label, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxCheckBoxNameStr) - { - Create(parent, id, label, pos, size, style, validator, name); - } - - bool Create(wxWindow *parent, wxWindowID id, const wxBitmap *bitmap, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, - const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxCheckBoxNameStr); - - virtual void SetLabel(const wxBitmap& bitmap); -}; - #endif // _WX_CHECKBOX_H_ diff --git a/include/wx/msw/checklst.h b/include/wx/msw/checklst.h index 7b7db054e4..ffc70a0a51 100644 --- a/include/wx/msw/checklst.h +++ b/include/wx/msw/checklst.h @@ -64,7 +64,7 @@ public: protected: // we create our items ourselves and they have non-standard size, // so we need to override these functions - virtual wxOwnerDrawn *CreateItem(size_t n); + virtual wxOwnerDrawn *CreateLboxItem(size_t n); virtual bool MSWOnMeasure(WXMEASUREITEMSTRUCT *item); // this can't be called DoHitTest() because wxWindow already has this method diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 3a779079b4..2c3b5b2088 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -20,6 +20,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; +class WXDLLEXPORT wxWindowDisabler; + // Dialog boxes class WXDLLEXPORT wxDialog : public wxDialogBase { @@ -115,7 +117,7 @@ private: // while we are showing a modal dialog we disable the other windows using // this object - class wxWindowDisabler *m_windowDisabler; + wxWindowDisabler *m_windowDisabler; DECLARE_DYNAMIC_CLASS(wxDialog) DECLARE_EVENT_TABLE() diff --git a/include/wx/msw/filedlg.h b/include/wx/msw/filedlg.h index e146c83928..f4637fcc78 100644 --- a/include/wx/msw/filedlg.h +++ b/include/wx/msw/filedlg.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: filedlg.h +// Name: wx/msw/filedlg.h // Purpose: wxFileDialog class // Author: Julian Smart // Modified by: @@ -28,12 +28,16 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxFileSelectorDefaultWildcardStr; class WXDLLEXPORT wxFileDialog: public wxDialog { public: - wxFileDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, - const wxString& defaultDir = wxEmptyString, const wxString& defaultFile = wxEmptyString, const wxString& wildCard = wxFileSelectorDefaultWildcardStr, - long style = 0, const wxPoint& pos = wxDefaultPosition); + wxFileDialog(wxWindow *parent, + const wxString& message = wxFileSelectorPromptStr, + const wxString& defaultDir = wxEmptyString, + const wxString& defaultFile = wxEmptyString, + const wxString& wildCard = wxFileSelectorDefaultWildcardStr, + long style = 0, + const wxPoint& pos = wxDefaultPosition); void SetMessage(const wxString& message) { m_message = message; } - void SetPath(const wxString& path) { m_path = path; } + void SetPath(const wxString& path); void SetDirectory(const wxString& dir) { m_dir = dir; } void SetFilename(const wxString& name) { m_fileName = name; } void SetWildcard(const wxString& wildCard) { m_wildCard = wildCard; } @@ -50,7 +54,7 @@ public: long GetStyle() const { return m_dialogStyle; } int GetFilterIndex() const { return m_filterIndex ; } - int ShowModal(); + virtual int ShowModal(); protected: wxString m_message; diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 06c17b10b1..505e9970b9 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -90,11 +90,10 @@ public: virtual bool IsFree() const; virtual bool RealizeResource(); - virtual WXHANDLE GetResourceHandle(); + virtual WXHANDLE GetResourceHandle() const; virtual bool FreeResource(bool force = FALSE); - // for consistency with other wxMSW classes and to have a const - // GetResourceHandle()-like function we have a synonym for it + // for consistency with other wxMSW classes WXHFONT GetHFONT() const; /* diff --git a/include/wx/msw/gdiimage.h b/include/wx/msw/gdiimage.h index 0dca4c7931..3bf601dda4 100644 --- a/include/wx/msw/gdiimage.h +++ b/include/wx/msw/gdiimage.h @@ -180,7 +180,7 @@ public: // forward some of base class virtuals to wxGDIImageRefData bool FreeResource(bool force = FALSE); - virtual WXHANDLE GetResourceHandle(); + virtual WXHANDLE GetResourceHandle() const; protected: // create the data for the derived class here diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index e7285541d1..7ea71fbec2 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -49,7 +49,7 @@ public: bool IsNull() const { return (m_refData == 0); } // Returns handle. - virtual WXHANDLE GetResourceHandle() { return 0; } + virtual WXHANDLE GetResourceHandle() const { return 0; } virtual bool GetVisible() { return m_visible; } virtual void SetVisible(bool v) { m_visible = v; } diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index 31301489e0..b8dab7af65 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -16,10 +16,11 @@ #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ -#include -#include +#include "wx/palette.h" +#include "wx/scrolwin.h" #include +#include "wx/msw/winundef.h" #include @@ -57,15 +58,15 @@ class WXDLLEXPORT wxGLContext: public wxObject { public: wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette); - wxGLContext( - bool isRGB, wxGLCanvas *win, + wxGLContext( + bool isRGB, wxGLCanvas *win, const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ); ~wxGLContext(); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); @@ -85,15 +86,16 @@ class WXDLLEXPORT wxGLCanvas: public wxWindow public: wxGLCanvas(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "GLCanvas", int *attribList = 0, const wxPalette& palette = wxNullPalette); + const wxString& name = wxGLCanvasName, int *attribList = 0, const wxPalette& palette = wxNullPalette); wxGLCanvas( wxWindow *parent, const wxGLContext *shared = (wxGLContext *)NULL, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = "GLCanvas", + const wxSize& size = wxDefaultSize, long style = 0, const wxString& + name = wxGLCanvasName, int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette ); wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared = (wxGLCanvas *)NULL, wxWindowID id = -1, - const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "GLCanvas", int *attribList = 0, const wxPalette& palette = wxNullPalette ); + const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, + const wxString& name = wxGLCanvasName, int *attribList = 0, const wxPalette& palette = wxNullPalette ); ~wxGLCanvas(); @@ -102,7 +104,7 @@ class WXDLLEXPORT wxGLCanvas: public wxWindow const wxPoint& pos, const wxSize& size, long style, const wxString& name); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); void OnSize(wxSizeEvent& event); diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 0021cc304f..0c5161b91f 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -95,7 +95,7 @@ public: bool MSWOnDraw(WXDRAWITEMSTRUCT *item); // plug-in for derived classes - virtual wxOwnerDrawn *CreateItem(size_t n); + virtual wxOwnerDrawn *CreateLboxItem(size_t n); // allows to get the item and use SetXXX functions to set it's appearance wxOwnerDrawn *GetItem(size_t n) const { return m_aItems[n]; } diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 7243690420..631006ba34 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -159,6 +159,19 @@ typedef struct tagNMLVDISPINFOW { #endif #endif +#if defined(__GNUWIN32__) && !defined(HDN_GETDISPINFOW) +#define HDN_GETDISPINFOW (HDN_FIRST-29) +typedef struct { + NMHDR hdr; + int iItem; + UINT mask; + LPWSTR pszText; + int cchTextMax; + int iImage; + LPARAM lParam; +} NMHDDISPINFOW, *LPNMHDDISPINFOW; +#endif + // ---------------------------------------------------------------------------- // MS HTML Help diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index b26643862e..4fd14d30da 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -40,14 +40,14 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "notebook"); + const wxString& name = wxNOTEBOOK_NAME); // Create() function bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "notebook"); + const wxString& name = wxNOTEBOOK_NAME); // accessors // --------- @@ -133,10 +133,8 @@ protected: // remove one page from the notebook, without deleting virtual wxNotebookPage *DoRemovePage(int nPage); - // helper functions - void ChangePage(int nOldSel, int nSel); // change pages - - int m_nSelection; // the current selection (-1 if none) + // the current selection (-1 if none) + int m_nSelection; DECLARE_DYNAMIC_CLASS(wxNotebook) DECLARE_EVENT_TABLE() diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index 3c56bdaa70..a653d39db0 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -89,7 +89,7 @@ public: // Internal bool RealizeResource(); bool FreeResource(bool force = FALSE); - WXHANDLE GetResourceHandle() ; + WXHANDLE GetResourceHandle() const; bool IsFree() const; void Unshare(); }; diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index 72f8dfcd02..bb1e56cea6 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -5,7 +5,7 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart +// Copyright: (c) 1997-2002 wxWindows team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,10 +13,9 @@ #define _WX_REGION_H_ #ifdef __GNUG__ -#pragma interface "region.h" + #pragma interface "region.h" #endif -#include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" @@ -93,11 +92,11 @@ public: // Outer bounds of region void GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const; - wxRect GetBox(void) const ; + wxRect GetBox() const ; // Is region empty? - bool Empty(void) const; - inline bool IsEmpty(void) const { return Empty(); } + bool Empty() const; + inline bool IsEmpty() const { return Empty(); } // Tests // Does the region contain the point (x,y)? @@ -129,31 +128,39 @@ protected: class WXDLLEXPORT wxRegionIterator : public wxObject { public: - wxRegionIterator(void); + wxRegionIterator() { Init(); } wxRegionIterator(const wxRegion& region); - ~wxRegionIterator(void); + wxRegionIterator(const wxRegionIterator& ri) { Init(); *this = ri; } - void Reset(void) { m_current = 0; } + wxRegionIterator& operator=(const wxRegionIterator& ri); + + virtual ~wxRegionIterator(); + + void Reset() { m_current = 0; } void Reset(const wxRegion& region); + bool HaveRects() const { return (m_current < m_numRects); } + #ifndef __SALFORDC__ - operator bool (void) const { return (m_current < m_numRects); } + operator bool () const { return HaveRects(); } #endif - bool HaveRects(void) const { return (m_current < m_numRects); } + wxRegionIterator& operator++(); + wxRegionIterator operator++(int); - void operator ++ (void); - void operator ++ (int); + wxCoord GetX() const; + wxCoord GetY() const; + wxCoord GetW() const; + wxCoord GetWidth() const { return GetW(); } + wxCoord GetH() const; + wxCoord GetHeight() const { return GetH(); } - wxCoord GetX(void) const; - wxCoord GetY(void) const; - wxCoord GetW(void) const; - wxCoord GetWidth(void) const { return GetW(); } - wxCoord GetH(void) const; - wxCoord GetHeight(void) const { return GetH(); } - wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } + wxRect GetRect() const { return wxRect(GetX(), GetY(), GetW(), GetH()); } private: + // common part of all ctors + void Init(); + long m_current; long m_numRects; wxRegion m_region; diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 10ad566b6d..bb0e917728 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -44,12 +44,12 @@ // Recommended setting: 0 (please update your code instead!) #define WXWIN_COMPATIBILITY_2 0 -// This setting determines the compatibility with 2.0 API: set it to 1 to -// enable it +// This setting determines the compatibility with 2.2 API: set it to 0 to +// flag all cases of using deprecated functions. // -// Default is 1. +// Default is 1 but please try building your code with 0. // -// Recommended setting: 0 (please update your code instead!) +// Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_2 1 // in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap, @@ -209,13 +209,6 @@ // Recommended setting: 1 (always) #define wxUSE_LOG 1 -// Support for command line parsing using wxCmdLineParser class. -// -// Default is 1 -// -// Recommended setting: 1 (can be set to 0 if you don't use the cmd line) -#define wxUSE_CMDLINE_PARSER 1 - // Recommended setting: 1 #define wxUSE_LOGWINDOW 1 @@ -225,6 +218,13 @@ // Recommended setting: 1 #define wxUSE_LOG_DIALOG 1 +// Support for command line parsing using wxCmdLineParser class. +// +// Default is 1 +// +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line) +#define wxUSE_CMDLINE_PARSER 1 + // Support for multithreaded applications: if 1, compile in thread classes // (thread.h) and make the library a bit more thread safe. Although thread // support is quite stable by now, you may still consider recompiling the @@ -768,7 +768,15 @@ // smaller library. #define wxUSE_HTML 1 -// OpenGL canvas +// Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL +// headers and libraries to be able to compile the library with wxUSE_GLCANVAS +// set to 1. Note that for some compilers (notably Microsoft Visual C++) you +// will need to manually add opengl32.lib and glu32.lib to the list of +// libraries linked with your program if you use OpenGL. +// +// Default is 0. +// +// Recommended setting: 1 if you intend to use OpenGL, 0 otherwise #define wxUSE_GLCANVAS 0 // wxTreeLayout class @@ -846,8 +854,12 @@ #define wxUSE_RESOURCE_LOADING_IN_MSW 1 // Use dynamic icon/cursor loading/saving code // under MSW. -#define wxUSE_WX_RESOURCES 1 - // Use .wxr resource mechanism (requires PrologIO library) + +// use wxExpr (a.k.a. PrologIO) +#define wxUSE_PROLOGIO 0 + +// Use .wxr resource mechanism (requires PrologIO library) +#define wxUSE_WX_RESOURCES 0 #define wxUSE_MOUSEWHEEL 1 // Include mouse wheel support diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 29561640a9..20c49b73a4 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -48,7 +48,6 @@ protected: virtual void DoSetSize(int x, int y, int w, int h, int sizeFlags = wxSIZE_AUTO); virtual wxSize DoGetBestSize() const; - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); DECLARE_DYNAMIC_CLASS(wxStaticText) }; diff --git a/include/wx/msw/tabctrl.h b/include/wx/msw/tabctrl.h index d1985bfddd..014ea3167b 100644 --- a/include/wx/msw/tabctrl.h +++ b/include/wx/msw/tabctrl.h @@ -40,7 +40,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl wxTabCtrl(); inline wxTabCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "tabCtrl") + long style = 0, const wxString& name = wxT("tabCtrl")) { Create(parent, id, pos, size, style, name); } @@ -99,7 +99,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl // Operations bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, const wxString& name = "tabCtrl"); + long style = 0, const wxString& name = wxT("tabCtrl")); // Delete all items bool DeleteAllItems(); @@ -126,12 +126,30 @@ protected: DECLARE_EVENT_TABLE() }; -class WXDLLEXPORT wxTabEvent: public wxCommandEvent +class WXDLLEXPORT wxTabEvent : public wxNotifyEvent { - DECLARE_DYNAMIC_CLASS(wxTabEvent) - - public: - wxTabEvent(wxEventType commandType = wxEVT_NULL, int id = 0); +public: + wxTabEvent(wxEventType commandType = wxEVT_NULL, int id = 0, + int nSel = -1, int nOldSel = -1) + : wxNotifyEvent(commandType, id) + { + m_nSel = nSel; + m_nOldSel = nOldSel; + } + + // accessors + // the currently selected page (-1 if none) + int GetSelection() const { return m_nSel; } + void SetSelection(int nSel) { m_nSel = nSel; } + // the page that was selected before the change (-1 if none) + int GetOldSelection() const { return m_nOldSel; } + void SetOldSelection(int nOldSel) { m_nOldSel = nOldSel; } + +private: + int m_nSel, // currently selected page + m_nOldSel; // previously selected page + + DECLARE_DYNAMIC_CLASS(wxTabEvent) }; typedef void (wxEvtHandler::*wxTabEventFunction)(wxTabEvent&); diff --git a/include/wx/msw/taskbar.h b/include/wx/msw/taskbar.h index b93a400944..2da54b6894 100644 --- a/include/wx/msw/taskbar.h +++ b/include/wx/msw/taskbar.h @@ -33,7 +33,7 @@ public: inline bool IsIconInstalled() const { return m_iconAdded; } // Operations - bool SetIcon(const wxIcon& icon, const wxString& tooltip = ""); + bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString); bool RemoveIcon(void); bool PopupMenu(wxMenu *menu); //, int x, int y); diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 283e86b826..1ac33d3ad2 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -35,6 +35,7 @@ public: Create(parent, id, value, pos, size, style, validator, name); } + ~wxTextCtrl(); bool Create(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, @@ -167,12 +168,20 @@ public: void OnPaste(wxCommandEvent& event); void OnUndo(wxCommandEvent& event); void OnRedo(wxCommandEvent& event); + void OnDelete(wxCommandEvent& event); + void OnSelectAll(wxCommandEvent& event); void OnUpdateCut(wxUpdateUIEvent& event); void OnUpdateCopy(wxUpdateUIEvent& event); void OnUpdatePaste(wxUpdateUIEvent& event); void OnUpdateUndo(wxUpdateUIEvent& event); void OnUpdateRedo(wxUpdateUIEvent& event); + void OnUpdateDelete(wxUpdateUIEvent& event); + void OnUpdateSelectAll(wxUpdateUIEvent& event); + + // Show a context menu for Rich Edit controls (the standard + // EDIT control has one already) + void OnRightClick(wxMouseEvent& event); protected: // common part of all ctors @@ -203,6 +212,9 @@ protected: // set the selection possibly without scrolling the caret into view void DoSetSelection(long from, long to, bool scrollCaret = TRUE); + // return true if there is a non empty selection in the control + bool HasSelection() const; + // get the length of the line containing the character at the given // position long GetLengthOfLineContainingPos(long pos) const; @@ -221,15 +233,17 @@ protected: // 0, it also gives the version of the RICHEDIT control being used (1, 2 or // 3 so far) int m_verRichEdit; +#endif // wxUSE_RICHEDIT // if TRUE, SendUpdateEvent() will eat the next event (see comments in the // code as to why this is needed) bool m_suppressNextUpdate; -#endif // wxUSE_RICHEDIT private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxTextCtrl) + + wxMenu* m_privateContextMenu; }; #endif diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index d09a48ce0a..202983d285 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -119,10 +119,6 @@ protected: // the last focused child: we restore focus to it on activation wxWindow *m_winLastFocused; - // the hidden parent window for the frames which shouldn't appear in the - // taskbar - static wxWindow *ms_hiddenParent; - DECLARE_EVENT_TABLE() }; diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index dd1deab918..68062889b5 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -76,7 +76,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "wxTreeCtrl") + const wxString& name = wxTreeCtrlNameStr) { Create(parent, id, pos, size, style, validator, name); } @@ -88,7 +88,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "wxTreeCtrl"); + const wxString& name = wxTreeCtrlNameStr); // accessors // --------- @@ -141,6 +141,15 @@ public: // get the data associated with the item wxTreeItemData *GetItemData(const wxTreeItemId& item) const; + // get the item's text colour + wxColour GetItemTextColour(const wxTreeItemId& item) const; + + // get the item's background colour + wxColour GetItemBackgroundColour(const wxTreeItemId& item) const; + + // get the item's font + wxFont GetItemFont(const wxTreeItemId& item) const; + // modifiers // --------- diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index af1cc51108..d1d9610808 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -58,6 +58,21 @@ } #endif +// FindText + +#ifdef FindText + #undef FindText + + inline HWND APIENTRY FindText(LPFINDREPLACE lpfindreplace) + { + #ifdef UNICODE + return FindTextW(lpfindreplace); + #else + return FindTextA(lpfindreplace); + #endif // !UNICODE + } +#endif + // GetCharWidth #ifdef GetCharWidth diff --git a/include/wx/msw/wx.rc b/include/wx/msw/wx.rc index b1dc54050d..da439acd9b 100644 --- a/include/wx/msw/wx.rc +++ b/include/wx/msw/wx.rc @@ -98,12 +98,7 @@ wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico" // Bitmaps // -#ifdef __SALFORDC__ -wxDISABLE_BUTTON_BITMAP BITMAP WXINCDIR"wx/msw/disable.bmp" -#else wxDISABLE_BUTTON_BITMAP BITMAP "wx/msw/disable.bmp" -#endif - // For wxContextHelpButton csquery BITMAP "wx/msw/csquery.bmp" diff --git a/include/wx/object.h b/include/wx/object.h index 4fcb3c178c..be4a7bbc3f 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -501,7 +501,7 @@ protected: class WXDLLEXPORT wxObjectRefData { - friend class wxObject; + friend class WXDLLEXPORT wxObject; public: wxObjectRefData() : m_count(1) { } diff --git a/include/wx/os2/notebook.h b/include/wx/os2/notebook.h index 68fc28013b..4adaa2c64f 100644 --- a/include/wx/os2/notebook.h +++ b/include/wx/os2/notebook.h @@ -189,9 +189,6 @@ protected: // // Helper functions // - void ChangePage( int nOldSel - ,int nSel - ); // change pages int m_nSelection; // The current selection (-1 if none) diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index 700bab6e27..38bba247cc 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -398,5 +398,10 @@ #define wxUSE_PROTOCOL_FTP 1 #define wxUSE_PROTOCOL_FILE 1 +#define wxUSE_GENERIC_MDI_AS_NATIVE 1 + +// use wxExpr (a.k.a. PrologIO) +#define wxUSE_PROLOGIO 1 + #endif // _WX_SETUP_H_ diff --git a/include/wx/os2/textctrl.h b/include/wx/os2/textctrl.h index 8770ddbda2..9eb7c15000 100644 --- a/include/wx/os2/textctrl.h +++ b/include/wx/os2/textctrl.h @@ -30,6 +30,7 @@ public: { Create(pParent, vId, rsValue, rPos, rSize, lStyle, rValidator, rsName); } + ~wxTextCtrl(); bool Create( wxWindow* pParent ,wxWindowID vId @@ -154,12 +155,16 @@ public: void OnPaste(wxCommandEvent& rEvent); void OnUndo(wxCommandEvent& rEvent); void OnRedo(wxCommandEvent& rEvent); + void OnDelete(wxCommandEvent& rEvent); + void OnSelectAll(wxCommandEvent& rEvent); void OnUpdateCut(wxUpdateUIEvent& rEvent); void OnUpdateCopy(wxUpdateUIEvent& rEvent); void OnUpdatePaste(wxUpdateUIEvent& rEvent); void OnUpdateUndo(wxUpdateUIEvent& rEvent); void OnUpdateRedo(wxUpdateUIEvent& rEvent); + void OnUpdateDelete(wxUpdateUIEvent& rEvent); + void OnUpdateSelectAll(wxUpdateUIEvent& rEvent); inline bool IsMLE(void) {return m_bIsMLE;} inline void SetMLE(bool bIsMLE) {m_bIsMLE = bIsMLE;} diff --git a/include/wx/print.h b/include/wx/print.h index 801dea98ae..31c9588da2 100644 --- a/include/wx/print.h +++ b/include/wx/print.h @@ -1,7 +1,7 @@ #ifndef _WX_PRINT_H_BASE_ #define _WX_PRINT_H_BASE_ -#if defined(__WXMSW__) +#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) #include "wx/msw/printwin.h" #ifndef wxPrinter diff --git a/include/wx/printdlg.h b/include/wx/printdlg.h index 36c7cc1e58..1e72c149f7 100644 --- a/include/wx/printdlg.h +++ b/include/wx/printdlg.h @@ -1,7 +1,9 @@ #ifndef _WX_PRINTDLG_H_BASE_ #define _WX_PRINTDLG_H_BASE_ -#if defined(__WXMSW__) +#if defined(__WXUNIVERSAL__) +#include "wx/generic/prntdlgg.h" +#elif defined(__WXMSW__) #include "wx/msw/printdlg.h" #elif defined(__WXMOTIF__) #include "wx/generic/prntdlgg.h" @@ -19,7 +21,7 @@ #include "wx/generic/prntdlgg.h" #endif -#if !defined(__WXMSW__) && !defined(__WXMAC__) +#if defined(__WXUNIVERSAL__) || (!defined(__WXMSW__) && !defined(__WXMAC__)) #define wxPrintDialog wxGenericPrintDialog #define sm_classwxPrintDialog sm_classwxGenericPrintDialog diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index 688a957481..d8357cb11b 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -53,8 +53,6 @@ enum wxPrinterError class WXDLLEXPORT wxPrinterBase: public wxObject { - DECLARE_CLASS(wxPrinterBase) - public: wxPrinterBase(wxPrintDialogData *data = (wxPrintDialogData *) NULL); virtual ~wxPrinterBase(); @@ -85,6 +83,8 @@ public: static wxWindow* sm_abortWindow; static bool sm_abortIt; +private: + DECLARE_CLASS(wxPrinterBase) }; /* @@ -97,10 +97,8 @@ public: class WXDLLEXPORT wxPrintout: public wxObject { -DECLARE_ABSTRACT_CLASS(wxPrintout) - public: - wxPrintout(const wxString& title = "Printout"); + wxPrintout(const wxString& title = wxT("Printout")); virtual ~wxPrintout(); virtual bool OnBeginDocument(int startPage, int endPage); @@ -149,6 +147,9 @@ private: int m_PPIPrinterY; bool m_isPreview; + +private: + DECLARE_ABSTRACT_CLASS(wxPrintout) }; /* @@ -158,15 +159,13 @@ private: class WXDLLEXPORT wxPreviewCanvas: public wxScrolledWindow { - DECLARE_CLASS(wxPreviewCanvas) - public: wxPreviewCanvas(wxPrintPreviewBase *preview, wxWindow *parent, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "canvas"); + const wxString& name = wxT("canvas")); ~wxPreviewCanvas(); void OnPaint(wxPaintEvent& event); @@ -177,6 +176,7 @@ public: private: wxPrintPreviewBase* m_printPreview; + DECLARE_CLASS(wxPreviewCanvas) DECLARE_EVENT_TABLE() }; @@ -187,16 +187,14 @@ private: class WXDLLEXPORT wxPreviewFrame: public wxFrame { - DECLARE_CLASS(wxPreviewFrame) - public: wxPreviewFrame(wxPrintPreviewBase *preview, wxFrame *parent, - const wxString& title = "Print Preview", + const wxString& title = wxT("Print Preview"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, - const wxString& name = "frame"); + const wxString& name = wxT("frame")); ~wxPreviewFrame(); void OnCloseWindow(wxCloseEvent& event); @@ -209,6 +207,7 @@ protected: wxPrintPreviewBase* m_printPreview; private: + DECLARE_CLASS(wxPreviewFrame) DECLARE_EVENT_TABLE() }; @@ -251,7 +250,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "panel"); + const wxString& name = wxT("panel")); ~wxPreviewControlBar(); virtual void CreateButtons(); @@ -392,7 +391,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "dialog") + const wxString& name = wxT("dialog")) : wxDialog(parent, -1, title, pos, size, style, name) { } diff --git a/include/wx/prop.h b/include/wx/prop.h index 6ddf2f3b5f..efc9573399 100644 --- a/include/wx/prop.h +++ b/include/wx/prop.h @@ -43,44 +43,47 @@ class wxPropertyValidatorRegistry; // A storable sheet of values class WXDLLEXPORT wxPropertySheet: public wxObject { - DECLARE_DYNAMIC_CLASS(wxPropertySheet) - public: - wxPropertySheet(const wxString& name = ""); - ~wxPropertySheet(void); +public: + wxPropertySheet(const wxString& name = wxT("")); + ~wxPropertySheet(); - // Set the name of the sheet - inline virtual void SetName(const wxString& name) { m_name=name; } - inline virtual wxString GetName() const { return m_name; } - // Does this sheet contain a property with this name - virtual bool HasProperty(const wxString& name) const; + // Set the name of the sheet + inline virtual void SetName(const wxString& name) { m_name=name; } + inline virtual wxString GetName() const { return m_name; } + + // Does this sheet contain a property with this name + virtual bool HasProperty(const wxString& name) const; - // Set property name to value - virtual bool SetProperty(const wxString& name, const wxPropertyValue& value); + // Set property name to value + virtual bool SetProperty(const wxString& name, const wxPropertyValue& value); - // Remove property from sheet by name, deleting it - virtual void RemoveProperty(const wxString& name); + // Remove property from sheet by name, deleting it + virtual void RemoveProperty(const wxString& name); - // Get the name of the sheet - // Add a property - virtual void AddProperty(wxProperty *property); + // Get the name of the sheet + // Add a property + virtual void AddProperty(wxProperty *property); - // Get property by name - virtual wxProperty *GetProperty(const wxString& name) const; + // Get property by name + virtual wxProperty *GetProperty(const wxString& name) const; - // Clear all properties - virtual void Clear(void); + // Clear all properties + virtual void Clear(); - virtual void UpdateAllViews(wxPropertyView *thisView = NULL); - inline virtual wxList& GetProperties(void) const { return (wxList&) m_properties; } + virtual void UpdateAllViews(wxPropertyView *thisView = NULL); + inline virtual wxList& GetProperties() const { return (wxList&) m_properties; } - // Sets/clears the modified flag for each property value - virtual void SetAllModified(bool flag = TRUE); - - protected: - wxObject* m_viewedObject; - wxList m_properties; - wxPropertyView* m_propertyView; - wxString m_name; + // Sets/clears the modified flag for each property value + virtual void SetAllModified(bool flag = TRUE); + +protected: + wxObject* m_viewedObject; + wxList m_properties; + wxPropertyView* m_propertyView; + wxString m_name; + +private: + DECLARE_DYNAMIC_CLASS(wxPropertySheet) }; @@ -88,71 +91,69 @@ class WXDLLEXPORT wxPropertySheet: public wxObject // classes: wxPropertyListView, and wxPropertyFormView. class WXDLLEXPORT wxPropertyView: public wxEvtHandler { - DECLARE_DYNAMIC_CLASS(wxPropertyView) - public: - wxPropertyView(long flags = 0); - ~wxPropertyView(void); - - // Associates and shows the view - virtual void ShowView(wxPropertySheet *WXUNUSED(propertySheet), wxWindow *WXUNUSED(panel)) {} - - // Update this view of the viewed object, called e.g. by - // the object itself. - virtual bool OnUpdateView(void) {return FALSE;}; - - // Override this to do something as soon as the property changed, - // if the view and validators support it. - virtual void OnPropertyChanged(wxProperty *WXUNUSED(property)) {} - - virtual void AddRegistry(wxPropertyValidatorRegistry *registry); - inline virtual wxList& GetRegistryList(void) const - { return (wxList&) m_validatorRegistryList; } - - virtual wxPropertyValidator *FindPropertyValidator(wxProperty *property); - inline virtual void SetPropertySheet(wxPropertySheet *sheet) { m_propertySheet = sheet; } - inline virtual wxPropertySheet *GetPropertySheet(void) const { return m_propertySheet; } - -/* - virtual void OnOk(void) {}; - virtual void OnCancel(void) {}; - virtual void OnHelp(void) {}; -*/ - - inline virtual bool OnClose(void) { return FALSE; } - inline long GetFlags(void) { return m_buttonFlags; } - - protected: - long m_buttonFlags; - wxPropertySheet* m_propertySheet; - wxProperty* m_currentProperty; - wxList m_validatorRegistryList; - wxPropertyValidator* m_currentValidator; +public: + wxPropertyView(long flags = 0); + ~wxPropertyView(); + + // Associates and shows the view + virtual void ShowView(wxPropertySheet *WXUNUSED(propertySheet), wxWindow *WXUNUSED(panel)) {} + + // Update this view of the viewed object, called e.g. by + // the object itself. + virtual bool OnUpdateView() {return FALSE;}; + + // Override this to do something as soon as the property changed, + // if the view and validators support it. + virtual void OnPropertyChanged(wxProperty *WXUNUSED(property)) {} + + virtual void AddRegistry(wxPropertyValidatorRegistry *registry); + inline virtual wxList& GetRegistryList() const + { return (wxList&) m_validatorRegistryList; } + + virtual wxPropertyValidator *FindPropertyValidator(wxProperty *property); + inline virtual void SetPropertySheet(wxPropertySheet *sheet) { m_propertySheet = sheet; } + inline virtual wxPropertySheet *GetPropertySheet() const { return m_propertySheet; } + + inline virtual bool OnClose() { return FALSE; } + inline long GetFlags(void) { return m_buttonFlags; } + +protected: + long m_buttonFlags; + wxPropertySheet* m_propertySheet; + wxProperty* m_currentProperty; + wxList m_validatorRegistryList; + wxPropertyValidator* m_currentValidator; + +private: + DECLARE_DYNAMIC_CLASS(wxPropertyView) }; class WXDLLEXPORT wxPropertyValidator: public wxEvtHandler { - DECLARE_DYNAMIC_CLASS(wxPropertyValidator) - public: - wxPropertyValidator(long flags = 0); - ~wxPropertyValidator(void); - - inline long GetFlags(void) const { return m_validatorFlags; } - inline void SetValidatorProperty(wxProperty *prop) { m_validatorProperty = prop; } - inline wxProperty *GetValidatorProperty(void) const { return m_validatorProperty; } - - virtual bool StringToFloat (wxChar *s, float *number); - virtual bool StringToDouble (wxChar *s, double *number); - virtual bool StringToInt (wxChar *s, int *number); - virtual bool StringToLong (wxChar *s, long *number); - virtual wxChar *FloatToString (float number); - virtual wxChar *DoubleToString (double number); - virtual wxChar *IntToString (int number); - virtual wxChar *LongToString (long number); - - protected: - long m_validatorFlags; - wxProperty* m_validatorProperty; +public: + wxPropertyValidator(long flags = 0); + ~wxPropertyValidator(); + + inline long GetFlags() const { return m_validatorFlags; } + inline void SetValidatorProperty(wxProperty *prop) { m_validatorProperty = prop; } + inline wxProperty *GetValidatorProperty(void) const { return m_validatorProperty; } + + virtual bool StringToFloat (wxChar *s, float *number); + virtual bool StringToDouble (wxChar *s, double *number); + virtual bool StringToInt (wxChar *s, int *number); + virtual bool StringToLong (wxChar *s, long *number); + virtual wxChar *FloatToString (float number); + virtual wxChar *DoubleToString (double number); + virtual wxChar *IntToString (int number); + virtual wxChar *LongToString (long number); + +protected: + long m_validatorFlags; + wxProperty* m_validatorProperty; + +private: + DECLARE_DYNAMIC_CLASS(wxPropertyValidator) }; @@ -160,14 +161,16 @@ class WXDLLEXPORT wxPropertyValidator: public wxEvtHandler class WXDLLEXPORT wxPropertyValidatorRegistry: public wxHashTable { - DECLARE_DYNAMIC_CLASS(wxPropertyValidatorRegistry) - public: - wxPropertyValidatorRegistry(void); - ~wxPropertyValidatorRegistry(void); +public: + wxPropertyValidatorRegistry(); + ~wxPropertyValidatorRegistry(); - virtual void RegisterValidator(const wxString& roleName, wxPropertyValidator *validator); - virtual wxPropertyValidator *GetValidator(const wxString& roleName); - void ClearRegistry(void); + virtual void RegisterValidator(const wxString& roleName, wxPropertyValidator *validator); + virtual wxPropertyValidator *GetValidator(const wxString& roleName); + void ClearRegistry(); + +private: + DECLARE_DYNAMIC_CLASS(wxPropertyValidatorRegistry) }; /* diff --git a/include/wx/proplist.h b/include/wx/proplist.h index b21f36aa09..72e0fad5fd 100644 --- a/include/wx/proplist.h +++ b/include/wx/proplist.h @@ -78,8 +78,7 @@ // Mediates between a physical panel and the property sheet class WXDLLEXPORT wxPropertyListView: public wxPropertyView { - DECLARE_DYNAMIC_CLASS(wxPropertyListView) - public: +public: wxPropertyListView(wxPanel *propPanel = NULL, long flags = wxPROP_BUTTON_DEFAULT); ~wxPropertyListView(void); @@ -186,10 +185,12 @@ public: wxButton* m_windowCancelButton; wxButton* m_windowHelpButton; -DECLARE_EVENT_TABLE() private: - virtual void ShowView(wxPropertySheet *propertySheet, wxWindow *window) - { wxPropertyView::ShowView(propertySheet, window); }; + DECLARE_DYNAMIC_CLASS(wxPropertyListView) + DECLARE_EVENT_TABLE() + + virtual void ShowView(wxPropertySheet *propertySheet, wxWindow *window) + { wxPropertyView::ShowView(propertySheet, window); }; }; class WXDLLEXPORT wxPropertyTextEdit: public wxTextCtrl @@ -202,13 +203,14 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = _T("text")); + const wxString& name = wxT("text")); void OnSetFocus(); void OnKillFocus(); wxPropertyListView* m_view; +private: DECLARE_CLASS(wxPropertyTextEdit) }; @@ -220,11 +222,9 @@ public: class WXDLLEXPORT wxPropertyListValidator: public wxPropertyValidator { - DECLARE_DYNAMIC_CLASS(wxPropertyListValidator) - protected: - public: +public: wxPropertyListValidator(long flags = wxPROP_ALLOW_TEXT_EDITING): wxPropertyValidator(flags) { } - ~wxPropertyListValidator(void) {} + ~wxPropertyListValidator() {} // Called when the property is selected or deselected: typically displays the value // in the edit control (having chosen a suitable control to display: (non)editable text or listbox) @@ -274,6 +274,9 @@ class WXDLLEXPORT wxPropertyListValidator: public wxPropertyValidator virtual bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); virtual bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + +private: + DECLARE_DYNAMIC_CLASS(wxPropertyListValidator) }; /* @@ -289,7 +292,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, - const wxString& name = _T("dialogBox")); + const wxString& name = wxT("dialogBox")); void OnCloseWindow(wxCloseEvent& event); void OnDefaultAction(wxControl *item); @@ -301,6 +304,7 @@ public: private: wxPropertyListView* m_view; +private: DECLARE_CLASS(wxPropertyListDialog) DECLARE_EVENT_TABLE() }; @@ -317,7 +321,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = _T("panel")) + const wxString& name = wxT("panel")) : wxPanel(parent, -1, pos, size, style, name) { m_view = v; @@ -337,6 +341,7 @@ public: private: wxPropertyListView* m_view; +private: DECLARE_EVENT_TABLE() DECLARE_CLASS(wxPropertyListPanel) }; @@ -372,6 +377,7 @@ private: wxPropertyListView* m_view; wxPropertyListPanel* m_propertyPanel; +private: DECLARE_EVENT_TABLE() DECLARE_CLASS(wxPropertyListFrame) }; @@ -382,41 +388,40 @@ private: class WXDLLEXPORT wxRealListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxRealListValidator) - public: - // 0.0, 0.0 means no range - wxRealListValidator(float min = 0.0, float max = 0.0, long flags = wxPROP_ALLOW_TEXT_EDITING):wxPropertyListValidator(flags) - { - m_realMin = min; m_realMax = max; - } - ~wxRealListValidator(void) {} - - bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when TICK is pressed or focus is lost. - // Return FALSE if value didn't check out; signal to restore old value. - bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when TICK is pressed or focus is lost or view wants to update - // the property list. - // Does the transfer from the property editing area to the property itself - bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - protected: - float m_realMin; - float m_realMax; +public: + // 0.0, 0.0 means no range + wxRealListValidator(float min = 0.0, float max = 0.0, long flags = wxPROP_ALLOW_TEXT_EDITING):wxPropertyListValidator(flags) + { m_realMin = min; m_realMax = max; } + ~wxRealListValidator() {} + + bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when TICK is pressed or focus is lost. + // Return FALSE if value didn't check out; signal to restore old value. + bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when TICK is pressed or focus is lost or view wants to update + // the property list. + // Does the transfer from the property editing area to the property itself + bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + +protected: + float m_realMin; + float m_realMax; + +private: + DECLARE_DYNAMIC_CLASS(wxRealListValidator) }; class WXDLLEXPORT wxIntegerListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxIntegerListValidator) - public: +public: // 0, 0 means no range wxIntegerListValidator(long min = 0, long max = 0, long flags = wxPROP_ALLOW_TEXT_EDITING):wxPropertyListValidator(flags) { m_integerMin = min; m_integerMax = max; } - ~wxIntegerListValidator(void) {} + ~wxIntegerListValidator() {} bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); @@ -429,156 +434,158 @@ class WXDLLEXPORT wxIntegerListValidator: public wxPropertyListValidator // Does the transfer from the property editing area to the property itself bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - protected: - long m_integerMin; - long m_integerMax; +protected: + long m_integerMin; + long m_integerMax; + +private: + DECLARE_DYNAMIC_CLASS(wxIntegerListValidator) }; class WXDLLEXPORT wxBoolListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxBoolListValidator) - protected: - public: - wxBoolListValidator(long flags = 0):wxPropertyListValidator(flags) - { - } - ~wxBoolListValidator(void) {} - - bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnPrepareDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnClearDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when TICK is pressed or focus is lost. - // Return FALSE if value didn't check out; signal to restore old value. - bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when TICK is pressed or focus is lost or view wants to update - // the property list. - // Does the transfer from the property editing area to the property itself - bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when the property is double clicked. Extra functionality can be provided, - // cycling through possible values. - virtual bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); +public: + wxBoolListValidator(long flags = 0):wxPropertyListValidator(flags) {} + ~wxBoolListValidator() {} + + bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnPrepareDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnClearDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when TICK is pressed or focus is lost. + // Return FALSE if value didn't check out; signal to restore old value. + bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when TICK is pressed or focus is lost or view wants to update + // the property list. + // Does the transfer from the property editing area to the property itself + bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when the property is double clicked. Extra functionality can be provided, + // cycling through possible values. + virtual bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + +private: + DECLARE_DYNAMIC_CLASS(wxBoolListValidator) }; class WXDLLEXPORT wxStringListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxStringListValidator) - public: +public: wxStringListValidator(wxStringList *list = NULL, long flags = 0); - ~wxStringListValidator(void) - { - if (m_strings) - delete m_strings; - } - - bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnPrepareDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnClearDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when TICK is pressed or focus is lost. - // Return FALSE if value didn't check out; signal to restore old value. - bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when TICK is pressed or focus is lost or view wants to update - // the property list. - // Does the transfer from the property editing area to the property itself - bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - // Called when the property is double clicked. Extra functionality can be provided, - // cycling through possible values. - bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - protected: - wxStringList* m_strings; + ~wxStringListValidator() + { + if (m_strings) + delete m_strings; + } + + bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnPrepareDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnClearDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when TICK is pressed or focus is lost. + // Return FALSE if value didn't check out; signal to restore old value. + bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when TICK is pressed or focus is lost or view wants to update + // the property list. + // Does the transfer from the property editing area to the property itself + bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + + // Called when the property is double clicked. Extra functionality can be provided, + // cycling through possible values. + bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + +protected: + wxStringList* m_strings; + +private: + DECLARE_DYNAMIC_CLASS(wxStringListValidator) }; class WXDLLEXPORT wxFilenameListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxFilenameListValidator) - public: - wxFilenameListValidator(wxString message = "Select a file", wxString wildcard = wxALL_FILES_PATTERN, long flags = 0); +public: + wxFilenameListValidator(wxString message = wxT("Select a file"), wxString wildcard = wxALL_FILES_PATTERN, long flags = 0); + ~wxFilenameListValidator(); - ~wxFilenameListValidator(void); + // Called when TICK is pressed or focus is lost. + // Return FALSE if value didn't check out; signal to restore old value. + bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when TICK is pressed or focus is lost. - // Return FALSE if value didn't check out; signal to restore old value. - bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when TICK is pressed or focus is lost or view wants to update + // the property list. + // Does the transferance from the property editing area to the property itself + bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when TICK is pressed or focus is lost or view wants to update - // the property list. - // Does the transferance from the property editing area to the property itself - bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when the edit (...) button is pressed. + void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when the edit (...) button is pressed. - void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - - protected: - wxString m_filenameWildCard; - wxString m_filenameMessage; +protected: + wxString m_filenameWildCard; + wxString m_filenameMessage; +private: + DECLARE_DYNAMIC_CLASS(wxFilenameListValidator) }; class WXDLLEXPORT wxColourListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxColourListValidator) - protected: - public: - wxColourListValidator(long flags = 0); - - ~wxColourListValidator(void); +public: + wxColourListValidator(long flags = 0); + ~wxColourListValidator(); - bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when the edit (...) button is pressed. - void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when the edit (...) button is pressed. + void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + +private: + DECLARE_DYNAMIC_CLASS(wxColourListValidator) }; class WXDLLEXPORT wxListOfStringsListValidator: public wxPropertyListValidator { - DECLARE_DYNAMIC_CLASS(wxListOfStringsListValidator) - protected: - public: - wxListOfStringsListValidator(long flags = 0); - - ~wxListOfStringsListValidator(void) - { - } +public: + wxListOfStringsListValidator(long flags = 0); + ~wxListOfStringsListValidator() {} - bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when TICK is pressed or focus is lost. - // Return FALSE if value didn't check out; signal to restore old value. - bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when TICK is pressed or focus is lost. + // Return FALSE if value didn't check out; signal to restore old value. + bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when TICK is pressed or focus is lost or view wants to update - // the property list. - // Does the transfer from the property editing area to the property itself - bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when TICK is pressed or focus is lost or view wants to update + // the property list. + // Does the transfer from the property editing area to the property itself + bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - // Called when the property is double clicked. - bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when the property is double clicked. + bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool EditStringList(wxWindow *parent, wxStringList *stringList, const wxChar *title = wxT("String List Editor")); + bool EditStringList(wxWindow *parent, wxStringList *stringList, const wxChar *title = wxT("String List Editor")); - // Called when the edit (...) button is pressed. - void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + // Called when the edit (...) button is pressed. + void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); + +private: + DECLARE_DYNAMIC_CLASS(wxListOfStringsListValidator) }; #endif diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 3857f28d25..993647edc7 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -80,6 +80,8 @@ public: { m_flag = flag; } void SetBorder( int border ) { m_border = border; } + void Show ( bool show ) + { m_show = show; } wxWindow *GetWindow() const { return m_window; } @@ -95,6 +97,8 @@ public: { return m_flag; } int GetBorder() const { return m_border; } + bool IsShown() const + { return m_show; } wxObject* GetUserData() { return m_userData; } wxPoint GetPosition() @@ -109,10 +113,15 @@ protected: int m_option; int m_border; int m_flag; + + // If TRUE, then this item is considered in the layout + // calculation. Otherwise, it is skipped over. + bool m_show; // als: aspect ratio can always be calculated from m_size, // but this would cause precision loss when the window // is shrinked. it is safer to preserve initial value. float m_ratio; + wxObject *m_userData; private: @@ -194,6 +203,21 @@ public: void SetDimension( int x, int y, int width, int height ); + // Manage whether individual windows or sub-sizers are considered + // in the layout calculations or not. + void Show( wxWindow *window, bool show = TRUE ); + void Hide( wxWindow *window ) + { Show (window, FALSE); } + void Show( wxSizer *sizer, bool show = TRUE ); + void Hide( wxSizer *sizer ) + { Show (sizer, FALSE); } + + bool IsShown( wxWindow *window ); + bool IsShown( wxSizer *sizer ); + + // Recursively call wxWindow::Show () on all sizer items. + void ShowItems (bool show); + protected: wxSize m_size; wxSize m_minSize; diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 640eac8baf..82cd6684ff 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -24,6 +24,12 @@ #include #include +#ifdef STCISDLL +#define STCDLLEXPORT WXDLLEXPORT +#else +#define STCDLLEXPORT +#endif + //---------------------------------------------------------------------- // Should a wxPopupWindow be used for the call tips and autocomplete windows? @@ -43,12 +49,6 @@ #define wxSTC_START 2000 #define wxSTC_OPTIONAL_START 3000 #define wxSTC_LEXER_START 4000 - -// Redoes the next action on the undo history. -#define wxSTC_CMD_REDO 2011 - -// Select all the text in the document. -#define wxSTC_CMD_SELECTALL 2013 #define wxSTC_WS_INVISIBLE 0 #define wxSTC_WS_VISIBLEALWAYS 1 #define wxSTC_WS_VISIBLEAFTERINDENT 2 @@ -167,18 +167,6 @@ #define wxSTC_FIND_MATCHCASE 4 #define wxSTC_FIND_WORDSTART 0x00100000 #define wxSTC_FIND_REGEXP 0x00200000 - -// Undo one action in the undo history. -#define wxSTC_CMD_UNDO 2176 - -// Cut the selection to the clipboard. -#define wxSTC_CMD_CUT 2177 - -// Copy the selection to the clipboard. -#define wxSTC_CMD_COPY 2178 - -// Paste the contents of the clipboard into the document replacing the selection. -#define wxSTC_CMD_PASTE 2179 #define wxSTC_FOLDLEVELBASE 0x400 #define wxSTC_FOLDLEVELWHITEFLAG 0x1000 #define wxSTC_FOLDLEVELHEADERFLAG 0x2000 @@ -190,158 +178,6 @@ #define wxSTC_CACHE_CARET 1 #define wxSTC_CACHE_PAGE 2 #define wxSTC_CACHE_DOCUMENT 3 - -// Move caret down one line. -#define wxSTC_CMD_LINEDOWN 2300 - -// Move caret down one line extending selection to new caret position. -#define wxSTC_CMD_LINEDOWNEXTEND 2301 - -// Move caret up one line. -#define wxSTC_CMD_LINEUP 2302 - -// Move caret up one line extending selection to new caret position. -#define wxSTC_CMD_LINEUPEXTEND 2303 - -// Move caret left one character. -#define wxSTC_CMD_CHARLEFT 2304 - -// Move caret left one character extending selection to new caret position. -#define wxSTC_CMD_CHARLEFTEXTEND 2305 - -// Move caret right one character. -#define wxSTC_CMD_CHARRIGHT 2306 - -// Move caret right one character extending selection to new caret position. -#define wxSTC_CMD_CHARRIGHTEXTEND 2307 - -// Move caret left one word. -#define wxSTC_CMD_WORDLEFT 2308 - -// Move caret left one word extending selection to new caret position. -#define wxSTC_CMD_WORDLEFTEXTEND 2309 - -// Move caret right one word. -#define wxSTC_CMD_WORDRIGHT 2310 - -// Move caret right one word extending selection to new caret position. -#define wxSTC_CMD_WORDRIGHTEXTEND 2311 - -// Move caret to first position on line. -#define wxSTC_CMD_HOME 2312 - -// Move caret to first position on line extending selection to new caret position. -#define wxSTC_CMD_HOMEEXTEND 2313 - -// Move caret to last position on line. -#define wxSTC_CMD_LINEEND 2314 - -// Move caret to last position on line extending selection to new caret position. -#define wxSTC_CMD_LINEENDEXTEND 2315 - -// Move caret to first position in document. -#define wxSTC_CMD_DOCUMENTSTART 2316 - -// Move caret to first position in document extending selection to new caret position. -#define wxSTC_CMD_DOCUMENTSTARTEXTEND 2317 - -// Move caret to last position in document. -#define wxSTC_CMD_DOCUMENTEND 2318 - -// Move caret to last position in document extending selection to new caret position. -#define wxSTC_CMD_DOCUMENTENDEXTEND 2319 - -// Move caret one page up. -#define wxSTC_CMD_PAGEUP 2320 - -// Move caret one page up extending selection to new caret position. -#define wxSTC_CMD_PAGEUPEXTEND 2321 - -// Move caret one page down. -#define wxSTC_CMD_PAGEDOWN 2322 - -// Move caret one page down extending selection to new caret position. -#define wxSTC_CMD_PAGEDOWNEXTEND 2323 - -// Switch from insert to overtype mode or the reverse. -#define wxSTC_CMD_EDITTOGGLEOVERTYPE 2324 - -// Cancel any modes such as call tip or auto-completion list display. -#define wxSTC_CMD_CANCEL 2325 - -// Delete the selection or if no selection, the character before the caret. -#define wxSTC_CMD_DELETEBACK 2326 - -// If selection is empty or all on one line replace the selection with a tab character. -// If more than one line selected, indent the lines. -#define wxSTC_CMD_TAB 2327 - -// Dedent the selected lines. -#define wxSTC_CMD_BACKTAB 2328 - -// Insert a new line, may use a CRLF, CR or LF depending on EOL mode. -#define wxSTC_CMD_NEWLINE 2329 - -// Insert a Form Feed character. -#define wxSTC_CMD_FORMFEED 2330 - -// Move caret to before first visible character on line. -// If already there move to first character on line. -#define wxSTC_CMD_VCHOME 2331 - -// Like VCHome but extending selection to new caret position. -#define wxSTC_CMD_VCHOMEEXTEND 2332 - -// Magnify the displayed text by increasing the sizes by 1 point. -#define wxSTC_CMD_ZOOMIN 2333 - -// Make the displayed text smaller by decreasing the sizes by 1 point. -#define wxSTC_CMD_ZOOMOUT 2334 - -// Delete the word to the left of the caret. -#define wxSTC_CMD_DELWORDLEFT 2335 - -// Delete the word to the right of the caret. -#define wxSTC_CMD_DELWORDRIGHT 2336 - -// Cut the line containing the caret. -#define wxSTC_CMD_LINECUT 2337 - -// Delete the line containing the caret. -#define wxSTC_CMD_LINEDELETE 2338 - -// Switch the current line with the previous. -#define wxSTC_CMD_LINETRANSPOSE 2339 - -// Transform the selection to lower case. -#define wxSTC_CMD_LOWERCASE 2340 - -// Transform the selection to upper case. -#define wxSTC_CMD_UPPERCASE 2341 - -// Scroll the document down, keeping the caret visible. -#define wxSTC_CMD_LINESCROLLDOWN 2342 - -// Scroll the document up, keeping the caret visible. -#define wxSTC_CMD_LINESCROLLUP 2343 - -// Delete the selection or if no selection, the character before the caret. -// Will not delete the character before at the start of a line. -#define wxSTC_CMD_DELETEBACKNOTLINE 2344 - -// Move caret to first position on display line. -#define wxSTC_CMD_HOMEDISPLAY 2345 - -// Move caret to first position on display line extending selection to -// new caret position. -#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346 - -// Move caret to last position on display line. -#define wxSTC_CMD_LINEENDDISPLAY 2347 - -// Move caret to last position on display line extending selection to new -// caret position. -#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348 #define wxSTC_EDGE_NONE 0 #define wxSTC_EDGE_LINE 1 #define wxSTC_EDGE_BACKGROUND 2 @@ -866,6 +702,204 @@ #define wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR 18 #define wxSTC_SCRIPTOL_COMMENTBASIC 19 + +//----------------------------------------- +// Commands that can be bound to keystrokes + +// Redoes the next action on the undo history. +#define wxSTC_CMD_REDO 2011 + +// Select all the text in the document. +#define wxSTC_CMD_SELECTALL 2013 + +// Undo one action in the undo history. +#define wxSTC_CMD_UNDO 2176 + +// Cut the selection to the clipboard. +#define wxSTC_CMD_CUT 2177 + +// Copy the selection to the clipboard. +#define wxSTC_CMD_COPY 2178 + +// Paste the contents of the clipboard into the document replacing the selection. +#define wxSTC_CMD_PASTE 2179 + +// Clear the selection. +#define wxSTC_CMD_CLEAR 2180 + +// Move caret down one line. +#define wxSTC_CMD_LINEDOWN 2300 + +// Move caret down one line extending selection to new caret position. +#define wxSTC_CMD_LINEDOWNEXTEND 2301 + +// Move caret up one line. +#define wxSTC_CMD_LINEUP 2302 + +// Move caret up one line extending selection to new caret position. +#define wxSTC_CMD_LINEUPEXTEND 2303 + +// Move caret left one character. +#define wxSTC_CMD_CHARLEFT 2304 + +// Move caret left one character extending selection to new caret position. +#define wxSTC_CMD_CHARLEFTEXTEND 2305 + +// Move caret right one character. +#define wxSTC_CMD_CHARRIGHT 2306 + +// Move caret right one character extending selection to new caret position. +#define wxSTC_CMD_CHARRIGHTEXTEND 2307 + +// Move caret left one word. +#define wxSTC_CMD_WORDLEFT 2308 + +// Move caret left one word extending selection to new caret position. +#define wxSTC_CMD_WORDLEFTEXTEND 2309 + +// Move caret right one word. +#define wxSTC_CMD_WORDRIGHT 2310 + +// Move caret right one word extending selection to new caret position. +#define wxSTC_CMD_WORDRIGHTEXTEND 2311 + +// Move caret to first position on line. +#define wxSTC_CMD_HOME 2312 + +// Move caret to first position on line extending selection to new caret position. +#define wxSTC_CMD_HOMEEXTEND 2313 + +// Move caret to last position on line. +#define wxSTC_CMD_LINEEND 2314 + +// Move caret to last position on line extending selection to new caret position. +#define wxSTC_CMD_LINEENDEXTEND 2315 + +// Move caret to first position in document. +#define wxSTC_CMD_DOCUMENTSTART 2316 + +// Move caret to first position in document extending selection to new caret position. +#define wxSTC_CMD_DOCUMENTSTARTEXTEND 2317 + +// Move caret to last position in document. +#define wxSTC_CMD_DOCUMENTEND 2318 + +// Move caret to last position in document extending selection to new caret position. +#define wxSTC_CMD_DOCUMENTENDEXTEND 2319 + +// Move caret one page up. +#define wxSTC_CMD_PAGEUP 2320 + +// Move caret one page up extending selection to new caret position. +#define wxSTC_CMD_PAGEUPEXTEND 2321 + +// Move caret one page down. +#define wxSTC_CMD_PAGEDOWN 2322 + +// Move caret one page down extending selection to new caret position. +#define wxSTC_CMD_PAGEDOWNEXTEND 2323 + +// Switch from insert to overtype mode or the reverse. +#define wxSTC_CMD_EDITTOGGLEOVERTYPE 2324 + +// Cancel any modes such as call tip or auto-completion list display. +#define wxSTC_CMD_CANCEL 2325 + +// Delete the selection or if no selection, the character before the caret. +#define wxSTC_CMD_DELETEBACK 2326 + +// If selection is empty or all on one line replace the selection with a tab character. +// If more than one line selected, indent the lines. +#define wxSTC_CMD_TAB 2327 + +// Dedent the selected lines. +#define wxSTC_CMD_BACKTAB 2328 + +// Insert a new line, may use a CRLF, CR or LF depending on EOL mode. +#define wxSTC_CMD_NEWLINE 2329 + +// Insert a Form Feed character. +#define wxSTC_CMD_FORMFEED 2330 + +// Move caret to before first visible character on line. +// If already there move to first character on line. +#define wxSTC_CMD_VCHOME 2331 + +// Like VCHome but extending selection to new caret position. +#define wxSTC_CMD_VCHOMEEXTEND 2332 + +// Magnify the displayed text by increasing the sizes by 1 point. +#define wxSTC_CMD_ZOOMIN 2333 + +// Make the displayed text smaller by decreasing the sizes by 1 point. +#define wxSTC_CMD_ZOOMOUT 2334 + +// Delete the word to the left of the caret. +#define wxSTC_CMD_DELWORDLEFT 2335 + +// Delete the word to the right of the caret. +#define wxSTC_CMD_DELWORDRIGHT 2336 + +// Cut the line containing the caret. +#define wxSTC_CMD_LINECUT 2337 + +// Delete the line containing the caret. +#define wxSTC_CMD_LINEDELETE 2338 + +// Switch the current line with the previous. +#define wxSTC_CMD_LINETRANSPOSE 2339 + +// Transform the selection to lower case. +#define wxSTC_CMD_LOWERCASE 2340 + +// Transform the selection to upper case. +#define wxSTC_CMD_UPPERCASE 2341 + +// Scroll the document down, keeping the caret visible. +#define wxSTC_CMD_LINESCROLLDOWN 2342 + +// Scroll the document up, keeping the caret visible. +#define wxSTC_CMD_LINESCROLLUP 2343 + +// Delete the selection or if no selection, the character before the caret. +// Will not delete the character before at the start of a line. +#define wxSTC_CMD_DELETEBACKNOTLINE 2344 + +// Move caret to first position on display line. +#define wxSTC_CMD_HOMEDISPLAY 2345 + +// Move caret to first position on display line extending selection to +// new caret position. +#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346 + +// Move caret to last position on display line. +#define wxSTC_CMD_LINEENDDISPLAY 2347 + +// Move caret to last position on display line extending selection to new +// caret position. +#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348 + +// Move to the previous change in capitalisation. +#define wxSTC_CMD_WORDPARTLEFT 2390 + +// Move to the previous change in capitalisation extending selection +// to new caret position. +#define wxSTC_CMD_WORDPARTLEFTEXTEND 2391 + +// Move to the change next in capitalisation. +#define wxSTC_CMD_WORDPARTRIGHT 2392 + +// Move to the next change in capitalisation extending selection +// to new caret position. +#define wxSTC_CMD_WORDPARTRIGHTEXTEND 2393 + +// Delete back from the current position to the start of the line. +#define wxSTC_CMD_DELLINELEFT 2395 + +// Delete forwards from the current position to the end of the line. +#define wxSTC_CMD_DELLINERIGHT 2396 + + // END of generated section //---------------------------------------------------------------------- @@ -873,8 +907,11 @@ class ScintillaWX; // forward declare class WordList; struct SCNotification; - -extern const wxChar* wxSTCNameStr; +#ifndef SWIG +extern STCDLLEXPORT const wxChar* wxSTCNameStr; +class STCDLLEXPORT wxStyledTextCtrl; +class STCDLLEXPORT wxStyledTextEvent; +#endif //---------------------------------------------------------------------- @@ -1644,14 +1681,14 @@ public: // Move caret to first position on display line. void HomeDisplay(); - // Move caret to first position on display line extending selection to + // Move caret to first position on display line extending selection to // new caret position. void HomeDisplayExtend(); // Move caret to last position on display line. void LineEndDisplay(); - // Move caret to last position on display line extending selection to new + // Move caret to last position on display line extending selection to new // caret position. void LineEndDisplayExtend(); @@ -1933,6 +1970,7 @@ private: void OnMouseMove(wxMouseEvent& evt); void OnMouseLeftUp(wxMouseEvent& evt); void OnMouseRightUp(wxMouseEvent& evt); + void OnMouseMiddleUp(wxMouseEvent& evt); void OnContextMenu(wxContextMenuEvent& evt); void OnMouseWheel(wxMouseEvent& evt); void OnChar(wxKeyEvent& evt); @@ -1968,7 +2006,7 @@ private: //---------------------------------------------------------------------- -// SWIG can't handle "#if" type of conditionals, onlu "#ifdef" +// SWIG can't handle "#if" type of conditionals, only "#ifdef" #ifdef SWIG #define STC_USE_DND 1 #else diff --git a/include/wx/strconv.h b/include/wx/strconv.h index 7b4b2255f3..7d22b34c0a 100644 --- a/include/wx/strconv.h +++ b/include/wx/strconv.h @@ -54,6 +54,9 @@ public: const wxCharBuffer cWC2WX(const wchar_t *psz) const { return cWC2MB(psz); } const wxWCharBuffer cWX2WC(const char *psz) const { return cMB2WC(psz); } #endif // Unicode/ANSI + + // virtual dtor for any base class + virtual ~wxMBConv(); }; WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc; @@ -115,7 +118,7 @@ public: virtual ~wxCSConv(); wxCSConv& operator=(const wxCSConv& conv); - + void LoadNow(); virtual size_t MB2WC(wchar_t *buf, const char *psz, size_t n) const; @@ -135,6 +138,7 @@ private: #define wxConvFile wxConvLocal WXDLLEXPORT_DATA(extern wxCSConv) wxConvLocal; +WXDLLEXPORT_DATA(extern wxCSConv) wxConvISO8859_1; WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent; // ---------------------------------------------------------------------------- @@ -170,7 +174,7 @@ public: const char* cWX2MB(const char *psz) const { return psz; } }; -WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile, wxConvLocal; +WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile, wxConvLocal, wxConvISO8859_1; WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent; #define wxFNCONV(name) name diff --git a/include/wx/stream.h b/include/wx/stream.h index 488d1905dc..5b80f8766c 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/stream.h -// Purpose: "wxWindows stream" base classes -// Author: Guilhem Lavaux +// Purpose: stream classes +// Author: Guilhem Lavaux, Guillermo Rodriguez Garcia, Vadim Zeitlin // Modified by: // Created: 11/07/98 // RCS-ID: $Id$ @@ -34,30 +34,38 @@ typedef wxOutputStream& (*__wxOutputManip)(wxOutputStream&); WXDLLEXPORT wxOutputStream& wxEndL(wxOutputStream& o_stream); -// --------------------------------------------------------------------------- -// wxStream: base classes -// --------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- +// constants +// ---------------------------------------------------------------------------- enum wxStreamError { - wxSTREAM_NO_ERROR = 0, - wxSTREAM_NO_ERR = wxSTREAM_NO_ERROR, - wxSTREAM_NOERROR = wxSTREAM_NO_ERROR, - - wxSTREAM_EOF, - - wxSTREAM_WRITE_ERROR, - wxSTREAM_WRITE_ERR = wxSTREAM_WRITE_ERROR, - - wxSTREAM_READ_ERROR, - wxSTREAM_READ_ERR = wxSTREAM_READ_ERROR + wxSTREAM_NO_ERROR = 0, // stream is in good state + wxSTREAM_EOF, // EOF reached in Read() or similar + wxSTREAM_WRITE_ERROR, // generic write error + wxSTREAM_READ_ERROR // generic read error }; // compatibility -#define wxStream_NOERROR wxSTREAM_NOERROR -#define wxStream_EOF wxSTREAM_EOF -#define wxStream_WRITE_ERR wxSTREAM_WRITE_ERROR -#define wxStream_READ_ERR wxSTREAM_READ_ERROR +#if WXWIN_COMPATIBILITY_2_2 + #define wxStream_NOERROR wxSTREAM_NOERROR + #define wxStream_EOF wxSTREAM_EOF + #define wxStream_WRITE_ERR wxSTREAM_WRITE_ERROR + #define wxStream_READ_ERR wxSTREAM_READ_ERROR + + #define wxSTREAM_NO_ERR wxSTREAM_NO_ERROR + #define wxSTREAM_NOERROR wxSTREAM_NO_ERROR + #define wxSTREAM_WRITE_ERR wxSTREAM_WRITE_ERROR + #define wxSTREAM_READ_ERR wxSTREAM_READ_ERROR +#endif // WXWIN_COMPATIBILITY_2_2 + +// ============================================================================ +// base stream classes: wxInputStream and wxOutputStream +// ============================================================================ + +// --------------------------------------------------------------------------- +// wxStreamBase: common (but non virtual!) base for all stream classes +// --------------------------------------------------------------------------- class WXDLLEXPORT wxStreamBase { @@ -67,80 +75,168 @@ public: // error testing wxStreamError GetLastError() const { return m_lasterror; } - bool IsOk() const { return LastError() == wxSTREAM_NOERROR; } - bool operator!() const { return LastError() != wxSTREAM_NOERROR; } + bool IsOk() const { return GetLastError() == wxSTREAM_NO_ERROR; } + bool operator!() const { return !IsOk(); } + // reset the stream state + void Reset() { m_lasterror = wxSTREAM_NO_ERROR; } + + // deprecated (doesn't make sense!), don't use virtual size_t GetSize() const { return 0; } +#if WXWIN_COMPATIBILITY_2_2 // deprecated, for compatibility only wxStreamError LastError() const { return m_lasterror; } size_t StreamSize() const { return GetSize(); } +#endif // WXWIN_COMPATIBILITY_2_2 protected: - // VZ: these functions are really pure virtual and shouldn't be declared - // in the base class because it creates ambiguties in stream classes - // deriving from both wxInputStream and wxOutputStream -#if 0 - virtual size_t OnSysRead(void *buffer, size_t bufsize); - virtual size_t OnSysWrite(const void *buffer, size_t bufsize); -#endif - virtual off_t OnSysSeek(off_t seek, wxSeekMode mode); virtual off_t OnSysTell() const; - friend class wxStreamBuffer; - size_t m_lastcount; wxStreamError m_lasterror; + + friend class wxStreamBuffer; }; -class WXDLLEXPORT wxInputStream : /* virtual */ public wxStreamBase +// ---------------------------------------------------------------------------- +// wxInputStream: base class for the input streams +// ---------------------------------------------------------------------------- + +class WXDLLEXPORT wxInputStream : public wxStreamBase { public: + // ctor and dtor, nothing exciting wxInputStream(); virtual ~wxInputStream(); - // is the stream at EOF? - virtual bool Eof() const; // IO functions + // ------------ + + // return a character from the stream without removing it, i.e. it will + // still be returned by the next call to GetC() + // + // blocks until something appears in the stream if necessary, if nothing + // ever does (i.e. EOF) LastRead() will return 0 (and the return value is + // undefined), otherwise 1 virtual char Peek(); + + // return one character from the stream, blocking until it appears if + // necessary + // + // if EOF, return value is undefined and LastRead() will return 0 and not 1 char GetC(); + + // read at most the given number of bytes from the stream + // + // there are 2 possible situations here: either there is nothing at all in + // the stream right now in which case Read() blocks until something appears + // (use CanRead() to avoid this) or there is already some data available in + // the stream and then Read() doesn't block but returns just the data it + // can read without waiting for more + // + // in any case, if there are not enough bytes in the stream right now, + // LastRead() value will be less than size but greater than 0. If it is 0, + // it means that EOF has been reached. virtual wxInputStream& Read(void *buffer, size_t size); - wxInputStream& Read(wxOutputStream& stream_out); - // Position functions - virtual off_t SeekI(off_t pos, wxSeekMode mode = wxFromStart); - virtual off_t TellI() const; + // copy the entire contents of this stream into streamOut, stopping only + // when EOF is reached or an error occurs + wxInputStream& Read(wxOutputStream& streamOut); + + + // status functions + // ---------------- + + // returns the number of bytes read by the last call to Read(), GetC() or + // Peek() + // + // this should be used to discover whether that call succeeded in reading + // all the requested data or not + virtual size_t LastRead() const { return wxStreamBase::m_lastcount; } + + // returns TRUE if some data is available in the stream right now, so that + // calling Read() wouldn't block + virtual bool CanRead() const; - // State functions - virtual size_t LastRead() { return wxStreamBase::m_lastcount; } + // is the stream at EOF? + // + // note that this cannot be really implemented for all streams and + // CanRead() is more reliable than Eof() + virtual bool Eof() const; + + + // write back buffer + // ----------------- - // Ungetch + // put back the specified number of bytes into the stream, they will be + // fetched by the next call to the read functions + // + // returns the number of bytes really stuffed back size_t Ungetch(const void *buffer, size_t size); + + // put back the specified character in the stream + // + // returns TRUE if ok, FALSE on error bool Ungetch(char c); - // Operators + + // position functions + // ------------------ + + // move the stream pointer to the given position (if the stream supports + // it) + // + // returns wxInvalidOffset on error + virtual off_t SeekI(off_t pos, wxSeekMode mode = wxFromStart); + + // return the current position of the stream pointer or wxInvalidOffset + virtual off_t TellI() const; + + + // stream-like operators + // --------------------- + wxInputStream& operator>>(wxOutputStream& out) { return Read(out); } - wxInputStream& operator>>( __wxInputManip func) { return func(*this); } + wxInputStream& operator>>(__wxInputManip func) { return func(*this); } protected: - // to be implemented in the derived classes (it should have been pure - // virtual) - virtual size_t OnSysRead(void *buffer, size_t bufsize); + // do read up to size bytes of data into the provided buffer + // + // this method should return 0 if EOF has been reached or an error occured + // (m_lasterror should be set accordingly as well) or the number of bytes + // read + virtual size_t OnSysRead(void *buffer, size_t size) = 0; + + // write-back buffer support + // ------------------------- + + // return the pointer to a buffer big enough to hold sizeNeeded bytes + char *AllocSpaceWBack(size_t sizeNeeded); + + // read up to size data from the write back buffer, return the number of + // bytes read + size_t GetWBack(void *buf, size_t size); - // Ungetch managers + // write back buffer or NULL if none char *m_wback; + + // the size of the buffer size_t m_wbacksize; - size_t m_wbackcur; - char *AllocSpaceWBack(size_t needed_size); - size_t GetWBack(void *buf, size_t bsize); + // the current position in the buffer + size_t m_wbackcur; friend class wxStreamBuffer; }; -class WXDLLEXPORT wxOutputStream : /* virtual */ public wxStreamBase +// ---------------------------------------------------------------------------- +// wxOutputStream: base for the output streams +// ---------------------------------------------------------------------------- + +class WXDLLEXPORT wxOutputStream : public wxStreamBase { public: wxOutputStream(); @@ -168,6 +264,10 @@ protected: friend class wxStreamBuffer; }; +// ============================================================================ +// helper stream classes +// ============================================================================ + // --------------------------------------------------------------------------- // A stream for measuring streamed output // --------------------------------------------------------------------------- @@ -224,6 +324,10 @@ protected: wxOutputStream *m_parent_o_stream; }; +// ============================================================================ +// buffered streams +// ============================================================================ + // --------------------------------------------------------------------------- // Stream buffer: this class can be derived from and passed to // wxBufferedStreams to implement custom buffering @@ -240,7 +344,6 @@ public: }; wxStreamBuffer(wxStreamBase& stream, BufMode mode); - wxStreamBuffer(BufMode mode); wxStreamBuffer(const wxStreamBuffer& buf); virtual ~wxStreamBuffer(); @@ -294,6 +397,10 @@ public: // deprecated, for compatibility only wxStreamBase *Stream() { return m_stream; } + // this constructs a dummy wxStreamBuffer, used by (and exists for) + // wxMemoryStreams only, don't use! + wxStreamBuffer(BufMode mode); + protected: void GetFromBuffer(void *buffer, size_t size); void PutToBuffer(const void *buffer, size_t size); @@ -328,13 +435,12 @@ protected: // flags bool m_destroybuf, // deallocate buffer? - m_destroystream, // delete associated stream? m_fixed, m_flushable; }; // --------------------------------------------------------------------------- -// wxBufferedStreams +// wxBufferedInputStream // --------------------------------------------------------------------------- class WXDLLEXPORT wxBufferedInputStream : public wxFilterInputStream @@ -367,6 +473,10 @@ protected: wxStreamBuffer *m_i_streambuf; }; +// ---------------------------------------------------------------------------- +// wxBufferedOutputStream +// ---------------------------------------------------------------------------- + class WXDLLEXPORT wxBufferedOutputStream : public wxFilterOutputStream { public: diff --git a/include/wx/string.h b/include/wx/string.h index 1c6dbc1f0b..559817da01 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -314,7 +314,7 @@ public: // from multibyte string // (NB: nLength is right now number of Unicode characters, not // characters in psz! So try not to use it yet!) - wxString(const char *psz, wxMBConv& conv = wxConvLibc, size_t nLength = wxSTRING_MAXLEN); + wxString(const char *psz, wxMBConv& conv, size_t nLength = wxSTRING_MAXLEN); // from wxWCharBuffer (i.e. return from wxGetString) wxString(const wxWCharBuffer& psz) { InitWith(psz, 0, wxSTRING_MAXLEN); } @@ -461,14 +461,16 @@ public: // the behaviour of these functions with the strings containing anything // else than 7 bit ASCII characters is undefined, use at your own risk. #if wxUSE_UNICODE - static wxString FromAscii(const char *ascii); + static wxString FromAscii(const char *ascii); // string + static wxString FromAscii(const char ascii); // char const wxCharBuffer ToAscii() const; #else // ANSI static wxString FromAscii(const char *ascii) { return wxString( ascii ); } + static wxString FromAscii(const char ascii) { return wxString( ascii ); } const char *ToAscii() const { return c_str(); } #endif // Unicode/!Unicode - // conversions with (possible) format convertions: have to return a + // conversions with (possible) format conversions: have to return a // buffer with temporary data // // the functions defined (in either Unicode or ANSI) mode are mb_str() to @@ -833,7 +835,7 @@ public: // returns true if the string is empty bool empty() const { return IsEmpty(); } // inform string about planned change in size - void reserve(size_t size) { Alloc(size); } + void reserve(size_t sz) { Alloc(sz); } // lib.string.access // return the character at position n diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index c7087c669a..32d8379a0d 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -81,10 +81,10 @@ public: bool Create(const wxString& strBufferName); // Open() also loads buffer in memory on success - bool Open(wxMBConv& conv = wxConvLibc); + bool Open(wxMBConv& conv = wxConvISO8859_1); // same as Open() but with (another) buffer name - bool Open(const wxString& strBufferName, wxMBConv& conv = wxConvLibc); + bool Open(const wxString& strBufferName, wxMBConv& conv = wxConvISO8859_1); // closes the buffer and frees memory, losing all changes bool Close(); @@ -148,7 +148,7 @@ public: // change the buffer (default argument means "don't change type") // possibly in another format bool Write(wxTextFileType typeNew = wxTextFileType_None, - wxMBConv& conv = wxConvLibc); + wxMBConv& conv = wxConvISO8859_1); // dtor virtual ~wxTextBuffer(); @@ -171,8 +171,7 @@ protected: wxTextBufferOpenMode openmode) = 0; virtual bool OnClose() = 0; virtual bool OnRead(wxMBConv& conv) = 0; - virtual bool OnWrite(wxTextFileType typeNew, - wxMBConv& conv = wxConvLibc) = 0; + virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv) = 0; wxString m_strBufferName; // name of the buffer diff --git a/include/wx/textfile.h b/include/wx/textfile.h index b66afc76c4..43024f64db 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -44,7 +44,7 @@ protected: wxTextBufferOpenMode OpenMode); virtual bool OnClose(); virtual bool OnRead(wxMBConv& conv); - virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv = wxConvLibc); + virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv); private: wxFile m_file; diff --git a/include/wx/txtstrm.h b/include/wx/txtstrm.h index d7948933f7..dff4466bd1 100644 --- a/include/wx/txtstrm.h +++ b/include/wx/txtstrm.h @@ -28,10 +28,15 @@ typedef wxTextOutputStream& (*__wxTextOutputManip)(wxTextOutputStream&); WXDLLEXPORT wxTextOutputStream &endl( wxTextOutputStream &stream ); + class WXDLLEXPORT wxTextInputStream { public: +#if wxUSE_UNICODE + wxTextInputStream(wxInputStream& s, const wxString &sep=wxT(" \t"), wxMBConv& conv = wxConvUTF8 ); +#else wxTextInputStream(wxInputStream& s, const wxString &sep=wxT(" \t") ); +#endif ~wxTextInputStream(); wxUint32 Read32(); @@ -60,13 +65,18 @@ public: protected: wxInputStream &m_input; wxString m_separators; + +#if wxUSE_UNICODE + wxMBConv &m_conv; +#endif bool EatEOL(const wxChar &c); wxChar NextNonSeparators(); void SkipIfEndOfLine( wxChar c ); }; -typedef enum { +typedef enum +{ wxEOL_NATIVE, wxEOL_UNIX, wxEOL_MAC, @@ -76,7 +86,11 @@ typedef enum { class WXDLLEXPORT wxTextOutputStream { public: +#if wxUSE_UNICODE + wxTextOutputStream( wxOutputStream& s, wxEOL mode = wxEOL_NATIVE, wxMBConv& conv = wxConvUTF8 ); +#else wxTextOutputStream( wxOutputStream& s, wxEOL mode = wxEOL_NATIVE ); +#endif virtual ~wxTextOutputStream(); void SetMode( wxEOL mode = wxEOL_NATIVE ); @@ -103,6 +117,11 @@ public: protected: wxOutputStream &m_output; wxEOL m_mode; + +#if wxUSE_UNICODE + wxMBConv &m_conv; +#endif + }; #endif diff --git a/include/wx/univ/listbox.h b/include/wx/univ/listbox.h index aa608cfba6..363f523ac8 100644 --- a/include/wx/univ/listbox.h +++ b/include/wx/univ/listbox.h @@ -129,10 +129,10 @@ public: void Activate(int item = -1); // select or unselect the specified or current (if -1) item - void Select(bool sel = TRUE, int item = -1); + void DoSelect(int item = -1, bool sel = TRUE); // more readable wrapper - void Unselect(int item) { Select(FALSE, item); } + void DoUnselect(int item) { DoSelect(item, FALSE); } // select an item and send a notification about it void SelectAndNotify(int item); diff --git a/include/wx/univ/setup.h b/include/wx/univ/setup.h index 1873148307..ed4f25881e 100644 --- a/include/wx/univ/setup.h +++ b/include/wx/univ/setup.h @@ -13,500 +13,1316 @@ #define _WX_UNIV_SETUP_H_ // ---------------------------------------------------------------------------- -// not all ports implement everything... +// global settings // ---------------------------------------------------------------------------- -// FIXME: why do we have different sections for Mac/OS2/the rest? Most settings -// should have the same value, like this it's a real pain to update this -// file... +// define this to 0 when building wxBase library - this can also be done from +// makefile/project file overriding the value here +#ifndef wxUSE_GUI + #define wxUSE_GUI 1 +#endif // wxUSE_GUI -#define wxUSE_DYNAMIC_LOADER 0 +// ---------------------------------------------------------------------------- +// compatibility settings +// ---------------------------------------------------------------------------- -#define wxUSE_PROTOCOL 0 -#define wxUSE_URL 0 +// This setting determines the compatibility with 1.68 API: +// Level 0: no backward compatibility, all new features +// Level 1: some extra methods are defined for compatibility. +// +// Default is 0. +// +// Recommended setting: 0 (in fact the compatibility code is now very minimal +// so there is little advantage to setting it to 1. +#define WXWIN_COMPATIBILITY 0 -#define wxUSE_UNICODE_MSLU 0 +// This setting determines the compatibility with 2.0 API: set it to 1 to +// enable it +// +// Default is 0. +// +// Recommended setting: 0 (please update your code instead!) +#define WXWIN_COMPATIBILITY_2 0 + +// This setting determines the compatibility with 2.0 API: set it to 1 to +// enable it +// +// Default is 1. +// +// Recommended setting: 0 (please update your code instead!) +#define WXWIN_COMPATIBILITY_2_2 0 + +// in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap, +// but this is very dangerous because you can mistakenly pass an icon instead +// of a bitmap to a function taking "const wxBitmap&" - which will *not* work +// because an icon is not a valid bitmap +// +// Starting from 2.1.12, you have the choice under this backwards compatible +// behaviour (your code will still compile, but probably won't behave as +// expected!) and not deriving wxIcon class from wxBitmap, but providing a +// conversion ctor wxBitmap(const wxIcon&) instead. +// +// Recommended setting: 0 +#define wxICON_IS_BITMAP 0 + +// Define as 1 for font size to be backward compatible to 1.63 and earlier. +// 1.64 and later define point sizes to be compatible with Windows. +// +// Default is 0 +// +// Recommended setting: 0 +#define wxFONT_SIZE_COMPATIBILITY 0 + +// Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. +// If migrating between versions, your dialogs may seem to shrink. +// +// Default is 1 +// +// Recommended setting: 0 (the new calculations are more correct!) +#define wxDIALOG_UNIT_COMPATIBILITY 0 + +// ---------------------------------------------------------------------------- +// debugging settings +// ---------------------------------------------------------------------------- -#if defined(__WXMAC__) +// Generic comment about debugging settings: they are very useful if you don't +// use any other memory leak detection tools such as Purify/BoundsChecker, but +// are probably redundant otherwise. Also, Visual C++ CRT has the same features +// as wxWindows memory debugging subsystem built in since version 5.0 and you +// may prefer to use it instead of built in memory debugging code because it is +// faster and more fool proof. +// +// Using VC++ CRT memory debugging is enabled by default in debug mode +// (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0) +// and if __NO_VC_CRTDBG__ is not defined. -#define wxUSE_GUI 1 -#define WXWIN_COMPATIBILITY 0 -#define wxICON_IS_BITMAP 0 -#define wxFONT_SIZE_COMPATIBILITY 0 -#define wxDIALOG_UNIT_COMPATIBILITY 0 -#define wxUSE_DEBUG_CONTEXT 0 +// If 1, enables wxDebugContext, for writing error messages to file, etc. If +// __WXDEBUG__ is not defined, will still use the normal memory operators. +// +// Default is 0 +// +// Recommended setting: 0 +#ifdef __MWERKS__ + #define wxUSE_DEBUG_CONTEXT 1 +#else + #define wxUSE_DEBUG_CONTEXT 0 +#endif + +// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF* +// __WXDEBUG__ is also defined. +// +// WARNING: this code may not work with all architectures, especially if +// alignment is an issue. This switch is currently ignored for mingw / cygwin +// +// Default is 0 +// +// Recommended setting: 1 if you are not using a memory debugging tool, else 0 #define wxUSE_MEMORY_TRACING 0 + +// In debug mode, cause new and delete to be redefined globally. +// If this causes problems (e.g. link errors which is a common problem +// especially if you use another library which also redefines the global new +// and delete), set this to 0. +// This switch is currently ignored for mingw / cygwin +// +// Default is 0 +// +// Recommended setting: 0 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + +// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If +// this causes problems (e.g. link errors), set this to 0. You may need to set +// this to 0 if using templates (at least for VC++). This switch is currently +// ignored for mingw / cygwin / CodeWarrior +// +// Default is 0 +// +// Recommended setting: 0 #define wxUSE_DEBUG_NEW_ALWAYS 0 -#define wxUSE_ON_FATAL_EXCEPTION 0 +// wxHandleFatalExceptions() may be used to catch the program faults at run +// time and, instead of terminating the program with a usual GPF message box, +// call the user-defined wxApp::OnFatalException() function. If you set +// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work. +// +// This setting is for Win32 only and can only be enabled if your compiler +// supports Win32 structured exception handling (currently only VC++ does) +// +// Default is 1 +// +// Recommended setting: 1 if your compiler supports it. +#ifdef _MSC_VER + #define wxUSE_ON_FATAL_EXCEPTION 1 +#else + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif + +// ---------------------------------------------------------------------------- +// Unicode support +// ---------------------------------------------------------------------------- + +// Set wxUSE_UNICODE to 1 to compile wxWindows in Unicode mode: wxChar will be +// defined as wchar_t, wxString will use Unicode internally. If you set this +// to 1, you must use wxT() macro for all literal strings in the program. +// +// Unicode is currently only fully supported under Windows NT/2000/XP (Windows 9x +// doesn't support it and the programs compiled in Unicode mode will not run +// under 9x). +// +// Default is 0 +// +// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP) #define wxUSE_UNICODE 0 -#define wxUSE_WCHAR_T 0 + +// Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWindows in Unicode mode +// and be able to run compiled apps under Windows 9x as well as NT/2000/XP. This +// setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see +// http://www.microsoft.com/globaldev/Articles/mslu_announce.asp). Note that you +// will have to modify the makefiles to include unicows.lib import library as the first +// library (if you use MSVC, you can run the makefile with "nmake MSLU=1 UNICODE=1" +// command). +// +// If your compiler doesn't have unicows.lib, you can get a version of it at +// http://libunicows.sourceforge.net +// +// Default is 0 +// +// Recommended setting: 0 +#define wxUSE_UNICODE_MSLU 0 + +// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without +// compiling the program in Unicode mode. More precisely, it will be possible +// to construct wxString from a wide (Unicode) string and convert any wxString +// to Unicode. +// +// Default is 1 +// +// Recommended setting: 1 for win32 else 0 +#if defined(__WIN32__) + #define wxUSE_WCHAR_T 0 //? unresolved external symbol wxCharsetToCodepage +#else + #define wxUSE_WCHAR_T 0 +#endif + +// ---------------------------------------------------------------------------- +// global features +// ---------------------------------------------------------------------------- + +// Support for message/error logging. This includes wxLogXXX() functions and +// wxLog and derived classes. Don't set this to 0 unless you really know what +// you are doing. +// +// Default is 1 +// +// Recommended setting: 1 (always) #define wxUSE_LOG 1 -#define wxUSE_LOGGUI 1 + +// Support for command line parsing using wxCmdLineParser class. +// +// Default is 1 +// +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line) +#define wxUSE_CMDLINE_PARSER 1 + +// Recommended setting: 1 #define wxUSE_LOGWINDOW 1 -#define wxUSE_LOG_DIALOG 0 -#define wxUSE_THREADS 0 -#define wxUSE_STREAMS 0 -#define wxUSE_STD_IOSTREAM 0 -#define wxUSE_SERIAL 0 -#define wxUSE_LONGLONG 1 -#define wxUSE_TIMER 1 -#define wxUSE_STOPWATCH 1 -#define wxUSE_TIMEDATE 0 -#define wxUSE_DATETIME 1 -#define wxUSE_CONFIG 0 -#define wxUSE_CONFIG_NATIVE 0 -#define wxUSE_DIALUP_MANAGER 0 -#define wxUSE_DYNLIB_CLASS 0 -#define wxUSE_SOCKETS 0 -#define wxUSE_FILESYSTEM 0 -#define wxUSE_FS_ZIP 0 -#define wxUSE_FS_INET 0 -#define wxUSE_ZIPSTREAM 0 -#define wxUSE_ZLIB 0 -#define wxUSE_FILESYSTEM 0 -#define wxUSE_FS_ZIP 0 -#define wxUSE_FS_INET 0 -#define wxUSE_ZIPSTREAM 0 -#define wxUSE_ZLIB 0 -#define wxUSE_APPLE_IEEE 0 -#define wxUSE_FILE 1 -#define wxUSE_FFILE 1 -#define wxUSE_TEXTFILE 0 -#define wxUSE_INTL 0 -#define wxUSE_MENUS 0 // was 1 -#define wxUSE_TOOLBAR 1 -#define wxUSE_TOOLBAR_NATIVE 0 -#define wxUSE_TOOLBAR_SIMPLE 0 -#define wxUSE_NOTEBOOK 1 -#define wxUSE_FONTMAP 0 -#define wxUSE_MIMETYPE 0 -#define wxUSE_IMAGE 1 -#define wxUSE_SYSTEM_OPTIONS 1 -#define wxUSE_CONTROLS 1 -#define wxUSE_POPUPWIN 1 -#define wxUSE_TIPWINDOW 1 -#define wxUSE_BUTTON 1 -#define wxUSE_BMPBUTTON 1 -#define wxUSE_CALENDARCTRL 0 -#define wxUSE_CARET 1 -#define wxUSE_CHECKBOX 1 -#define wxUSE_CHECKLISTBOX 1 -#define wxUSE_CHOICE 0 -#define wxUSE_COMBOBOX 0 // was 1 -#define wxUSE_GAUGE 1 -#define wxUSE_IMAGLIST 1 -#define wxUSE_LISTBOX 1 -#define wxUSE_LISTCTRL 0 -#define wxUSE_RADIOBOX 1 -#define wxUSE_RADIOBTN 1 -#define wxUSE_SASH 0 -#define wxUSE_SCROLLBAR 1 -#define wxUSE_SLIDER 1 -#define wxUSE_SPINBTN 1 -#define wxUSE_SPINCTRL 1 -#define wxUSE_STATBOX 1 -#define wxUSE_STATLINE 1 -#define wxUSE_STATTEXT 1 -#define wxUSE_STATBMP 1 -#define wxUSE_STATUSBAR 1 -#define wxUSE_TEXTCTRL 1 -#define wxUSE_TOOLTIPS 0 -#define wxUSE_TREECTRL 0 - -#define wxUSE_NATIVE_STATUSBAR 0 -#define wxUSE_BUTTONBAR 0 -#define wxUSE_GRID 0 -#define wxUSE_NEW_GRID 0 -#define wxUSE_VALIDATORS 0 -#define wxUSE_DC_CACHEING 0 -#define wxUSE_ACCEL 1 -#define wxUSE_GENERIC_DIALOGS_IN_MSW 0 -#define wxUSE_COMMON_DIALOGS 0 -#define wxUSE_TEXTDLG 0 -#define wxUSE_PROGRESSDLG 0 -#define wxUSE_BUSYINFO 0 -#define wxUSE_DIRDLG 0 -#define wxUSE_FONTDLG 0 -#define wxUSE_FILEDLG 0 -#define wxUSE_FILEDLG 0 -#define wxUSE_COLOURDLG 0 -#define wxUSE_CHOICEDLG 0 -#define wxUSE_NUMBERDLG 1 -#define wxUSE_STARTUP_TIPS 0 -#define wxUSE_MSGDLG 1 -#define wxUSE_SPLITTER 1 -#define wxUSE_TAB_DIALOG 0 - -#define wxUSE_JOYSTICK 0 -#define wxUSE_METAFILE 0 -#define wxUSE_ENH_METAFILE 0 -#define wxUSE_WIN_METAFILES_ALWAYS 0 -#define wxUSE_DOC_VIEW_ARCHITECTURE 0 -#define wxUSE_MDI_ARCHITECTURE 0 -#define wxUSE_PRINTING_ARCHITECTURE 0 -#define wxUSE_HTML 0 -#define wxUSE_PLOT 0 -#define wxUSE_GLCANVAS 0 -#define wxUSE_TREELAYOUT 0 -#define wxUSE_IPC 0 -#define wxUSE_HELP 0 -#define wxUSE_MS_HTML_HELP 0 -#define wxUSE_RESOURCES 0 -#define wxUSE_CONSTRAINTS 1 -#define wxUSE_CLIPBOARD 0 -#define wxUSE_DATAOBJ 1 -#define wxUSE_SPLINES 0 -#define wxUSE_DRAG_AND_DROP 0 -#define wxUSE_XPM_IN_MSW 1 -#define wxUSE_XPM 1 -#define wxUSE_IMAGE_LOADING_IN_MSW 1 -#define wxUSE_RESOURCE_LOADING_IN_MSW 0 -#define wxUSE_WX_RESOURCES 0 -#define wxUSE_POSTSCRIPT 0 -#define wxUSE_AFM_FOR_POSTSCRIPT 0 -#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 -#define wxUSE_ODBC 0 -#define wxODBC_FWD_ONLY_CURSORS 0 -#define wxODBC_BACKWARD_COMPATABILITY 0 -#define REMOVE_UNUSED_ARG 1 -#define wxUSE_IOSTREAMH 0 +// Recommended setting: 1 +#define wxUSE_LOGGUI 1 -#define wxUSE_ICO_CUR 1 +// Recommended setting: 1 +#define wxUSE_LOG_DIALOG 1 -#define wxUSE_MFC 0 -#define wxUSE_OLE 0 -#define wxUSE_CTL3D 0 -#define wxUSE_ITSY_BITSY 0 -#define wxUSE_DYNAMIC_CLASSES 1 +// Support for multithreaded applications: if 1, compile in thread classes +// (thread.h) and make the library a bit more thread safe. Although thread +// support is quite stable by now, you may still consider recompiling the +// library without it if you have no use for it - this will result in a +// somewhat smaller and faster operation. +// +// This is ignored under Win16, threads are only supported under Win32. +// +// Default is 1 +// +// Recommended setting: 0 unless you do plan to develop MT applications +#define wxUSE_THREADS 1 +// If enabled (1), compiles wxWindows streams classes +#define wxUSE_STREAMS 1 -#elif defined(__WXPM__) +// Use standard C++ streams if 1. If 0, use wxWin streams implementation. +#ifdef __MWERKS__ + #define wxUSE_STD_IOSTREAM 1 +#else + #define wxUSE_STD_IOSTREAM 0 +#endif -#define wxUSE_GUI 1 -#define WXWIN_COMPATIBILITY 0 -#define wxICON_IS_BITMAP 0 -#define wxFONT_SIZE_COMPATIBILITY 0 -#define wxDIALOG_UNIT_COMPATIBILITY 0 -#define wxUSE_DEBUG_CONTEXT 0 -#define wxUSE_MEMORY_TRACING 0 -#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 -#define wxUSE_DEBUG_NEW_ALWAYS 0 -#define wxUSE_ON_FATAL_EXCEPTION 0 +// ---------------------------------------------------------------------------- +// non GUI features selection +// ---------------------------------------------------------------------------- -#define wxUSE_UNICODE 0 -#define wxUSE_WCHAR_T 0 -#define wxUSE_LOG 1 -#define wxUSE_LOGGUI 1 -#define wxUSE_LOGWINDOW 1 -#define wxUSE_LOG_DIALOG 0 -#define wxUSE_THREADS 0 -#define wxUSE_STREAMS 0 -#define wxUSE_STD_IOSTREAM 0 -#define wxUSE_SERIAL 0 -#define wxUSE_LONGLONG 1 -#define wxUSE_TIMER 1 -#define wxUSE_STOPWATCH 1 -#define wxUSE_TIMEDATE 0 -#define wxUSE_DATETIME 1 -#define wxUSE_CONFIG 0 -#define wxUSE_CONFIG_NATIVE 0 -#define wxUSE_DIALUP_MANAGER 0 -#define wxUSE_DYNLIB_CLASS 0 -#define wxUSE_SOCKETS 0 -#define wxUSE_FILESYSTEM 0 -#define wxUSE_FS_ZIP 0 -#define wxUSE_FS_INET 0 -#define wxUSE_ZIPSTREAM 0 -#define wxUSE_ZLIB 0 -#define wxUSE_APPLE_IEEE 0 -#define wxUSE_FILE 1 -#define wxUSE_FFILE 1 -#define wxUSE_TEXTFILE 0 -#define wxUSE_INTL 0 -#define wxUSE_MENUS 1 -#define wxUSE_TOOLBAR 1 -#define wxUSE_TOOLBAR_NATIVE 0 -#define wxUSE_TOOLBAR_SIMPLE 0 -#define wxUSE_NOTEBOOK 1 -#define wxUSE_FONTMAP 0 -#define wxUSE_MIMETYPE 0 -#define wxUSE_IMAGE 1 +// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit +// integer which is implemented in terms of native 64 bit integers if any or +// uses emulation otherwise. +// +// This class is required by wxDateTime and so you should enable it if you want +// to use wxDateTime. For most modern platforms, it will use the native 64 bit +// integers in which case (almost) all of its functions are inline and it +// almost does not take any space, so there should be no reason to switch it +// off. +// +// Recommended setting: 1 +#define wxUSE_LONGLONG 1 + +// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level +// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions. +// +// Default is 1 +// +// Recommended setting: 1 (wxFile is highly recommended as it is required by +// i18n code, wxFileConfig and others) +#define wxUSE_FILE 1 +#define wxUSE_FFILE 1 + +// Use wxFSVolume class providing access to the configured/active mount points +// +// Default is 1 +// +// Recommended setting: 1 (but may be safely disabled if you don't use it) +#define wxUSE_FSVOLUME 1 + +// use wxTextBuffer class: required by wxTextFile +#define wxUSE_TEXTBUFFER 1 + +// use wxTextFile class: requires wxFile and wxTextBuffer, required by +// wxFileConfig +#define wxUSE_TEXTFILE 1 + +// i18n support: _() macro, wxLocale class. Requires wxTextFile. +#define wxUSE_INTL 1 + +// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which +// allow to manipulate dates, times and time intervals. wxDateTime replaces the +// old wxTime and wxDate classes which are still provided for backwards +// compatibility (and implemented in terms of wxDateTime). +// +// Note that this class is relatively new and is still officially in alpha +// stage because some features are not yet (fully) implemented. It is already +// quite useful though and should only be disabled if you are aiming at +// absolutely minimal version of the library. +// +// Requires: wxUSE_LONGLONG +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_DATETIME 1 + +// wxUSE_TIMEDATE enables compilation of the old wxDate and wxTime classes (not +// the same as wxDateTime!). These classes are obsolete and shouldn't be used +// in new code +// +// Default is 0 +// +// Recommended setting: 0 unless you have legacy code which uses these classes +#define wxUSE_TIMEDATE 0 + +// Set wxUSE_TIMER to 1 to compile wxTimer class +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_TIMER 1 + +// Use wxStopWatch clas. +// +// Default is 1 +// +// Recommended setting: 1 (needed by wxSocket) +#define wxUSE_STOPWATCH 1 + +// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes +// which allow the application to store its settings in the persistent +// storage. Setting this to 1 will also enable on-demand creation of the +// global config object in wxApp. +// +// See also wxUSE_CONFIG_NATIVE below. +// +// Recommended setting: 1 +#define wxUSE_CONFIG 1 + +// If wxUSE_CONFIG is 1, you may choose to use either the native config +// classes under Windows (using .INI files under Win16 and the registry under +// Win32) or the portable text file format used by the config classes under +// Unix. +// +// Default is 1 to use native classes. Note that you may still use +// wxFileConfig even if you set this to 1 - just the config object created by +// default for the applications needs will be a wxRegConfig or wxIniConfig and +// not wxFileConfig. +// +// Recommended setting: 0 (universal should not use native) +#if defined(__WIN32__) + #define wxUSE_CONFIG_NATIVE 0 +#else + #define wxUSE_CONFIG_NATIVE 0 +#endif + +// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows +// to connect/disconnect from the network and be notified whenever the dial-up +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER. +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_DIALUP_MANAGER 1 +#else + #define wxUSE_DIALUP_MANAGER 0 +#endif + +// Compile in classes for run-time DLL loading and function calling. +// Required by wxUSE_DIALUP_MANAGER. +// +// This setting is for Win32 only +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_DYNLIB_CLASS 1 +#else + #define wxUSE_DYNLIB_CLASS 0 +#endif + +// experimental, don't use for now +#if defined(__WIN32__) + #define wxUSE_DYNAMIC_LOADER 1 +#else + #define wxUSE_DYNAMIC_LOADER 0 +#endif + +// Set to 1 to use socket classes +#define wxUSE_SOCKETS 1 + +// Set to 1 to enable virtual file systems (required by wxHTML) +#define wxUSE_FILESYSTEM 1 + +// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM) +#define wxUSE_FS_ZIP 1 + +// Set to 1 to compile wxZipInput/OutputStream classes. +#define wxUSE_ZIPSTREAM 1 + +// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by +// wxUSE_LIBPNG. +#define wxUSE_ZLIB 1 + +// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM) +#define wxUSE_FS_INET 1 + +// If enabled, the code written by Apple will be used to write, in a portable +// way, float on the disk. See extended.c for the license which is different +// from wxWindows one. +// +// Default is 1. +// +// Recommended setting: 1 unless you don't like the license terms (unlikely) +#define wxUSE_APPLE_IEEE 1 + +// Joystick support class +#if defined(__WIN32__) + #define wxUSE_JOYSTICK 1 +#else + #define wxUSE_JOYSTICK 1 +#endif + +// wxFontMapper class +#define wxUSE_FONTMAP 1 + +// wxMimeTypesManager class +#define wxUSE_MIMETYPE 1 + +// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP +// or wxURL you need to set this to 1. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_PROTOCOL 1 + +// Define this to use wxURL class. +#define wxUSE_URL 1 + +// The settings for the individual URL schemes +#define wxUSE_PROTOCOL_FILE 1 +#define wxUSE_PROTOCOL_FTP 1 +#define wxUSE_PROTOCOL_HTTP 1 + +// Support for regular expression matching via wxRegEx class: enable this to +// use POSIX regular expressions in your code. You need to compile regex +// library from src/regex to use it under Windows. +// +// Default is 0 +// +// Recommended setting: 1 if your compiler supports it, if it doesn't please +// contribute us a makefile for src/regex for it +#define wxUSE_REGEX 1 + +// wxSystemOptions class #define wxUSE_SYSTEM_OPTIONS 1 +// wxWave class +#if defined(__WIN32__) + #define wxUSE_WAVE 1 +#else + #define wxUSE_WAVE 1 +#endif + +// ---------------------------------------------------------------------------- +// Individual GUI controls +// ---------------------------------------------------------------------------- + +// You must set wxUSE_CONTROLS to 1 if you are using any controls at all +// (without it, wxControl class is not compiled) +// +// Default is 1 +// +// Recommended setting: 1 (don't change except for very special programs) #define wxUSE_CONTROLS 1 -#define wxUSE_POPUPWIN 1 -#define wxUSE_TIPWINDOW 1 -#define wxUSE_BUTTON 1 -#define wxUSE_BMPBUTTON 1 -#define wxUSE_CALENDARCTRL 0 -#define wxUSE_CARET 1 -#define wxUSE_CHECKBOX 1 -#define wxUSE_CHECKLISTBOX 1 -#define wxUSE_CHOICE 0 -#define wxUSE_COMBOBOX 1 -#define wxUSE_GAUGE 1 -#define wxUSE_IMAGLIST 1 -#define wxUSE_LISTBOX 1 -#define wxUSE_LISTCTRL 0 -#define wxUSE_RADIOBOX 1 -#define wxUSE_RADIOBTN 1 -#define wxUSE_SASH 0 -#define wxUSE_SCROLLBAR 1 -#define wxUSE_SLIDER 1 -#define wxUSE_SPINBTN 1 -#define wxUSE_SPINCTRL 1 -#define wxUSE_STATBOX 1 -#define wxUSE_STATLINE 1 -#define wxUSE_STATTEXT 1 -#define wxUSE_STATBMP 1 -//#define wxUSE_STATUSBAR 0 -#define wxUSE_TEXTCTRL 1 -#define wxUSE_TOOLTIPS 0 -#define wxUSE_TREECTRL 0 - -#define wxUSE_NATIVE_STATUSBAR 0 -#define wxUSE_BUTTONBAR 0 -#define wxUSE_GRID 0 -#define wxUSE_NEW_GRID 0 -#define wxUSE_VALIDATORS 0 -#define wxUSE_DC_CACHEING 1 -#define wxUSE_ACCEL 1 -#define wxUSE_GENERIC_DIALOGS_IN_MSW 0 -#define wxUSE_COMMON_DIALOGS 0 -#define wxUSE_TEXTDLG 0 -#define wxUSE_PROGRESSDLG 0 -#define wxUSE_BUSYINFO 0 -#define wxUSE_DIRDLG 0 -#define wxUSE_FONTDLG 0 -#define wxUSE_FILEDLG 0 -#define wxUSE_COLOURDLG 0 -#define wxUSE_TEXTDLG 0 -#define wxUSE_CHOICEDLG 0 -#define wxUSE_NUMBERDLG 0 -#define wxUSE_STARTUP_TIPS 0 -#define wxUSE_MSGDLG 1 -#define wxUSE_SPLITTER 1 -#define wxUSE_TAB_DIALOG 0 - -#define wxUSE_METAFILE 0 -#define wxUSE_ENH_METAFILE 0 -#define wxUSE_WIN_METAFILES_ALWAYS 0 -#define wxUSE_DOC_VIEW_ARCHITECTURE 0 -#define wxUSE_MDI_ARCHITECTURE 0 -#define wxUSE_PRINTING_ARCHITECTURE 0 -#define wxUSE_HTML 0 -#define wxUSE_PLOT 0 -#define wxUSE_GLCANVAS 0 -#define wxUSE_TREELAYOUT 0 -#define wxUSE_IPC 0 -#define wxUSE_HELP 0 -#define wxUSE_MS_HTML_HELP 0 -#define wxUSE_WXHTML_HELP 0 -#define wxUSE_RESOURCES 0 -#define wxUSE_CONSTRAINTS 1 -#define wxUSE_CLIPBOARD 0 -#define wxUSE_DATAOBJ 1 -#define wxUSE_SPLINES 0 -#define wxUSE_DRAG_AND_DROP 0 -#define wxUSE_XPM_IN_MSW 1 -#define wxUSE_XPM 1 -#define wxUSE_IMAGE_LOADING_IN_MSW 1 -#define wxUSE_RESOURCE_LOADING_IN_MSW 0 -#define wxUSE_WX_RESOURCES 0 -#define wxUSE_POSTSCRIPT 0 -#define wxUSE_AFM_FOR_POSTSCRIPT 0 -#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 -#define wxUSE_ODBC 0 -#define wxODBC_FWD_ONLY_CURSORS 0 -#define wxODBC_BACKWARD_COMPATABILITY 0 -#define REMOVE_UNUSED_ARG 1 -#define wxUSE_IOSTREAMH 0 -#define wxUSE_ICO_CUR 1 +// wxPopupWindow class is a top level transient window. It is currently used +// to implement wxTipWindow +// +// Default is 1 +// +// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW) +#define wxUSE_POPUPWIN 1 -#define wxUSE_MFC 0 -#define wxUSE_OLE 0 -#define wxUSE_CTL3D 0 -#define wxUSE_ITSY_BITSY 0 -#define wxUSE_DYNAMIC_CLASSES 1 +// wxTipWindow allows to implement the custom tooltips, it is used by the +// context help classes. Requires wxUSE_POPUPWIN. +// +// Default is 1 +// +// Recommended setting: 1 (may be set to 0) +#define wxUSE_TIPWINDOW 1 -#define wxUSE_JOYSTICK 1 -#define wxUSE_REGEX 0 -#define wxUSE_STATUSBAR 1 +// Each of the settings below corresponds to one wxWindows control. They are +// all switched on by default but may be disabled if you are sure that your +// program (including any standard dialogs it can show!) doesn't need them and +// if you desperately want to save some space. If you use any of these you must +// set wxUSE_CONTROLS as well. +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_BUTTON 1 // wxButton +#define wxUSE_BMPBUTTON 1 // wxBitmapButton +#define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl +#define wxUSE_CHECKBOX 1 // wxCheckBox +#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN) +#define wxUSE_CHOICE 1 // wxChoice +#define wxUSE_COMBOBOX 1 // wxComboBox +#define wxUSE_GAUGE 1 // wxGauge +#define wxUSE_LISTBOX 1 // wxListBox +#define wxUSE_LISTCTRL 1 // wxListCtrl +#define wxUSE_RADIOBOX 1 // wxRadioBox +#define wxUSE_RADIOBTN 1 // wxRadioButton +#define wxUSE_SCROLLBAR 1 // wxScrollBar +#define wxUSE_SLIDER 1 // wxSlider +#define wxUSE_SPINBTN 1 // wxSpinButton +#define wxUSE_SPINCTRL 1 // wxSpinCtrl +#define wxUSE_STATBOX 1 // wxStaticBox +#define wxUSE_STATLINE 1 // wxStaticLine +#define wxUSE_STATTEXT 1 // wxStaticText +#define wxUSE_STATBMP 1 // wxStaticBitmap +#define wxUSE_TEXTCTRL 1 // wxTextCtrl +#define wxUSE_TOGGLEBTN 0 // requires wxButton //? not supported in generic and wrong in msw +#define wxUSE_TREECTRL 1 // wxTreeCtrl -#else // !Mac, !OS2 +// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR +// below either wxStatusBar95 or a generic wxStatusBar will be used. +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_STATUSBAR 1 -#define wxUSE_GUI 1 -#define WXWIN_COMPATIBILITY 0 -#define wxICON_IS_BITMAP 0 -#define wxFONT_SIZE_COMPATIBILITY 0 -#define wxDIALOG_UNIT_COMPATIBILITY 0 -#define wxUSE_DEBUG_CONTEXT 0 -#define wxUSE_MEMORY_TRACING 0 -#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 -#define wxUSE_DEBUG_NEW_ALWAYS 0 -#define wxUSE_ON_FATAL_EXCEPTION 0 -#define wxUSE_REGEX 0 +// Two status bar implementations are available under Win32: the generic one +// or the wrapper around native control. For native look and feel the native +// version should be used. +// +// Default is 0. +// +// Recommended setting: 0 +#define wxUSE_NATIVE_STATUSBAR 0 -#define wxUSE_UNICODE 0 -#define wxUSE_WCHAR_T 0 -#define wxUSE_LOG 1 -#define wxUSE_LOGGUI 1 -#define wxUSE_LOGWINDOW 1 -#define wxUSE_LOG_DIALOG 0 -#define wxUSE_THREADS 0 -#define wxUSE_STREAMS 0 -#define wxUSE_STD_IOSTREAM 0 -#define wxUSE_SERIAL 0 -#define wxUSE_LONGLONG 1 -#define wxUSE_TIMER 1 -#define wxUSE_STOPWATCH 1 -#define wxUSE_TIMEDATE 0 -#define wxUSE_DATETIME 1 -#define wxUSE_CONFIG 0 -#define wxUSE_CONFIG_NATIVE 0 -#define wxUSE_DIALUP_MANAGER 0 -#define wxUSE_DYNLIB_CLASS 0 -#define wxUSE_SOCKETS 0 -#define wxUSE_FILESYSTEM 0 -#define wxUSE_FS_ZIP 0 -#define wxUSE_FS_INET 0 -#define wxUSE_ZIPSTREAM 0 -#define wxUSE_ZLIB 0 -#define wxUSE_APPLE_IEEE 0 -#define wxUSE_FILE 1 -#define wxUSE_FFILE 1 -#define wxUSE_TEXTFILE 0 -#define wxUSE_TEXTBUFFER 0 -#define wxUSE_INTL 0 -#define wxUSE_MENUS 1 +// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar +// classes at all. Otherwise, use the native toolbar class unless +// wxUSE_TOOLBAR_NATIVE is 0. Additionally, the generic toolbar class which +// supports some features which might not be supported by the native wxToolBar +// class may be compiled in if wxUSE_TOOLBAR_SIMPLE is 1. +// +// Default is 0 for all settings. +// +// Recommended setting: 1 for wxUSE_TOOLBAR and 0 for wxUSE_TOOLBAR_NATIVE and +// wxUSE_TOOLBAR_SIMPLE. #define wxUSE_TOOLBAR 1 #define wxUSE_TOOLBAR_NATIVE 0 #define wxUSE_TOOLBAR_SIMPLE 0 + +// this setting is obsolete, value is ignored +#define wxUSE_BUTTONBAR 0 + +// wxNotebook is a control with several "tabs" located on one of its sides. It +// may be used ot logically organise the data presented to the user instead of +// putting everything in one huge dialog. It replaces wxTabControl and related +// classes of wxWin 1.6x. +// +// Default is 1. +// +// Recommended setting: 1 #define wxUSE_NOTEBOOK 1 -#define wxUSE_FONTMAP 0 -#define wxUSE_MIMETYPE 0 -#define wxUSE_IMAGE 1 -#define wxUSE_SYSTEM_OPTIONS 1 -#define wxUSE_CONTROLS 1 -#define wxUSE_POPUPWIN 1 -#define wxUSE_TIPWINDOW 1 -#define wxUSE_BUTTON 1 -#define wxUSE_BMPBUTTON 1 -#define wxUSE_CALENDARCTRL 0 -#define wxUSE_CARET 1 -#define wxUSE_CHECKBOX 1 -#define wxUSE_CHECKLISTBOX 1 -#define wxUSE_CHOICE 0 -#define wxUSE_COMBOBOX 1 -#define wxUSE_GAUGE 1 -#define wxUSE_IMAGLIST 1 -#define wxUSE_LISTBOX 1 -#define wxUSE_LISTCTRL 0 -#define wxUSE_RADIOBOX 1 -#define wxUSE_RADIOBTN 1 -#define wxUSE_SASH 0 -#define wxUSE_SCROLLBAR 1 -#define wxUSE_SLIDER 1 -#define wxUSE_SPINBTN 1 -#define wxUSE_SPINCTRL 1 -#define wxUSE_STATBOX 1 -#define wxUSE_STATLINE 1 -#define wxUSE_STATTEXT 1 -#define wxUSE_STATBMP 1 -#define wxUSE_STATUSBAR 1 -#define wxUSE_TEXTCTRL 1 -#define wxUSE_TOOLTIPS 0 -#define wxUSE_TREECTRL 0 - -#define wxUSE_NATIVE_STATUSBAR 0 -#define wxUSE_BUTTONBAR 0 -#define wxUSE_GRID 0 -#define wxUSE_NEW_GRID 0 -#define wxUSE_VALIDATORS 0 -#define wxUSE_DC_CACHEING 1 +// wxTabDialog is a generic version of wxNotebook but it is incompatible with +// the new class. It shouldn't be used in new code. +// +// Default is 0. +// +// Recommended setting: 0 (use wxNotebook) +#define wxUSE_TAB_DIALOG 0 + +// wxGrid class comes in two flavours: the original (pre wxWin 2.2) one and +// the new, much imporved and enhanced version. The new version is backwards +// compatible with the old one and should be used whenever possible, i.e. if +// you set wxUSE_GRID to 1, set wxUSE_NEW_GRID to 1 too. +// +// Default is 1 for both options. +// +// Recommended setting: 1 for wxUSE_NEW_GRID, 0 if you have an old code using +// wxGrid and 100% backwards compatibality (with all old wxGrid quirks) is +// essential. +// +// WIN16/BC++ resets wxUSE_NEW_GRID to 0 because it exceeds the data limit. +#define wxUSE_GRID 1 +#define wxUSE_NEW_GRID 1 + +// wxProperty[Value/Form/List] classes, used by Dialog Editor +#define wxUSE_PROPSHEET 1 + +// ---------------------------------------------------------------------------- +// Miscellaneous GUI stuff +// ---------------------------------------------------------------------------- + +// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar) #define wxUSE_ACCEL 1 + +// Use wxCaret: a class implementing a "cursor" in a text control (called caret +// under Windows). +// +// Default is 1. +// +// Recommended setting: 1 (can be safely set to 0, not used by the library) +#define wxUSE_CARET 1 + +// Miscellaneous geometry code: needed for Canvas library +#define wxUSE_GEOMETRY 0 + +// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and +// wxListCtrl. +// +// Default is 1. +// +// Recommended setting: 1 (set it to 0 if you don't use any of the controls +// enumerated above, then this class is mostly useless too) +#define wxUSE_IMAGLIST 1 + +// Use wxMenu, wxMenuBar, wxMenuItem. +// +// Default is 1. +// +// Recommended setting: 1 (can't be disabled under MSW) +#define wxUSE_MENUS 1 + +// Use wxSashWindow class. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_SASH 1 + +// Use wxSplitterWindow class. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_SPLITTER 1 + +// Use wxToolTip and wxWindow::Set/GetToolTip() methods. +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_TOOLTIPS 0 //? error 'SetWindow' cannot convert parameter 1 ... +#else + #define wxUSE_TOOLTIPS 0 +#endif + +// wxValidator class and related methods +#define wxUSE_VALIDATORS 1 + +// wxDC cacheing implementation +#define wxUSE_DC_CACHEING 1 + +// ---------------------------------------------------------------------------- +// common dialogs +// ---------------------------------------------------------------------------- + +// Define 1 to use generic dialogs in Windows, even though they duplicate +// native common dialog (e.g. wxColourDialog). This is mainly useful for +// testing. +// +// Default is 0 +// +// Recommended setting: 0 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0 -#define wxUSE_COMMON_DIALOGS 0 -#define wxUSE_TEXTDLG 0 -#define wxUSE_PROGRESSDLG 0 -#define wxUSE_BUSYINFO 0 -#define wxUSE_DIRDLG 0 -#define wxUSE_FONTDLG 0 -#define wxUSE_FILEDLG 0 -#define wxUSE_COLOURDLG 0 -#define wxUSE_TEXTDLG 0 -#define wxUSE_CHOICEDLG 0 + +// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. +// file selector, printer dialog). Switching this off also switches off the +// printing architecture and interactive wxPrinterDC. +// +// Default is 1 +// +// Recommended setting: 1 (unless it really doesn't work) +#define wxUSE_COMMON_DIALOGS 1 + +// wxBusyInfo displays window with message when app is busy. Works in same way +// as wxBusyCursor +#define wxUSE_BUSYINFO 1 + +// Use single/multiple choice dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (used in the library itself) +#define wxUSE_CHOICEDLG 1 + +// Use colour picker dialog +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_COLOURDLG 1 + +// wxDirDlg class for getting a directory name from user +#define wxUSE_DIRDLG 1 + +// TODO: setting to choose the generic or native one + +// Use file open/save dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (used in many places in the library itself) +#if defined(__WIN32__) + #define wxUSE_FILEDLG 1 +#else + #define wxUSE_FILEDLG 1 +#endif + +// Use find/replace dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (but may be safely set to 0) +#define wxUSE_FINDREPLDLG 1 + +// Use font picker dialog +// +// Default is 1 +// +// Recommended setting: 1 (used in the library itself) +#define wxUSE_FONTDLG 1 + +// Use wxMessageDialog and wxMessageBox. +// +// Default is 1 +// +// Recommended setting: 1 (used in the library itself) +#define wxUSE_MSGDLG 1 + +// progress dialog class for lengthy operations +#define wxUSE_PROGRESSDLG 1 + +// support for startup tips (wxShowTip &c) +#define wxUSE_STARTUP_TIPS 1 + +// text entry dialog and wxGetTextFromUser function +#define wxUSE_TEXTDLG 1 + +// number entry dialog #define wxUSE_NUMBERDLG 1 -#define wxUSE_STARTUP_TIPS 0 -#define wxUSE_MSGDLG 1 -#define wxUSE_SPLITTER 1 -#define wxUSE_TAB_DIALOG 0 +// splash screen class #define wxUSE_SPLASH 1 -#define wxUSE_JOYSTICK 0 -#define wxUSE_METAFILE 0 -#define wxUSE_ENH_METAFILE 0 -#define wxUSE_WIN_METAFILES_ALWAYS 0 -#define wxUSE_DOC_VIEW_ARCHITECTURE 0 -#define wxUSE_MDI_ARCHITECTURE 0 -#define wxUSE_PRINTING_ARCHITECTURE 0 -#define wxUSE_HTML 0 -#define wxUSE_PLOT 0 -#define wxUSE_GLCANVAS 0 -#define wxUSE_TREELAYOUT 0 -#define wxUSE_IPC 0 -#define wxUSE_HELP 0 -#define wxUSE_MS_HTML_HELP 0 -#define wxUSE_WXHTML_HELP 0 -#define wxUSE_RESOURCES 0 + +// wizards +#define wxUSE_WIZARDDLG 0 //? error '_wxArraywxArrayPages' redefinition + +// ---------------------------------------------------------------------------- +// Metafiles support +// ---------------------------------------------------------------------------- + +// Windows supports the graphics format known as metafile which is, though not +// portable, is widely used under Windows and so is supported by wxWin (under +// Windows only, of course). Win16 (Win3.1) used the so-called "Window +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by +// default, WMFs will be used under Win16 and EMFs under Win32. This may be +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile +// in any metafile related classes at all. +// +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS. +// +// Recommended setting: default or 0 for everything for portable programs. +#define wxUSE_METAFILE 0 +#define wxUSE_ENH_METAFILE 0 +#define wxUSE_WIN_METAFILES_ALWAYS 0 + +// ---------------------------------------------------------------------------- +// Big GUI components +// ---------------------------------------------------------------------------- + +// Set to 0 to disable document/view architecture +#define wxUSE_DOC_VIEW_ARCHITECTURE 1 + +// Set to 0 to disable MDI document/view architecture +#define wxUSE_MDI_ARCHITECTURE 1 + +// Set to 0 to disable print/preview architecture code +#define wxUSE_PRINTING_ARCHITECTURE 1 + +// wxHTML sublibrary allows to display HTML in wxWindow programs and much, +// much more. +// +// Default is 1. +// +// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a +// smaller library. +#define wxUSE_HTML 1 + +// OpenGL canvas +#if defined(__WIN32__) + #define wxUSE_GLCANVAS 0 //? error unresolved external symbol ... +#else + #define wxUSE_GLCANVAS 0 +#endif + +// wxTreeLayout class +#define wxUSE_TREELAYOUT 1 + +// ---------------------------------------------------------------------------- +// Data transfer +// ---------------------------------------------------------------------------- + +// Use wxClipboard class for clipboard copy/paste. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_CLIPBOARD 0 //? needs wxUSE_OLE + +// Use wxDataObject and related classes. Needed for clipboard and OLE drag and +// drop +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_DATAOBJ 1 + +// Use wxDropTarget and wxDropSource classes for drag and drop (this is +// different from "built in" drag and drop in wxTreeCtrl which is always +// available). Requires wxUSE_DATAOBJ. +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_DRAG_AND_DROP 0 //? needs wxUSE_OLE +#else + #define wxUSE_DRAG_AND_DROP 0 +#endif + +// ---------------------------------------------------------------------------- +// miscellaneous settings +// ---------------------------------------------------------------------------- + +// wxSingleInstanceChecker class allows to verify at startup if another program +// instance is running (it is only available under Win32) +// +// Default is 1 +// +// Recommended setting: 1 (the class is tiny, disabling it won't save much +// space) +#if defined(__WIN32__) + #define wxUSE_SNGLINST_CHECKER 1 +#else + #define wxUSE_SNGLINST_CHECKER 0 +#endif + +// Drag image +#define wxUSE_DRAGIMAGE 1 + +// Interprocess communication +#define wxUSE_IPC 1 + +// Help +#if defined(__WIN32__) + #define wxUSE_HELP 1 +#else + #define wxUSE_HELP 1 +#endif + +// MS help +#define wxUSE_MS_HTML_HELP 1 + +// Use wxHTML-based help controller? +#define wxUSE_WXHTML_HELP 0 //? error 'type cast' cannot convert from ... + +// Use resources +#define wxUSE_RESOURCES 1 + +// Window layout constraint system #define wxUSE_CONSTRAINTS 1 -#define wxUSE_CLIPBOARD 0 -#define wxUSE_DATAOBJ 1 -#define wxUSE_SPLINES 0 -#define wxUSE_DRAG_AND_DROP 0 -#define wxUSE_XPM_IN_MSW 1 -#define wxUSE_XPM 1 -#define wxUSE_IMAGE_LOADING_IN_MSW 1 -#define wxUSE_RESOURCE_LOADING_IN_MSW 0 -#define wxUSE_WX_RESOURCES 0 -#define wxUSE_POSTSCRIPT 0 -#define wxUSE_AFM_FOR_POSTSCRIPT 0 -#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 -#define wxUSE_ODBC 0 + +// Splines +#define wxUSE_SPLINES 1 + +// Use XPM support in wxBitmap +// +// Default is 1, as XPM is now fully supported this makes easier the issue +// of portable icons and bitmaps +#if defined(__WIN32__) + #define wxUSE_XPM_IN_MSW 1 +#else + #define wxUSE_XPM_IN_MSW 0 +#endif + +// Use dynamic DIB loading/saving code in utils/dib under MSW. +#if defined(__WIN32__) + #define wxUSE_IMAGE_LOADING_IN_MSW 0 //? needs more testing +#else + #define wxUSE_IMAGE_LOADING_IN_MSW 0 +#endif + +// Use dynamic icon/cursor loading/saving code under MSW. +#if defined(__WIN32__) + #define wxUSE_RESOURCE_LOADING_IN_MSW 0 //? needs more testing +#else + #define wxUSE_RESOURCE_LOADING_IN_MSW 0 +#endif + +// use wxExpr (a.k.a. PrologIO) +#define wxUSE_PROLOGIO 0 + +// Use .wxr resource mechanism (requires PrologIO library) +#define wxUSE_WX_RESOURCES 0 + +// Include mouse wheel support +#define wxUSE_MOUSEWHEEL 1 + +// ---------------------------------------------------------------------------- +// postscript support settings +// ---------------------------------------------------------------------------- + +// Set to 1 for PostScript device context. +#define wxUSE_POSTSCRIPT 1 + +// Set to 1 to use font metric files in GetTextExtent +#define wxUSE_AFM_FOR_POSTSCRIPT 1 + +// Set to 0 to disable PostScript print/preview architecture code under Windows +// (just use Windows printing). +#if defined(__WIN32__) + #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 +#else + #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 +#endif + +// ---------------------------------------------------------------------------- +// database classes +// ---------------------------------------------------------------------------- + +// Define 1 to use ODBC classes +#define wxUSE_ODBC 1 + +// For backward compatibility reasons, this parameter now only controls the +// default scrolling method used by cursors. This default behavior can be +// overriden by setting the second param of wxDB::wxDbGetConnection() or +// wxDb() constructor to indicate whether the connection (and any wxDbTable()s +// that use the connection) should support forward only scrolling of cursors, +// or both forward and backward support for backward scrolling cursors is +// dependent on the data source as well as the ODBC driver being used. #define wxODBC_FWD_ONLY_CURSORS 0 + +// Default is 0. Set to 1 to use the deprecated classes, enum types, function, +// member variables. With a setting of 1, full backward compatability with the +// 2.0.x release is possible. It is STRONGLY recommended that this be set to 0, +// as future development will be done only on the non-deprecated +// functions/classes/member variables/etc. #define wxODBC_BACKWARD_COMPATABILITY 0 -#define REMOVE_UNUSED_ARG 1 -#define wxUSE_IOSTREAMH 0 -#define wxUSE_LIBPNG 0 -#define wxUSE_LIBJPEG 0 -#define wxUSE_LIBTIFF 0 -#define wxUSE_GIF 0 -#define wxUSE_PNM 0 -#define wxUSE_PCX 0 - -#define wxUSE_ICO_CUR 1 - -#define wxUSE_MFC 0 -#define wxUSE_OLE 0 -#define wxUSE_CTL3D 0 -#define wxUSE_ITSY_BITSY 0 -#define wxUSE_DYNAMIC_CLASSES 1 - -#endif - -#define wxUSE_PALETTE 0 - -#define wxUSE_LIBPNG 0 -#define wxUSE_LIBJPEG 0 -#define wxUSE_LIBTIFF 0 -#define wxUSE_IFF 0 -#define wxUSE_GIF 0 -#define wxUSE_PNM 0 -#define wxUSE_PCX 0 + +// ---------------------------------------------------------------------------- +// other compiler (mis)features +// ---------------------------------------------------------------------------- + +// Set this to 0 if your compiler can't cope with omission of prototype +// parameters. +// +// Default is 1. +// +// Recommended setting: 1 (should never need to set this to 0) +#define REMOVE_UNUSED_ARG 1 + +// VC++ 4.2 and above allows and but you can't mix +// them. Set to 1 for , 0 for +// +// Default is 1. +// +// Recommended setting: whatever your compiler likes more +#ifdef __MWERKS__ + #define wxUSE_IOSTREAMH 1 +#else + #define wxUSE_IOSTREAMH 0 +#endif + +// ---------------------------------------------------------------------------- +// image format support +// ---------------------------------------------------------------------------- + +// wxImage supports many different image formats which can be configured at +// compile-time. BMP is always supported, others are optional and can be safely +// disabled if you don't plan to use images in such format sometimes saving +// substantial amount of code in the final library. +// +// Some formats require an extra library which is included in wxWin sources +// which is mentioned if it is the case. + +// Set to 1 for wxImage support (recommended). +#define wxUSE_IMAGE 1 + +// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB. +#define wxUSE_LIBPNG 1 + +// Set to 1 for JPEG format support (requires libjpeg) +#define wxUSE_LIBJPEG 1 + +// Set to 1 for TIFF format support (requires libtiff) +#define wxUSE_LIBTIFF 1 + +// Set to 1 for GIF format support +#define wxUSE_GIF 1 + +// Set to 1 for PNM format support +#define wxUSE_PNM 1 + +// Set to 1 for PCX format support +#define wxUSE_PCX 1 + +// Set to 1 for IFF format support (Amiga format) +#define wxUSE_IFF 0 + +// Set to 1 for XPM format support +#define wxUSE_XPM 1 + +// Set to 1 for MS Icons and Cursors format support +#define wxUSE_ICO_CUR 0 + +// Set to 1 to compile in wxPalette class +#if defined(__WIN32__) + #define wxUSE_PALETTE 1 +#else + #define wxUSE_PALETTE 1 +#endif + +// ---------------------------------------------------------------------------- +// Windows-only settings +// ---------------------------------------------------------------------------- +#if defined(__WINDOWS__) + +// Set this to 1 if you want to use wxWindows and MFC in the same program. This +// will override some other settings (see below) +// +// Default is 0. +// +// Recommended setting: 0 unless you really have to use MFC +#define wxUSE_MFC 0 + +// Set this to 1 for generic OLE support: this is required for drag-and-drop, +// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and +// can't compile/doesn't have the OLE headers. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_OLE 0 //? needs more testing + +// Set this to 1 to use Microsoft CTL3D library for "3D-look" under Win16 or NT +// 3.x. This setting is ignored under Win9x and NT 4.0+. +// +// Default is 0 for (most) Win32 (systems), 1 for Win16 +// +// Recommended setting: same as default +#if defined(__WIN95__) //? wrong test, should be positive + #define wxUSE_CTL3D 0 +#else + #define wxUSE_CTL3D 0 //? see above +#endif + +// Define as 1 to use Microsoft's ItsyBitsy small title bar library, for +// wxMiniFrame. This setting is only used for Win3.1; Win9x and NT use native +// miniframes support instead. +// +// Default is 0 for (most) Win32 (systems), 1 for Win16 +// +// Recommended setting: same as default +#if defined(__WIN95__) //? wrong test, should be positive + #define wxUSE_ITSY_BITSY 0 +#else + #define wxUSE_ITSY_BITSY 0 //? see above +#endif + +// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH +// which allows to put more than ~32Kb of text in it even under Win9x (NT +// doesn't have such limitation). +// +// Default is 1 for compilers which support it +// +// Recommended setting: 1, only set it to 0 if your compiler doesn't have +// or can't compile +#if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__) +// TODO: This should be ifdef'ed for any compilers that don't support +// RichEdit 2.0 but do have RichEdit 1.0... + #define wxUSE_RICHEDIT 0 //? needs more testing + #define wxUSE_RICHEDIT2 0 //? needs more testing + +#else + #define wxUSE_RICHEDIT 0 + #define wxUSE_RICHEDIT2 0 +#endif + +// Set this to 1 to enable support for the owner-drawn menu and listboxes. This +// is required by wxUSE_CHECKLISTBOX. +// +// Default is 1. +// +// Recommended setting: 1, set to 0 for a small library size reduction +#define wxUSE_OWNER_DRAWN 0 //? error 'MSWOnDraw' is not a member of 'wxControl' + +#endif + +// ---------------------------------------------------------------------------- +// disable the settings which don't work for some compilers +// ---------------------------------------------------------------------------- + +#ifndef wxUSE_NORLANDER_HEADERS + #if (defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) + #define wxUSE_NORLANDER_HEADERS 1 + #else + #define wxUSE_NORLANDER_HEADERS 0 + #endif +#endif + +// wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior +#if defined(__MWERKS__) + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif + +#if defined(__GNUWIN32__) +// These don't work as expected for mingw32 and cygwin32 + #undef wxUSE_MEMORY_TRACING + #define wxUSE_MEMORY_TRACING 0 + + #undef wxUSE_GLOBAL_MEMORY_OPERATORS + #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 + +// Cygwin betas don't have wcslen + #if defined(__CYGWIN__) || defined(__CYGWIN32__) + #if ! ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) + #undef wxUSE_WCHAR_T + #define wxUSE_WCHAR_T 0 + #endif + #endif + +#endif // __GNUWIN32__ + +// MFC duplicates these operators +#if wxUSE_MFC + #undef wxUSE_GLOBAL_MEMORY_OPERATORS + #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif // wxUSE_MFC + +#if (!defined(WIN32) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) +// Can't use OLE drag and drop in Windows 3.1 because we don't know how +// to implement UUIDs +// GnuWin32 doesn't have appropriate headers for e.g. IUnknown. + #undef wxUSE_DRAG_AND_DROP + #define wxUSE_DRAG_AND_DROP 0 +#endif + +// Only WIN32 supports wxStatusBar95 +#if !defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR + #undef wxUSE_NATIVE_STATUSBAR + #define wxUSE_NATIVE_STATUSBAR 0 +#endif + +#if !wxUSE_OWNER_DRAWN + #undef wxUSE_CHECKLISTBOX + #define wxUSE_CHECKLISTBOX 0 +#endif + +// Salford C++ doesn't like some of the memory operator definitions +#ifdef __SALFORDC__ + #undef wxUSE_MEMORY_TRACING + #define wxUSE_MEMORY_TRACING 0 + + #undef wxUSE_GLOBAL_MEMORY_OPERATORS + #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 + + #undef wxUSE_THREADS + #define wxUSE_THREADS 0 + + #undef wxUSE_OWNER_DRAWN + #define wxUSE_OWNER_DRAWN 0 +#endif // __SALFORDC__ + +#ifdef __TWIN32__ + #undef wxUSE_THREADS + #define wxUSE_THREADS 0 + + #undef wxUSE_ODBC + #define wxUSE_ODBC 0 +#endif // __TWIN32__ + +// BC++/Win16 can't cope with the amount of data in resource.cpp +#if defined(__WIN16__) && defined(__BORLANDC__) + #undef wxUSE_WX_RESOURCES + #define wxUSE_WX_RESOURCES 0 + + #undef wxUSE_ODBC + #define wxUSE_ODBC 0 + + #undef wxUSE_NEW_GRID + #define wxUSE_NEW_GRID 0 +#endif + +#if defined(__BORLANDC__) && (__BORLANDC__ < 0x500) +// BC++ 4.0 can't compile JPEG library + #undef wxUSE_LIBJPEG + #define wxUSE_LIBJPEG 0 +#endif + +// wxUSE_DEBUG_NEW_ALWAYS = 1 not compatible with BC++ in DLL mode +#if defined(__BORLANDC__) && (defined(WXMAKINGDLL) || defined(WXUSINGDLL)) + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif + +#if defined(__WXMSW__) && defined(__WATCOMC__) + /* + #undef wxUSE_GLCANVAS + #define wxUSE_GLCANVAS 0 + */ + + #undef wxUSE_WCHAR_T + #define wxUSE_WCHAR_T 0 +#endif + +#if defined(__WXMSW__) && !defined(__WIN32__) + #undef wxUSE_SOCKETS + #define wxUSE_SOCKETS 0 + + #undef wxUSE_THREADS + #define wxUSE_THREADS 0 + + #undef wxUSE_TOOLTIPS + #define wxUSE_TOOLTIPS 0 + + #undef wxUSE_SPINCTRL + #define wxUSE_SPINCTRL 0 + + #undef wxUSE_SPINBTN + #define wxUSE_SPINBTN 0 + + #undef wxUSE_LIBPNG + #define wxUSE_LIBPNG 0 + + #undef wxUSE_LIBJPEG + #define wxUSE_LIBJPEG 0 + + #undef wxUSE_LIBTIFF + #define wxUSE_LIBTIFF 0 + + #undef wxUSE_GIF + #define wxUSE_GIF 0 + + #undef wxUSE_PNM + #define wxUSE_PNM 0 + + #undef wxUSE_PCX + #define wxUSE_PCX 0 + + #undef wxUSE_GLCANVAS + #define wxUSE_GLCANVAS 0 + + #undef wxUSE_MS_HTML_HELP + #define wxUSE_MS_HTML_HELP 0 + + #undef wxUSE_WCHAR_T + #define wxUSE_WCHAR_T 0 + +#endif // Win16 + +// ---------------------------------------------------------------------------- +// unknown settings +// ---------------------------------------------------------------------------- + +// Use serialization (requires utils/serialize)? +#define wxUSE_SERIAL 0 + +// Use plotter? +#define wxUSE_PLOT 0 + +// If 1, enables provision of run-time type information. +// NOW MANDATORY: don't change. +#define wxUSE_DYNAMIC_CLASSES 1 + +//?????? +#if defined(__WIN32__) + #define wxUSE_DISPLAY 0 +#else + #define wxUSE_DISPLAY 0 +#endif + +//?????? +#if defined(__WIN32__) + #define wxUSE_DDE_FOR_IPC 0 +#else + #define wxUSE_DDE_FOR_IPC 0 +#endif + +//?????? +#define wxUSE_SPAWNBROWSER 0 #endif // _WX_UNIV_SETUP_H_ diff --git a/include/wx/univ/setup0.h b/include/wx/univ/setup0.h new file mode 100644 index 0000000000..ed4f25881e --- /dev/null +++ b/include/wx/univ/setup0.h @@ -0,0 +1,1328 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/univ/setup.h +// Purpose: configuration settings for wxUniversal/MSW +// Author: Vadim Zeitlin +// Modified by: +// Created: 14.08.00 +// RCS-ID: $Id$ +// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) +// Licence: wxWindows license +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_UNIV_SETUP_H_ +#define _WX_UNIV_SETUP_H_ + +// ---------------------------------------------------------------------------- +// global settings +// ---------------------------------------------------------------------------- + +// define this to 0 when building wxBase library - this can also be done from +// makefile/project file overriding the value here +#ifndef wxUSE_GUI + #define wxUSE_GUI 1 +#endif // wxUSE_GUI + +// ---------------------------------------------------------------------------- +// compatibility settings +// ---------------------------------------------------------------------------- + +// This setting determines the compatibility with 1.68 API: +// Level 0: no backward compatibility, all new features +// Level 1: some extra methods are defined for compatibility. +// +// Default is 0. +// +// Recommended setting: 0 (in fact the compatibility code is now very minimal +// so there is little advantage to setting it to 1. +#define WXWIN_COMPATIBILITY 0 + +// This setting determines the compatibility with 2.0 API: set it to 1 to +// enable it +// +// Default is 0. +// +// Recommended setting: 0 (please update your code instead!) +#define WXWIN_COMPATIBILITY_2 0 + +// This setting determines the compatibility with 2.0 API: set it to 1 to +// enable it +// +// Default is 1. +// +// Recommended setting: 0 (please update your code instead!) +#define WXWIN_COMPATIBILITY_2_2 0 + +// in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap, +// but this is very dangerous because you can mistakenly pass an icon instead +// of a bitmap to a function taking "const wxBitmap&" - which will *not* work +// because an icon is not a valid bitmap +// +// Starting from 2.1.12, you have the choice under this backwards compatible +// behaviour (your code will still compile, but probably won't behave as +// expected!) and not deriving wxIcon class from wxBitmap, but providing a +// conversion ctor wxBitmap(const wxIcon&) instead. +// +// Recommended setting: 0 +#define wxICON_IS_BITMAP 0 + +// Define as 1 for font size to be backward compatible to 1.63 and earlier. +// 1.64 and later define point sizes to be compatible with Windows. +// +// Default is 0 +// +// Recommended setting: 0 +#define wxFONT_SIZE_COMPATIBILITY 0 + +// Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. +// If migrating between versions, your dialogs may seem to shrink. +// +// Default is 1 +// +// Recommended setting: 0 (the new calculations are more correct!) +#define wxDIALOG_UNIT_COMPATIBILITY 0 + +// ---------------------------------------------------------------------------- +// debugging settings +// ---------------------------------------------------------------------------- + +// Generic comment about debugging settings: they are very useful if you don't +// use any other memory leak detection tools such as Purify/BoundsChecker, but +// are probably redundant otherwise. Also, Visual C++ CRT has the same features +// as wxWindows memory debugging subsystem built in since version 5.0 and you +// may prefer to use it instead of built in memory debugging code because it is +// faster and more fool proof. +// +// Using VC++ CRT memory debugging is enabled by default in debug mode +// (__WXDEBUG__) if wxUSE_GLOBAL_MEMORY_OPERATORS is *not* enabled (i.e. is 0) +// and if __NO_VC_CRTDBG__ is not defined. + +// If 1, enables wxDebugContext, for writing error messages to file, etc. If +// __WXDEBUG__ is not defined, will still use the normal memory operators. +// +// Default is 0 +// +// Recommended setting: 0 +#ifdef __MWERKS__ + #define wxUSE_DEBUG_CONTEXT 1 +#else + #define wxUSE_DEBUG_CONTEXT 0 +#endif + +// If 1, enables debugging versions of wxObject::new and wxObject::delete *IF* +// __WXDEBUG__ is also defined. +// +// WARNING: this code may not work with all architectures, especially if +// alignment is an issue. This switch is currently ignored for mingw / cygwin +// +// Default is 0 +// +// Recommended setting: 1 if you are not using a memory debugging tool, else 0 +#define wxUSE_MEMORY_TRACING 0 + +// In debug mode, cause new and delete to be redefined globally. +// If this causes problems (e.g. link errors which is a common problem +// especially if you use another library which also redefines the global new +// and delete), set this to 0. +// This switch is currently ignored for mingw / cygwin +// +// Default is 0 +// +// Recommended setting: 0 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + +// In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If +// this causes problems (e.g. link errors), set this to 0. You may need to set +// this to 0 if using templates (at least for VC++). This switch is currently +// ignored for mingw / cygwin / CodeWarrior +// +// Default is 0 +// +// Recommended setting: 0 +#define wxUSE_DEBUG_NEW_ALWAYS 0 + +// wxHandleFatalExceptions() may be used to catch the program faults at run +// time and, instead of terminating the program with a usual GPF message box, +// call the user-defined wxApp::OnFatalException() function. If you set +// wxUSE_ON_FATAL_EXCEPTION to 0, wxHandleFatalExceptions() will not work. +// +// This setting is for Win32 only and can only be enabled if your compiler +// supports Win32 structured exception handling (currently only VC++ does) +// +// Default is 1 +// +// Recommended setting: 1 if your compiler supports it. +#ifdef _MSC_VER + #define wxUSE_ON_FATAL_EXCEPTION 1 +#else + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif + +// ---------------------------------------------------------------------------- +// Unicode support +// ---------------------------------------------------------------------------- + +// Set wxUSE_UNICODE to 1 to compile wxWindows in Unicode mode: wxChar will be +// defined as wchar_t, wxString will use Unicode internally. If you set this +// to 1, you must use wxT() macro for all literal strings in the program. +// +// Unicode is currently only fully supported under Windows NT/2000/XP (Windows 9x +// doesn't support it and the programs compiled in Unicode mode will not run +// under 9x). +// +// Default is 0 +// +// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP) +#define wxUSE_UNICODE 0 + +// Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWindows in Unicode mode +// and be able to run compiled apps under Windows 9x as well as NT/2000/XP. This +// setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see +// http://www.microsoft.com/globaldev/Articles/mslu_announce.asp). Note that you +// will have to modify the makefiles to include unicows.lib import library as the first +// library (if you use MSVC, you can run the makefile with "nmake MSLU=1 UNICODE=1" +// command). +// +// If your compiler doesn't have unicows.lib, you can get a version of it at +// http://libunicows.sourceforge.net +// +// Default is 0 +// +// Recommended setting: 0 +#define wxUSE_UNICODE_MSLU 0 + +// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without +// compiling the program in Unicode mode. More precisely, it will be possible +// to construct wxString from a wide (Unicode) string and convert any wxString +// to Unicode. +// +// Default is 1 +// +// Recommended setting: 1 for win32 else 0 +#if defined(__WIN32__) + #define wxUSE_WCHAR_T 0 //? unresolved external symbol wxCharsetToCodepage +#else + #define wxUSE_WCHAR_T 0 +#endif + +// ---------------------------------------------------------------------------- +// global features +// ---------------------------------------------------------------------------- + +// Support for message/error logging. This includes wxLogXXX() functions and +// wxLog and derived classes. Don't set this to 0 unless you really know what +// you are doing. +// +// Default is 1 +// +// Recommended setting: 1 (always) +#define wxUSE_LOG 1 + +// Support for command line parsing using wxCmdLineParser class. +// +// Default is 1 +// +// Recommended setting: 1 (can be set to 0 if you don't use the cmd line) +#define wxUSE_CMDLINE_PARSER 1 + +// Recommended setting: 1 +#define wxUSE_LOGWINDOW 1 + +// Recommended setting: 1 +#define wxUSE_LOGGUI 1 + +// Recommended setting: 1 +#define wxUSE_LOG_DIALOG 1 + +// Support for multithreaded applications: if 1, compile in thread classes +// (thread.h) and make the library a bit more thread safe. Although thread +// support is quite stable by now, you may still consider recompiling the +// library without it if you have no use for it - this will result in a +// somewhat smaller and faster operation. +// +// This is ignored under Win16, threads are only supported under Win32. +// +// Default is 1 +// +// Recommended setting: 0 unless you do plan to develop MT applications +#define wxUSE_THREADS 1 + +// If enabled (1), compiles wxWindows streams classes +#define wxUSE_STREAMS 1 + +// Use standard C++ streams if 1. If 0, use wxWin streams implementation. +#ifdef __MWERKS__ + #define wxUSE_STD_IOSTREAM 1 +#else + #define wxUSE_STD_IOSTREAM 0 +#endif + +// ---------------------------------------------------------------------------- +// non GUI features selection +// ---------------------------------------------------------------------------- + +// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit +// integer which is implemented in terms of native 64 bit integers if any or +// uses emulation otherwise. +// +// This class is required by wxDateTime and so you should enable it if you want +// to use wxDateTime. For most modern platforms, it will use the native 64 bit +// integers in which case (almost) all of its functions are inline and it +// almost does not take any space, so there should be no reason to switch it +// off. +// +// Recommended setting: 1 +#define wxUSE_LONGLONG 1 + +// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level +// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions. +// +// Default is 1 +// +// Recommended setting: 1 (wxFile is highly recommended as it is required by +// i18n code, wxFileConfig and others) +#define wxUSE_FILE 1 +#define wxUSE_FFILE 1 + +// Use wxFSVolume class providing access to the configured/active mount points +// +// Default is 1 +// +// Recommended setting: 1 (but may be safely disabled if you don't use it) +#define wxUSE_FSVOLUME 1 + +// use wxTextBuffer class: required by wxTextFile +#define wxUSE_TEXTBUFFER 1 + +// use wxTextFile class: requires wxFile and wxTextBuffer, required by +// wxFileConfig +#define wxUSE_TEXTFILE 1 + +// i18n support: _() macro, wxLocale class. Requires wxTextFile. +#define wxUSE_INTL 1 + +// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which +// allow to manipulate dates, times and time intervals. wxDateTime replaces the +// old wxTime and wxDate classes which are still provided for backwards +// compatibility (and implemented in terms of wxDateTime). +// +// Note that this class is relatively new and is still officially in alpha +// stage because some features are not yet (fully) implemented. It is already +// quite useful though and should only be disabled if you are aiming at +// absolutely minimal version of the library. +// +// Requires: wxUSE_LONGLONG +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_DATETIME 1 + +// wxUSE_TIMEDATE enables compilation of the old wxDate and wxTime classes (not +// the same as wxDateTime!). These classes are obsolete and shouldn't be used +// in new code +// +// Default is 0 +// +// Recommended setting: 0 unless you have legacy code which uses these classes +#define wxUSE_TIMEDATE 0 + +// Set wxUSE_TIMER to 1 to compile wxTimer class +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_TIMER 1 + +// Use wxStopWatch clas. +// +// Default is 1 +// +// Recommended setting: 1 (needed by wxSocket) +#define wxUSE_STOPWATCH 1 + +// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes +// which allow the application to store its settings in the persistent +// storage. Setting this to 1 will also enable on-demand creation of the +// global config object in wxApp. +// +// See also wxUSE_CONFIG_NATIVE below. +// +// Recommended setting: 1 +#define wxUSE_CONFIG 1 + +// If wxUSE_CONFIG is 1, you may choose to use either the native config +// classes under Windows (using .INI files under Win16 and the registry under +// Win32) or the portable text file format used by the config classes under +// Unix. +// +// Default is 1 to use native classes. Note that you may still use +// wxFileConfig even if you set this to 1 - just the config object created by +// default for the applications needs will be a wxRegConfig or wxIniConfig and +// not wxFileConfig. +// +// Recommended setting: 0 (universal should not use native) +#if defined(__WIN32__) + #define wxUSE_CONFIG_NATIVE 0 +#else + #define wxUSE_CONFIG_NATIVE 0 +#endif + +// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows +// to connect/disconnect from the network and be notified whenever the dial-up +// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER. +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_DIALUP_MANAGER 1 +#else + #define wxUSE_DIALUP_MANAGER 0 +#endif + +// Compile in classes for run-time DLL loading and function calling. +// Required by wxUSE_DIALUP_MANAGER. +// +// This setting is for Win32 only +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_DYNLIB_CLASS 1 +#else + #define wxUSE_DYNLIB_CLASS 0 +#endif + +// experimental, don't use for now +#if defined(__WIN32__) + #define wxUSE_DYNAMIC_LOADER 1 +#else + #define wxUSE_DYNAMIC_LOADER 0 +#endif + +// Set to 1 to use socket classes +#define wxUSE_SOCKETS 1 + +// Set to 1 to enable virtual file systems (required by wxHTML) +#define wxUSE_FILESYSTEM 1 + +// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM) +#define wxUSE_FS_ZIP 1 + +// Set to 1 to compile wxZipInput/OutputStream classes. +#define wxUSE_ZIPSTREAM 1 + +// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by +// wxUSE_LIBPNG. +#define wxUSE_ZLIB 1 + +// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM) +#define wxUSE_FS_INET 1 + +// If enabled, the code written by Apple will be used to write, in a portable +// way, float on the disk. See extended.c for the license which is different +// from wxWindows one. +// +// Default is 1. +// +// Recommended setting: 1 unless you don't like the license terms (unlikely) +#define wxUSE_APPLE_IEEE 1 + +// Joystick support class +#if defined(__WIN32__) + #define wxUSE_JOYSTICK 1 +#else + #define wxUSE_JOYSTICK 1 +#endif + +// wxFontMapper class +#define wxUSE_FONTMAP 1 + +// wxMimeTypesManager class +#define wxUSE_MIMETYPE 1 + +// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP +// or wxURL you need to set this to 1. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_PROTOCOL 1 + +// Define this to use wxURL class. +#define wxUSE_URL 1 + +// The settings for the individual URL schemes +#define wxUSE_PROTOCOL_FILE 1 +#define wxUSE_PROTOCOL_FTP 1 +#define wxUSE_PROTOCOL_HTTP 1 + +// Support for regular expression matching via wxRegEx class: enable this to +// use POSIX regular expressions in your code. You need to compile regex +// library from src/regex to use it under Windows. +// +// Default is 0 +// +// Recommended setting: 1 if your compiler supports it, if it doesn't please +// contribute us a makefile for src/regex for it +#define wxUSE_REGEX 1 + +// wxSystemOptions class +#define wxUSE_SYSTEM_OPTIONS 1 + +// wxWave class +#if defined(__WIN32__) + #define wxUSE_WAVE 1 +#else + #define wxUSE_WAVE 1 +#endif + +// ---------------------------------------------------------------------------- +// Individual GUI controls +// ---------------------------------------------------------------------------- + +// You must set wxUSE_CONTROLS to 1 if you are using any controls at all +// (without it, wxControl class is not compiled) +// +// Default is 1 +// +// Recommended setting: 1 (don't change except for very special programs) +#define wxUSE_CONTROLS 1 + +// wxPopupWindow class is a top level transient window. It is currently used +// to implement wxTipWindow +// +// Default is 1 +// +// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW) +#define wxUSE_POPUPWIN 1 + +// wxTipWindow allows to implement the custom tooltips, it is used by the +// context help classes. Requires wxUSE_POPUPWIN. +// +// Default is 1 +// +// Recommended setting: 1 (may be set to 0) +#define wxUSE_TIPWINDOW 1 + +// Each of the settings below corresponds to one wxWindows control. They are +// all switched on by default but may be disabled if you are sure that your +// program (including any standard dialogs it can show!) doesn't need them and +// if you desperately want to save some space. If you use any of these you must +// set wxUSE_CONTROLS as well. +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_BUTTON 1 // wxButton +#define wxUSE_BMPBUTTON 1 // wxBitmapButton +#define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl +#define wxUSE_CHECKBOX 1 // wxCheckBox +#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN) +#define wxUSE_CHOICE 1 // wxChoice +#define wxUSE_COMBOBOX 1 // wxComboBox +#define wxUSE_GAUGE 1 // wxGauge +#define wxUSE_LISTBOX 1 // wxListBox +#define wxUSE_LISTCTRL 1 // wxListCtrl +#define wxUSE_RADIOBOX 1 // wxRadioBox +#define wxUSE_RADIOBTN 1 // wxRadioButton +#define wxUSE_SCROLLBAR 1 // wxScrollBar +#define wxUSE_SLIDER 1 // wxSlider +#define wxUSE_SPINBTN 1 // wxSpinButton +#define wxUSE_SPINCTRL 1 // wxSpinCtrl +#define wxUSE_STATBOX 1 // wxStaticBox +#define wxUSE_STATLINE 1 // wxStaticLine +#define wxUSE_STATTEXT 1 // wxStaticText +#define wxUSE_STATBMP 1 // wxStaticBitmap +#define wxUSE_TEXTCTRL 1 // wxTextCtrl +#define wxUSE_TOGGLEBTN 0 // requires wxButton //? not supported in generic and wrong in msw +#define wxUSE_TREECTRL 1 // wxTreeCtrl + +// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR +// below either wxStatusBar95 or a generic wxStatusBar will be used. +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_STATUSBAR 1 + +// Two status bar implementations are available under Win32: the generic one +// or the wrapper around native control. For native look and feel the native +// version should be used. +// +// Default is 0. +// +// Recommended setting: 0 +#define wxUSE_NATIVE_STATUSBAR 0 + +// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar +// classes at all. Otherwise, use the native toolbar class unless +// wxUSE_TOOLBAR_NATIVE is 0. Additionally, the generic toolbar class which +// supports some features which might not be supported by the native wxToolBar +// class may be compiled in if wxUSE_TOOLBAR_SIMPLE is 1. +// +// Default is 0 for all settings. +// +// Recommended setting: 1 for wxUSE_TOOLBAR and 0 for wxUSE_TOOLBAR_NATIVE and +// wxUSE_TOOLBAR_SIMPLE. +#define wxUSE_TOOLBAR 1 +#define wxUSE_TOOLBAR_NATIVE 0 +#define wxUSE_TOOLBAR_SIMPLE 0 + +// this setting is obsolete, value is ignored +#define wxUSE_BUTTONBAR 0 + +// wxNotebook is a control with several "tabs" located on one of its sides. It +// may be used ot logically organise the data presented to the user instead of +// putting everything in one huge dialog. It replaces wxTabControl and related +// classes of wxWin 1.6x. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_NOTEBOOK 1 + +// wxTabDialog is a generic version of wxNotebook but it is incompatible with +// the new class. It shouldn't be used in new code. +// +// Default is 0. +// +// Recommended setting: 0 (use wxNotebook) +#define wxUSE_TAB_DIALOG 0 + +// wxGrid class comes in two flavours: the original (pre wxWin 2.2) one and +// the new, much imporved and enhanced version. The new version is backwards +// compatible with the old one and should be used whenever possible, i.e. if +// you set wxUSE_GRID to 1, set wxUSE_NEW_GRID to 1 too. +// +// Default is 1 for both options. +// +// Recommended setting: 1 for wxUSE_NEW_GRID, 0 if you have an old code using +// wxGrid and 100% backwards compatibality (with all old wxGrid quirks) is +// essential. +// +// WIN16/BC++ resets wxUSE_NEW_GRID to 0 because it exceeds the data limit. +#define wxUSE_GRID 1 +#define wxUSE_NEW_GRID 1 + +// wxProperty[Value/Form/List] classes, used by Dialog Editor +#define wxUSE_PROPSHEET 1 + +// ---------------------------------------------------------------------------- +// Miscellaneous GUI stuff +// ---------------------------------------------------------------------------- + +// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar) +#define wxUSE_ACCEL 1 + +// Use wxCaret: a class implementing a "cursor" in a text control (called caret +// under Windows). +// +// Default is 1. +// +// Recommended setting: 1 (can be safely set to 0, not used by the library) +#define wxUSE_CARET 1 + +// Miscellaneous geometry code: needed for Canvas library +#define wxUSE_GEOMETRY 0 + +// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and +// wxListCtrl. +// +// Default is 1. +// +// Recommended setting: 1 (set it to 0 if you don't use any of the controls +// enumerated above, then this class is mostly useless too) +#define wxUSE_IMAGLIST 1 + +// Use wxMenu, wxMenuBar, wxMenuItem. +// +// Default is 1. +// +// Recommended setting: 1 (can't be disabled under MSW) +#define wxUSE_MENUS 1 + +// Use wxSashWindow class. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_SASH 1 + +// Use wxSplitterWindow class. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_SPLITTER 1 + +// Use wxToolTip and wxWindow::Set/GetToolTip() methods. +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_TOOLTIPS 0 //? error 'SetWindow' cannot convert parameter 1 ... +#else + #define wxUSE_TOOLTIPS 0 +#endif + +// wxValidator class and related methods +#define wxUSE_VALIDATORS 1 + +// wxDC cacheing implementation +#define wxUSE_DC_CACHEING 1 + +// ---------------------------------------------------------------------------- +// common dialogs +// ---------------------------------------------------------------------------- + +// Define 1 to use generic dialogs in Windows, even though they duplicate +// native common dialog (e.g. wxColourDialog). This is mainly useful for +// testing. +// +// Default is 0 +// +// Recommended setting: 0 +#define wxUSE_GENERIC_DIALOGS_IN_MSW 0 + +// On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. +// file selector, printer dialog). Switching this off also switches off the +// printing architecture and interactive wxPrinterDC. +// +// Default is 1 +// +// Recommended setting: 1 (unless it really doesn't work) +#define wxUSE_COMMON_DIALOGS 1 + +// wxBusyInfo displays window with message when app is busy. Works in same way +// as wxBusyCursor +#define wxUSE_BUSYINFO 1 + +// Use single/multiple choice dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (used in the library itself) +#define wxUSE_CHOICEDLG 1 + +// Use colour picker dialog +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_COLOURDLG 1 + +// wxDirDlg class for getting a directory name from user +#define wxUSE_DIRDLG 1 + +// TODO: setting to choose the generic or native one + +// Use file open/save dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (used in many places in the library itself) +#if defined(__WIN32__) + #define wxUSE_FILEDLG 1 +#else + #define wxUSE_FILEDLG 1 +#endif + +// Use find/replace dialogs. +// +// Default is 1 +// +// Recommended setting: 1 (but may be safely set to 0) +#define wxUSE_FINDREPLDLG 1 + +// Use font picker dialog +// +// Default is 1 +// +// Recommended setting: 1 (used in the library itself) +#define wxUSE_FONTDLG 1 + +// Use wxMessageDialog and wxMessageBox. +// +// Default is 1 +// +// Recommended setting: 1 (used in the library itself) +#define wxUSE_MSGDLG 1 + +// progress dialog class for lengthy operations +#define wxUSE_PROGRESSDLG 1 + +// support for startup tips (wxShowTip &c) +#define wxUSE_STARTUP_TIPS 1 + +// text entry dialog and wxGetTextFromUser function +#define wxUSE_TEXTDLG 1 + +// number entry dialog +#define wxUSE_NUMBERDLG 1 + +// splash screen class +#define wxUSE_SPLASH 1 + +// wizards +#define wxUSE_WIZARDDLG 0 //? error '_wxArraywxArrayPages' redefinition + +// ---------------------------------------------------------------------------- +// Metafiles support +// ---------------------------------------------------------------------------- + +// Windows supports the graphics format known as metafile which is, though not +// portable, is widely used under Windows and so is supported by wxWin (under +// Windows only, of course). Win16 (Win3.1) used the so-called "Window +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by +// default, WMFs will be used under Win16 and EMFs under Win32. This may be +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile +// in any metafile related classes at all. +// +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS. +// +// Recommended setting: default or 0 for everything for portable programs. +#define wxUSE_METAFILE 0 +#define wxUSE_ENH_METAFILE 0 +#define wxUSE_WIN_METAFILES_ALWAYS 0 + +// ---------------------------------------------------------------------------- +// Big GUI components +// ---------------------------------------------------------------------------- + +// Set to 0 to disable document/view architecture +#define wxUSE_DOC_VIEW_ARCHITECTURE 1 + +// Set to 0 to disable MDI document/view architecture +#define wxUSE_MDI_ARCHITECTURE 1 + +// Set to 0 to disable print/preview architecture code +#define wxUSE_PRINTING_ARCHITECTURE 1 + +// wxHTML sublibrary allows to display HTML in wxWindow programs and much, +// much more. +// +// Default is 1. +// +// Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a +// smaller library. +#define wxUSE_HTML 1 + +// OpenGL canvas +#if defined(__WIN32__) + #define wxUSE_GLCANVAS 0 //? error unresolved external symbol ... +#else + #define wxUSE_GLCANVAS 0 +#endif + +// wxTreeLayout class +#define wxUSE_TREELAYOUT 1 + +// ---------------------------------------------------------------------------- +// Data transfer +// ---------------------------------------------------------------------------- + +// Use wxClipboard class for clipboard copy/paste. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_CLIPBOARD 0 //? needs wxUSE_OLE + +// Use wxDataObject and related classes. Needed for clipboard and OLE drag and +// drop +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_DATAOBJ 1 + +// Use wxDropTarget and wxDropSource classes for drag and drop (this is +// different from "built in" drag and drop in wxTreeCtrl which is always +// available). Requires wxUSE_DATAOBJ. +// +// Default is 1. +// +// Recommended setting: 1 +#if defined(__WIN32__) + #define wxUSE_DRAG_AND_DROP 0 //? needs wxUSE_OLE +#else + #define wxUSE_DRAG_AND_DROP 0 +#endif + +// ---------------------------------------------------------------------------- +// miscellaneous settings +// ---------------------------------------------------------------------------- + +// wxSingleInstanceChecker class allows to verify at startup if another program +// instance is running (it is only available under Win32) +// +// Default is 1 +// +// Recommended setting: 1 (the class is tiny, disabling it won't save much +// space) +#if defined(__WIN32__) + #define wxUSE_SNGLINST_CHECKER 1 +#else + #define wxUSE_SNGLINST_CHECKER 0 +#endif + +// Drag image +#define wxUSE_DRAGIMAGE 1 + +// Interprocess communication +#define wxUSE_IPC 1 + +// Help +#if defined(__WIN32__) + #define wxUSE_HELP 1 +#else + #define wxUSE_HELP 1 +#endif + +// MS help +#define wxUSE_MS_HTML_HELP 1 + +// Use wxHTML-based help controller? +#define wxUSE_WXHTML_HELP 0 //? error 'type cast' cannot convert from ... + +// Use resources +#define wxUSE_RESOURCES 1 + +// Window layout constraint system +#define wxUSE_CONSTRAINTS 1 + +// Splines +#define wxUSE_SPLINES 1 + +// Use XPM support in wxBitmap +// +// Default is 1, as XPM is now fully supported this makes easier the issue +// of portable icons and bitmaps +#if defined(__WIN32__) + #define wxUSE_XPM_IN_MSW 1 +#else + #define wxUSE_XPM_IN_MSW 0 +#endif + +// Use dynamic DIB loading/saving code in utils/dib under MSW. +#if defined(__WIN32__) + #define wxUSE_IMAGE_LOADING_IN_MSW 0 //? needs more testing +#else + #define wxUSE_IMAGE_LOADING_IN_MSW 0 +#endif + +// Use dynamic icon/cursor loading/saving code under MSW. +#if defined(__WIN32__) + #define wxUSE_RESOURCE_LOADING_IN_MSW 0 //? needs more testing +#else + #define wxUSE_RESOURCE_LOADING_IN_MSW 0 +#endif + +// use wxExpr (a.k.a. PrologIO) +#define wxUSE_PROLOGIO 0 + +// Use .wxr resource mechanism (requires PrologIO library) +#define wxUSE_WX_RESOURCES 0 + +// Include mouse wheel support +#define wxUSE_MOUSEWHEEL 1 + +// ---------------------------------------------------------------------------- +// postscript support settings +// ---------------------------------------------------------------------------- + +// Set to 1 for PostScript device context. +#define wxUSE_POSTSCRIPT 1 + +// Set to 1 to use font metric files in GetTextExtent +#define wxUSE_AFM_FOR_POSTSCRIPT 1 + +// Set to 0 to disable PostScript print/preview architecture code under Windows +// (just use Windows printing). +#if defined(__WIN32__) + #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 +#else + #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 +#endif + +// ---------------------------------------------------------------------------- +// database classes +// ---------------------------------------------------------------------------- + +// Define 1 to use ODBC classes +#define wxUSE_ODBC 1 + +// For backward compatibility reasons, this parameter now only controls the +// default scrolling method used by cursors. This default behavior can be +// overriden by setting the second param of wxDB::wxDbGetConnection() or +// wxDb() constructor to indicate whether the connection (and any wxDbTable()s +// that use the connection) should support forward only scrolling of cursors, +// or both forward and backward support for backward scrolling cursors is +// dependent on the data source as well as the ODBC driver being used. +#define wxODBC_FWD_ONLY_CURSORS 0 + +// Default is 0. Set to 1 to use the deprecated classes, enum types, function, +// member variables. With a setting of 1, full backward compatability with the +// 2.0.x release is possible. It is STRONGLY recommended that this be set to 0, +// as future development will be done only on the non-deprecated +// functions/classes/member variables/etc. +#define wxODBC_BACKWARD_COMPATABILITY 0 + +// ---------------------------------------------------------------------------- +// other compiler (mis)features +// ---------------------------------------------------------------------------- + +// Set this to 0 if your compiler can't cope with omission of prototype +// parameters. +// +// Default is 1. +// +// Recommended setting: 1 (should never need to set this to 0) +#define REMOVE_UNUSED_ARG 1 + +// VC++ 4.2 and above allows and but you can't mix +// them. Set to 1 for , 0 for +// +// Default is 1. +// +// Recommended setting: whatever your compiler likes more +#ifdef __MWERKS__ + #define wxUSE_IOSTREAMH 1 +#else + #define wxUSE_IOSTREAMH 0 +#endif + +// ---------------------------------------------------------------------------- +// image format support +// ---------------------------------------------------------------------------- + +// wxImage supports many different image formats which can be configured at +// compile-time. BMP is always supported, others are optional and can be safely +// disabled if you don't plan to use images in such format sometimes saving +// substantial amount of code in the final library. +// +// Some formats require an extra library which is included in wxWin sources +// which is mentioned if it is the case. + +// Set to 1 for wxImage support (recommended). +#define wxUSE_IMAGE 1 + +// Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB. +#define wxUSE_LIBPNG 1 + +// Set to 1 for JPEG format support (requires libjpeg) +#define wxUSE_LIBJPEG 1 + +// Set to 1 for TIFF format support (requires libtiff) +#define wxUSE_LIBTIFF 1 + +// Set to 1 for GIF format support +#define wxUSE_GIF 1 + +// Set to 1 for PNM format support +#define wxUSE_PNM 1 + +// Set to 1 for PCX format support +#define wxUSE_PCX 1 + +// Set to 1 for IFF format support (Amiga format) +#define wxUSE_IFF 0 + +// Set to 1 for XPM format support +#define wxUSE_XPM 1 + +// Set to 1 for MS Icons and Cursors format support +#define wxUSE_ICO_CUR 0 + +// Set to 1 to compile in wxPalette class +#if defined(__WIN32__) + #define wxUSE_PALETTE 1 +#else + #define wxUSE_PALETTE 1 +#endif + +// ---------------------------------------------------------------------------- +// Windows-only settings +// ---------------------------------------------------------------------------- +#if defined(__WINDOWS__) + +// Set this to 1 if you want to use wxWindows and MFC in the same program. This +// will override some other settings (see below) +// +// Default is 0. +// +// Recommended setting: 0 unless you really have to use MFC +#define wxUSE_MFC 0 + +// Set this to 1 for generic OLE support: this is required for drag-and-drop, +// clipboard, OLE Automation. Only set it to 0 if your compiler is very old and +// can't compile/doesn't have the OLE headers. +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_OLE 0 //? needs more testing + +// Set this to 1 to use Microsoft CTL3D library for "3D-look" under Win16 or NT +// 3.x. This setting is ignored under Win9x and NT 4.0+. +// +// Default is 0 for (most) Win32 (systems), 1 for Win16 +// +// Recommended setting: same as default +#if defined(__WIN95__) //? wrong test, should be positive + #define wxUSE_CTL3D 0 +#else + #define wxUSE_CTL3D 0 //? see above +#endif + +// Define as 1 to use Microsoft's ItsyBitsy small title bar library, for +// wxMiniFrame. This setting is only used for Win3.1; Win9x and NT use native +// miniframes support instead. +// +// Default is 0 for (most) Win32 (systems), 1 for Win16 +// +// Recommended setting: same as default +#if defined(__WIN95__) //? wrong test, should be positive + #define wxUSE_ITSY_BITSY 0 +#else + #define wxUSE_ITSY_BITSY 0 //? see above +#endif + +// Set this to 1 to use RICHEDIT controls for wxTextCtrl with style wxTE_RICH +// which allows to put more than ~32Kb of text in it even under Win9x (NT +// doesn't have such limitation). +// +// Default is 1 for compilers which support it +// +// Recommended setting: 1, only set it to 0 if your compiler doesn't have +// or can't compile +#if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__) +// TODO: This should be ifdef'ed for any compilers that don't support +// RichEdit 2.0 but do have RichEdit 1.0... + #define wxUSE_RICHEDIT 0 //? needs more testing + #define wxUSE_RICHEDIT2 0 //? needs more testing + +#else + #define wxUSE_RICHEDIT 0 + #define wxUSE_RICHEDIT2 0 +#endif + +// Set this to 1 to enable support for the owner-drawn menu and listboxes. This +// is required by wxUSE_CHECKLISTBOX. +// +// Default is 1. +// +// Recommended setting: 1, set to 0 for a small library size reduction +#define wxUSE_OWNER_DRAWN 0 //? error 'MSWOnDraw' is not a member of 'wxControl' + +#endif + +// ---------------------------------------------------------------------------- +// disable the settings which don't work for some compilers +// ---------------------------------------------------------------------------- + +#ifndef wxUSE_NORLANDER_HEADERS + #if (defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) + #define wxUSE_NORLANDER_HEADERS 1 + #else + #define wxUSE_NORLANDER_HEADERS 0 + #endif +#endif + +// wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior +#if defined(__MWERKS__) + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif + +#if defined(__GNUWIN32__) +// These don't work as expected for mingw32 and cygwin32 + #undef wxUSE_MEMORY_TRACING + #define wxUSE_MEMORY_TRACING 0 + + #undef wxUSE_GLOBAL_MEMORY_OPERATORS + #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 + +// Cygwin betas don't have wcslen + #if defined(__CYGWIN__) || defined(__CYGWIN32__) + #if ! ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) + #undef wxUSE_WCHAR_T + #define wxUSE_WCHAR_T 0 + #endif + #endif + +#endif // __GNUWIN32__ + +// MFC duplicates these operators +#if wxUSE_MFC + #undef wxUSE_GLOBAL_MEMORY_OPERATORS + #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif // wxUSE_MFC + +#if (!defined(WIN32) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) +// Can't use OLE drag and drop in Windows 3.1 because we don't know how +// to implement UUIDs +// GnuWin32 doesn't have appropriate headers for e.g. IUnknown. + #undef wxUSE_DRAG_AND_DROP + #define wxUSE_DRAG_AND_DROP 0 +#endif + +// Only WIN32 supports wxStatusBar95 +#if !defined(__WIN32__) && wxUSE_NATIVE_STATUSBAR + #undef wxUSE_NATIVE_STATUSBAR + #define wxUSE_NATIVE_STATUSBAR 0 +#endif + +#if !wxUSE_OWNER_DRAWN + #undef wxUSE_CHECKLISTBOX + #define wxUSE_CHECKLISTBOX 0 +#endif + +// Salford C++ doesn't like some of the memory operator definitions +#ifdef __SALFORDC__ + #undef wxUSE_MEMORY_TRACING + #define wxUSE_MEMORY_TRACING 0 + + #undef wxUSE_GLOBAL_MEMORY_OPERATORS + #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 + + #undef wxUSE_THREADS + #define wxUSE_THREADS 0 + + #undef wxUSE_OWNER_DRAWN + #define wxUSE_OWNER_DRAWN 0 +#endif // __SALFORDC__ + +#ifdef __TWIN32__ + #undef wxUSE_THREADS + #define wxUSE_THREADS 0 + + #undef wxUSE_ODBC + #define wxUSE_ODBC 0 +#endif // __TWIN32__ + +// BC++/Win16 can't cope with the amount of data in resource.cpp +#if defined(__WIN16__) && defined(__BORLANDC__) + #undef wxUSE_WX_RESOURCES + #define wxUSE_WX_RESOURCES 0 + + #undef wxUSE_ODBC + #define wxUSE_ODBC 0 + + #undef wxUSE_NEW_GRID + #define wxUSE_NEW_GRID 0 +#endif + +#if defined(__BORLANDC__) && (__BORLANDC__ < 0x500) +// BC++ 4.0 can't compile JPEG library + #undef wxUSE_LIBJPEG + #define wxUSE_LIBJPEG 0 +#endif + +// wxUSE_DEBUG_NEW_ALWAYS = 1 not compatible with BC++ in DLL mode +#if defined(__BORLANDC__) && (defined(WXMAKINGDLL) || defined(WXUSINGDLL)) + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif + +#if defined(__WXMSW__) && defined(__WATCOMC__) + /* + #undef wxUSE_GLCANVAS + #define wxUSE_GLCANVAS 0 + */ + + #undef wxUSE_WCHAR_T + #define wxUSE_WCHAR_T 0 +#endif + +#if defined(__WXMSW__) && !defined(__WIN32__) + #undef wxUSE_SOCKETS + #define wxUSE_SOCKETS 0 + + #undef wxUSE_THREADS + #define wxUSE_THREADS 0 + + #undef wxUSE_TOOLTIPS + #define wxUSE_TOOLTIPS 0 + + #undef wxUSE_SPINCTRL + #define wxUSE_SPINCTRL 0 + + #undef wxUSE_SPINBTN + #define wxUSE_SPINBTN 0 + + #undef wxUSE_LIBPNG + #define wxUSE_LIBPNG 0 + + #undef wxUSE_LIBJPEG + #define wxUSE_LIBJPEG 0 + + #undef wxUSE_LIBTIFF + #define wxUSE_LIBTIFF 0 + + #undef wxUSE_GIF + #define wxUSE_GIF 0 + + #undef wxUSE_PNM + #define wxUSE_PNM 0 + + #undef wxUSE_PCX + #define wxUSE_PCX 0 + + #undef wxUSE_GLCANVAS + #define wxUSE_GLCANVAS 0 + + #undef wxUSE_MS_HTML_HELP + #define wxUSE_MS_HTML_HELP 0 + + #undef wxUSE_WCHAR_T + #define wxUSE_WCHAR_T 0 + +#endif // Win16 + +// ---------------------------------------------------------------------------- +// unknown settings +// ---------------------------------------------------------------------------- + +// Use serialization (requires utils/serialize)? +#define wxUSE_SERIAL 0 + +// Use plotter? +#define wxUSE_PLOT 0 + +// If 1, enables provision of run-time type information. +// NOW MANDATORY: don't change. +#define wxUSE_DYNAMIC_CLASSES 1 + +//?????? +#if defined(__WIN32__) + #define wxUSE_DISPLAY 0 +#else + #define wxUSE_DISPLAY 0 +#endif + +//?????? +#if defined(__WIN32__) + #define wxUSE_DDE_FOR_IPC 0 +#else + #define wxUSE_DDE_FOR_IPC 0 +#endif + +//?????? +#define wxUSE_SPAWNBROWSER 0 + +#endif // _WX_UNIV_SETUP_H_ diff --git a/include/wx/univ/toplevel.h b/include/wx/univ/toplevel.h index 9edcf899f6..e9265722ee 100644 --- a/include/wx/univ/toplevel.h +++ b/include/wx/univ/toplevel.h @@ -36,7 +36,7 @@ enum wxTOPLEVEL_BUTTON_MAXIMIZE = 0x02000000, wxTOPLEVEL_BUTTON_ICONIZE = 0x04000000, wxTOPLEVEL_BUTTON_RESTORE = 0x08000000, - wxTOPLEVEL_BUTTON_HELP = 0x10000000, + wxTOPLEVEL_BUTTON_HELP = 0x10000000 }; // frame hit test return values: @@ -143,7 +143,7 @@ public: virtual int GetMinWidth() const; virtual int GetMinHeight() const; - virtual bool ProvidesBackground() { return TRUE; } + virtual bool ProvidesBackground() const { return TRUE; } protected: // handle titlebar button click event diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index 673dddf1e3..2c0d484df6 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -179,7 +179,7 @@ public: // to be used with function above: transparent windows get // their background from parents that return TRUE here, // so this is mostly for wxPanel, wxTopLevelWindow etc. - virtual bool ProvidesBackground() { return FALSE; } + virtual bool ProvidesBackground() const { return FALSE; } // return TRUE if this control can be highlighted when the mouse is over // it (the theme decides itself whether it is really highlighted or not) diff --git a/include/wx/utils.h b/include/wx/utils.h index 076d32c6d7..daa48783ae 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -65,8 +65,10 @@ WXDLLEXPORT_DATA(extern wxChar*) wxBuffer; // Make a copy of this string using 'new' WXDLLEXPORT wxChar* copystring(const wxChar *s); +#if WXWIN_COMPATIBILITY_2 // Matches string one within string two regardless of case WXDLLEXPORT bool StringMatch(const wxChar *one, const wxChar *two, bool subString = TRUE, bool exact = FALSE); +#endif // A shorter way of using strcmp #define wxStringEq(s1, s2) (s1 && s2 && (wxStrcmp(s1, s2) == 0)) diff --git a/include/wx/version.h b/include/wx/version.h index dbb7911023..325b51e592 100644 --- a/include/wx/version.h +++ b/include/wx/version.h @@ -15,13 +15,13 @@ // Bump-up with each new version #define wxMAJOR_VERSION 2 #define wxMINOR_VERSION 3 -#define wxRELEASE_NUMBER 3 -#define wxVERSION_STRING _T("wxWindows 2.3.3") +#define wxRELEASE_NUMBER 4 +#define wxVERSION_STRING _T("wxWindows 2.3.4") // These are used by src/msw/version.rc and should always be ASCII, not Unicode // and must be updated manually as well each time the version above changes -#define wxVERSION_NUM_DOT_STRING "2.3.3" -#define wxVERSION_NUM_STRING "233" +#define wxVERSION_NUM_DOT_STRING "2.3.4" +#define wxVERSION_NUM_STRING "234" // nothing should be updated below this line when updating the version diff --git a/include/wx/window.h b/include/wx/window.h index 59a9769b1b..1b12bc2884 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -271,7 +271,18 @@ public: *h = s.y; } - // the generic centre function - centers the window on parent by + // There are times (and windows) where 'Best' size and 'Min' size + // are vastly out of sync. This should be remedied somehow, but in + // the meantime, this method will return the larger of BestSize + // (the window's smallest legible size), and any user specified + // MinSize hint. + wxSize GetAdjustedBestSize() const + { + wxSize s( DoGetBestSize() ); + return wxSize( wxMax( s.x, GetMinWidth() ), wxMax( s.y, GetMinHeight() ) ); + } + + // the generic centre function - centers the window on parent by` // default or on screen if it doesn't have parent or // wxCENTER_ON_SCREEN flag is given void Centre( int direction = wxBOTH ); @@ -288,6 +299,9 @@ public: // set window size to wrap around its children virtual void Fit(); + // set virtual size to satisfy children + virtual void FitInside(); + // set min/max size of the window virtual void SetSizeHints( int minW, int minH, int maxW = -1, int maxH = -1, @@ -331,6 +345,17 @@ public: virtual void DoSetVirtualSize( int x, int y ); virtual wxSize DoGetVirtualSize() const; // { return m_virtualSize; } + // Return the largest of ClientSize and BestSize (as determined + // by a sizer, interior children, or other means) + + virtual wxSize GetBestVirtualSize() const + { + wxSize client( GetClientSize() ); + wxSize best( GetBestSize() ); + + return wxSize( wxMax( client.x, best.x ), wxMax( client.y, best.y ) ); + } + // window state // ------------ @@ -958,8 +983,16 @@ protected: // set the best size for the control if the default size was given: // replaces the fields of size == -1 with the best values for them and // calls SetSize() if needed + // + // This function is rather unfortunately named.. it's really just a + // smarter SetSize / convenience function for expanding wxDefaultSize. + // Note that it does not influence the value returned by GetBestSize + // at all. void SetBestSize(const wxSize& size) { + // the size only needs to be changed if the current size is incomplete, + // i.e. one of the components was specified as default -- so if both + // were given, simply don't do anything if ( size.x == -1 || size.y == -1 ) { wxSize sizeBest = DoGetBestSize(); diff --git a/include/wx/wizard.h b/include/wx/wizard.h index ce716c5627..8ff916d7a0 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -201,6 +201,15 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize); #endif // WXWIN_COMPATIBILITY_2_2 + + // the methods below may be overridden by the derived classes to provide + // custom logic for determining the pages order + + virtual bool HasNextPage(wxWizardPage *page) + { return page->GetNext() != NULL; } + + virtual bool HasPrevPage(wxWizardPage *page) + { return page->GetPrev() != NULL; } }; // include the real class declaration diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 31bbb35f47..71e38836d6 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -81,8 +81,9 @@ #include // non Unix compilers which do have wchar.h (but not tchar.h which is included -// below and which includes wchar.h anyhow) -#if defined(__MWERKS__) || defined(__VISAGECPP__) +// below and which includes wchar.h anyhow). +// Actually MinGW has tchar.h, but it does not include wchar.h +#if defined(__MWERKS__) || defined(__VISAGECPP__) || defined(__MINGW32__) #ifndef HAVE_WCHAR_H #define HAVE_WCHAR_H #endif @@ -90,7 +91,18 @@ #if wxUSE_WCHAR_T #ifdef HAVE_WCHAR_H - #include + // the current (as of Nov 2002) version of cygwin has a bug in its + // wchar.h -- there is no extern "C" around the declarations in it and + // this results in linking errors later; also, at least on some + // Cygwin versions, wchar.h requires sys/types.h + #ifdef __CYGWIN__ + #include + extern "C" { + #endif // Cygwin + #include + #ifdef __CYGWIN__ + } + #endif // Cygwin #elif defined(HAVE_WCSTR_H) // old compilers have relevant declarations here #include @@ -257,6 +269,7 @@ #define wxStrcoll _tcscoll #define wxStrcpy _tcscpy #define wxStrcspn _tcscspn + #define wxStrdup _tcsdup #define wxStrftime _tcsftime #define wxStricmp _tcsicmp #define wxStrnicmp _tcsnicmp diff --git a/include/wx/wxexpr.h b/include/wx/wxexpr.h index 8730ce773b..031bced15b 100644 --- a/include/wx/wxexpr.h +++ b/include/wx/wxexpr.h @@ -16,7 +16,7 @@ #pragma interface "wxexpr.h" #endif -#include +#if wxUSE_PROLOGIO #include "wx/defs.h" #include "wx/string.h" @@ -26,6 +26,8 @@ #include "wx/expr.h" +#include + // Compatibility #define PrologExpr wxExpr #define PrologDatabase wxExprDatabase @@ -269,5 +271,7 @@ WXDLLEXPORT_DATA(extern wxExprDatabase*) thewxExprDatabase; // YACC/LEX can leave memory lying around... extern "C" WXDLLEXPORT int wxExprCleanUp(); -#endif +#endif // wxUSE_PROLOGIO + +#endif // _WX_WXEXPRH__ diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index c1e44dad6e..3621558b9f 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -101,6 +101,13 @@ public: const wxSize& GetInitialSize() const { return m_initialSize; } bool GetShowIconic() const { return m_showIconic; } +#if wxUSE_UNICODE + // Global context for Pango layout. Either use X11 + // or use Xft rendering according to GDK_USE_XFT + // environment variable + PangoContext* GetPangoContext(); +#endif + // We need this before creating the app static WXDisplay* GetDisplay() { return ms_display; } static WXDisplay* ms_display; diff --git a/include/wx/x11/colour.h b/include/wx/x11/colour.h index 3e1db7ddd6..9002149bda 100644 --- a/include/wx/x11/colour.h +++ b/include/wx/x11/colour.h @@ -48,7 +48,10 @@ public: // Implicit conversion from the colour name wxColour( const wxString &colourName ) { InitFromName(colourName); } - wxColour( const char *colourName ) { InitFromName(colourName); } + wxColour( const char *colourName ) { InitFromName( wxString::FromAscii(colourName) ); } +#if wxUSE_UNICODE + wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); } +#endif wxColour( const wxColour& col ) { Ref(col); } wxColour& operator = ( const wxColour& col ) { Ref(col); return *this; } diff --git a/include/wx/x11/dcclient.h b/include/wx/x11/dcclient.h index ce76814dca..f2a16a37fe 100644 --- a/include/wx/x11/dcclient.h +++ b/include/wx/x11/dcclient.h @@ -133,6 +133,11 @@ protected: wxRegion m_currentClippingRegion; wxRegion m_paintClippingRegion; +#if wxUSE_UNICODE + PangoContext *m_context; + PangoFontDescription *m_fontdesc; +#endif + void SetUpDC(); void Destroy(); void ComputeScaleAndOrigin(); diff --git a/include/wx/x11/font.h b/include/wx/x11/font.h index faf0d35801..83bf79c412 100644 --- a/include/wx/x11/font.h +++ b/include/wx/x11/font.h @@ -48,11 +48,15 @@ public: bool underlined = FALSE, const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); - - // wxMOTIF-specific + + // FIXME: I added the ! to make it compile; + // is this right? - JACS +#if !wxUSE_UNICODE bool Create(const wxString& fontname, wxFontEncoding fontenc = wxFONTENCODING_DEFAULT); - bool Create(const wxNativeFontInfo& fontinfo); +#endif + // DELETEME: no longer seems to be implemented. + // bool Create(const wxNativeFontInfo& fontinfo); virtual ~wxFont(); @@ -69,6 +73,8 @@ public: virtual wxFontEncoding GetEncoding() const; virtual wxNativeFontInfo *GetNativeFontInfo() const; + virtual bool IsFixedWidth() const; + virtual void SetPointSize(int pointSize); virtual void SetFamily(int family); virtual void SetStyle(int style); @@ -78,8 +84,13 @@ public: virtual void SetEncoding(wxFontEncoding encoding); virtual void SetNativeFontInfo( const wxNativeFontInfo& info ); - // Implementation + virtual void SetNoAntiAliasing( bool no = TRUE ); + virtual bool GetNoAntiAliasing(); + // Implementation + +#if wxUSE_PANGO +#else // Find an existing, or create a new, XFontStruct // based on this wxFont and the given scale. Append the // font to list in the private data for future reference. @@ -98,13 +109,12 @@ public: // Helper function for convenient access of the above. WXFontStructPtr GetFontStruct(double scale = 1.0, WXDisplay* display = NULL) const; +#endif protected: // common part of all ctors void Init(); - // VZ: IMHO, we don't need it at all... - bool RealizeResource() { return TRUE; } void Unshare(); private: diff --git a/include/wx/x11/private.h b/include/wx/x11/private.h index bb6d9be7f6..e2ae2945e7 100644 --- a/include/wx/x11/private.h +++ b/include/wx/x11/private.h @@ -21,10 +21,26 @@ // Include common declarations #include "wx/x11/privx.h" +#if wxUSE_UNICODE +#include "pango/pango.h" +#endif + class wxMouseEvent; class wxKeyEvent; class wxWindow; +// ---------------------------------------------------------------------------- +// Some Unicode <-> UTF8 macros stolen from GTK +// ---------------------------------------------------------------------------- + +#if wxUSE_UNICODE + #define wxGTK_CONV(s) wxConvUTF8.cWX2MB(s) + #define wxGTK_CONV_BACK(s) wxConvUTF8.cMB2WX(s) +#else + #define wxGTK_CONV(s) s.c_str() + #define wxGTK_CONV_BACK(s) s +#endif + // ---------------------------------------------------------------------------- // we maintain a hash table which contains the mapping from Widget to wxWindow // corresponding to the window for this widget @@ -42,7 +58,7 @@ extern bool wxAddClientWindowToTable(Window w, wxWindow *win); // TranslateXXXEvent() functions - translate X event to wxWindow one // ---------------------------------------------------------------------------- extern bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win, Window window, XEvent *xevent); -extern bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, Window window, XEvent *xevent); +extern bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, Window window, XEvent *xevent, bool isAscii = FALSE); extern Window wxGetWindowParent(Window window); diff --git a/include/wx/x11/privx.h b/include/wx/x11/privx.h index c8c63f63b8..7a3473593a 100644 --- a/include/wx/x11/privx.h +++ b/include/wx/x11/privx.h @@ -14,6 +14,8 @@ #include "wx/defs.h" #include "wx/utils.h" +#include "wx/colour.h" + #include "X11/Xlib.h" #include "X11/Xatom.h" #include "X11/Xutil.h" diff --git a/include/wx/xrc/xh_all.h b/include/wx/xrc/xh_all.h index 5382b6ffb0..2ac1db392c 100644 --- a/include/wx/xrc/xh_all.h +++ b/include/wx/xrc/xh_all.h @@ -46,5 +46,6 @@ #include "wx/xrc/xh_unkwn.h" #include "wx/xrc/xh_gdctl.h" #include "wx/xrc/xh_frame.h" +#include "wx/xrc/xh_scwin.h" #endif // _WX_XMLRES_H_ diff --git a/include/wx/xrc/xh_scwin.h b/include/wx/xrc/xh_scwin.h new file mode 100644 index 0000000000..1befc41215 --- /dev/null +++ b/include/wx/xrc/xh_scwin.h @@ -0,0 +1,32 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: xh_scwin.h +// Purpose: XML resource handler for wxScrolledWindow +// Author: Vaclav Slavik +// Created: 2002/10/18 +// RCS-ID: $Id$ +// Copyright: (c) 2002 Vaclav Slavik +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_XH_SCWIN_H_ +#define _WX_XH_SCWIN_H_ + +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "xh_scwin.h" +#endif + +#include "wx/xrc/xmlres.h" +#include "wx/defs.h" + + + +class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler +{ +public: + wxScrolledWindowXmlHandler(); + virtual wxObject *DoCreateResource(); + virtual bool CanHandle(wxXmlNode *node); +}; + + +#endif // _WX_XH_SCWIN_H_ diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index ca37a9cfa7..d0d6a831cd 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -37,6 +37,9 @@ class WXDLLEXPORT wxFrame; class WXDLLEXPORT wxToolBar; class WXXMLDLLEXPORT wxXmlResourceHandler; +class WXXMLDLLEXPORT wxXmlSubclassFactory; +class WXXMLDLLEXPORT wxXmlSubclassFactoriesList; +class wxXmlResourceModule; // These macros indicate current version of XML resources (this information is @@ -133,6 +136,11 @@ public: // Removes all handlers void ClearHandlers(); + + // Registers subclasses factory for use in XRC. This function is not meant + // for public use, please see the comment above wxXmlSubclassFactory + // definition. + static void AddSubclassFactory(wxXmlSubclassFactory *factory); // Loads menu from resource. Returns NULL on failure. wxMenu *LoadMenu(const wxString& name); @@ -216,7 +224,9 @@ public: static wxXmlResource *Set(wxXmlResource *res); // Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING. - int GetFlags() { return m_flags; } + int GetFlags() const { return m_flags; } + // Set flags after construction. + void SetFlags(int flags) { m_flags = flags; } protected: // Scans the resources list for unloaded files and loads them. Also reloads @@ -244,6 +254,9 @@ private: #endif friend class wxXmlResourceHandler; + friend class wxXmlResourceModule; + + static wxXmlSubclassFactoriesList *ms_subclassFactories; // singleton instance: static wxXmlResource *ms_instance; @@ -438,6 +451,20 @@ protected: void wxXmlInitResourceModule(); +// This class is used to create instances of XRC "object" nodes with "subclass" +// property. It is _not_ supposed to be used by XRC users, you should instead +// register your subclasses via wxWindows' RTTI mechanism. This class is useful +// only for language bindings developer who need a way to implement subclassing +// in wxWindows ports that don't support wxRTTI (e.g. wxPython). +class WXXMLDLLEXPORT wxXmlSubclassFactory +{ +public: + // Try to create instance of given class and return it, return NULL on failure: + virtual wxObject *Create(const wxString& className) = 0; + virtual ~wxXmlSubclassFactory() {} +}; + + /* ------------------------------------------------------------------------- Backward compatibility macros. Do *NOT* use, they may disappear in future versions of the XRC library! diff --git a/include/wx_pb.h b/include/wx_pb.h index a23fb6d357..82bcb1756c 100644 --- a/include/wx_pb.h +++ b/include/wx_pb.h @@ -11,3 +11,4 @@ #define HAVE_USLEEP 1 #define HAVE_FCNTL 1 +#define SIZEOF_INT 4 diff --git a/locale/cs.po b/locale/cs.po index 6cca297839..ae9774fa19 100644 --- a/locale/cs.po +++ b/locale/cs.po @@ -875,7 +875,7 @@ msgstr "Obsah" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "Pøevod do znakové sady '%s' nefunguje." #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/da.po b/locale/da.po index dfa2abbbb5..75c469f64a 100644 --- a/locale/da.po +++ b/locale/da.po @@ -870,7 +870,7 @@ msgstr "Indhold" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "Konvertering til tegnsæt '%s' virker ikke." #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/de.po b/locale/de.po index f2e898a3d2..815a4042ca 100644 --- a/locale/de.po +++ b/locale/de.po @@ -1,9 +1,9 @@ msgid "" msgstr "" -"Project-Id-Version: wxWindows-2.2\n" +"Project-Id-Version: wxWindows-2.4\n" "POT-Creation-Date: 2002-08-21 16:39+0200\n" "PO-Revision-Date: 2000-08-11 11:11+0200\n" -"Last-Translator: Mark Johnson \n" +"Last-Translator: Robert Roebling \n" "Language-Team: wxWindows Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" @@ -56,12 +56,12 @@ msgstr "#define %s mu #: ../src/common/prntbase.cpp:376 #, c-format msgid "%d" -msgstr "" +msgstr "%d" #: ../src/common/prntbase.cpp:374 #, c-format msgid "%d...%d" -msgstr "" +msgstr "%d...%d" #: ../src/html/helpfrm.cpp:772 ../src/html/helpfrm.cpp:773 #: ../src/html/helpfrm.cpp:1376 ../src/html/helpfrm.cpp:1406 @@ -135,9 +135,8 @@ msgid "&Finish" msgstr "&Fertigstellen" #: ../src/generic/wizard.cpp:249 -#, fuzzy msgid "&Help" -msgstr "Hilfe" +msgstr "&Hilfe" #: ../src/generic/logg.cpp:492 msgid "&Log" @@ -145,7 +144,7 @@ msgstr "&Log" #: ../src/univ/themes/win32.cpp:4539 msgid "&Move" -msgstr "" +msgstr "&Bewegen" #: ../src/msw/mdi.cpp:193 msgid "&Next" @@ -160,9 +159,8 @@ msgid "&Next Tip" msgstr "&Nächster Tip" #: ../src/msw/mdi.cpp:194 -#, fuzzy msgid "&Previous" -msgstr "Vorherige HTLM-Seite zeigen" +msgstr "Zurück" #: ../src/common/cmdproc.cpp:261 ../src/common/cmdproc.cpp:272 msgid "&Redo" @@ -177,9 +175,8 @@ msgid "&Replace" msgstr "&Ersetzen" #: ../src/univ/themes/win32.cpp:4538 -#, fuzzy msgid "&Restore" -msgstr "&Wiederholen" +msgstr "&Wiederherstellen" #: ../src/generic/logg.cpp:487 ../src/generic/logg.cpp:818 msgid "&Save..." @@ -190,9 +187,8 @@ msgid "&Show tips at startup" msgstr "&Tipps beim Programmstart zeigen" #: ../src/univ/themes/win32.cpp:4541 -#, fuzzy msgid "&Size" -msgstr "Größe" +msgstr "&Größe" #: ../src/common/cmdproc.cpp:267 msgid "&Undo" @@ -337,12 +333,12 @@ msgid "" "+2
        font size +3
        font size " "+4" msgstr "" -"Normal face
        (and Unterstrichen. Kursiv face. " -"Fett face. Fett Kursiv face.
        font size " +"Normal
        (and Unterstrichen. Kursiv. " +"Fett. Fett Kursiv.
        font size " "-2
        font size -1
        font size " "+0
        font size +1
        font size " "+2
        font size +3
        font size " -"+4

        Fixed size face.
        Fett Kursiv " +"+4

        Fixed size.
        Fett Kursiv " "Fett Kursiv Unterstrichen
        font size " "-2
        font size -1
        font size " "+0
        font size +1
        font size " @@ -428,9 +424,8 @@ msgid "B6 Envelope, 176 x 125 mm" msgstr "B6 Umschlag, 176 x 125 mm" #: ../src/common/imagbmp.cpp:467 ../src/common/imagbmp.cpp:483 -#, fuzzy msgid "BMP: Couldn't allocate memory." -msgstr "PNM: Speicheranforderung gescheitert." +msgstr "BMP: Speicheranforderung gescheitert." #: ../src/common/imagbmp.cpp:86 msgid "BMP: Couldn't save invalid image." @@ -510,7 +505,6 @@ msgid "C65 Envelope, 114 x 229 mm" msgstr "C65 Umschlag, 114 x 229 mm" #: ../src/common/filefn.cpp:1358 -#, fuzzy, c-format msgid "Can not enumerate files '%s'" msgstr "Kann Dateien '%s' nicht auflisten" @@ -558,14 +552,12 @@ msgid "Can't copy values of unsupported type %d." msgstr "Kann Inhalte des nicht unterstützten Typs %d nicht kopieren." #: ../src/msw/toplevel.cpp:295 -#, fuzzy msgid "Can't create dialog using memory template" -msgstr "Kann Dialog nicht aus Template '%s' anlegen" +msgstr "Kann Dialog nicht im Speicher anlegen" #: ../src/os2/toplevel.cpp:331 -#, fuzzy, c-format msgid "Can't create dialog using template '%ul'" -msgstr "Kann Dialog nicht aus Template '%s' anlegen" +msgstr "Kann Dialog nicht aus Template '%ul' anlegen" #: ../src/msw/listctrl.cpp:319 msgid "Can't create list control window, check that comctl32.dll is installed." @@ -653,9 +645,8 @@ msgid "Can't read value of key '%s'" msgstr "Kann Wert von Eintrag '%s' nicht lesen" #: ../src/common/image.cpp:955 -#, fuzzy, c-format msgid "Can't save image to file '%s': unknown extension." -msgstr "Kann Bild aus Datei '%s' nicht laden : Datei ist nicht vorhanden." +msgstr "Kann Bild nicht aus Datei '%s' laden: Unbekannte Dateiendung." #: ../src/generic/logg.cpp:551 ../src/generic/logg.cpp:985 msgid "Can't save log contents to file." @@ -682,12 +673,11 @@ msgstr "Abbruch" #: ../contrib/src/xrc/xmlres.cpp:893 ../contrib/src/xrc/xmlres.cpp:934 msgid "Cannot convert dialog units: dialog unknown." -msgstr "" +msgstr "Kann Dialog-Einheiten nicht konvertieren: Dialog unbekannt." #: ../src/common/strconv.cpp:929 -#, fuzzy, c-format msgid "Cannot convert from encoding '%s'!" -msgstr "Unbekannte Kodierung (%d)" +msgstr "Kann nicht von Kodierung (%s) konvertieren" #: ../src/msw/dialup.cpp:497 #, c-format @@ -695,14 +685,12 @@ msgid "Cannot find active dialup connection: %s" msgstr "Kann keine aktive DFÜ-Verbindung finden: %s" #: ../contrib/src/xrc/xmlres.cpp:224 -#, fuzzy, c-format msgid "Cannot find container for unknown control '%s'." -msgstr "Kann keine aktive DFÜ-Verbindung finden: %s" +msgstr "Kann keinen Container für unbekanntes Control '%s' finden." #: ../contrib/src/xrc/xmlres.cpp:948 -#, fuzzy, c-format msgid "Cannot find font node '%s'." -msgstr "Kann URL '%s' nicht öffnen" +msgstr "Kann keinen Font-Knoten '%s' finden." #: ../src/msw/dialup.cpp:811 msgid "Cannot find the location of address book file" @@ -815,14 +803,12 @@ msgid "Case sensitive" msgstr "Groß-/Kleinschreibung" #: ../src/common/fontmap.cpp:125 -#, fuzzy msgid "Celtic (ISO-8859-14)" -msgstr "Baltisch (ISO-8859-13)" +msgstr "Keltisch (ISO-8859-14)" #: ../src/common/fontmap.cpp:113 -#, fuzzy msgid "Central European (ISO-8859-2)" -msgstr "Zentral Europäisch (ISO-8859-2/Latin 2)" +msgstr "Zentral Europäisch (ISO-8859-2)" #: ../src/msw/dialup.cpp:746 msgid "Choose ISP to dial" @@ -850,9 +836,8 @@ msgid "Close this window" msgstr "Fenster schließen" #: ../src/generic/dirctrlg.cpp:547 -#, fuzzy msgid "Computer" -msgstr "Der Computer" +msgstr "Computer" #: ../src/common/fileconf.cpp:872 #, c-format @@ -877,8 +862,8 @@ msgstr "Inhalt" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." -msgstr "" +msgid "Conversion to charset '%s' doesn't work." +msgstr "Konvertierung zum Zeichensatz '%s' funktioniert nicht." #: ../src/generic/prntdlgg.cpp:193 msgid "Copies:" @@ -942,9 +927,8 @@ msgid "Couldn't create a timer" msgstr "Kann keinen Timer anlegen." #: ../src/mgl/cursor.cpp:135 ../src/mgl/cursor.cpp:166 -#, fuzzy msgid "Couldn't create cursor." -msgstr "Kann keinen Timer anlegen." +msgstr "Konnte Cursor nicht erzeugen." #: ../src/common/dynlib.cpp:347 ../src/common/dynload.cpp:295 #, c-format @@ -973,9 +957,8 @@ msgstr "Kann keine Informationen #: ../src/common/imagpng.cpp:334 ../src/common/imagpng.cpp:345 #: ../src/common/imagpng.cpp:353 -#, fuzzy msgid "Couldn't save PNG image." -msgstr "JPEG: Konnte Bild nicht sichern." +msgstr "Konnte PNG-Bild nicht speichern." #: ../src/mac/thread.cpp:749 ../src/msw/thread.cpp:1091 msgid "Couldn't terminate thread" @@ -994,9 +977,8 @@ msgid "Current directory:" msgstr "Aktuelles Verzeichnis:" #: ../src/common/fontmap.cpp:116 -#, fuzzy msgid "Cyrillic (ISO-8859-5)" -msgstr "Baltisch (ISO-8859-13)" +msgstr "Kyrillisch (ISO-8859-5)" #: ../src/common/paper.cpp:106 msgid "D sheet, 22 x 34 in" @@ -1007,34 +989,28 @@ msgid "DDE poke request failed" msgstr "DDE 'poke' gescheitert" #: ../src/common/imagbmp.cpp:618 -#, fuzzy msgid "DIB Header: Cannot deal with 4bit encoded yet." -msgstr "BMP: Kann noch nicht mit 4bit verschlüsseltem Code umgehen." +msgstr "DIB Header: Kann noch nicht mit 4bit Kodierung umgehen." #: ../src/common/imagbmp.cpp:836 -#, fuzzy msgid "DIB Header: Encoding doesn't match bitdepth." -msgstr "BMP: Verschlüsselung entspricht der Bittiefe nicht." +msgstr "DIB Header: Kodierung entspricht der Bittiefe nicht." #: ../src/common/imagbmp.cpp:798 -#, fuzzy msgid "DIB Header: Image height > 32767 pixels for file." -msgstr "BMP: Bildhöhe > 32767 pixels." +msgstr "DIB Header: Bildhöhe > 32767 pixels." #: ../src/common/imagbmp.cpp:792 -#, fuzzy msgid "DIB Header: Image width > 32767 pixels for file." -msgstr "BMP: Bildbreite > 32767 pixels." +msgstr "DIB Header: Bildbreite > 32767 pixels." #: ../src/common/imagbmp.cpp:812 -#, fuzzy msgid "DIB Header: Unknown bitdepth in file." -msgstr "BMP: Unbekannte Bittiefe." +msgstr "DIB Header: Unbekannte Bittiefe." #: ../src/common/imagbmp.cpp:822 -#, fuzzy msgid "DIB Header: Unknown encoding in file." -msgstr "BMP: Unbekannte Verschlüsselung." +msgstr "DIB Header: Unbekannte Kodierung." #: ../src/common/paper.cpp:128 msgid "DL Envelope, 110 x 220 mm" @@ -1050,12 +1026,12 @@ msgstr "Dekorativ" #: ../src/common/fontmap.cpp:386 msgid "Default encoding" -msgstr "" +msgstr "Standard Kodierung" #: ../src/unix/snglinst.cpp:269 -#, fuzzy, c-format +#, c-format msgid "Deleted stale lock file '%s'." -msgstr "Kann INI-Datei '%s' nicht löschen" +msgstr "Ungenutzte Sperr-Datei '%s' wurde gelöscht." #: ../src/msw/dialup.cpp:346 msgid "" @@ -1075,7 +1051,7 @@ msgstr "" #: ../src/generic/tipdlg.cpp:178 msgid "Did you know..." -msgstr "Wußten Sie schon..." +msgstr "Wussten Sie schon..." #: ../src/common/filefn.cpp:1254 #, c-format @@ -1083,9 +1059,9 @@ msgid "Directory '%s' couldn't be created" msgstr "Verzeichnis '%s' konnte nicht angelegt werden." #: ../src/mgl/dirmgl.cpp:217 -#, fuzzy, c-format +#, c-format msgid "Directory '%s' doesn't exist!" -msgstr "Verzeichnis existiert nicht" +msgstr "Verzeichnis '%s' existiert nicht." #: ../src/generic/dirdlgg.cpp:188 msgid "Directory does not exist" @@ -1097,7 +1073,7 @@ msgid "" "insensitive." msgstr "" "Alle Themen im Index nach Suchbegriff durchsuchen. Groß-/Kleinschreibung " -"wird nicht beachtet" +"wird nicht beachtet." #: ../src/html/helpfrm.cpp:540 msgid "Display options dialog" @@ -1128,9 +1104,8 @@ msgid "Done." msgstr "Fertig." #: ../src/generic/fdrepdlg.cpp:157 -#, fuzzy msgid "Down" -msgstr "Ich habe fertig :-)" +msgstr "Herunter" #: ../src/common/paper.cpp:107 msgid "E sheet, 34 x 44 in" @@ -1170,9 +1145,8 @@ msgid "Error creating directory" msgstr "Fehler beim Anlegen des Verzeichnisses" #: ../src/common/imagbmp.cpp:845 -#, fuzzy msgid "Error in reading image DIB ." -msgstr "TIFF: Fehler beim Lesen des Bildes." +msgstr "Fehler beim Lesen des DIB-Bildes." #: ../src/common/log.cpp:460 msgid "Error: " @@ -1220,17 +1194,16 @@ msgstr "Fehlerhafte %s DF #: ../src/unix/snglinst.cpp:243 msgid "Failed to access lock file." -msgstr "" +msgstr "Fehler beim Zugriff auf Sperr-Datei." #: ../src/common/filename.cpp:172 -#, fuzzy msgid "Failed to close file handle" -msgstr "Konnte Zwischenablage nicht schließen." +msgstr "Konnte Datei-Handle nicht schließen." #: ../src/unix/snglinst.cpp:308 -#, fuzzy, c-format +#, c-format msgid "Failed to close lock file '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte Sperr-Datei '%s' nicht schließen" #: ../src/msw/clipbrd.cpp:127 msgid "Failed to close the clipboard." @@ -1256,9 +1229,9 @@ msgstr "" "Kopieren des Inhalts des Registrieungsschlüssels '%s' nach '%s' gescheitert" #: ../src/common/filefn.cpp:1106 -#, fuzzy, c-format +#, c-format msgid "Failed to copy the file '%s' to '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte die Datei '%s' nicht nach '%s' kopieren" #: ../src/msw/dde.cpp:924 msgid "Failed to create DDE string" @@ -1273,14 +1246,12 @@ msgid "Failed to create a status bar." msgstr "Erstellung der Statusbar gescheitert." #: ../src/common/filename.cpp:717 -#, fuzzy msgid "Failed to create a temporary file name" -msgstr "Erstellung des MDI-Hauptframes gescheitert." +msgstr "Konnte keinen vorrübergehenden Dateinamen erstellen." #: ../src/msw/utilsexc.cpp:195 -#, fuzzy msgid "Failed to create an anonymous pipe" -msgstr "Erstellung der Statusbar gescheitert." +msgstr "Konnte keine anonyme Unix-Pipe erstellen" #: ../src/msw/dde.cpp:401 #, c-format @@ -1288,33 +1259,32 @@ msgid "Failed to create connection to server '%s' on topic '%s'" msgstr "Aufbau der Verbindung zur Server '%s' 'on topic' gescheitert" #: ../src/msw/toplevel.cpp:293 -#, fuzzy msgid "Failed to create dialog. Incorrect DLGTEMPLATE?" -msgstr "Konnte Verzeichnis nicht anlegen " +msgstr "Konnte Dialog nicht erstellen. Ungültiges DLGTEMPLATE?" #: ../src/generic/dirdlgg.cpp:201 -#, fuzzy, c-format +#, c-format msgid "" "Failed to create directory '%s'\n" "(Do you have the required permissions?)" msgstr "" -"\n" +"Konnte Verzeichnis '%s' nicht erstellen\n" "(Haben Sie die nötigen Zugriffsrechte?)" #: ../src/msw/mimetype.cpp:168 -#, fuzzy, c-format +#, c-format msgid "Failed to create registry entry for '%s' files." -msgstr "Umbenennen des Registrieungsschlüssels von '%s' in '%s' gescheitert" +msgstr "Konnte keinen Registrieungseintrag für '%s'-Dateien erstellen." #: ../src/msw/fdrepdlg.cpp:442 #, c-format msgid "Failed to create the standard find/replace dialog (error code %d)" -msgstr "" +msgstr "Konnte keinen Standard Finden/Ersetzen-Dialog erstellen (Fehler %d)" #: ../src/html/winpars.cpp:430 #, c-format msgid "Failed to display HTML document in %s encoding" -msgstr "Anzeige von HTLM-Dokument in %s 'encoding' ist gescheitert" +msgstr "Konnte HTML-Dokument nicht in der Kodierung %s anzeigen" #: ../src/mac/clipbrd.cpp:167 ../src/msw/clipbrd.cpp:139 msgid "Failed to empty the clipboard." @@ -1364,100 +1334,94 @@ msgstr "" #: ../src/msw/dialup.cpp:678 #, c-format msgid "Failed to get ISP names: %s" -msgstr "Versuch gescheitert, 'IPS names' '%s' zu bekommen" +msgstr "Konnte ISP Namen '%s' nicht ermitteln" #: ../src/mac/clipbrd.cpp:118 -#, fuzzy msgid "Failed to get clipboard data." -msgstr "Konnte Dateien nicht in die Zwischenablage kopieren." +msgstr "Konnte Daten nicht aus der Zwischenablage kopieren." #: ../src/msw/clipbrd.cpp:712 msgid "Failed to get data from the clipboard" -msgstr "Versuch, Daten aus der Zwischenablage zu bekommen, gescheitert" +msgstr "Konnte Daten nicht aus der Zwischenablage kopieren" #: ../src/common/timercmn.cpp:286 msgid "Failed to get the UTC system time." -msgstr "Versuch, UTC-Systen-Zeit zu bekommen, gescheitert" +msgstr "Versuch, UTC-Systen-Zeit zu bekommen, gescheitert." #: ../src/common/timercmn.cpp:237 msgid "Failed to get the local system time" msgstr "Versuch, örtliche Systemzeit zu bekommen, gescheitert." #: ../src/common/filefn.cpp:1487 -#, fuzzy msgid "Failed to get the working directory" -msgstr "Konnte Verzeichnis nicht anlegen " +msgstr "Konnte Arbeits-Verzeichnis nicht ermitteln" #: ../src/univ/theme.cpp:120 msgid "Failed to initialize GUI: no built-in themes found." -msgstr "" +msgstr "Konnte GUI nicht initialisieren: kein Theme gefunden." #: ../src/msw/helpchm.cpp:69 msgid "Failed to initialize MS HTML Help." -msgstr "" +msgstr "Konnte MS HTML-Hilfe nicht initialisieren." #: ../src/msw/glcanvas.cpp:729 -#, fuzzy msgid "Failed to initialize OpenGL" -msgstr "Kann OLE nicht initialisiern" +msgstr "Konnte OpenGL nicht initialisiern" #: ../src/unix/threadpsx.cpp:871 msgid "" "Failed to join a thread, potential memory leak detected - please restart the " "program" msgstr "" -"Thread-Verbindung gescheitert, mögliche 'memory leak' festgestellt - Bitte " +"Thread-Verbindung gescheitert. Dies ist ein mögliches Speicherleck - Bitte " "Programm neu starten" #: ../src/msw/utils.cpp:721 -#, fuzzy, c-format +#, c-format msgid "Failed to kill process %d" -msgstr "Umleitung des Ein/Ausgabe des Unterprozesses gescheitert" +msgstr "Konnte Prozess %d nicht abbrechen" #: ../src/common/iconbndl.cpp:66 -#, fuzzy, c-format +#, c-format msgid "Failed to load image %d from file '%s'." -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte das Bild %d aus der Datei '%s' nicht laden." #: ../src/msw/volume.cpp:340 -#, fuzzy msgid "Failed to load mpr.dll." -msgstr "Konnte Dateien nicht in die Zwischenablage kopieren." +msgstr "Konnte mpr.dll nicht laden." #: ../src/common/dynlib.cpp:274 ../src/common/dynload.cpp:197 #, c-format msgid "Failed to load shared library '%s'" -msgstr "Laden des DLL '%s' gescheitert" +msgstr "Laden der DLL '%s' gescheitert" #: ../src/common/dynlib.cpp:256 ../src/common/dynload.cpp:126 -#, fuzzy, c-format msgid "Failed to load shared library '%s' Error '%s'" -msgstr "Laden des DLL '%s' gescheitert" +msgstr "Laden der DLL '%s' gescheitert: Fehler '%s'" #: ../src/unix/snglinst.cpp:192 -#, fuzzy, c-format +#, c-format msgid "Failed to lock the lock file '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte die Sperr-Datei '%s' nicht sperren" #: ../src/common/regex.cpp:251 -#, fuzzy, c-format +#, c-format msgid "Failed to match '%s' in regular expression: %s" -msgstr "Fehlerhafte %s DFÜ-Verbindung: %s" +msgstr "Konnte keine Übereinstimmung in regulärem Ausdruck %s finden" #: ../src/common/filename.cpp:1644 -#, fuzzy, c-format +#, c-format msgid "Failed to modify file times for '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte Zugriffszeit von Datei '%s' nicht ändern" #: ../src/common/filename.cpp:160 -#, fuzzy, c-format +#, c-format msgid "Failed to open '%s' for %s" -msgstr "Konnte Zwischenablage nicht öffnen." +msgstr "Konnte '%s' nicht für %s öffnen." #: ../src/common/filename.cpp:739 -#, fuzzy msgid "Failed to open temporary file." -msgstr "Konnte Zwischenablage nicht öffnen." +msgstr "Konnte vorrübergehende Datei nicht öffnen." #: ../src/msw/clipbrd.cpp:107 msgid "Failed to open the clipboard." @@ -1468,16 +1432,14 @@ msgid "Failed to put data on the clipboard" msgstr "Versuch, Daten in der Zwischenablage abzulegen, gescheitert" #: ../src/unix/snglinst.cpp:252 -#, fuzzy msgid "Failed to read PID from lock file." -msgstr "Erstellung des MDI-Hauptframes gescheitert." +msgstr "Konnte keine PID von Sperr-Datei lesen." #: ../src/unix/utilsunx.cpp:629 msgid "Failed to redirect child process input/output" msgstr "Umleitung des Ein/Ausgabe des Unterprozesses gescheitert" #: ../src/msw/utilsexc.cpp:600 -#, fuzzy msgid "Failed to redirect the child process IO" msgstr "Umleitung des Ein/Ausgabe des Unterprozesses gescheitert" @@ -1493,14 +1455,13 @@ msgstr "" "Versuch gescheitert, an die Kodierung für den Zeichensatz '%s' zu erinnern." #: ../src/unix/snglinst.cpp:296 -#, fuzzy, c-format msgid "Failed to remove lock file '%s'" -msgstr "Kann Datei '%s' nicht löschen." +msgstr "Konnte Sperr-Datei '%s' nicht löschen." #: ../src/unix/snglinst.cpp:262 -#, fuzzy, c-format +#, c-format msgid "Failed to remove stale lock file '%s'." -msgstr "Umbenennen des Registrieungswertes '%s' in '%s' gescheitert" +msgstr "Konnte unbenutzte Sperr-Datei '%s' nicht entfernen." #: ../src/msw/registry.cpp:443 #, c-format @@ -1517,9 +1478,8 @@ msgid "Failed to retrieve data from the clipboard." msgstr "Konnte Daten von der Zwischenablage nicht bekommen." #: ../src/common/filename.cpp:1710 -#, fuzzy, c-format msgid "Failed to retrieve file times for '%s'" -msgstr "Versuch, den Inhalt der RAS-Fehlernachricht zu holen, gescheitert" +msgstr "Konnte Zugriffszeit von Datei '%s' nicht ermitteln" #: ../src/msw/dialup.cpp:442 msgid "Failed to retrieve text of RAS error message" @@ -1527,26 +1487,24 @@ msgstr "Versuch, den Inhalt der RAS-Fehlernachricht zu holen, gescheitert" #: ../src/msw/clipbrd.cpp:742 msgid "Failed to retrieve the supported clipboard formats" -msgstr "" -"Versuch, das von der Zwischenablage unterstützte Format zu holen, gescheitert" +msgstr "Konnte die von der Zwischenablage unterstützten Formate nicht ermitteln" #: ../src/msw/dde.cpp:651 msgid "Failed to send DDE advise notification" msgstr "Versuch gescheitert, eine DDE-Benachrichtigung zu schicken" #: ../src/common/ftp.cpp:368 -#, fuzzy, c-format +#, c-format msgid "Failed to set FTP transfer mode to %s." -msgstr "Versuch gescheitert, die Thread-Priorität %d zu setzten." +msgstr "Konnte den FTP-Transfermodus nicht auf '%s' setzen." #: ../src/msw/clipbrd.cpp:379 msgid "Failed to set clipboard data." msgstr "Konnte Dateien nicht in die Zwischenablage kopieren." #: ../src/common/file.cpp:522 -#, fuzzy msgid "Failed to set temporary file permissions" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte die Zugriffsrechte der vorrübergehenden Datei nicht setzen" #: ../src/unix/threadpsx.cpp:1213 ../src/unix/threadpsx.cpp:1224 #, c-format @@ -1572,14 +1530,14 @@ msgid "Failed to terminate the dialup connection: %s" msgstr "Versuch gescheitert, die DFÜ-Verbindung zu beenden: %s" #: ../src/common/filename.cpp:1659 -#, fuzzy, c-format +#, c-format msgid "Failed to touch the file '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte die Datei '%s' nicht 'berühren'" #: ../src/unix/snglinst.cpp:302 -#, fuzzy, c-format +#, c-format msgid "Failed to unlock lock file '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte die Sperrung von Datei '%s' nicht aufheben" #: ../src/msw/dde.cpp:301 #, c-format @@ -1587,9 +1545,9 @@ msgid "Failed to unregister DDE server '%s'" msgstr "Versuch gescheitert, den DDE-Server '%s' zu deregistrieren." #: ../src/unix/snglinst.cpp:173 -#, fuzzy, c-format +#, c-format msgid "Failed to write to lock file '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Konnte Sperr-Datei '%s' nicht schreiben" #: ../src/generic/logg.cpp:379 msgid "Fatal error" @@ -1597,16 +1555,16 @@ msgstr "Nicht-behebbarer Fehler" #: ../src/common/log.cpp:453 msgid "Fatal error: " -msgstr "Nicht-behebbarer Fehler:" +msgstr "Nicht-behebbarer Fehler: " #: ../src/mac/app.cpp:1220 ../src/msw/app.cpp:1281 msgid "Fatal error: exiting" msgstr "Nicht-behebbarer Fehler: Abbruch" #: ../src/mgl/bitmap.cpp:544 -#, fuzzy, c-format +#, c-format msgid "File %s does not exist." -msgstr ": Datei existiert nicht!" +msgstr "Datei '%s' existiert nicht." #: ../src/generic/filedlgg.cpp:1354 ../src/gtk/filedlg.cpp:69 #, c-format @@ -1614,11 +1572,13 @@ msgid "File '%s' already exists, do you really want to overwrite it?" msgstr "Datei '%s' existiert bereits, möchten Sie sie wirklich überschreiben?" #: ../src/msw/filedlg.cpp:505 -#, fuzzy, c-format +#, c-format msgid "" "File '%s' already exists.\n" "Do you want to replace it?" -msgstr "Datei '%s' existiert bereits, möchten Sie sie wirklich überschreiben?" +msgstr "" +"Datei '%s' existiert bereits.\n" +"Möchten Sie sie wirklich überschreiben?" #: ../src/common/textcmn.cpp:158 msgid "File couldn't be loaded." @@ -1652,7 +1612,7 @@ msgstr "Folio, 8 1/2 x 13 Zoll" #: ../src/html/helpfrm.cpp:960 msgid "Font size:" -msgstr "Font Große:" +msgstr "Font Größe:" #: ../src/unix/utilsunx.cpp:572 msgid "Fork failed" @@ -1678,9 +1638,8 @@ msgid "From:" msgstr "Von:" #: ../src/common/imaggif.cpp:100 -#, fuzzy msgid "GIF: Invalid gif index." -msgstr "Ungültiger Index des TIFF-Bilds." +msgstr "GIF: Ungültiger Index." #: ../src/common/imaggif.cpp:75 msgid "GIF: data stream seems to be truncated." @@ -1696,11 +1655,11 @@ msgstr "GIF: nicht genug Speicher." #: ../src/common/imaggif.cpp:65 msgid "GIF: unknown error!!!" -msgstr "GIF: unbekannter Fehler!!!" +msgstr "GIF: unbekannter Fehler!" #: ../src/univ/themes/gtk.cpp:623 msgid "GTK+ theme" -msgstr "" +msgstr "GTK+ Thema" #: ../src/common/paper.cpp:142 msgid "German Legal Fanfold, 8 1/2 x 13 in" @@ -1712,15 +1671,15 @@ msgstr "German Std Entlospapier, 8 1/2 x 12 Zoll" #: ../src/common/image.cpp:762 msgid "GetUnusedColour:: No Unused Color in image " -msgstr "" +msgstr "GetUnusedColour:: Keine unbenutzte Farbe im Bild." #: ../src/html/helpfrm.cpp:506 msgid "Go back" -msgstr "Vorherige HTLM-Seite zeigen" +msgstr "Vorherige HTML-Seite zeigen" #: ../src/html/htmlhelp.cpp:541 msgid "Go back to the previous HTML page" -msgstr "" +msgstr "Zurück zur letzten HTML Seite" #: ../src/html/helpfrm.cpp:509 msgid "Go forward" @@ -1728,7 +1687,7 @@ msgstr "N #: ../src/html/htmlhelp.cpp:543 msgid "Go forward to the next HTML page" -msgstr "" +msgstr "Vorwärts nur nächsten HTML Seite" #: ../src/html/helpfrm.cpp:514 msgid "Go one level up in document hierarchy" @@ -1744,7 +1703,7 @@ msgstr "Gehe zum 'Parent'-Verzeichnis" #: ../src/common/prntbase.cpp:379 msgid "Goto Page" -msgstr "" +msgstr "Gehe zur Seite" #: ../src/common/fontmap.cpp:118 msgid "Greek (ISO-8859-7)" @@ -1775,7 +1734,7 @@ msgid "Help" msgstr "Hilfe" #: ../src/html/htmlhelp.cpp:87 -#, fuzzy, c-format +#, c-format msgid "Help : %s" msgstr "Hilfe: %s" @@ -1797,50 +1756,43 @@ msgid "Help: %s" msgstr "Hilfe: %s" #: ../src/common/imagbmp.cpp:858 -#, fuzzy msgid "ICO: Error in reading mask DIB." -msgstr "TIFF: Fehler beim Lesen des Bildes." +msgstr "ICO: Fehler beim Lesen der DIB Maske." #: ../src/common/imagbmp.cpp:960 ../src/common/imagbmp.cpp:1019 #: ../src/common/imagbmp.cpp:1028 ../src/common/imagbmp.cpp:1039 #: ../src/common/imagbmp.cpp:1083 ../src/common/imagbmp.cpp:1093 #: ../src/common/imagbmp.cpp:1102 -#, fuzzy msgid "ICO: Error writing the image file!" -msgstr "TIFF: Schreibfehler beim Sichern." +msgstr "ICO: Schreibfehler beim Sichern." #: ../src/common/imagbmp.cpp:928 msgid "ICO: Image too tall for an icon." -msgstr "" +msgstr "ICO: Bild zu gross für ein Icon." #: ../src/common/imagbmp.cpp:934 msgid "ICO: Image too wide for an icon." -msgstr "" +msgstr "ICO: Bild zu breit fü ein Icon." #: ../src/common/imagbmp.cpp:1167 -#, fuzzy msgid "ICO: Invalid icon index." -msgstr "Ungültiger Index des TIFF-Bilds." +msgstr "ICO: Unütiger Icon-Index." #: ../src/common/imagiff.cpp:767 -#, fuzzy msgid "IFF: data stream seems to be truncated." -msgstr "GIF: Datei scheint unvollständig zu sein." +msgstr "IFF: Datei scheint unvollständig zu sein." #: ../src/common/imagiff.cpp:751 -#, fuzzy msgid "IFF: error in IFF image format." -msgstr "GIF: Fehler im GIF-Bildformat." +msgstr "IFF: Fehler im IFF Bildformat." #: ../src/common/imagiff.cpp:754 -#, fuzzy msgid "IFF: not enough memory." -msgstr "GIF: nicht genug Speicher." +msgstr "IFF: nicht genug Speicher." #: ../src/common/imagiff.cpp:757 -#, fuzzy msgid "IFF: unknown error!!!" -msgstr "GIF: unbekannter Fehler!!!" +msgstr "IFF: unbekannter Fehler!" #: ../src/common/resourc2.cpp:989 ../src/common/resourc2.cpp:1000 #: ../src/common/resource.cpp:2649 ../src/common/resource.cpp:2660 @@ -1862,12 +1814,12 @@ msgstr "Ung #: ../src/common/image.cpp:785 msgid "Image and Mask have different sizes" -msgstr "" +msgstr "Bild und Bildmaske haben verschiedene Grössen" #: ../src/common/image.cpp:1064 #, c-format msgid "Image file is not of type %d." -msgstr "" +msgstr "Bild hat nicht den Bildtyp %d." #: ../src/msw/textctrl.cpp:249 msgid "" @@ -1882,28 +1834,27 @@ msgid "Impossible to get child process input" msgstr "Es war nicht möglich, die Eingabe des Unterprozesses zu verarbeiten" #: ../src/common/filefn.cpp:1122 -#, fuzzy, c-format +#, c-format msgid "Impossible to get permissions for file '%s'" -msgstr "Es war nicht möglich, die Eingabe des Unterprozesses zu verarbeiten" +msgstr "Konnte nicht due Zugriffsrecht der Datei '%s' ermitteln" #: ../src/common/filefn.cpp:1136 -#, fuzzy, c-format +#, c-format msgid "Impossible to overwrite the file '%s'" -msgstr "Versuch, die Datei '%s' zu entladen, gescheitert" +msgstr "Versuch, die Datei '%s' zu überschreiben, gescheitert" #: ../src/common/filefn.cpp:1187 #, c-format msgid "Impossible to set permissions for the file '%s'" -msgstr "" +msgstr "Konnte die Zugriffsrechte für Datei '%s' nicht setzen" #: ../src/html/helpfrm.cpp:387 ../src/html/htmlhelp.cpp:578 msgid "Index" msgstr "Hilfe-Index" #: ../src/common/fontmap.cpp:123 -#, fuzzy msgid "Indian (ISO-8859-12)" -msgstr "Nordisch (ISO-8859-10)" +msgstr "Indisch (ISO-8859-12)" #: ../src/common/imagtiff.cpp:183 msgid "Invalid TIFF image index." @@ -1915,24 +1866,24 @@ msgid "Invalid XRC resource '%s': doesn't have root node 'resource'." msgstr "" #: ../src/common/appcmn.cpp:378 -#, fuzzy, c-format +#, c-format msgid "Invalid display mode specification '%s'." -msgstr "Ungültige Dateiangabe" +msgstr "Ungütige Angabe '%s' des Displays." #: ../src/x11/app.cpp:231 -#, fuzzy, c-format +#, c-format msgid "Invalid geometry specification '%s'" -msgstr "Ungültige Dateiangabe" +msgstr "Ungültige Angabe '%s' der Fenstergrösse" #: ../src/unix/snglinst.cpp:280 -#, fuzzy, c-format +#, c-format msgid "Invalid lock file '%s'." -msgstr "Kann Datei '%s' nicht schließen" +msgstr "Ungültige Sperr-Datei '%s'." #: ../src/common/regex.cpp:173 #, c-format msgid "Invalid regular expression '%s': %s" -msgstr "" +msgstr "Ungültiger regulärer Ausdruck '%s': %s" #: ../src/generic/fontdlgg.cpp:227 msgid "Italic" @@ -1989,13 +1940,12 @@ msgid "Load %s file" msgstr "%s-Datei laden" #: ../src/generic/filedlgg.cpp:1589 -#, fuzzy msgid "Load file" -msgstr "%s-Datei laden" +msgstr "Lade Datei" #: ../src/html/htmlwin.cpp:282 msgid "Loading : " -msgstr "Laden : " +msgstr "Laden: " #: ../src/common/imagpnm.cpp:72 msgid "Loading Grey Ascii PNM image is not yet implemented." @@ -2028,7 +1978,7 @@ msgstr "" #: ../src/univ/themes/win32.cpp:4545 msgid "Ma&ximize" -msgstr "" +msgstr "Ma&ximieren" #: ../src/unix/mimetype.cpp:2477 #, c-format @@ -2037,7 +1987,7 @@ msgstr "Mailcap-Datei %s, Zeile %d: unvollst #: ../src/generic/fdrepdlg.cpp:152 msgid "Match case" -msgstr "" +msgstr "Gross- und Kleinschreibung beachten" #: ../src/common/fs_mem.cpp:144 #, c-format @@ -2046,11 +1996,11 @@ msgstr "VFS-Speicher beinhaltet bereits der Datei '%s'!" #: ../src/univ/themes/metal.cpp:174 msgid "Metal theme" -msgstr "" +msgstr "Metal-Thema" #: ../src/univ/themes/win32.cpp:4543 msgid "Mi&nimize" -msgstr "" +msgstr "Mi&nimieren" #: ../src/unix/mimetype.cpp:2102 #, c-format @@ -2094,7 +2044,7 @@ msgstr "Nein" #: ../src/common/image.cpp:793 msgid "No Unused Color in image being masked" -msgstr "" +msgstr "Keine unbenutze Farbe im Bild, das maskiert werden soll" #: ../src/common/resourc2.cpp:814 ../src/common/resourc2.cpp:965 #: ../src/common/resource.cpp:2471 ../src/common/resource.cpp:2625 @@ -2110,25 +2060,26 @@ msgid "No entries found." msgstr "Keine Einträge gefunden." #: ../src/common/fontmap.cpp:865 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found,\n" "but an alternative encoding '%s' is available.\n" "Do you want to use this encoding (otherwise you will have to choose another " "one)?" msgstr "" -"Die Kodierung '%s' ist nicht bekannt.\n" -"Möchten Sie einen Font für diese Kodierung wählen\n" -"(sonst wird der Text mit dieser Kodierung nicht richtig angezeigt)?" +"Kein Font für die Kodierung '%s' gefunden,\n" +"es ist aber eine Alternative '%s' verfügbar.\n" +"Möchten Sie diesen Font für diese Kodierung wählen\n" +"(sonst müssen Sie einen anderen auswählen)?" #: ../src/common/fontmap.cpp:870 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found.\n" "Would you like to select a font to be used for this encoding\n" "(otherwise the text in this encoding will not be shown correctly)?" msgstr "" -"Die Kodierung '%s' ist nicht bekannt.\n" +"Kein Font für die Kodierung '%s' gefunden,\n" "Möchten Sie einen Font für diese Kodierung wählen\n" "(sonst wird der Text mit dieser Kodierung nicht richtig angezeigt)?" @@ -2305,10 +2256,14 @@ msgid "" "(at least version 4.70 is required but you have %d.%02d)\n" "or this program won't operate correctly." msgstr "" +"Bitte installieren Sie eine neuere Version con comctl32.dll\n" +"(mindestens Version 4.70 wird benötigt, aber Sie haben nur\n" +"Version %d.%02d)." + #: ../src/common/prntbase.cpp:112 msgid "Please wait while printing\n" -msgstr "" +msgstr "Bitte warten Sie während des Druckens\n" #: ../src/generic/prntdlgg.cpp:425 ../src/generic/prntdlgg.cpp:619 msgid "Portrait" @@ -2320,7 +2275,7 @@ msgstr "PostScript-Datei" #: ../src/html/htmlhelp.cpp:509 msgid "Preparing help window..." -msgstr "" +msgstr "Bereite Hilfsfenster vor..." #: ../src/html/helpfrm.cpp:964 msgid "Preview:" @@ -2387,9 +2342,8 @@ msgid "Printer..." msgstr "Drucker..." #: ../src/common/prntbase.cpp:109 ../src/common/prntbase.cpp:154 -#, fuzzy msgid "Printing " -msgstr "Drucken" +msgstr "Drucken von " #: ../src/common/prntbase.cpp:126 msgid "Printing Error" @@ -2470,17 +2424,16 @@ msgid "Remove current page from bookmarks" msgstr "Aktuelle HTLM-Seite als Lesezeichen entfernen" #: ../src/generic/fdrepdlg.cpp:177 -#, fuzzy msgid "Replace &all" -msgstr "Datei '%s' ersetzen?" +msgstr "Alle &ersetzen" #: ../src/generic/fdrepdlg.cpp:129 msgid "Replace with:" -msgstr "" +msgstr "Ersetzen durch:" #: ../contrib/src/xrc/xmlres.cpp:360 msgid "Resource files must have same version number!" -msgstr "" +msgstr "Resource-datei muss Versionsnummer haben!" #: ../src/generic/prntdlgg.cpp:644 msgid "Right margin (mm):" @@ -2501,9 +2454,8 @@ msgid "Save as" msgstr "Sichern als" #: ../src/generic/filedlgg.cpp:1604 -#, fuzzy msgid "Save file" -msgstr "Datei %s sichern" +msgstr "Datei sichern" #: ../src/generic/logg.cpp:487 msgid "Save log contents to file" @@ -2529,23 +2481,20 @@ msgid "" msgstr "Alle Hilfebücher nach eingegebenem Begriff durchsuchen." #: ../src/generic/fdrepdlg.cpp:158 -#, fuzzy msgid "Search direction" -msgstr "Verzeichnis anlegen" +msgstr "Suchrichtung" #: ../src/generic/fdrepdlg.cpp:117 -#, fuzzy msgid "Search for:" -msgstr "Suchen" +msgstr "Suchen nach:" #: ../src/html/helpfrm.cpp:789 msgid "Search in all books" msgstr "Alle Bücher durchsuchen" #: ../src/html/htmlhelp.cpp:593 -#, fuzzy msgid "Search!" -msgstr "Suchen" +msgstr "Suche!" #: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:383 #: ../src/html/htmlhelp.cpp:441 @@ -2599,9 +2548,8 @@ msgid "Show all items in index" msgstr "Alle Themen im Index anzeigen" #: ../src/generic/dirdlgg.cpp:135 -#, fuzzy msgid "Show hidden directories" -msgstr "Versteckte Dateien anzeigen" +msgstr "Versteckte Verzeichnisse anzeigen" #: ../src/generic/filedlgg.cpp:1160 ../src/generic/filedlgg.cpp:1182 msgid "Show hidden files" @@ -2692,7 +2640,7 @@ msgstr "Thai (ISO-8859-11)" #: ../src/common/ftp.cpp:569 msgid "The FTP server doesn't support passive mode." -msgstr "" +msgstr "Der FTP-Server unterstützt den passiven Transfermodus nicht." #: ../src/common/fontmap.cpp:630 #, c-format @@ -2732,7 +2680,7 @@ msgstr "" #: ../src/common/filename.cpp:896 #, c-format msgid "The path '%s' contains too many \"..\"!" -msgstr "" +msgstr "Der Pfad '%s' enthält zu viele \"..\"." #: ../src/common/cmdline.cpp:845 #, c-format @@ -2761,6 +2709,8 @@ msgstr "" msgid "" "There was a problem during page setup: you may need to set a default printer." msgstr "" +"Es gab ein Problem bei der Seiteneinrichtung: eventuelle müssen Sie einen\n" +"Standarddrucker einrichten." #: ../src/msw/thread.cpp:1214 msgid "" @@ -2864,11 +2814,11 @@ msgstr "Unerwarteter Parameter '%s'" #: ../src/common/fontmap.cpp:141 msgid "Unicode 7 bit (UTF-7)" -msgstr "" +msgstr "Unicode 7 bit (UTF-7)" #: ../src/common/fontmap.cpp:142 msgid "Unicode 8 bit (UTF-8)" -msgstr "" +msgstr "Unicode 8 bit (UTF-8)" #: ../src/msw/dde.cpp:1020 #, c-format @@ -2922,11 +2872,11 @@ msgstr "Nicht unterst #: ../src/common/appcmn.cpp:362 #, c-format msgid "Unsupported theme '%s'." -msgstr "" +msgstr "Unbekanntes Thema '%s'." #: ../src/generic/fdrepdlg.cpp:157 msgid "Up" -msgstr "" +msgstr "Hoch" #: ../src/common/cmdline.cpp:901 #, c-format @@ -2968,19 +2918,16 @@ msgstr "" "zu entfernen." #: ../src/common/fontmap.cpp:112 -#, fuzzy msgid "Western European (ISO-8859-1)" -msgstr "Westeuropäisch (ISO-8859-1/Latin 1)" +msgstr "Westeuropäisch (ISO-8859-1)" #: ../src/common/fontmap.cpp:126 -#, fuzzy msgid "Western European with Euro (ISO-8859-15)" -msgstr "Westeuropäisch neu (ISO-8859-15/Latin 0)" +msgstr "Westeuropäisch mit Euro (ISO-8859-15)" #: ../src/generic/fdrepdlg.cpp:149 -#, fuzzy msgid "Whole word" -msgstr "Nur ganze Worte" +msgstr "Ganzes Wort" #: ../src/html/helpfrm.cpp:407 msgid "Whole words only" @@ -2988,7 +2935,7 @@ msgstr "Nur ganze Worte" #: ../src/univ/themes/win32.cpp:1168 msgid "Win32 theme" -msgstr "" +msgstr "Win32 Thema" #: ../src/msw/utils.cpp:979 msgid "Win32s on Windows 3.1" @@ -3012,18 +2959,16 @@ msgid "Windows Baltic (CP 1257)" msgstr "Windows Baltisch (CP 1257)" #: ../src/common/fontmap.cpp:132 -#, fuzzy msgid "Windows Central European (CP 1250)" -msgstr "Windows Hebräisch (CP 1255)" +msgstr "Windows Zentral Europäisch (CP 1250)" #: ../src/common/fontmap.cpp:129 msgid "Windows Chinese Simplified (CP 936)" -msgstr "" +msgstr "Windows Vereinfachtes Chinesisch (CP 936)" #: ../src/common/fontmap.cpp:131 -#, fuzzy msgid "Windows Chinese Traditional (CP 950)" -msgstr "Windows Latin 2 (CP 1250)" +msgstr "Windows Traditionelles Chinesisch (CP 950)" #: ../src/common/fontmap.cpp:133 msgid "Windows Cyrillic (CP 1251)" @@ -3038,23 +2983,20 @@ msgid "Windows Hebrew (CP 1255)" msgstr "Windows Hebräisch (CP 1255)" #: ../src/common/fontmap.cpp:128 -#, fuzzy msgid "Windows Japanese (CP 932)" -msgstr "Windows Griechisch (CP 1253)" +msgstr "Windows Japanisch (CP 932)" #: ../src/common/fontmap.cpp:130 -#, fuzzy msgid "Windows Korean (CP 949)" -msgstr "Windows Griechisch (CP 1253)" +msgstr "Windows Koreanisch (CP 949)" #: ../src/common/fontmap.cpp:136 msgid "Windows Turkish (CP 1254)" msgstr "Windows Türkisch (CP 1254)" #: ../src/common/fontmap.cpp:134 -#, fuzzy msgid "Windows Western European (CP 1252)" -msgstr "Windows Latin 1 (CP 1252)" +msgstr "Windows West Europäisch (CP 1252)" #: ../src/common/fontmap.cpp:140 msgid "Windows/DOS OEM (CP 437)" @@ -3109,7 +3051,7 @@ msgstr "Sie k #: ../src/common/fs_zip.cpp:86 ../src/common/fs_zip.cpp:123 msgid "ZIP handler currently supports only local files!" -msgstr "" +msgstr "ZIP Handler unterstützt derzeit nur lokale Dateien." #: ../src/common/docview.cpp:1951 msgid "[EMPTY]" @@ -3231,17 +3173,15 @@ msgstr "Versuch, Eintrag '%s' zu #: ../src/common/ftp.cpp:369 msgid "binary" -msgstr "" +msgstr "binär" #: ../src/common/fontcmn.cpp:518 -#, fuzzy msgid "bold" -msgstr "Fett" +msgstr "fett" #: ../src/common/fontcmn.cpp:442 -#, fuzzy msgid "bold " -msgstr "Fett" +msgstr "fett " #: ../src/common/ffile.cpp:93 #, c-format @@ -3336,9 +3276,9 @@ msgid "can't seek on file descriptor %d" msgstr "Kann auf die Dateibeschreibung '%d' nicht suchen" #: ../src/common/textfile.cpp:196 -#, fuzzy, c-format +#, c-format msgid "can't write buffer '%s' to disk." -msgstr "Kann Datei '%s' nicht schreiben." +msgstr "Kann den Puffer '%s' nicht schreiben." #: ../src/common/file.cpp:319 #, c-format @@ -3363,9 +3303,8 @@ msgid "date" msgstr "Datum" #: ../src/common/fontmap.cpp:413 -#, fuzzy msgid "default" -msgstr "alt" +msgstr "Standard" #: ../src/common/datetime.cpp:3237 msgid "eighteenth" @@ -3441,7 +3380,7 @@ msgstr "vierte" #: ../src/common/appcmn.cpp:301 msgid "generate verbose log messages" -msgstr "" +msgstr "ausführliche Log-Nachrichten erstellen" #: ../src/common/timercmn.cpp:282 msgid "gmtime() failed" @@ -3460,23 +3399,20 @@ msgid "invalid message box return value" msgstr "ungültiger 'message box'-Rückgabewert." #: ../src/common/fontcmn.cpp:458 ../src/common/fontcmn.cpp:522 -#, fuzzy msgid "italic" -msgstr "Kursiv" +msgstr "kursiv" #: ../src/html/helpfrm.cpp:935 msgid "large" msgstr "Groß" #: ../src/common/fontcmn.cpp:514 -#, fuzzy msgid "light" -msgstr "Dünn" +msgstr "dünn" #: ../src/common/fontcmn.cpp:438 -#, fuzzy msgid "light " -msgstr "Dünn" +msgstr "dünn " #: ../src/common/intl.cpp:615 #, c-format @@ -3526,7 +3462,7 @@ msgstr "num" #: ../src/common/filename.cpp:162 msgid "reading" -msgstr "" +msgstr "Lesen" #: ../src/msw/dde.cpp:1005 msgid "reentrancy problem." @@ -3550,7 +3486,7 @@ msgstr "Umschalt" #: ../src/common/appcmn.cpp:291 msgid "show this help message" -msgstr "" +msgstr "Zeige diesen Hilfstext" #: ../src/common/datetime.cpp:3235 msgid "sixteenth" @@ -3562,7 +3498,7 @@ msgstr "sechste" #: ../src/html/helpfrm.cpp:935 msgid "small" -msgstr "Klein" +msgstr "klein" #: ../src/common/appcmn.cpp:326 msgid "specify display mode to use (e.g. 640x480-16)" @@ -3570,7 +3506,7 @@ msgstr "" #: ../src/common/appcmn.cpp:312 msgid "specify the theme to use" -msgstr "" +msgstr "geben Sie das zu benutzende Thema an" #: ../src/common/cmdline.cpp:1032 msgid "str" @@ -3609,14 +3545,12 @@ msgid "twentieth" msgstr "zwanzigste" #: ../src/common/fontcmn.cpp:510 -#, fuzzy msgid "underlined" -msgstr "Unterstrichen" +msgstr "unterstrichen" #: ../src/common/fontcmn.cpp:425 -#, fuzzy msgid "underlined " -msgstr "Unterstrichen" +msgstr "unterstrichen " #: ../src/common/fileconf.cpp:1684 #, c-format @@ -3628,9 +3562,8 @@ msgid "unknown" msgstr "unbekannt" #: ../src/common/regex.cpp:144 -#, fuzzy msgid "unknown error" -msgstr "GIF: unbekannter Fehler!!!" +msgstr "unbekannter Fehler" #: ../src/msw/dialup.cpp:445 #, c-format @@ -3669,9 +3602,8 @@ msgid "very small" msgstr "sehr klein" #: ../src/common/filename.cpp:162 -#, fuzzy msgid "writing" -msgstr "Drucken" +msgstr "Schreiben" #: ../src/common/dynlib.cpp:336 #, c-format @@ -3705,307 +3637,10 @@ msgid "wxWindows could not open display for '%s': exiting." msgstr "wxWindows konnte 'open display' nicht ausführen für '%s': Abbruch." #: ../src/x11/app.cpp:265 -#, fuzzy msgid "wxWindows could not open display. Exiting." -msgstr "wxWindows konnte 'open display' nicht ausführen für '%s': Abbruch." +msgstr "wxWindows konnte Display nicht öffnen: Abbruch." #: ../src/common/datetime.cpp:3065 msgid "yesterday" msgstr "Gestern" -#~ msgid "All files (*.*)|*.*" -#~ msgstr "Alle Dateien (*.*)|*.*" - -#~ msgid "Can not create mutex" -#~ msgstr "Kann Mutex nicht anlegen" - -#~ msgid "Can't create the inter-process read pipe" -#~ msgstr "Kann 'inter-process- read-pipe' nicht erzeugen" - -#~ msgid "Can't create the inter-process write pipe" -#~ msgstr "Kann 'inter-process-write-pipe' nicht erzeugen" - -#~ msgid "Couldn't acquire a mutex lock" -#~ msgstr "Kann Mutex-Lock nicht bekommen" - -#~ msgid "Couldn't release a mutex" -#~ msgstr "Kann Mutex nicht freigeben." - -#~ msgid "Font" -#~ msgstr "Font" - -#~ msgid "PostScript" -#~ msgstr "PostScript" - -#~ msgid "PostScript:" -#~ msgstr "PostScript:" - -#~ msgid "Preview Only" -#~ msgstr "Nur Voransicht" - -#~ msgid "Printer Command: " -#~ msgstr "Druckbefehl: " - -#~ msgid "Printer Options: " -#~ msgstr "Befehlsoptionen: " - -#~ msgid "Printer Settings" -#~ msgstr "Druckereinstellungen" - -#~ msgid "Send to Printer" -#~ msgstr "Zum Drucker schicken" - -#, fuzzy -#~ msgid "SetPixelFormat failed." -#~ msgstr "Konnte keine Pipe anlegen" - -#~ msgid "X Scaling" -#~ msgstr "X-Skalierung" - -#~ msgid "X Translation" -#~ msgstr "X-Verschiebung" - -#~ msgid "Y Scaling" -#~ msgstr "Y-Skalierung" - -#~ msgid "Y Translation" -#~ msgstr "Y-Verschiebung" - -#, fuzzy -#~ msgid "unknown line terminator" -#~ msgstr "Unbekannte Suchposition" - -#~ msgid "Fatal Error" -#~ msgstr "Nicht-behebbarer Fehler" - -#, fuzzy -#~ msgid "Fatal error: %s\n" -#~ msgstr "Nicht-behebbarer Fehler:" - -#~ msgid "Back" -#~ msgstr "Zurück" - -#~ msgid "Can not create event object." -#~ msgstr "Kann Eventobjekt nicht erzeugen." - -#~ msgid "Can't find the serialization object '%s' for the object '%s'." -#~ msgstr "Kann Serialisierungsobjekt '%s' für Object '%s' nicht finden." - -#~ msgid "Can't load wxSerial dynamic library." -#~ msgstr "Kann wxSerial-DLL nicht laden." - -#~ msgid "Connection to wxHelp timed out in %d seconds" -#~ msgstr "Verbindung mit wxHelp nach %d Sekunden abgebrochen" - -#~ msgid "Etcetera" -#~ msgstr "etc" - -#, fuzzy -#~ msgid "ICO: Error calculating size of DIB ." -#~ msgstr "TIFF: Fehler beim Lesen des Bildes." - -#, fuzzy -#~ msgid "ICO: Error calculating size of Mask DIB ." -#~ msgstr "TIFF: Fehler beim Lesen des Bildes." - -#, fuzzy -#~ msgid "ICO: Error calculating size of XOR DIB ." -#~ msgstr "TIFF: Fehler beim Lesen des Bildes." - -#, fuzzy -#~ msgid "ICO: Error writing ICONDIR header." -#~ msgstr "TIFF: Schreibfehler beim Sichern." - -#, fuzzy -#~ msgid "ICO: Error writing ICONDIRENTRY header." -#~ msgstr "TIFF: Schreibfehler beim Sichern." - -#, fuzzy -#~ msgid "ICO: Error writing Mask DIB ." -#~ msgstr "TIFF: Fehler beim Lesen des Bildes." - -#, fuzzy -#~ msgid "ICO: Error writing XOR DIB ." -#~ msgstr "TIFF: Fehler beim Lesen des Bildes." - -#~ msgid "Incorrect version of HTML help book" -#~ msgstr "Falsche Version des HTML-Hilfebuchs" - -#, fuzzy -#~ msgid "Loading DIB : Couldn't allocate memory." -#~ msgstr "BMP: Speicher konnte nicht allokiert werden." - -#~ msgid "Mounted Devices" -#~ msgstr "Dateisysteme" - -#~ msgid "My Harddisk" -#~ msgstr "Mein Laufwerk" - -#~ msgid "My Home" -#~ msgstr "Mein Verzeichnis" - -#~ msgid "New..." -#~ msgstr "Neu..." - -#~ msgid "Please wait..." -#~ msgstr "Bitte warten..." - -#~ msgid "Temporary" -#~ msgstr "Temporär" - -#~ msgid "The Computer" -#~ msgstr "Der Computer" - -#~ msgid "The directory " -#~ msgstr "Das Verzeichnis" - -#~ msgid "User" -#~ msgstr "Benutzer" - -#~ msgid "User Local" -#~ msgstr "Lokaler Benutzer" - -#~ msgid "Variables" -#~ msgstr "Variablen" - -#~ msgid "Window" -#~ msgstr "Fenster" - -#, fuzzy -#~ msgid "centered" -#~ msgstr "etc" - -#, fuzzy -#~ msgid "Unknown digit value" -#~ msgstr "Unbekannte Kodierung (%d)" - -#~ msgid "Replace file '%s'?" -#~ msgstr "Datei '%s' ersetzen?" - -#~ msgid "wxWindows: error finding temporary file name.\n" -#~ msgstr "wxWindows: Fehler beim Suchen des temporären Dateinamen.\n" - -#~ msgid "" -#~ "Can't create window of class %s!\n" -#~ "Possible Windows 3.x compatibility problem?" -#~ msgstr "" -#~ "Kann Fensterklasse %s nicht erstellen!\n" -#~ "Möglicherweise Windows 3.x Kompatibilitätsproblem?" - -#, fuzzy -#~ msgid "" -#~ "Can't find dialog template '%s'!\n" -#~ "Check resource include path for finding wx.rc." -#~ msgstr "" -#~ "Kann Dummy-Dialog-Template nicht finden!\n" -#~ "Überprüfe 'resource include'-Pfad, damit 'wx.rc' gefunden werden kann." - -#~ msgid "Couldn't launch DDE server '%s'." -#~ msgstr "Konnte DDE-Server nicht starten '%s'" - -#~ msgid "Cyrillic (Latin 5)" -#~ msgstr "Kyrillisch (Latin 5)" - -#~ msgid "No XPM facility available!" -#~ msgstr "Kein XPM-Dienst verfügbar!" - -#~ msgid "ISO-8859-12" -#~ msgstr "ISO-8859-12" - -#~ msgid "ISO-8859-14" -#~ msgstr "ISO-8859-14" - -#~ msgid "Baltic II (ISO-8859-10)" -#~ msgstr "Baltisch II (ISO-8859-10)" - -#~ msgid "Can not create mutex." -#~ msgstr "Kann Mutex nicht anlegen." - -#~ msgid "Can't execute command '%s'" -#~ msgstr "Kann Befehl '%s' nicht ausführen" - -#~ msgid "Couldn't change the state of event object." -#~ msgstr "Kann Zustand des Eventobjektes nicht ändern." - -#~ msgid "ISO-8859-13" -#~ msgstr "ISO-8859-13" - -#~ msgid "Previewing" -#~ msgstr "Vorschau" - -#~ msgid "Print Error" -#~ msgstr "Fehler beim Drucken" - -#~ msgid "" -#~ "There was a problem printing.\n" -#~ "Perhaps your current printer is not set correctly?" -#~ msgstr "" -#~ "Beim Drucken ist ein Fehler aufgetreten.\n" -#~ "Vielleicht ist ihr Drucker nicht richtig eingestellt ?" - -#~ msgid "" -#~ "Unrecoverable program error detected: the application will terminate." -#~ msgstr "Unbehebbarer Programmfehler: Die Applikation wird beendet." - -#~ msgid "string '%s' not found in domain '%s' for locale '%s'." -#~ msgstr "Text '%s' in Bereich '%s' für Umgebung '%s' nicht gefunden." - -#~ msgid "string '%s' not found in locale '%s'." -#~ msgstr "Text '%s' in Umgebung '%s' nicht gefunden." - -#~ msgid " B.C." -#~ msgstr " v. Chr." - -#~ msgid "%s is invalid." -#~ msgstr "%s ist ungültig" - -#~ msgid "%s should be numeric." -#~ msgstr "%s sollte numerisch sein" - -#~ msgid "%s should only contain ASCII characters." -#~ msgstr "%s sollte nur ASCII-Zeichen enthalten" - -#~ msgid "%s should only contain alphabetic characters." -#~ msgstr "%s sollte nur Buchstaben enthalten" - -#~ msgid "%s should only contain alphabetic or numeric characters." -#~ msgstr "%s sollte nur Buchstaben oder Ziffern enthalten" - -#~ msgid "Application Error" -#~ msgstr "Programmfehler" - -#~ msgid "Can not create tooltip control" -#~ msgstr "Kann Tooltip nicht erzeugen." - -#~ msgid "Can not get data in format '%s' from clipboard." -#~ msgstr "Kann keine Daten im Format '%s' von der Zwischenablage bekommen." - -#~ msgid "Can not get priority range for scheduling policy %d." -#~ msgstr "Kann Prioritätsbereich für Schedulingregeln %d nicht bekommen." - -#~ msgid "Can not put data in format '%s' on clipboard." -#~ msgstr "Kann keine Daten im Fromat '%s' in die Zwischenablage kopieren." - -#~ msgid "Can not retrieve thread scheduling policy." -#~ msgstr "Kann Schedulingregeln nicht bekommen." - -#~ msgid "Character '%c' is invalid in a config entry name." -#~ msgstr "" -#~ "Zeichen '%c' ist in einem Konfigurationseintragsnamen nicht erlaubt." - -#~ msgid "Enter the name of the directory to create" -#~ msgstr "Geben Sie einen Namen für das neue Verzeichnis ein" - -#~ msgid "Entry name can't start with '%c'." -#~ msgstr "Eintragsname kann nicht mit '%c' beginnen." - -#~ msgid "" -#~ "Mime.types file %s, line %d: extra characters after the field value ignored." -#~ msgstr "" -#~ "Mime.types-Datei %s, Zeile %d: extrazeichen nach dem Wert ignoriert." - -#~ msgid "invalid month" -#~ msgstr "ungültiger Monat" - -#~ msgid "pm" -#~ msgstr "pm" diff --git a/locale/es.po b/locale/es.po index acedb924a0..cd207d3b41 100644 --- a/locale/es.po +++ b/locale/es.po @@ -897,7 +897,7 @@ msgstr "Contenidos" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "" #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/fi.po b/locale/fi.po index adeba1775d..1726e4e38e 100644 --- a/locale/fi.po +++ b/locale/fi.po @@ -883,7 +883,7 @@ msgstr "Sis #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "" #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/fr.po b/locale/fr.po index ea37d3d2b8..348425f191 100644 --- a/locale/fr.po +++ b/locale/fr.po @@ -1,13 +1,13 @@ msgid "" msgstr "" -"Project-Id-Version: wxWindows \n" +"Project-Id-Version: wxWindows\n" "POT-Creation-Date: 2002-08-21 16:39+0200\n" -"PO-Revision-Date: 2000-12-04 19:45W. Europe Standard Time\n" -"Last-Translator: Stéphane Junique \n" +"PO-Revision-Date: 2002-11-20 21:42+0100\n" +"Last-Translator: Stephane Junique \n" "Language-Team: wxWindows translators \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" -"Content-Transfer-Encoding: 8-bit\n" +"Content-Transfer-Encoding: 8bit\n" #: ../src/common/log.cpp:304 #, c-format @@ -46,8 +46,10 @@ msgstr "Enveloppe #14, 5 x 11 1/2 pouces" msgid "#9 Envelope, 3 7/8 x 8 7/8 in" msgstr "Enveloppe #9, 3 7/8 x 8 7/8 pouces" -#: ../src/common/resourc2.cpp:265 ../src/common/resourc2.cpp:1326 -#: ../src/common/resource.cpp:1784 ../src/common/resource.cpp:1914 +#: ../src/common/resourc2.cpp:265 +#: ../src/common/resourc2.cpp:1326 +#: ../src/common/resource.cpp:1784 +#: ../src/common/resource.cpp:1914 #: ../src/common/resource.cpp:2994 #, c-format msgid "#define %s must be an integer." @@ -56,15 +58,17 @@ msgstr "#define %s doit #: ../src/common/prntbase.cpp:376 #, c-format msgid "%d" -msgstr "" +msgstr "%d" #: ../src/common/prntbase.cpp:374 #, c-format msgid "%d...%d" -msgstr "" +msgstr "%d...%d" -#: ../src/html/helpfrm.cpp:772 ../src/html/helpfrm.cpp:773 -#: ../src/html/helpfrm.cpp:1376 ../src/html/helpfrm.cpp:1406 +#: ../src/html/helpfrm.cpp:772 +#: ../src/html/helpfrm.cpp:773 +#: ../src/html/helpfrm.cpp:1376 +#: ../src/html/helpfrm.cpp:1406 #, c-format msgid "%i of %i" msgstr "%i de %i" @@ -89,18 +93,22 @@ msgstr "%s Information" msgid "%s Warning" msgstr "%s Alarme" -#: ../src/common/resourc2.cpp:709 ../src/common/resource.cpp:2366 +#: ../src/common/resourc2.cpp:709 +#: ../src/common/resource.cpp:2366 #, c-format msgid "%s not a bitmap resource specification." msgstr "%s n'est pas une spécification d'une ressource bitmap." -#: ../src/common/resourc2.cpp:860 ../src/common/resource.cpp:2520 +#: ../src/common/resourc2.cpp:860 +#: ../src/common/resource.cpp:2520 #, c-format msgid "%s not an icon resource specification." msgstr "%s n'est pas une spécification d'une ressource icône." -#: ../src/common/resourc2.cpp:357 ../src/common/resourc2.cpp:1422 -#: ../src/common/resource.cpp:1877 ../src/common/resource.cpp:2006 +#: ../src/common/resourc2.cpp:357 +#: ../src/common/resourc2.cpp:1422 +#: ../src/common/resource.cpp:1877 +#: ../src/common/resource.cpp:2006 #: ../src/common/resource.cpp:3091 #, c-format msgid "%s: ill-formed resource file syntax." @@ -108,18 +116,19 @@ msgstr "%s : syntaxe du fichier de ressource incorrecte." #: ../src/msw/mdi.cpp:192 msgid "&Arrange Icons" -msgstr "" +msgstr "&" -#: ../src/generic/fdrepdlg.cpp:170 ../src/generic/wizard.cpp:260 -#, fuzzy +#: ../src/generic/fdrepdlg.cpp:170 +#: ../src/generic/wizard.cpp:260 msgid "&Cancel" -msgstr "Annuler" +msgstr "&Annuler" #: ../src/msw/mdi.cpp:188 msgid "&Cascade" -msgstr "" +msgstr "&Cascade" -#: ../src/generic/logg.cpp:491 ../src/generic/tipdlg.cpp:171 +#: ../src/generic/logg.cpp:491 +#: ../src/generic/tipdlg.cpp:171 msgid "&Close" msgstr "&Fermer" @@ -128,18 +137,16 @@ msgid "&Details" msgstr "&Détails" #: ../src/generic/fdrepdlg.cpp:168 -#, fuzzy msgid "&Find" -msgstr "Trouver" +msgstr "&Trouver" #: ../src/generic/wizard.cpp:396 msgid "&Finish" msgstr "&Fin" #: ../src/generic/wizard.cpp:249 -#, fuzzy msgid "&Help" -msgstr "Aide" +msgstr "&Aide" #: ../src/generic/logg.cpp:492 msgid "&Log" @@ -147,14 +154,14 @@ msgstr "&Journal" #: ../src/univ/themes/win32.cpp:4539 msgid "&Move" -msgstr "" +msgstr "&Deplacer" #: ../src/msw/mdi.cpp:193 -#, fuzzy msgid "&Next" -msgstr "&Suivant >" +msgstr "&Suivant" -#: ../src/generic/wizard.cpp:257 ../src/generic/wizard.cpp:398 +#: ../src/generic/wizard.cpp:257 +#: ../src/generic/wizard.cpp:398 msgid "&Next >" msgstr "&Suivant >" @@ -163,28 +170,29 @@ msgid "&Next Tip" msgstr "&Prochain Conseil" #: ../src/msw/mdi.cpp:194 -#, fuzzy msgid "&Previous" -msgstr "Page précédente" +msgstr "&Précédent" -#: ../src/common/cmdproc.cpp:261 ../src/common/cmdproc.cpp:272 +#: ../src/common/cmdproc.cpp:261 +#: ../src/common/cmdproc.cpp:272 msgid "&Redo" msgstr "&Refaire" -#: ../src/common/cmdproc.cpp:255 ../src/common/cmdproc.cpp:282 +#: ../src/common/cmdproc.cpp:255 +#: ../src/common/cmdproc.cpp:282 msgid "&Redo " msgstr "&Refaire " #: ../src/generic/fdrepdlg.cpp:174 msgid "&Replace" -msgstr "" +msgstr "&Remplacer" #: ../src/univ/themes/win32.cpp:4538 -#, fuzzy msgid "&Restore" -msgstr "&Refaire" +msgstr "&Restaurer" -#: ../src/generic/logg.cpp:487 ../src/generic/logg.cpp:818 +#: ../src/generic/logg.cpp:487 +#: ../src/generic/logg.cpp:818 msgid "&Save..." msgstr "&Enregistrer ..." @@ -193,9 +201,8 @@ msgid "&Show tips at startup" msgstr "&Afficher les conseils au démarrage" #: ../src/univ/themes/win32.cpp:4541 -#, fuzzy msgid "&Size" -msgstr "Taille" +msgstr "&Taille" #: ../src/common/cmdproc.cpp:267 msgid "&Undo" @@ -205,16 +212,20 @@ msgstr "&Annuler" msgid "&Undo " msgstr "&Annuler " -#: ../src/msw/mdi.cpp:1328 ../src/msw/mdi.cpp:1335 ../src/msw/mdi.cpp:1360 +#: ../src/msw/mdi.cpp:1328 +#: ../src/msw/mdi.cpp:1335 +#: ../src/msw/mdi.cpp:1360 msgid "&Window" msgstr "&Fenêtre" -#: ../src/common/config.cpp:394 ../src/msw/regconf.cpp:264 +#: ../src/common/config.cpp:394 +#: ../src/msw/regconf.cpp:264 #, c-format msgid "'%s' has extra '..', ignored." msgstr "'%s' a trop de '..', ils sont ignorés." -#: ../src/common/valtext.cpp:147 ../src/common/valtext.cpp:177 +#: ../src/common/valtext.cpp:147 +#: ../src/common/valtext.cpp:177 #: ../src/common/valtext.cpp:183 #, c-format msgid "'%s' is invalid" @@ -231,7 +242,7 @@ msgid "'%s' is not a valid message catalog." msgstr "'%s' n'est pas un catalogue de messages valide." #: ../src/common/textbuf.cpp:245 -#, fuzzy, c-format +#, c-format msgid "'%s' is probably a binary buffer." msgstr "'%s' est probablement un fichier binaire." @@ -253,33 +264,36 @@ msgstr "'%s' ne devrait contenir que des caract #: ../src/common/valtext.cpp:166 #, c-format msgid "'%s' should only contain alphabetic or numeric characters." -msgstr "" -"'%s' ne devrait contenir que des caractères alphabétiques ou numériques." +msgstr "'%s' ne devrait contenir que des caractères alphabétiques ou numériques." -#: ../src/html/helpfrm.cpp:709 ../src/html/htmlhelp.cpp:638 +#: ../src/html/helpfrm.cpp:709 +#: ../src/html/htmlhelp.cpp:638 msgid "(Help)" msgstr "(Aide)" -#: ../src/html/helpfrm.cpp:310 ../src/html/helpfrm.cpp:840 +#: ../src/html/helpfrm.cpp:310 +#: ../src/html/helpfrm.cpp:840 #: ../src/html/helpfrm.cpp:1433 msgid "(bookmarks)" msgstr "(signets)" -#: ../src/common/resourc2.cpp:297 ../src/common/resourc2.cpp:1362 -#: ../src/common/resource.cpp:1816 ../src/common/resource.cpp:1946 +#: ../src/common/resourc2.cpp:297 +#: ../src/common/resourc2.cpp:1362 +#: ../src/common/resource.cpp:1816 +#: ../src/common/resource.cpp:1946 #: ../src/common/resource.cpp:3030 -msgid "" -", expected static, #include or #define\n" +msgid ", expected static, #include or #define\n" "whilst parsing resource." -msgstr "" -", static, #include ou #define\n" +msgstr ", static, #include ou #define\n" "attendu au cours de l'analyse des ressources." -#: ../src/generic/dirctrlg.cpp:698 ../src/generic/filedlgg.cpp:929 +#: ../src/generic/dirctrlg.cpp:698 +#: ../src/generic/filedlgg.cpp:929 msgid "." msgstr "." -#: ../src/generic/dirctrlg.cpp:699 ../src/generic/filedlgg.cpp:930 +#: ../src/generic/dirctrlg.cpp:699 +#: ../src/generic/filedlgg.cpp:930 msgid ".." msgstr ".." @@ -328,32 +342,8 @@ msgid " " msgstr " " #: ../src/html/helpfrm.cpp:992 -msgid "" -"Normal face
        (and underlined. Italic face. " -"Bold face. Bold italic face.
        font size " -"-2
        font size -1
        font size " -"+0
        font size +1
        font size " -"+2
        font size +3
        font size " -"+4

        Fixed size face.
        bold italic " -"bold italic underlined
        font size " -"-2
        font size -1
        font size " -"+0
        font size +1
        font size " -"+2
        font size +3
        font size " -"+4
        " -msgstr "" -"Normal
        (et souligné. Italique. Gras. " -"Gras italique.
        taille de police " -"-2
        taille de police -1
        taille de police +0
        taille de police " -"+1
        taille de police +2
        taille de police +3
        taille de police " -"+4

        Police à taille fixe.
        gras italique " -"gras italique souligné
        taille de " -"police -2
        taille de police -1
        taille de police +0
        taille de police " -"+1
        taille de police +2
        taille de police +3
        taille de police " -"+4
        " +msgid "Normal face
        (and underlined. Italic face. Bold face. Bold italic face.
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4

        Fixed size face.
        bold italic bold italic underlined
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4
        " +msgstr "Normal
        (et souligné. Italique. Gras. Gras italique.
        taille de police -2
        taille de police -1
        taille de police +0
        taille de police +1
        taille de police +2
        taille de police +3
        taille de police +4

        Police à taille fixe.
        gras italique gras italique souligné
        taille de police -2
        taille de police -1
        taille de police +0
        taille de police +1
        taille de police +2
        taille de police +3
        taille de police +4
        " #: ../src/common/paper.cpp:113 msgid "A3 sheet, 297 x 420 mm" @@ -377,7 +367,7 @@ msgstr "ABCDEFGabcdefg12345" #: ../src/common/ftp.cpp:369 msgid "ASCII" -msgstr "" +msgstr "ASCII" #: ../src/html/helpfrm.cpp:323 msgid "Add current page to bookmarks" @@ -433,37 +423,34 @@ msgstr "feuille B5, 182 x 257 mm" msgid "B6 Envelope, 176 x 125 mm" msgstr "Enveloppe B6, 176 x 125 mm" -#: ../src/common/imagbmp.cpp:467 ../src/common/imagbmp.cpp:483 -#, fuzzy +#: ../src/common/imagbmp.cpp:467 +#: ../src/common/imagbmp.cpp:483 msgid "BMP: Couldn't allocate memory." -msgstr "PNM : Impossible d'allouer la mémoire nécessaire." +msgstr "BMP : Impossible d'allouer la mémoire nécessaire." #: ../src/common/imagbmp.cpp:86 msgid "BMP: Couldn't save invalid image." msgstr "BMP : Sauvegarde de l'image impossible." #: ../src/common/imagbmp.cpp:290 -#, fuzzy msgid "BMP: Couldn't write RGB color map." -msgstr "BMP : Erreur d'écriture." +msgstr "BMP : Impossible d'écrire la palette de couleurs RGB." #: ../src/common/imagbmp.cpp:422 msgid "BMP: Couldn't write data." msgstr "BMP : Erreur d'écriture." #: ../src/common/imagbmp.cpp:195 -#, fuzzy msgid "BMP: Couldn't write the file (Bitmap) header." -msgstr "BMP : Erreur d'écriture de l'en-tête du fichier." +msgstr "BMP : Erreur d'écriture de l'en-tête du fichier (Bitmap)." #: ../src/common/imagbmp.cpp:216 -#, fuzzy msgid "BMP: Couldn't write the file (BitmapInfo) header." -msgstr "BMP : Erreur d'écriture de l'en-tête du fichier." +msgstr "BMP : Erreur d'écriture de l'en-tête du fichier (BitmapInfo)." #: ../src/common/imagbmp.cpp:120 msgid "BMP: wxImage doesn't have own wxPalette." -msgstr "" +msgstr "BMP: wxImage n'a pas sa propre wxPalette." #: ../src/common/dlgcmn.cpp:170 msgid "Backward" @@ -477,7 +464,8 @@ msgstr "Balte (ISO-8859-13)" msgid "Baltic (old) (ISO-8859-4)" msgstr "Balte (l'ancien) (ISO-8859-4)" -#: ../src/common/resourc2.cpp:840 ../src/common/resource.cpp:2500 +#: ../src/common/resourc2.cpp:840 +#: ../src/common/resource.cpp:2500 #, c-format msgid "Bitmap resource specification %s not found." msgstr "La spécification de la ressource bitmap %s est introuvable." @@ -519,16 +507,18 @@ msgid "C65 Envelope, 114 x 229 mm" msgstr "Enveloppe C65, 114 x 229 mm" #: ../src/common/filefn.cpp:1358 -#, fuzzy, c-format +#, c-format msgid "Can not enumerate files '%s'" -msgstr "Impossible d'énumérer les fichiers dans le répertoire '%s'" +msgstr "Impossible d'énumérer les fichiers '%s'" -#: ../src/msw/dir.cpp:296 ../src/unix/dir.cpp:236 +#: ../src/msw/dir.cpp:296 +#: ../src/unix/dir.cpp:236 #, c-format msgid "Can not enumerate files in directory '%s'" msgstr "Impossible d'énumérer les fichiers dans le répertoire '%s'" -#: ../src/mac/thread.cpp:472 ../src/msw/thread.cpp:685 +#: ../src/mac/thread.cpp:472 +#: ../src/msw/thread.cpp:685 #, c-format msgid "Can not resume thread %x" msgstr "Impossible de reprendre le thread %x" @@ -537,7 +527,8 @@ msgstr "Impossible de reprendre le thread %x" msgid "Can not start thread: error writing TLS." msgstr "Impossible de démarrer le thread : erreur à l'écriture de TLS." -#: ../src/mac/thread.cpp:448 ../src/msw/thread.cpp:670 +#: ../src/mac/thread.cpp:448 +#: ../src/msw/thread.cpp:670 #, c-format msgid "Can not suspend thread %x" msgstr "Impossible de suspendre le thread %x" @@ -553,9 +544,7 @@ msgstr "Impossible d'&Annuler" #: ../src/common/image.cpp:1289 #, c-format msgid "Can't check image format of file '%s': file does not exist." -msgstr "" -"Impossible de vérifier le format du fichier image '%s' : le fichier n'existe " -"pas." +msgstr "Impossible de vérifier le format du fichier image '%s' : le fichier n'existe pas." #: ../src/msw/registry.cpp:421 #, c-format @@ -568,34 +557,32 @@ msgid "Can't copy values of unsupported type %d." msgstr "Impossible de copier les valeurs du type non supporté %d." #: ../src/msw/toplevel.cpp:295 -#, fuzzy msgid "Can't create dialog using memory template" -msgstr "impossible de créer le fichier '%s'" +msgstr "Impossible de créer une boîte de dialogue à partir du modèle en mémoire." #: ../src/os2/toplevel.cpp:331 -#, fuzzy, c-format +#, c-format msgid "Can't create dialog using template '%ul'" -msgstr "impossible de créer le fichier '%s'" +msgstr "Impossible de créer la boîte de dialogue à partir du modèle '% ul'" #: ../src/msw/listctrl.cpp:319 msgid "Can't create list control window, check that comctl32.dll is installed." -msgstr "" -"Impossible de créer une fenêtre avec un contrôle liste, vérifier que " -"comctl32.dll est installée." +msgstr "Impossible de créer une fenêtre avec un contrôle liste, vérifier que comctl32.dll est installée." #: ../src/msw/registry.cpp:402 #, c-format msgid "Can't create registry key '%s'" msgstr "Impossible de créer la clé de registre '%s'" -#: ../src/mac/thread.cpp:427 ../src/msw/thread.cpp:652 +#: ../src/mac/thread.cpp:427 +#: ../src/msw/thread.cpp:652 msgid "Can't create thread" msgstr "Impossible de créer le thread" #: ../src/msw/window.cpp:2989 -#, fuzzy, c-format +#, c-format msgid "Can't create window of class %s" -msgstr "impossible de créer le fichier '%s'" +msgstr "Impossible d'enregistrer la fenêtre de classe %s" #: ../src/msw/registry.cpp:661 #, c-format @@ -637,11 +624,11 @@ msgstr "Impossible de trouver la position courante dans le fichier '%s'" msgid "Can't get info about registry key '%s'" msgstr "Impossible d'obtenir l'information sur la clé de registre '%s'" -#: ../src/common/image.cpp:913 ../src/common/image.cpp:933 +#: ../src/common/image.cpp:913 +#: ../src/common/image.cpp:933 #, c-format msgid "Can't load image from file '%s': file does not exist." -msgstr "" -"Impossible de charger l'image du fichier '%s' : le fichier n'existe pas." +msgstr "Impossible de charger l'image du fichier '%s' : le fichier n'existe pas." #: ../src/msw/dib.cpp:434 #, c-format @@ -658,18 +645,19 @@ msgstr "Impossible d'ouvrir la cl msgid "Can't read value of '%s'" msgstr "Impossible de lire la valeur de '%s'" -#: ../src/msw/registry.cpp:777 ../src/msw/registry.cpp:816 +#: ../src/msw/registry.cpp:777 +#: ../src/msw/registry.cpp:816 #, c-format msgid "Can't read value of key '%s'" msgstr "Impossible de lire la valeur de la clé '%s'" #: ../src/common/image.cpp:955 -#, fuzzy, c-format +#, c-format msgid "Can't save image to file '%s': unknown extension." -msgstr "" -"Impossible de charger l'image du fichier '%s' : le fichier n'existe pas." +msgstr "Impossible d'enregistrer l'image dans le fichier '%s' : extension inconnue." -#: ../src/generic/logg.cpp:551 ../src/generic/logg.cpp:985 +#: ../src/generic/logg.cpp:551 +#: ../src/generic/logg.cpp:985 msgid "Can't save log contents to file." msgstr "Impossible d'enregistrer le contenu du journal dans le fichier." @@ -677,29 +665,37 @@ msgstr "Impossible d'enregistrer le contenu du journal dans le fichier." msgid "Can't set thread priority" msgstr "Impossible de spécifier la priorité pour le thread" -#: ../src/msw/registry.cpp:802 ../src/msw/registry.cpp:928 +#: ../src/msw/registry.cpp:802 +#: ../src/msw/registry.cpp:928 #, c-format msgid "Can't set value of '%s'" msgstr "Impossible de spécifier la valeur de '%s'" -#: ../src/common/dlgcmn.cpp:183 ../src/generic/dirdlgg.cpp:153 -#: ../src/generic/filedlgg.cpp:1166 ../src/generic/filedlgg.cpp:1185 -#: ../src/generic/fontdlgg.cpp:254 ../src/generic/prntdlgg.cpp:453 -#: ../src/generic/progdlgg.cpp:211 ../src/generic/proplist.cpp:511 -#: ../src/gtk/filedlg.cpp:173 ../src/gtk/fontdlg.cpp:144 -#: ../src/html/helpfrm.cpp:974 ../src/html/htmlhelp.cpp:434 +#: ../src/common/dlgcmn.cpp:183 +#: ../src/generic/dirdlgg.cpp:153 +#: ../src/generic/filedlgg.cpp:1166 +#: ../src/generic/filedlgg.cpp:1185 +#: ../src/generic/fontdlgg.cpp:254 +#: ../src/generic/prntdlgg.cpp:453 +#: ../src/generic/progdlgg.cpp:211 +#: ../src/generic/proplist.cpp:511 +#: ../src/gtk/filedlg.cpp:173 +#: ../src/gtk/fontdlg.cpp:144 +#: ../src/html/helpfrm.cpp:974 +#: ../src/html/htmlhelp.cpp:434 #: ../src/motif/msgdlg.cpp:182 msgid "Cancel" msgstr "Annuler" -#: ../contrib/src/xrc/xmlres.cpp:893 ../contrib/src/xrc/xmlres.cpp:934 +#: ../contrib/src/xrc/xmlres.cpp:893 +#: ../contrib/src/xrc/xmlres.cpp:934 msgid "Cannot convert dialog units: dialog unknown." -msgstr "" +msgstr "Impossible de convertir les unités de la boîte de dialogue: boîte de dialogue inconnue." #: ../src/common/strconv.cpp:929 -#, fuzzy, c-format +#, c-format msgid "Cannot convert from encoding '%s'!" -msgstr "Codage inconnu (%d)" +msgstr "Impossible de convertir depuis l'encodage '%s'!" #: ../src/msw/dialup.cpp:497 #, c-format @@ -707,14 +703,14 @@ msgid "Cannot find active dialup connection: %s" msgstr "Impossible de trouver la connexion active : %s" #: ../contrib/src/xrc/xmlres.cpp:224 -#, fuzzy, c-format +#, c-format msgid "Cannot find container for unknown control '%s'." -msgstr "Impossible de trouver la connexion active : %s" +msgstr "Impossible de trouver un conteneur pour le contrôle inconnu '%s'" #: ../contrib/src/xrc/xmlres.cpp:948 -#, fuzzy, c-format +#, c-format msgid "Cannot find font node '%s'." -msgstr "Impossible d'ouvrir l'URL '%s'" +msgstr "Le noeud de la police de caractères '%s' est introuvable." #: ../src/msw/dialup.cpp:811 msgid "Cannot find the location of address book file" @@ -723,9 +719,7 @@ msgstr "Impossible de trouver l'emplacement du fichier du livre des adresses" #: ../src/unix/threadpsx.cpp:1068 #, c-format msgid "Cannot get priority range for scheduling policy %d." -msgstr "" -"Impossible d'obtenir une gamme de priorité pour le choix de la planification " -"%d." +msgstr "Impossible d'obtenir une gamme de priorité pour le choix de la planification %d." #: ../src/unix/utilsunx.cpp:854 msgid "Cannot get the hostname" @@ -744,24 +738,22 @@ msgid "Cannot initialize OLE" msgstr "Impossible d'initialiser l'OLE" #: ../src/mgl/app.cpp:414 -#, fuzzy msgid "Cannot initialize SciTech MGL!" -msgstr "Impossible d'initialiser l'OLE" +msgstr "Impossible d'initialiser Scitech MGL!" #: ../src/mgl/window.cpp:546 -#, fuzzy msgid "Cannot initialize display." -msgstr "Impossible d'initialiser l'OLE" +msgstr "Impossible d'initialiser l'écran" #: ../src/msw/volume.cpp:627 -#, fuzzy, c-format +#, c-format msgid "Cannot load icon from '%s'." -msgstr "Impossible d'énumérer les fichiers dans le répertoire '%s'" +msgstr "Impossible de charger l'icone depuis '%s'." #: ../contrib/src/xrc/xmlres.cpp:337 -#, fuzzy, c-format +#, c-format msgid "Cannot load resources from file '%s'." -msgstr "Impossible de trouver le fichier de ressources inclus %s." +msgstr "Impossible de charger les ressources du fichier %s." #: ../src/html/htmlfilt.cpp:171 #, c-format @@ -784,9 +776,9 @@ msgid "Cannot open contents file: %s" msgstr "Impossible d'ouvrir le fichier table des matières : %s" #: ../contrib/src/xrc/xmlres.cpp:311 -#, fuzzy, c-format +#, c-format msgid "Cannot open file '%s'." -msgstr "Impossible d'ouvrir le fichier '%s'" +msgstr "Impossible d'ouvrir le fichier '%s'." #: ../src/generic/dcpsg.cpp:1765 msgid "Cannot open file for PostScript printing!" @@ -798,23 +790,24 @@ msgid "Cannot open index file: %s" msgstr "Impossible d'ouvrir le fichier d'index : %s" #: ../contrib/src/xrc/xmlres.cpp:881 -#, fuzzy, c-format +#, c-format msgid "Cannot parse coordinates from '%s'." -msgstr "Impossible d'ouvrir le fichier table des matières : %s" +msgstr "Impossible de trouver les coordonnées dans '%s'." #: ../contrib/src/xrc/xmlres.cpp:922 -#, fuzzy, c-format +#, c-format msgid "Cannot parse dimension from '%s'." -msgstr "Impossible d'énumérer les fichiers dans le répertoire '%s'" +msgstr "Impossible de trouver les dimensions dans '%s'." #: ../src/html/helpfrm.cpp:1265 msgid "Cannot print empty page." msgstr "Impossible d'imprimer une page vide." -#: ../src/msw/volume.cpp:188 ../src/msw/volume.cpp:519 -#, fuzzy, c-format +#: ../src/msw/volume.cpp:188 +#: ../src/msw/volume.cpp:519 +#, c-format msgid "Cannot read typename from '%s'!" -msgstr "Impossible d'ouvrir le fichier table des matières : %s" +msgstr "Impossible de lire le nom du fichier à partir de '%s' !" #: ../src/unix/threadpsx.cpp:1049 msgid "Cannot retrieve thread scheduling policy." @@ -833,9 +826,8 @@ msgid "Celtic (ISO-8859-14)" msgstr "Balte (ISO-8859-13)" #: ../src/common/fontmap.cpp:113 -#, fuzzy msgid "Central European (ISO-8859-2)" -msgstr "Europe Centrale (ISO-8859-2/Latin 2)" +msgstr "Europe Centrale (ISO-8859-2)" #: ../src/msw/dialup.cpp:746 msgid "Choose ISP to dial" @@ -849,14 +841,15 @@ msgstr "Choisissez la police" msgid "Clear the log contents" msgstr "Effacer le contenu du journal" -#: ../src/common/prntbase.cpp:429 ../src/generic/progdlgg.cpp:360 +#: ../src/common/prntbase.cpp:429 +#: ../src/generic/progdlgg.cpp:360 #: ../src/generic/proplist.cpp:506 msgid "Close" msgstr "Fermer" #: ../src/univ/themes/win32.cpp:4547 msgid "Close\tAlt-F4" -msgstr "" +msgstr "Fermer\tAlt-F4" #: ../src/generic/logg.cpp:491 msgid "Close this window" @@ -869,8 +862,7 @@ msgstr "L'ordinateur" #: ../src/common/fileconf.cpp:872 #, c-format msgid "Config entry name cannot start with '%c'." -msgstr "" -"Le nom pour l'entrée de la configuration ne peut pas commencer par '%c'." +msgstr "Le nom pour l'entrée de la configuration ne peut pas commencer par '%c'." #: ../src/generic/filedlgg.cpp:1357 ../src/gtk/filedlg.cpp:72 msgid "Confirm" @@ -878,7 +870,7 @@ msgstr "Confirmer" #: ../src/msw/mimetype.cpp:686 msgid "Confirm registry update" -msgstr "" +msgstr "Confirmer la mise à jour du registre" #: ../src/html/htmlwin.cpp:262 msgid "Connecting..." @@ -890,8 +882,8 @@ msgstr "Table des mati #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." -msgstr "" +msgid "Conversion to charset '%s' doesn't work." +msgstr "La conversion vers le jeu de caractères '%s' ne fonctionne pas." #: ../src/generic/prntdlgg.cpp:193 msgid "Copies:" @@ -914,29 +906,24 @@ msgstr "Impossible de charger la biblioth #: ../src/common/resource.cpp:802 #, c-format -msgid "" -"Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" +msgid "Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" " or provide #define (see manual for caveats)" -msgstr "" -"Impossible de résoudre la classe de contrôle ou l'id '%s'. Utilisez un " -"entier (non nul) à la place\n" +msgstr "Impossible de résoudre la classe de contrôle ou l'id '%s'. Utilisez un entier (non nul) à la place\n" "ou fournissez un #define (voir le manuel pour les mises en garde)" #: ../src/common/resource.cpp:1251 #, c-format -msgid "" -"Could not resolve menu id '%s'. Use (non-zero) integer instead\n" +msgid "Could not resolve menu id '%s'. Use (non-zero) integer instead\n" "or provide #define (see manual for caveats)" -msgstr "" -"Impossible de résoudre l'id du menu '%s'. Utilisez un entier (non nul) à la " -"place\n" +msgstr "Impossible de résoudre l'id du menu '%s'. Utilisez un entier (non nul) à la place\n" "ou fournissez un #define (voir le manuel pour les mises en garde)" #: ../src/common/prntbase.cpp:806 msgid "Could not start document preview." msgstr "Impossible de lancer l'aperçu du document." -#: ../src/generic/printps.cpp:197 ../src/msw/printwin.cpp:252 +#: ../src/generic/printps.cpp:197 +#: ../src/msw/printwin.cpp:252 msgid "Could not start printing." msgstr "Impossible de lancer l'impression." @@ -944,8 +931,10 @@ msgstr "Impossible de lancer l'impression." msgid "Could not transfer data to window" msgstr "Impossible de transférer les données à la fenêtre" -#: ../src/msw/dragimag.cpp:148 ../src/msw/dragimag.cpp:184 -#: ../src/msw/imaglist.cpp:152 ../src/msw/imaglist.cpp:174 +#: ../src/msw/dragimag.cpp:148 +#: ../src/msw/dragimag.cpp:184 +#: ../src/msw/imaglist.cpp:152 +#: ../src/msw/imaglist.cpp:174 #: ../src/msw/imaglist.cpp:187 msgid "Couldn't add an image to the image list." msgstr "Impossible d'ajouter une image à la liste." @@ -954,25 +943,25 @@ msgstr "Impossible d'ajouter une image msgid "Couldn't create a timer" msgstr "Impossible de créer un minuteur" -#: ../src/mgl/cursor.cpp:135 ../src/mgl/cursor.cpp:166 -#, fuzzy +#: ../src/mgl/cursor.cpp:135 +#: ../src/mgl/cursor.cpp:166 msgid "Couldn't create cursor." -msgstr "Impossible de créer un minuteur" +msgstr "Impossible de créer un curseur." -#: ../src/common/dynlib.cpp:347 ../src/common/dynload.cpp:295 +#: ../src/common/dynlib.cpp:347 +#: ../src/common/dynload.cpp:295 #, c-format msgid "Couldn't find symbol '%s' in a dynamic library" msgstr "Impossible de trouver le symbole '%s' dans la bibliothèque dynamique" -#: ../src/mac/thread.cpp:502 ../src/msw/thread.cpp:711 +#: ../src/mac/thread.cpp:502 +#: ../src/msw/thread.cpp:711 msgid "Couldn't get the current thread pointer" msgstr "Impossible d'obtenir le pointeur sur le thread courant" #: ../src/common/imagpng.cpp:298 msgid "Couldn't load a PNG image - file is corrupted or not enough memory." -msgstr "" -"Impossible de charger une image PNG - le fichier est corrompu ou bien il n'y " -"a pas assez de mémoire." +msgstr "Impossible de charger une image PNG - le fichier est corrompu ou bien il n'y a pas assez de mémoire." #: ../src/msw/ole/dataobj.cpp:143 #, c-format @@ -982,17 +971,16 @@ msgstr "Impossible d'enregistrer le format de presse-papier '%s'." #: ../src/msw/listctrl.cpp:722 #, c-format msgid "Couldn't retrieve information about list control item %d." -msgstr "" -"Impossible d'obtenir de l'information sur un élément de la liste de contrôle " -"%d." +msgstr "Impossible d'obtenir de l'information sur un élément de la liste de contrôle %d." -#: ../src/common/imagpng.cpp:334 ../src/common/imagpng.cpp:345 +#: ../src/common/imagpng.cpp:334 +#: ../src/common/imagpng.cpp:345 #: ../src/common/imagpng.cpp:353 -#, fuzzy msgid "Couldn't save PNG image." -msgstr "JPEG : Sauvegarde de l'image impossible." +msgstr "PNG : Sauvegarde de l'image impossible." -#: ../src/mac/thread.cpp:749 ../src/msw/thread.cpp:1091 +#: ../src/mac/thread.cpp:749 +#: ../src/msw/thread.cpp:1091 msgid "Couldn't terminate thread" msgstr "Impossible d'arrêter le thread" @@ -1000,7 +988,8 @@ msgstr "Impossible d'arr msgid "Create directory" msgstr "Créer le répertoire" -#: ../src/generic/dirdlgg.cpp:103 ../src/generic/filedlgg.cpp:1119 +#: ../src/generic/dirdlgg.cpp:103 +#: ../src/generic/filedlgg.cpp:1119 msgid "Create new directory" msgstr "Créer un nouveau répertoire" @@ -1009,9 +998,8 @@ msgid "Current directory:" msgstr "Répertoire courant :" #: ../src/common/fontmap.cpp:116 -#, fuzzy msgid "Cyrillic (ISO-8859-5)" -msgstr "Balte (ISO-8859-13)" +msgstr "Cyrillique (ISO-8859-5)" #: ../src/common/paper.cpp:106 msgid "D sheet, 22 x 34 in" @@ -1022,35 +1010,28 @@ msgid "DDE poke request failed" msgstr "La demande de transfert DDE a échoué" #: ../src/common/imagbmp.cpp:618 -#, fuzzy msgid "DIB Header: Cannot deal with 4bit encoded yet." -msgstr "" -"BMP : Impossible d'utiliser actuellement les fichiers codés sur 4 bits." +msgstr "DIB : Impossible d'utiliser actuellement les fichiers codés sur 4 bits." #: ../src/common/imagbmp.cpp:836 -#, fuzzy msgid "DIB Header: Encoding doesn't match bitdepth." -msgstr "BMP : L'encodage ne correspond pas aux nombres de bits par pixel." +msgstr "DIB : L'encodage ne correspond pas au nombre de bits par pixel." #: ../src/common/imagbmp.cpp:798 -#, fuzzy msgid "DIB Header: Image height > 32767 pixels for file." -msgstr "BMP : La hauteur de l'image est > 32767 pixels pour le fichier." +msgstr "DIB : La hauteur de l'image est > 32767 pixels pour le fichier." #: ../src/common/imagbmp.cpp:792 -#, fuzzy msgid "DIB Header: Image width > 32767 pixels for file." -msgstr "BMP : La largeur de l'image est > 32767 pixels pour le fichier." +msgstr "DIB : La largeur de l'image est > 32767 pixels pour le fichier." #: ../src/common/imagbmp.cpp:812 -#, fuzzy msgid "DIB Header: Unknown bitdepth in file." -msgstr "BMP : Nombre de bits par pixel inconnu dans le fichier." +msgstr "DIB : Nombre de bits par pixel inconnu dans le fichier." #: ../src/common/imagbmp.cpp:822 -#, fuzzy msgid "DIB Header: Unknown encoding in file." -msgstr "BMP : Codage inconnu dans le fichier." +msgstr "Entête DIB : Codage inconnu dans le fichier." #: ../src/common/paper.cpp:128 msgid "DL Envelope, 110 x 220 mm" @@ -1066,28 +1047,20 @@ msgstr "D #: ../src/common/fontmap.cpp:386 msgid "Default encoding" -msgstr "" +msgstr "Encodage par défaut" #: ../src/unix/snglinst.cpp:269 -#, fuzzy, c-format +#, c-format msgid "Deleted stale lock file '%s'." -msgstr "Impossible d'effacer le fichier INI '%s'" +msgstr "Le fichier verrou périmé '%s' a été effacé." #: ../src/msw/dialup.cpp:346 -msgid "" -"Dial up functions are unavailable because the remote access service (RAS) is " -"not installed on this machine. Please install it." -msgstr "" -"Les fonctions de composition de numéros ne sont pas disponibles car le " -"service d'accès à distance (RAS) n'est pas installé sur cet ordinateur. " -"Installez-le svp." +msgid "Dial up functions are unavailable because the remote access service (RAS) is not installed on this machine. Please install it." +msgstr "Les fonctions de composition de numéros ne sont pas disponibles car le service d'accès à distance (RAS) n'est pas installé sur cet ordinateur. Installez-le svp." #: ../src/os2/toplevel.cpp:329 -#, fuzzy msgid "Did you forget to include wx/os2/wx.rc in your resources?" -msgstr "" -"La création de la boîte de dialogue a échoué. Peut-être avez-vous oublié " -"d'inclure wx/msw/wx.rc dans votre fichier de resources?" +msgstr "Peut-être avez-vous oublié d'inclure wx/os2/wx.rc dans votre fichier de resources?" #: ../src/generic/tipdlg.cpp:178 msgid "Did you know..." @@ -1099,21 +1072,17 @@ msgid "Directory '%s' couldn't be created" msgstr "Le répertoire '%s' ne peut pas être créé" #: ../src/mgl/dirmgl.cpp:217 -#, fuzzy, c-format +#, c-format msgid "Directory '%s' doesn't exist!" -msgstr "Le répertoire n'existe pas" +msgstr "Le répertoire '%s' n'existe pas!" #: ../src/generic/dirdlgg.cpp:188 msgid "Directory does not exist" msgstr "Le répertoire n'existe pas" #: ../src/html/helpfrm.cpp:374 -msgid "" -"Display all index items that contain given substring. Search is case " -"insensitive." -msgstr "" -"Afficher tous les éléments index qui contiennent une sous-chaîne donnée. " -"Recherche non sensible à la casse." +msgid "Display all index items that contain given substring. Search is case insensitive." +msgstr "Afficher tous les éléments index qui contiennent une sous-chaîne donnée. Recherche non sensible à la casse." #: ../src/html/helpfrm.cpp:540 msgid "Display options dialog" @@ -1122,13 +1091,17 @@ msgstr "Dialogue d'options de l'affichage" #: ../src/msw/mimetype.cpp:679 #, c-format msgid "" -"Do you want to overwrite the command used to %s files with extension \"%s\" " -"?\n" +"Do you want to overwrite the command used to %s files with extension \"%s\" ?\n" "Current value is \n" "%s, \n" "New value is \n" "%s %1" msgstr "" +"Voulez-vous remplacer la commande utilisée pour %s les fichiers files avec l'extension \"%s\" ?\n" +"La valeur courante est \n" +"%s, \n" +"La nouvelle valeur est \n" +"%s %1" #: ../src/common/docview.cpp:440 #, c-format @@ -1144,9 +1117,8 @@ msgid "Done." msgstr "Fait." #: ../src/generic/fdrepdlg.cpp:157 -#, fuzzy msgid "Down" -msgstr "Fait" +msgstr "Bas" #: ../src/common/paper.cpp:107 msgid "E sheet, 34 x 44 in" @@ -1162,22 +1134,26 @@ msgstr "Entr #: ../src/common/config.cpp:345 #, c-format -msgid "" -"Environment variables expansion failed: missing '%c' at position %d in '%s'." -msgstr "" -"L'expansion des variables d'environnement a échoué : caractère '%c' manquant " -"à la position %d dans '%s'." - -#: ../src/generic/dirctrlg.cpp:702 ../src/generic/dirctrlg.cpp:720 -#: ../src/generic/dirctrlg.cpp:731 ../src/generic/dirdlgg.cpp:298 -#: ../src/generic/filedlgg.cpp:836 ../src/generic/filedlgg.cpp:933 -#: ../src/generic/filedlgg.cpp:947 ../src/generic/filedlgg.cpp:960 -#: ../src/generic/filedlgg.cpp:1322 ../src/generic/filedlgg.cpp:1372 -#: ../src/gtk/filedlg.cpp:80 ../src/gtk/fontdlg.cpp:71 +msgid "Environment variables expansion failed: missing '%c' at position %d in '%s'." +msgstr "L'expansion des variables d'environnement a échoué : caractère '%c' manquant à la position %d dans '%s'." + +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:933 +#: ../src/generic/filedlgg.cpp:947 +#: ../src/generic/filedlgg.cpp:960 +#: ../src/generic/filedlgg.cpp:1322 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 +#: ../src/gtk/fontdlg.cpp:71 msgid "Error" msgstr "Erreur" -#: ../src/unix/utilsunx.cpp:1182 ../src/unix/utilsunx.cpp:1190 +#: ../src/unix/utilsunx.cpp:1182 +#: ../src/unix/utilsunx.cpp:1190 msgid "Error " msgstr "Erreur " @@ -1186,9 +1162,8 @@ msgid "Error creating directory" msgstr "Erreur en créant le répertoire" #: ../src/common/imagbmp.cpp:845 -#, fuzzy msgid "Error in reading image DIB ." -msgstr "TIFF: Erreur à la lecture de l'image." +msgstr "DIB: Erreur à la lecture de l'image." #: ../src/common/log.cpp:460 msgid "Error: " @@ -1211,20 +1186,26 @@ msgstr "L'ex msgid "Executive, 7 1/4 x 10 1/2 in" msgstr "Executive, 7 1/4 x 10 1/2 pouces" -#: ../src/common/resourc2.cpp:326 ../src/common/resourc2.cpp:1391 -#: ../src/common/resource.cpp:1845 ../src/common/resource.cpp:1975 +#: ../src/common/resourc2.cpp:326 +#: ../src/common/resourc2.cpp:1391 +#: ../src/common/resource.cpp:1845 +#: ../src/common/resource.cpp:1975 #: ../src/common/resource.cpp:3059 msgid "Expected '*' whilst parsing resource." msgstr "'*' attendu pendant l'analyse de la ressource." -#: ../src/common/resourc2.cpp:342 ../src/common/resourc2.cpp:1407 -#: ../src/common/resource.cpp:1862 ../src/common/resource.cpp:1991 +#: ../src/common/resourc2.cpp:342 +#: ../src/common/resourc2.cpp:1407 +#: ../src/common/resource.cpp:1862 +#: ../src/common/resource.cpp:1991 #: ../src/common/resource.cpp:3076 msgid "Expected '=' whilst parsing resource." msgstr "'=' attendu pendant l'analyse de la ressource." -#: ../src/common/resourc2.cpp:312 ../src/common/resourc2.cpp:1377 -#: ../src/common/resource.cpp:1831 ../src/common/resource.cpp:1961 +#: ../src/common/resourc2.cpp:312 +#: ../src/common/resourc2.cpp:1377 +#: ../src/common/resource.cpp:1831 +#: ../src/common/resource.cpp:1961 #: ../src/common/resource.cpp:3045 msgid "Expected 'char' whilst parsing resource." msgstr "'char' attendu pendant l'analyse de la ressource." @@ -1236,17 +1217,16 @@ msgstr "Impossible de %s la connexion : %s" #: ../src/unix/snglinst.cpp:243 msgid "Failed to access lock file." -msgstr "" +msgstr "L'accès au ficher verrou a échoué." #: ../src/common/filename.cpp:172 -#, fuzzy msgid "Failed to close file handle" -msgstr "Impossible de fermer le presse-papier." +msgstr "Impossible de fermer le fichier" #: ../src/unix/snglinst.cpp:308 -#, fuzzy, c-format +#, c-format msgid "Failed to close lock file '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "La fermeture du fichier verrou '%s' a échoué" #: ../src/msw/clipbrd.cpp:127 msgid "Failed to close the clipboard." @@ -1271,9 +1251,9 @@ msgid "Failed to copy the contents of registry key '%s' to '%s'." msgstr "Impossible de copier les contenus de la clé de registre '%s' vers '%s'" #: ../src/common/filefn.cpp:1106 -#, fuzzy, c-format +#, c-format msgid "Failed to copy the file '%s' to '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "La copie du fichier '%s' vers '%s' a échoué" #: ../src/msw/dde.cpp:924 msgid "Failed to create DDE string" @@ -1288,14 +1268,12 @@ msgid "Failed to create a status bar." msgstr "Impossible de créer une barre de statut." #: ../src/common/filename.cpp:717 -#, fuzzy msgid "Failed to create a temporary file name" -msgstr "Impossible de créer une fenêtre parent MDI." +msgstr "Impossible de créer un nom de fichier temporaire." #: ../src/msw/utilsexc.cpp:195 -#, fuzzy msgid "Failed to create an anonymous pipe" -msgstr "Impossible de créer une barre de statut." +msgstr "Impossible de créer un tube de communication anonyme." #: ../src/msw/dde.cpp:401 #, c-format @@ -1303,78 +1281,73 @@ msgid "Failed to create connection to server '%s' on topic '%s'" msgstr "Impossible de créer une connexion au serveur '%s' sur le sujet '%s'" #: ../src/msw/toplevel.cpp:293 -#, fuzzy msgid "Failed to create dialog. Incorrect DLGTEMPLATE?" -msgstr "Impossible de créer le répertoire " +msgstr "Impossible de créer la boîte de dialogue: le 'DLGTEMPLATE' est peut-être incorrecte ?" #: ../src/generic/dirdlgg.cpp:201 -#, fuzzy, c-format -msgid "" -"Failed to create directory '%s'\n" +#, c-format +msgid "Failed to create directory '%s'\n" "(Do you have the required permissions?)" -msgstr "" -"\n" +msgstr "Erreur à la création du répertoire '%s'\n" "(Avez-vous les permissions requises ?)" #: ../src/msw/mimetype.cpp:168 -#, fuzzy, c-format +#, c-format msgid "Failed to create registry entry for '%s' files." -msgstr "Impossible de renommer la clé de registre '%s' en '%s'." +msgstr "Impossible de créer une entrée dans le registre pour les fichiers '%s'." #: ../src/msw/fdrepdlg.cpp:442 #, c-format msgid "Failed to create the standard find/replace dialog (error code %d)" -msgstr "" +msgstr "La création de la boîte de dialogue rechercher/remplacer a échoué (code erreur %d)" #: ../src/html/winpars.cpp:430 #, c-format msgid "Failed to display HTML document in %s encoding" msgstr "Impossible d'afficher le document HTML avec l'encodage %s" -#: ../src/mac/clipbrd.cpp:167 ../src/msw/clipbrd.cpp:139 +#: ../src/mac/clipbrd.cpp:167 +#: ../src/msw/clipbrd.cpp:139 msgid "Failed to empty the clipboard." msgstr "Impossible de vider le presse-papier." #: ../src/msw/dde.cpp:606 msgid "Failed to establish an advise loop with DDE server" -msgstr "" -"Impossible d'établir une boucle de conseil (advise loop) avec le serveur DDE" +msgstr "Impossible d'établir une boucle de conseil (advise loop) avec le serveur DDE" #: ../src/msw/dialup.cpp:618 #, c-format msgid "Failed to establish dialup connection: %s" msgstr "Impossible de réaliser une connexion : %s" -#: ../src/unix/utilsunx.cpp:538 ../src/unix/utilsunx.cpp:555 +#: ../src/unix/utilsunx.cpp:538 +#: ../src/unix/utilsunx.cpp:555 #, c-format msgid "Failed to execute '%s'\n" msgstr "Impossible d'exécuter '%s'\n" -#: ../src/common/resourc2.cpp:808 ../src/common/resource.cpp:2465 +#: ../src/common/resourc2.cpp:808 +#: ../src/common/resource.cpp:2465 #, c-format -msgid "" -"Failed to find XBM resource %s.\n" +msgid "Failed to find XBM resource %s.\n" "Forgot to use wxResourceLoadBitmapData?" -msgstr "" -"Impossible de trouver la ressource XBM %s.\n" +msgstr "Impossible de trouver la ressource XBM %s.\n" "Oublié d'utiliser wxResourceLoadBitmapData ?" -#: ../src/common/resourc2.cpp:959 ../src/common/resource.cpp:2619 +#: ../src/common/resourc2.cpp:959 +#: ../src/common/resource.cpp:2619 #, c-format -msgid "" -"Failed to find XBM resource %s.\n" +msgid "Failed to find XBM resource %s.\n" "Forgot to use wxResourceLoadIconData?" -msgstr "" -"Impossible de trouver la ressource XBM %s.\n" +msgstr "Impossible de trouver la ressource XBM %s.\n" "Oublié d'utiliser wxResourceLoadIconData ?" -#: ../src/common/resourc2.cpp:823 ../src/common/resource.cpp:2480 +#: ../src/common/resourc2.cpp:823 +#: ../src/common/resource.cpp:2480 #, c-format -msgid "" -"Failed to find XPM resource %s.\n" +msgid "Failed to find XPM resource %s.\n" "Forgot to use wxResourceLoadBitmapData?" -msgstr "" -"Impossible de trouver la ressource XPM %s.\n" +msgstr "Impossible de trouver la ressource XPM %s.\n" "Oublié d'utiliser wxResourceLoadBitmapData ?" #: ../src/msw/dialup.cpp:678 @@ -1383,9 +1356,8 @@ msgid "Failed to get ISP names: %s" msgstr "Impossible d'obtenir les noms ISP : %s" #: ../src/mac/clipbrd.cpp:118 -#, fuzzy msgid "Failed to get clipboard data." -msgstr "Impossible de passer les données au presse-papier." +msgstr "Impossible de récupérer les données du presse-papier." #: ../src/msw/clipbrd.cpp:712 msgid "Failed to get data from the clipboard" @@ -1400,80 +1372,74 @@ msgid "Failed to get the local system time" msgstr "Impossible d'obtenir le temps système local" #: ../src/common/filefn.cpp:1487 -#, fuzzy msgid "Failed to get the working directory" -msgstr "Impossible de créer le répertoire " +msgstr "Impossible de trouver quel est le répertoire courant" #: ../src/univ/theme.cpp:120 msgid "Failed to initialize GUI: no built-in themes found." -msgstr "" +msgstr "L'initialisation de l'interface graphique a échoué: aucun thème inclu n'a éte trouvé." #: ../src/msw/helpchm.cpp:69 msgid "Failed to initialize MS HTML Help." -msgstr "" +msgstr "L'initialisation de l'aide MS HTML a échoué." #: ../src/msw/glcanvas.cpp:729 -#, fuzzy msgid "Failed to initialize OpenGL" -msgstr "Impossible d'initialiser l'OLE" +msgstr "Impossible d'initialiser OpenGL" #: ../src/unix/threadpsx.cpp:871 -msgid "" -"Failed to join a thread, potential memory leak detected - please restart the " -"program" -msgstr "" -"Impossible d'adjoindre un thread, fuite potentielle de mémoire détectée - " -"redémarrez le programme svp" +msgid "Failed to join a thread, potential memory leak detected - please restart the program" +msgstr "Impossible d'adjoindre un thread, fuite potentielle de mémoire détectée - redémarrez le programme svp" #: ../src/msw/utils.cpp:721 -#, fuzzy, c-format +#, c-format msgid "Failed to kill process %d" -msgstr "Impossible de rediriger les entrées/sorties du processus fils" +msgstr "Impossible de tuer le processus %d" #: ../src/common/iconbndl.cpp:66 -#, fuzzy, c-format +#, c-format msgid "Failed to load image %d from file '%s'." -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "La lecture de l'image %d depuis le fichier '%s' a échoué." #: ../src/msw/volume.cpp:340 -#, fuzzy msgid "Failed to load mpr.dll." -msgstr "Impossible de passer les données au presse-papier." +msgstr "Impossible de charger mpr.dll" -#: ../src/common/dynlib.cpp:274 ../src/common/dynload.cpp:197 +#: ../src/common/dynlib.cpp:274 +#: ../src/common/dynload.cpp:197 #, c-format msgid "Failed to load shared library '%s'" msgstr "Impossible de charger la bibliothèque partagée '%s'" -#: ../src/common/dynlib.cpp:256 ../src/common/dynload.cpp:126 -#, fuzzy, c-format +#: ../src/common/dynlib.cpp:256 +#: ../src/common/dynload.cpp:126 +#, c-format msgid "Failed to load shared library '%s' Error '%s'" -msgstr "Impossible de charger la bibliothèque partagée '%s'" +msgstr "Impossible de charger la bibliothèque partagée '%s': erreur '%s'" #: ../src/unix/snglinst.cpp:192 -#, fuzzy, c-format +#, c-format msgid "Failed to lock the lock file '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "Le verrouillage du fichier verrou '%s' a échoué" #: ../src/common/regex.cpp:251 -#, fuzzy, c-format +#, c-format msgid "Failed to match '%s' in regular expression: %s" -msgstr "Impossible de %s la connexion : %s" +msgstr "Impossible de trouver '%s' dans l'expression régulière: %s" #: ../src/common/filename.cpp:1644 -#, fuzzy, c-format +#, c-format msgid "Failed to modify file times for '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "la mise a jour des heres/dates du fichier '%s' a échoué" #: ../src/common/filename.cpp:160 -#, fuzzy, c-format +#, c-format msgid "Failed to open '%s' for %s" -msgstr "Impossible d'ouvrir le presse-papier." +msgstr "Impossible d'ouvrir '%s' pour %s" #: ../src/common/filename.cpp:739 -#, fuzzy msgid "Failed to open temporary file." -msgstr "Impossible d'ouvrir le presse-papier." +msgstr "Impossible d'ouvrir le fichier temporaire." #: ../src/msw/clipbrd.cpp:107 msgid "Failed to open the clipboard." @@ -1484,16 +1450,14 @@ msgid "Failed to put data on the clipboard" msgstr "Impossible de placer des données sur le presse-papier" #: ../src/unix/snglinst.cpp:252 -#, fuzzy msgid "Failed to read PID from lock file." -msgstr "Impossible de créer une fenêtre parent MDI." +msgstr "Impossible de lire le numéro de process (PID) depuis le fichier verrou." #: ../src/unix/utilsunx.cpp:629 msgid "Failed to redirect child process input/output" msgstr "Impossible de rediriger les entrées/sorties du processus fils" #: ../src/msw/utilsexc.cpp:600 -#, fuzzy msgid "Failed to redirect the child process IO" msgstr "Impossible de rediriger les entrées/sorties du processus fils" @@ -1508,14 +1472,14 @@ msgid "Failed to remember the encoding for the charset '%s'." msgstr "Impossible de se rappeler l'encodage pour le jeu de caractères '%s'." #: ../src/unix/snglinst.cpp:296 -#, fuzzy, c-format +#, c-format msgid "Failed to remove lock file '%s'" -msgstr "impossible de supprimer le fichier '%s'" +msgstr "La suppression du fichier verrou '%s' a échoué" #: ../src/unix/snglinst.cpp:262 -#, fuzzy, c-format +#, c-format msgid "Failed to remove stale lock file '%s'." -msgstr "Impossible de renommer la valeur de registre '%s' en '%s'." +msgstr "Impossible de supprimer le ficher verrou périmé '%s'." #: ../src/msw/registry.cpp:443 #, c-format @@ -1532,9 +1496,9 @@ msgid "Failed to retrieve data from the clipboard." msgstr "Impossible de retrouver des données du presse-papier." #: ../src/common/filename.cpp:1710 -#, fuzzy, c-format +#, c-format msgid "Failed to retrieve file times for '%s'" -msgstr "Impossible de retrouver le texte du message d'erreur RAS" +msgstr "Impossible de lire les heures/dates pour '%s'" #: ../src/msw/dialup.cpp:442 msgid "Failed to retrieve text of RAS error message" @@ -1549,20 +1513,20 @@ msgid "Failed to send DDE advise notification" msgstr "Impossible d'envoyer un avis de notification au DDE" #: ../src/common/ftp.cpp:368 -#, fuzzy, c-format +#, c-format msgid "Failed to set FTP transfer mode to %s." -msgstr "Impossible d'assigner au thread la priorité %d." +msgstr "Impossible d'assigner transfert FTP le mode %s.." #: ../src/msw/clipbrd.cpp:379 msgid "Failed to set clipboard data." msgstr "Impossible de passer les données au presse-papier." #: ../src/common/file.cpp:522 -#, fuzzy msgid "Failed to set temporary file permissions" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "Impossible de changer temporairement les permissions du fichier '%s'" -#: ../src/unix/threadpsx.cpp:1213 ../src/unix/threadpsx.cpp:1224 +#: ../src/unix/threadpsx.cpp:1213 +#: ../src/unix/threadpsx.cpp:1224 #, c-format msgid "Failed to set thread priority %d." msgstr "Impossible d'assigner au thread la priorité %d." @@ -1578,8 +1542,7 @@ msgstr "Impossible de terminer le thread." #: ../src/msw/dde.cpp:625 msgid "Failed to terminate the advise loop with DDE server" -msgstr "" -"Impossible de terminer la boucle de conseil (advise loop) avec le server DDE" +msgstr "Impossible de terminer la boucle de conseil (advise loop) avec le server DDE" #: ../src/msw/dialup.cpp:913 #, c-format @@ -1587,14 +1550,14 @@ msgid "Failed to terminate the dialup connection: %s" msgstr "Impossible de terminer la connexion : %s" #: ../src/common/filename.cpp:1659 -#, fuzzy, c-format +#, c-format msgid "Failed to touch the file '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "L'accès ('touch') au fichier '%s' a échoué" #: ../src/unix/snglinst.cpp:302 -#, fuzzy, c-format +#, c-format msgid "Failed to unlock lock file '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "Le déverrouillage du fichier verrou '%s' a échoué" #: ../src/msw/dde.cpp:301 #, c-format @@ -1602,9 +1565,9 @@ msgid "Failed to unregister DDE server '%s'" msgstr "Impossible de supprimer l'enregistrement du serveur DDE '%s'" #: ../src/unix/snglinst.cpp:173 -#, fuzzy, c-format +#, c-format msgid "Failed to write to lock file '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "L'écriture dans le fichier verrou '%s' a échoué" #: ../src/generic/logg.cpp:379 msgid "Fatal error" @@ -1614,37 +1577,41 @@ msgstr "Erreur fatale" msgid "Fatal error: " msgstr "Erreur fatale : " -#: ../src/mac/app.cpp:1220 ../src/msw/app.cpp:1281 +#: ../src/mac/app.cpp:1220 +#: ../src/msw/app.cpp:1281 msgid "Fatal error: exiting" msgstr "Erreur fatale : fin du programme" #: ../src/mgl/bitmap.cpp:544 -#, fuzzy, c-format +#, c-format msgid "File %s does not exist." -msgstr ": le ficheir n'existe pas!" +msgstr "Le ficheir '%s' n'existe pas." -#: ../src/generic/filedlgg.cpp:1354 ../src/gtk/filedlg.cpp:69 +#: ../src/generic/filedlgg.cpp:1354 +#: ../src/gtk/filedlg.cpp:69 #, c-format msgid "File '%s' already exists, do you really want to overwrite it?" msgstr "Le fichier '%s' existe déjà, voulez-vous vraiment l'écraser ?" #: ../src/msw/filedlg.cpp:505 -#, fuzzy, c-format -msgid "" -"File '%s' already exists.\n" +#, c-format +msgid "File '%s' already exists.\n" "Do you want to replace it?" -msgstr "Le fichier '%s' existe déjà, voulez-vous vraiment l'écraser ?" +msgstr "Le fichier '%s' existe déjà.\n" +"Voulez-vous le remplacer ?" #: ../src/common/textcmn.cpp:158 msgid "File couldn't be loaded." msgstr "Le fichier n'a pas pu être chargé." -#: ../src/common/docview.cpp:294 ../src/common/docview.cpp:331 +#: ../src/common/docview.cpp:294 +#: ../src/common/docview.cpp:331 #: ../src/common/docview.cpp:1422 msgid "File error" msgstr "Erreur fichier" -#: ../src/generic/dirctrlg.cpp:720 ../src/generic/filedlgg.cpp:947 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/filedlgg.cpp:947 msgid "File name exists already." msgstr "Ce nom de fichier existe déjà." @@ -1677,13 +1644,16 @@ msgstr "Le fork a msgid "Forward" msgstr "Suivant" -#: ../src/common/resourc2.cpp:295 ../src/common/resourc2.cpp:1360 -#: ../src/common/resource.cpp:1814 ../src/common/resource.cpp:1944 +#: ../src/common/resourc2.cpp:295 +#: ../src/common/resourc2.cpp:1360 +#: ../src/common/resource.cpp:1814 +#: ../src/common/resource.cpp:1944 #: ../src/common/resource.cpp:3028 msgid "Found " msgstr "Trouvé " -#: ../src/html/helpfrm.cpp:661 ../src/html/htmlhelp.cpp:460 +#: ../src/html/helpfrm.cpp:661 +#: ../src/html/htmlhelp.cpp:460 #, c-format msgid "Found %i matches" msgstr "Trouvé %i correspondances" @@ -1693,9 +1663,8 @@ msgid "From:" msgstr "De :" #: ../src/common/imaggif.cpp:100 -#, fuzzy msgid "GIF: Invalid gif index." -msgstr "Index d'image TIFF non valide." +msgstr "GIF : Index d'image gif non valide." #: ../src/common/imaggif.cpp:75 msgid "GIF: data stream seems to be truncated." @@ -1715,7 +1684,7 @@ msgstr "GIF : erreur inconnue !!!" #: ../src/univ/themes/gtk.cpp:623 msgid "GTK+ theme" -msgstr "" +msgstr "thème GTK+" #: ../src/common/paper.cpp:142 msgid "German Legal Fanfold, 8 1/2 x 13 in" @@ -1727,7 +1696,7 @@ msgstr "Standard allemand en accord #: ../src/common/image.cpp:762 msgid "GetUnusedColour:: No Unused Color in image " -msgstr "" +msgstr "GetUnusedColour:: Aucune couleur libre dans l'image" #: ../src/html/helpfrm.cpp:506 msgid "Go back" @@ -1735,7 +1704,7 @@ msgstr "Pr #: ../src/html/htmlhelp.cpp:541 msgid "Go back to the previous HTML page" -msgstr "" +msgstr "Retourner à la page HTML précédente" #: ../src/html/helpfrm.cpp:509 msgid "Go forward" @@ -1743,13 +1712,14 @@ msgstr "Suivant" #: ../src/html/htmlhelp.cpp:543 msgid "Go forward to the next HTML page" -msgstr "" +msgstr "Aller à la page HTLM suivante" #: ../src/html/helpfrm.cpp:514 msgid "Go one level up in document hierarchy" msgstr "Niveau supérieur dans la hiérarchie du document" -#: ../src/generic/dirdlgg.cpp:108 ../src/generic/filedlgg.cpp:1108 +#: ../src/generic/dirdlgg.cpp:108 +#: ../src/generic/filedlgg.cpp:1108 msgid "Go to home directory" msgstr "Répertoire initial" @@ -1759,7 +1729,7 @@ msgstr "R #: ../src/common/prntbase.cpp:379 msgid "Goto Page" -msgstr "" +msgstr "Aller à la page" #: ../src/common/fontmap.cpp:118 msgid "Greek (ISO-8859-7)" @@ -1771,26 +1741,22 @@ msgid "HTML anchor %s does not exist." msgstr "L'ancrage HTML %s n'existe pas." #: ../src/html/helpfrm.cpp:1279 -msgid "" -"HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books " -"(*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All " -"files (*.*)|*" -msgstr "" -"Fichiers HTML (*.htm)|*.htm|Fichiers HTML (*.html)|*.html|Fichiers d'aide " -"(*.htb)|*.htb|Fichiers d'aide (*.zip)|*.zip|Projet d'aide HTML " -"(*.hhp)|*.hhp|Tous les fichier (*.*)|*" +msgid "HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All files (*.*)|*" +msgstr "Fichiers HTML (*.htm)|*.htm|Fichiers HTML (*.html)|*.html|Fichiers d'aide (*.htb)|*.htb|Fichiers d'aide (*.zip)|*.zip|Projet d'aide HTML (*.hhp)|*.hhp|Tous les fichier (*.*)|*" #: ../src/common/fontmap.cpp:119 msgid "Hebrew (ISO-8859-8)" msgstr "Hébreu (ISO-8859-8)" -#: ../src/common/dlgcmn.cpp:179 ../src/generic/proplist.cpp:516 -#: ../src/html/helpfrm.cpp:240 ../src/msw/mdi.cpp:1324 +#: ../src/common/dlgcmn.cpp:179 +#: ../src/generic/proplist.cpp:516 +#: ../src/html/helpfrm.cpp:240 +#: ../src/msw/mdi.cpp:1324 msgid "Help" msgstr "Aide" #: ../src/html/htmlhelp.cpp:87 -#, fuzzy, c-format +#, c-format msgid "Help : %s" msgstr "Aide : %s" @@ -1798,7 +1764,8 @@ msgstr "Aide : %s" msgid "Help Browser Options" msgstr "Aide Options Navigateur" -#: ../src/generic/helphtml.cpp:334 ../src/generic/helphtml.cpp:335 +#: ../src/generic/helphtml.cpp:334 +#: ../src/generic/helphtml.cpp:335 msgid "Help Index" msgstr "Aide Index" @@ -1812,53 +1779,51 @@ msgid "Help: %s" msgstr "Aide : %s" #: ../src/common/imagbmp.cpp:858 -#, fuzzy msgid "ICO: Error in reading mask DIB." -msgstr "TIFF: Erreur à la lecture de l'image." - -#: ../src/common/imagbmp.cpp:960 ../src/common/imagbmp.cpp:1019 -#: ../src/common/imagbmp.cpp:1028 ../src/common/imagbmp.cpp:1039 -#: ../src/common/imagbmp.cpp:1083 ../src/common/imagbmp.cpp:1093 +msgstr "ICO : Erreur à la lecture du masque DIB." + +#: ../src/common/imagbmp.cpp:960 +#: ../src/common/imagbmp.cpp:1019 +#: ../src/common/imagbmp.cpp:1028 +#: ../src/common/imagbmp.cpp:1039 +#: ../src/common/imagbmp.cpp:1083 +#: ../src/common/imagbmp.cpp:1093 #: ../src/common/imagbmp.cpp:1102 -#, fuzzy msgid "ICO: Error writing the image file!" -msgstr "TIFF: Erreur à l'écriture de l'image." +msgstr "ICO : Erreur à l'écriture du fichier image!" #: ../src/common/imagbmp.cpp:928 msgid "ICO: Image too tall for an icon." -msgstr "" +msgstr "ICO: image trop petite pour un icone." #: ../src/common/imagbmp.cpp:934 msgid "ICO: Image too wide for an icon." -msgstr "" +msgstr "ICO: image trop grande pour un icone" #: ../src/common/imagbmp.cpp:1167 -#, fuzzy msgid "ICO: Invalid icon index." -msgstr "Index d'image TIFF non valide." +msgstr "ICO : Index d'icone non valide." #: ../src/common/imagiff.cpp:767 -#, fuzzy msgid "IFF: data stream seems to be truncated." -msgstr "GIF : le flot de données semble être tronqué." +msgstr "IFF : le flot de données semble être tronqué." #: ../src/common/imagiff.cpp:751 -#, fuzzy msgid "IFF: error in IFF image format." -msgstr "GIF : erreur dans le format GIF de l'image." +msgstr "IFF : erreur dans le format IFF de l'image." #: ../src/common/imagiff.cpp:754 -#, fuzzy msgid "IFF: not enough memory." -msgstr "GIF : pas assez de mémoire." +msgstr "IFF : pas assez de mémoire." #: ../src/common/imagiff.cpp:757 -#, fuzzy msgid "IFF: unknown error!!!" -msgstr "GIF : erreur inconnue !!!" +msgstr "IFF : erreur inconnue !!!" -#: ../src/common/resourc2.cpp:989 ../src/common/resourc2.cpp:1000 -#: ../src/common/resource.cpp:2649 ../src/common/resource.cpp:2660 +#: ../src/common/resourc2.cpp:989 +#: ../src/common/resourc2.cpp:1000 +#: ../src/common/resource.cpp:2649 +#: ../src/common/resource.cpp:2660 #, c-format msgid "Icon resource specification %s not found." msgstr "La spécification pour la ressource icône %s n'a pas été trouvée." @@ -1867,7 +1832,8 @@ msgstr "La sp msgid "Ill-formed resource file syntax." msgstr "Syntaxe incorrecte dans le fichier de ressource." -#: ../src/generic/dirctrlg.cpp:702 ../src/generic/filedlgg.cpp:933 +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/filedlgg.cpp:933 msgid "Illegal directory name." msgstr "Nom de répertoire illégal." @@ -1877,41 +1843,38 @@ msgstr "Sp #: ../src/common/image.cpp:785 msgid "Image and Mask have different sizes" -msgstr "" +msgstr "L'image et le masque ne sont pas de même taille" #: ../src/common/image.cpp:1064 #, c-format msgid "Image file is not of type %d." -msgstr "" +msgstr "Le fichier image n'est pas de type %d." #: ../src/msw/textctrl.cpp:249 -msgid "" -"Impossible to create a rich edit control, using simple text control instead. " -"Please reinstall riched32.dll" -msgstr "" -"Impossible de créer un contrôle de type rich edit, utilisez à la place un " -"contrôle de type texte simple. Réinstallez riched32.dll svp" +msgid "Impossible to create a rich edit control, using simple text control instead. Please reinstall riched32.dll" +msgstr "Impossible de créer un contrôle de type rich edit, utilisez à la place un contrôle de type texte simple. Réinstallez riched32.dll svp" #: ../src/unix/utilsunx.cpp:390 msgid "Impossible to get child process input" msgstr "Impossible d'obtenir l'entrée du processus fils" #: ../src/common/filefn.cpp:1122 -#, fuzzy, c-format +#, c-format msgid "Impossible to get permissions for file '%s'" -msgstr "Impossible d'obtenir l'entrée du processus fils" +msgstr "Impossible d'obtenir les permissions du fichier '%s'" #: ../src/common/filefn.cpp:1136 -#, fuzzy, c-format +#, c-format msgid "Impossible to overwrite the file '%s'" -msgstr "la mise a jour du fichier '%s' a échoué" +msgstr "Impossible d'écrire par-dessus le fichier '%s'" #: ../src/common/filefn.cpp:1187 #, c-format msgid "Impossible to set permissions for the file '%s'" -msgstr "" +msgstr "Impossible de changer les permissions pour le fichier '%s'" -#: ../src/html/helpfrm.cpp:387 ../src/html/htmlhelp.cpp:578 +#: ../src/html/helpfrm.cpp:387 +#: ../src/html/htmlhelp.cpp:578 msgid "Index" msgstr "Index" @@ -1926,27 +1889,27 @@ msgstr "Index d'image TIFF non valide." #: ../contrib/src/xrc/xmlres.cpp:343 #, c-format msgid "Invalid XRC resource '%s': doesn't have root node 'resource'." -msgstr "" +msgstr "Ressource XRC '%s' invalide: n'a pas le noeud racine 'resource'" #: ../src/common/appcmn.cpp:378 -#, fuzzy, c-format +#, c-format msgid "Invalid display mode specification '%s'." -msgstr "Spécification de fichier illégale." +msgstr "Le mode vidéo spécifié '%s' est non invalide." #: ../src/x11/app.cpp:231 -#, fuzzy, c-format +#, c-format msgid "Invalid geometry specification '%s'" -msgstr "Spécification de fichier illégale." +msgstr "Géometrie '%s' non valide." #: ../src/unix/snglinst.cpp:280 -#, fuzzy, c-format +#, c-format msgid "Invalid lock file '%s'." -msgstr "impossible de fermer le fichier '%s'" +msgstr "Fichier verrou '%s' non valide." #: ../src/common/regex.cpp:173 #, c-format msgid "Invalid regular expression '%s': %s" -msgstr "" +msgstr "Expression régulière '%s' invalide: %s" #: ../src/generic/fontdlgg.cpp:227 msgid "Italic" @@ -1968,7 +1931,8 @@ msgstr "JPEG : Sauvegarde de l'image impossible." msgid "KOI8-R" msgstr "KOI8-R" -#: ../src/generic/prntdlgg.cpp:426 ../src/generic/prntdlgg.cpp:620 +#: ../src/generic/prntdlgg.cpp:426 +#: ../src/generic/prntdlgg.cpp:620 msgid "Landscape" msgstr "Paysage" @@ -1996,16 +1960,17 @@ msgstr "Lettre, 8 1/2 x 11 pouces" msgid "Light" msgstr "Léger" -#: ../src/generic/filedlgg.cpp:1587 ../src/gtk/filedlg.cpp:249 -#: ../src/motif/filedlg.cpp:357 ../src/msw/filedlg.cpp:542 +#: ../src/generic/filedlgg.cpp:1587 +#: ../src/gtk/filedlg.cpp:249 +#: ../src/motif/filedlg.cpp:357 +#: ../src/msw/filedlg.cpp:542 #, c-format msgid "Load %s file" msgstr "Charger le fichier %s" #: ../src/generic/filedlgg.cpp:1589 -#, fuzzy msgid "Load file" -msgstr "Charger le fichier %s" +msgstr "Charger le fichier" #: ../src/html/htmlwin.cpp:282 msgid "Loading : " @@ -2013,15 +1978,11 @@ msgstr "Chargement : " #: ../src/common/imagpnm.cpp:72 msgid "Loading Grey Ascii PNM image is not yet implemented." -msgstr "" -"Le chargement d'une image PNM mode Ascii en niveau de gris n'est pas encore " -"implémentée." +msgstr "Le chargement d'une image PNM mode Ascii en niveau de gris n'est pas encore implémentée." #: ../src/common/imagpnm.cpp:75 msgid "Loading Grey Raw PNM image is not yet implemented." -msgstr "" -"Le chargement d'une image PNM mode source en niveau de gris n'est pas encore " -"implémentée." +msgstr "Le chargement d'une image PNM mode source en niveau de gris n'est pas encore implémentée." #: ../src/generic/logg.cpp:554 #, c-format @@ -2033,18 +1994,12 @@ msgid "MDI child" msgstr "fils MDI" #: ../src/msw/helpchm.cpp:60 -#, fuzzy -msgid "" -"MS HTML Help functions are unavailable because the MS HTML Help library is " -"not installed on this machine. Please install it." -msgstr "" -"Les fonctions de composition de numéros ne sont pas disponibles car le " -"service d'accès à distance (RAS) n'est pas installé sur cet ordinateur. " -"Installez-le svp." +msgid "MS HTML Help functions are unavailable because the MS HTML Help library is not installed on this machine. Please install it." +msgstr "Les fonctions de l'aide MS HTMLne sont pas disponibles car la bibliothèque MS HTML Help n'est pas présente sur cette machine. Veuillez l'installer." #: ../src/univ/themes/win32.cpp:4545 msgid "Ma&ximize" -msgstr "" +msgstr "Ma%ximiser" #: ../src/unix/mimetype.cpp:2477 #, c-format @@ -2053,7 +2008,7 @@ msgstr "Fichier mailcap %s, ligne %d : entr #: ../src/generic/fdrepdlg.cpp:152 msgid "Match case" -msgstr "" +msgstr "Respecter la casse" #: ../src/common/fs_mem.cpp:144 #, c-format @@ -2062,11 +2017,11 @@ msgstr "La m #: ../src/univ/themes/metal.cpp:174 msgid "Metal theme" -msgstr "" +msgstr "Thème métallique" #: ../src/univ/themes/win32.cpp:4543 msgid "Mi&nimize" -msgstr "" +msgstr "Mi&nimiser" #: ../src/unix/mimetype.cpp:2102 #, c-format @@ -2076,7 +2031,7 @@ msgstr "Fichier types mime %s, ligne %d : cha #: ../src/mgl/app.cpp:173 #, c-format msgid "Mode %ix%i-%i not available." -msgstr "" +msgstr "Le mode %ix%i-%i n'est pas accessible." #: ../src/generic/fontdlgg.cpp:222 msgid "Modern" @@ -2094,8 +2049,10 @@ msgstr "Plus ..." msgid "Name" msgstr "Nom" -#: ../src/generic/dirdlgg.cpp:272 ../src/generic/dirdlgg.cpp:282 -#: ../src/generic/filedlgg.cpp:812 ../src/generic/filedlgg.cpp:821 +#: ../src/generic/dirdlgg.cpp:272 +#: ../src/generic/dirdlgg.cpp:282 +#: ../src/generic/filedlgg.cpp:812 +#: ../src/generic/filedlgg.cpp:821 msgid "NewName" msgstr "NouveauNom" @@ -2103,21 +2060,25 @@ msgstr "NouveauNom" msgid "Next page" msgstr "Page suivante" -#: ../src/common/dlgcmn.cpp:156 ../src/mac/msgdlg.cpp:78 +#: ../src/common/dlgcmn.cpp:156 +#: ../src/mac/msgdlg.cpp:78 #: ../src/motif/msgdlg.cpp:182 msgid "No" msgstr "Non" #: ../src/common/image.cpp:793 msgid "No Unused Color in image being masked" -msgstr "" +msgstr "Aucune couleur n'est libre dans l'image en cours de masquage" -#: ../src/common/resourc2.cpp:814 ../src/common/resourc2.cpp:965 -#: ../src/common/resource.cpp:2471 ../src/common/resource.cpp:2625 +#: ../src/common/resourc2.cpp:814 +#: ../src/common/resourc2.cpp:965 +#: ../src/common/resource.cpp:2471 +#: ../src/common/resource.cpp:2625 msgid "No XBM facility available!" msgstr "Pas de fonctionalités XBM disponibles !" -#: ../src/common/resourc2.cpp:983 ../src/common/resource.cpp:2643 +#: ../src/common/resourc2.cpp:983 +#: ../src/common/resource.cpp:2643 msgid "No XPM icon facility available!" msgstr "Pas de fonctionalités icône XPM disponibles !" @@ -2126,49 +2087,52 @@ msgid "No entries found." msgstr "Entrées non trouvées." #: ../src/common/fontmap.cpp:865 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found,\n" "but an alternative encoding '%s' is available.\n" -"Do you want to use this encoding (otherwise you will have to choose another " -"one)?" +"Do you want to use this encoding (otherwise you will have to choose another one)?" msgstr "" -"L'encodage '%s' est inconnu.\n" -"Souhaitez-vous choisir une police à utiliser pour cet encodage?\n" -"(sinon le texte n'apparaitra pas correctement en utilisant cet encodage) ?" +"Aucune police de caractères n'a été trouvée pour afficher du texte utilisant l'encodage '%s',\n" +"mais un encodage similaire est disponible. Souhaitez-vous l'utiliser ?\n" +"(dans le cas contraire, vous devrez choisir par vous-même un encodage de substitution)" #: ../src/common/fontmap.cpp:870 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found.\n" "Would you like to select a font to be used for this encoding\n" "(otherwise the text in this encoding will not be shown correctly)?" msgstr "" -"L'encodage '%s' est inconnu.\n" +"Aucune police de caractères n'a été trouvée pour afficher du texte utilisant l'encodage '%s'.\n" "Souhaitez-vous choisir une police à utiliser pour cet encodage?\n" -"(sinon le texte n'apparaitra pas correctement en utilisant cet encodage) ?" +"(sinon le texte utilisant cet encodage n'apparaitra pas correctement)" #: ../contrib/src/xrc/xmlres.cpp:523 #, c-format msgid "No handler found for XML node '%s', class '%s'!" -msgstr "" +msgstr "Pas de fonction trouvée pour gérer le noeud XML '%s' de la classe '%s'!" -#: ../src/common/image.cpp:1046 ../src/common/image.cpp:1089 +#: ../src/common/image.cpp:1046 +#: ../src/common/image.cpp:1089 msgid "No handler found for image type." msgstr "Pas de fonctions spécifiques disponibles pour ce type d'image." -#: ../src/common/image.cpp:1054 ../src/common/image.cpp:1097 +#: ../src/common/image.cpp:1054 +#: ../src/common/image.cpp:1097 #: ../src/common/image.cpp:1131 #, c-format msgid "No image handler for type %d defined." msgstr "Pas de fonctions spécifiques disponibles pour l'image de type : %d." -#: ../src/common/image.cpp:1115 ../src/common/image.cpp:1147 +#: ../src/common/image.cpp:1115 +#: ../src/common/image.cpp:1147 #, c-format msgid "No image handler for type %s defined." msgstr "Pas de fonctions spécifiques disponibles pour l'image de type : %s." -#: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:436 +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:436 #: ../src/html/htmlhelp.cpp:441 msgid "No matching page found yet" msgstr "Pas encore trouvé la page correspondante" @@ -2177,7 +2141,8 @@ msgstr "Pas encore trouv msgid "Nordic (ISO-8859-10)" msgstr "Nordique (ISO-8859-10)" -#: ../src/generic/fontdlgg.cpp:226 ../src/generic/fontdlgg.cpp:229 +#: ../src/generic/fontdlgg.cpp:226 +#: ../src/generic/fontdlgg.cpp:229 msgid "Normal" msgstr "Normal" @@ -2189,21 +2154,29 @@ msgstr "Police normale :" msgid "Note, 8 1/2 x 11 in" msgstr "Note, 8 1/2 x 11 pouces" -#: ../src/common/dlgcmn.cpp:162 ../src/generic/dirdlgg.cpp:151 -#: ../src/generic/filedlgg.cpp:1165 ../src/generic/filedlgg.cpp:1176 -#: ../src/generic/fontdlgg.cpp:253 ../src/generic/logg.cpp:739 -#: ../src/generic/prntdlgg.cpp:452 ../src/generic/proplist.cpp:499 -#: ../src/gtk/filedlg.cpp:167 ../src/gtk/fontdlg.cpp:136 +#: ../src/common/dlgcmn.cpp:162 +#: ../src/generic/dirdlgg.cpp:151 +#: ../src/generic/filedlgg.cpp:1165 +#: ../src/generic/filedlgg.cpp:1176 +#: ../src/generic/fontdlgg.cpp:253 +#: ../src/generic/logg.cpp:739 +#: ../src/generic/prntdlgg.cpp:452 +#: ../src/generic/proplist.cpp:499 +#: ../src/gtk/filedlg.cpp:167 +#: ../src/gtk/fontdlg.cpp:136 #: ../src/html/helpfrm.cpp:972 msgid "OK" msgstr "OK" -#: ../src/html/helpfrm.cpp:528 ../src/html/helpfrm.cpp:1274 +#: ../src/html/helpfrm.cpp:528 +#: ../src/html/helpfrm.cpp:1274 msgid "Open HTML document" msgstr "Ouvrir un document HTML" -#: ../src/generic/dirctrlg.cpp:731 ../src/generic/dirdlgg.cpp:298 -#: ../src/generic/filedlgg.cpp:836 ../src/generic/filedlgg.cpp:960 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:960 msgid "Operation not permitted." msgstr "Opération interdite." @@ -2226,11 +2199,13 @@ msgstr "Option '%s' : '%s' ne peut pas msgid "Options" msgstr "Options" -#: ../src/generic/prntdlgg.cpp:428 ../src/generic/prntdlgg.cpp:621 +#: ../src/generic/prntdlgg.cpp:428 +#: ../src/generic/prntdlgg.cpp:621 msgid "Orientation" msgstr "Orientation" -#: ../src/common/imagpcx.cpp:455 ../src/common/imagpcx.cpp:478 +#: ../src/common/imagpcx.cpp:455 +#: ../src/common/imagpcx.cpp:478 msgid "PCX: couldn't allocate memory" msgstr "PCX : Impossible d'allouer la mémoire nécessaire." @@ -2246,7 +2221,8 @@ msgstr "PCX : image non valide" msgid "PCX: this is not a PCX file." msgstr "PCX: ce n'est pas un fichier PCX." -#: ../src/common/imagpcx.cpp:457 ../src/common/imagpcx.cpp:479 +#: ../src/common/imagpcx.cpp:457 +#: ../src/common/imagpcx.cpp:479 msgid "PCX: unknown error !!!" msgstr "PCX : erreur inconnue !!!" @@ -2284,12 +2260,14 @@ msgstr "Param msgid "Pages" msgstr "Pages" -#: ../src/generic/prntdlgg.cpp:538 ../src/generic/prntdlgg.cpp:609 +#: ../src/generic/prntdlgg.cpp:538 +#: ../src/generic/prntdlgg.cpp:609 #: ../src/generic/prntdlgg.cpp:794 msgid "Paper Size" msgstr "Taille de la page" -#: ../src/generic/prntdlgg.cpp:418 ../src/generic/prntdlgg.cpp:598 +#: ../src/generic/prntdlgg.cpp:418 +#: ../src/generic/prntdlgg.cpp:598 #: ../src/generic/prntdlgg.cpp:790 msgid "Paper size" msgstr "Taille de la page" @@ -2306,7 +2284,8 @@ msgstr "La cr msgid "Please choose a valid font." msgstr "Veuillez choisir une police valide." -#: ../src/generic/filedlgg.cpp:1372 ../src/gtk/filedlg.cpp:80 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 msgid "Please choose an existing file." msgstr "Veuillez choisir un fichier existant." @@ -2321,12 +2300,16 @@ msgid "" "(at least version 4.70 is required but you have %d.%02d)\n" "or this program won't operate correctly." msgstr "" +"Veuillez installer une nouvelle version de comctl32.dll\n" +"Vous avez actuellement la version %d.%02d. Vous avez besoin au minimum\n" +"de la version 4.70 pour que ce programme fonctionne correctement." #: ../src/common/prntbase.cpp:112 msgid "Please wait while printing\n" -msgstr "" +msgstr "Veuillez patienter pendant l'impression\n" -#: ../src/generic/prntdlgg.cpp:425 ../src/generic/prntdlgg.cpp:619 +#: ../src/generic/prntdlgg.cpp:425 +#: ../src/generic/prntdlgg.cpp:619 msgid "Portrait" msgstr "Portrait" @@ -2336,7 +2319,7 @@ msgstr "Fichier postscript" #: ../src/html/htmlhelp.cpp:509 msgid "Preparing help window..." -msgstr "" +msgstr "Page d'aide en cours de préparation..." #: ../src/html/helpfrm.cpp:964 msgid "Preview:" @@ -2346,7 +2329,8 @@ msgstr "Aper msgid "Previous page" msgstr "Page précédente" -#: ../src/generic/prntdlgg.cpp:110 ../src/generic/prntdlgg.cpp:124 +#: ../src/generic/prntdlgg.cpp:110 +#: ../src/generic/prntdlgg.cpp:124 msgid "Print" msgstr "Impression" @@ -2354,7 +2338,8 @@ msgstr "Impression" msgid "Print Preview" msgstr "Aperçu avant impression" -#: ../src/common/prntbase.cpp:782 ../src/common/prntbase.cpp:806 +#: ../src/common/prntbase.cpp:782 +#: ../src/common/prntbase.cpp:806 msgid "Print Preview Failure" msgstr "Erreur à l'exécution de l'aperçu avant impression" @@ -2402,10 +2387,10 @@ msgstr "Options de l'imprimante :" msgid "Printer..." msgstr "Imprimante ..." -#: ../src/common/prntbase.cpp:109 ../src/common/prntbase.cpp:154 -#, fuzzy +#: ../src/common/prntbase.cpp:109 +#: ../src/common/prntbase.cpp:154 msgid "Printing " -msgstr "Impression" +msgstr "Impression en cours" #: ../src/common/prntbase.cpp:126 msgid "Printing Error" @@ -2432,7 +2417,8 @@ msgstr "Quarto, 215 x 275 mm" msgid "Question" msgstr "Question" -#: ../src/common/ffile.cpp:125 ../src/common/ffile.cpp:146 +#: ../src/common/ffile.cpp:125 +#: ../src/common/ffile.cpp:146 #, c-format msgid "Read error on file '%s'" msgstr "Erreur de lecture dans le fichier '%s'" @@ -2440,7 +2426,7 @@ msgstr "Erreur de lecture dans le fichier '%s'" #: ../contrib/src/xrc/xmlres.cpp:498 #, c-format msgid "Referenced object node with ref=\"%s\" not found!" -msgstr "" +msgstr "Le noeud objet référencé par ref=\"%s\" est introuvable !" #: ../src/msw/registry.cpp:535 #, c-format @@ -2459,8 +2445,7 @@ msgid "" "deleting it will leave your system in unusable state:\n" "operation aborted." msgstr "" -"La clé de registre '%s' est nécessaire pour un fonctionnement correct du " -"système,\n" +"La clé de registre '%s' est nécessaire pour un fonctionnement correct du système,\n" "l'effacer mettra votre système dans un état instable:\n" "opération abandonnée." @@ -2471,7 +2456,7 @@ msgstr "La valeur '%s' existe d #: ../src/msw/thread.cpp:246 msgid "ReleaseMutex()" -msgstr "" +msgstr "ReleaseMutex()" #: ../src/generic/helphtml.cpp:334 msgid "Relevant entries:" @@ -2486,17 +2471,16 @@ msgid "Remove current page from bookmarks" msgstr "Retirer la page courante de la liste de vos signets" #: ../src/generic/fdrepdlg.cpp:177 -#, fuzzy msgid "Replace &all" -msgstr "Ecraser le fichier '%s' ?" +msgstr "Rempl&acer tout" #: ../src/generic/fdrepdlg.cpp:129 msgid "Replace with:" -msgstr "" +msgstr "Remplacer par:" #: ../contrib/src/xrc/xmlres.cpp:360 msgid "Resource files must have same version number!" -msgstr "" +msgstr "Les fichiers de ressource doivent avoir le même numéro de version!" #: ../src/generic/prntdlgg.cpp:644 msgid "Right margin (mm):" @@ -2506,8 +2490,10 @@ msgstr "Marge de droite (mm) :" msgid "Roman" msgstr "Roman" -#: ../src/generic/filedlgg.cpp:1602 ../src/gtk/filedlg.cpp:265 -#: ../src/motif/filedlg.cpp:359 ../src/msw/filedlg.cpp:544 +#: ../src/generic/filedlgg.cpp:1602 +#: ../src/gtk/filedlg.cpp:265 +#: ../src/motif/filedlg.cpp:359 +#: ../src/msw/filedlg.cpp:544 #, c-format msgid "Save %s file" msgstr "Enregistrer le fichier %s" @@ -2517,9 +2503,8 @@ msgid "Save as" msgstr "Enregistrer sous" #: ../src/generic/filedlgg.cpp:1604 -#, fuzzy msgid "Save file" -msgstr "Enregistrer le fichier %s" +msgstr "Enregistrer le fichier" #: ../src/generic/logg.cpp:487 msgid "Save log contents to file" @@ -2527,45 +2512,40 @@ msgstr "Enregistrement du contenu du journal dans un fichier" #: ../src/mgl/window.cpp:132 msgid "Screenshot captured: " -msgstr "" +msgstr "Copie d'écran effectuée:" #: ../src/generic/fontdlgg.cpp:223 msgid "Script" msgstr "Script" -#: ../src/html/helpfrm.cpp:408 ../src/html/helpfrm.cpp:423 +#: ../src/html/helpfrm.cpp:408 +#: ../src/html/helpfrm.cpp:423 #: ../src/html/htmlhelp.cpp:610 msgid "Search" msgstr "Recherche" #: ../src/html/helpfrm.cpp:410 -msgid "" -"Search contents of help book(s) for all occurences of the text you typed " -"above" -msgstr "" -"Recherche dans la table des matières du/des livre(s) d'aide de toutes les " -"occurences du texte que vous avez tapé ci-dessus" +msgid "Search contents of help book(s) for all occurences of the text you typed above" +msgstr "Recherche dans la table des matières du/des livre(s) d'aide de toutes les occurences du texte que vous avez tapé ci-dessus" #: ../src/generic/fdrepdlg.cpp:158 -#, fuzzy msgid "Search direction" -msgstr "Créer le répertoire" +msgstr "Direction de la recherche" #: ../src/generic/fdrepdlg.cpp:117 -#, fuzzy msgid "Search for:" -msgstr "Recherche" +msgstr "Rechercher:" #: ../src/html/helpfrm.cpp:789 msgid "Search in all books" msgstr "Recherche dans tous les livres" #: ../src/html/htmlhelp.cpp:593 -#, fuzzy msgid "Search!" -msgstr "Recherche" +msgstr "Recherche!" -#: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:383 +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:383 #: ../src/html/htmlhelp.cpp:441 msgid "Searching..." msgstr "Recherche ..." @@ -2587,7 +2567,8 @@ msgstr "Choisissez un mod msgid "Select a document view" msgstr "Choisissez une vue du document" -#: ../src/common/docview.cpp:1405 ../src/common/docview.cpp:1456 +#: ../src/common/docview.cpp:1405 +#: ../src/common/docview.cpp:1456 msgid "Select a file" msgstr "Choisissez un fichier" @@ -2606,9 +2587,7 @@ msgstr "Param #: ../src/msw/dialup.cpp:518 msgid "Several active dialup connections found, choosing one randomly." -msgstr "" -"J'ai trouvé plusieurs connexions par ligne téléphonique, j'en choisis une au " -"hasard :-)" +msgstr "J'ai trouvé plusieurs connexions par ligne téléphonique, j'en choisis une au hasard :-)" #: ../src/html/helpfrm.cpp:364 msgid "Show all" @@ -2619,15 +2598,16 @@ msgid "Show all items in index" msgstr "Montrer tous les éléments dans l'index" #: ../src/generic/dirdlgg.cpp:135 -#, fuzzy msgid "Show hidden directories" -msgstr "Montrer les fichiers cachés" +msgstr "Montrer les dossiers cachés" -#: ../src/generic/filedlgg.cpp:1160 ../src/generic/filedlgg.cpp:1182 +#: ../src/generic/filedlgg.cpp:1160 +#: ../src/generic/filedlgg.cpp:1182 msgid "Show hidden files" msgstr "Montrer les fichiers cachés" -#: ../src/html/helpfrm.cpp:501 ../src/html/htmlhelp.cpp:538 +#: ../src/html/helpfrm.cpp:501 +#: ../src/html/htmlhelp.cpp:538 msgid "Show/hide navigation panel" msgstr "Montrer/cacher le panneau de navigation" @@ -2643,7 +2623,8 @@ msgstr "Italique" msgid "Sorry, could not open this file for saving." msgstr "Désolé, impossible d'ouvrir ce fichier pour enregistrer." -#: ../src/common/docview.cpp:341 ../src/common/docview.cpp:354 +#: ../src/common/docview.cpp:341 +#: ../src/common/docview.cpp:354 #: ../src/common/docview.cpp:1424 msgid "Sorry, could not open this file." msgstr "Désolé, impossible d'ouvrir ce fichier." @@ -2667,13 +2648,14 @@ msgstr "Statut :" #: ../contrib/src/xrc/xmlres.cpp:558 #, c-format msgid "Subclass '%s' not found for resource '%s', not subclassing!" -msgstr "" +msgstr "La sous-classe '%s' pour la ressource '%s' est introuvable - pas de sous-classage !" #: ../src/generic/fontdlgg.cpp:224 msgid "Swiss" msgstr "Suisse" -#: ../src/common/imagtiff.cpp:204 ../src/common/imagtiff.cpp:215 +#: ../src/common/imagtiff.cpp:204 +#: ../src/common/imagtiff.cpp:215 #: ../src/common/imagtiff.cpp:326 msgid "TIFF: Couldn't allocate memory." msgstr "TIFF: Impossible d'allouer la mémoire nécessaire." @@ -2712,7 +2694,7 @@ msgstr "Tha #: ../src/common/ftp.cpp:569 msgid "The FTP server doesn't support passive mode." -msgstr "" +msgstr "Le serveur FTP ne supporte pas le mode passif." #: ../src/common/fontmap.cpp:630 #, c-format @@ -2731,28 +2713,23 @@ msgid "The clipboard format '%d' doesn't exist." msgstr "Le format de presse-papier '%d' n'existe pas." #: ../src/generic/dirdlgg.cpp:186 -#, fuzzy, c-format -msgid "" -"The directory '%s' does not exist\n" +#, c-format +msgid "The directory '%s' does not exist\n" "Create it now?" -msgstr "" -"\n" -"n'existe pas\n" +msgstr "Le dossier '%s' n'existe pas\n" "Voulez-vous le créer maintenant ?" #: ../src/common/docview.cpp:1802 -#, fuzzy, c-format -msgid "" -"The file '%s' doesn't exist and couldn't be opened.\n" +#, c-format +msgid "The file '%s' doesn't exist and couldn't be opened.\n" "It has been removed from the most recently used files list." -msgstr "" -"Le fichier '%s' n'existe pas et n'a pas pu être ouvert.\n" -"Il a aussi été retiré de la liste des fichiers MRU." +msgstr "Le fichier '%s' n'existe pas et n'a pas pu être ouvert.\n" +"Il a donc été retiré de la liste des fichiers récemments utilisés." #: ../src/common/filename.cpp:896 #, c-format msgid "The path '%s' contains too many \"..\"!" -msgstr "" +msgstr "Le chemin '%s' contient trop de \"..\"!" #: ../src/common/cmdline.cpp:845 #, c-format @@ -2770,38 +2747,24 @@ msgstr "La valeur pour l'option '%s' doit #: ../src/msw/dialup.cpp:406 #, c-format -msgid "" -"The version of remote access service (RAS) installed on this machine is " -"tooold, please upgrade (the following required function is missing: %s)." -msgstr "" -"La version du service d'accès distant (RAS en anglais) installé sur cette " -"machine est trop ancien. Prière de le mettre à jour (la fonction '%s' est " -"manquante)." +msgid "The version of remote access service (RAS) installed on this machine is tooold, please upgrade (the following required function is missing: %s)." +msgstr "La version du service d'accès distant (RAS en anglais) installé sur cette machine est trop ancien. Prière de le mettre à jour (la fonction '%s' est manquante)." #: ../src/html/htmprint.cpp:545 -msgid "" -"There was a problem during page setup: you may need to set a default printer." -msgstr "" +msgid "There was a problem during page setup: you may need to set a default printer." +msgstr "Il y a eu un problème lors du paramétrage de la page: l'installation d'une imprimante par défaut peut être nécessaire." #: ../src/msw/thread.cpp:1214 -msgid "" -"Thread module initialization failed: can not store value in thread local " -"storage" -msgstr "" -"Echec de l'initialisation du thread : impossible d'enregistrer une valeur en " -"local" +msgid "Thread module initialization failed: can not store value in thread local storage" +msgstr "Echec de l'initialisation du thread : impossible d'enregistrer une valeur en local" #: ../src/unix/threadpsx.cpp:1568 msgid "Thread module initialization failed: failed to create thread key" -msgstr "" -"Echec de l'initialisation du thread : échec à la création de la clé du thread" +msgstr "Echec de l'initialisation du thread : échec à la création de la clé du thread" #: ../src/msw/thread.cpp:1202 -msgid "" -"Thread module initialization failed: impossible to allocate index in thread " -"local storage" -msgstr "" -"Echec de l'initialisation du thread : impossible d'allouer un index en local" +msgid "Thread module initialization failed: impossible to allocate index in thread local storage" +msgstr "Echec de l'initialisation du thread : impossible d'allouer un index en local" #: ../src/unix/threadpsx.cpp:1076 msgid "Thread priority setting is ignored." @@ -2809,11 +2772,11 @@ msgstr "La priorit #: ../src/msw/mdi.cpp:189 msgid "Tile &Horizontally" -msgstr "" +msgstr "Répartir &Horizontalement" #: ../src/msw/mdi.cpp:190 msgid "Tile &Vertically" -msgstr "" +msgstr "Répartir &Verticalement" #: ../src/generic/filedlgg.cpp:701 msgid "Time" @@ -2838,9 +2801,7 @@ msgstr "Marge haut de page (mm) :" #: ../src/common/fs_mem.cpp:202 #, c-format msgid "Trying to remove file '%s' from memory VFS, but it is not loaded!" -msgstr "" -"Tentative de retirer le fichier '%s' de la mémoire VFS, mais celui-ci n'est " -"pas chargé !" +msgstr "Tentative de retirer le fichier '%s' du VFS de la mémoire, mais celui-ci n'est pas chargé !" #: ../src/common/sckaddr.cpp:126 msgid "Trying to solve a NULL hostname: giving up" @@ -2863,16 +2824,26 @@ msgstr "Impossible d'ouvrir le document HTML demand msgid "Underline" msgstr "Souligner" -#: ../src/common/resourc2.cpp:305 ../src/common/resourc2.cpp:319 -#: ../src/common/resourc2.cpp:335 ../src/common/resourc2.cpp:349 -#: ../src/common/resourc2.cpp:1370 ../src/common/resourc2.cpp:1384 -#: ../src/common/resourc2.cpp:1400 ../src/common/resourc2.cpp:1414 -#: ../src/common/resource.cpp:1824 ../src/common/resource.cpp:1838 -#: ../src/common/resource.cpp:1855 ../src/common/resource.cpp:1869 -#: ../src/common/resource.cpp:1954 ../src/common/resource.cpp:1968 -#: ../src/common/resource.cpp:1984 ../src/common/resource.cpp:1998 -#: ../src/common/resource.cpp:3038 ../src/common/resource.cpp:3052 -#: ../src/common/resource.cpp:3069 ../src/common/resource.cpp:3083 +#: ../src/common/resourc2.cpp:305 +#: ../src/common/resourc2.cpp:319 +#: ../src/common/resourc2.cpp:335 +#: ../src/common/resourc2.cpp:349 +#: ../src/common/resourc2.cpp:1370 +#: ../src/common/resourc2.cpp:1384 +#: ../src/common/resourc2.cpp:1400 +#: ../src/common/resourc2.cpp:1414 +#: ../src/common/resource.cpp:1824 +#: ../src/common/resource.cpp:1838 +#: ../src/common/resource.cpp:1855 +#: ../src/common/resource.cpp:1869 +#: ../src/common/resource.cpp:1954 +#: ../src/common/resource.cpp:1968 +#: ../src/common/resource.cpp:1984 +#: ../src/common/resource.cpp:1998 +#: ../src/common/resource.cpp:3038 +#: ../src/common/resource.cpp:3052 +#: ../src/common/resource.cpp:3069 +#: ../src/common/resource.cpp:3083 msgid "Unexpected end of file whilst parsing resource." msgstr "Fin de fichier inattendue lors de l'analyse des ressources." @@ -2883,11 +2854,11 @@ msgstr "Param #: ../src/common/fontmap.cpp:141 msgid "Unicode 7 bit (UTF-7)" -msgstr "" +msgstr "Unicode 7 bit (UTF-7)" #: ../src/common/fontmap.cpp:142 msgid "Unicode 8 bit (UTF-8)" -msgstr "" +msgstr "Unicode 8 bit (UTF-8)" #: ../src/msw/dde.cpp:1020 #, c-format @@ -2909,31 +2880,35 @@ msgstr "Champ inconnu dans le fichier %s, ligne %d: '%s'." msgid "Unknown long option '%s'" msgstr "Option longue '%s' inconnue" -#: ../src/common/cmdline.cpp:573 ../src/common/cmdline.cpp:594 +#: ../src/common/cmdline.cpp:573 +#: ../src/common/cmdline.cpp:594 #, c-format msgid "Unknown option '%s'" msgstr "Option '%s' inconnue" #: ../contrib/src/xrc/xmlres.cpp:628 msgid "Unknown style flag " -msgstr "" +msgstr "Indicateur de style inconnu" #: ../src/common/mimecmn.cpp:167 #, c-format msgid "Unmatched '{' in an entry for mime type %s." msgstr "Symbole '{' non assorti dans une entrée pour le type mime %s." -#: ../src/common/cmdproc.cpp:238 ../src/common/cmdproc.cpp:254 +#: ../src/common/cmdproc.cpp:238 +#: ../src/common/cmdproc.cpp:254 #: ../src/common/cmdproc.cpp:281 msgid "Unnamed command" msgstr "Commande sans nom" -#: ../src/common/resourc2.cpp:687 ../src/common/resource.cpp:2343 +#: ../src/common/resourc2.cpp:687 +#: ../src/common/resource.cpp:2343 #, c-format msgid "Unrecognized style %s whilst parsing resource." msgstr "Style %s non reconnu pendant l'analyse des ressources." -#: ../src/mac/clipbrd.cpp:58 ../src/msw/clipbrd.cpp:273 +#: ../src/mac/clipbrd.cpp:58 +#: ../src/msw/clipbrd.cpp:273 #: ../src/msw/clipbrd.cpp:447 msgid "Unsupported clipboard format." msgstr "Format de presse-papier non supporté." @@ -2941,11 +2916,11 @@ msgstr "Format de presse-papier non support #: ../src/common/appcmn.cpp:362 #, c-format msgid "Unsupported theme '%s'." -msgstr "" +msgstr "Thème '%s' non supporté." #: ../src/generic/fdrepdlg.cpp:157 msgid "Up" -msgstr "" +msgstr "Haut" #: ../src/common/cmdline.cpp:901 #, c-format @@ -2972,7 +2947,8 @@ msgstr "Vues" msgid "Waiting for subprocess termination failed" msgstr "Echec lors de l'attente de fin de sous-processus" -#: ../src/common/docview.cpp:437 ../src/common/resource.cpp:124 +#: ../src/common/docview.cpp:437 +#: ../src/common/resource.cpp:124 msgid "Warning" msgstr "Alarme" @@ -2982,24 +2958,19 @@ msgstr "Alarme :" #: ../src/html/htmlpars.cpp:357 msgid "Warning: attempt to remove HTML tag handler from empty stack." -msgstr "" -"Alarme : tentative de retrait d'un pointeur d'étiquette HTML de la pile " -"alors que celle-ci est vide !" +msgstr "Alarme : tentative de retrait d'un pointeur d'étiquette HTML de la pile alors que celle-ci est vide !" #: ../src/common/fontmap.cpp:112 -#, fuzzy msgid "Western European (ISO-8859-1)" -msgstr "Europe de l'Ouest (ISO-8859-1/Latin 1)" +msgstr "Europe de l'Ouest (ISO-8859-1)" #: ../src/common/fontmap.cpp:126 -#, fuzzy msgid "Western European with Euro (ISO-8859-15)" -msgstr "Europe de l'Ouest nouveau (ISO-8859-15/Latin 0)" +msgstr "Europe de l'Ouest avec l'Euro (ISO-8859-15)" #: ../src/generic/fdrepdlg.cpp:149 -#, fuzzy msgid "Whole word" -msgstr "Mots complets seulement" +msgstr "Mots complets" #: ../src/html/helpfrm.cpp:407 msgid "Whole words only" @@ -3007,7 +2978,7 @@ msgstr "Mots complets seulement" #: ../src/univ/themes/win32.cpp:1168 msgid "Win32 theme" -msgstr "" +msgstr "Thème Win32" #: ../src/msw/utils.cpp:979 msgid "Win32s on Windows 3.1" @@ -3036,12 +3007,11 @@ msgstr "Windows H #: ../src/common/fontmap.cpp:129 msgid "Windows Chinese Simplified (CP 936)" -msgstr "" +msgstr "Windows Chinois simplifié (CP 936)" #: ../src/common/fontmap.cpp:131 -#, fuzzy msgid "Windows Chinese Traditional (CP 950)" -msgstr "Windows Latin 1 (CP 1252 )" +msgstr "Windows Chinois traditionnel (CP 950)" #: ../src/common/fontmap.cpp:133 msgid "Windows Cyrillic (CP 1251)" @@ -3056,14 +3026,12 @@ msgid "Windows Hebrew (CP 1255)" msgstr "Windows Hébreu (CP 1255)" #: ../src/common/fontmap.cpp:128 -#, fuzzy msgid "Windows Japanese (CP 932)" -msgstr "Windows Grec (CP 1253)" +msgstr "Windows Japonais (CP 932)" #: ../src/common/fontmap.cpp:130 -#, fuzzy msgid "Windows Korean (CP 949)" -msgstr "Windows Grec (CP 1253)" +msgstr "Windows Coréen (CP 949)" #: ../src/common/fontmap.cpp:136 msgid "Windows Turkish (CP 1254)" @@ -3085,37 +3053,41 @@ msgstr "Erreur d' #: ../contrib/src/xrc/xml.cpp:530 #, c-format msgid "XML parsing error: '%s' at line %d" -msgstr "" +msgstr "erreur d'analyse XML: '%s' à la ligne %d" #: ../src/common/xpmdecod.cpp:759 msgid "XPM: Malformed pixel data!" -msgstr "" +msgstr "XPM: données de pixels incorrectes !" -#: ../src/common/xpmdecod.cpp:709 ../src/common/xpmdecod.cpp:718 +#: ../src/common/xpmdecod.cpp:709 +#: ../src/common/xpmdecod.cpp:718 #, c-format msgid "XPM: malformed colour definition '%s'!" -msgstr "" +msgstr "XPM: définition de couleur '%s' incorrecte !" #: ../contrib/src/xrc/xmlres.cpp:436 -#, fuzzy, c-format +#, c-format msgid "XRC resource '%s' (class '%s') not found!" -msgstr "La spécification pour la ressource icône %s n'a pas été trouvée." +msgstr "La ressource XRC '%s' (classe '%s') est introuvable!" -#: ../contrib/src/xrc/xmlres.cpp:787 ../contrib/src/xrc/xmlres.cpp:798 +#: ../contrib/src/xrc/xmlres.cpp:787 +#: ../contrib/src/xrc/xmlres.cpp:798 #, c-format msgid "XRC resource: Cannot create bitmap from '%s'." -msgstr "" +msgstr "Ressource XRC : impossible de créer une image bitmap à partir de '%s'." -#: ../contrib/src/xrc/xh_dlg.cpp:52 ../contrib/src/xrc/xh_frame.cpp:57 +#: ../contrib/src/xrc/xh_dlg.cpp:52 +#: ../contrib/src/xrc/xh_frame.cpp:57 msgid "XRC resource: Cannot create dialog without instance." -msgstr "" +msgstr "ressource XRC: impossible de créer une boîte de dialogue sans un exemplaire instancié" #: ../contrib/src/xrc/xmlres.cpp:747 #, c-format msgid "XRC resource: Incorrect colour specification '%s' for property '%s'." -msgstr "" +msgstr "Ressource XRC : la couleur '%s' spécifiée pour la propriété '%s' est incorrecte." -#: ../src/common/dlgcmn.cpp:151 ../src/mac/msgdlg.cpp:77 +#: ../src/common/dlgcmn.cpp:151 +#: ../src/mac/msgdlg.cpp:77 #: ../src/motif/msgdlg.cpp:182 msgid "Yes" msgstr "Oui" @@ -3124,9 +3096,10 @@ msgstr "Oui" msgid "You cannot add a new directory to this section." msgstr "Vous ne pouvez pas ajouter un nouveau répertoire à cette section." -#: ../src/common/fs_zip.cpp:86 ../src/common/fs_zip.cpp:123 +#: ../src/common/fs_zip.cpp:86 +#: ../src/common/fs_zip.cpp:123 msgid "ZIP handler currently supports only local files!" -msgstr "" +msgstr "La fonction de gestion ZIP ne supporte que les fichiers locaux pour l'instant!" #: ../src/common/docview.cpp:1951 msgid "[EMPTY]" @@ -3134,19 +3107,16 @@ msgstr "[VIDE]" #: ../src/msw/dde.cpp:987 msgid "a DDEML application has created a prolonged race condition." -msgstr "" -"une application DDEML a créé une situation de rivalité prolongée\n" +msgstr "une application DDEML a créé une situation de rivalité prolongée\n" "(je n'ai bientôt plus de mémoire ...)" #: ../src/msw/dde.cpp:975 msgid "" -"a DDEML function was called without first calling the DdeInitialize " -"function,\n" +"a DDEML function was called without first calling the DdeInitialize function,\n" "or an invalid instance identifier\n" "was passed to a DDEML function." msgstr "" -"une fonction DDEML a été appelée sans appel préalable à la fonction " -"DdeInitialize,\n" +"une fonction DDEML a été appelée sans appel préalable à la fonction DdeInitialize,\n" "ou un identifiant invalide a \n" "été fourni à la fonction DDEML." @@ -3187,9 +3157,7 @@ msgid "" "a server-side transaction was attempted on a conversation\n" "that was terminated by the client, or the server\n" "terminated before completing a transaction." -msgstr "" -"une transaction a été tentée du côté serveur lors d'une conversation déjà " -"terminée par le client, \n" +msgstr "une transaction a été tentée du côté serveur lors d'une conversation déjà terminée par le client, \n" "ou le serveur a quitté avant d'avoir terminé une transaction." #: ../src/msw/dde.cpp:996 @@ -3209,8 +3177,7 @@ msgid "" msgstr "" "une application initialisée en tant que APPCLASS_MONITOR \n" "a tenté d'effectuer une transaction DDE,\n" -"ou une application initialisée en tant que APPCMD_CLIENTONLY a tenté " -"d'effectuer des transactions serveur." +"ou une application initialisée en tant que APPCMD_CLIENTONLY a tenté d'effectuer des transactions serveur." #: ../src/msw/dde.cpp:1002 msgid "an internal call to the PostMessage function has failed. " @@ -3237,15 +3204,13 @@ msgstr "tentative de modifier la touche non configurable '%s' ignor #: ../src/common/ftp.cpp:369 msgid "binary" -msgstr "" +msgstr "binaire" #: ../src/common/fontcmn.cpp:518 -#, fuzzy msgid "bold" msgstr "Gras" #: ../src/common/fontcmn.cpp:442 -#, fuzzy msgid "bold " msgstr "Gras" @@ -3277,39 +3242,33 @@ msgstr "impossible d'effacer le fichier de configuration utilisateur '%s'" #: ../src/common/file.cpp:454 #, c-format msgid "can't determine if the end of file is reached on descriptor %d" -msgstr "" -"impossible de savoir si la fin du fichier a été atteinte dans le descripteur " -"%d" +msgstr "impossible de savoir si la fin du fichier a été atteinte dans le descripteur %d" #: ../src/common/file.cpp:420 #, c-format msgid "can't find length of file on file descriptor %d" -msgstr "" -"impossible de trouver la taille du fichier dans le descripteur de fichier %d" +msgstr "impossible de trouver la taille du fichier dans le descripteur de fichier %d" #: ../src/msw/utils.cpp:369 msgid "can't find user's HOME, using current directory." -msgstr "" -"impossible de trouver le répertoire par défaut (HOME) de l'utilisateur - " -"j'utilise le répertoire courant." +msgstr "impossible de trouver le répertoire par défaut (HOME) de l'utilisateur - j'utilise le répertoire courant." #: ../src/common/file.cpp:334 #, c-format msgid "can't flush file descriptor %d" -msgstr "" -"impossible de forcer l'écriture sur disque du descripteur de fichier %d" +msgstr "impossible de forcer l'écriture sur disque du descripteur de fichier %d" #: ../src/common/file.cpp:388 #, c-format msgid "can't get seek position on file descriptor %d" -msgstr "" -"impossible de trouver la position courante sur le descripteur de fichier %d" +msgstr "impossible de trouver la position courante sur le descripteur de fichier %d" #: ../src/common/fontmap.cpp:766 msgid "can't load any font, aborting" msgstr "impossible de charger une police de caractères - j'abandonne" -#: ../src/common/ffile.cpp:77 ../src/common/file.cpp:257 +#: ../src/common/ffile.cpp:77 +#: ../src/common/file.cpp:257 #, c-format msgid "can't open file '%s'" msgstr "impossible d'ouvrir le fichier '%s'" @@ -3349,7 +3308,7 @@ msgid "can't seek on file descriptor %d" msgstr "recherche impossible sur le descripteur de fichier %d" #: ../src/common/textfile.cpp:196 -#, fuzzy, c-format +#, c-format msgid "can't write buffer '%s' to disk." msgstr "impossible d'écrire le fichier '%s' sur le disque." @@ -3376,9 +3335,8 @@ msgid "date" msgstr "date" #: ../src/common/fontmap.cpp:413 -#, fuzzy msgid "default" -msgstr "alt" +msgstr "par défaut" #: ../src/common/datetime.cpp:3237 msgid "eighteenth" @@ -3427,15 +3385,12 @@ msgstr "fichier %s, ligne %d: symbole '=' est attendu." #: ../src/common/fileconf.cpp:667 #, c-format msgid "file '%s', line %d: key '%s' was first found at line %d." -msgstr "" -"fichier %s, ligne %d: première occurence du caractère %s à la ligne %d." +msgstr "fichier %s, ligne %d: première occurence du caractère %s à la ligne %d." #: ../src/common/fileconf.cpp:657 #, c-format msgid "file '%s', line %d: value for immutable key '%s' ignored." -msgstr "" -"fichier '%s', ligne %d: la valeur pour la touche non configurable '%s' est " -"ignorée." +msgstr "fichier '%s', ligne %d: la valeur pour la touche non configurable '%s' est ignorée." #: ../src/common/fileconf.cpp:580 #, c-format @@ -3456,7 +3411,7 @@ msgstr "quatri #: ../src/common/appcmn.cpp:301 msgid "generate verbose log messages" -msgstr "" +msgstr "Créer des messages de compte-rendus verbeux" #: ../src/common/timercmn.cpp:282 msgid "gmtime() failed" @@ -3474,8 +3429,8 @@ msgstr "eof() a renvoy msgid "invalid message box return value" msgstr "la fenêtre de message a renvoyé une valeur non valide" -#: ../src/common/fontcmn.cpp:458 ../src/common/fontcmn.cpp:522 -#, fuzzy +#: ../src/common/fontcmn.cpp:458 +#: ../src/common/fontcmn.cpp:522 msgid "italic" msgstr "Italique" @@ -3484,12 +3439,10 @@ msgid "large" msgstr "grand" #: ../src/common/fontcmn.cpp:514 -#, fuzzy msgid "light" msgstr "Léger" #: ../src/common/fontcmn.cpp:438 -#, fuzzy msgid "light " msgstr "Léger" @@ -3527,7 +3480,8 @@ msgstr "neuvi msgid "no DDE error." msgstr "erreur - pas de DDE." -#: ../src/html/helpdata.cpp:561 ../src/html/htmlhelp.cpp:201 +#: ../src/html/helpdata.cpp:561 +#: ../src/html/htmlhelp.cpp:201 msgid "noname" msgstr "sansnom" @@ -3541,7 +3495,7 @@ msgstr "num" #: ../src/common/filename.cpp:162 msgid "reading" -msgstr "" +msgstr "lecture" #: ../src/msw/dde.cpp:1005 msgid "reentrancy problem." @@ -3565,7 +3519,7 @@ msgstr "shift" #: ../src/common/appcmn.cpp:291 msgid "show this help message" -msgstr "" +msgstr "Montrer ce message d'aide" #: ../src/common/datetime.cpp:3235 msgid "sixteenth" @@ -3581,11 +3535,11 @@ msgstr "petit" #: ../src/common/appcmn.cpp:326 msgid "specify display mode to use (e.g. 640x480-16)" -msgstr "" +msgstr "Veuillez spécifier le mode vidéo à utiliser (par ex. 640x480-16)" #: ../src/common/appcmn.cpp:312 msgid "specify the theme to use" -msgstr "" +msgstr "Désigner le thème à utiliser" #: ../src/common/cmdline.cpp:1032 msgid "str" @@ -3624,14 +3578,12 @@ msgid "twentieth" msgstr "vingtième" #: ../src/common/fontcmn.cpp:510 -#, fuzzy msgid "underlined" -msgstr "Souligner" +msgstr "Souligné" #: ../src/common/fontcmn.cpp:425 -#, fuzzy msgid "underlined " -msgstr "Souligner" +msgstr "Souligné" #: ../src/common/fileconf.cpp:1684 #, c-format @@ -3643,9 +3595,8 @@ msgid "unknown" msgstr "inconnu" #: ../src/common/regex.cpp:144 -#, fuzzy msgid "unknown error" -msgstr "GIF : erreur inconnue !!!" +msgstr "erreur inconnue" #: ../src/msw/dialup.cpp:445 #, c-format @@ -3684,19 +3635,18 @@ msgid "very small" msgstr "très petit" #: ../src/common/filename.cpp:162 -#, fuzzy msgid "writing" -msgstr "Impression" +msgstr "Écriture en cours" #: ../src/common/dynlib.cpp:336 #, c-format msgid "wxDllLoader failed to GetSymbol '%s'" -msgstr "" +msgstr "wxDllLoader a échoué en effectuant un GetSymbol de '%s'" #: ../src/common/dynload.cpp:278 #, c-format msgid "wxDynamicLibrary failed to GetSymbol '%s'" -msgstr "" +msgstr "wxDynamicLibrary a échoué en effectuant un GetSymbol de '%s'" #: ../src/common/timercmn.cpp:327 msgid "wxGetTimeOfDay failed." @@ -3704,9 +3654,10 @@ msgstr "wxGetTimeOfDay a #: ../src/html/search.cpp:49 msgid "wxSearchEngine::LookFor must be called before scanning!" -msgstr "" +msgstr "wxSearchEngine::LookFor doit être invoqué avant de lancer un scannage!" -#: ../src/common/socket.cpp:394 ../src/common/socket.cpp:448 +#: ../src/common/socket.cpp:394 +#: ../src/common/socket.cpp:448 msgid "wxSocket: invalid signature in ReadMsg." msgstr "wxSocket: signature non valide dans ReadMsg." @@ -3717,213 +3668,13 @@ msgstr "wxSocket: #: ../src/motif/app.cpp:590 #, c-format msgid "wxWindows could not open display for '%s': exiting." -msgstr "" -"wxWindows n'a pas pu ouvrir de zone d'affichage (display) pour %s : abandon." +msgstr "wxWindows n'a pas pu ouvrir de zone d'affichage (display) pour %s : abandon." #: ../src/x11/app.cpp:265 -#, fuzzy msgid "wxWindows could not open display. Exiting." -msgstr "" -"wxWindows n'a pas pu ouvrir de zone d'affichage (display) pour %s : abandon." +msgstr "wxWindows n'a pas pu ouvrir de zone d'affichage (display) : abandon." #: ../src/common/datetime.cpp:3065 msgid "yesterday" msgstr "hier" -#, fuzzy -#~ msgid "All files (*.*)|*.*" -#~ msgstr "Tous les fichiers (*)|*" - -#~ msgid "Can not create mutex" -#~ msgstr "Impossible de créer le mutex" - -#~ msgid "Can't create the inter-process read pipe" -#~ msgstr "Impossible de créer le tube de lecture entre processus" - -#~ msgid "Can't create the inter-process write pipe" -#~ msgstr "Impossible de créer le tube d'écriture entre processus" - -#~ msgid "Couldn't acquire a mutex lock" -#~ msgstr "Impossible d'obtenir un verrouillage de mutex" - -#~ msgid "Couldn't release a mutex" -#~ msgstr "Impossible de détacher un mutex" - -#~ msgid "Font" -#~ msgstr "Police" - -#~ msgid "PostScript" -#~ msgstr "Postscript" - -#~ msgid "PostScript:" -#~ msgstr "Postscript :" - -#~ msgid "Preview Only" -#~ msgstr "Aperçu Seulement" - -#~ msgid "Printer Command: " -#~ msgstr "Commande Imprimante :" - -#~ msgid "Printer Options: " -#~ msgstr "Options Imprimante :" - -#~ msgid "Printer Settings" -#~ msgstr "Paramètres de l'Imprimante" - -#~ msgid "Send to Printer" -#~ msgstr "Envoyer vers l'imprimante" - -#, fuzzy -#~ msgid "SetPixelFormat failed." -#~ msgstr "La création du tube a échoué" - -#~ msgid "X Scaling" -#~ msgstr "Echelle X" - -#~ msgid "X Translation" -#~ msgstr "Translation X" - -#~ msgid "Y Scaling" -#~ msgstr "Echelle Y" - -#~ msgid "Y Translation" -#~ msgstr "Translation Y" - -#, fuzzy -#~ msgid "unknown line terminator" -#~ msgstr "origine de la recherche inconnue" - -#, fuzzy -#~ msgid "Fatal Error" -#~ msgstr "Erreur fatale" - -#, fuzzy -#~ msgid "Fatal error: %s\n" -#~ msgstr "Erreur fatale : " - -#~ msgid "Back" -#~ msgstr "Retour" - -#~ msgid "Can not create event object." -#~ msgstr "Impossible de créer l'objet événement." - -#~ msgid "Can't find the serialization object '%s' for the object '%s'." -#~ msgstr "" -#~ "Impossible de trouver l'objet d'enregistrement '%s' pour l'objet '%s'." - -#~ msgid "Can't load wxSerial dynamic library." -#~ msgstr "Impossible de charger la bibliothèque dynamique wxSerial." - -#~ msgid "Connection to wxHelp timed out in %d seconds" -#~ msgstr "Connexion à wxHelp annulée dans %d secondes" - -#~ msgid "Etcetera" -#~ msgstr "Et cetera" - -#, fuzzy -#~ msgid "ICO: Error calculating size of DIB ." -#~ msgstr "TIFF: Erreur à la lecture de l'image." - -#, fuzzy -#~ msgid "ICO: Error calculating size of Mask DIB ." -#~ msgstr "TIFF: Erreur à la lecture de l'image." - -#, fuzzy -#~ msgid "ICO: Error calculating size of XOR DIB ." -#~ msgstr "TIFF: Erreur à la lecture de l'image." - -#, fuzzy -#~ msgid "ICO: Error writing ICONDIR header." -#~ msgstr "TIFF: Erreur à l'écriture de l'image." - -#, fuzzy -#~ msgid "ICO: Error writing ICONDIRENTRY header." -#~ msgstr "TIFF: Erreur à l'écriture de l'image." - -#, fuzzy -#~ msgid "ICO: Error writing Mask DIB ." -#~ msgstr "TIFF: Erreur à la lecture de l'image." - -#, fuzzy -#~ msgid "ICO: Error writing XOR DIB ." -#~ msgstr "TIFF: Erreur à la lecture de l'image." - -#~ msgid "Incorrect version of HTML help book" -#~ msgstr "Version incorrecte du livre d'aide HTML" - -#, fuzzy -#~ msgid "Loading DIB : Couldn't allocate memory." -#~ msgstr "BMP : Impossible d'allouer la mémoire nécessaire." - -#~ msgid "Mounted Devices" -#~ msgstr "Périphériques Montés" - -#~ msgid "My Harddisk" -#~ msgstr "Mon Disque Dur" - -#~ msgid "My Home" -#~ msgstr "Mon Répertoire Initial (Home)" - -#~ msgid "New..." -#~ msgstr "Nouveau ..." - -#~ msgid "Please wait..." -#~ msgstr "Veuillez attendre ..." - -#~ msgid "Temporary" -#~ msgstr "Temporaire" - -#~ msgid "The Computer" -#~ msgstr "L'ordinateur" - -#~ msgid "The directory " -#~ msgstr "Le répertoire" - -#~ msgid "User" -#~ msgstr "Utilisateur" - -#~ msgid "User Local" -#~ msgstr "Répertoire /usr/local" - -#~ msgid "Variables" -#~ msgstr "Variables" - -#~ msgid "Window" -#~ msgstr "Fenêtre" - -#, fuzzy -#~ msgid "centered" -#~ msgstr "Et cetera" - -#, fuzzy -#~ msgid "Unknown digit value" -#~ msgstr "Codage inconnu (%d)" - -#~ msgid "Replace file '%s'?" -#~ msgstr "Ecraser le fichier '%s' ?" - -#~ msgid "wxWindows: error finding temporary file name.\n" -#~ msgstr "wxWindows : impossible de trouver le nom du fichier temporaire.\n" - -#~ msgid "" -#~ "Can't create window of class %s!\n" -#~ "Possible Windows 3.x compatibility problem?" -#~ msgstr "" -#~ "Impossible de créer la fenêtre de classe %s !\n" -#~ "Peut-être un problème de compatibilité avec Windows 3.x ?" - -#~ msgid "" -#~ "Can't find dialog template '%s'!\n" -#~ "Check resource include path for finding wx.rc." -#~ msgstr "" -#~ "Impossible de trouver le modèle pour le dialogue bidon !\n" -#~ "Vérifier le chemin d'inclusion de la ressource pour trouver wx.rc." - -#~ msgid "Couldn't launch DDE server '%s'." -#~ msgstr "Impossible de lancer le serveur DDE '%s'." - -#~ msgid "Cyrillic (Latin 5)" -#~ msgstr "Cyrillique (Latin 5)" - -#~ msgid "No XPM facility available!" -#~ msgstr "Pas de fonctionalités XPM disponibles !" diff --git a/locale/hu.po b/locale/hu.po index 9731e1fa67..c4671c8132 100644 --- a/locale/hu.po +++ b/locale/hu.po @@ -2,12 +2,12 @@ msgid "" msgstr "" "Project-Id-Version: wxWindows\n" "POT-Creation-Date: 2002-08-21 16:39+0200\n" -"PO-Revision-Date: 2001-11-03 23:25Central Europe Standard Time\n" -"Last-Translator: Vegh Janos \n" +"PO-Revision-Date: 2002-11-08 16:49+0100\n" +"Last-Translator: Vegh Janos \n" "Language-Team: wxWindows translators \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-2\n" -"Content-Transfer-Encoding: 8-bit\n" +"Content-Transfer-Encoding: 8bit\n" #: ../src/common/log.cpp:304 #, c-format @@ -20,7 +20,7 @@ msgstr " - " #: ../src/html/htmprint.cpp:502 msgid " Preview" -msgstr " Nyomtatási kép" +msgstr " Nyomtatási elõkép" #: ../src/generic/filedlgg.cpp:476 msgid " bytes " @@ -46,8 +46,10 @@ msgstr "#15 Borit msgid "#9 Envelope, 3 7/8 x 8 7/8 in" msgstr "#10 Boriték, 3 7/8 x 8 7/8 hüvelyk" -#: ../src/common/resourc2.cpp:265 ../src/common/resourc2.cpp:1326 -#: ../src/common/resource.cpp:1784 ../src/common/resource.cpp:1914 +#: ../src/common/resourc2.cpp:265 +#: ../src/common/resourc2.cpp:1326 +#: ../src/common/resource.cpp:1784 +#: ../src/common/resource.cpp:1914 #: ../src/common/resource.cpp:2994 #, c-format msgid "#define %s must be an integer." @@ -56,15 +58,17 @@ msgstr "#define %s-nek eg #: ../src/common/prntbase.cpp:376 #, c-format msgid "%d" -msgstr "" +msgstr "%d" #: ../src/common/prntbase.cpp:374 #, c-format msgid "%d...%d" -msgstr "" +msgstr "%d...%d" -#: ../src/html/helpfrm.cpp:772 ../src/html/helpfrm.cpp:773 -#: ../src/html/helpfrm.cpp:1376 ../src/html/helpfrm.cpp:1406 +#: ../src/html/helpfrm.cpp:772 +#: ../src/html/helpfrm.cpp:773 +#: ../src/html/helpfrm.cpp:1376 +#: ../src/html/helpfrm.cpp:1406 #, c-format msgid "%i of %i" msgstr "%i. (össz %i)" @@ -89,18 +93,22 @@ msgstr "%s Inform msgid "%s Warning" msgstr "%s Figyelmeztetés" -#: ../src/common/resourc2.cpp:709 ../src/common/resource.cpp:2366 +#: ../src/common/resourc2.cpp:709 +#: ../src/common/resource.cpp:2366 #, c-format msgid "%s not a bitmap resource specification." msgstr "%s nem bitmap erõforrás specifikáció." -#: ../src/common/resourc2.cpp:860 ../src/common/resource.cpp:2520 +#: ../src/common/resourc2.cpp:860 +#: ../src/common/resource.cpp:2520 #, c-format msgid "%s not an icon resource specification." msgstr "%s nem ikon erõforrás specifikáció." -#: ../src/common/resourc2.cpp:357 ../src/common/resourc2.cpp:1422 -#: ../src/common/resource.cpp:1877 ../src/common/resource.cpp:2006 +#: ../src/common/resourc2.cpp:357 +#: ../src/common/resourc2.cpp:1422 +#: ../src/common/resource.cpp:1877 +#: ../src/common/resource.cpp:2006 #: ../src/common/resource.cpp:3091 #, c-format msgid "%s: ill-formed resource file syntax." @@ -108,18 +116,19 @@ msgstr "%s: nyelvtanilag hib #: ../src/msw/mdi.cpp:192 msgid "&Arrange Icons" -msgstr "" +msgstr "Ikonok &elrendezése" -#: ../src/generic/fdrepdlg.cpp:170 ../src/generic/wizard.cpp:260 -#, fuzzy +#: ../src/generic/fdrepdlg.cpp:170 +#: ../src/generic/wizard.cpp:260 msgid "&Cancel" -msgstr "Mégsem" +msgstr "&Mégsem" #: ../src/msw/mdi.cpp:188 msgid "&Cascade" -msgstr "" +msgstr "&Zuhatag" -#: ../src/generic/logg.cpp:491 ../src/generic/tipdlg.cpp:171 +#: ../src/generic/logg.cpp:491 +#: ../src/generic/tipdlg.cpp:171 msgid "&Close" msgstr "&Bezár" @@ -128,18 +137,16 @@ msgid "&Details" msgstr "&Részletek" #: ../src/generic/fdrepdlg.cpp:168 -#, fuzzy msgid "&Find" -msgstr "Keres" +msgstr "&Keres" #: ../src/generic/wizard.cpp:396 msgid "&Finish" msgstr "Be&fejez" #: ../src/generic/wizard.cpp:249 -#, fuzzy msgid "&Help" -msgstr "Súgó" +msgstr "&Súgó" #: ../src/generic/logg.cpp:492 msgid "&Log" @@ -147,14 +154,14 @@ msgstr "&Napl #: ../src/univ/themes/win32.cpp:4539 msgid "&Move" -msgstr "" +msgstr "&Áthelyezés" #: ../src/msw/mdi.cpp:193 -#, fuzzy msgid "&Next" -msgstr "&Következõ >" +msgstr "&Következõ " -#: ../src/generic/wizard.cpp:257 ../src/generic/wizard.cpp:398 +#: ../src/generic/wizard.cpp:257 +#: ../src/generic/wizard.cpp:398 msgid "&Next >" msgstr "&Következõ >" @@ -163,39 +170,39 @@ msgid "&Next Tip" msgstr "&Következõ ötlet" #: ../src/msw/mdi.cpp:194 -#, fuzzy msgid "&Previous" -msgstr "Elõzõ oldal" +msgstr "&Elõzõ oldal" -#: ../src/common/cmdproc.cpp:261 ../src/common/cmdproc.cpp:272 +#: ../src/common/cmdproc.cpp:261 +#: ../src/common/cmdproc.cpp:272 msgid "&Redo" msgstr "&Újra" -#: ../src/common/cmdproc.cpp:255 ../src/common/cmdproc.cpp:282 +#: ../src/common/cmdproc.cpp:255 +#: ../src/common/cmdproc.cpp:282 msgid "&Redo " msgstr "&Újra" #: ../src/generic/fdrepdlg.cpp:174 msgid "&Replace" -msgstr "" +msgstr "&Helyettesítés" #: ../src/univ/themes/win32.cpp:4538 -#, fuzzy msgid "&Restore" -msgstr "&Újra" +msgstr "&Helyreállítás" -#: ../src/generic/logg.cpp:487 ../src/generic/logg.cpp:818 +#: ../src/generic/logg.cpp:487 +#: ../src/generic/logg.cpp:818 msgid "&Save..." msgstr "&Mentés..." #: ../src/generic/tipdlg.cpp:173 msgid "&Show tips at startup" -msgstr "Mutass &ötleteket inditáskor" +msgstr "&Mutass ötleteket inditáskor" #: ../src/univ/themes/win32.cpp:4541 -#, fuzzy msgid "&Size" -msgstr "Méret" +msgstr "&Méret" #: ../src/common/cmdproc.cpp:267 msgid "&Undo" @@ -205,16 +212,20 @@ msgstr "&Visszavon msgid "&Undo " msgstr "&Visszavonás" -#: ../src/msw/mdi.cpp:1328 ../src/msw/mdi.cpp:1335 ../src/msw/mdi.cpp:1360 +#: ../src/msw/mdi.cpp:1328 +#: ../src/msw/mdi.cpp:1335 +#: ../src/msw/mdi.cpp:1360 msgid "&Window" msgstr "&Ablak" -#: ../src/common/config.cpp:394 ../src/msw/regconf.cpp:264 +#: ../src/common/config.cpp:394 +#: ../src/msw/regconf.cpp:264 #, c-format msgid "'%s' has extra '..', ignored." msgstr "'%s' után felesleges '..'-t találtam, elhanyagoltam." -#: ../src/common/valtext.cpp:147 ../src/common/valtext.cpp:177 +#: ../src/common/valtext.cpp:147 +#: ../src/common/valtext.cpp:177 #: ../src/common/valtext.cpp:183 #, c-format msgid "'%s' is invalid" @@ -231,7 +242,7 @@ msgid "'%s' is not a valid message catalog." msgstr "'%s' érvénytelen üzenet katalógus." #: ../src/common/textbuf.cpp:245 -#, fuzzy, c-format +#, c-format msgid "'%s' is probably a binary buffer." msgstr "'%s' valószínûleg bináris fájl." @@ -255,30 +266,34 @@ msgstr "'%s' csak bet msgid "'%s' should only contain alphabetic or numeric characters." msgstr "'%s' csak betûket vagy számokat tartalmazhat." -#: ../src/html/helpfrm.cpp:709 ../src/html/htmlhelp.cpp:638 +#: ../src/html/helpfrm.cpp:709 +#: ../src/html/htmlhelp.cpp:638 msgid "(Help)" msgstr "(Súgó)" -#: ../src/html/helpfrm.cpp:310 ../src/html/helpfrm.cpp:840 +#: ../src/html/helpfrm.cpp:310 +#: ../src/html/helpfrm.cpp:840 #: ../src/html/helpfrm.cpp:1433 msgid "(bookmarks)" msgstr "(könyvjelzõk)" -#: ../src/common/resourc2.cpp:297 ../src/common/resourc2.cpp:1362 -#: ../src/common/resource.cpp:1816 ../src/common/resource.cpp:1946 +#: ../src/common/resourc2.cpp:297 +#: ../src/common/resourc2.cpp:1362 +#: ../src/common/resource.cpp:1816 +#: ../src/common/resource.cpp:1946 #: ../src/common/resource.cpp:3030 -msgid "" -", expected static, #include or #define\n" +msgid ", expected static, #include or #define\n" "whilst parsing resource." -msgstr "" -", static, #include vagy #define\n" +msgstr ", static, #include vagy #define\n" " kulcszót vártam az erõforrás értelmezésekor." -#: ../src/generic/dirctrlg.cpp:698 ../src/generic/filedlgg.cpp:929 +#: ../src/generic/dirctrlg.cpp:698 +#: ../src/generic/filedlgg.cpp:929 msgid "." msgstr "." -#: ../src/generic/dirctrlg.cpp:699 ../src/generic/filedlgg.cpp:930 +#: ../src/generic/dirctrlg.cpp:699 +#: ../src/generic/filedlgg.cpp:930 msgid ".." msgstr ".." @@ -327,30 +342,8 @@ msgid " " msgstr " " #: ../src/html/helpfrm.cpp:992 -msgid "" -"Normal face
        (and underlined. Italic face. " -"Bold face. Bold italic face.
        font size " -"-2
        font size -1
        font size " -"+0
        font size +1
        font size " -"+2
        font size +3
        font size " -"+4

        Fixed size face.
        bold italic " -"bold italic underlined
        font size " -"-2
        font size -1
        font size " -"+0
        font size +1
        font size " -"+2
        font size +3
        font size " -"+4
        " -msgstr "" -"Normál
        (and Aláhúzott. Dõlt. Félkövér. " -"Félkövér dõlt.
        betû méret-2
        betû méret -1
        betû méret +0
        betû méret +1
        betû méret +2
        betû méret +3
        betû méret " -"+4

        Rögzített méretû típus.
        félkövér dõlt " -"félkövér dõlt aláhúzott
        betû méret " -"-2
        betû méret -1
        betû méret " -"+0
        betû méret +1
        betû méret " -"+2
        betû méret +3
        betû méret " -"+4
        " +msgid "Normal face
        (and underlined. Italic face. Bold face. Bold italic face.
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4

        Fixed size face.
        bold italic bold italic underlined
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4
        " +msgstr "Normál
        (and Aláhúzott. Dõlt. Félkövér. Félkövér dõlt.
        betû méret-2
        betû méret -1
        betû méret +0
        betû méret +1
        betû méret +2
        betû méret +3
        betû méret +4

        Rögzített méretû típus.
        félkövér dõlt félkövér dõlt aláhúzott
        betû méret -2
        betû méret -1
        betû méret +0
        betû méret +1
        betû méret +2
        betû méret +3
        betû méret +4
        " #: ../src/common/paper.cpp:113 msgid "A3 sheet, 297 x 420 mm" @@ -374,7 +367,7 @@ msgstr "ABCDEFGabcdefg12345" #: ../src/common/ftp.cpp:369 msgid "ASCII" -msgstr "" +msgstr "ASCII" #: ../src/html/helpfrm.cpp:323 msgid "Add current page to bookmarks" @@ -387,7 +380,7 @@ msgstr "Add hozz #: ../src/html/helpctrl.cpp:95 #, c-format msgid "Adding book %s" -msgstr "Add hozzá a %s könyvet" +msgstr "Add hozzá a könyv %eket" #: ../src/generic/prntdlgg.cpp:160 msgid "All" @@ -404,8 +397,7 @@ msgstr "M #: ../src/generic/logg.cpp:1109 #, c-format msgid "Append log to file '%s' (choosing [No] will overwrite it)?" -msgstr "" -"A naplót a(z) '%s' file végéhez írjam? (Ha [Nem]-et választ, felülírom!)" +msgstr "A naplót a(z) '%s' file végéhez írjam? (Ha [Nem]-et választ, felülírom!)" #: ../src/common/fontmap.cpp:117 msgid "Arabic (ISO-8859-6)" @@ -431,7 +423,8 @@ msgstr "B5 lap, 182 x 257 millim msgid "B6 Envelope, 176 x 125 mm" msgstr "B6 Boriték, 176 x 125 mm" -#: ../src/common/imagbmp.cpp:467 ../src/common/imagbmp.cpp:483 +#: ../src/common/imagbmp.cpp:467 +#: ../src/common/imagbmp.cpp:483 msgid "BMP: Couldn't allocate memory." msgstr "BMP: Nem sikerült memóriát foglalni." @@ -440,27 +433,24 @@ msgid "BMP: Couldn't save invalid image." msgstr "BMP: Nem tudtam elmenteni a hibás képet." #: ../src/common/imagbmp.cpp:290 -#, fuzzy msgid "BMP: Couldn't write RGB color map." -msgstr "BMP: Nem tudtam kiírni az adatokat." +msgstr "BMP: Nem tudtam kiírni az RGB színtérképet." #: ../src/common/imagbmp.cpp:422 msgid "BMP: Couldn't write data." msgstr "BMP: Nem tudtam kiírni az adatokat." #: ../src/common/imagbmp.cpp:195 -#, fuzzy msgid "BMP: Couldn't write the file (Bitmap) header." -msgstr "BMP: Nem tudtam kiírni a fájl fejet." +msgstr "BMP: Nem tudtam kiírni a fájl bittérkép fejet." #: ../src/common/imagbmp.cpp:216 -#, fuzzy msgid "BMP: Couldn't write the file (BitmapInfo) header." -msgstr "BMP: Nem tudtam kiírni a fájl fejet." +msgstr "BMP: Nem tudtam kiírni a fájl bittérkép info fejet." #: ../src/common/imagbmp.cpp:120 msgid "BMP: wxImage doesn't have own wxPalette." -msgstr "" +msgstr "BMP: a wxImage-nek nincs saját wxPalette-je." #: ../src/common/dlgcmn.cpp:170 msgid "Backward" @@ -474,10 +464,11 @@ msgstr "Balti (ISO-8859-13)" msgid "Baltic (old) (ISO-8859-4)" msgstr "Balti (régi) (ISO-8859-4)" -#: ../src/common/resourc2.cpp:840 ../src/common/resource.cpp:2500 +#: ../src/common/resourc2.cpp:840 +#: ../src/common/resource.cpp:2500 #, c-format msgid "Bitmap resource specification %s not found." -msgstr "Nem találom a(z) %s bittérkép leírást." +msgstr "Nem találom a(z) %s bittérkép meghatározást." #: ../src/generic/fontdlgg.cpp:231 msgid "Bold" @@ -516,16 +507,18 @@ msgid "C65 Envelope, 114 x 229 mm" msgstr "C65 Boríték, 114 x 229 mm" #: ../src/common/filefn.cpp:1358 -#, fuzzy, c-format +#, c-format msgid "Can not enumerate files '%s'" -msgstr "Nem tudom megszámolni a(z) '%s' könyvtárban a fájlokat" +msgstr "Nem tudom megszámolni a(z) '%s' fájlokat" -#: ../src/msw/dir.cpp:296 ../src/unix/dir.cpp:236 +#: ../src/msw/dir.cpp:296 +#: ../src/unix/dir.cpp:236 #, c-format msgid "Can not enumerate files in directory '%s'" msgstr "Nem tudom megszámolni a(z) '%s' könyvtárban a fájlokat" -#: ../src/mac/thread.cpp:472 ../src/msw/thread.cpp:685 +#: ../src/mac/thread.cpp:472 +#: ../src/msw/thread.cpp:685 #, c-format msgid "Can not resume thread %x" msgstr "Nem tudom folytatni a(z) %x szálat" @@ -534,7 +527,8 @@ msgstr "Nem tudom folytatni a(z) %x sz msgid "Can not start thread: error writing TLS." msgstr "Nem tudom elindítani a szálat: hiba a TLS írásakor." -#: ../src/mac/thread.cpp:448 ../src/msw/thread.cpp:670 +#: ../src/mac/thread.cpp:448 +#: ../src/msw/thread.cpp:670 #, c-format msgid "Can not suspend thread %x" msgstr "Nem tudom felfüggeszteni a(z) %x szálat" @@ -550,8 +544,7 @@ msgstr "Nem lehet &Visszavonni" #: ../src/common/image.cpp:1289 #, c-format msgid "Can't check image format of file '%s': file does not exist." -msgstr "" -"Nem tudom megvizsgálni a(z) '%s' kép fájl formátumát: nincs ilyen fájl." +msgstr "Nem tudom megvizsgálni a(z) '%s' kép fájl formátumát: nincs ilyen fájl." #: ../src/msw/registry.cpp:421 #, c-format @@ -565,32 +558,31 @@ msgstr "Nem tudom a nem t #: ../src/msw/toplevel.cpp:295 msgid "Can't create dialog using memory template" -msgstr "" +msgstr "Nem tudom létrehozni a dialógust a memória minta alapján" #: ../src/os2/toplevel.cpp:331 -#, fuzzy, c-format +#, c-format msgid "Can't create dialog using template '%ul'" -msgstr "nem tudom létrehozni a(z) '%s' fájl-t" +msgstr "Nem tudom létrehozni a párbeszéd ablakot a(z) '%s' minta alapján." #: ../src/msw/listctrl.cpp:319 msgid "Can't create list control window, check that comctl32.dll is installed." -msgstr "" -"Nem tudom létrehozni a lista vezérlõ ablakot, ellenõrizze, hogy a " -"comctl32.dll installálva van-e." +msgstr "Nem tudom létrehozni a lista vezérlõ ablakot, ellenõrizze, hogy a comctl32.dll installálva van-e." #: ../src/msw/registry.cpp:402 #, c-format msgid "Can't create registry key '%s'" msgstr "Nem tudom létrehozni a '%s' registry kulcsot" -#: ../src/mac/thread.cpp:427 ../src/msw/thread.cpp:652 +#: ../src/mac/thread.cpp:427 +#: ../src/msw/thread.cpp:652 msgid "Can't create thread" msgstr "Nem tudom létrehozni a szálat" #: ../src/msw/window.cpp:2989 -#, fuzzy, c-format +#, c-format msgid "Can't create window of class %s" -msgstr "nem tudom létrehozni a(z) '%s' fájl-t" +msgstr "Nem tudom létrehozni a(z) %s osztályhoz tartozó fájlt" #: ../src/msw/registry.cpp:661 #, c-format @@ -632,7 +624,8 @@ msgstr "Nem tal msgid "Can't get info about registry key '%s'" msgstr "Nincs információm a '%s' registry kulcsról" -#: ../src/common/image.cpp:913 ../src/common/image.cpp:933 +#: ../src/common/image.cpp:913 +#: ../src/common/image.cpp:933 #, c-format msgid "Can't load image from file '%s': file does not exist." msgstr "Nem tudom betölteni a képet a(z) '%s' fájlból: nincs ilyen fájl." @@ -652,17 +645,19 @@ msgstr "Nem tudom megnyitni a(z) '%s' registry kulcsot" msgid "Can't read value of '%s'" msgstr "Nem tudom olvasni a(z) '%s' értékét" -#: ../src/msw/registry.cpp:777 ../src/msw/registry.cpp:816 +#: ../src/msw/registry.cpp:777 +#: ../src/msw/registry.cpp:816 #, c-format msgid "Can't read value of key '%s'" msgstr "Nem tudom olvasni a(z) '%s' kulcs értékét" #: ../src/common/image.cpp:955 -#, fuzzy, c-format +#, c-format msgid "Can't save image to file '%s': unknown extension." -msgstr "Nem tudom betölteni a képet a(z) '%s' fájlból: nincs ilyen fájl." +msgstr "Nem tudom elmenteni a képet a(z) '%s' fájlba: nincs ilyen kiterjesztés." -#: ../src/generic/logg.cpp:551 ../src/generic/logg.cpp:985 +#: ../src/generic/logg.cpp:551 +#: ../src/generic/logg.cpp:985 msgid "Can't save log contents to file." msgstr "Nem tudom a napló tartalmát fájlba menteni." @@ -670,29 +665,37 @@ msgstr "Nem tudom a napl msgid "Can't set thread priority" msgstr "Nem tudom a szál prioritását beállítani" -#: ../src/msw/registry.cpp:802 ../src/msw/registry.cpp:928 +#: ../src/msw/registry.cpp:802 +#: ../src/msw/registry.cpp:928 #, c-format msgid "Can't set value of '%s'" msgstr "Nem tudom a(z) '%s' értéket beállítani" -#: ../src/common/dlgcmn.cpp:183 ../src/generic/dirdlgg.cpp:153 -#: ../src/generic/filedlgg.cpp:1166 ../src/generic/filedlgg.cpp:1185 -#: ../src/generic/fontdlgg.cpp:254 ../src/generic/prntdlgg.cpp:453 -#: ../src/generic/progdlgg.cpp:211 ../src/generic/proplist.cpp:511 -#: ../src/gtk/filedlg.cpp:173 ../src/gtk/fontdlg.cpp:144 -#: ../src/html/helpfrm.cpp:974 ../src/html/htmlhelp.cpp:434 +#: ../src/common/dlgcmn.cpp:183 +#: ../src/generic/dirdlgg.cpp:153 +#: ../src/generic/filedlgg.cpp:1166 +#: ../src/generic/filedlgg.cpp:1185 +#: ../src/generic/fontdlgg.cpp:254 +#: ../src/generic/prntdlgg.cpp:453 +#: ../src/generic/progdlgg.cpp:211 +#: ../src/generic/proplist.cpp:511 +#: ../src/gtk/filedlg.cpp:173 +#: ../src/gtk/fontdlg.cpp:144 +#: ../src/html/helpfrm.cpp:974 +#: ../src/html/htmlhelp.cpp:434 #: ../src/motif/msgdlg.cpp:182 msgid "Cancel" msgstr "Mégsem" -#: ../contrib/src/xrc/xmlres.cpp:893 ../contrib/src/xrc/xmlres.cpp:934 +#: ../contrib/src/xrc/xmlres.cpp:893 +#: ../contrib/src/xrc/xmlres.cpp:934 msgid "Cannot convert dialog units: dialog unknown." -msgstr "" +msgstr "Nem tudom átalakítani a dialógus egységeit; ismeretlen dialógus." #: ../src/common/strconv.cpp:929 #, c-format msgid "Cannot convert from encoding '%s'!" -msgstr "" +msgstr "Nem tudok átalakítani a '%s' kódolásról!" #: ../src/msw/dialup.cpp:497 #, c-format @@ -700,14 +703,14 @@ msgid "Cannot find active dialup connection: %s" msgstr "Nem találom a(z) %s aktív telefonos kapcsolatot" #: ../contrib/src/xrc/xmlres.cpp:224 -#, fuzzy, c-format +#, c-format msgid "Cannot find container for unknown control '%s'." -msgstr "Nem találom a(z) %s aktív telefonos kapcsolatot" +msgstr "Nem találok tároló elemet a(z) '%s' ismeretlen irányitóelemhez." #: ../contrib/src/xrc/xmlres.cpp:948 -#, fuzzy, c-format +#, c-format msgid "Cannot find font node '%s'." -msgstr "Nem tudom megnyitni a(z) '%s' URL-t" +msgstr "Nem találom a(z) '%s' betûkészlet csomüpontot" #: ../src/msw/dialup.cpp:811 msgid "Cannot find the location of address book file" @@ -735,24 +738,22 @@ msgid "Cannot initialize OLE" msgstr "Nem tudom inicializálni az OLEt" #: ../src/mgl/app.cpp:414 -#, fuzzy msgid "Cannot initialize SciTech MGL!" -msgstr "Nem tudom inicializálni az OLEt" +msgstr "Nem tudom elindítani az SciTech MGLt!" #: ../src/mgl/window.cpp:546 -#, fuzzy msgid "Cannot initialize display." -msgstr "Nem tudom inicializálni az OLEt" +msgstr "Nem tudom elindítani a megjelenítést." #: ../src/msw/volume.cpp:627 -#, fuzzy, c-format +#, c-format msgid "Cannot load icon from '%s'." -msgstr "Nem tudom megnyitni a(z) '%s' URL-t" +msgstr "Nem tudom betölteni az ikont '%s'-bõl." #: ../contrib/src/xrc/xmlres.cpp:337 -#, fuzzy, c-format +#, c-format msgid "Cannot load resources from file '%s'." -msgstr "Nem találom az erõforrás %s beágyazott fájlját." +msgstr "Nem tudom betölteni az erõforrást a(z) '%s' fájlból." #: ../src/html/htmlfilt.cpp:171 #, c-format @@ -775,9 +776,9 @@ msgid "Cannot open contents file: %s" msgstr "Nem tudom megnyitni a(z) %s tartalom fájlt" #: ../contrib/src/xrc/xmlres.cpp:311 -#, fuzzy, c-format +#, c-format msgid "Cannot open file '%s'." -msgstr "Nem tudom megnyitni a(z) '%s' fájlt" +msgstr "Nem tudom megnyitni a(z) '%s' fájlt." #: ../src/generic/dcpsg.cpp:1765 msgid "Cannot open file for PostScript printing!" @@ -789,23 +790,24 @@ msgid "Cannot open index file: %s" msgstr "Nem tudom a(z) %s index fájlt megnyitni" #: ../contrib/src/xrc/xmlres.cpp:881 -#, fuzzy, c-format +#, c-format msgid "Cannot parse coordinates from '%s'." -msgstr "Nem tudom megnyitni a(z) %s tartalom fájlt" +msgstr "Nem tudom értelmezni a koordinátákat '%s'-bõl." #: ../contrib/src/xrc/xmlres.cpp:922 -#, fuzzy, c-format +#, c-format msgid "Cannot parse dimension from '%s'." -msgstr "Nem tudom megszámolni a(z) '%s' könyvtárban a fájlokat" +msgstr "Nem tudom értelmezni a dimenziót '%s'-bõl." #: ../src/html/helpfrm.cpp:1265 msgid "Cannot print empty page." msgstr "Nem tudok üres oldalt nyomtatni." -#: ../src/msw/volume.cpp:188 ../src/msw/volume.cpp:519 -#, fuzzy, c-format +#: ../src/msw/volume.cpp:188 +#: ../src/msw/volume.cpp:519 +#, c-format msgid "Cannot read typename from '%s'!" -msgstr "Nem tudom olvasni a(z) '%s' értékét" +msgstr "Nem tudom elolvasni '%s' típusának nevét." #: ../src/unix/threadpsx.cpp:1049 msgid "Cannot retrieve thread scheduling policy." @@ -824,13 +826,12 @@ msgid "Celtic (ISO-8859-14)" msgstr "Kelta (ISO-8859-14)" #: ../src/common/fontmap.cpp:113 -#, fuzzy msgid "Central European (ISO-8859-2)" -msgstr "Közép-európai (ISO-8859-2/Latin 2)" +msgstr "Közép-európai (ISO-8859-2)" #: ../src/msw/dialup.cpp:746 msgid "Choose ISP to dial" -msgstr "Válassza ki a tárcsázandó ISPt" +msgstr "Válassza ki a tárcsázandó szolgáltatót (ISPt)!" #: ../src/gtk/fontdlg.cpp:122 msgid "Choose font" @@ -840,14 +841,15 @@ msgstr "V msgid "Clear the log contents" msgstr "A napló fájl törlése" -#: ../src/common/prntbase.cpp:429 ../src/generic/progdlgg.cpp:360 +#: ../src/common/prntbase.cpp:429 +#: ../src/generic/progdlgg.cpp:360 #: ../src/generic/proplist.cpp:506 msgid "Close" msgstr "Bezárás" #: ../src/univ/themes/win32.cpp:4547 msgid "Close\tAlt-F4" -msgstr "" +msgstr "Bezárás\tAlt-F4" #: ../src/generic/logg.cpp:491 msgid "Close this window" @@ -862,32 +864,35 @@ msgstr "Sz msgid "Config entry name cannot start with '%c'." msgstr "Konfigurációs bejegyzés nem kezdõdhet '%c'-vel." -#: ../src/generic/filedlgg.cpp:1357 ../src/gtk/filedlg.cpp:72 +#: ../src/generic/filedlgg.cpp:1357 +#: ../src/gtk/filedlg.cpp:72 msgid "Confirm" msgstr "Megerõsítés" #: ../src/msw/mimetype.cpp:686 msgid "Confirm registry update" -msgstr "" +msgstr "Registry frissítés megerõsítése" #: ../src/html/htmlwin.cpp:262 msgid "Connecting..." msgstr "Kapcsolódás..." -#: ../src/html/helpfrm.cpp:346 ../src/html/htmlhelp.cpp:565 +#: ../src/html/helpfrm.cpp:346 +#: ../src/html/htmlhelp.cpp:565 msgid "Contents" msgstr "Tartalom" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." -msgstr "" +msgid "Conversion to charset '%s' doesn't work." +msgstr "A '%s' jelkészletté alakítás nem mûködik." #: ../src/generic/prntdlgg.cpp:193 msgid "Copies:" msgstr "Másolat(ok):" -#: ../src/common/resourc2.cpp:287 ../src/common/resource.cpp:1806 +#: ../src/common/resourc2.cpp:287 +#: ../src/common/resource.cpp:1806 #: ../src/common/resource.cpp:1936 #, c-format msgid "Could not find resource include file %s." @@ -904,29 +909,24 @@ msgstr "Nem tudom bet #: ../src/common/resource.cpp:802 #, c-format -msgid "" -"Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" +msgid "Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" " or provide #define (see manual for caveats)" -msgstr "" -"Nem tudom feloldani a(z) '%s' vezérlõ osztályt vagy azonosítót. Használjon " -"(nem-nulla) egészet helyette\n" -"vagy adja meg #define után (az okokról lásd a kézikönyvet)" +msgstr "Nem tudom feloldani a(z) '%s' vezérlõ osztályt vagy azonosítót. Használjon (nem-nulla) egészet helyette\n" +"vagy adja meg #define után (a fenntartásokról lásd a kézikönyvet)" #: ../src/common/resource.cpp:1251 #, c-format -msgid "" -"Could not resolve menu id '%s'. Use (non-zero) integer instead\n" +msgid "Could not resolve menu id '%s'. Use (non-zero) integer instead\n" "or provide #define (see manual for caveats)" -msgstr "" -"Nem tudom feloldani a(z) '%s' menü azonosítót. Használjon (nem-nulla) " -"egészet helyette\n" -"vagy adja meg #define után (az okokról lásd a kézikönyvet)" +msgstr "Nem tudom feloldani a(z) '%s' menü azonosítót. Használjon (nem-nulla) egészet helyette\n" +"vagy adja meg #define után (a fenntartásokról lásd a kézikönyvet)" #: ../src/common/prntbase.cpp:806 msgid "Could not start document preview." msgstr "Nem tudom a dokument megtekintését kezdeményezni." -#: ../src/generic/printps.cpp:197 ../src/msw/printwin.cpp:252 +#: ../src/generic/printps.cpp:197 +#: ../src/msw/printwin.cpp:252 msgid "Could not start printing." msgstr "Nem tudom elindítani a nyomtatást." @@ -934,8 +934,10 @@ msgstr "Nem tudom elind msgid "Could not transfer data to window" msgstr "Nem tudtam adatot átvinni az ablakba" -#: ../src/msw/dragimag.cpp:148 ../src/msw/dragimag.cpp:184 -#: ../src/msw/imaglist.cpp:152 ../src/msw/imaglist.cpp:174 +#: ../src/msw/dragimag.cpp:148 +#: ../src/msw/dragimag.cpp:184 +#: ../src/msw/imaglist.cpp:152 +#: ../src/msw/imaglist.cpp:174 #: ../src/msw/imaglist.cpp:187 msgid "Couldn't add an image to the image list." msgstr "Nem tudok egy képet a képek listájához hozzáadni." @@ -944,24 +946,25 @@ msgstr "Nem tudok egy k msgid "Couldn't create a timer" msgstr "Nem tudtam idõzítõt létrehozni" -#: ../src/mgl/cursor.cpp:135 ../src/mgl/cursor.cpp:166 -#, fuzzy +#: ../src/mgl/cursor.cpp:135 +#: ../src/mgl/cursor.cpp:166 msgid "Couldn't create cursor." -msgstr "Nem tudtam idõzítõt létrehozni" +msgstr "Nem tudtam létrehozni a képernyõ pozició kijelzõt." -#: ../src/common/dynlib.cpp:347 ../src/common/dynload.cpp:295 +#: ../src/common/dynlib.cpp:347 +#: ../src/common/dynload.cpp:295 #, c-format msgid "Couldn't find symbol '%s' in a dynamic library" msgstr "Nem találom a(z) '%s' szimbólumot a dinamikus könyvtárban" -#: ../src/mac/thread.cpp:502 ../src/msw/thread.cpp:711 +#: ../src/mac/thread.cpp:502 +#: ../src/msw/thread.cpp:711 msgid "Couldn't get the current thread pointer" msgstr "Nem kaptam meg a mutatót a jelenlegi szálhoz" #: ../src/common/imagpng.cpp:298 msgid "Couldn't load a PNG image - file is corrupted or not enough memory." -msgstr "" -"Nem tudtam betölteni a PNG képet - hibás a fájl vagy nincs elég memória." +msgstr "Nem tudtam betölteni a PNG képet - hibás a fájl vagy nincs elég memória." #: ../src/msw/ole/dataobj.cpp:143 #, c-format @@ -973,13 +976,14 @@ msgstr "Nem tudtam regisztr msgid "Couldn't retrieve information about list control item %d." msgstr "Nem kaptam információt a lista vezérlõ %d elemérõl." -#: ../src/common/imagpng.cpp:334 ../src/common/imagpng.cpp:345 +#: ../src/common/imagpng.cpp:334 +#: ../src/common/imagpng.cpp:345 #: ../src/common/imagpng.cpp:353 -#, fuzzy msgid "Couldn't save PNG image." -msgstr "JPEG: Nem tudtam elmenteni a képet." +msgstr "Nem tudtam elmenteni a PNG képet." -#: ../src/mac/thread.cpp:749 ../src/msw/thread.cpp:1091 +#: ../src/mac/thread.cpp:749 +#: ../src/msw/thread.cpp:1091 msgid "Couldn't terminate thread" msgstr "Nem tudtam befejezni a szálat" @@ -987,7 +991,8 @@ msgstr "Nem tudtam befejezni a sz msgid "Create directory" msgstr "Hozzon létre könyvtárat" -#: ../src/generic/dirdlgg.cpp:103 ../src/generic/filedlgg.cpp:1119 +#: ../src/generic/dirdlgg.cpp:103 +#: ../src/generic/filedlgg.cpp:1119 msgid "Create new directory" msgstr "Hozzon létre egy új könyvtárat" @@ -996,9 +1001,8 @@ msgid "Current directory:" msgstr "A jelenlegi könyvtár:" #: ../src/common/fontmap.cpp:116 -#, fuzzy msgid "Cyrillic (ISO-8859-5)" -msgstr "Kelta (ISO-8859-14)" +msgstr "Ciril (ISO-8859-5)" #: ../src/common/paper.cpp:106 msgid "D sheet, 22 x 34 in" @@ -1009,34 +1013,28 @@ msgid "DDE poke request failed" msgstr "DDE adatbeírás nem sikerült" #: ../src/common/imagbmp.cpp:618 -#, fuzzy msgid "DIB Header: Cannot deal with 4bit encoded yet." -msgstr "BMP: 4bit kódolással még nem tudok dolgozni." +msgstr "DIB fej: 4bit kódolással még nem tudok dolgozni." #: ../src/common/imagbmp.cpp:836 -#, fuzzy msgid "DIB Header: Encoding doesn't match bitdepth." -msgstr "BMP: A kódolás nem felel meg a bitmélységnek." +msgstr "DIB fej: A kódolás nem felel meg a bitmélységnek." #: ../src/common/imagbmp.cpp:798 -#, fuzzy msgid "DIB Header: Image height > 32767 pixels for file." -msgstr "BMP: A képmagasság a fájl-ban > 32767 pixel." +msgstr "DIB fej: A képmagasság a fájl-ban > 32767 pixel." #: ../src/common/imagbmp.cpp:792 -#, fuzzy msgid "DIB Header: Image width > 32767 pixels for file." -msgstr "BMP: A képszélesség a fájl-ban > 32767 pixel." +msgstr "DIB fej: A képszélesség a fájl-ban > 32767 pixel." #: ../src/common/imagbmp.cpp:812 -#, fuzzy msgid "DIB Header: Unknown bitdepth in file." -msgstr "BMP: Ismeretlen bitmélység a fájl-ban." +msgstr "DIB fej: Ismeretlen bitmélység a fájl-ban." #: ../src/common/imagbmp.cpp:822 -#, fuzzy msgid "DIB Header: Unknown encoding in file." -msgstr "BMP: Ismeretlen kódolás a fájl-ban." +msgstr "DIB fej: Ismeretlen kódolás a fájl-ban." #: ../src/common/paper.cpp:128 msgid "DL Envelope, 110 x 220 mm" @@ -1052,27 +1050,20 @@ msgstr "Dekorat #: ../src/common/fontmap.cpp:386 msgid "Default encoding" -msgstr "" +msgstr "Az alapértelmezett kódolás" #: ../src/unix/snglinst.cpp:269 -#, fuzzy, c-format +#, c-format msgid "Deleted stale lock file '%s'." -msgstr "Nem tudom törölni a '%s' INI fájt" +msgstr "A régi '%s' lakat fájt töröltem." #: ../src/msw/dialup.cpp:346 -msgid "" -"Dial up functions are unavailable because the remote access service (RAS) is " -"not installed on this machine. Please install it." -msgstr "" -"A tárcsázó funkciók nem használhatók, mert a távoli elérés szolgáltatás " -"(RAS) nincs installálva ezen a gépen. Kérem installálja." +msgid "Dial up functions are unavailable because the remote access service (RAS) is not installed on this machine. Please install it." +msgstr "A tárcsázó funkciók nem használhatók, mert a távoli elérés szolgáltatás (RAS) nincs installálva ezen a gépen. Kérem installálja." #: ../src/os2/toplevel.cpp:329 -#, fuzzy msgid "Did you forget to include wx/os2/wx.rc in your resources?" -msgstr "" -"Nem sikerült létrehozni a párbeszéd ablakot. Valószínûleg elfelejtette " -"beépíteni a wx/msw/wx.rc fájlt az erõforrás fájljába." +msgstr "Elfelejtette beépíteni a wx/os2/wx.rc fájlt az erõforrás fájljába?" #: ../src/generic/tipdlg.cpp:178 msgid "Did you know..." @@ -1084,21 +1075,17 @@ msgid "Directory '%s' couldn't be created" msgstr "Nem sikerült létrehozni a(z) '%s' könyvtárat" #: ../src/mgl/dirmgl.cpp:217 -#, fuzzy, c-format +#, c-format msgid "Directory '%s' doesn't exist!" -msgstr "A könyvtár nem létezik" +msgstr "A(z) '%s' könyvtár nem létezik!" #: ../src/generic/dirdlgg.cpp:188 msgid "Directory does not exist" msgstr "A könyvtár nem létezik" #: ../src/html/helpfrm.cpp:374 -msgid "" -"Display all index items that contain given substring. Search is case " -"insensitive." -msgstr "" -"Írja ki az összes index bejegyzést, ami tartalmazza az adott bejegyzést. A " -"keresés kis/nagy betûre nem érzékeny." +msgid "Display all index items that contain given substring. Search is case insensitive." +msgstr "Írja ki az összes index bejegyzést, ami tartalmazza az adott bejegyzést. A keresés kis/nagy betûre nem érzékeny." #: ../src/html/helpfrm.cpp:540 msgid "Display options dialog" @@ -1107,13 +1094,17 @@ msgstr "K #: ../src/msw/mimetype.cpp:679 #, c-format msgid "" -"Do you want to overwrite the command used to %s files with extension \"%s\" " -"?\n" +"Do you want to overwrite the command used to %s files with extension \"%s\" ?\n" "Current value is \n" "%s, \n" "New value is \n" "%s %1" msgstr "" +"Akarja, hogy átírjam a fájloknál használt % parancsot (csak \"%s\" kiterjesztés esetén)?\n" +"A jelenlegi érték \n" +"%s, \n" +"Az új érték \n" +"%s %1" #: ../src/common/docview.cpp:440 #, c-format @@ -1129,9 +1120,8 @@ msgid "Done." msgstr "Kész." #: ../src/generic/fdrepdlg.cpp:157 -#, fuzzy msgid "Down" -msgstr "Kész" +msgstr "Le" #: ../src/common/paper.cpp:107 msgid "E sheet, 34 x 44 in" @@ -1147,22 +1137,26 @@ msgstr "A tal #: ../src/common/config.cpp:345 #, c-format -msgid "" -"Environment variables expansion failed: missing '%c' at position %d in '%s'." -msgstr "" -"A környezeti változók kifejtése nem sikerült: hiányzik '%c' a(z) %d helyen " -"'%s'-ból." - -#: ../src/generic/dirctrlg.cpp:702 ../src/generic/dirctrlg.cpp:720 -#: ../src/generic/dirctrlg.cpp:731 ../src/generic/dirdlgg.cpp:298 -#: ../src/generic/filedlgg.cpp:836 ../src/generic/filedlgg.cpp:933 -#: ../src/generic/filedlgg.cpp:947 ../src/generic/filedlgg.cpp:960 -#: ../src/generic/filedlgg.cpp:1322 ../src/generic/filedlgg.cpp:1372 -#: ../src/gtk/filedlg.cpp:80 ../src/gtk/fontdlg.cpp:71 +msgid "Environment variables expansion failed: missing '%c' at position %d in '%s'." +msgstr "A környezeti változók kifejtése nem sikerült: hiányzik '%c' a(z) %d helyen '%s'-ból." + +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:933 +#: ../src/generic/filedlgg.cpp:947 +#: ../src/generic/filedlgg.cpp:960 +#: ../src/generic/filedlgg.cpp:1322 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 +#: ../src/gtk/fontdlg.cpp:71 msgid "Error" msgstr "Hiba" -#: ../src/unix/utilsunx.cpp:1182 ../src/unix/utilsunx.cpp:1190 +#: ../src/unix/utilsunx.cpp:1182 +#: ../src/unix/utilsunx.cpp:1190 msgid "Error " msgstr "Hiba" @@ -1171,9 +1165,8 @@ msgid "Error creating directory" msgstr "Hiba a könyvtár létrehozásakor" #: ../src/common/imagbmp.cpp:845 -#, fuzzy msgid "Error in reading image DIB ." -msgstr "TIFF: Hiba a kép olvasásakor." +msgstr "Hiba a DIB kép olvasásakor." #: ../src/common/log.cpp:460 msgid "Error: " @@ -1196,20 +1189,26 @@ msgstr "Nem siker msgid "Executive, 7 1/4 x 10 1/2 in" msgstr "Executive, 7 1/4 x 10 1/2 hüvelyk" -#: ../src/common/resourc2.cpp:326 ../src/common/resourc2.cpp:1391 -#: ../src/common/resource.cpp:1845 ../src/common/resource.cpp:1975 +#: ../src/common/resourc2.cpp:326 +#: ../src/common/resourc2.cpp:1391 +#: ../src/common/resource.cpp:1845 +#: ../src/common/resource.cpp:1975 #: ../src/common/resource.cpp:3059 msgid "Expected '*' whilst parsing resource." msgstr "Az erõforrás fájl feldolgozásakor '*'-t vártam." -#: ../src/common/resourc2.cpp:342 ../src/common/resourc2.cpp:1407 -#: ../src/common/resource.cpp:1862 ../src/common/resource.cpp:1991 +#: ../src/common/resourc2.cpp:342 +#: ../src/common/resourc2.cpp:1407 +#: ../src/common/resource.cpp:1862 +#: ../src/common/resource.cpp:1991 #: ../src/common/resource.cpp:3076 msgid "Expected '=' whilst parsing resource." msgstr "Az erõforrás fájl feldolgozásakor '='-t vártam." -#: ../src/common/resourc2.cpp:312 ../src/common/resourc2.cpp:1377 -#: ../src/common/resource.cpp:1831 ../src/common/resource.cpp:1961 +#: ../src/common/resourc2.cpp:312 +#: ../src/common/resourc2.cpp:1377 +#: ../src/common/resource.cpp:1831 +#: ../src/common/resource.cpp:1961 #: ../src/common/resource.cpp:3045 msgid "Expected 'char' whilst parsing resource." msgstr "Az erõforrás fájl feldolgozásakor 'char'-t vártam." @@ -1221,17 +1220,16 @@ msgstr "Nem siker #: ../src/unix/snglinst.cpp:243 msgid "Failed to access lock file." -msgstr "" +msgstr "Nem sikerült elérni a lakat fájlt." #: ../src/common/filename.cpp:172 -#, fuzzy msgid "Failed to close file handle" -msgstr "Nem sikerült lezárni a vágólapot." +msgstr "Nem sikerült lezárni a file kezelõt." #: ../src/unix/snglinst.cpp:308 -#, fuzzy, c-format +#, c-format msgid "Failed to close lock file '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült lezárni a(z) '%s' lakat fájlt." #: ../src/msw/clipbrd.cpp:127 msgid "Failed to close the clipboard." @@ -1239,13 +1237,11 @@ msgstr "Nem siker #: ../src/msw/dialup.cpp:780 msgid "Failed to connect: missing username/password." -msgstr "" -"Nem sikerült létrehozni a kapcsolatot: hiányzik a felhasználói név vagy a " -"jelszó." +msgstr "Nem sikerült létrehozni a kapcsolatot: hiányzik a felhasználói név vagy a jelszó." #: ../src/msw/dialup.cpp:726 msgid "Failed to connect: no ISP to dial." -msgstr "Nem sikerült létrehozni a kapcsolatot: nincs tárcsázható ISP." +msgstr "Nem sikerült létrehozni a kapcsolatot: nincs tárcsázható szolgáltató (ISPÖ." #: ../src/msw/registry.cpp:597 #, c-format @@ -1255,14 +1251,12 @@ msgstr "Nem siker #: ../src/msw/registry.cpp:606 #, c-format msgid "Failed to copy the contents of registry key '%s' to '%s'." -msgstr "" -"Nem sikerült lemásolni a(z) '%s' registry bejegyzést tartalmát a(z) '%s'-be." +msgstr "Nem sikerült lemásolni a(z) '%s' registry kulcs tartalmát a(z) '%s'-be." #: ../src/common/filefn.cpp:1106 -#, fuzzy, c-format +#, c-format msgid "Failed to copy the file '%s' to '%s'" -msgstr "" -"Nem sikerült lemásolni a(z) '%s' registry bejegyzést tartalmát a(z) '%s'-be." +msgstr "Nem sikerült lemásolni a(z) '%s' fájlt a(z) '%s'-be." #: ../src/msw/dde.cpp:924 msgid "Failed to create DDE string" @@ -1277,51 +1271,46 @@ msgid "Failed to create a status bar." msgstr "Nem sikerült lérehozni az állapotsort." #: ../src/common/filename.cpp:717 -#, fuzzy msgid "Failed to create a temporary file name" -msgstr "Nem sikerült létrehozni az MDI szülõ keretet." +msgstr "Nem sikerült létrehozni átmeneti fájlnevet." #: ../src/msw/utilsexc.cpp:195 -#, fuzzy msgid "Failed to create an anonymous pipe" -msgstr "Nem sikerült lérehozni az állapotsort." +msgstr "Nem sikerült lérehozni a névtelen csövet." #: ../src/msw/dde.cpp:401 #, c-format msgid "Failed to create connection to server '%s' on topic '%s'" -msgstr "" -"Nem sikerült kapcsolatot létrehozni a '%s' kiszolgálóval a '%s' témában" +msgstr "Nem sikerült kapcsolatot létrehozni a '%s' kiszolgálóval a '%s' témában" #: ../src/msw/toplevel.cpp:293 -#, fuzzy msgid "Failed to create dialog. Incorrect DLGTEMPLATE?" -msgstr "Nem sikerült létrehozni a könyvtárat" +msgstr "Nem sikerült létrehozni a párbeszéd ablakot. Hibás lenne a DLGTEMPLATE?" #: ../src/generic/dirdlgg.cpp:201 -#, fuzzy, c-format -msgid "" -"Failed to create directory '%s'\n" +#, c-format +msgid "Failed to create directory '%s'\n" "(Do you have the required permissions?)" -msgstr "" -"\n" +msgstr "Nem sikerült létrehozni a '%s' könyvtárat.\n" "(Rendelkezik a szükséges jogosultsággal?)" #: ../src/msw/mimetype.cpp:168 -#, fuzzy, c-format +#, c-format msgid "Failed to create registry entry for '%s' files." -msgstr "Nem tudtam a(z) '%s' registry kulcsot '%s'-re átnevezni." +msgstr "Nem tudtam létrehozni registry bejegyzést a(z) '%s' fájlokra." #: ../src/msw/fdrepdlg.cpp:442 #, c-format msgid "Failed to create the standard find/replace dialog (error code %d)" -msgstr "" +msgstr "Nem sikerült létrehozni a keresés-helyettesítés párbeszéd ablakot (hibakód : %d) " #: ../src/html/winpars.cpp:430 #, c-format msgid "Failed to display HTML document in %s encoding" msgstr "Nem sikerült a HTML dokumentumot %s kódolással megjeleníteni" -#: ../src/mac/clipbrd.cpp:167 ../src/msw/clipbrd.cpp:139 +#: ../src/mac/clipbrd.cpp:167 +#: ../src/msw/clipbrd.cpp:139 msgid "Failed to empty the clipboard." msgstr "Nem sikerült kiüríteni a vágólapot." @@ -1334,47 +1323,44 @@ msgstr "Nem siker msgid "Failed to establish dialup connection: %s" msgstr "Nem sikerült létrehozni a telefonos kapcsolatot: %s" -#: ../src/unix/utilsunx.cpp:538 ../src/unix/utilsunx.cpp:555 +#: ../src/unix/utilsunx.cpp:538 +#: ../src/unix/utilsunx.cpp:555 #, c-format msgid "Failed to execute '%s'\n" msgstr "Nem sikerült végrehajtani '%s'-t\n" -#: ../src/common/resourc2.cpp:808 ../src/common/resource.cpp:2465 +#: ../src/common/resourc2.cpp:808 +#: ../src/common/resource.cpp:2465 #, c-format -msgid "" -"Failed to find XBM resource %s.\n" +msgid "Failed to find XBM resource %s.\n" "Forgot to use wxResourceLoadBitmapData?" -msgstr "" -"Nem találom a(z) %s XBM erõforrást.\n" +msgstr "Nem találom a(z) %s XBM erõforrást.\n" "Elfelejtette használni a wxResourceLoadBitmapData-t?" -#: ../src/common/resourc2.cpp:959 ../src/common/resource.cpp:2619 +#: ../src/common/resourc2.cpp:959 +#: ../src/common/resource.cpp:2619 #, c-format -msgid "" -"Failed to find XBM resource %s.\n" +msgid "Failed to find XBM resource %s.\n" "Forgot to use wxResourceLoadIconData?" -msgstr "" -"Nem találom a(z) %s XBM erõforrást.\n" +msgstr "Nem találom a(z) %s XBM erõforrást.\n" "Elfelejtette használni a wxResourceLoadIconData-t?" -#: ../src/common/resourc2.cpp:823 ../src/common/resource.cpp:2480 +#: ../src/common/resourc2.cpp:823 +#: ../src/common/resource.cpp:2480 #, c-format -msgid "" -"Failed to find XPM resource %s.\n" +msgid "Failed to find XPM resource %s.\n" "Forgot to use wxResourceLoadBitmapData?" -msgstr "" -"Nem találom a(z) %s XpM erõforrást.\n" +msgstr "Nem találom a(z) %s XpM erõforrást.\n" "Elfelejtette használni a wxResourceLoadBitmapData-t?" #: ../src/msw/dialup.cpp:678 #, c-format msgid "Failed to get ISP names: %s" -msgstr "Nem kaptam meg a(z) %s ISP neveket" +msgstr "Nem kaptam meg a(z) %s ISP(szolgáltató) neveket" #: ../src/mac/clipbrd.cpp:118 -#, fuzzy msgid "Failed to get clipboard data." -msgstr "Nem tudtam a vágólap adatot beállítani." +msgstr "Nem tudtam a vágólapról adatot kapni." #: ../src/msw/clipbrd.cpp:712 msgid "Failed to get data from the clipboard" @@ -1386,83 +1372,77 @@ msgstr "Nem kaptam meg az UTC rendszer id #: ../src/common/timercmn.cpp:237 msgid "Failed to get the local system time" -msgstr "Nem kaptam meg a helyi rendszer idõt" +msgstr "Nem kaptam meg a helyi rendszer idõt." #: ../src/common/filefn.cpp:1487 -#, fuzzy msgid "Failed to get the working directory" -msgstr "Nem sikerült létrehozni a könyvtárat" +msgstr "Nem sikerült létrehozni a munkakönyvtárat." #: ../src/univ/theme.cpp:120 msgid "Failed to initialize GUI: no built-in themes found." -msgstr "" +msgstr "Nem sikerült elindítani a GUIt: nem találtam beépített bõrt." #: ../src/msw/helpchm.cpp:69 msgid "Failed to initialize MS HTML Help." -msgstr "" +msgstr "Nem sikerült elindítani az MS HTML súgót." #: ../src/msw/glcanvas.cpp:729 -#, fuzzy msgid "Failed to initialize OpenGL" -msgstr "Nem tudom inicializálni az OLEt" +msgstr "Nem tudom elindítani az OpenGLt." #: ../src/unix/threadpsx.cpp:871 -msgid "" -"Failed to join a thread, potential memory leak detected - please restart the " -"program" -msgstr "" -"Nem tudtam a szálhoz csatlakozni, valószínûleg memória lyukat találtam - " -"kérem indítsa újra a programot" +msgid "Failed to join a thread, potential memory leak detected - please restart the program" +msgstr "Nem tudtam a szálhoz csatlakozni, valószínûleg memória lyukat találtam - kérem indítsa újra a programot" #: ../src/msw/utils.cpp:721 -#, fuzzy, c-format +#, c-format msgid "Failed to kill process %d" -msgstr "Nem tudtam átirányítani a gyermek processz be/kimenetét" +msgstr "Nem tudtam megölni a '%d' folyamatot." #: ../src/common/iconbndl.cpp:66 -#, fuzzy, c-format +#, c-format msgid "Failed to load image %d from file '%s'." -msgstr "Nem tudtam betölteni a(z) '%s' osztott könyvtárat" +msgstr "Nem tudtam betölteni a(z) %d'képet a '%s' fájlból." #: ../src/msw/volume.cpp:340 -#, fuzzy msgid "Failed to load mpr.dll." -msgstr "Nem tudtam a vágólap adatot beállítani." +msgstr "Nem tudtam betölteni az mpr.dll-t." -#: ../src/common/dynlib.cpp:274 ../src/common/dynload.cpp:197 +#: ../src/common/dynlib.cpp:274 +#: ../src/common/dynload.cpp:197 #, c-format msgid "Failed to load shared library '%s'" -msgstr "Nem tudtam betölteni a(z) '%s' osztott könyvtárat" +msgstr "Nem tudtam betölteni a(z) '%s' osztott könyvtárat." -#: ../src/common/dynlib.cpp:256 ../src/common/dynload.cpp:126 -#, fuzzy, c-format +#: ../src/common/dynlib.cpp:256 +#: ../src/common/dynload.cpp:126 +#, c-format msgid "Failed to load shared library '%s' Error '%s'" -msgstr "Nem tudtam betölteni a(z) '%s' osztott könyvtárat" +msgstr "Nem tudtam betölteni a(z) '%s' osztott könyvtárat, '%s' hiba miatt." #: ../src/unix/snglinst.cpp:192 -#, fuzzy, c-format +#, c-format msgid "Failed to lock the lock file '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült lelakatolni a(z) '%s' lakat fájlt." #: ../src/common/regex.cpp:251 -#, fuzzy, c-format +#, c-format msgid "Failed to match '%s' in regular expression: %s" -msgstr "Nem sikerült %s a(z) %s telefonos kapcsolatban" +msgstr "Nem sikerült megtalálni '%s'-t a(z) '%s' szabályos kifejezésben." #: ../src/common/filename.cpp:1644 -#, fuzzy, c-format +#, c-format msgid "Failed to modify file times for '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült módosítani a(z) idõket '%s'-re." #: ../src/common/filename.cpp:160 -#, fuzzy, c-format +#, c-format msgid "Failed to open '%s' for %s" -msgstr "Nem tudtam megnyitni a vágólapot." +msgstr "Nem tudtam megnyitni '%s'-t %s-ként." #: ../src/common/filename.cpp:739 -#, fuzzy msgid "Failed to open temporary file." -msgstr "Nem tudtam megnyitni a vágólapot." +msgstr "Nem tudtam megnyitni az átmeneti fájlt." #: ../src/msw/clipbrd.cpp:107 msgid "Failed to open the clipboard." @@ -1470,19 +1450,17 @@ msgstr "Nem tudtam megnyitni a v #: ../src/msw/clipbrd.cpp:616 msgid "Failed to put data on the clipboard" -msgstr "Nem tudtam adatokat tenni a vágólapra" +msgstr "Nem tudtam adatokat tenni a vágólapra." #: ../src/unix/snglinst.cpp:252 -#, fuzzy msgid "Failed to read PID from lock file." -msgstr "Nem sikerült létrehozni az MDI szülõ keretet." +msgstr "Nem sikerült elolvasni a PID-t a lakat fájlból." #: ../src/unix/utilsunx.cpp:629 msgid "Failed to redirect child process input/output" -msgstr "Nem tudtam átirányítani a gyermek processz be/kimenetét" +msgstr "Nem tudtam átirányítani a gyermek processz be/kimenetét." #: ../src/msw/utilsexc.cpp:600 -#, fuzzy msgid "Failed to redirect the child process IO" msgstr "Nem tudtam átirányítani a gyermek processz be/kimenetét" @@ -1497,14 +1475,14 @@ msgid "Failed to remember the encoding for the charset '%s'." msgstr "Nem emlékszem a '%s' jelkészlet kódolására." #: ../src/unix/snglinst.cpp:296 -#, fuzzy, c-format +#, c-format msgid "Failed to remove lock file '%s'" -msgstr "nem tudom eltávolítani a(z) '%s' fájlt" +msgstr "Nem tudom eltávolítani a(z) '%s' lakat fájlt." #: ../src/unix/snglinst.cpp:262 -#, fuzzy, c-format +#, c-format msgid "Failed to remove stale lock file '%s'." -msgstr "Nem tudtam a(z) '%s' registry értéket '%s'-re átnevezni." +msgstr "Nem tudtam eltávolítani az elavult '%s' lakat fájlt." #: ../src/msw/registry.cpp:443 #, c-format @@ -1521,37 +1499,37 @@ msgid "Failed to retrieve data from the clipboard." msgstr "Nem tudtam adatot elõvenni a vágólapról." #: ../src/common/filename.cpp:1710 -#, fuzzy, c-format +#, c-format msgid "Failed to retrieve file times for '%s'" -msgstr "Nem sikerült értelmezni a RAS hibaüzenet szövegét" +msgstr "Nem sikerült helyrehozni a fájl idõket '%s'-re." #: ../src/msw/dialup.cpp:442 msgid "Failed to retrieve text of RAS error message" -msgstr "Nem sikerült értelmezni a RAS hibaüzenet szövegét" +msgstr "Nem sikerült értelmezni a RAS hibaüzenet szövegét." #: ../src/msw/clipbrd.cpp:742 msgid "Failed to retrieve the supported clipboard formats" -msgstr "Nem tudtam meghatározni a támogatott vágólap formátumokat" +msgstr "Nem tudtam meghatározni a támogatott vágólap formátumokat." #: ../src/msw/dde.cpp:651 msgid "Failed to send DDE advise notification" -msgstr "Nem sikerült DDE tanácsot küldeni" +msgstr "Nem sikerült DDE tanácsot küldeni." #: ../src/common/ftp.cpp:368 -#, fuzzy, c-format +#, c-format msgid "Failed to set FTP transfer mode to %s." -msgstr "Nem tudtam a(z) %d szál prioritást beállítani." +msgstr "Nem tudtam a(z) '%s' FTP átviteli módot beállítani." #: ../src/msw/clipbrd.cpp:379 msgid "Failed to set clipboard data." msgstr "Nem tudtam a vágólap adatot beállítani." #: ../src/common/file.cpp:522 -#, fuzzy msgid "Failed to set temporary file permissions" -msgstr "Nem tudtam a(z) %d szál prioritást beállítani." +msgstr "Nem tudtam az átmeneti fájl engedélyeit beállítani." -#: ../src/unix/threadpsx.cpp:1213 ../src/unix/threadpsx.cpp:1224 +#: ../src/unix/threadpsx.cpp:1213 +#: ../src/unix/threadpsx.cpp:1224 #, c-format msgid "Failed to set thread priority %d." msgstr "Nem tudtam a(z) %d szál prioritást beállítani." @@ -1563,36 +1541,36 @@ msgstr "Nem tudtam a '%s' k #: ../src/unix/threadpsx.cpp:1397 msgid "Failed to terminate a thread." -msgstr "Nem tudtam lezárni a szálat." +msgstr "Nem tudtam befejezni a szálat." #: ../src/msw/dde.cpp:625 msgid "Failed to terminate the advise loop with DDE server" -msgstr "Nem tudtam lezárni a tanácskozási ciklust a DDE kiszolgálóval" +msgstr "Nem tudtam befejezni a tanácskozási ciklust a DDE kiszolgálóval." #: ../src/msw/dialup.cpp:913 #, c-format msgid "Failed to terminate the dialup connection: %s" -msgstr "Nem tudtam lezárni a(z) %s telefon kapcsolatot" +msgstr "Nem tudtam befejezni a(z) %s telefon kapcsolatot." #: ../src/common/filename.cpp:1659 -#, fuzzy, c-format +#, c-format msgid "Failed to touch the file '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült megérinteni a(z) '%s't." #: ../src/unix/snglinst.cpp:302 -#, fuzzy, c-format +#, c-format msgid "Failed to unlock lock file '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült felnyitni a(z) '%s' lakat fájlt." #: ../src/msw/dde.cpp:301 #, c-format msgid "Failed to unregister DDE server '%s'" -msgstr "Nem tudtam a(z) '%s' DDE kiszolgáló regisztrációját megszüntetni" +msgstr "Nem tudtam a(z) '%s' DDE kiszolgáló regisztrációját megszüntetni." #: ../src/unix/snglinst.cpp:173 -#, fuzzy, c-format +#, c-format msgid "Failed to write to lock file '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült írni a(z) '%s' lakat fájlba." #: ../src/generic/logg.cpp:379 msgid "Fatal error" @@ -1602,37 +1580,40 @@ msgstr "V msgid "Fatal error: " msgstr "Végzetes hiba:" -#: ../src/mac/app.cpp:1220 ../src/msw/app.cpp:1281 +#: ../src/mac/app.cpp:1220 +#: ../src/msw/app.cpp:1281 msgid "Fatal error: exiting" msgstr "Végzetes hiba: kilépés" #: ../src/mgl/bitmap.cpp:544 -#, fuzzy, c-format +#, c-format msgid "File %s does not exist." -msgstr ": a file nem létezik!" +msgstr "A(z) '%s' file nem létezik." -#: ../src/generic/filedlgg.cpp:1354 ../src/gtk/filedlg.cpp:69 +#: ../src/generic/filedlgg.cpp:1354 +#: ../src/gtk/filedlg.cpp:69 #, c-format msgid "File '%s' already exists, do you really want to overwrite it?" msgstr "A(z) '%s file már létezik, valóban felül akarja írni?" #: ../src/msw/filedlg.cpp:505 -#, fuzzy, c-format -msgid "" -"File '%s' already exists.\n" +#, c-format +msgid "File '%s' already exists.\n" "Do you want to replace it?" -msgstr "A(z) '%s file már létezik, valóban felül akarja írni?" +msgstr "A(z) '%s file már létezik. Akarja felülírni?" #: ../src/common/textcmn.cpp:158 msgid "File couldn't be loaded." msgstr "A fájlt nem tudtam betölteni." -#: ../src/common/docview.cpp:294 ../src/common/docview.cpp:331 +#: ../src/common/docview.cpp:294 +#: ../src/common/docview.cpp:331 #: ../src/common/docview.cpp:1422 msgid "File error" msgstr "Fájl hiba" -#: ../src/generic/dirctrlg.cpp:720 ../src/generic/filedlgg.cpp:947 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/filedlgg.cpp:947 msgid "File name exists already." msgstr "Már van ilyen nevû fájl." @@ -1665,13 +1646,16 @@ msgstr "A folyamat el msgid "Forward" msgstr "Elõre" -#: ../src/common/resourc2.cpp:295 ../src/common/resourc2.cpp:1360 -#: ../src/common/resource.cpp:1814 ../src/common/resource.cpp:1944 +#: ../src/common/resourc2.cpp:295 +#: ../src/common/resourc2.cpp:1360 +#: ../src/common/resource.cpp:1814 +#: ../src/common/resource.cpp:1944 #: ../src/common/resource.cpp:3028 msgid "Found " msgstr "Megtaláltam" -#: ../src/html/helpfrm.cpp:661 ../src/html/htmlhelp.cpp:460 +#: ../src/html/helpfrm.cpp:661 +#: ../src/html/htmlhelp.cpp:460 #, c-format msgid "Found %i matches" msgstr "%i megfelelõt találtam" @@ -1681,9 +1665,8 @@ msgid "From:" msgstr "Tól:" #: ../src/common/imaggif.cpp:100 -#, fuzzy msgid "GIF: Invalid gif index." -msgstr "Hibás TIFF kép index." +msgstr "GIF: Hibás gif index." #: ../src/common/imaggif.cpp:75 msgid "GIF: data stream seems to be truncated." @@ -1703,7 +1686,7 @@ msgstr "GIF: ismeretlen hiba!!!" #: ../src/univ/themes/gtk.cpp:623 msgid "GTK+ theme" -msgstr "" +msgstr "GTK+ bõr" #: ../src/common/paper.cpp:142 msgid "German Legal Fanfold, 8 1/2 x 13 in" @@ -1715,7 +1698,7 @@ msgstr "N #: ../src/common/image.cpp:762 msgid "GetUnusedColour:: No Unused Color in image " -msgstr "" +msgstr "GetUnusedColour:: nincs nem használt szín a képen " #: ../src/html/helpfrm.cpp:506 msgid "Go back" @@ -1723,7 +1706,7 @@ msgstr "Menj vissza" #: ../src/html/htmlhelp.cpp:541 msgid "Go back to the previous HTML page" -msgstr "" +msgstr "Vissza az elõzõ HTML oldalra" #: ../src/html/helpfrm.cpp:509 msgid "Go forward" @@ -1731,13 +1714,14 @@ msgstr "Menj el #: ../src/html/htmlhelp.cpp:543 msgid "Go forward to the next HTML page" -msgstr "" +msgstr "Menj elõre a következõ HTML oldalra" #: ../src/html/helpfrm.cpp:514 msgid "Go one level up in document hierarchy" msgstr "Menj a dokumentum hierarchia eggyel magasabb szintjére" -#: ../src/generic/dirdlgg.cpp:108 ../src/generic/filedlgg.cpp:1108 +#: ../src/generic/dirdlgg.cpp:108 +#: ../src/generic/filedlgg.cpp:1108 msgid "Go to home directory" msgstr "Menj a saját (hon) könyvtárba" @@ -1747,7 +1731,7 @@ msgstr "Menj a sz #: ../src/common/prntbase.cpp:379 msgid "Goto Page" -msgstr "" +msgstr "Meghatározott oldalra" #: ../src/common/fontmap.cpp:118 msgid "Greek (ISO-8859-7)" @@ -1759,26 +1743,22 @@ msgid "HTML anchor %s does not exist." msgstr "A(z) %s horgony nem létezik." #: ../src/html/helpfrm.cpp:1279 -msgid "" -"HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books " -"(*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All " -"files (*.*)|*" -msgstr "" -"HTML files (*.htm)|*.htm|HTML fájlok (*.html)|*.html|Súgó könyvek " -"(*.htb)|*.htb|Súgó könyvek (*.zip)|*.zip|HTML Súgó Project " -"(*.hhp)|*.hhp|Minden fájl (*.*)|*" +msgid "HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All files (*.*)|*" +msgstr "HTML files (*.htm)|*.htm|HTML fájlok (*.html)|*.html|Súgó könyvek (*.htb)|*.htb|Súgó könyvek (*.zip)|*.zip|HTML Súgó Project (*.hhp)|*.hhp|Minden fájl (*.*)|*" #: ../src/common/fontmap.cpp:119 msgid "Hebrew (ISO-8859-8)" msgstr "Héber (ISO-8859-8)" -#: ../src/common/dlgcmn.cpp:179 ../src/generic/proplist.cpp:516 -#: ../src/html/helpfrm.cpp:240 ../src/msw/mdi.cpp:1324 +#: ../src/common/dlgcmn.cpp:179 +#: ../src/generic/proplist.cpp:516 +#: ../src/html/helpfrm.cpp:240 +#: ../src/msw/mdi.cpp:1324 msgid "Help" msgstr "Súgó" #: ../src/html/htmlhelp.cpp:87 -#, fuzzy, c-format +#, c-format msgid "Help : %s" msgstr "Súgó: %s" @@ -1786,7 +1766,8 @@ msgstr "S msgid "Help Browser Options" msgstr "Súgó Böngészõ beállítások" -#: ../src/generic/helphtml.cpp:334 ../src/generic/helphtml.cpp:335 +#: ../src/generic/helphtml.cpp:334 +#: ../src/generic/helphtml.cpp:335 msgid "Help Index" msgstr "Súgó tartalomjegyzék" @@ -1800,53 +1781,51 @@ msgid "Help: %s" msgstr "Súgó: %s" #: ../src/common/imagbmp.cpp:858 -#, fuzzy msgid "ICO: Error in reading mask DIB." -msgstr "TIFF: Hiba a kép olvasásakor." - -#: ../src/common/imagbmp.cpp:960 ../src/common/imagbmp.cpp:1019 -#: ../src/common/imagbmp.cpp:1028 ../src/common/imagbmp.cpp:1039 -#: ../src/common/imagbmp.cpp:1083 ../src/common/imagbmp.cpp:1093 +msgstr "ICO: Hiba a DIB maszk olvasásakor." + +#: ../src/common/imagbmp.cpp:960 +#: ../src/common/imagbmp.cpp:1019 +#: ../src/common/imagbmp.cpp:1028 +#: ../src/common/imagbmp.cpp:1039 +#: ../src/common/imagbmp.cpp:1083 +#: ../src/common/imagbmp.cpp:1093 #: ../src/common/imagbmp.cpp:1102 -#, fuzzy msgid "ICO: Error writing the image file!" -msgstr "TIFF: Hiba a kép írásakor." +msgstr "ICO: Hiba a kép írásakor!" #: ../src/common/imagbmp.cpp:928 msgid "ICO: Image too tall for an icon." -msgstr "" +msgstr "ICO: A kép túl magas az ikon számára." #: ../src/common/imagbmp.cpp:934 msgid "ICO: Image too wide for an icon." -msgstr "" +msgstr "ICO: A kép túl széles az ikon számára." #: ../src/common/imagbmp.cpp:1167 -#, fuzzy msgid "ICO: Invalid icon index." -msgstr "Hibás TIFF kép index." +msgstr "ICO: Hibás icon index." #: ../src/common/imagiff.cpp:767 -#, fuzzy msgid "IFF: data stream seems to be truncated." -msgstr "GIF: az adatfolyam csonkítottnak tûnik." +msgstr "IFF: az adatfolyam csonkítottnak tûnik." #: ../src/common/imagiff.cpp:751 -#, fuzzy msgid "IFF: error in IFF image format." -msgstr "GIF: hiba a GIF képformátumban." +msgstr "IFF: hiba a GIFF képformátumban." #: ../src/common/imagiff.cpp:754 -#, fuzzy msgid "IFF: not enough memory." -msgstr "GIF: nincs elég tároló." +msgstr "IFF: nincs elég tároló." #: ../src/common/imagiff.cpp:757 -#, fuzzy msgid "IFF: unknown error!!!" -msgstr "GIF: ismeretlen hiba!!!" +msgstr "IFF: ismeretlen hiba!!!" -#: ../src/common/resourc2.cpp:989 ../src/common/resourc2.cpp:1000 -#: ../src/common/resource.cpp:2649 ../src/common/resource.cpp:2660 +#: ../src/common/resourc2.cpp:989 +#: ../src/common/resourc2.cpp:1000 +#: ../src/common/resource.cpp:2649 +#: ../src/common/resource.cpp:2660 #, c-format msgid "Icon resource specification %s not found." msgstr "Nem találom a(z) %s ikon erõforrás meghatározását." @@ -1855,7 +1834,8 @@ msgstr "Nem tal msgid "Ill-formed resource file syntax." msgstr "Nyelvtani hibás erõforrás fájl." -#: ../src/generic/dirctrlg.cpp:702 ../src/generic/filedlgg.cpp:933 +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/filedlgg.cpp:933 msgid "Illegal directory name." msgstr "Hibás könyvtár név." @@ -1865,43 +1845,40 @@ msgstr "Hib #: ../src/common/image.cpp:785 msgid "Image and Mask have different sizes" -msgstr "" +msgstr "A kép és a maszk mérete különbözõ" #: ../src/common/image.cpp:1064 #, c-format msgid "Image file is not of type %d." -msgstr "" +msgstr "A kép nem %d típusú." #: ../src/msw/textctrl.cpp:249 -msgid "" -"Impossible to create a rich edit control, using simple text control instead. " -"Please reinstall riched32.dll" -msgstr "" -"Nem tudok formázott szövegkontrollt készíteni, egyszerû szövegkontrollt " -"használok helyette. Kérem installálja újra a riched32.dll fájlt" +msgid "Impossible to create a rich edit control, using simple text control instead. Please reinstall riched32.dll" +msgstr "Nem tudok formázott szövegkontrollt készíteni, egyszerû szövegkontrollt használok helyette. Kérem installálja újra a riched32.dll fájlt" #: ../src/unix/utilsunx.cpp:390 msgid "Impossible to get child process input" -msgstr "Nem kapom meg a gyermek processz bemenetét" +msgstr "Nem kapom meg a gyermek processz bemenetét." #: ../src/common/filefn.cpp:1122 -#, fuzzy, c-format +#, c-format msgid "Impossible to get permissions for file '%s'" -msgstr "Nem kapom meg a gyermek processz bemenetét" +msgstr "Nem kapom meg a '%s' fájl engedélyeit." #: ../src/common/filefn.cpp:1136 -#, fuzzy, c-format +#, c-format msgid "Impossible to overwrite the file '%s'" -msgstr "nem sikerült kiüríteni a(z) '%s' fájl pufferét" +msgstr "Nem sikerült felülírni ni a(z) '%s' fájlt." #: ../src/common/filefn.cpp:1187 #, c-format msgid "Impossible to set permissions for the file '%s'" -msgstr "" +msgstr "Nem lehet beállítani a '%s' fájl engedélyeit." -#: ../src/html/helpfrm.cpp:387 ../src/html/htmlhelp.cpp:578 +#: ../src/html/helpfrm.cpp:387 +#: ../src/html/htmlhelp.cpp:578 msgid "Index" -msgstr "Tartalomjegyzék" +msgstr "Tartalom mutató" #: ../src/common/fontmap.cpp:123 msgid "Indian (ISO-8859-12)" @@ -1914,27 +1891,27 @@ msgstr "Hib #: ../contrib/src/xrc/xmlres.cpp:343 #, c-format msgid "Invalid XRC resource '%s': doesn't have root node 'resource'." -msgstr "" +msgstr "Érvénytelen '%s' erõforrás: nincs 'resource' csomópont." #: ../src/common/appcmn.cpp:378 -#, fuzzy, c-format +#, c-format msgid "Invalid display mode specification '%s'." -msgstr "Hibás fájl meghatározás." +msgstr "Hibás megjelenítési mód meghatározás: '%s'." #: ../src/x11/app.cpp:231 -#, fuzzy, c-format +#, c-format msgid "Invalid geometry specification '%s'" -msgstr "Hibás fájl meghatározás." +msgstr "Hibás geometriai meghatározás: '%s'." #: ../src/unix/snglinst.cpp:280 -#, fuzzy, c-format +#, c-format msgid "Invalid lock file '%s'." -msgstr "nem tudom lezárni a(z) '%s' fájlt." +msgstr "Hibás a(z) '%s' lakat fájl." #: ../src/common/regex.cpp:173 #, c-format msgid "Invalid regular expression '%s': %s" -msgstr "" +msgstr "Hibás szabályos kifejezés '%s': %s" #: ../src/generic/fontdlgg.cpp:227 msgid "Italic" @@ -1956,9 +1933,10 @@ msgstr "JPEG: Nem tudtam elmenteni a k msgid "KOI8-R" msgstr "KOI8-R" -#: ../src/generic/prntdlgg.cpp:426 ../src/generic/prntdlgg.cpp:620 +#: ../src/generic/prntdlgg.cpp:426 +#: ../src/generic/prntdlgg.cpp:620 msgid "Landscape" -msgstr "Fekvõ" +msgstr "Tájkép" #: ../src/common/paper.cpp:110 msgid "Ledger, 17 x 11 in" @@ -1984,16 +1962,17 @@ msgstr "Lev msgid "Light" msgstr "Vékony" -#: ../src/generic/filedlgg.cpp:1587 ../src/gtk/filedlg.cpp:249 -#: ../src/motif/filedlg.cpp:357 ../src/msw/filedlg.cpp:542 +#: ../src/generic/filedlgg.cpp:1587 +#: ../src/gtk/filedlg.cpp:249 +#: ../src/motif/filedlg.cpp:357 +#: ../src/msw/filedlg.cpp:542 #, c-format msgid "Load %s file" msgstr "A(z) %s fájl betöltése" #: ../src/generic/filedlgg.cpp:1589 -#, fuzzy msgid "Load file" -msgstr "A(z) %s fájl betöltése" +msgstr "Fájl betöltése" #: ../src/html/htmlwin.cpp:282 msgid "Loading : " @@ -2017,26 +1996,21 @@ msgid "MDI child" msgstr "MDI gyermek" #: ../src/msw/helpchm.cpp:60 -#, fuzzy -msgid "" -"MS HTML Help functions are unavailable because the MS HTML Help library is " -"not installed on this machine. Please install it." -msgstr "" -"A tárcsázó funkciók nem használhatók, mert a távoli elérés szolgáltatás " -"(RAS) nincs installálva ezen a gépen. Kérem installálja." +msgid "MS HTML Help functions are unavailable because the MS HTML Help library is not installed on this machine. Please install it." +msgstr "A MS HTML funkciók nem használhatók, mert a MS HTML Help könyvtár nincs installálva ezen a gépen. Kérem installálja." #: ../src/univ/themes/win32.cpp:4545 msgid "Ma&ximize" -msgstr "" +msgstr "Ma&ximalizál" #: ../src/unix/mimetype.cpp:2477 #, c-format msgid "Mailcap file %s, line %d: incomplete entry ignored." -msgstr "Mailcap fájl %s, %d. sor: elhanyagoltam a hiányos elemet." +msgstr "Mailcap fájl %s, %d. sor: elhanyagoltam a hiányos bejegyzést." #: ../src/generic/fdrepdlg.cpp:152 msgid "Match case" -msgstr "" +msgstr "Kis/nagybetû megkülönböztetés" #: ../src/common/fs_mem.cpp:144 #, c-format @@ -2045,11 +2019,11 @@ msgstr "A VFS mem #: ../src/univ/themes/metal.cpp:174 msgid "Metal theme" -msgstr "" +msgstr "Fém bõr" #: ../src/univ/themes/win32.cpp:4543 msgid "Mi&nimize" -msgstr "" +msgstr "Mi&nimalizál" #: ../src/unix/mimetype.cpp:2102 #, c-format @@ -2059,7 +2033,7 @@ msgstr "%s mime-t #: ../src/mgl/app.cpp:173 #, c-format msgid "Mode %ix%i-%i not available." -msgstr "" +msgstr "A %ix%i-%i mód nem létezik." #: ../src/generic/fontdlgg.cpp:222 msgid "Modern" @@ -2077,8 +2051,10 @@ msgstr "M msgid "Name" msgstr "Név" -#: ../src/generic/dirdlgg.cpp:272 ../src/generic/dirdlgg.cpp:282 -#: ../src/generic/filedlgg.cpp:812 ../src/generic/filedlgg.cpp:821 +#: ../src/generic/dirdlgg.cpp:272 +#: ../src/generic/dirdlgg.cpp:282 +#: ../src/generic/filedlgg.cpp:812 +#: ../src/generic/filedlgg.cpp:821 msgid "NewName" msgstr "ÚjNév" @@ -2086,21 +2062,25 @@ msgstr " msgid "Next page" msgstr "Következõ oldal" -#: ../src/common/dlgcmn.cpp:156 ../src/mac/msgdlg.cpp:78 +#: ../src/common/dlgcmn.cpp:156 +#: ../src/mac/msgdlg.cpp:78 #: ../src/motif/msgdlg.cpp:182 msgid "No" msgstr "Nem" #: ../src/common/image.cpp:793 msgid "No Unused Color in image being masked" -msgstr "" +msgstr "A képben nincs maszkolva nem használt szín " -#: ../src/common/resourc2.cpp:814 ../src/common/resourc2.cpp:965 -#: ../src/common/resource.cpp:2471 ../src/common/resource.cpp:2625 +#: ../src/common/resourc2.cpp:814 +#: ../src/common/resourc2.cpp:965 +#: ../src/common/resource.cpp:2471 +#: ../src/common/resource.cpp:2625 msgid "No XBM facility available!" msgstr "Nincs XBM felhasználási lehetõség!" -#: ../src/common/resourc2.cpp:983 ../src/common/resource.cpp:2643 +#: ../src/common/resourc2.cpp:983 +#: ../src/common/resource.cpp:2643 msgid "No XPM icon facility available!" msgstr "Nincs XPM ikon felhasználási lehetõség!" @@ -2113,42 +2093,48 @@ msgstr "Nem tal msgid "" "No font for displaying text in encoding '%s' found,\n" "but an alternative encoding '%s' is available.\n" -"Do you want to use this encoding (otherwise you will have to choose another " -"one)?" +"Do you want to use this encoding (otherwise you will have to choose another one)?" msgstr "" +"Nem találtam jelkészletet a(z) '%s' kódoláshoz,\n" +"de a vagylagos '%s' kódolás elérhetõ.\n" +"Akarja használni ezt a kódolást (egyébként másikat kell választania)?" #: ../src/common/fontmap.cpp:870 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found.\n" "Would you like to select a font to be used for this encoding\n" "(otherwise the text in this encoding will not be shown correctly)?" msgstr "" -"A(z) '%s' kódolás ismeretlen.\n" +"Nem találtam jelkészletet a(z) '%s' kódoláshoz.\n" "Szeretne választani egy jelkészletet ehhez a kódoláshoz\n" -"(Különben az e kódolással készített szöveg nem jelezhetõ ki helyesen)?" +"(különben az e kódolással készített szöveg nem jelezhetõ ki helyesen)?" #: ../contrib/src/xrc/xmlres.cpp:523 #, c-format msgid "No handler found for XML node '%s', class '%s'!" -msgstr "" +msgstr "A '%s', class '%s' XML csomóponthoz nem találtam meghajtót!" -#: ../src/common/image.cpp:1046 ../src/common/image.cpp:1089 +#: ../src/common/image.cpp:1046 +#: ../src/common/image.cpp:1089 msgid "No handler found for image type." msgstr "Ilyen típusú képhez nem találtam kezelõt." -#: ../src/common/image.cpp:1054 ../src/common/image.cpp:1097 +#: ../src/common/image.cpp:1054 +#: ../src/common/image.cpp:1097 #: ../src/common/image.cpp:1131 #, c-format msgid "No image handler for type %d defined." msgstr "%d típusú képhez nincs kezelõ meghatározva." -#: ../src/common/image.cpp:1115 ../src/common/image.cpp:1147 +#: ../src/common/image.cpp:1115 +#: ../src/common/image.cpp:1147 #, c-format msgid "No image handler for type %s defined." msgstr "%s típusú képhez nincs kezelõ meghatározva." -#: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:436 +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:436 #: ../src/html/htmlhelp.cpp:441 msgid "No matching page found yet" msgstr "Még nem találtam egy megfelelõ oldalt" @@ -2157,7 +2143,8 @@ msgstr "M msgid "Nordic (ISO-8859-10)" msgstr "Északi (ISO-8859-10)" -#: ../src/generic/fontdlgg.cpp:226 ../src/generic/fontdlgg.cpp:229 +#: ../src/generic/fontdlgg.cpp:226 +#: ../src/generic/fontdlgg.cpp:229 msgid "Normal" msgstr "Normál" @@ -2169,21 +2156,29 @@ msgstr "Norm msgid "Note, 8 1/2 x 11 in" msgstr "Feljegyzés, 8 1/2 x 11 hüvelyk" -#: ../src/common/dlgcmn.cpp:162 ../src/generic/dirdlgg.cpp:151 -#: ../src/generic/filedlgg.cpp:1165 ../src/generic/filedlgg.cpp:1176 -#: ../src/generic/fontdlgg.cpp:253 ../src/generic/logg.cpp:739 -#: ../src/generic/prntdlgg.cpp:452 ../src/generic/proplist.cpp:499 -#: ../src/gtk/filedlg.cpp:167 ../src/gtk/fontdlg.cpp:136 +#: ../src/common/dlgcmn.cpp:162 +#: ../src/generic/dirdlgg.cpp:151 +#: ../src/generic/filedlgg.cpp:1165 +#: ../src/generic/filedlgg.cpp:1176 +#: ../src/generic/fontdlgg.cpp:253 +#: ../src/generic/logg.cpp:739 +#: ../src/generic/prntdlgg.cpp:452 +#: ../src/generic/proplist.cpp:499 +#: ../src/gtk/filedlg.cpp:167 +#: ../src/gtk/fontdlg.cpp:136 #: ../src/html/helpfrm.cpp:972 msgid "OK" msgstr "Igen" -#: ../src/html/helpfrm.cpp:528 ../src/html/helpfrm.cpp:1274 +#: ../src/html/helpfrm.cpp:528 +#: ../src/html/helpfrm.cpp:1274 msgid "Open HTML document" msgstr "Nyisd meg a HTML dokumentumot" -#: ../src/generic/dirctrlg.cpp:731 ../src/generic/dirdlgg.cpp:298 -#: ../src/generic/filedlgg.cpp:836 ../src/generic/filedlgg.cpp:960 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:960 msgid "Operation not permitted." msgstr "Ez a mûvelet nincs megengedve." @@ -2206,11 +2201,13 @@ msgstr "A(z) '%s' be msgid "Options" msgstr "Lehetõségek" -#: ../src/generic/prntdlgg.cpp:428 ../src/generic/prntdlgg.cpp:621 +#: ../src/generic/prntdlgg.cpp:428 +#: ../src/generic/prntdlgg.cpp:621 msgid "Orientation" msgstr "Irányultság" -#: ../src/common/imagpcx.cpp:455 ../src/common/imagpcx.cpp:478 +#: ../src/common/imagpcx.cpp:455 +#: ../src/common/imagpcx.cpp:478 msgid "PCX: couldn't allocate memory" msgstr "PCX: nem tudtam memóriát foglalni" @@ -2226,7 +2223,8 @@ msgstr "PCX: msgid "PCX: this is not a PCX file." msgstr "PCX: ez nem PCX fájl." -#: ../src/common/imagpcx.cpp:457 ../src/common/imagpcx.cpp:479 +#: ../src/common/imagpcx.cpp:457 +#: ../src/common/imagpcx.cpp:479 msgid "PCX: unknown error !!!" msgstr "PCX: ismeretlen hiba !!!" @@ -2264,12 +2262,14 @@ msgstr "Oldal be msgid "Pages" msgstr "Oldalak" -#: ../src/generic/prntdlgg.cpp:538 ../src/generic/prntdlgg.cpp:609 +#: ../src/generic/prntdlgg.cpp:538 +#: ../src/generic/prntdlgg.cpp:609 #: ../src/generic/prntdlgg.cpp:794 msgid "Paper Size" msgstr "Papír méret" -#: ../src/generic/prntdlgg.cpp:418 ../src/generic/prntdlgg.cpp:598 +#: ../src/generic/prntdlgg.cpp:418 +#: ../src/generic/prntdlgg.cpp:598 #: ../src/generic/prntdlgg.cpp:790 msgid "Paper size" msgstr "Papír méret" @@ -2286,13 +2286,14 @@ msgstr "A cs msgid "Please choose a valid font." msgstr "Kérem válasszon egy érvényes jelkészletet." -#: ../src/generic/filedlgg.cpp:1372 ../src/gtk/filedlg.cpp:80 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 msgid "Please choose an existing file." msgstr "Kérem válasszon egy létezõ fájlt." #: ../src/msw/dialup.cpp:747 msgid "Please choose which ISP do you want to connect to" -msgstr "Kérem válassza ki, melyik ISP-hez akar kapcsolódni" +msgstr "Kérem válassza ki, melyik szolgáltatóhoz(ISP) akar kapcsolódni." #: ../src/msw/listctrl.cpp:535 #, c-format @@ -2301,12 +2302,16 @@ msgid "" "(at least version 4.70 is required but you have %d.%02d)\n" "or this program won't operate correctly." msgstr "" +"Kérem installálja a comctl32.dll újabb verzióját\n" +"(legalább a 4.70 kellene, de Önnek a %d.%02d van)\n" +"vagy ez a program nem mûködik megfelelõen." #: ../src/common/prntbase.cpp:112 msgid "Please wait while printing\n" -msgstr "" +msgstr "Kérem várjon amíg nyomtatok\n" -#: ../src/generic/prntdlgg.cpp:425 ../src/generic/prntdlgg.cpp:619 +#: ../src/generic/prntdlgg.cpp:425 +#: ../src/generic/prntdlgg.cpp:619 msgid "Portrait" msgstr "Álló" @@ -2316,7 +2321,7 @@ msgstr "PostScript f #: ../src/html/htmlhelp.cpp:509 msgid "Preparing help window..." -msgstr "" +msgstr "Elõkészítem a súgó ablakot..." #: ../src/html/helpfrm.cpp:964 msgid "Preview:" @@ -2326,7 +2331,8 @@ msgstr "El msgid "Previous page" msgstr "Elõzõ oldal" -#: ../src/generic/prntdlgg.cpp:110 ../src/generic/prntdlgg.cpp:124 +#: ../src/generic/prntdlgg.cpp:110 +#: ../src/generic/prntdlgg.cpp:124 msgid "Print" msgstr "Nyomtatás" @@ -2334,7 +2340,8 @@ msgstr "Nyomtat msgid "Print Preview" msgstr "Nyomtatási kép" -#: ../src/common/prntbase.cpp:782 ../src/common/prntbase.cpp:806 +#: ../src/common/prntbase.cpp:782 +#: ../src/common/prntbase.cpp:806 msgid "Print Preview Failure" msgstr "Nyomtatási kép hiba" @@ -2356,7 +2363,7 @@ msgstr "Nyomtat #: ../src/html/helpfrm.cpp:534 msgid "Print this page" -msgstr "Nyomtatsd ezt az oldalt" +msgstr "Nyomtasd ezt az oldalt" #: ../src/generic/prntdlgg.cpp:147 msgid "Print to File" @@ -2382,8 +2389,8 @@ msgstr "Nyomtat msgid "Printer..." msgstr "Nyomtató..." -#: ../src/common/prntbase.cpp:109 ../src/common/prntbase.cpp:154 -#, fuzzy +#: ../src/common/prntbase.cpp:109 +#: ../src/common/prntbase.cpp:154 msgid "Printing " msgstr "Nyomtatás" @@ -2412,7 +2419,8 @@ msgstr "Quarto, 215 x 275 mm" msgid "Question" msgstr "Kérdés" -#: ../src/common/ffile.cpp:125 ../src/common/ffile.cpp:146 +#: ../src/common/ffile.cpp:125 +#: ../src/common/ffile.cpp:146 #, c-format msgid "Read error on file '%s'" msgstr "Olvasási hiba a(z) '%s' fájlban" @@ -2420,7 +2428,7 @@ msgstr "Olvas #: ../contrib/src/xrc/xmlres.cpp:498 #, c-format msgid "Referenced object node with ref=\"%s\" not found!" -msgstr "" +msgstr "A ref=\"%s\" számmal hivatkozott objektum csomópontot nem találom!" #: ../src/msw/registry.cpp:535 #, c-format @@ -2450,7 +2458,7 @@ msgstr "M #: ../src/msw/thread.cpp:246 msgid "ReleaseMutex()" -msgstr "" +msgstr "ReleaseMutex()" #: ../src/generic/helphtml.cpp:334 msgid "Relevant entries:" @@ -2465,17 +2473,16 @@ msgid "Remove current page from bookmarks" msgstr "Töröld ezt az oldalt a könyvjelzõk közül" #: ../src/generic/fdrepdlg.cpp:177 -#, fuzzy msgid "Replace &all" -msgstr "Helyettesítsem a(z) '%s' fájlt?" +msgstr "Helyettesítsem &mindet" #: ../src/generic/fdrepdlg.cpp:129 msgid "Replace with:" -msgstr "" +msgstr "Helyette:" #: ../contrib/src/xrc/xmlres.cpp:360 msgid "Resource files must have same version number!" -msgstr "" +msgstr "Az erõforrás fájloknak azonos verziószámúaknak kell lenniük!" #: ../src/generic/prntdlgg.cpp:644 msgid "Right margin (mm):" @@ -2485,8 +2492,10 @@ msgstr "Jobb marg msgid "Roman" msgstr "Roman" -#: ../src/generic/filedlgg.cpp:1602 ../src/gtk/filedlg.cpp:265 -#: ../src/motif/filedlg.cpp:359 ../src/msw/filedlg.cpp:544 +#: ../src/generic/filedlgg.cpp:1602 +#: ../src/gtk/filedlg.cpp:265 +#: ../src/motif/filedlg.cpp:359 +#: ../src/msw/filedlg.cpp:544 #, c-format msgid "Save %s file" msgstr "A(z) %s fájl elmentése" @@ -2496,9 +2505,8 @@ msgid "Save as" msgstr "Mentés másként" #: ../src/generic/filedlgg.cpp:1604 -#, fuzzy msgid "Save file" -msgstr "A(z) %s fájl elmentése" +msgstr "Fájl elmentése" #: ../src/generic/logg.cpp:487 msgid "Save log contents to file" @@ -2506,45 +2514,40 @@ msgstr "Mentsd a napl #: ../src/mgl/window.cpp:132 msgid "Screenshot captured: " -msgstr "" +msgstr "Az ernyõképet elmentettem: " #: ../src/generic/fontdlgg.cpp:223 msgid "Script" msgstr "Script" -#: ../src/html/helpfrm.cpp:408 ../src/html/helpfrm.cpp:423 +#: ../src/html/helpfrm.cpp:408 +#: ../src/html/helpfrm.cpp:423 #: ../src/html/htmlhelp.cpp:610 msgid "Search" msgstr "Keresés" #: ../src/html/helpfrm.cpp:410 -msgid "" -"Search contents of help book(s) for all occurences of the text you typed " -"above" -msgstr "" -"Keresd meg a fentebb beírt szöveg valamennyi elõfordulását a súgó " -"könyv(ek)ben" +msgid "Search contents of help book(s) for all occurences of the text you typed above" +msgstr "Keresd meg a fentebb beírt szöveg valamennyi elõfordulását a súgó könyv(ek)ben" #: ../src/generic/fdrepdlg.cpp:158 -#, fuzzy msgid "Search direction" -msgstr "Hozzon létre könyvtárat" +msgstr "Keresési irány" #: ../src/generic/fdrepdlg.cpp:117 -#, fuzzy msgid "Search for:" -msgstr "Keresés" +msgstr "Keresés:" #: ../src/html/helpfrm.cpp:789 msgid "Search in all books" msgstr "Keresés az összes könyvben" #: ../src/html/htmlhelp.cpp:593 -#, fuzzy msgid "Search!" -msgstr "Keresés" +msgstr "Keress!" -#: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:383 +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:383 #: ../src/html/htmlhelp.cpp:441 msgid "Searching..." msgstr "Keresek..." @@ -2560,13 +2563,14 @@ msgstr "Keres #: ../src/common/docview.cpp:1538 msgid "Select a document template" -msgstr "Válasszon dokumentum template-et" +msgstr "Válasszon dokumentum mintát" #: ../src/common/docview.cpp:1614 msgid "Select a document view" msgstr "Válasszon dokumentum nézetet" -#: ../src/common/docview.cpp:1405 ../src/common/docview.cpp:1456 +#: ../src/common/docview.cpp:1405 +#: ../src/common/docview.cpp:1456 msgid "Select a file" msgstr "Válasszon fájlt" @@ -2585,9 +2589,7 @@ msgstr "Be #: ../src/msw/dialup.cpp:518 msgid "Several active dialup connections found, choosing one randomly." -msgstr "" -"Több aktív telefonkapcsolatot találtam, az egyiket véletlenszerûen " -"kiválasztom." +msgstr "Több aktív telefonkapcsolatot találtam, az egyiket véletlenszerûen kiválasztom." #: ../src/html/helpfrm.cpp:364 msgid "Show all" @@ -2595,18 +2597,19 @@ msgstr "Mutatsd mindet" #: ../src/html/helpfrm.cpp:375 msgid "Show all items in index" -msgstr "Mutatsd meg a tartalomjegyzék valamennyi elemét" +msgstr "Mutasd meg a tartalom mutató valamennyi elemét" #: ../src/generic/dirdlgg.cpp:135 -#, fuzzy msgid "Show hidden directories" -msgstr "Mutatsd meg a rejtett fájlokat" +msgstr "Mutasd meg a rejtett könyvtárokat" -#: ../src/generic/filedlgg.cpp:1160 ../src/generic/filedlgg.cpp:1182 +#: ../src/generic/filedlgg.cpp:1160 +#: ../src/generic/filedlgg.cpp:1182 msgid "Show hidden files" -msgstr "Mutatsd meg a rejtett fájlokat" +msgstr "Mutasd meg a rejtett fájlokat" -#: ../src/html/helpfrm.cpp:501 ../src/html/htmlhelp.cpp:538 +#: ../src/html/helpfrm.cpp:501 +#: ../src/html/htmlhelp.cpp:538 msgid "Show/hide navigation panel" msgstr "Bemutatja/elrejti az irányító elemeket" @@ -2616,13 +2619,14 @@ msgstr "M #: ../src/generic/fontdlgg.cpp:228 msgid "Slant" -msgstr "Dõlt" +msgstr "Ferde" #: ../src/common/docview.cpp:304 msgid "Sorry, could not open this file for saving." msgstr "Sajnálom, nem tudtam megnyitni a fájlt mentésre." -#: ../src/common/docview.cpp:341 ../src/common/docview.cpp:354 +#: ../src/common/docview.cpp:341 +#: ../src/common/docview.cpp:354 #: ../src/common/docview.cpp:1424 msgid "Sorry, could not open this file." msgstr "Sajnálom, nem tudtam megnyitni ezt a fájlt." @@ -2646,13 +2650,14 @@ msgstr " #: ../contrib/src/xrc/xmlres.cpp:558 #, c-format msgid "Subclass '%s' not found for resource '%s', not subclassing!" -msgstr "" +msgstr "A(z) '%s' alosztályt nem találtama(z) '%s' erõforráshoz, nem tudom használni!" #: ../src/generic/fontdlgg.cpp:224 msgid "Swiss" msgstr "Svájci" -#: ../src/common/imagtiff.cpp:204 ../src/common/imagtiff.cpp:215 +#: ../src/common/imagtiff.cpp:204 +#: ../src/common/imagtiff.cpp:215 #: ../src/common/imagtiff.cpp:326 msgid "TIFF: Couldn't allocate memory." msgstr "TIFF: Nem tudtam memóriát foglalni." @@ -2691,7 +2696,7 @@ msgstr "Thai (ISO-8859-11)" #: ../src/common/ftp.cpp:569 msgid "The FTP server doesn't support passive mode." -msgstr "" +msgstr "Az FTP kiszolgáló nem támogatja a passzív módot." #: ../src/common/fontmap.cpp:630 #, c-format @@ -2710,28 +2715,23 @@ msgid "The clipboard format '%d' doesn't exist." msgstr "A(z) '%d' vágólap formátum nem létezik." #: ../src/generic/dirdlgg.cpp:186 -#, fuzzy, c-format -msgid "" -"The directory '%s' does not exist\n" +#, c-format +msgid "The directory '%s' does not exist\n" "Create it now?" -msgstr "" -"\n" -"nem létezik\n" +msgstr "A '%s' könyvtár nem létezik.\n" "Létrehozzam most?" #: ../src/common/docview.cpp:1802 -#, fuzzy, c-format -msgid "" -"The file '%s' doesn't exist and couldn't be opened.\n" +#, c-format +msgid "The file '%s' doesn't exist and couldn't be opened.\n" "It has been removed from the most recently used files list." -msgstr "" -"A(z) '%s' fájl nem létezik és nem nyitható meg.\n" -"Az MRU fájlok listájáról is el van távolítva." +msgstr "A(z) '%s' fájl nem létezik és nem nyitható meg.\n" +"A legutóbb használt fájlok listájáról is el van távolítva." #: ../src/common/filename.cpp:896 #, c-format msgid "The path '%s' contains too many \"..\"!" -msgstr "" +msgstr "A(z) '%s' útvonal túl sok \"..\"-t tartalmaz!" #: ../src/common/cmdline.cpp:845 #, c-format @@ -2749,39 +2749,24 @@ msgstr "A(z) '%s' be #: ../src/msw/dialup.cpp:406 #, c-format -msgid "" -"The version of remote access service (RAS) installed on this machine is " -"tooold, please upgrade (the following required function is missing: %s)." -msgstr "" -"Az ezen a gépre installált távoli hozzáférési lehetõség (RAS) túl régi, " -"kérem frissítsen (A(z) %s szükséges funkció hiányzik)." +msgid "The version of remote access service (RAS) installed on this machine is tooold, please upgrade (the following required function is missing: %s)." +msgstr "Az ezen a gépre installált távoli hozzáférési lehetõség (RAS) túl régi, kérem frissítsen (A(z) %s szükséges funkció hiányzik)." #: ../src/html/htmprint.cpp:545 -msgid "" -"There was a problem during page setup: you may need to set a default printer." -msgstr "" +msgid "There was a problem during page setup: you may need to set a default printer." +msgstr "Az oldal beállításakor hiba történt: lehet hogy az alapértelmezett nyomtatót kellene beállítania." #: ../src/msw/thread.cpp:1214 -msgid "" -"Thread module initialization failed: can not store value in thread local " -"storage" -msgstr "" -"A szál modul inicializálása nem sikerült: nem tudok értéket tárolni a szál " -"helyi tárolójába" +msgid "Thread module initialization failed: can not store value in thread local storage" +msgstr "A szál modul inicializálása nem sikerült: nem tudok értéket tárolni a szál helyi tárolójába" #: ../src/unix/threadpsx.cpp:1568 msgid "Thread module initialization failed: failed to create thread key" -msgstr "" -"A szál modul inicializálása nem sikerült: nem sikerült a szálhoz kulcsot " -"készíteni" +msgstr "A szál modul inicializálása nem sikerült: nem sikerült a szálhoz kulcsot készíteni" #: ../src/msw/thread.cpp:1202 -msgid "" -"Thread module initialization failed: impossible to allocate index in thread " -"local storage" -msgstr "" -"A szál modul inicializálása nem sikerült: nem lehet indexet foglalni a szál " -"helyi tárolájában" +msgid "Thread module initialization failed: impossible to allocate index in thread local storage" +msgstr "A szál modul inicializálása nem sikerült: nem lehet indexet foglalni a szál helyi tárolájában" #: ../src/unix/threadpsx.cpp:1076 msgid "Thread priority setting is ignored." @@ -2789,11 +2774,11 @@ msgstr "A sz #: ../src/msw/mdi.cpp:189 msgid "Tile &Horizontally" -msgstr "" +msgstr "Csempék &Vízszintesen" #: ../src/msw/mdi.cpp:190 msgid "Tile &Vertically" -msgstr "" +msgstr "Csempék &Függõlegesen" #: ../src/generic/filedlgg.cpp:701 msgid "Time" @@ -2818,8 +2803,7 @@ msgstr "Fels #: ../src/common/fs_mem.cpp:202 #, c-format msgid "Trying to remove file '%s' from memory VFS, but it is not loaded!" -msgstr "" -"Megpróbáltam eltávolítani a(z) '%s' fájlt a VFS tárolóból, de nincs betöltve!" +msgstr "Megpróbáltam eltávolítani a(z) '%s' fájlt a VFS tárolóból, de nincs betöltve!" #: ../src/common/sckaddr.cpp:126 msgid "Trying to solve a NULL hostname: giving up" @@ -2836,22 +2820,32 @@ msgstr "USA standard leporell #: ../src/html/htmlwin.cpp:270 #, c-format msgid "Unable to open requested HTML document: %s" -msgstr "Nem tudom megnyitni a(z) %s HTML dokumentumot" +msgstr "Nem tudom megnyitni a kért %s HTML dokumentumot." #: ../src/generic/fontdlgg.cpp:249 msgid "Underline" msgstr "Aláhúzás" -#: ../src/common/resourc2.cpp:305 ../src/common/resourc2.cpp:319 -#: ../src/common/resourc2.cpp:335 ../src/common/resourc2.cpp:349 -#: ../src/common/resourc2.cpp:1370 ../src/common/resourc2.cpp:1384 -#: ../src/common/resourc2.cpp:1400 ../src/common/resourc2.cpp:1414 -#: ../src/common/resource.cpp:1824 ../src/common/resource.cpp:1838 -#: ../src/common/resource.cpp:1855 ../src/common/resource.cpp:1869 -#: ../src/common/resource.cpp:1954 ../src/common/resource.cpp:1968 -#: ../src/common/resource.cpp:1984 ../src/common/resource.cpp:1998 -#: ../src/common/resource.cpp:3038 ../src/common/resource.cpp:3052 -#: ../src/common/resource.cpp:3069 ../src/common/resource.cpp:3083 +#: ../src/common/resourc2.cpp:305 +#: ../src/common/resourc2.cpp:319 +#: ../src/common/resourc2.cpp:335 +#: ../src/common/resourc2.cpp:349 +#: ../src/common/resourc2.cpp:1370 +#: ../src/common/resourc2.cpp:1384 +#: ../src/common/resourc2.cpp:1400 +#: ../src/common/resourc2.cpp:1414 +#: ../src/common/resource.cpp:1824 +#: ../src/common/resource.cpp:1838 +#: ../src/common/resource.cpp:1855 +#: ../src/common/resource.cpp:1869 +#: ../src/common/resource.cpp:1954 +#: ../src/common/resource.cpp:1968 +#: ../src/common/resource.cpp:1984 +#: ../src/common/resource.cpp:1998 +#: ../src/common/resource.cpp:3038 +#: ../src/common/resource.cpp:3052 +#: ../src/common/resource.cpp:3069 +#: ../src/common/resource.cpp:3083 msgid "Unexpected end of file whilst parsing resource." msgstr "Váratlan fájl vége az erõforrás fájl értelmezése során." @@ -2862,11 +2856,11 @@ msgstr "V #: ../src/common/fontmap.cpp:141 msgid "Unicode 7 bit (UTF-7)" -msgstr "" +msgstr "Unicode 7 bit (UTF-7)" #: ../src/common/fontmap.cpp:142 msgid "Unicode 8 bit (UTF-8)" -msgstr "" +msgstr "Unicode 8 bit (UTF-8)" #: ../src/msw/dde.cpp:1020 #, c-format @@ -2888,31 +2882,35 @@ msgstr "A(z) %s f msgid "Unknown long option '%s'" msgstr "Ismeretlen hosszú opció '%s'" -#: ../src/common/cmdline.cpp:573 ../src/common/cmdline.cpp:594 +#: ../src/common/cmdline.cpp:573 +#: ../src/common/cmdline.cpp:594 #, c-format msgid "Unknown option '%s'" msgstr "Ismeretlen opció '%s'" #: ../contrib/src/xrc/xmlres.cpp:628 msgid "Unknown style flag " -msgstr "" +msgstr "Ismererlen stílus jel" #: ../src/common/mimecmn.cpp:167 #, c-format msgid "Unmatched '{' in an entry for mime type %s." msgstr "Páratlan '{' a(z) %s mime típus egyik elemében." -#: ../src/common/cmdproc.cpp:238 ../src/common/cmdproc.cpp:254 +#: ../src/common/cmdproc.cpp:238 +#: ../src/common/cmdproc.cpp:254 #: ../src/common/cmdproc.cpp:281 msgid "Unnamed command" msgstr "Név nélküli parancs" -#: ../src/common/resourc2.cpp:687 ../src/common/resource.cpp:2343 +#: ../src/common/resourc2.cpp:687 +#: ../src/common/resource.cpp:2343 #, c-format msgid "Unrecognized style %s whilst parsing resource." msgstr "Ismeretlen %s stílust találtam az erõforrás értelmezésekor." -#: ../src/mac/clipbrd.cpp:58 ../src/msw/clipbrd.cpp:273 +#: ../src/mac/clipbrd.cpp:58 +#: ../src/msw/clipbrd.cpp:273 #: ../src/msw/clipbrd.cpp:447 msgid "Unsupported clipboard format." msgstr "Nem támogatott vágólap formátum." @@ -2920,11 +2918,11 @@ msgstr "Nem t #: ../src/common/appcmn.cpp:362 #, c-format msgid "Unsupported theme '%s'." -msgstr "" +msgstr "A(z) '%s' bõr nem támogatott." #: ../src/generic/fdrepdlg.cpp:157 msgid "Up" -msgstr "" +msgstr "Fel" #: ../src/common/cmdline.cpp:901 #, c-format @@ -2951,7 +2949,8 @@ msgstr "N msgid "Waiting for subprocess termination failed" msgstr "Nem sikerült megvárni az alprocessz befejezõdését" -#: ../src/common/docview.cpp:437 ../src/common/resource.cpp:124 +#: ../src/common/docview.cpp:437 +#: ../src/common/resource.cpp:124 msgid "Warning" msgstr "Figyelmeztetés" @@ -2961,23 +2960,19 @@ msgstr "Figyelmeztet #: ../src/html/htmlpars.cpp:357 msgid "Warning: attempt to remove HTML tag handler from empty stack." -msgstr "" -"Figyeleztetés: üres veremtárolóból próbál eltávolítani HTML összetevõt." +msgstr "Figyeleztetés: üres veremtárolóból próbál eltávolítani HTML kifejezés kezelõt." #: ../src/common/fontmap.cpp:112 -#, fuzzy msgid "Western European (ISO-8859-1)" -msgstr "Nyugat-európai (ISO-8859-1/Latin 1)" +msgstr "Nyugat-európai (ISO-8859-1)" #: ../src/common/fontmap.cpp:126 -#, fuzzy msgid "Western European with Euro (ISO-8859-15)" -msgstr "Nyugat-európai Euro-val (ISO-8859-15/Latin 0)" +msgstr "Nyugat-európai Euro-val (ISO-8859-15)" #: ../src/generic/fdrepdlg.cpp:149 -#, fuzzy msgid "Whole word" -msgstr "Csak egész szavak" +msgstr "Egész szó" #: ../src/html/helpfrm.cpp:407 msgid "Whole words only" @@ -2985,7 +2980,7 @@ msgstr "Csak eg #: ../src/univ/themes/win32.cpp:1168 msgid "Win32 theme" -msgstr "" +msgstr "Win32 bõr" #: ../src/msw/utils.cpp:979 msgid "Win32s on Windows 3.1" @@ -3014,12 +3009,11 @@ msgstr "Windows K #: ../src/common/fontmap.cpp:129 msgid "Windows Chinese Simplified (CP 936)" -msgstr "" +msgstr "Windows egyszerûsített kínai (CP 936)" #: ../src/common/fontmap.cpp:131 -#, fuzzy msgid "Windows Chinese Traditional (CP 950)" -msgstr "Windows Nyugat-európai (CP 1252)" +msgstr "Windows hagyományos kínai (CP 950)" #: ../src/common/fontmap.cpp:133 msgid "Windows Cyrillic (CP 1251)" @@ -3034,14 +3028,12 @@ msgid "Windows Hebrew (CP 1255)" msgstr "Windows Héber (CP 1255)" #: ../src/common/fontmap.cpp:128 -#, fuzzy msgid "Windows Japanese (CP 932)" -msgstr "Windows Görög (CP 1253)" +msgstr "Windows japán (CP 932)" #: ../src/common/fontmap.cpp:130 -#, fuzzy msgid "Windows Korean (CP 949)" -msgstr "Windows Görög (CP 1253)" +msgstr "Windows koreai (CP 949)" #: ../src/common/fontmap.cpp:136 msgid "Windows Turkish (CP 1254)" @@ -3063,37 +3055,41 @@ msgstr "Ir #: ../contrib/src/xrc/xml.cpp:530 #, c-format msgid "XML parsing error: '%s' at line %d" -msgstr "" +msgstr "XML értelmezési hiba: '%s' a(z) %d sorban" #: ../src/common/xpmdecod.cpp:759 msgid "XPM: Malformed pixel data!" -msgstr "" +msgstr "XPM: Hiányos pixel adat!" -#: ../src/common/xpmdecod.cpp:709 ../src/common/xpmdecod.cpp:718 +#: ../src/common/xpmdecod.cpp:709 +#: ../src/common/xpmdecod.cpp:718 #, c-format msgid "XPM: malformed colour definition '%s'!" -msgstr "" +msgstr "XPM: hiányos szín meghatározás '%s'!" #: ../contrib/src/xrc/xmlres.cpp:436 -#, fuzzy, c-format +#, c-format msgid "XRC resource '%s' (class '%s') not found!" -msgstr "Nem találom a(z) %s ikon erõforrás meghatározását." +msgstr "Nem találom a(z) '%s' XRC erõforrást ('%s' osztály)." -#: ../contrib/src/xrc/xmlres.cpp:787 ../contrib/src/xrc/xmlres.cpp:798 +#: ../contrib/src/xrc/xmlres.cpp:787 +#: ../contrib/src/xrc/xmlres.cpp:798 #, c-format msgid "XRC resource: Cannot create bitmap from '%s'." -msgstr "" +msgstr "XRC erõforrás: Nem tudom létrehozni a(z) '%s'-bõl a bittérképet." -#: ../contrib/src/xrc/xh_dlg.cpp:52 ../contrib/src/xrc/xh_frame.cpp:57 +#: ../contrib/src/xrc/xh_dlg.cpp:52 +#: ../contrib/src/xrc/xh_frame.cpp:57 msgid "XRC resource: Cannot create dialog without instance." -msgstr "" +msgstr "XRC erõforrás: Nem tudom létrehozni a párbeszédablakot létrehozott példány nélkül." #: ../contrib/src/xrc/xmlres.cpp:747 #, c-format msgid "XRC resource: Incorrect colour specification '%s' for property '%s'." -msgstr "" +msgstr "XRC erõforrás: Helytelen szín meghatározás '%s' a '%s' tulajdonságnál." -#: ../src/common/dlgcmn.cpp:151 ../src/mac/msgdlg.cpp:77 +#: ../src/common/dlgcmn.cpp:151 +#: ../src/mac/msgdlg.cpp:77 #: ../src/motif/msgdlg.cpp:182 msgid "Yes" msgstr "Igen" @@ -3102,9 +3098,10 @@ msgstr "Igen" msgid "You cannot add a new directory to this section." msgstr "Nem tud könyvtárat hozzáadni ehhez a szakaszhoz." -#: ../src/common/fs_zip.cpp:86 ../src/common/fs_zip.cpp:123 +#: ../src/common/fs_zip.cpp:86 +#: ../src/common/fs_zip.cpp:123 msgid "ZIP handler currently supports only local files!" -msgstr "" +msgstr "A ZIP kezelõ jelenleg csak helyi fájlokat támogat!" #: ../src/common/docview.cpp:1951 msgid "[EMPTY]" @@ -3116,13 +3113,11 @@ msgstr "a DDEML alkalmaz #: ../src/msw/dde.cpp:975 msgid "" -"a DDEML function was called without first calling the DdeInitialize " -"function,\n" +"a DDEML function was called without first calling the DdeInitialize function,\n" "or an invalid instance identifier\n" "was passed to a DDEML function." msgstr "" -"egy DDEML függvényt hívott anélkül, hogy elõször a DdeInitialize függvényt " -"hívta volna,\n" +"egy DDEML függvényt hívott anélkül, hogy elõször a DdeInitialize függvényt hívta volna,\n" "vagy érvénytelen instance azonosítót \n" "adott át a DDEML függvénynek." @@ -3156,8 +3151,7 @@ msgstr "a szinkron adatlerak #: ../src/msw/dde.cpp:1014 msgid "a request to end an advise transaction has timed out." -msgstr "" -"a tanácskozási tranzakció befejezésének kérése nem fejezõdött be idõre." +msgstr "a tanácskozási tranzakció befejezésének kérése nem fejezõdött be idõre." #: ../src/msw/dde.cpp:1008 msgid "" @@ -3210,23 +3204,19 @@ msgstr "" #: ../src/common/fileconf.cpp:1570 #, c-format msgid "attempt to change immutable key '%s' ignored." -msgstr "" -"elhanyagoltam a változtathatatlan '%s' kulcs megváltoztatására tett " -"kísérletét." +msgstr "elhanyagoltam a változtathatatlan '%s' kulcs megváltoztatására tett kísérletét." #: ../src/common/ftp.cpp:369 msgid "binary" -msgstr "" +msgstr "bináris" #: ../src/common/fontcmn.cpp:518 -#, fuzzy msgid "bold" -msgstr "Félkövér" +msgstr "félkövér" #: ../src/common/fontcmn.cpp:442 -#, fuzzy msgid "bold " -msgstr "Félkövér" +msgstr "félkövér" #: ../src/common/ffile.cpp:93 #, c-format @@ -3256,21 +3246,16 @@ msgstr "nem tudom t #: ../src/common/file.cpp:454 #, c-format msgid "can't determine if the end of file is reached on descriptor %d" -msgstr "" -"nem tudom meghatározni, hogy a fájl végét értük-e el a(z) %d leíróval " -"megadott fájlban" +msgstr "nem tudom meghatározni, hogy a fájl végét értük-e el a(z) %d leíróval megadott fájlban" #: ../src/common/file.cpp:420 #, c-format msgid "can't find length of file on file descriptor %d" -msgstr "" -"nem tudom meghatározni a fájl hosszát a(z) %d leíróval megadott fájlban" +msgstr "nem tudom meghatározni a fájl hosszát a(z) %d leíróval megadott fájlban" #: ../src/msw/utils.cpp:369 msgid "can't find user's HOME, using current directory." -msgstr "" -"nem tudom meghatározni a felhasználó saját könyvtárát, a jelenlegit " -"használom tovább." +msgstr "nem tudom meghatározni a felhasználó saját könyvtárát, a jelenlegit használom tovább." #: ../src/common/file.cpp:334 #, c-format @@ -3286,7 +3271,8 @@ msgstr "nem tal msgid "can't load any font, aborting" msgstr "egyetlen jelkészletet sem tudok betölteni, kilépek" -#: ../src/common/ffile.cpp:77 ../src/common/file.cpp:257 +#: ../src/common/ffile.cpp:77 +#: ../src/common/file.cpp:257 #, c-format msgid "can't open file '%s'" msgstr "nem tudom megnyitni a(z) '%s' fájlt" @@ -3326,9 +3312,9 @@ msgid "can't seek on file descriptor %d" msgstr "nem tudok keresni a(z) %d leíróval megadott fájlban" #: ../src/common/textfile.cpp:196 -#, fuzzy, c-format +#, c-format msgid "can't write buffer '%s' to disk." -msgstr "nem tudom a mágneslemezre írni a(z) '%s' fájlt." +msgstr "nem tudom a mágneslemezre írni a(z) '%s' puffert." #: ../src/common/file.cpp:319 #, c-format @@ -3353,9 +3339,8 @@ msgid "date" msgstr "dátum" #: ../src/common/fontmap.cpp:413 -#, fuzzy msgid "default" -msgstr "alt" +msgstr "alapértelmezés" #: ../src/common/datetime.cpp:3237 msgid "eighteenth" @@ -3404,14 +3389,12 @@ msgstr "'%s' f #: ../src/common/fileconf.cpp:667 #, c-format msgid "file '%s', line %d: key '%s' was first found at line %d." -msgstr "" -"'%s' fájl, %d. sor: a(z) '%s' kulcsot elõször a(z) %d sorban találtam meg." +msgstr "'%s' fájl, %d. sor: a(z) '%s' kulcsot elõször a(z) %d sorban találtam meg." #: ../src/common/fileconf.cpp:657 #, c-format msgid "file '%s', line %d: value for immutable key '%s' ignored." -msgstr "" -"file '%s', line %d: a változtathatatlan '%s' kulcs új értékét elhanyagoltam." +msgstr "file '%s', line %d: a változtathatatlan '%s' kulcs új értékét elhanyagoltam." #: ../src/common/fileconf.cpp:580 #, c-format @@ -3432,7 +3415,7 @@ msgstr "negyedik" #: ../src/common/appcmn.cpp:301 msgid "generate verbose log messages" -msgstr "" +msgstr "készíts bõbeszédû naplóbejegyzéseket " #: ../src/common/timercmn.cpp:282 msgid "gmtime() failed" @@ -3450,24 +3433,22 @@ msgstr " msgid "invalid message box return value" msgstr "érvénytelen üzenet ablak visszatérési érték" -#: ../src/common/fontcmn.cpp:458 ../src/common/fontcmn.cpp:522 -#, fuzzy +#: ../src/common/fontcmn.cpp:458 +#: ../src/common/fontcmn.cpp:522 msgid "italic" -msgstr "Dõlt" +msgstr "dõlt" #: ../src/html/helpfrm.cpp:935 msgid "large" msgstr "nagy" #: ../src/common/fontcmn.cpp:514 -#, fuzzy msgid "light" -msgstr "Vékony" +msgstr "vékony" #: ../src/common/fontcmn.cpp:438 -#, fuzzy msgid "light " -msgstr "Vékony" +msgstr "vékony" #: ../src/common/intl.cpp:615 #, c-format @@ -3503,7 +3484,8 @@ msgstr "kilencedik" msgid "no DDE error." msgstr "nincs DDE hiba." -#: ../src/html/helpdata.cpp:561 ../src/html/htmlhelp.cpp:201 +#: ../src/html/helpdata.cpp:561 +#: ../src/html/htmlhelp.cpp:201 msgid "noname" msgstr "névtelen" @@ -3517,7 +3499,7 @@ msgstr "num" #: ../src/common/filename.cpp:162 msgid "reading" -msgstr "" +msgstr "olvasok" #: ../src/msw/dde.cpp:1005 msgid "reentrancy problem." @@ -3541,7 +3523,7 @@ msgstr "eltol" #: ../src/common/appcmn.cpp:291 msgid "show this help message" -msgstr "" +msgstr "mutassa meg ezt az üzenetet a súgóban" #: ../src/common/datetime.cpp:3235 msgid "sixteenth" @@ -3557,11 +3539,11 @@ msgstr "kicsi" #: ../src/common/appcmn.cpp:326 msgid "specify display mode to use (e.g. 640x480-16)" -msgstr "" +msgstr "jelölje ki a használandó megjelenítési módot (pl.. 640x480-16)" #: ../src/common/appcmn.cpp:312 msgid "specify the theme to use" -msgstr "" +msgstr "jelölje ki a használandó bõrt" #: ../src/common/cmdline.cpp:1032 msgid "str" @@ -3600,14 +3582,12 @@ msgid "twentieth" msgstr "huszadik" #: ../src/common/fontcmn.cpp:510 -#, fuzzy msgid "underlined" -msgstr "Aláhúzás" +msgstr "aláhúzott" #: ../src/common/fontcmn.cpp:425 -#, fuzzy msgid "underlined " -msgstr "Aláhúzás" +msgstr "aláhúzott" #: ../src/common/fileconf.cpp:1684 #, c-format @@ -3619,9 +3599,8 @@ msgid "unknown" msgstr "ismeretlen" #: ../src/common/regex.cpp:144 -#, fuzzy msgid "unknown error" -msgstr "GIF: ismeretlen hiba!!!" +msgstr "ismeretlen hiba" #: ../src/msw/dialup.cpp:445 #, c-format @@ -3660,19 +3639,18 @@ msgid "very small" msgstr "nagyon kicsi" #: ../src/common/filename.cpp:162 -#, fuzzy msgid "writing" -msgstr "Nyomtatás" +msgstr "kiírás" #: ../src/common/dynlib.cpp:336 #, c-format msgid "wxDllLoader failed to GetSymbol '%s'" -msgstr "" +msgstr "wxDllLoader-ben GetSymbol nem találta '%s'-t" #: ../src/common/dynload.cpp:278 #, c-format msgid "wxDynamicLibrary failed to GetSymbol '%s'" -msgstr "" +msgstr "wxDynamicLibrary-ben GetSymbol nem találta '%s'-t" #: ../src/common/timercmn.cpp:327 msgid "wxGetTimeOfDay failed." @@ -3680,15 +3658,16 @@ msgstr "wxGetTimeOfDay hib #: ../src/html/search.cpp:49 msgid "wxSearchEngine::LookFor must be called before scanning!" -msgstr "" +msgstr "Az átnézés elõtt meg kell hívni a wxSearchEngine::LookFor-t!" -#: ../src/common/socket.cpp:394 ../src/common/socket.cpp:448 +#: ../src/common/socket.cpp:394 +#: ../src/common/socket.cpp:448 msgid "wxSocket: invalid signature in ReadMsg." msgstr "wxSocket: érvénytelen aláírás ReadMsg-ben." #: ../src/common/socket.cpp:975 msgid "wxSocket: unknown event!." -msgstr "wxSocket: ismeretlen esemény!." +msgstr "wxSocket: ismeretlen esemény." #: ../src/motif/app.cpp:590 #, c-format @@ -3696,165 +3675,10 @@ msgid "wxWindows could not open display for '%s': exiting." msgstr "a wxWindows nem tudott képernyõt nyitni '%s' számára: kilépés." #: ../src/x11/app.cpp:265 -#, fuzzy msgid "wxWindows could not open display. Exiting." -msgstr "a wxWindows nem tudott képernyõt nyitni '%s' számára: kilépés." +msgstr "A wxWindows nem tudott képernyõt nyitni. Kilépés." #: ../src/common/datetime.cpp:3065 msgid "yesterday" msgstr "tegnap" -#, fuzzy -#~ msgid "All files (*.*)|*.*" -#~ msgstr "Minden fájlt (*)|*" - -#~ msgid "Can not create mutex" -#~ msgstr "Nem tudom létrehozni a mutexet" - -#~ msgid "Can't create the inter-process read pipe" -#~ msgstr "Nem tudom létrehozni a processek közötti csövet olvasásra" - -#~ msgid "Can't create the inter-process write pipe" -#~ msgstr "Nem tudom létrehozni a processek közötti csövet írásra" - -#~ msgid "Couldn't acquire a mutex lock" -#~ msgstr "Nem kapok mutex lezárást" - -#~ msgid "Couldn't release a mutex" -#~ msgstr "Nem tudtam elengedni a mutex-et" - -#~ msgid "Font" -#~ msgstr "Jelkészlet" - -#~ msgid "PostScript" -#~ msgstr "PostScript" - -#~ msgid "PostScript:" -#~ msgstr "PostScript:" - -#~ msgid "Preview Only" -#~ msgstr "Csak elõkép" - -#~ msgid "Printer Command: " -#~ msgstr "Nyomtató parancs: " - -#~ msgid "Printer Options: " -#~ msgstr "Nyomtató lehetõségek: " - -#~ msgid "Printer Settings" -#~ msgstr "Nyomtató beállítások" - -#~ msgid "Send to Printer" -#~ msgstr "Küldd a nyomtatóra" - -#, fuzzy -#~ msgid "SetPixelFormat failed." -#~ msgstr "A csõ létrehozása nem sikerült" - -#~ msgid "X Scaling" -#~ msgstr "X skálázás" - -#~ msgid "X Translation" -#~ msgstr "X eltolás" - -#~ msgid "Y Scaling" -#~ msgstr "Y skálázás" - -#~ msgid "Y Translation" -#~ msgstr "Y eltolás" - -#, fuzzy -#~ msgid "unknown line terminator" -#~ msgstr "ismeretlen keresési kezdõpont" - -#, fuzzy -#~ msgid "Fatal Error" -#~ msgstr "Végzetes hiba" - -#, fuzzy -#~ msgid "Fatal error: %s\n" -#~ msgstr "Végzetes hiba:" - -#~ msgid "Back" -#~ msgstr "Vissza" - -#~ msgid "Can not create event object." -#~ msgstr "Nem tudom létrehozni az esemény objektumot." - -#~ msgid "" -#~ "Can't create window of class %s!\n" -#~ "Possible Windows 3.x compatibility problem?" -#~ msgstr "" -#~ "Nem tudom létrehozni a(z) %s osztályú ablakot!\n" -#~ " Windows 3.x kompatibilitás probléma lehet?" - -#~ msgid "" -#~ "Can't find dialog template '%s'!\n" -#~ "Check resource include path for finding wx.rc." -#~ msgstr "" -#~ "Nem találom a(z) '%s' párbeszéd template-et!\n" -#~ "Ellenõrizze a wx.rc erõforrás elérési útvonalát." - -#~ msgid "Can't find the serialization object '%s' for the object '%s'." -#~ msgstr "" -#~ "Nem találom a soros ki-bemeneti '%s' objektumot a(z) '%s' objektumhoz." - -#~ msgid "Can't load wxSerial dynamic library." -#~ msgstr "Nem tudom betölteni a wxSerial dinamikus könyvtárat." - -#~ msgid "Connection to wxHelp timed out in %d seconds" -#~ msgstr "A wxHelp-pel nem jött létre kapcsolat %d másodperc alatt" - -#~ msgid "Couldn't launch DDE server '%s'." -#~ msgstr "Nem tudtam elindítani a '%s' DDE kiszolgálót." - -#~ msgid "Cyrillic (Latin 5)" -#~ msgstr "Cirill (Latin 5)" - -#~ msgid "Etcetera" -#~ msgstr "Satöbbi" - -#~ msgid "Incorrect version of HTML help book" -#~ msgstr "A HTML súgó könyv változata nem megfelelõ" - -#~ msgid "Mounted Devices" -#~ msgstr "Hozzáférhetõ eszközök" - -#~ msgid "My Harddisk" -#~ msgstr "Az Én Mágneslemezem" - -#~ msgid "My Home" -#~ msgstr "Az Én Saját Könyvtáram" - -#~ msgid "New..." -#~ msgstr "Új..." - -#~ msgid "No XPM facility available!" -#~ msgstr "Nincs XPM felhasználási lehetõség!" - -#~ msgid "Please wait..." -#~ msgstr "Kérem várjon..." - -#~ msgid "Temporary" -#~ msgstr "Idõleges" - -#~ msgid "The Computer" -#~ msgstr "A Számítógép" - -#~ msgid "The directory " -#~ msgstr "A könyvtár " - -#~ msgid "User" -#~ msgstr "Felhasználó" - -#~ msgid "User Local" -#~ msgstr "Helyi felhasználó" - -#~ msgid "Variables" -#~ msgstr "Változók" - -#~ msgid "Window" -#~ msgstr "Ablak" - -#~ msgid "wxWindows: error finding temporary file name.\n" -#~ msgstr "wxWindows: hiba az idõszakos fájlnév keresésekor.\n" diff --git a/locale/id.po b/locale/id.po new file mode 100644 index 0000000000..e2965b774e --- /dev/null +++ b/locale/id.po @@ -0,0 +1,3713 @@ +msgid "" +msgstr "" +"Project-Id-Version: wxWindows Internationalization\n" +"POT-Creation-Date: 2002-08-21 16:39+0200\n" +"PO-Revision-Date: 2002-10-22 23:28+0700\n" +"Last-Translator: Bambang Purnomosidi D. P. \n" +"Language-Team: ID \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../src/common/log.cpp:304 +#, c-format +msgid " (error %ld: %s)" +msgstr " (kesalahan %ld: %s)" + +#: ../src/common/docview.cpp:1240 +msgid " - " +msgstr " - " + +#: ../src/html/htmprint.cpp:502 +msgid " Preview" +msgstr " Preview" + +#: ../src/generic/filedlgg.cpp:476 +msgid " bytes " +msgstr " byte" + +#: ../src/common/paper.cpp:124 +msgid "#10 Envelope, 4 1/8 x 9 1/2 in" +msgstr "Amplop #10, 4 1/8 x 9 1/2 inci" + +#: ../src/common/paper.cpp:125 +msgid "#11 Envelope, 4 1/2 x 10 3/8 in" +msgstr "Amplop #11, 4 1/2 x 10 3/8 inci" + +#: ../src/common/paper.cpp:126 +msgid "#12 Envelope, 4 3/4 x 11 in" +msgstr "Amplop #12, 4 3/4 x 11 inci" + +#: ../src/common/paper.cpp:127 +msgid "#14 Envelope, 5 x 11 1/2 in" +msgstr "Amplop #14, 5 x 11 1/2 inci" + +#: ../src/common/paper.cpp:123 +msgid "#9 Envelope, 3 7/8 x 8 7/8 in" +msgstr "Amplop #9, 3 7/8 x 8 7/8 inci" + +#: ../src/common/resourc2.cpp:265 +#: ../src/common/resourc2.cpp:1326 +#: ../src/common/resource.cpp:1784 +#: ../src/common/resource.cpp:1914 +#: ../src/common/resource.cpp:2994 +#, c-format +msgid "#define %s must be an integer." +msgstr "#define %s harus berupa integer." + +#: ../src/common/prntbase.cpp:376 +#, c-format +msgid "%d" +msgstr "%d" + +#: ../src/common/prntbase.cpp:374 +#, c-format +msgid "%d...%d" +msgstr "%d...%d" + +#: ../src/html/helpfrm.cpp:772 +#: ../src/html/helpfrm.cpp:773 +#: ../src/html/helpfrm.cpp:1376 +#: ../src/html/helpfrm.cpp:1406 +#, c-format +msgid "%i of %i" +msgstr "%i dari %i" + +#: ../src/common/cmdline.cpp:813 +#, c-format +msgid "%s (or %s)" +msgstr "%s (atau %s)" + +#: ../src/generic/logg.cpp:246 +#, c-format +msgid "%s Error" +msgstr "Kesalahan %s " + +#: ../src/generic/logg.cpp:254 +#, c-format +msgid "%s Information" +msgstr "Informasi %s " + +#: ../src/generic/logg.cpp:250 +#, c-format +msgid "%s Warning" +msgstr "Peringatan %s" + +#: ../src/common/resourc2.cpp:709 +#: ../src/common/resource.cpp:2366 +#, c-format +msgid "%s not a bitmap resource specification." +msgstr "%s bukan suatu spesifikasi sesumber bitmap." + +#: ../src/common/resourc2.cpp:860 +#: ../src/common/resource.cpp:2520 +#, c-format +msgid "%s not an icon resource specification." +msgstr "%s bukan suatu spesifikasi sesumber ikon" + +#: ../src/common/resourc2.cpp:357 +#: ../src/common/resourc2.cpp:1422 +#: ../src/common/resource.cpp:1877 +#: ../src/common/resource.cpp:2006 +#: ../src/common/resource.cpp:3091 +#, c-format +msgid "%s: ill-formed resource file syntax." +msgstr "%s: bentuk sintaksis file sesumber tidak baik." + +#: ../src/msw/mdi.cpp:192 +msgid "&Arrange Icons" +msgstr "&Susun ikon" + +#: ../src/generic/fdrepdlg.cpp:170 +#: ../src/generic/wizard.cpp:260 +msgid "&Cancel" +msgstr "&Batal" + +#: ../src/msw/mdi.cpp:188 +msgid "&Cascade" +msgstr "&Cascade" + +#: ../src/generic/logg.cpp:491 +#: ../src/generic/tipdlg.cpp:171 +msgid "&Close" +msgstr "&Tutup" + +#: ../src/generic/logg.cpp:695 +msgid "&Details" +msgstr "&Rinci" + +#: ../src/generic/fdrepdlg.cpp:168 +msgid "&Find" +msgstr "&Temukan" + +#: ../src/generic/wizard.cpp:396 +msgid "&Finish" +msgstr "&Selesai" + +#: ../src/generic/wizard.cpp:249 +msgid "&Help" +msgstr "&Pertolongan" + +#: ../src/generic/logg.cpp:492 +msgid "&Log" +msgstr "&Log" + +#: ../src/univ/themes/win32.cpp:4539 +msgid "&Move" +msgstr "&Pindah" + +#: ../src/msw/mdi.cpp:193 +msgid "&Next" +msgstr "&Berikut" + +#: ../src/generic/wizard.cpp:257 +#: ../src/generic/wizard.cpp:398 +msgid "&Next >" +msgstr "&Berikutnya >" + +#: ../src/generic/tipdlg.cpp:176 +msgid "&Next Tip" +msgstr "&Tip Berikutnya" + +#: ../src/msw/mdi.cpp:194 +msgid "&Previous" +msgstr "&Sebelumnya" + +#: ../src/common/cmdproc.cpp:261 +#: ../src/common/cmdproc.cpp:272 +msgid "&Redo" +msgstr "&Kerjakan Lagi" + +#: ../src/common/cmdproc.cpp:255 +#: ../src/common/cmdproc.cpp:282 +msgid "&Redo " +msgstr "&Kerjakan Lagi" + +#: ../src/generic/fdrepdlg.cpp:174 +msgid "&Replace" +msgstr "&Ganti" + +#: ../src/univ/themes/win32.cpp:4538 +msgid "&Restore" +msgstr "&Kembali ke keadaan semula" + +#: ../src/generic/logg.cpp:487 +#: ../src/generic/logg.cpp:818 +msgid "&Save..." +msgstr "&Simpan..." + +#: ../src/generic/tipdlg.cpp:173 +msgid "&Show tips at startup" +msgstr "&Tampilkan tip-tip pada saat program dimulai" + +#: ../src/univ/themes/win32.cpp:4541 +msgid "&Size" +msgstr "&Ukuran" + +#: ../src/common/cmdproc.cpp:267 +msgid "&Undo" +msgstr "&Batal mengerjakan" + +#: ../src/common/cmdproc.cpp:241 +msgid "&Undo " +msgstr "&Batal mengerjakan" + +#: ../src/msw/mdi.cpp:1328 +#: ../src/msw/mdi.cpp:1335 +#: ../src/msw/mdi.cpp:1360 +msgid "&Window" +msgstr "&Jendela" + +#: ../src/common/config.cpp:394 +#: ../src/msw/regconf.cpp:264 +#, c-format +msgid "'%s' has extra '..', ignored." +msgstr "'%s' mempunyai '..' ekstra, abaikan." + +#: ../src/common/valtext.cpp:147 +#: ../src/common/valtext.cpp:177 +#: ../src/common/valtext.cpp:183 +#, c-format +msgid "'%s' is invalid" +msgstr "'%s' tidak sah" + +#: ../src/common/cmdline.cpp:733 +#, c-format +msgid "'%s' is not a correct numeric value for option '%s'." +msgstr "'%s' bukan suatu nilai numeris yang benar untuk pilihan '%s'." + +#: ../src/common/intl.cpp:402 +#, c-format +msgid "'%s' is not a valid message catalog." +msgstr "'%s' bukan suatu katalog pesan yang sah." + +#: ../src/common/textbuf.cpp:245 +#, c-format +msgid "'%s' is probably a binary buffer." +msgstr "'%s' mungkin suatu buffer biner." + +#: ../src/common/valtext.cpp:172 +#, c-format +msgid "'%s' should be numeric." +msgstr "'%s' harus numeris." + +#: ../src/common/valtext.cpp:154 +#, c-format +msgid "'%s' should only contain ASCII characters." +msgstr "'%s' harus hanya berisi karakter-karakter ASCII." + +#: ../src/common/valtext.cpp:160 +#, c-format +msgid "'%s' should only contain alphabetic characters." +msgstr "'%s' harus hanya berisi karakter-karakter alfabetis." + +#: ../src/common/valtext.cpp:166 +#, c-format +msgid "'%s' should only contain alphabetic or numeric characters." +msgstr "'%s' harus hanya berisi karakter-karakter alfabetis atau numeris." + +#: ../src/html/helpfrm.cpp:709 +#: ../src/html/htmlhelp.cpp:638 +msgid "(Help)" +msgstr "(Tolong)" + +#: ../src/html/helpfrm.cpp:310 +#: ../src/html/helpfrm.cpp:840 +#: ../src/html/helpfrm.cpp:1433 +msgid "(bookmarks)" +msgstr "(bookmark)" + +#: ../src/common/resourc2.cpp:297 +#: ../src/common/resourc2.cpp:1362 +#: ../src/common/resource.cpp:1816 +#: ../src/common/resource.cpp:1946 +#: ../src/common/resource.cpp:3030 +msgid "" +", expected static, #include or #define\n" +"whilst parsing resource." +msgstr "" +", diharapkan static, #include atau #define\n" +" saat sedang mem-parsing sesumber" + +#: ../src/generic/dirctrlg.cpp:698 +#: ../src/generic/filedlgg.cpp:929 +msgid "." +msgstr "." + +#: ../src/generic/dirctrlg.cpp:699 +#: ../src/generic/filedlgg.cpp:930 +msgid ".." +msgstr ".." + +#: ../src/common/paper.cpp:120 +msgid "10 x 14 in" +msgstr "10 x 14 inci" + +#: ../src/common/paper.cpp:121 +msgid "11 x 17 in" +msgstr "11 x 17 inci" + +#: ../src/common/paper.cpp:139 +msgid "6 3/4 Envelope, 3 5/8 x 6 1/2 in" +msgstr "Amplop 6 3/4, 3 5/8 x 6 1/2 in" + +#: ../src/html/htmprint.cpp:282 +msgid ": file does not exist!" +msgstr ": file tidak ada!" + +#: ../src/common/fontmap.cpp:626 +msgid ": unknown charset" +msgstr ": charset tidak diketahui" + +#: ../src/common/fontmap.cpp:857 +msgid ": unknown encoding" +msgstr ": pengkodean tidak diketahui" + +#: ../src/generic/wizard.cpp:254 +msgid "< &Back" +msgstr "< &Kembali" + +#: ../src/generic/filedlgg.cpp:504 +msgid "

        " +msgstr "" + +#: ../src/generic/filedlgg.cpp:471 +msgid " " +msgstr " " + +#: ../src/generic/filedlgg.cpp:505 +msgid "" +msgstr "" + +#: ../src/generic/filedlgg.cpp:472 +msgid " " +msgstr " " + +#: ../src/html/helpfrm.cpp:992 +msgid "Normal face
        (and underlined. Italic face. Bold face. Bold italic face.
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4

        Fixed size face.
        bold italic bold italic underlined
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4
        " +msgstr "Tampilah normal
        (dan bergaris bawah. Tampilan miring. Tampilan tebal. Tampilan miring tebal.
        ukuran huruf -2
        ukuran huruf -1
        ukuran huruf
        ukuran huruf +1
        ukuran huruf +2
        ukuran huruf +3
        ukuran huruf +4

        Tampilan ukuran tetap.
        tebal miring miring tebal bergaris bawah
        ukuran huruf -2
        ukuran huruf -1
        ukuran huruf +0
        ukuran huruf +1
        ukuran huruf +2
        ukuran huruf +3
        ukuran huruf +4
        " + +#: ../src/common/paper.cpp:113 +msgid "A3 sheet, 297 x 420 mm" +msgstr "Kertas A3, 297 x 420 mm" + +#: ../src/common/paper.cpp:104 +msgid "A4 sheet, 210 x 297 mm" +msgstr "Kertas A4, 210 x 297 mm" + +#: ../src/common/paper.cpp:114 +msgid "A4 small sheet, 210 x 297 mm" +msgstr "Kertas kecil A4, 210 x 297 mm" + +#: ../src/common/paper.cpp:115 +msgid "A5 sheet, 148 x 210 mm" +msgstr "Kertas A5, 148 x 210 mm" + +#: ../src/generic/fontdlgg.cpp:83 +msgid "ABCDEFGabcdefg12345" +msgstr "ABCDEFGabcdefg12345" + +#: ../src/common/ftp.cpp:369 +msgid "ASCII" +msgstr "ASCII" + +#: ../src/html/helpfrm.cpp:323 +msgid "Add current page to bookmarks" +msgstr "Tambahkan halaman ini ke bookmark" + +#: ../src/generic/colrdlgg.cpp:287 +msgid "Add to custom colours" +msgstr "Tambahkan ke warna-warna kustom" + +#: ../src/html/helpctrl.cpp:95 +#, c-format +msgid "Adding book %s" +msgstr "Menambahkan buku %s" + +#: ../src/generic/prntdlgg.cpp:160 +msgid "All" +msgstr "Semua" + +#: ../src/generic/filedlgg.cpp:1052 +msgid "All files (*)|*" +msgstr "Semua file (*)|*" + +#: ../src/unix/dialup.cpp:362 +msgid "Already dialling ISP." +msgstr "Sudah menghubungi ISP." + +#: ../src/generic/logg.cpp:1109 +#, c-format +msgid "Append log to file '%s' (choosing [No] will overwrite it)?" +msgstr "Tambahkan log ke file '%s' (memilih [Tidak] akan menimpa file tersebut)?" + +#: ../src/common/fontmap.cpp:117 +msgid "Arabic (ISO-8859-6)" +msgstr "Arabic (ISO-8859-6)" + +#: ../src/common/paper.cpp:134 +msgid "B4 Envelope, 250 x 353 mm" +msgstr "Amplop B4, 250 x 353 mm" + +#: ../src/common/paper.cpp:116 +msgid "B4 sheet, 250 x 354 mm" +msgstr "Kertas B4, 250 x 354 mm" + +#: ../src/common/paper.cpp:135 +msgid "B5 Envelope, 176 x 250 mm" +msgstr "Amplop B5, 176 x 250 mm" + +#: ../src/common/paper.cpp:117 +msgid "B5 sheet, 182 x 257 millimeter" +msgstr "Kertas B5, 182 x 257 millimeter" + +#: ../src/common/paper.cpp:136 +msgid "B6 Envelope, 176 x 125 mm" +msgstr "Amplop B6, 176 x 125 mm" + +#: ../src/common/imagbmp.cpp:467 +#: ../src/common/imagbmp.cpp:483 +msgid "BMP: Couldn't allocate memory." +msgstr "BMP: Tidak bisa mengalokasikan memory." + +#: ../src/common/imagbmp.cpp:86 +msgid "BMP: Couldn't save invalid image." +msgstr "BMP: Tidak bisa menympan citra tidak sah." + +#: ../src/common/imagbmp.cpp:290 +msgid "BMP: Couldn't write RGB color map." +msgstr "BMP: Tidak bisa menulis peta warna RGB." + +#: ../src/common/imagbmp.cpp:422 +msgid "BMP: Couldn't write data." +msgstr "BMP: Tidak bisa menulis data." + +#: ../src/common/imagbmp.cpp:195 +msgid "BMP: Couldn't write the file (Bitmap) header." +msgstr "BMP: Tidak bisa menulis header file (Bitmap)." + +#: ../src/common/imagbmp.cpp:216 +msgid "BMP: Couldn't write the file (BitmapInfo) header." +msgstr "BMP: Tidak bisa menulis header file (BitmapInfo)" + +#: ../src/common/imagbmp.cpp:120 +msgid "BMP: wxImage doesn't have own wxPalette." +msgstr "BMP: wxImage tidak mempunyai wxPallete." + +#: ../src/common/dlgcmn.cpp:170 +msgid "Backward" +msgstr "Ke belakang" + +#: ../src/common/fontmap.cpp:124 +msgid "Baltic (ISO-8859-13)" +msgstr "Baltic (ISO-8859-13)" + +#: ../src/common/fontmap.cpp:115 +msgid "Baltic (old) (ISO-8859-4)" +msgstr "Baltic (tua) (ISO-8859-4)" + +#: ../src/common/resourc2.cpp:840 +#: ../src/common/resource.cpp:2500 +#, c-format +msgid "Bitmap resource specification %s not found." +msgstr "Spesifikasi sesumber Bitmap %s tidak ditemukan." + +#: ../src/generic/fontdlgg.cpp:231 +msgid "Bold" +msgstr "Tebal" + +#: ../src/generic/prntdlgg.cpp:645 +msgid "Bottom margin (mm):" +msgstr "Batas bawah (mm):" + +#: ../src/common/paper.cpp:105 +msgid "C sheet, 17 x 22 in" +msgstr "Kertas C, 17 x 22 inci" + +#: ../src/generic/logg.cpp:489 +msgid "C&lear" +msgstr "B&ersihkan" + +#: ../src/common/paper.cpp:130 +msgid "C3 Envelope, 324 x 458 mm" +msgstr "Amplop C3, 324 x 458 mm" + +#: ../src/common/paper.cpp:131 +msgid "C4 Envelope, 229 x 324 mm" +msgstr "Amplop C4, 229 x 324 mm" + +#: ../src/common/paper.cpp:129 +msgid "C5 Envelope, 162 x 229 mm" +msgstr "Amplop C5, 162 x 229 mm" + +#: ../src/common/paper.cpp:132 +msgid "C6 Envelope, 114 x 162 mm" +msgstr "Amplop C6, 114 x 162 mm" + +#: ../src/common/paper.cpp:133 +msgid "C65 Envelope, 114 x 229 mm" +msgstr "Amplop C65, 114 x 229 mm" + +#: ../src/common/filefn.cpp:1358 +#, c-format +msgid "Can not enumerate files '%s'" +msgstr "Tidak bisa mengenumerasi file-file '%s'" + +#: ../src/msw/dir.cpp:296 +#: ../src/unix/dir.cpp:236 +#, c-format +msgid "Can not enumerate files in directory '%s'" +msgstr "Tidak bisa mengenumerasi file-file di direktori '%s'" + +#: ../src/mac/thread.cpp:472 +#: ../src/msw/thread.cpp:685 +#, c-format +msgid "Can not resume thread %x" +msgstr "Tidak bisa meneruskan thread %x" + +#: ../src/msw/thread.cpp:559 +msgid "Can not start thread: error writing TLS." +msgstr "Tidak bisa memulai thread: kesalahan menulis TLS." + +#: ../src/mac/thread.cpp:448 +#: ../src/msw/thread.cpp:670 +#, c-format +msgid "Can not suspend thread %x" +msgstr "Tidak bisa menunda thread %x" + +#: ../src/msw/thread.cpp:1016 +msgid "Can not wait for thread termination" +msgstr "Tidak bisa menunggu penghentian thread" + +#: ../src/common/cmdproc.cpp:243 +msgid "Can't &Undo " +msgstr "Tidak bisa &Membatalkan pekerjaan" + +#: ../src/common/image.cpp:1289 +#, c-format +msgid "Can't check image format of file '%s': file does not exist." +msgstr "Tidak bisa memeriksa format citra dari file '%s': file tidak ada." + +#: ../src/msw/registry.cpp:421 +#, c-format +msgid "Can't close registry key '%s'" +msgstr "Tidak bisa menutup kunci registry '%s'" + +#: ../src/msw/registry.cpp:493 +#, c-format +msgid "Can't copy values of unsupported type %d." +msgstr "Tidak bisa menyalin nilai-nilai dari tipe %d yang tidak didukung." + +#: ../src/msw/toplevel.cpp:295 +msgid "Can't create dialog using memory template" +msgstr "Tidak bisa menciptakan dialog menggunakan template memory" + +#: ../src/os2/toplevel.cpp:331 +#, c-format +msgid "Can't create dialog using template '%ul'" +msgstr "Tidak bisa menciptakan dialog menggunakan template '%ul'" + +#: ../src/msw/listctrl.cpp:319 +msgid "Can't create list control window, check that comctl32.dll is installed." +msgstr "Tidak bisa menciptakan jendela list control, periksa apakah comctl32.dll terinstall" + +#: ../src/msw/registry.cpp:402 +#, c-format +msgid "Can't create registry key '%s'" +msgstr "Tidak bisa menciptakan kunci registry '%s'" + +#: ../src/mac/thread.cpp:427 +#: ../src/msw/thread.cpp:652 +msgid "Can't create thread" +msgstr "Tidak bisa menciptakan thread" + +#: ../src/msw/window.cpp:2989 +#, c-format +msgid "Can't create window of class %s" +msgstr "Tidak bisa menciptakan jendela dari class %s" + +#: ../src/msw/registry.cpp:661 +#, c-format +msgid "Can't delete key '%s'" +msgstr "Tidak bisa menghapus kunci '%s'" + +#: ../src/msw/iniconf.cpp:445 +#, c-format +msgid "Can't delete the INI file '%s'" +msgstr "Tidak bisa menghapus file INI '%s'" + +#: ../src/msw/registry.cpp:686 +#, c-format +msgid "Can't delete value '%s' from key '%s'" +msgstr "Tidak bisa menghapus nilai '%s' dari kunci '%s'" + +#: ../src/msw/registry.cpp:697 +#, c-format +msgid "Can't delete value of key '%s'" +msgstr "Tidak bisa menghapus nilai dari kunci '%s'" + +#: ../src/msw/registry.cpp:1025 +#, c-format +msgid "Can't enumerate subkeys of key '%s'" +msgstr "Tidak bisa mengenumerasi subkunci dari kunci '%s'" + +#: ../src/msw/registry.cpp:980 +#, c-format +msgid "Can't enumerate values of key '%s'" +msgstr "Tidak bisa mengenumerasi nilai-nilai dari kunci '%s'" + +#: ../src/common/ffile.cpp:226 +#, c-format +msgid "Can't find current position in file '%s'" +msgstr "Tidak bisa menemukan posisi saat ini dalam file '%s'" + +#: ../src/msw/registry.cpp:351 +#, c-format +msgid "Can't get info about registry key '%s'" +msgstr "Tidak bisa memperoleh info tentang kunci registry '%s'" + +#: ../src/common/image.cpp:913 +#: ../src/common/image.cpp:933 +#, c-format +msgid "Can't load image from file '%s': file does not exist." +msgstr "Tidak bisa memuat citra dari file '%s': file tidak ada." + +#: ../src/msw/dib.cpp:434 +#, c-format +msgid "Can't open file '%s'" +msgstr "Tidak bisa membuka file '%s'" + +#: ../src/msw/registry.cpp:377 +#, c-format +msgid "Can't open registry key '%s'" +msgstr "Tidak bisa membuka kunci registry '%s'" + +#: ../src/msw/registry.cpp:904 +#, c-format +msgid "Can't read value of '%s'" +msgstr "Tidak bisa membaca nilai dari '%s'" + +#: ../src/msw/registry.cpp:777 +#: ../src/msw/registry.cpp:816 +#, c-format +msgid "Can't read value of key '%s'" +msgstr "Tidak bisa membaca nilai dari kunci '%s'" + +#: ../src/common/image.cpp:955 +#, c-format +msgid "Can't save image to file '%s': unknown extension." +msgstr "Tidak bisa menyimpan citra ke file '%s': ekstensi tidak diketahui" + +#: ../src/generic/logg.cpp:551 +#: ../src/generic/logg.cpp:985 +msgid "Can't save log contents to file." +msgstr "Tidak bisa menyimpan isi dari log ke file." + +#: ../src/msw/thread.cpp:611 +msgid "Can't set thread priority" +msgstr "Tidak bisa menetapkan prioritas thread" + +#: ../src/msw/registry.cpp:802 +#: ../src/msw/registry.cpp:928 +#, c-format +msgid "Can't set value of '%s'" +msgstr "Tidak bisa menetapkan nilai dari '%s'" + +#: ../src/common/dlgcmn.cpp:183 +#: ../src/generic/dirdlgg.cpp:153 +#: ../src/generic/filedlgg.cpp:1166 +#: ../src/generic/filedlgg.cpp:1185 +#: ../src/generic/fontdlgg.cpp:254 +#: ../src/generic/prntdlgg.cpp:453 +#: ../src/generic/progdlgg.cpp:211 +#: ../src/generic/proplist.cpp:511 +#: ../src/gtk/filedlg.cpp:173 +#: ../src/gtk/fontdlg.cpp:144 +#: ../src/html/helpfrm.cpp:974 +#: ../src/html/htmlhelp.cpp:434 +#: ../src/motif/msgdlg.cpp:182 +msgid "Cancel" +msgstr "Batal" + +#: ../contrib/src/xrc/xmlres.cpp:893 +#: ../contrib/src/xrc/xmlres.cpp:934 +msgid "Cannot convert dialog units: dialog unknown." +msgstr "Tidak bisa mengkonversi unit-unit dialog: dialog tidak diketahui" + +#: ../src/common/strconv.cpp:929 +#, c-format +msgid "Cannot convert from encoding '%s'!" +msgstr "Tidak bisa mengkonversi dari pengkodean '%s'!" + +#: ../src/msw/dialup.cpp:497 +#, c-format +msgid "Cannot find active dialup connection: %s" +msgstr "Tidak bisa menemukan koneksi dialup yang aktif: %s" + +#: ../contrib/src/xrc/xmlres.cpp:224 +#, c-format +msgid "Cannot find container for unknown control '%s'." +msgstr "Tidak bisa menemukan penampung untuk kontrol yang tak diketahui '%s'." + +#: ../contrib/src/xrc/xmlres.cpp:948 +#, c-format +msgid "Cannot find font node '%s'." +msgstr "Tidak bisa menemukan titik huruf '%s'." + +#: ../src/msw/dialup.cpp:811 +msgid "Cannot find the location of address book file" +msgstr "Tidak bisa menemukan lokasi dari file buku alamat" + +#: ../src/unix/threadpsx.cpp:1068 +#, c-format +msgid "Cannot get priority range for scheduling policy %d." +msgstr "Tidak bisa memperoleh jangkauan prioritas untuk kebijakan penjadualan %d." + +#: ../src/unix/utilsunx.cpp:854 +msgid "Cannot get the hostname" +msgstr "Tidak bisa memperoleh nama host" + +#: ../src/unix/utilsunx.cpp:890 +msgid "Cannot get the official hostname" +msgstr "Tidak bisa memperoleh nama host resmi" + +#: ../src/msw/dialup.cpp:905 +msgid "Cannot hang up - no active dialup connection." +msgstr "Tidak bisa menutup - tidak ada koneksi dialup yang aktif." + +#: ../src/msw/app.cpp:249 +msgid "Cannot initialize OLE" +msgstr "Tidak bisa menginisialisasi OLE" + +#: ../src/mgl/app.cpp:414 +msgid "Cannot initialize SciTech MGL!" +msgstr "Tidak bisa menginisialisasi SciTech MGL!" + +#: ../src/mgl/window.cpp:546 +msgid "Cannot initialize display." +msgstr "Tidak bisa menginisialisasi tampilan." + +#: ../src/msw/volume.cpp:627 +#, c-format +msgid "Cannot load icon from '%s'." +msgstr "Tidak bisa memuat ikon dari '%s'." + +#: ../contrib/src/xrc/xmlres.cpp:337 +#, c-format +msgid "Cannot load resources from file '%s'." +msgstr "Tidak bisa memuat sesumber dari file '%s'." + +#: ../src/html/htmlfilt.cpp:171 +#, c-format +msgid "Cannot open HTML document: %s" +msgstr "Tidak bisa membuka dokumen HTML: %s" + +#: ../src/html/helpdata.cpp:581 +#, c-format +msgid "Cannot open HTML help book: %s" +msgstr "Tidak bisa membuka help book HTML: %s" + +#: ../src/generic/helpext.cpp:101 +#, c-format +msgid "Cannot open URL '%s'" +msgstr "Tidak bisa membuka URL '%s'" + +#: ../src/html/helpdata.cpp:277 +#, c-format +msgid "Cannot open contents file: %s" +msgstr "Tidak bisa membuka isi file: %s" + +#: ../contrib/src/xrc/xmlres.cpp:311 +#, c-format +msgid "Cannot open file '%s'." +msgstr "Tidak bisa membuka file '%s'." + +#: ../src/generic/dcpsg.cpp:1765 +msgid "Cannot open file for PostScript printing!" +msgstr "Tidak bisa membuka file untuk pencetakan PostScript!" + +#: ../src/html/helpdata.cpp:290 +#, c-format +msgid "Cannot open index file: %s" +msgstr "Tidak bisa membuka file indeks: %s" + +#: ../contrib/src/xrc/xmlres.cpp:881 +#, c-format +msgid "Cannot parse coordinates from '%s'." +msgstr "Tidak bisa mem-parse koordinat dari '%s'." + +#: ../contrib/src/xrc/xmlres.cpp:922 +#, c-format +msgid "Cannot parse dimension from '%s'." +msgstr "Tidak bisa mem-parse dimensi dari '%s'." + +#: ../src/html/helpfrm.cpp:1265 +msgid "Cannot print empty page." +msgstr "Tidak bisa mencetak halaman kosong." + +#: ../src/msw/volume.cpp:188 +#: ../src/msw/volume.cpp:519 +#, c-format +msgid "Cannot read typename from '%s'!" +msgstr "Tidak bisa membaca typename dari '%s'!" + +#: ../src/unix/threadpsx.cpp:1049 +msgid "Cannot retrieve thread scheduling policy." +msgstr "Tidak bisa mengambil kebijakan penjadualan thread." + +#: ../src/unix/threadpsx.cpp:706 +msgid "Cannot start thread: error writing TLS" +msgstr "Tidak bisa memulai thread: kesalahan menulis TLS" + +#: ../src/html/helpfrm.cpp:406 +msgid "Case sensitive" +msgstr "Membedakan huruf besar dan kecil" + +#: ../src/common/fontmap.cpp:125 +msgid "Celtic (ISO-8859-14)" +msgstr "Celtic (ISO-8859-14)" + +#: ../src/common/fontmap.cpp:113 +msgid "Central European (ISO-8859-2)" +msgstr "Central European (ISO-8859-2)" + +#: ../src/msw/dialup.cpp:746 +msgid "Choose ISP to dial" +msgstr "Pilih ISP yang akan dihubungi" + +#: ../src/gtk/fontdlg.cpp:122 +msgid "Choose font" +msgstr "Pilih huruf" + +#: ../src/generic/logg.cpp:489 +msgid "Clear the log contents" +msgstr "Bersihkan isi log" + +#: ../src/common/prntbase.cpp:429 +#: ../src/generic/progdlgg.cpp:360 +#: ../src/generic/proplist.cpp:506 +msgid "Close" +msgstr "Tutup" + +#: ../src/univ/themes/win32.cpp:4547 +msgid "Close\tAlt-F4" +msgstr "Tutup\tAlt-F4" + +#: ../src/generic/logg.cpp:491 +msgid "Close this window" +msgstr "Tutul jendela ini" + +#: ../src/generic/dirctrlg.cpp:547 +msgid "Computer" +msgstr "Komputer" + +#: ../src/common/fileconf.cpp:872 +#, c-format +msgid "Config entry name cannot start with '%c'." +msgstr "Nama entri konfigurasi tidak bisa diawali dengan '%c'." + +#: ../src/generic/filedlgg.cpp:1357 +#: ../src/gtk/filedlg.cpp:72 +msgid "Confirm" +msgstr "Konfirmasi" + +#: ../src/msw/mimetype.cpp:686 +msgid "Confirm registry update" +msgstr "Konfirmasi peremajaan registry" + +#: ../src/html/htmlwin.cpp:262 +msgid "Connecting..." +msgstr "Terkoneksi..." + +#: ../src/html/helpfrm.cpp:346 +#: ../src/html/htmlhelp.cpp:565 +msgid "Contents" +msgstr "Isi" + +#: ../src/common/strconv.cpp:596 +#, c-format +msgid "Conversion to charset '%s' doesn't work." +msgstr "Konversi ke charset '%s' tidak bekerja" + +#: ../src/generic/prntdlgg.cpp:193 +msgid "Copies:" +msgstr "Salinan:" + +#: ../src/common/resourc2.cpp:287 +#: ../src/common/resource.cpp:1806 +#: ../src/common/resource.cpp:1936 +#, c-format +msgid "Could not find resource include file %s." +msgstr "Tidak bisa menemukan file include sesumber %s." + +#: ../src/generic/tabg.cpp:1044 +msgid "Could not find tab for id" +msgstr "Tidak bisa menemukan tab untuk id" + +#: ../src/msw/textctrl.cpp:1859 +#, c-format +msgid "Could not load Rich Edit DLL '%s'" +msgstr "Tidak bisa memuat DLL Rich Edit '%s'" + +#: ../src/common/resource.cpp:802 +#, c-format +msgid "" +"Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" +" or provide #define (see manual for caveats)" +msgstr "" +"Tidak bisa memecahkan class control atau id '%s'. Gunakan integer (tidak nol) sebagai gantinya\n" +" atau sediakan #define (lihat manual untuk keterangan lebih lanjut)" + +#: ../src/common/resource.cpp:1251 +#, c-format +msgid "" +"Could not resolve menu id '%s'. Use (non-zero) integer instead\n" +"or provide #define (see manual for caveats)" +msgstr "" +"Tidak bisa memecahkan id menu '%s'. Gunakan integer (tidak nol) sebagai gantinya\n" +" atau sediakan #define (lihat manual untuk penjelasan lebih lanjut)" + +#: ../src/common/prntbase.cpp:806 +msgid "Could not start document preview." +msgstr "Tidak bisa memulai preview dokumen." + +#: ../src/generic/printps.cpp:197 +#: ../src/msw/printwin.cpp:252 +msgid "Could not start printing." +msgstr "Tidak bisa memulai pencetakan." + +#: ../src/common/wincmn.cpp:1148 +msgid "Could not transfer data to window" +msgstr "Tidak bisa mentransfer data ke jendela" + +#: ../src/msw/dragimag.cpp:148 +#: ../src/msw/dragimag.cpp:184 +#: ../src/msw/imaglist.cpp:152 +#: ../src/msw/imaglist.cpp:174 +#: ../src/msw/imaglist.cpp:187 +msgid "Couldn't add an image to the image list." +msgstr "Tidak bisa menambahkan citra ke daftar citra." + +#: ../src/msw/timer.cpp:103 +msgid "Couldn't create a timer" +msgstr "Tidak bisa menciptakan pewaktu" + +#: ../src/mgl/cursor.cpp:135 +#: ../src/mgl/cursor.cpp:166 +msgid "Couldn't create cursor." +msgstr "Tidak bisa menciptakan kursor" + +#: ../src/common/dynlib.cpp:347 +#: ../src/common/dynload.cpp:295 +#, c-format +msgid "Couldn't find symbol '%s' in a dynamic library" +msgstr "Tidak bisa menemukan simbol '%s' dalam pustaka dinamis" + +#: ../src/mac/thread.cpp:502 +#: ../src/msw/thread.cpp:711 +msgid "Couldn't get the current thread pointer" +msgstr "Tidak bisa memperoleh penunjuk thread saat ini" + +#: ../src/common/imagpng.cpp:298 +msgid "Couldn't load a PNG image - file is corrupted or not enough memory." +msgstr "Tidak bisa memuat citra PNG - file terkorupsi atau memory tidak cukup." + +#: ../src/msw/ole/dataobj.cpp:143 +#, c-format +msgid "Couldn't register clipboard format '%s'." +msgstr "Tidak bisa meregister format clipboard '%s'." + +#: ../src/msw/listctrl.cpp:722 +#, c-format +msgid "Couldn't retrieve information about list control item %d." +msgstr "Tidak bisa mengambil informasi tentang item list control %d." + +#: ../src/common/imagpng.cpp:334 +#: ../src/common/imagpng.cpp:345 +#: ../src/common/imagpng.cpp:353 +msgid "Couldn't save PNG image." +msgstr "Tidak bisa menyimpan citra PNG." + +#: ../src/mac/thread.cpp:749 +#: ../src/msw/thread.cpp:1091 +msgid "Couldn't terminate thread" +msgstr "Tidak bisa menghentikan thread" + +#: ../src/generic/dirdlgg.cpp:263 +msgid "Create directory" +msgstr "Buat direktori" + +#: ../src/generic/dirdlgg.cpp:103 +#: ../src/generic/filedlgg.cpp:1119 +msgid "Create new directory" +msgstr "Buat direktori baru" + +#: ../src/generic/filedlgg.cpp:1130 +msgid "Current directory:" +msgstr "Direktori saat ini:" + +#: ../src/common/fontmap.cpp:116 +msgid "Cyrillic (ISO-8859-5)" +msgstr "Cyrillic (ISO-8859-5)" + +#: ../src/common/paper.cpp:106 +msgid "D sheet, 22 x 34 in" +msgstr "Kertas D, 22 x 34 in" + +#: ../src/msw/dde.cpp:587 +msgid "DDE poke request failed" +msgstr "Permintaan poke DDE gagal" + +#: ../src/common/imagbmp.cpp:618 +msgid "DIB Header: Cannot deal with 4bit encoded yet." +msgstr "Header DIB: Belum bisa berurusan dengan 4bit dikodekan" + +#: ../src/common/imagbmp.cpp:836 +msgid "DIB Header: Encoding doesn't match bitdepth." +msgstr "Header DIB: Pengkodean tidak sesuai dengan bitdepth." + +#: ../src/common/imagbmp.cpp:798 +msgid "DIB Header: Image height > 32767 pixels for file." +msgstr "Header DIB: Tinggi citra > 32767 pixel untuk file." + +#: ../src/common/imagbmp.cpp:792 +msgid "DIB Header: Image width > 32767 pixels for file." +msgstr "DIB Header: Lebar citra > 32767 pixel untuk file." + +#: ../src/common/imagbmp.cpp:812 +msgid "DIB Header: Unknown bitdepth in file." +msgstr "DIB Header: bitdepth dalam file tidak diketahui." + +#: ../src/common/imagbmp.cpp:822 +msgid "DIB Header: Unknown encoding in file." +msgstr "Header DIB: Pengkodean dalam file tidak diketahui." + +#: ../src/common/paper.cpp:128 +msgid "DL Envelope, 110 x 220 mm" +msgstr "Amplop DL, 110 x 220 mm" + +#: ../src/generic/filedlgg.cpp:700 +msgid "Date" +msgstr "Tanggal" + +#: ../src/generic/fontdlgg.cpp:221 +msgid "Decorative" +msgstr "Dekoratif" + +#: ../src/common/fontmap.cpp:386 +msgid "Default encoding" +msgstr "Pengkodean default" + +#: ../src/unix/snglinst.cpp:269 +#, c-format +msgid "Deleted stale lock file '%s'." +msgstr "Menghapus file lock '%s' yang terhenti." + +#: ../src/msw/dialup.cpp:346 +msgid "Dial up functions are unavailable because the remote access service (RAS) is not installed on this machine. Please install it." +msgstr "Fungsi dial up tidak tersedia karena remote access service (RAS) tidak terinstall pada mesin ini. Silahkan menginstall." + +#: ../src/os2/toplevel.cpp:329 +msgid "Did you forget to include wx/os2/wx.rc in your resources?" +msgstr "Apakah anda lupa menyertakan wx/os2/wx.rc di sesumber anda?" + +#: ../src/generic/tipdlg.cpp:178 +msgid "Did you know..." +msgstr "Tahukah anda..." + +#: ../src/common/filefn.cpp:1254 +#, c-format +msgid "Directory '%s' couldn't be created" +msgstr "Direktori '%s' tidak bsia diciptakan" + +#: ../src/mgl/dirmgl.cpp:217 +#, c-format +msgid "Directory '%s' doesn't exist!" +msgstr "Direktori '%s' tidak ada!" + +#: ../src/generic/dirdlgg.cpp:188 +msgid "Directory does not exist" +msgstr "Direktori tidak ada" + +#: ../src/html/helpfrm.cpp:374 +msgid "Display all index items that contain given substring. Search is case insensitive." +msgstr "Menampilkan semua item-item indeks yang berisi substring yang diberikan. Pencarian bersifat membedakan huruf besar dan kecil." + +#: ../src/html/helpfrm.cpp:540 +msgid "Display options dialog" +msgstr "Dialog menampilkan pilihan" + +#: ../src/msw/mimetype.cpp:679 +#, c-format +msgid "" +"Do you want to overwrite the command used to %s files with extension \"%s\" ?\n" +"Current value is \n" +"%s, \n" +"New value is \n" +"%s %1" +msgstr "" +"Apakah anda ingin menimpa perintah yanf digunakan untuk %s file-file dengan ekstensi \"%s\" ?\n" +"Nilai saat ini adalah \n" +"%s, \n" +"Nilai baru adalah \n" +"%s % 1" + +#: ../src/common/docview.cpp:440 +#, c-format +msgid "Do you want to save changes to document %s?" +msgstr "Apakah anda ingin menyimpan perubahan terhadap dokumen %s?" + +#: ../src/html/htmlwin.cpp:314 +msgid "Done" +msgstr "Selesai" + +#: ../src/generic/progdlgg.cpp:372 +msgid "Done." +msgstr "Selesai." + +#: ../src/generic/fdrepdlg.cpp:157 +msgid "Down" +msgstr "Turun" + +#: ../src/common/paper.cpp:107 +msgid "E sheet, 34 x 44 in" +msgstr "Kertas E, 34 x 44 inci" + +#: ../src/generic/progdlgg.cpp:183 +msgid "Elapsed time : " +msgstr "Waktu yang sudah dihabiskan :" + +#: ../src/generic/helphtml.cpp:335 +msgid "Entries found" +msgstr "Entri ditemukan" + +#: ../src/common/config.cpp:345 +#, c-format +msgid "Environment variables expansion failed: missing '%c' at position %d in '%s'." +msgstr "Ekspansi variabel lingkungan gagal: kehilangan '%s' pada posisi %d dalam '%s'." + +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:933 +#: ../src/generic/filedlgg.cpp:947 +#: ../src/generic/filedlgg.cpp:960 +#: ../src/generic/filedlgg.cpp:1322 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 +#: ../src/gtk/fontdlg.cpp:71 +msgid "Error" +msgstr "Kesalahan" + +#: ../src/unix/utilsunx.cpp:1182 +#: ../src/unix/utilsunx.cpp:1190 +msgid "Error " +msgstr "Kesalahan" + +#: ../src/generic/dirdlgg.cpp:203 +msgid "Error creating directory" +msgstr "Kesalahan dalam menciptakan direktori" + +#: ../src/common/imagbmp.cpp:845 +msgid "Error in reading image DIB ." +msgstr "Kesalahan dalam membaca citra DIB." + +#: ../src/common/log.cpp:460 +msgid "Error: " +msgstr "Kesalahan:" + +#: ../src/common/fontmap.cpp:114 +msgid "Esperanto (ISO-8859-3)" +msgstr "Esperanto (ISO-8859-3)" + +#: ../src/generic/progdlgg.cpp:191 +msgid "Estimated time : " +msgstr "Waktu yang telah dihabiskan :" + +#: ../src/msw/utilsexc.cpp:697 +#, c-format +msgid "Execution of command '%s' failed" +msgstr "Eksekusi perintah '%s' gagal" + +#: ../src/common/paper.cpp:112 +msgid "Executive, 7 1/4 x 10 1/2 in" +msgstr "Eksekutif, 7 1/4 x 10 1/2 inci" + +#: ../src/common/resourc2.cpp:326 +#: ../src/common/resourc2.cpp:1391 +#: ../src/common/resource.cpp:1845 +#: ../src/common/resource.cpp:1975 +#: ../src/common/resource.cpp:3059 +msgid "Expected '*' whilst parsing resource." +msgstr "Diharapkan '*' saat sedang mem-parsing sesumber" + +#: ../src/common/resourc2.cpp:342 +#: ../src/common/resourc2.cpp:1407 +#: ../src/common/resource.cpp:1862 +#: ../src/common/resource.cpp:1991 +#: ../src/common/resource.cpp:3076 +msgid "Expected '=' whilst parsing resource." +msgstr "Mengharapkan '=' saat sedang mem-parsing sesumber" + +#: ../src/common/resourc2.cpp:312 +#: ../src/common/resourc2.cpp:1377 +#: ../src/common/resource.cpp:1831 +#: ../src/common/resource.cpp:1961 +#: ../src/common/resource.cpp:3045 +msgid "Expected 'char' whilst parsing resource." +msgstr "Mengharapkan 'char' saat sedang mem-parsing sesumber." + +#: ../src/msw/dialup.cpp:840 +#, c-format +msgid "Failed to %s dialup connection: %s" +msgstr "Gagal untuk %s koneksi dialup: %s" + +#: ../src/unix/snglinst.cpp:243 +msgid "Failed to access lock file." +msgstr "Gagal mengakses file lock." + +#: ../src/common/filename.cpp:172 +msgid "Failed to close file handle" +msgstr "Gagal menutup file handle" + +#: ../src/unix/snglinst.cpp:308 +#, c-format +msgid "Failed to close lock file '%s'" +msgstr "Gagal menutup file lock '%s'" + +#: ../src/msw/clipbrd.cpp:127 +msgid "Failed to close the clipboard." +msgstr "Gagal menutup clipboard." + +#: ../src/msw/dialup.cpp:780 +msgid "Failed to connect: missing username/password." +msgstr "Gagal koneksi: hilang nama user/kata kunci" + +#: ../src/msw/dialup.cpp:726 +msgid "Failed to connect: no ISP to dial." +msgstr "Gagal koneksi: tidak ada ISP yang didial" + +#: ../src/msw/registry.cpp:597 +#, c-format +msgid "Failed to copy registry value '%s'" +msgstr "Gagal menyalin nilai registry '%s'" + +#: ../src/msw/registry.cpp:606 +#, c-format +msgid "Failed to copy the contents of registry key '%s' to '%s'." +msgstr "Gagal menyalin isi dari kunci registry '%s' ke '%s'." + +#: ../src/common/filefn.cpp:1106 +#, c-format +msgid "Failed to copy the file '%s' to '%s'" +msgstr "Gagal menyalin file '%s' ke '%s'" + +#: ../src/msw/dde.cpp:924 +msgid "Failed to create DDE string" +msgstr "Gagal menciptakan string DDE" + +#: ../src/msw/mdi.cpp:425 +msgid "Failed to create MDI parent frame." +msgstr "Gagal menciptakan frame parent MDI" + +#: ../src/msw/statbr95.cpp:110 +msgid "Failed to create a status bar." +msgstr "Gagal menciptakan baris status" + +#: ../src/common/filename.cpp:717 +msgid "Failed to create a temporary file name" +msgstr "Gagal menciptakan suatu nama file sementara" + +#: ../src/msw/utilsexc.cpp:195 +msgid "Failed to create an anonymous pipe" +msgstr "Gagal menciptakan pipa anonymous" + +#: ../src/msw/dde.cpp:401 +#, c-format +msgid "Failed to create connection to server '%s' on topic '%s'" +msgstr "Gagal menciptakan koneksi ke server '%s' untuk topik '%s'" + +#: ../src/msw/toplevel.cpp:293 +msgid "Failed to create dialog. Incorrect DLGTEMPLATE?" +msgstr "Gagal menciptakan dialog. DLGTEMPLATE salah?" + +#: ../src/generic/dirdlgg.cpp:201 +#, c-format +msgid "" +"Failed to create directory '%s'\n" +"(Do you have the required permissions?)" +msgstr "" +"Gagal menciptakan direktori '%s'\n" +"(Apakah anda mempunya permisi yang disyaratkan?)" + +#: ../src/msw/mimetype.cpp:168 +#, c-format +msgid "Failed to create registry entry for '%s' files." +msgstr "Gagal menciptakan entri registry untuk file-file '%s'." + +#: ../src/msw/fdrepdlg.cpp:442 +#, c-format +msgid "Failed to create the standard find/replace dialog (error code %d)" +msgstr "Gagal menciptakan dialog standar temukan/ganti (kode kesalahan %d)" + +#: ../src/html/winpars.cpp:430 +#, c-format +msgid "Failed to display HTML document in %s encoding" +msgstr "Gagal menampilkan dokumen HTML dalam pengkodean %s" + +#: ../src/mac/clipbrd.cpp:167 +#: ../src/msw/clipbrd.cpp:139 +msgid "Failed to empty the clipboard." +msgstr "Gagal mengosongkan clipboard." + +#: ../src/msw/dde.cpp:606 +msgid "Failed to establish an advise loop with DDE server" +msgstr "Gagal mengadakan advise loop dengan server DDE" + +#: ../src/msw/dialup.cpp:618 +#, c-format +msgid "Failed to establish dialup connection: %s" +msgstr "Gagal membentuk koneksi dialup: %s" + +#: ../src/unix/utilsunx.cpp:538 +#: ../src/unix/utilsunx.cpp:555 +#, c-format +msgid "" +"Failed to execute '%s'\n" +"" +msgstr "" +"Gagal mengeksekusi '%s'\n" +"" + +#: ../src/common/resourc2.cpp:808 +#: ../src/common/resource.cpp:2465 +#, c-format +msgid "" +"Failed to find XBM resource %s.\n" +"Forgot to use wxResourceLoadBitmapData?" +msgstr "" +"Gagal menemukan sesumber XBM %s.\n" +"Lupa menggunakan wxResourceLoadBitmapData?" + +#: ../src/common/resourc2.cpp:959 +#: ../src/common/resource.cpp:2619 +#, c-format +msgid "" +"Failed to find XBM resource %s.\n" +"Forgot to use wxResourceLoadIconData?" +msgstr "" +"Gagal menemukan sesumber XBM %s.\n" +"Lupa menggunakan wxResourceLoadIconData?" + +#: ../src/common/resourc2.cpp:823 +#: ../src/common/resource.cpp:2480 +#, c-format +msgid "" +"Failed to find XPM resource %s.\n" +"Forgot to use wxResourceLoadBitmapData?" +msgstr "" +"Gagal menemukan sesumber XPM %s.\n" +" Lupa menggunakan wxResourceLoadBitmapData?" + +#: ../src/msw/dialup.cpp:678 +#, c-format +msgid "Failed to get ISP names: %s" +msgstr "Gagal memperoleh nama ISO: %s" + +#: ../src/mac/clipbrd.cpp:118 +msgid "Failed to get clipboard data." +msgstr "Gagal memperoleh data clipboard." + +#: ../src/msw/clipbrd.cpp:712 +msgid "Failed to get data from the clipboard" +msgstr "Gagal memperoleh data dari clipboard" + +#: ../src/common/timercmn.cpp:286 +msgid "Failed to get the UTC system time." +msgstr "Gagal memperoleh waktu sistem UTC." + +#: ../src/common/timercmn.cpp:237 +msgid "Failed to get the local system time" +msgstr "Gagal memperoleh waktu lokal sistem" + +#: ../src/common/filefn.cpp:1487 +msgid "Failed to get the working directory" +msgstr "Gagal memperoleh direktori kerja" + +#: ../src/univ/theme.cpp:120 +msgid "Failed to initialize GUI: no built-in themes found." +msgstr "Gagal menginisialisasi GUI: tidak ada tema built-in ditemukan" + +#: ../src/msw/helpchm.cpp:69 +msgid "Failed to initialize MS HTML Help." +msgstr "Gagal menginisialisasi MS HTML Help." + +#: ../src/msw/glcanvas.cpp:729 +msgid "Failed to initialize OpenGL" +msgstr "Gagal menginisialisasi OpenGL" + +#: ../src/unix/threadpsx.cpp:871 +msgid "Failed to join a thread, potential memory leak detected - please restart the program" +msgstr "Gagal bergabung ke thread, memory leak potensial terdeteksi - silahkan jalankan ulang program" + +#: ../src/msw/utils.cpp:721 +#, c-format +msgid "Failed to kill process %d" +msgstr "Gagal untuk mematikan proses %d" + +#: ../src/common/iconbndl.cpp:66 +#, c-format +msgid "Failed to load image %d from file '%s'." +msgstr "Gagal untuk memuat citra %d dari file '%s'." + +#: ../src/msw/volume.cpp:340 +msgid "Failed to load mpr.dll." +msgstr "Gagal memuat mpr.dll." + +#: ../src/common/dynlib.cpp:274 +#: ../src/common/dynload.cpp:197 +#, c-format +msgid "Failed to load shared library '%s'" +msgstr "Gagal memuat shared library '%s'" + +#: ../src/common/dynlib.cpp:256 +#: ../src/common/dynload.cpp:126 +#, c-format +msgid "Failed to load shared library '%s' Error '%s'" +msgstr "Gagal memuat shared library '%s' Kesalahan '%s'" + +#: ../src/unix/snglinst.cpp:192 +#, c-format +msgid "Failed to lock the lock file '%s'" +msgstr "Gagal mengunci lock file '%s'" + +#: ../src/common/regex.cpp:251 +#, c-format +msgid "Failed to match '%s' in regular expression: %s" +msgstr "Gagal mencocokkan '%s' dalam regular expression: %s" + +#: ../src/common/filename.cpp:1644 +#, c-format +msgid "Failed to modify file times for '%s'" +msgstr "Gagal untuk memodifikasi waktu file untuk '%s'" + +#: ../src/common/filename.cpp:160 +#, c-format +msgid "Failed to open '%s' for %s" +msgstr "Gagal membuka '%s' untuk %s" + +#: ../src/common/filename.cpp:739 +msgid "Failed to open temporary file." +msgstr "Gagal membuka file sementara." + +#: ../src/msw/clipbrd.cpp:107 +msgid "Failed to open the clipboard." +msgstr "Gagal membuka clipboard." + +#: ../src/msw/clipbrd.cpp:616 +msgid "Failed to put data on the clipboard" +msgstr "Gagal meletakkan data pada clipboard." + +#: ../src/unix/snglinst.cpp:252 +msgid "Failed to read PID from lock file." +msgstr "Gagal membaca PID dari file lock." + +#: ../src/unix/utilsunx.cpp:629 +msgid "Failed to redirect child process input/output" +msgstr "Gagal mengarahkan kembali proses masukan/keluaran child" + +#: ../src/msw/utilsexc.cpp:600 +msgid "Failed to redirect the child process IO" +msgstr "Gagal mengarahkan kembali proses IO child" + +#: ../src/msw/dde.cpp:285 +#, c-format +msgid "Failed to register DDE server '%s'" +msgstr "Gagal meregister server DDE '%s'" + +#: ../src/common/fontmap.cpp:674 +#, c-format +msgid "Failed to remember the encoding for the charset '%s'." +msgstr "Gagal mengingat pengkodean untuk charset '%s'." + +#: ../src/unix/snglinst.cpp:296 +#, c-format +msgid "Failed to remove lock file '%s'" +msgstr "Gagal menghilangkan file lock '%s'" + +#: ../src/unix/snglinst.cpp:262 +#, c-format +msgid "Failed to remove stale lock file '%s'." +msgstr "Gagal menghilangkan file '%s' yang terhenti" + +#: ../src/msw/registry.cpp:443 +#, c-format +msgid "Failed to rename registry value '%s' to '%s'." +msgstr "Gagal mengganti nilai registry '%s' ke '%s'." + +#: ../src/msw/registry.cpp:543 +#, c-format +msgid "Failed to rename the registry key '%s' to '%s'." +msgstr "Gagal mengganti kunci registry '%s' to '%s'." + +#: ../src/msw/clipbrd.cpp:505 +msgid "Failed to retrieve data from the clipboard." +msgstr "Gagal mengambil data dari clipboard." + +#: ../src/common/filename.cpp:1710 +#, c-format +msgid "Failed to retrieve file times for '%s'" +msgstr "Gagal mengambil waktu file untuk '%s'" + +#: ../src/msw/dialup.cpp:442 +msgid "Failed to retrieve text of RAS error message" +msgstr "Gagal mengambil teks dari pesan kesalahan RAS" + +#: ../src/msw/clipbrd.cpp:742 +msgid "Failed to retrieve the supported clipboard formats" +msgstr "Gagal mengmbil format-format clipboard yang didukung" + +#: ../src/msw/dde.cpp:651 +msgid "Failed to send DDE advise notification" +msgstr "Gagal mengirimkan pemberitahuan DDE advise" + +#: ../src/common/ftp.cpp:368 +#, c-format +msgid "Failed to set FTP transfer mode to %s." +msgstr "Gagal menetapkan mode transfer FTP ke %s." + +#: ../src/msw/clipbrd.cpp:379 +msgid "Failed to set clipboard data." +msgstr "Gagal menetapkan data clipboard." + +#: ../src/common/file.cpp:522 +msgid "Failed to set temporary file permissions" +msgstr "Gagal menetapkan permisi file sementara" + +#: ../src/unix/threadpsx.cpp:1213 +#: ../src/unix/threadpsx.cpp:1224 +#, c-format +msgid "Failed to set thread priority %d." +msgstr "Gagal menetapkan prioritas thread %d." + +#: ../src/common/fs_mem.cpp:167 +#, c-format +msgid "Failed to store image '%s' to memory VFS!" +msgstr "Gagal menyimpan citra '%s' ke memory VFS!" + +#: ../src/unix/threadpsx.cpp:1397 +msgid "Failed to terminate a thread." +msgstr "Gagal menghentikan thread" + +#: ../src/msw/dde.cpp:625 +msgid "Failed to terminate the advise loop with DDE server" +msgstr "Gagal menghentikan advise loop dengan server DDE" + +#: ../src/msw/dialup.cpp:913 +#, c-format +msgid "Failed to terminate the dialup connection: %s" +msgstr "Gagal menghentikan koneksi dialup: %s" + +#: ../src/common/filename.cpp:1659 +#, c-format +msgid "Failed to touch the file '%s'" +msgstr "Gagal membuat file kosong '%s'" + +#: ../src/unix/snglinst.cpp:302 +#, c-format +msgid "Failed to unlock lock file '%s'" +msgstr "Gagal membuka kunci dari file lock '%s'" + +#: ../src/msw/dde.cpp:301 +#, c-format +msgid "Failed to unregister DDE server '%s'" +msgstr "Gagal melepas register server DDE '%s'" + +#: ../src/unix/snglinst.cpp:173 +#, c-format +msgid "Failed to write to lock file '%s'" +msgstr "Gagal menulis file lock '%s'" + +#: ../src/generic/logg.cpp:379 +msgid "Fatal error" +msgstr "Kesalahan fatal" + +#: ../src/common/log.cpp:453 +msgid "Fatal error: " +msgstr "Kesalahan fatal:" + +#: ../src/mac/app.cpp:1220 +#: ../src/msw/app.cpp:1281 +msgid "Fatal error: exiting" +msgstr "Kesalahan fatal: keluar" + +#: ../src/mgl/bitmap.cpp:544 +#, c-format +msgid "File %s does not exist." +msgstr "File %s tidak ada." + +#: ../src/generic/filedlgg.cpp:1354 +#: ../src/gtk/filedlg.cpp:69 +#, c-format +msgid "File '%s' already exists, do you really want to overwrite it?" +msgstr "File '%s' sudah ada, apakah anda benar-benar ingin menimpanya?" + +#: ../src/msw/filedlg.cpp:505 +#, c-format +msgid "" +"File '%s' already exists.\n" +"Do you want to replace it?" +msgstr "" +"File '%s' sudah ada.\n" +"Apakah anda ingin menggantinya?" + +#: ../src/common/textcmn.cpp:158 +msgid "File couldn't be loaded." +msgstr "File tidak bisa dimuat." + +#: ../src/common/docview.cpp:294 +#: ../src/common/docview.cpp:331 +#: ../src/common/docview.cpp:1422 +msgid "File error" +msgstr "Kesalahan file" + +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/filedlgg.cpp:947 +msgid "File name exists already." +msgstr "Nama file sudah ada." + +#: ../src/msw/filedlg.cpp:353 +#, c-format +msgid "Files (%s)|%s" +msgstr "File-file (%s)|%s" + +#: ../src/html/helpfrm.cpp:362 +msgid "Find" +msgstr "Temukan" + +#: ../src/html/helpfrm.cpp:950 +msgid "Fixed font:" +msgstr "Huruf tetap:" + +#: ../src/common/paper.cpp:118 +msgid "Folio, 8 1/2 x 13 in" +msgstr "Folio, 8 1/2 x 13 inci" + +#: ../src/html/helpfrm.cpp:960 +msgid "Font size:" +msgstr "Ukuran huruf:" + +#: ../src/unix/utilsunx.cpp:572 +msgid "Fork failed" +msgstr "Fork gagal" + +#: ../src/common/dlgcmn.cpp:167 +msgid "Forward" +msgstr "Ke depan" + +#: ../src/common/resourc2.cpp:295 +#: ../src/common/resourc2.cpp:1360 +#: ../src/common/resource.cpp:1814 +#: ../src/common/resource.cpp:1944 +#: ../src/common/resource.cpp:3028 +msgid "Found " +msgstr "Menemukan" + +#: ../src/html/helpfrm.cpp:661 +#: ../src/html/htmlhelp.cpp:460 +#, c-format +msgid "Found %i matches" +msgstr "Menemukan %i sesuai" + +#: ../src/generic/prntdlgg.cpp:184 +msgid "From:" +msgstr "Dari:" + +#: ../src/common/imaggif.cpp:100 +msgid "GIF: Invalid gif index." +msgstr "GIF: indeks gif tidak sah." + +#: ../src/common/imaggif.cpp:75 +msgid "GIF: data stream seems to be truncated." +msgstr "GIF: stream data kelihatannya terpotong." + +#: ../src/common/imaggif.cpp:59 +msgid "GIF: error in GIF image format." +msgstr "GIF: kesalahan pada format citra GIF" + +#: ../src/common/imaggif.cpp:62 +msgid "GIF: not enough memory." +msgstr "GIF: tidak cukup memory." + +#: ../src/common/imaggif.cpp:65 +msgid "GIF: unknown error!!!" +msgstr "GIF: error tidak diketahui!!!" + +#: ../src/univ/themes/gtk.cpp:623 +msgid "GTK+ theme" +msgstr "Tema GTK+" + +#: ../src/common/paper.cpp:142 +msgid "German Legal Fanfold, 8 1/2 x 13 in" +msgstr "German Legal Fanfold, 8 1/2 x 13 inci" + +#: ../src/common/paper.cpp:141 +msgid "German Std Fanfold, 8 1/2 x 12 in" +msgstr "German Std Fanfold, 8 1/2 x 12 inci" + +#: ../src/common/image.cpp:762 +msgid "GetUnusedColour:: No Unused Color in image " +msgstr "GetUnusedColour:: Tidak ada Unused Color dalam citra" + +#: ../src/html/helpfrm.cpp:506 +msgid "Go back" +msgstr "Kembali" + +#: ../src/html/htmlhelp.cpp:541 +msgid "Go back to the previous HTML page" +msgstr "Kembali ke halaman HTML sebelumnya" + +#: ../src/html/helpfrm.cpp:509 +msgid "Go forward" +msgstr "Ke depan" + +#: ../src/html/htmlhelp.cpp:543 +msgid "Go forward to the next HTML page" +msgstr "Ke depan ke halaman HTML berikutnya" + +#: ../src/html/helpfrm.cpp:514 +msgid "Go one level up in document hierarchy" +msgstr "Ke satu tingkat diatas dalam hirarki dokumen" + +#: ../src/generic/dirdlgg.cpp:108 +#: ../src/generic/filedlgg.cpp:1108 +msgid "Go to home directory" +msgstr "Ke direktori home" + +#: ../src/generic/filedlgg.cpp:1100 +msgid "Go to parent directory" +msgstr "Ke direktori atasnya" + +#: ../src/common/prntbase.cpp:379 +msgid "Goto Page" +msgstr "Ke Halaman" + +#: ../src/common/fontmap.cpp:118 +msgid "Greek (ISO-8859-7)" +msgstr "Greek (ISO-8859-7)" + +#: ../src/html/htmlwin.cpp:354 +#, c-format +msgid "HTML anchor %s does not exist." +msgstr "Anchor HTML %s tidak ada." + +#: ../src/html/helpfrm.cpp:1279 +msgid "HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All files (*.*)|*" +msgstr "File-file HTML (*.htm)|*.htm|File-file HTML (*.html)|*.html|Buku pertolongan (*.htb)|*.htb|Buku pertolongan (*.zip)|*.zip|Proyek Pertolongan HTML (*.hhp)|*.hhp|Semua file (*.*)|*" + +#: ../src/common/fontmap.cpp:119 +msgid "Hebrew (ISO-8859-8)" +msgstr "Hebrew (ISO-8859-8)" + +#: ../src/common/dlgcmn.cpp:179 +#: ../src/generic/proplist.cpp:516 +#: ../src/html/helpfrm.cpp:240 +#: ../src/msw/mdi.cpp:1324 +msgid "Help" +msgstr "Pertolongan" + +#: ../src/html/htmlhelp.cpp:87 +#, c-format +msgid "Help : %s" +msgstr "Pertolongan : %s" + +#: ../src/html/helpfrm.cpp:933 +msgid "Help Browser Options" +msgstr "Pilihan-pilihan Browser Pertolongan" + +#: ../src/generic/helphtml.cpp:334 +#: ../src/generic/helphtml.cpp:335 +msgid "Help Index" +msgstr "Indeks Pertolongan" + +#: ../src/html/helpfrm.cpp:1263 +msgid "Help Printing" +msgstr "Pertolongan Pencetakan" + +#: ../src/html/helpctrl.cpp:49 +#, c-format +msgid "Help: %s" +msgstr "Pertolongan: %s" + +#: ../src/common/imagbmp.cpp:858 +msgid "ICO: Error in reading mask DIB." +msgstr "ICO: Kesalahan dalam membaca mask DIB" + +#: ../src/common/imagbmp.cpp:960 +#: ../src/common/imagbmp.cpp:1019 +#: ../src/common/imagbmp.cpp:1028 +#: ../src/common/imagbmp.cpp:1039 +#: ../src/common/imagbmp.cpp:1083 +#: ../src/common/imagbmp.cpp:1093 +#: ../src/common/imagbmp.cpp:1102 +msgid "ICO: Error writing the image file!" +msgstr "ICO: Kesalahan dalam menulis file citra!" + +#: ../src/common/imagbmp.cpp:928 +msgid "ICO: Image too tall for an icon." +msgstr "ICO: Citra terlalu tinggi untuk suatu ikon" + +#: ../src/common/imagbmp.cpp:934 +msgid "ICO: Image too wide for an icon." +msgstr "ICO: Citra terlalu lebar untuk suatu ikon" + +#: ../src/common/imagbmp.cpp:1167 +msgid "ICO: Invalid icon index." +msgstr "ICO: indeks ikon tidak sah." + +#: ../src/common/imagiff.cpp:767 +msgid "IFF: data stream seems to be truncated." +msgstr "IFF: stream data kelihatannya terpotong." + +#: ../src/common/imagiff.cpp:751 +msgid "IFF: error in IFF image format." +msgstr "IFF: kesalahan dalam format citra IFF." + +#: ../src/common/imagiff.cpp:754 +msgid "IFF: not enough memory." +msgstr "IFF: memory tidak cukup." + +#: ../src/common/imagiff.cpp:757 +msgid "IFF: unknown error!!!" +msgstr "IFF: kesalahan yang tidak diketahui!!!" + +#: ../src/common/resourc2.cpp:989 +#: ../src/common/resourc2.cpp:1000 +#: ../src/common/resource.cpp:2649 +#: ../src/common/resource.cpp:2660 +#, c-format +msgid "Icon resource specification %s not found." +msgstr "Spesifikasi sesumber ikon %s tidak ditemukan." + +#: ../src/common/resource.cpp:250 +msgid "Ill-formed resource file syntax." +msgstr "Bentuk sintaksis file sesumber tidak tepat" + +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/filedlgg.cpp:933 +msgid "Illegal directory name." +msgstr "Nama direktori tidak sah." + +#: ../src/generic/filedlgg.cpp:1322 +msgid "Illegal file specification." +msgstr "Spesifikasi file tidak sah." + +#: ../src/common/image.cpp:785 +msgid "Image and Mask have different sizes" +msgstr "Citra dan Mask mempunyai ukuran yang berlainan." + +#: ../src/common/image.cpp:1064 +#, c-format +msgid "Image file is not of type %d." +msgstr "File citra bukan bukan merupakan tipe %d." + +#: ../src/msw/textctrl.cpp:249 +msgid "Impossible to create a rich edit control, using simple text control instead. Please reinstall riched32.dll" +msgstr "Tidak mungkin menciptakan suatu kontrol rich edit, menggunakan kontrol text sederhana sebagai gantinya. Silahkan install ulang riched32.dll" + +#: ../src/unix/utilsunx.cpp:390 +msgid "Impossible to get child process input" +msgstr "Tidak mungkin memperoleh masukan dari proses anak" + +#: ../src/common/filefn.cpp:1122 +#, c-format +msgid "Impossible to get permissions for file '%s'" +msgstr "Tidak mungkin memperoleh permisi file '%s'" + +#: ../src/common/filefn.cpp:1136 +#, c-format +msgid "Impossible to overwrite the file '%s'" +msgstr "Tidak mungkin menimpa file '%s'" + +#: ../src/common/filefn.cpp:1187 +#, c-format +msgid "Impossible to set permissions for the file '%s'" +msgstr "Tidak mungkin mengubah permisi file '%s'" + +#: ../src/html/helpfrm.cpp:387 +#: ../src/html/htmlhelp.cpp:578 +msgid "Index" +msgstr "Indeks" + +#: ../src/common/fontmap.cpp:123 +msgid "Indian (ISO-8859-12)" +msgstr "Indian (ISO-8859-12)" + +#: ../src/common/imagtiff.cpp:183 +msgid "Invalid TIFF image index." +msgstr "Indeks citra TIFF tidak sah." + +#: ../contrib/src/xrc/xmlres.cpp:343 +#, c-format +msgid "Invalid XRC resource '%s': doesn't have root node 'resource'." +msgstr "Sesumber XRC '%s' tidak sah: tidak mempunyai titik akar 'resource'." + +#: ../src/common/appcmn.cpp:378 +#, c-format +msgid "Invalid display mode specification '%s'." +msgstr "Spesifikasi mode tampilan %s tidak sah." + +#: ../src/x11/app.cpp:231 +#, c-format +msgid "Invalid geometry specification '%s'" +msgstr "Spesifikasi geomtri '%s' tidak sah" + +#: ../src/unix/snglinst.cpp:280 +#, c-format +msgid "Invalid lock file '%s'." +msgstr "File lock tidak sah '%s'." + +#: ../src/common/regex.cpp:173 +#, c-format +msgid "Invalid regular expression '%s': %s" +msgstr "Regular expression tidak sah '%s': %s" + +#: ../src/generic/fontdlgg.cpp:227 +msgid "Italic" +msgstr "Miring" + +#: ../src/common/paper.cpp:137 +msgid "Italy Envelope, 110 x 230 mm" +msgstr "Amplop Italia, 110 x 230 mm" + +#: ../src/common/imagjpeg.cpp:222 +msgid "JPEG: Couldn't load - file is probably corrupted." +msgstr "JPEG: Tidak bisa memuat - file mungkin rusak." + +#: ../src/common/imagjpeg.cpp:336 +msgid "JPEG: Couldn't save image." +msgstr "JPEG: Tidak bisa menyimpan citra." + +#: ../src/common/fontmap.cpp:127 +msgid "KOI8-R" +msgstr "KOI8-R" + +#: ../src/generic/prntdlgg.cpp:426 +#: ../src/generic/prntdlgg.cpp:620 +msgid "Landscape" +msgstr "Memanjang" + +#: ../src/common/paper.cpp:110 +msgid "Ledger, 17 x 11 in" +msgstr "Ledger, 17 x 11 in" + +#: ../src/generic/prntdlgg.cpp:632 +msgid "Left margin (mm):" +msgstr "Batas kiri (mm):" + +#: ../src/common/paper.cpp:103 +msgid "Legal, 8 1/2 x 14 in" +msgstr "Legal, 8 1/2 x 14 inci" + +#: ../src/common/paper.cpp:108 +msgid "Letter Small, 8 1/2 x 11 in" +msgstr "Surat Kecil, 8 1/2 x 11 inci" + +#: ../src/common/paper.cpp:102 +msgid "Letter, 8 1/2 x 11 in" +msgstr "Surat, 8 1/2 x 11 inci" + +#: ../src/generic/fontdlgg.cpp:230 +msgid "Light" +msgstr "Light" + +#: ../src/generic/filedlgg.cpp:1587 +#: ../src/gtk/filedlg.cpp:249 +#: ../src/motif/filedlg.cpp:357 +#: ../src/msw/filedlg.cpp:542 +#, c-format +msgid "Load %s file" +msgstr "Memuat file %s" + +#: ../src/generic/filedlgg.cpp:1589 +msgid "Load file" +msgstr "Memuat file" + +#: ../src/html/htmlwin.cpp:282 +msgid "Loading : " +msgstr "Memuat:" + +#: ../src/common/imagpnm.cpp:72 +msgid "Loading Grey Ascii PNM image is not yet implemented." +msgstr "Memuat citra PNM Ascii Abu-abu belum diimplementasikan." + +#: ../src/common/imagpnm.cpp:75 +msgid "Loading Grey Raw PNM image is not yet implemented." +msgstr "Memuat citra PNM Mentah Abu-abu belum diimplementasikan." + +#: ../src/generic/logg.cpp:554 +#, c-format +msgid "Log saved to the file '%s'." +msgstr "Log disimpan ke file '%s'." + +#: ../src/gtk/mdi.cpp:433 +msgid "MDI child" +msgstr "child MDI" + +#: ../src/msw/helpchm.cpp:60 +msgid "MS HTML Help functions are unavailable because the MS HTML Help library is not installed on this machine. Please install it." +msgstr "Fungsi-fungsi MS HTML Help tidak tersedia karena pustaka MS HTML Help tidak terinstall di mesin ini. Silahkan install." + +#: ../src/univ/themes/win32.cpp:4545 +msgid "Ma&ximize" +msgstr "Ma&ksimalkan" + +#: ../src/unix/mimetype.cpp:2477 +#, c-format +msgid "Mailcap file %s, line %d: incomplete entry ignored." +msgstr "File Mailcap %s, baris %d: isian tidak lengkap diacuhkan." + +#: ../src/generic/fdrepdlg.cpp:152 +msgid "Match case" +msgstr "Sesuaikan besar kecil huruf" + +#: ../src/common/fs_mem.cpp:144 +#, c-format +msgid "Memory VFS already contains file '%s'!" +msgstr "Memory VFS telah terisi file '%s'!" + +#: ../src/univ/themes/metal.cpp:174 +msgid "Metal theme" +msgstr "Tema Metal" + +#: ../src/univ/themes/win32.cpp:4543 +msgid "Mi&nimize" +msgstr "Mi%nimalkan" + +#: ../src/unix/mimetype.cpp:2102 +#, c-format +msgid "Mime.types file %s, line %d: unterminated quoted string." +msgstr "File Mime.types %s, baris %d: kutipan string tidak berujung" + +#: ../src/mgl/app.cpp:173 +#, c-format +msgid "Mode %ix%i-%i not available." +msgstr "Mode %ix%i-%i tidak tersedia." + +#: ../src/generic/fontdlgg.cpp:222 +msgid "Modern" +msgstr "Modern" + +#: ../src/common/paper.cpp:138 +msgid "Monarch Envelope, 3 7/8 x 7 1/2 in" +msgstr "Amplop Monarch, 3 7/8 x 7 1/2 inci" + +#: ../src/common/dlgcmn.cpp:176 +msgid "More..." +msgstr "Lebih..." + +#: ../src/generic/filedlgg.cpp:698 +msgid "Name" +msgstr "Nama" + +#: ../src/generic/dirdlgg.cpp:272 +#: ../src/generic/dirdlgg.cpp:282 +#: ../src/generic/filedlgg.cpp:812 +#: ../src/generic/filedlgg.cpp:821 +msgid "NewName" +msgstr "NamaBaru" + +#: ../src/html/helpfrm.cpp:520 +msgid "Next page" +msgstr "Halaman berikut" + +#: ../src/common/dlgcmn.cpp:156 +#: ../src/mac/msgdlg.cpp:78 +#: ../src/motif/msgdlg.cpp:182 +msgid "No" +msgstr "Tidak" + +#: ../src/common/image.cpp:793 +msgid "No Unused Color in image being masked" +msgstr "Tidak ada Unused Color dalam citra yang sedang di-mask" + +#: ../src/common/resourc2.cpp:814 +#: ../src/common/resourc2.cpp:965 +#: ../src/common/resource.cpp:2471 +#: ../src/common/resource.cpp:2625 +msgid "No XBM facility available!" +msgstr "Tidak ada fasilitas XBM tersedia!" + +#: ../src/common/resourc2.cpp:983 +#: ../src/common/resource.cpp:2643 +msgid "No XPM icon facility available!" +msgstr "Tidak ada fasilitas ikon XPM tersedia!" + +#: ../src/generic/helphtml.cpp:329 +msgid "No entries found." +msgstr "Tidak ada yang ditemukan." + +#: ../src/common/fontmap.cpp:865 +#, c-format +msgid "" +"No font for displaying text in encoding '%s' found,\n" +"but an alternative encoding '%s' is available.\n" +"Do you want to use this encoding (otherwise you will have to choose another one)?" +msgstr "" +"Tidak ada huruf untuk menampilkan teks dalam pengkodean '%s' ditemukan,\n" +" tetapi alternatif pengkodean '%s' tersedia.\n" +"Apakah anda ingin menggunakan pengkodean ini (jika tidak anda harus memilih lainnya)?" + +#: ../src/common/fontmap.cpp:870 +#, c-format +msgid "" +"No font for displaying text in encoding '%s' found.\n" +"Would you like to select a font to be used for this encoding\n" +"(otherwise the text in this encoding will not be shown correctly)?" +msgstr "" +"Tidak ada huruf untuk menampilkan teks dalam pengkodean '%s' ditemukan.\n" +"Apakah anda mau memilih huruf yang akan digunakan untuk pengkodean\n" +"(jika tidak teks dalam pengkodean tidak akan diperlihatkan secara benar)?" + +#: ../contrib/src/xrc/xmlres.cpp:523 +#, c-format +msgid "No handler found for XML node '%s', class '%s'!" +msgstr "Tidak ada handler yang ditemukan untuk titik XML '%s', class '%s'!" + +#: ../src/common/image.cpp:1046 +#: ../src/common/image.cpp:1089 +msgid "No handler found for image type." +msgstr "Tidak ada handler ditemukan untuk tipe citra." + +#: ../src/common/image.cpp:1054 +#: ../src/common/image.cpp:1097 +#: ../src/common/image.cpp:1131 +#, c-format +msgid "No image handler for type %d defined." +msgstr "Tidak ada handler citra untuk tipe %d didefinisikan." + +#: ../src/common/image.cpp:1115 +#: ../src/common/image.cpp:1147 +#, c-format +msgid "No image handler for type %s defined." +msgstr "Tidak ada handler citra untuk tipe %s didefinisikan." + +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:436 +#: ../src/html/htmlhelp.cpp:441 +msgid "No matching page found yet" +msgstr "Tidak ada halaman yang sesuai ditemukan" + +#: ../src/common/fontmap.cpp:121 +msgid "Nordic (ISO-8859-10)" +msgstr "Nordic (ISO-8859-10)" + +#: ../src/generic/fontdlgg.cpp:226 +#: ../src/generic/fontdlgg.cpp:229 +msgid "Normal" +msgstr "Normal" + +#: ../src/html/helpfrm.cpp:942 +msgid "Normal font:" +msgstr "Huruf normal:" + +#: ../src/common/paper.cpp:122 +msgid "Note, 8 1/2 x 11 in" +msgstr "Catatan, 8 1/2 x 11 in" + +#: ../src/common/dlgcmn.cpp:162 +#: ../src/generic/dirdlgg.cpp:151 +#: ../src/generic/filedlgg.cpp:1165 +#: ../src/generic/filedlgg.cpp:1176 +#: ../src/generic/fontdlgg.cpp:253 +#: ../src/generic/logg.cpp:739 +#: ../src/generic/prntdlgg.cpp:452 +#: ../src/generic/proplist.cpp:499 +#: ../src/gtk/filedlg.cpp:167 +#: ../src/gtk/fontdlg.cpp:136 +#: ../src/html/helpfrm.cpp:972 +msgid "OK" +msgstr "OK" + +#: ../src/html/helpfrm.cpp:528 +#: ../src/html/helpfrm.cpp:1274 +msgid "Open HTML document" +msgstr "Buka dokumen HTML" + +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:960 +msgid "Operation not permitted." +msgstr "Operasi tidak diijinkan" + +#: ../src/common/cmdline.cpp:666 +#, c-format +msgid "Option '%s' requires a value, '=' expected." +msgstr "Pilihan '%s' memerlukan suatu nilai, '=' diharapkan." + +#: ../src/common/cmdline.cpp:686 +#, c-format +msgid "Option '%s' requires a value." +msgstr "Pilihan '%s' memerlukan suatu nilai." + +#: ../src/common/cmdline.cpp:747 +#, c-format +msgid "Option '%s': '%s' cannot be converted to a date." +msgstr "Pilihan '%s': '%s' tidak bisa dikonversi ke suatu tanggal." + +#: ../src/generic/prntdlgg.cpp:432 +msgid "Options" +msgstr "Pilihan-pilihan" + +#: ../src/generic/prntdlgg.cpp:428 +#: ../src/generic/prntdlgg.cpp:621 +msgid "Orientation" +msgstr "Orientasi" + +#: ../src/common/imagpcx.cpp:455 +#: ../src/common/imagpcx.cpp:478 +msgid "PCX: couldn't allocate memory" +msgstr "PCX: tidak bisa mengalokasikan memory" + +#: ../src/common/imagpcx.cpp:454 +msgid "PCX: image format unsupported" +msgstr "PCX: format citra tidak didukung" + +#: ../src/common/imagpcx.cpp:477 +msgid "PCX: invalid image" +msgstr "PCX: citra tidak sah" + +#: ../src/common/imagpcx.cpp:441 +msgid "PCX: this is not a PCX file." +msgstr "PCX: ini bukan file PCX." + +#: ../src/common/imagpcx.cpp:457 +#: ../src/common/imagpcx.cpp:479 +msgid "PCX: unknown error !!!" +msgstr "PCX: kesalahan tidak diketahui !!!" + +#: ../src/common/imagpcx.cpp:456 +msgid "PCX: version number too low" +msgstr "PCX: nomor versi terlalu rendah" + +#: ../src/common/imagpnm.cpp:96 +msgid "PNM: Couldn't allocate memory." +msgstr "PNM: Tidak bisa mengalokasikan memory." + +#: ../src/common/imagpnm.cpp:80 +msgid "PNM: File format is not recognized." +msgstr "PNM: format file tidak dikenali" + +#: ../src/common/imagpnm.cpp:112 +msgid "PNM: File seems truncated." +msgstr "PNM: Kelihatannya file terpotong." + +#: ../src/common/prntbase.cpp:827 +#, c-format +msgid "Page %d" +msgstr "Halaman %d" + +#: ../src/common/prntbase.cpp:825 +#, c-format +msgid "Page %d of %d" +msgstr "Halaman %d dari %d" + +#: ../src/generic/prntdlgg.cpp:587 +msgid "Page Setup" +msgstr "Atur Halaman" + +#: ../src/generic/prntdlgg.cpp:161 +msgid "Pages" +msgstr "Halaman-halaman" + +#: ../src/generic/prntdlgg.cpp:538 +#: ../src/generic/prntdlgg.cpp:609 +#: ../src/generic/prntdlgg.cpp:794 +msgid "Paper Size" +msgstr "Ukuran Kertas" + +#: ../src/generic/prntdlgg.cpp:418 +#: ../src/generic/prntdlgg.cpp:598 +#: ../src/generic/prntdlgg.cpp:790 +msgid "Paper size" +msgstr "Ukuran kertas" + +#: ../src/generic/filedlgg.cpp:703 +msgid "Permissions" +msgstr "Permisi" + +#: ../src/unix/utilsunx.cpp:439 +msgid "Pipe creation failed" +msgstr "Pembuatan pipa gagal" + +#: ../src/gtk/fontdlg.cpp:71 +msgid "Please choose a valid font." +msgstr "Silahkan piliha huruf yang sah." + +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 +msgid "Please choose an existing file." +msgstr "Silahkan memilih file yang ada." + +#: ../src/msw/dialup.cpp:747 +msgid "Please choose which ISP do you want to connect to" +msgstr "Silahkan pilih, anda ingin koneksi ke ISP mana" + +#: ../src/msw/listctrl.cpp:535 +#, c-format +msgid "" +"Please install a newer version of comctl32.dll\n" +"(at least version 4.70 is required but you have %d.%02d)\n" +"or this program won't operate correctly." +msgstr "" +"Silahkan install versi yang lebih baru dari comctl32.dll\n" +"(setidaknya versi 4.70 diperlukan tetapi anda mempunyai %d.%02d)\n" +"atau program ini tidak akan beroperasi dengan benar." + +#: ../src/common/prntbase.cpp:112 +msgid "" +"Please wait while printing\n" +"" +msgstr "" +"Tunggu sebentar, sedang mencetak\n" +"" + +#: ../src/generic/prntdlgg.cpp:425 +#: ../src/generic/prntdlgg.cpp:619 +msgid "Portrait" +msgstr "Membujur" + +#: ../src/generic/prntdlgg.cpp:268 +msgid "PostScript file" +msgstr "File Postcript" + +#: ../src/html/htmlhelp.cpp:509 +msgid "Preparing help window..." +msgstr "Menyiapkan jendela pertolongan..." + +#: ../src/html/helpfrm.cpp:964 +msgid "Preview:" +msgstr "Preview:" + +#: ../src/html/helpfrm.cpp:517 +msgid "Previous page" +msgstr "Halaman sebelumnya" + +#: ../src/generic/prntdlgg.cpp:110 +#: ../src/generic/prntdlgg.cpp:124 +msgid "Print" +msgstr "Cetak" + +#: ../src/common/docview.cpp:923 +msgid "Print Preview" +msgstr "Preview Pencetakan" + +#: ../src/common/prntbase.cpp:782 +#: ../src/common/prntbase.cpp:806 +msgid "Print Preview Failure" +msgstr "Gagal Preview Pencetakan" + +#: ../src/generic/prntdlgg.cpp:169 +msgid "Print Range" +msgstr "Jangkauan Cetakan" + +#: ../src/generic/prntdlgg.cpp:406 +msgid "Print Setup" +msgstr "Atur Cetakan" + +#: ../src/generic/prntdlgg.cpp:440 +msgid "Print in colour" +msgstr "Cetak berwarna" + +#: ../src/generic/prntdlgg.cpp:442 +msgid "Print spooling" +msgstr "Pen-spool-an pencetakan" + +#: ../src/html/helpfrm.cpp:534 +msgid "Print this page" +msgstr "Cetak halaman ini" + +#: ../src/generic/prntdlgg.cpp:147 +msgid "Print to File" +msgstr "Cetak ke File" + +#: ../src/common/prntbase.cpp:436 +msgid "Print..." +msgstr "Cetak..." + +#: ../src/generic/prntdlgg.cpp:444 +msgid "Printer command:" +msgstr "Perintah pencetak:" + +#: ../src/generic/prntdlgg.cpp:146 +msgid "Printer options" +msgstr "Pilihan-pilihan pencetak" + +#: ../src/generic/prntdlgg.cpp:448 +msgid "Printer options:" +msgstr "Pilihan-pilihan Pencetak:" + +#: ../src/generic/prntdlgg.cpp:665 +msgid "Printer..." +msgstr "Pencetak..." + +#: ../src/common/prntbase.cpp:109 +#: ../src/common/prntbase.cpp:154 +msgid "Printing " +msgstr "Mencetak" + +#: ../src/common/prntbase.cpp:126 +msgid "Printing Error" +msgstr "Kesalahan Mencetak" + +#: ../src/generic/printps.cpp:220 +#, c-format +msgid "Printing page %d..." +msgstr "Mencetak halaman %d..." + +#: ../src/generic/printps.cpp:180 +msgid "Printing..." +msgstr "Mencetak..." + +#: ../src/common/log.cpp:454 +msgid "Program aborted." +msgstr "Program dibatalkan." + +#: ../src/common/paper.cpp:119 +msgid "Quarto, 215 x 275 mm" +msgstr "Kuarto, 215 x 275 mm" + +#: ../src/generic/logg.cpp:1111 +msgid "Question" +msgstr "Pertanyaan" + +#: ../src/common/ffile.cpp:125 +#: ../src/common/ffile.cpp:146 +#, c-format +msgid "Read error on file '%s'" +msgstr "Kesalahan membaca pada file '%s'" + +#: ../contrib/src/xrc/xmlres.cpp:498 +#, c-format +msgid "Referenced object node with ref=\"%s\" not found!" +msgstr "Titik obyek tereferensi dengan ref=\"%s\" tidak ditemukan" + +#: ../src/msw/registry.cpp:535 +#, c-format +msgid "Registry key '%s' already exists." +msgstr "Kunci registry '%s' sudah ada." + +#: ../src/msw/registry.cpp:504 +#, c-format +msgid "Registry key '%s' does not exist, cannot rename it." +msgstr "Kunci registry '%s' tidak ada, tidak bisa mengubah namanya." + +#: ../src/msw/registry.cpp:631 +#, c-format +msgid "" +"Registry key '%s' is needed for normal system operation,\n" +"deleting it will leave your system in unusable state:\n" +"operation aborted." +msgstr "" +"Kunci registry '%s' diperlukan untuk operasi sistem normal,\n" +" menghapusnya akan menyebabkan sistem anda tidak stabil:\n" +" operasi dibatalkan." + +#: ../src/msw/registry.cpp:435 +#, c-format +msgid "Registry value '%s' already exists." +msgstr "Nilai registry '%s' sudah ada." + +#: ../src/msw/thread.cpp:246 +msgid "ReleaseMutex()" +msgstr "ReleaseMutex()" + +#: ../src/generic/helphtml.cpp:334 +msgid "Relevant entries:" +msgstr "Entri relevan" + +#: ../src/generic/progdlgg.cpp:199 +msgid "Remaining time : " +msgstr "Waktu tersisa :" + +#: ../src/html/helpfrm.cpp:324 +msgid "Remove current page from bookmarks" +msgstr "Hilangkan halaman saat ini dari bookmark" + +#: ../src/generic/fdrepdlg.cpp:177 +msgid "Replace &all" +msgstr "Ganti &semua" + +#: ../src/generic/fdrepdlg.cpp:129 +msgid "Replace with:" +msgstr "Ganti dengan:" + +#: ../contrib/src/xrc/xmlres.cpp:360 +msgid "Resource files must have same version number!" +msgstr "File sesumber harus mempunyai nomor versi yang sama!" + +#: ../src/generic/prntdlgg.cpp:644 +msgid "Right margin (mm):" +msgstr "Batas kanan (mm):" + +#: ../src/generic/fontdlgg.cpp:220 +msgid "Roman" +msgstr "Roman" + +#: ../src/generic/filedlgg.cpp:1602 +#: ../src/gtk/filedlg.cpp:265 +#: ../src/motif/filedlg.cpp:359 +#: ../src/msw/filedlg.cpp:544 +#, c-format +msgid "Save %s file" +msgstr "Simpan file %s" + +#: ../src/common/docview.cpp:247 +msgid "Save as" +msgstr "Simpan sebagai" + +#: ../src/generic/filedlgg.cpp:1604 +msgid "Save file" +msgstr "Simpan file " + +#: ../src/generic/logg.cpp:487 +msgid "Save log contents to file" +msgstr "Simpan isi log ke file" + +#: ../src/mgl/window.cpp:132 +msgid "Screenshot captured: " +msgstr "Screenshot yang ditangkap:" + +#: ../src/generic/fontdlgg.cpp:223 +msgid "Script" +msgstr "Skrip" + +#: ../src/html/helpfrm.cpp:408 +#: ../src/html/helpfrm.cpp:423 +#: ../src/html/htmlhelp.cpp:610 +msgid "Search" +msgstr "Mencari" + +#: ../src/html/helpfrm.cpp:410 +msgid "Search contents of help book(s) for all occurences of the text you typed above" +msgstr "Mencari isi dari buku pertolongan untuk semua pemunculan dari teks yang anda ketikkan diatas" + +#: ../src/generic/fdrepdlg.cpp:158 +msgid "Search direction" +msgstr "Arah pencarian" + +#: ../src/generic/fdrepdlg.cpp:117 +msgid "Search for:" +msgstr "Mencari:" + +#: ../src/html/helpfrm.cpp:789 +msgid "Search in all books" +msgstr "Mencari di semua buku" + +#: ../src/html/htmlhelp.cpp:593 +msgid "Search!" +msgstr "Cari!" + +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:383 +#: ../src/html/htmlhelp.cpp:441 +msgid "Searching..." +msgstr "Mencari..." + +#: ../src/generic/dirctrlg.cpp:549 +msgid "Sections" +msgstr "Seksi" + +#: ../src/common/ffile.cpp:213 +#, c-format +msgid "Seek error on file '%s'" +msgstr "Kesalahan seek pada file '%s'" + +#: ../src/common/docview.cpp:1538 +msgid "Select a document template" +msgstr "Pilih template dokumen" + +#: ../src/common/docview.cpp:1614 +msgid "Select a document view" +msgstr "Pilih pandangan dokumen" + +#: ../src/common/docview.cpp:1405 +#: ../src/common/docview.cpp:1456 +msgid "Select a file" +msgstr "Pilih file" + +#: ../src/common/cmdline.cpp:703 +#, c-format +msgid "Separator expected after the option '%s'." +msgstr "Pemisah diharapkan setelah pilihan '%s'." + +#: ../src/common/dlgcmn.cpp:173 +msgid "Setup" +msgstr "Atur" + +#: ../src/generic/prntdlgg.cpp:152 +msgid "Setup..." +msgstr "Atur..." + +#: ../src/msw/dialup.cpp:518 +msgid "Several active dialup connections found, choosing one randomly." +msgstr "Banyak koneksi dialup aktif ditemukan, pilih satu secara acak." + +#: ../src/html/helpfrm.cpp:364 +msgid "Show all" +msgstr "Tampilkan semua" + +#: ../src/html/helpfrm.cpp:375 +msgid "Show all items in index" +msgstr "Tampilkan semua item dalam indeks" + +#: ../src/generic/dirdlgg.cpp:135 +msgid "Show hidden directories" +msgstr "Tampilkan direktori-direktori tersembunyi" + +#: ../src/generic/filedlgg.cpp:1160 +#: ../src/generic/filedlgg.cpp:1182 +msgid "Show hidden files" +msgstr "Tampilkan file-file tersembunyi" + +#: ../src/html/helpfrm.cpp:501 +#: ../src/html/htmlhelp.cpp:538 +msgid "Show/hide navigation panel" +msgstr "Tampilkan/Sembunyikan panel navigasi" + +#: ../src/generic/filedlgg.cpp:699 +msgid "Size" +msgstr "Ukuran" + +#: ../src/generic/fontdlgg.cpp:228 +msgid "Slant" +msgstr "Sudut pandang" + +#: ../src/common/docview.cpp:304 +msgid "Sorry, could not open this file for saving." +msgstr "Maaf, tidak bisa membuka file untuk menyimpan." + +#: ../src/common/docview.cpp:341 +#: ../src/common/docview.cpp:354 +#: ../src/common/docview.cpp:1424 +msgid "Sorry, could not open this file." +msgstr "Maaf, tidak bisa membuka file ini." + +#: ../src/common/docview.cpp:311 +msgid "Sorry, could not save this file." +msgstr "Maaf, tidak bisa menyimpan file ini." + +#: ../src/common/prntbase.cpp:782 +msgid "Sorry, not enough memory to create a preview." +msgstr "Maaf, tidak cukup memory untuk menciptakan preview." + +#: ../src/common/paper.cpp:111 +msgid "Statement, 5 1/2 x 8 1/2 in" +msgstr "Pernyataan, 5 1/2 x 8 1/2 inci" + +#: ../src/generic/logg.cpp:604 +msgid "Status: " +msgstr "Status:" + +#: ../contrib/src/xrc/xmlres.cpp:558 +#, c-format +msgid "Subclass '%s' not found for resource '%s', not subclassing!" +msgstr "Subclass '%s' tidak ditemukan untuk sesumber '%s', bukan pen-subklas-an" + +#: ../src/generic/fontdlgg.cpp:224 +msgid "Swiss" +msgstr "Swiss" + +#: ../src/common/imagtiff.cpp:204 +#: ../src/common/imagtiff.cpp:215 +#: ../src/common/imagtiff.cpp:326 +msgid "TIFF: Couldn't allocate memory." +msgstr "TIFF: Tidak bisa mengalokasikan memory." + +#: ../src/common/imagtiff.cpp:175 +msgid "TIFF: Error loading image." +msgstr "TIFF: Kesalahan memuat citra." + +#: ../src/common/imagtiff.cpp:226 +msgid "TIFF: Error reading image." +msgstr "TIFF: Kesalahan membaca citra." + +#: ../src/common/imagtiff.cpp:303 +msgid "TIFF: Error saving image." +msgstr "TIFF: Kesalahan menyimpan citra." + +#: ../src/common/imagtiff.cpp:350 +msgid "TIFF: Error writing image." +msgstr "TIFF: Kesalahan menulis citra." + +#: ../src/common/paper.cpp:109 +msgid "Tabloid, 11 x 17 in" +msgstr "Tabloid, 11 x 17 inci" + +#: ../src/generic/fontdlgg.cpp:225 +msgid "Teletype" +msgstr "Teletype" + +#: ../src/common/docview.cpp:1539 +msgid "Templates" +msgstr "Template" + +#: ../src/common/fontmap.cpp:122 +msgid "Thai (ISO-8859-11)" +msgstr "Thai (ISO-8859-11)" + +#: ../src/common/ftp.cpp:569 +msgid "The FTP server doesn't support passive mode." +msgstr "Server FTP tidak mendukung mode passive" + +#: ../src/common/fontmap.cpp:630 +#, c-format +msgid "" +"The charset '%s' is unknown. You may select\n" +"another charset to replace it with or choose\n" +"[Cancel] if it cannot be replaced" +msgstr "" +"Charset '%s' tidak diketahui. Anda bisa memilih\n" +" charset lainnya untuk menggantinya atau memilih\n" +" [Batal] jika tidak bisa diganti" + +#: ../src/msw/ole/dataobj.cpp:161 +#, c-format +msgid "The clipboard format '%d' doesn't exist." +msgstr "Format clipboard '%d' tidak ada." + +#: ../src/generic/dirdlgg.cpp:186 +#, c-format +msgid "" +"The directory '%s' does not exist\n" +"Create it now?" +msgstr "" +"Direktori '%s' tidak ada\n" +" Buat sekarang?" + +#: ../src/common/docview.cpp:1802 +#, c-format +msgid "" +"The file '%s' doesn't exist and couldn't be opened.\n" +"It has been removed from the most recently used files list." +msgstr "" +"File '%s' tidak ada dan tidak bisa dibuka.\n" +" File tersebut telah dihilangkan dari daftar file-file yang paling banyak digunakan." + +#: ../src/common/filename.cpp:896 +#, c-format +msgid "The path '%s' contains too many \"..\"!" +msgstr "Path '%s' berisi terlalu banyak \"..\"!" + +#: ../src/common/cmdline.cpp:845 +#, c-format +msgid "The required parameter '%s' was not specified." +msgstr "Parameter '%s' yang diperlukan tidak dispesifikasikan." + +#: ../src/common/textcmn.cpp:187 +msgid "The text couldn't be saved." +msgstr "Teks tidak bisa disimpan." + +#: ../src/common/cmdline.cpp:824 +#, c-format +msgid "The value for the option '%s' must be specified." +msgstr "Nilai untuk pilihan '%s' harus dispesifikasikan." + +#: ../src/msw/dialup.cpp:406 +#, c-format +msgid "The version of remote access service (RAS) installed on this machine is tooold, please upgrade (the following required function is missing: %s)." +msgstr "Versi dari remote access service (RAS) terinstall di mesin ini terlalu tua, silahkan perbaharui (fungsi yang diperlukan berikut ini hilang %s)." + +#: ../src/html/htmprint.cpp:545 +msgid "There was a problem during page setup: you may need to set a default printer." +msgstr "Ada masalah pada saat mengatur halaman: anda mungkin perlu menetapkan pencetak default." + +#: ../src/msw/thread.cpp:1214 +msgid "Thread module initialization failed: can not store value in thread local storage" +msgstr "Inisialisasi modul thread gagal: tidak bisa menyimpan nilai dalam penyimpanan thread lokal" + +#: ../src/unix/threadpsx.cpp:1568 +msgid "Thread module initialization failed: failed to create thread key" +msgstr "Inisialisasi modul thread gagal: gagal menciptakan kunci thread" + +#: ../src/msw/thread.cpp:1202 +msgid "Thread module initialization failed: impossible to allocate index in thread local storage" +msgstr "Inisialisasi modul thread gagal: tidak mungkin mengalokasikan indeks dalam penyimpanan thread lokal" + +#: ../src/unix/threadpsx.cpp:1076 +msgid "Thread priority setting is ignored." +msgstr "Pentetapan prioritas thread diabaikan." + +#: ../src/msw/mdi.cpp:189 +msgid "Tile &Horizontally" +msgstr "Tile &Horizontal" + +#: ../src/msw/mdi.cpp:190 +msgid "Tile &Vertically" +msgstr "Tile &Vertikal" + +#: ../src/generic/filedlgg.cpp:701 +msgid "Time" +msgstr "Waktu" + +#: ../src/generic/tipdlg.cpp:163 +msgid "Tip of the Day" +msgstr "Tip Hari Ini" + +#: ../src/generic/tipdlg.cpp:139 +msgid "Tips not available, sorry!" +msgstr "Tip tidak tersedia, maaf!" + +#: ../src/generic/prntdlgg.cpp:188 +msgid "To:" +msgstr "Kepada:" + +#: ../src/generic/prntdlgg.cpp:633 +msgid "Top margin (mm):" +msgstr "Batas atas (mm):" + +#: ../src/common/fs_mem.cpp:202 +#, c-format +msgid "Trying to remove file '%s' from memory VFS, but it is not loaded!" +msgstr "Mencoba menghilangkan file '%s' dari memory VFS, tetapi file tersebut termuat!" + +#: ../src/common/sckaddr.cpp:126 +msgid "Trying to solve a NULL hostname: giving up" +msgstr "Mencoba memecahkan nama host NULL: menyerah" + +#: ../src/common/fontmap.cpp:120 +msgid "Turkish (ISO-8859-9)" +msgstr "Turkish (ISO-8859-9)" + +#: ../src/common/paper.cpp:140 +msgid "US Std Fanfold, 14 7/8 x 11 in" +msgstr "US Std Fanfold, 14 7/8 x 11 inci" + +#: ../src/html/htmlwin.cpp:270 +#, c-format +msgid "Unable to open requested HTML document: %s" +msgstr "Tidak mampu membuka dokumen HTML yang diminta: %s" + +#: ../src/generic/fontdlgg.cpp:249 +msgid "Underline" +msgstr "Garis bawah" + +#: ../src/common/resourc2.cpp:305 +#: ../src/common/resourc2.cpp:319 +#: ../src/common/resourc2.cpp:335 +#: ../src/common/resourc2.cpp:349 +#: ../src/common/resourc2.cpp:1370 +#: ../src/common/resourc2.cpp:1384 +#: ../src/common/resourc2.cpp:1400 +#: ../src/common/resourc2.cpp:1414 +#: ../src/common/resource.cpp:1824 +#: ../src/common/resource.cpp:1838 +#: ../src/common/resource.cpp:1855 +#: ../src/common/resource.cpp:1869 +#: ../src/common/resource.cpp:1954 +#: ../src/common/resource.cpp:1968 +#: ../src/common/resource.cpp:1984 +#: ../src/common/resource.cpp:1998 +#: ../src/common/resource.cpp:3038 +#: ../src/common/resource.cpp:3052 +#: ../src/common/resource.cpp:3069 +#: ../src/common/resource.cpp:3083 +msgid "Unexpected end of file whilst parsing resource." +msgstr "Akhri file tidak diharapkan pada saat mem-parsing sesumber." + +#: ../src/common/cmdline.cpp:788 +#, c-format +msgid "Unexpected parameter '%s'" +msgstr "Parameter tidak diharapkan '%s'" + +#: ../src/common/fontmap.cpp:141 +msgid "Unicode 7 bit (UTF-7)" +msgstr "Unicode 7 bit (UTF-7)" + +#: ../src/common/fontmap.cpp:142 +msgid "Unicode 8 bit (UTF-8)" +msgstr "Unicode 8 bit (UTF-8)" + +#: ../src/msw/dde.cpp:1020 +#, c-format +msgid "Unknown DDE error %08x" +msgstr "Kesalahan DDE %08x tidak diketahui" + +#: ../src/common/fontmap.cpp:403 +#, c-format +msgid "Unknown encoding (%d)" +msgstr "Pengkodean tidak diketahui (%d)" + +#: ../src/unix/mimetype.cpp:2149 +#, c-format +msgid "Unknown field in file %s, line %d: '%s'." +msgstr "Field dalam file %s tidak diketahui, baris %d: '%s'." + +#: ../src/common/cmdline.cpp:564 +#, c-format +msgid "Unknown long option '%s'" +msgstr "Pilihan panjang '%s' tidak diketahui" + +#: ../src/common/cmdline.cpp:573 +#: ../src/common/cmdline.cpp:594 +#, c-format +msgid "Unknown option '%s'" +msgstr "Pilihan '%s' tidak diketahui" + +#: ../contrib/src/xrc/xmlres.cpp:628 +msgid "Unknown style flag " +msgstr "Flag style tidak diketahui" + +#: ../src/common/mimecmn.cpp:167 +#, c-format +msgid "Unmatched '{' in an entry for mime type %s." +msgstr "'{' tidak sesuai dalam entri mime type %s." + +#: ../src/common/cmdproc.cpp:238 +#: ../src/common/cmdproc.cpp:254 +#: ../src/common/cmdproc.cpp:281 +msgid "Unnamed command" +msgstr "Perintah tak bernama" + +#: ../src/common/resourc2.cpp:687 +#: ../src/common/resource.cpp:2343 +#, c-format +msgid "Unrecognized style %s whilst parsing resource." +msgstr "Style %s tidak dikenali pada saat mem-parsing sesumber." + +#: ../src/mac/clipbrd.cpp:58 +#: ../src/msw/clipbrd.cpp:273 +#: ../src/msw/clipbrd.cpp:447 +msgid "Unsupported clipboard format." +msgstr "Format clipboard tidak didukung." + +#: ../src/common/appcmn.cpp:362 +#, c-format +msgid "Unsupported theme '%s'." +msgstr "Tema '%s' tidak didukung." + +#: ../src/generic/fdrepdlg.cpp:157 +msgid "Up" +msgstr "Atas" + +#: ../src/common/cmdline.cpp:901 +#, c-format +msgid "Usage: %s" +msgstr "Penggunaan: %s" + +#: ../src/common/valtext.cpp:196 +msgid "Validation conflict" +msgstr "Konflik validasi" + +#: ../src/generic/filedlgg.cpp:1090 +msgid "View files as a detailed view" +msgstr "Tampilan file dalam tampilan rinci" + +#: ../src/generic/filedlgg.cpp:1083 +msgid "View files as a list view" +msgstr "Tampilkan file dalam tampilan daftar" + +#: ../src/common/docview.cpp:1615 +msgid "Views" +msgstr "Pandangan" + +#: ../src/unix/utilsunx.cpp:752 +msgid "Waiting for subprocess termination failed" +msgstr "Menunggu penghentian subproses gagal" + +#: ../src/common/docview.cpp:437 +#: ../src/common/resource.cpp:124 +msgid "Warning" +msgstr "Peringatan" + +#: ../src/common/log.cpp:464 +msgid "Warning: " +msgstr "Peringatan:" + +#: ../src/html/htmlpars.cpp:357 +msgid "Warning: attempt to remove HTML tag handler from empty stack." +msgstr "Peringatan: berusaha menghilangkan handler tag HTML dari stack kosong." + +#: ../src/common/fontmap.cpp:112 +msgid "Western European (ISO-8859-1)" +msgstr "Western European (ISO-8859-1)" + +#: ../src/common/fontmap.cpp:126 +msgid "Western European with Euro (ISO-8859-15)" +msgstr "Western European with Euro (ISO-8859-15)" + +#: ../src/generic/fdrepdlg.cpp:149 +msgid "Whole word" +msgstr "Seluruh kata" + +#: ../src/html/helpfrm.cpp:407 +msgid "Whole words only" +msgstr "Hanya seluruh kata" + +#: ../src/univ/themes/win32.cpp:1168 +msgid "Win32 theme" +msgstr "Tema Win32" + +#: ../src/msw/utils.cpp:979 +msgid "Win32s on Windows 3.1" +msgstr "Win32 pada Windows 3.1" + +#: ../src/msw/utils.cpp:1011 +msgid "Windows 3.1" +msgstr "Windows 3.1" + +#: ../src/msw/utils.cpp:983 +#, c-format +msgid "Windows 9%c" +msgstr "Windows 9%c" + +#: ../src/common/fontmap.cpp:138 +msgid "Windows Arabic (CP 1256)" +msgstr "Windows Arabic (CP 1256)" + +#: ../src/common/fontmap.cpp:139 +msgid "Windows Baltic (CP 1257)" +msgstr "Windows Baltic (CP 1257)" + +#: ../src/common/fontmap.cpp:132 +msgid "Windows Central European (CP 1250)" +msgstr "Windows Central European (CP 1250)" + +#: ../src/common/fontmap.cpp:129 +msgid "Windows Chinese Simplified (CP 936)" +msgstr "Windows Chinese Simplified (CP 936)" + +#: ../src/common/fontmap.cpp:131 +msgid "Windows Chinese Traditional (CP 950)" +msgstr "Windows Chinese Traditional (CP 950)" + +#: ../src/common/fontmap.cpp:133 +msgid "Windows Cyrillic (CP 1251)" +msgstr "Windows Cyrillic (CP 1251)" + +#: ../src/common/fontmap.cpp:135 +msgid "Windows Greek (CP 1253)" +msgstr "Windows Greek (CP 1253)" + +#: ../src/common/fontmap.cpp:137 +msgid "Windows Hebrew (CP 1255)" +msgstr "Windows Hebrew (CP 1255)" + +#: ../src/common/fontmap.cpp:128 +msgid "Windows Japanese (CP 932)" +msgstr "Windows Japanese (CP 932)" + +#: ../src/common/fontmap.cpp:130 +msgid "Windows Korean (CP 949)" +msgstr "Windows Korean (CP 949)" + +#: ../src/common/fontmap.cpp:136 +msgid "Windows Turkish (CP 1254)" +msgstr "Windows Turkish (CP 1254)" + +#: ../src/common/fontmap.cpp:134 +msgid "Windows Western European (CP 1252)" +msgstr "Windows Western European (CP 1252)" + +#: ../src/common/fontmap.cpp:140 +msgid "Windows/DOS OEM (CP 437)" +msgstr "Windows/DOS OEM (CP 437)" + +#: ../src/common/ffile.cpp:160 +#, c-format +msgid "Write error on file '%s'" +msgstr "Kesalahan menulis pada file '%s'" + +#: ../contrib/src/xrc/xml.cpp:530 +#, c-format +msgid "XML parsing error: '%s' at line %d" +msgstr "Kesalahan parsing XML: '%s' pada baris %d" + +#: ../src/common/xpmdecod.cpp:759 +msgid "XPM: Malformed pixel data!" +msgstr "XPM: Data pixel salah bentuk!" + +#: ../src/common/xpmdecod.cpp:709 +#: ../src/common/xpmdecod.cpp:718 +#, c-format +msgid "XPM: malformed colour definition '%s'!" +msgstr "XPM: Definisi warna '%s' salah bentuk!" + +#: ../contrib/src/xrc/xmlres.cpp:436 +#, c-format +msgid "XRC resource '%s' (class '%s') not found!" +msgstr "Sesumber XRC '%s' (class '%s') tidak ditemukan!" + +#: ../contrib/src/xrc/xmlres.cpp:787 +#: ../contrib/src/xrc/xmlres.cpp:798 +#, c-format +msgid "XRC resource: Cannot create bitmap from '%s'." +msgstr "Sesumber XRC: Tidak bisa menciptakan bitmap dari '%s'." + +#: ../contrib/src/xrc/xh_dlg.cpp:52 +#: ../contrib/src/xrc/xh_frame.cpp:57 +msgid "XRC resource: Cannot create dialog without instance." +msgstr "Sesumber XRC: Tidak bisa menciptakan dialog tanpa instan." + +#: ../contrib/src/xrc/xmlres.cpp:747 +#, c-format +msgid "XRC resource: Incorrect colour specification '%s' for property '%s'." +msgstr "Sesumber XRC: Spesifikasi warna '%s' tidak benar untuk properti '%s'." + +#: ../src/common/dlgcmn.cpp:151 +#: ../src/mac/msgdlg.cpp:77 +#: ../src/motif/msgdlg.cpp:182 +msgid "Yes" +msgstr "Ya" + +#: ../src/generic/dirdlgg.cpp:262 +msgid "You cannot add a new directory to this section." +msgstr "Anda tidak dapat menambah direktori baru ke seksi ini." + +#: ../src/common/fs_zip.cpp:86 +#: ../src/common/fs_zip.cpp:123 +msgid "ZIP handler currently supports only local files!" +msgstr "Handler ZIP saat ini hanya mendukung file-file lokal!" + +#: ../src/common/docview.cpp:1951 +msgid "[EMPTY]" +msgstr "[KOSONG]" + +#: ../src/msw/dde.cpp:987 +msgid "a DDEML application has created a prolonged race condition." +msgstr "Suatu aplikasi DDEML telah menciptakan suatu kondisi race terus menerus." + +#: ../src/msw/dde.cpp:975 +msgid "" +"a DDEML function was called without first calling the DdeInitialize function,\n" +"or an invalid instance identifier\n" +"was passed to a DDEML function." +msgstr "" +"Suatu fungsi DDEML dipanggil tanpa pertama-tama memanggil fungsi DdeInitialize,\n" +" atau suatu pengenal instan yang tidak sah\n" +" dilewatkan ke suatu fungsi DDEML." + +#: ../src/msw/dde.cpp:993 +msgid "a client's attempt to establish a conversation has failed." +msgstr "Suatu usaha dari klien untuk mengadakan percakapan telah gagal." + +#: ../src/msw/dde.cpp:990 +msgid "a memory allocation failed." +msgstr "Alokasi memori gagal." + +#: ../src/msw/dde.cpp:984 +msgid "a parameter failed to be validated by the DDEML." +msgstr "Suatu parameter gagal divalidasi oleh DDEML." + +#: ../src/msw/dde.cpp:966 +msgid "a request for a synchronous advise transaction has timed out." +msgstr "Suatu permintaan untuk transaksi advise synchronous telah habis waktunya." + +#: ../src/msw/dde.cpp:972 +msgid "a request for a synchronous data transaction has timed out." +msgstr "Suatu permintaan untuk transaksi data synchronous telah habis waktunya." + +#: ../src/msw/dde.cpp:981 +msgid "a request for a synchronous execute transaction has timed out." +msgstr "Suatu permintaan untuk transaksi eksekusi synchronous telah habis waktunya." + +#: ../src/msw/dde.cpp:999 +msgid "a request for a synchronous poke transaction has timed out." +msgstr "Suatu permintaan untuk transaksi poke synchronous telah habis waktunya." + +#: ../src/msw/dde.cpp:1014 +msgid "a request to end an advise transaction has timed out." +msgstr "Suatu permintaan untuk mengakhiri transaksi advise telah habis waktunya." + +#: ../src/msw/dde.cpp:1008 +msgid "" +"a server-side transaction was attempted on a conversation\n" +"that was terminated by the client, or the server\n" +"terminated before completing a transaction." +msgstr "" +"Suatu transaksi sisi-server telah diusahakan pada percakapan\n" +" yang dihentikan oleh klien, atau server\n" +" dihentikan sebelum menyelesaikan transaksi." + +#: ../src/msw/dde.cpp:996 +msgid "a transaction failed." +msgstr "Transaksi gagal." + +#: ../src/common/menucmn.cpp:99 +msgid "alt" +msgstr "alt" + +#: ../src/msw/dde.cpp:978 +msgid "" +"an application initialized as APPCLASS_MONITOR has\n" +"attempted to perform a DDE transaction,\n" +"or an application initialized as APPCMD_CLIENTONLY has \n" +"attempted to perform server transactions." +msgstr "" +"Suatu aplikasi diinisialisasi sebagai APPCLASS_MONITOR telah\n" +" berusaha melaksanakan transaksi DDE,\n" +" atau suatu aplikasi diinisialisasi sebagai APPCMD_CLIENTONLY telah \n" +"berusaha melaksanakan transaksi-transaksi server." + +#: ../src/msw/dde.cpp:1002 +msgid "an internal call to the PostMessage function has failed. " +msgstr "Suatu panggilan internal ke fungsi PostMessage telah gagal." + +#: ../src/msw/dde.cpp:1011 +msgid "an internal error has occurred in the DDEML." +msgstr "Suatu kesalahan internal telah muncul dalam DDEML." + +#: ../src/msw/dde.cpp:1017 +msgid "" +"an invalid transaction identifier was passed to a DDEML function.\n" +"Once the application has returned from an XTYP_XACT_COMPLETE callback,\n" +"the transaction identifier for that callback is no longer valid." +msgstr "" +"Suatu pengenal transaksi yang tidak sah dilewatkan ke suatu fungsi DDEML.\n" +" Saat aplikasi telah kembali dari callback XTYP_XACT_COMPLETE,\n" +" pengenal transaksi untuk callback tersebut tidak sah lagi." + +#: ../src/common/fileconf.cpp:1570 +#, c-format +msgid "attempt to change immutable key '%s' ignored." +msgstr "Usaha untuk mengubah kunci immutable '%s' diabaikan." + +#: ../src/common/ftp.cpp:369 +msgid "binary" +msgstr "biner" + +#: ../src/common/fontcmn.cpp:518 +msgid "bold" +msgstr "tebal" + +#: ../src/common/fontcmn.cpp:442 +msgid "bold " +msgstr "tebal" + +#: ../src/common/ffile.cpp:93 +#, c-format +msgid "can't close file '%s'" +msgstr "Tidak bisa menutup file '%s'" + +#: ../src/common/file.cpp:271 +#, c-format +msgid "can't close file descriptor %d" +msgstr "Tidak bisa menutup file descriptor %d" + +#: ../src/common/file.cpp:549 +#, c-format +msgid "can't commit changes to file '%s'" +msgstr "Tidak bisa melaksanakan perubahan ke file '%s'" + +#: ../src/common/file.cpp:211 +#, c-format +msgid "can't create file '%s'" +msgstr "Tidak bisa menciptakan file '%s'" + +#: ../src/common/fileconf.cpp:1039 +#, c-format +msgid "can't delete user configuration file '%s'" +msgstr "Tidak bisa menghapus file konfigurasi pemakai %s" + +#: ../src/common/file.cpp:454 +#, c-format +msgid "can't determine if the end of file is reached on descriptor %d" +msgstr "Tidak bisa menentukan apakah akhir file telah dicapai pada descriptor %d" + +#: ../src/common/file.cpp:420 +#, c-format +msgid "can't find length of file on file descriptor %d" +msgstr "Tidak bisa menemukan panjang dari file pada file descriptor %d" + +#: ../src/msw/utils.cpp:369 +msgid "can't find user's HOME, using current directory." +msgstr "Tidak bisa menemukan HOME dari pemakai, menggunakan direktori aktif saat ini." + +#: ../src/common/file.cpp:334 +#, c-format +msgid "can't flush file descriptor %d" +msgstr "Tidak bisa mem-flush file descriptor %d" + +#: ../src/common/file.cpp:388 +#, c-format +msgid "can't get seek position on file descriptor %d" +msgstr "Tidak bisa memperoleh posisi seek pada file descriptor %d" + +#: ../src/common/fontmap.cpp:766 +msgid "can't load any font, aborting" +msgstr "Tidak bisa memuat huruf apapun, batal" + +#: ../src/common/ffile.cpp:77 +#: ../src/common/file.cpp:257 +#, c-format +msgid "can't open file '%s'" +msgstr "Tidak bisa membuka file '%s'" + +#: ../src/common/fileconf.cpp:388 +#, c-format +msgid "can't open global configuration file '%s'." +msgstr "Tidak bisa membuka file konfigurasi global '%s'." + +#: ../src/common/fileconf.cpp:400 +#, c-format +msgid "can't open user configuration file '%s'." +msgstr "Tidak bisa membuka file konfigurasi pemakai '%s'." + +#: ../src/common/fileconf.cpp:910 +msgid "can't open user configuration file." +msgstr "Tidak bisa membuka file konfigurasi pemakai." + +#: ../src/common/file.cpp:297 +#, c-format +msgid "can't read from file descriptor %d" +msgstr "Tidak bisa membaca dari file descriptor %d" + +#: ../src/common/file.cpp:544 +#, c-format +msgid "can't remove file '%s'" +msgstr "Tidak bisa menghilangkan file '%s'" + +#: ../src/common/file.cpp:560 +#, c-format +msgid "can't remove temporary file '%s'" +msgstr "Tidak bisa menghilangkan file sementara '%s'" + +#: ../src/common/file.cpp:374 +#, c-format +msgid "can't seek on file descriptor %d" +msgstr "Tidak bisa melakukan seek pada file descriptor %d" + +#: ../src/common/textfile.cpp:196 +#, c-format +msgid "can't write buffer '%s' to disk." +msgstr "Tidak bisa menulis buffer '%s' ke disk." + +#: ../src/common/file.cpp:319 +#, c-format +msgid "can't write to file descriptor %d" +msgstr "Tidak bisa menulis ke file descriptor %d" + +#: ../src/common/fileconf.cpp:926 +msgid "can't write user configuration file." +msgstr "Tidak bisa menulis file konfigurasi pemakai." + +#: ../src/common/intl.cpp:364 +#, c-format +msgid "catalog file for domain '%s' not found." +msgstr "File katalog untuk domain '%s' tidak ditemukan." + +#: ../src/common/menucmn.cpp:97 +msgid "ctrl" +msgstr "ctrl" + +#: ../src/common/cmdline.cpp:1034 +msgid "date" +msgstr "tanggal" + +#: ../src/common/fontmap.cpp:413 +msgid "default" +msgstr "default" + +#: ../src/common/datetime.cpp:3237 +msgid "eighteenth" +msgstr "ke delapan belas" + +#: ../src/common/datetime.cpp:3227 +msgid "eighth" +msgstr "ke delapan" + +#: ../src/common/datetime.cpp:3230 +msgid "eleventh" +msgstr "ke sebelas" + +#: ../src/common/fileconf.cpp:1557 +#, c-format +msgid "entry '%s' appears more than once in group '%s'" +msgstr "entri '%s' muncul lebih dari satu dalam grup '%s'" + +#: ../src/msw/dialup.cpp:841 +msgid "establish" +msgstr "mengadakan" + +#: ../src/common/ffile.cpp:174 +#, c-format +msgid "failed to flush the file '%s'" +msgstr "Gagal mem-flush file '%s'" + +#: ../src/common/datetime.cpp:3234 +msgid "fifteenth" +msgstr "Ke lima belas" + +#: ../src/common/datetime.cpp:3224 +msgid "fifth" +msgstr "Ke lima" + +#: ../src/common/fileconf.cpp:612 +#, c-format +msgid "file '%s', line %d: '%s' ignored after group header." +msgstr "file '%s', baris %d: '%s' diabaikan setelah header grup." + +#: ../src/common/fileconf.cpp:641 +#, c-format +msgid "file '%s', line %d: '=' expected." +msgstr "file '%s', baris %d: '=' diharapkan." + +#: ../src/common/fileconf.cpp:667 +#, c-format +msgid "file '%s', line %d: key '%s' was first found at line %d." +msgstr "file '%s', baris %d: kunci '%s' pertama ditemukan pada baris %d." + +#: ../src/common/fileconf.cpp:657 +#, c-format +msgid "file '%s', line %d: value for immutable key '%s' ignored." +msgstr "file '%s', baris %d: nilai untuk kunci immutable '%s' diabaikan." + +#: ../src/common/fileconf.cpp:580 +#, c-format +msgid "file '%s': unexpected character %c at line %d." +msgstr "file '%s': karakter %c tidak diharapkan pada baris %d." + +#: ../src/common/datetime.cpp:3220 +msgid "first" +msgstr "pertama" + +#: ../src/common/datetime.cpp:3233 +msgid "fourteenth" +msgstr "ke empat belas" + +#: ../src/common/datetime.cpp:3223 +msgid "fourth" +msgstr "ke empat" + +#: ../src/common/appcmn.cpp:301 +msgid "generate verbose log messages" +msgstr "hasilkan pesan-pesan log verbose" + +#: ../src/common/timercmn.cpp:282 +msgid "gmtime() failed" +msgstr "gmtime() gagal" + +#: ../src/msw/dialup.cpp:841 +msgid "initiate" +msgstr "inisiasi" + +#: ../src/common/file.cpp:458 +msgid "invalid eof() return value." +msgstr "nilai kembali eof() tidak sah." + +#: ../src/generic/logg.cpp:1125 +msgid "invalid message box return value" +msgstr "nilai kembali message box tidak sah" + +#: ../src/common/fontcmn.cpp:458 +#: ../src/common/fontcmn.cpp:522 +msgid "italic" +msgstr "miring" + +#: ../src/html/helpfrm.cpp:935 +msgid "large" +msgstr "besar" + +#: ../src/common/fontcmn.cpp:514 +msgid "light" +msgstr "ringan" + +#: ../src/common/fontcmn.cpp:438 +msgid "light " +msgstr "ringan" + +#: ../src/common/intl.cpp:615 +#, c-format +msgid "locale '%s' can not be set." +msgstr "locale '%s' tidak bisa ditetapkan." + +#: ../src/common/intl.cpp:359 +#, c-format +msgid "looking for catalog '%s' in path '%s'." +msgstr "mencari katalog '%s' di path '%s'." + +#: ../src/html/helpfrm.cpp:935 +msgid "medium" +msgstr "sedang" + +#: ../src/common/datetime.cpp:3385 +msgid "midnight" +msgstr "tengah malam" + +#: ../src/common/timercmn.cpp:278 +msgid "mktime() failed" +msgstr "mktime() gagal" + +#: ../src/common/datetime.cpp:3238 +msgid "nineteenth" +msgstr "ke sembilan belas" + +#: ../src/common/datetime.cpp:3228 +msgid "ninth" +msgstr "ke sembilan" + +#: ../src/msw/dde.cpp:962 +msgid "no DDE error." +msgstr "tidak ada kesalahan DDE " + +#: ../src/html/helpdata.cpp:561 +#: ../src/html/htmlhelp.cpp:201 +msgid "noname" +msgstr "tidak bernama" + +#: ../src/common/datetime.cpp:3384 +msgid "noon" +msgstr "siang" + +#: ../src/common/cmdline.cpp:1033 +msgid "num" +msgstr "angka" + +#: ../src/common/filename.cpp:162 +msgid "reading" +msgstr "membaca" + +#: ../src/msw/dde.cpp:1005 +msgid "reentrancy problem." +msgstr "masalah pemasukan kembali" + +#: ../src/common/datetime.cpp:3221 +msgid "second" +msgstr "ke dua" + +#: ../src/common/datetime.cpp:3236 +msgid "seventeenth" +msgstr "ke tujuh belas" + +#: ../src/common/datetime.cpp:3226 +msgid "seventh" +msgstr "ke tujuh" + +#: ../src/common/menucmn.cpp:101 +msgid "shift" +msgstr "geser" + +#: ../src/common/appcmn.cpp:291 +msgid "show this help message" +msgstr "Tampilkan pesan pertolongan ini" + +#: ../src/common/datetime.cpp:3235 +msgid "sixteenth" +msgstr "ke enam belas" + +#: ../src/common/datetime.cpp:3225 +msgid "sixth" +msgstr "ke enam" + +#: ../src/html/helpfrm.cpp:935 +msgid "small" +msgstr "kecil" + +#: ../src/common/appcmn.cpp:326 +msgid "specify display mode to use (e.g. 640x480-16)" +msgstr "spesifikasikan mode tampilan yang digunakan (misalnya 640x480- 16)" + +#: ../src/common/appcmn.cpp:312 +msgid "specify the theme to use" +msgstr "spesifikasikan tema yang digunakan" + +#: ../src/common/cmdline.cpp:1032 +msgid "str" +msgstr "str" + +#: ../src/common/datetime.cpp:3229 +msgid "tenth" +msgstr "kesepuluh" + +#: ../src/msw/dde.cpp:969 +msgid "the response to the transaction caused the DDE_FBUSY bit to be set." +msgstr "tanggapan terhadap transaksi menyebabkan bit DDE_FBUSY ditetapkan." + +#: ../src/common/datetime.cpp:3222 +msgid "third" +msgstr "ketiga" + +#: ../src/common/datetime.cpp:3232 +msgid "thirteenth" +msgstr "ke tiga belas" + +#: ../src/common/datetime.cpp:3064 +msgid "today" +msgstr "hari ini" + +#: ../src/common/datetime.cpp:3066 +msgid "tomorrow" +msgstr "lusa" + +#: ../src/common/datetime.cpp:3231 +msgid "twelfth" +msgstr "ke dua belas" + +#: ../src/common/datetime.cpp:3239 +msgid "twentieth" +msgstr "ke dua puluh" + +#: ../src/common/fontcmn.cpp:510 +msgid "underlined" +msgstr "bergaris bawah" + +#: ../src/common/fontcmn.cpp:425 +msgid "underlined " +msgstr "bergaris bawah" + +#: ../src/common/fileconf.cpp:1684 +#, c-format +msgid "unexpected \" at position %d in '%s'." +msgstr "\" tidak diharapkan pada posisi %d dalam '%s'." + +#: ../src/generic/progdlgg.cpp:283 +msgid "unknown" +msgstr "tidak diketahui" + +#: ../src/common/regex.cpp:144 +msgid "unknown error" +msgstr "kesalahan tidak diketahui" + +#: ../src/msw/dialup.cpp:445 +#, c-format +msgid "unknown error (error code %08x)." +msgstr "kesalahan tidak diketahui (kode kesalahan %08x)." + +#: ../src/common/file.cpp:357 +msgid "unknown seek origin" +msgstr "Asal seek tidak diketahui" + +#: ../src/common/fontmap.cpp:430 +#, c-format +msgid "unknown-%d" +msgstr "%d-tidak diketahui" + +#: ../src/common/docview.cpp:406 +msgid "unnamed" +msgstr "Tidak bernama" + +#: ../src/common/docview.cpp:1222 +#, c-format +msgid "unnamed%d" +msgstr "Tidak bernama%d" + +#: ../src/common/intl.cpp:369 +#, c-format +msgid "using catalog '%s' from '%s'." +msgstr "Menggunakan katalog '%s' dari '%s'." + +#: ../src/html/helpfrm.cpp:935 +msgid "very large" +msgstr "sangat besar" + +#: ../src/html/helpfrm.cpp:935 +msgid "very small" +msgstr "sangat kecil" + +#: ../src/common/filename.cpp:162 +msgid "writing" +msgstr "menulis" + +#: ../src/common/dynlib.cpp:336 +#, c-format +msgid "wxDllLoader failed to GetSymbol '%s'" +msgstr "wxDllLoader gagal pada GetSymbol '%s'" + +#: ../src/common/dynload.cpp:278 +#, c-format +msgid "wxDynamicLibrary failed to GetSymbol '%s'" +msgstr "wxDynamicLibrary gagal pada GetSymbol '%s'" + +#: ../src/common/timercmn.cpp:327 +msgid "wxGetTimeOfDay failed." +msgstr "wxGetTimeOfDay gagal." + +#: ../src/html/search.cpp:49 +msgid "wxSearchEngine::LookFor must be called before scanning!" +msgstr "wxSearchEngine::LookFor harus dipanggil sebelum pemeriksaan!" + +#: ../src/common/socket.cpp:394 +#: ../src/common/socket.cpp:448 +msgid "wxSocket: invalid signature in ReadMsg." +msgstr "wxSocket: penanda tidak sah pada ReadMsg" + +#: ../src/common/socket.cpp:975 +msgid "wxSocket: unknown event!." +msgstr "wxSocket: event tidak dikenal!." + +#: ../src/motif/app.cpp:590 +#, c-format +msgid "wxWindows could not open display for '%s': exiting." +msgstr "wxWindows tidak bisa membuka tampilan untuk '%s': keluar." + +#: ../src/x11/app.cpp:265 +msgid "wxWindows could not open display. Exiting." +msgstr "wxWindows tidak bisa membuka tampilan. Keluar." + +#: ../src/common/datetime.cpp:3065 +msgid "yesterday" +msgstr "kemarin" + diff --git a/locale/it.po b/locale/it.po index 6e54b08a80..c1fdfe321e 100644 --- a/locale/it.po +++ b/locale/it.po @@ -874,7 +874,7 @@ msgstr "Sommario" #: ../src/common/strconv.cpp:593 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "La conversione nella codifica '%s' non funziona." #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/nl.po b/locale/nl.po index 2ef19bfc42..82e4909973 100644 --- a/locale/nl.po +++ b/locale/nl.po @@ -2,12 +2,12 @@ msgid "" msgstr "" "Project-Id-Version: wxWindows-2.2.1\n" "POT-Creation-Date: 2002-08-21 16:39+0200\n" -"PO-Revision-Date: 2000-09-05 12:35Romaans (zomertijd)\n" -"Last-Translator: Patrick Hubers \n" +"PO-Revision-Date: 2002-11-29 15:12+0100\n" +"Last-Translator: Dimitri \n" "Language-Team: wxWindows translators \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" -"Content-Transfer-Encoding: 8-bit\n" +"Content-Transfer-Encoding: 8bit\n" #: ../src/common/log.cpp:304 #, c-format @@ -46,8 +46,10 @@ msgstr "Envelop nr.14, 5 x 11 1/2 inch" msgid "#9 Envelope, 3 7/8 x 8 7/8 in" msgstr "Envelop nr.9, 3 7/8 x 8 7/8 inch" -#: ../src/common/resourc2.cpp:265 ../src/common/resourc2.cpp:1326 -#: ../src/common/resource.cpp:1784 ../src/common/resource.cpp:1914 +#: ../src/common/resourc2.cpp:265 +#: ../src/common/resourc2.cpp:1326 +#: ../src/common/resource.cpp:1784 +#: ../src/common/resource.cpp:1914 #: ../src/common/resource.cpp:2994 #, c-format msgid "#define %s must be an integer." @@ -56,15 +58,17 @@ msgstr "#define %s moet een geheel getal zijn." #: ../src/common/prntbase.cpp:376 #, c-format msgid "%d" -msgstr "" +msgstr "%d" #: ../src/common/prntbase.cpp:374 #, c-format msgid "%d...%d" -msgstr "" +msgstr "%d...%d" -#: ../src/html/helpfrm.cpp:772 ../src/html/helpfrm.cpp:773 -#: ../src/html/helpfrm.cpp:1376 ../src/html/helpfrm.cpp:1406 +#: ../src/html/helpfrm.cpp:772 +#: ../src/html/helpfrm.cpp:773 +#: ../src/html/helpfrm.cpp:1376 +#: ../src/html/helpfrm.cpp:1406 #, c-format msgid "%i of %i" msgstr "%i van %i" @@ -89,18 +93,22 @@ msgstr "%s Informatie" msgid "%s Warning" msgstr "%s Waarschuwing" -#: ../src/common/resourc2.cpp:709 ../src/common/resource.cpp:2366 +#: ../src/common/resourc2.cpp:709 +#: ../src/common/resource.cpp:2366 #, c-format msgid "%s not a bitmap resource specification." msgstr "%s is geen bitmap-bronspecificatie." -#: ../src/common/resourc2.cpp:860 ../src/common/resource.cpp:2520 +#: ../src/common/resourc2.cpp:860 +#: ../src/common/resource.cpp:2520 #, c-format msgid "%s not an icon resource specification." msgstr "%s is geen pictogram-bronspecificatie." -#: ../src/common/resourc2.cpp:357 ../src/common/resourc2.cpp:1422 -#: ../src/common/resource.cpp:1877 ../src/common/resource.cpp:2006 +#: ../src/common/resourc2.cpp:357 +#: ../src/common/resourc2.cpp:1422 +#: ../src/common/resource.cpp:1877 +#: ../src/common/resource.cpp:2006 #: ../src/common/resource.cpp:3091 #, c-format msgid "%s: ill-formed resource file syntax." @@ -108,18 +116,19 @@ msgstr "%s: incorrecte syntax voor bronbestand." #: ../src/msw/mdi.cpp:192 msgid "&Arrange Icons" -msgstr "" +msgstr "Pictogrammen Schikken" -#: ../src/generic/fdrepdlg.cpp:170 ../src/generic/wizard.cpp:260 -#, fuzzy +#: ../src/generic/fdrepdlg.cpp:170 +#: ../src/generic/wizard.cpp:260 msgid "&Cancel" msgstr "Annuleer" #: ../src/msw/mdi.cpp:188 msgid "&Cascade" -msgstr "" +msgstr "Trapsgewijs" -#: ../src/generic/logg.cpp:491 ../src/generic/tipdlg.cpp:171 +#: ../src/generic/logg.cpp:491 +#: ../src/generic/tipdlg.cpp:171 msgid "&Close" msgstr "&Sluiten" @@ -128,7 +137,6 @@ msgid "&Details" msgstr "&Details" #: ../src/generic/fdrepdlg.cpp:168 -#, fuzzy msgid "&Find" msgstr "Zoeken" @@ -137,7 +145,6 @@ msgid "&Finish" msgstr "&Voltooien" #: ../src/generic/wizard.cpp:249 -#, fuzzy msgid "&Help" msgstr "Help" @@ -147,14 +154,14 @@ msgstr "&Log" #: ../src/univ/themes/win32.cpp:4539 msgid "&Move" -msgstr "" +msgstr "Verplaatsen" #: ../src/msw/mdi.cpp:193 -#, fuzzy msgid "&Next" -msgstr "&Volgende >" +msgstr "&Volgende" -#: ../src/generic/wizard.cpp:257 ../src/generic/wizard.cpp:398 +#: ../src/generic/wizard.cpp:257 +#: ../src/generic/wizard.cpp:398 msgid "&Next >" msgstr "&Volgende >" @@ -163,28 +170,29 @@ msgid "&Next Tip" msgstr "&Volgende tip" #: ../src/msw/mdi.cpp:194 -#, fuzzy msgid "&Previous" -msgstr "Vorige pagina" +msgstr "Vorige" -#: ../src/common/cmdproc.cpp:261 ../src/common/cmdproc.cpp:272 +#: ../src/common/cmdproc.cpp:261 +#: ../src/common/cmdproc.cpp:272 msgid "&Redo" msgstr "Opnie&uw" -#: ../src/common/cmdproc.cpp:255 ../src/common/cmdproc.cpp:282 +#: ../src/common/cmdproc.cpp:255 +#: ../src/common/cmdproc.cpp:282 msgid "&Redo " msgstr "Opnie&uw " #: ../src/generic/fdrepdlg.cpp:174 msgid "&Replace" -msgstr "" +msgstr "Vervangen" #: ../src/univ/themes/win32.cpp:4538 -#, fuzzy msgid "&Restore" -msgstr "Opnie&uw" +msgstr "Herstellen" -#: ../src/generic/logg.cpp:487 ../src/generic/logg.cpp:818 +#: ../src/generic/logg.cpp:487 +#: ../src/generic/logg.cpp:818 msgid "&Save..." msgstr "O&pslaan..." @@ -193,7 +201,6 @@ msgid "&Show tips at startup" msgstr "&Toon tips bij opstarten" #: ../src/univ/themes/win32.cpp:4541 -#, fuzzy msgid "&Size" msgstr "Formaat" @@ -205,16 +212,20 @@ msgstr "&Ongedaan maken" msgid "&Undo " msgstr "Maak &ongedaan: " -#: ../src/msw/mdi.cpp:1328 ../src/msw/mdi.cpp:1335 ../src/msw/mdi.cpp:1360 +#: ../src/msw/mdi.cpp:1328 +#: ../src/msw/mdi.cpp:1335 +#: ../src/msw/mdi.cpp:1360 msgid "&Window" msgstr "&Venster" -#: ../src/common/config.cpp:394 ../src/msw/regconf.cpp:264 +#: ../src/common/config.cpp:394 +#: ../src/msw/regconf.cpp:264 #, c-format msgid "'%s' has extra '..', ignored." msgstr "'%s' heeft extra '..', genegeerd" -#: ../src/common/valtext.cpp:147 ../src/common/valtext.cpp:177 +#: ../src/common/valtext.cpp:147 +#: ../src/common/valtext.cpp:177 #: ../src/common/valtext.cpp:183 #, c-format msgid "'%s' is invalid" @@ -231,9 +242,9 @@ msgid "'%s' is not a valid message catalog." msgstr "'%s' is geen geldige berichtcatalogus." #: ../src/common/textbuf.cpp:245 -#, fuzzy, c-format +#, c-format msgid "'%s' is probably a binary buffer." -msgstr "'%s' is waarschijnlijk een binair bestand." +msgstr "'%s' is waarschijnlijk een binaire buffer." #: ../src/common/valtext.cpp:172 #, c-format @@ -255,30 +266,34 @@ msgstr "'%s' mag alleen letters bevatten." msgid "'%s' should only contain alphabetic or numeric characters." msgstr "'%s' mag alleen alfa-numerieke tekens bevatten." -#: ../src/html/helpfrm.cpp:709 ../src/html/htmlhelp.cpp:638 +#: ../src/html/helpfrm.cpp:709 +#: ../src/html/htmlhelp.cpp:638 msgid "(Help)" msgstr "(Help)" -#: ../src/html/helpfrm.cpp:310 ../src/html/helpfrm.cpp:840 +#: ../src/html/helpfrm.cpp:310 +#: ../src/html/helpfrm.cpp:840 #: ../src/html/helpfrm.cpp:1433 msgid "(bookmarks)" msgstr "(favorieten)" -#: ../src/common/resourc2.cpp:297 ../src/common/resourc2.cpp:1362 -#: ../src/common/resource.cpp:1816 ../src/common/resource.cpp:1946 +#: ../src/common/resourc2.cpp:297 +#: ../src/common/resourc2.cpp:1362 +#: ../src/common/resource.cpp:1816 +#: ../src/common/resource.cpp:1946 #: ../src/common/resource.cpp:3030 -msgid "" -", expected static, #include or #define\n" +msgid ", expected static, #include or #define\n" "whilst parsing resource." -msgstr "" -", verwachtte static, #include of #define\n" +msgstr ", verwachtte static, #include of #define\n" "tijdens inlezen van bron." -#: ../src/generic/dirctrlg.cpp:698 ../src/generic/filedlgg.cpp:929 +#: ../src/generic/dirctrlg.cpp:698 +#: ../src/generic/filedlgg.cpp:929 msgid "." msgstr "." -#: ../src/generic/dirctrlg.cpp:699 ../src/generic/filedlgg.cpp:930 +#: ../src/generic/dirctrlg.cpp:699 +#: ../src/generic/filedlgg.cpp:930 msgid ".." msgstr ".." @@ -327,33 +342,8 @@ msgid " " msgstr " " #: ../src/html/helpfrm.cpp:992 -msgid "" -"Normal face
        (and underlined. Italic face. " -"Bold face. Bold italic face.
        font size " -"-2
        font size -1
        font size " -"+0
        font size +1
        font size " -"+2
        font size +3
        font size " -"+4

        Fixed size face.
        bold italic " -"bold italic underlined
        font size " -"-2
        font size -1
        font size " -"+0
        font size +1
        font size " -"+2
        font size +3
        font size " -"+4
        " -msgstr "" -"Normaal lettertype
        en onderstreept. Cursief " -"lettertype. Vet lettertype. Vet+cursief " -"lettertype.
        lettergrootte -2
        lettergrootte -1
        lettergrootte " -"+0
        lettergrootte +1
        lettergrootte +2
        lettergrootte " -"+3
        lettergrootte " -"+4

        Niet-proportioneel lettertype.
        vet " -"cursief vet+cursief onderstreept
        lettergrootte -2
        lettergrootte " -"-1
        lettergrootte +0
        lettergrootte +1
        lettergrootte " -"+2
        lettergrootte +3
        lettergrootte +4
        " +msgid "Normal face
        (and underlined. Italic face. Bold face. Bold italic face.
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4

        Fixed size face.
        bold italic bold italic underlined
        font size -2
        font size -1
        font size +0
        font size +1
        font size +2
        font size +3
        font size +4
        " +msgstr "Normaal lettertype
        en onderstreept. Cursief lettertype. Vet lettertype. Vet+cursief lettertype.
        lettergrootte -2
        lettergrootte -1
        lettergrootte +0
        lettergrootte +1
        lettergrootte +2
        lettergrootte +3
        lettergrootte +4

        Niet-proportioneel lettertype.
        vet cursief vet+cursief onderstreept
        lettergrootte -2
        lettergrootte -1
        lettergrootte +0
        lettergrootte +1
        lettergrootte +2
        lettergrootte +3
        lettergrootte +4
        " #: ../src/common/paper.cpp:113 msgid "A3 sheet, 297 x 420 mm" @@ -377,7 +367,7 @@ msgstr "ABCDEFGabcdefg12345" #: ../src/common/ftp.cpp:369 msgid "ASCII" -msgstr "" +msgstr "ASCII" #: ../src/html/helpfrm.cpp:323 msgid "Add current page to bookmarks" @@ -433,37 +423,34 @@ msgstr "B5, 182, 257 mm" msgid "B6 Envelope, 176 x 125 mm" msgstr "Envelop B6, 176 x 125 mm" -#: ../src/common/imagbmp.cpp:467 ../src/common/imagbmp.cpp:483 -#, fuzzy +#: ../src/common/imagbmp.cpp:467 +#: ../src/common/imagbmp.cpp:483 msgid "BMP: Couldn't allocate memory." -msgstr "PNM: kon geen geheugen reserveren." +msgstr "BMP: kon geen geheugen reserveren." #: ../src/common/imagbmp.cpp:86 msgid "BMP: Couldn't save invalid image." msgstr "BMP: kon ongeldige afbeelding niet opslaan" #: ../src/common/imagbmp.cpp:290 -#, fuzzy msgid "BMP: Couldn't write RGB color map." -msgstr "BMP: kon gegevens niet wegschrijven" +msgstr "BMP: Kon RGB kleur map niet schrijven." #: ../src/common/imagbmp.cpp:422 msgid "BMP: Couldn't write data." msgstr "BMP: kon gegevens niet wegschrijven" #: ../src/common/imagbmp.cpp:195 -#, fuzzy msgid "BMP: Couldn't write the file (Bitmap) header." -msgstr "BMP: kon de bestandsheader niet schrijven" +msgstr "BMP: Kon de bestands (Bitmap) header niet schrijven" #: ../src/common/imagbmp.cpp:216 -#, fuzzy msgid "BMP: Couldn't write the file (BitmapInfo) header." -msgstr "BMP: kon de bestandsheader niet schrijven" +msgstr "BMP: kon de bestandsheader niet schrijven." #: ../src/common/imagbmp.cpp:120 msgid "BMP: wxImage doesn't have own wxPalette." -msgstr "" +msgstr "BMP: wxImage heeft geen eigen wxPalette." #: ../src/common/dlgcmn.cpp:170 msgid "Backward" @@ -477,7 +464,8 @@ msgstr "Baltisch (ISO-8859-13)" msgid "Baltic (old) (ISO-8859-4)" msgstr "Baltisch (oud) (ISO-8859-4)" -#: ../src/common/resourc2.cpp:840 ../src/common/resource.cpp:2500 +#: ../src/common/resourc2.cpp:840 +#: ../src/common/resource.cpp:2500 #, c-format msgid "Bitmap resource specification %s not found." msgstr "Bitmap-bronspecificatie %s niet gevonden." @@ -519,16 +507,18 @@ msgid "C65 Envelope, 114 x 229 mm" msgstr "Envelop C65, 114 x 229 mm" #: ../src/common/filefn.cpp:1358 -#, fuzzy, c-format +#, c-format msgid "Can not enumerate files '%s'" msgstr "Kan bestanden in map '%s' niet opsommen" -#: ../src/msw/dir.cpp:296 ../src/unix/dir.cpp:236 +#: ../src/msw/dir.cpp:296 +#: ../src/unix/dir.cpp:236 #, c-format msgid "Can not enumerate files in directory '%s'" msgstr "Kan bestanden in map '%s' niet opsommen" -#: ../src/mac/thread.cpp:472 ../src/msw/thread.cpp:685 +#: ../src/mac/thread.cpp:472 +#: ../src/msw/thread.cpp:685 #, c-format msgid "Can not resume thread %x" msgstr "Kan thread %x niet voortzetten" @@ -537,7 +527,8 @@ msgstr "Kan thread %x niet voortzetten" msgid "Can not start thread: error writing TLS." msgstr "Kan thread niet starten: fout bij schrijven TLS." -#: ../src/mac/thread.cpp:448 ../src/msw/thread.cpp:670 +#: ../src/mac/thread.cpp:448 +#: ../src/msw/thread.cpp:670 #, c-format msgid "Can not suspend thread %x" msgstr "Kan thread %x niet opschorten" @@ -553,8 +544,7 @@ msgstr "Kan niet &ongedaan maken: " #: ../src/common/image.cpp:1289 #, c-format msgid "Can't check image format of file '%s': file does not exist." -msgstr "" -"Kan afbeeldingstype van bestand '%s' niet bepalen: bestand bestaat niet." +msgstr "Kan afbeeldingstype van bestand '%s' niet bepalen: bestand bestaat niet." #: ../src/msw/registry.cpp:421 #, c-format @@ -567,33 +557,32 @@ msgid "Can't copy values of unsupported type %d." msgstr "Kan geen waarden kopiëren van niet-ondersteund type %d" #: ../src/msw/toplevel.cpp:295 -#, fuzzy msgid "Can't create dialog using memory template" -msgstr "kan bestand '%s' niet maken" +msgstr "Kan dialoog niet maken met gebruik van geheugen sjabloon" #: ../src/os2/toplevel.cpp:331 -#, fuzzy, c-format +#, c-format msgid "Can't create dialog using template '%ul'" -msgstr "kan bestand '%s' niet maken" +msgstr "Kan dialoog niet maken met gebruik van sjabloon '%ul'" #: ../src/msw/listctrl.cpp:319 msgid "Can't create list control window, check that comctl32.dll is installed." -msgstr "" -"Kan geen list-control venster maken, zorg dat comctl32.dll geïnstalleerd is." +msgstr "Kan geen list-control venster maken, zorg dat comctl32.dll geïnstalleerd is." #: ../src/msw/registry.cpp:402 #, c-format msgid "Can't create registry key '%s'" msgstr "Kan registersleutel '%s' niet maken" -#: ../src/mac/thread.cpp:427 ../src/msw/thread.cpp:652 +#: ../src/mac/thread.cpp:427 +#: ../src/msw/thread.cpp:652 msgid "Can't create thread" msgstr "Kan thread niet maken" #: ../src/msw/window.cpp:2989 -#, fuzzy, c-format +#, c-format msgid "Can't create window of class %s" -msgstr "kan bestand '%s' niet maken" +msgstr "Kan venster van klasse '%s' niet maken" #: ../src/msw/registry.cpp:661 #, c-format @@ -635,7 +624,8 @@ msgstr "Kan huidige positie in bestand '%s' niet vinden" msgid "Can't get info about registry key '%s'" msgstr "Kan geen informatie krijgen over registersleutel '%s'" -#: ../src/common/image.cpp:913 ../src/common/image.cpp:933 +#: ../src/common/image.cpp:913 +#: ../src/common/image.cpp:933 #, c-format msgid "Can't load image from file '%s': file does not exist." msgstr "Kan geen afbeelding laden uit bestand '%s': bestand bestaat niet." @@ -655,17 +645,19 @@ msgstr "Kan registersleutel '%s' niet openen" msgid "Can't read value of '%s'" msgstr "Kan waarde van '%s' niet lezen" -#: ../src/msw/registry.cpp:777 ../src/msw/registry.cpp:816 +#: ../src/msw/registry.cpp:777 +#: ../src/msw/registry.cpp:816 #, c-format msgid "Can't read value of key '%s'" msgstr "Kan waarde van sleutel '%s' niet lezen" #: ../src/common/image.cpp:955 -#, fuzzy, c-format +#, c-format msgid "Can't save image to file '%s': unknown extension." -msgstr "Kan geen afbeelding laden uit bestand '%s': bestand bestaat niet." +msgstr "Kan afbeelding niet opslaan naar bestand '%s': Onbekende extensie." -#: ../src/generic/logg.cpp:551 ../src/generic/logg.cpp:985 +#: ../src/generic/logg.cpp:551 +#: ../src/generic/logg.cpp:985 msgid "Can't save log contents to file." msgstr "Kan loggegevens niet in bestand opslaan." @@ -673,29 +665,37 @@ msgstr "Kan loggegevens niet in bestand opslaan." msgid "Can't set thread priority" msgstr "Kan thread-prioriteit niet instellen" -#: ../src/msw/registry.cpp:802 ../src/msw/registry.cpp:928 +#: ../src/msw/registry.cpp:802 +#: ../src/msw/registry.cpp:928 #, c-format msgid "Can't set value of '%s'" msgstr "Kan waarde van '%s' niet instellen" -#: ../src/common/dlgcmn.cpp:183 ../src/generic/dirdlgg.cpp:153 -#: ../src/generic/filedlgg.cpp:1166 ../src/generic/filedlgg.cpp:1185 -#: ../src/generic/fontdlgg.cpp:254 ../src/generic/prntdlgg.cpp:453 -#: ../src/generic/progdlgg.cpp:211 ../src/generic/proplist.cpp:511 -#: ../src/gtk/filedlg.cpp:173 ../src/gtk/fontdlg.cpp:144 -#: ../src/html/helpfrm.cpp:974 ../src/html/htmlhelp.cpp:434 +#: ../src/common/dlgcmn.cpp:183 +#: ../src/generic/dirdlgg.cpp:153 +#: ../src/generic/filedlgg.cpp:1166 +#: ../src/generic/filedlgg.cpp:1185 +#: ../src/generic/fontdlgg.cpp:254 +#: ../src/generic/prntdlgg.cpp:453 +#: ../src/generic/progdlgg.cpp:211 +#: ../src/generic/proplist.cpp:511 +#: ../src/gtk/filedlg.cpp:173 +#: ../src/gtk/fontdlg.cpp:144 +#: ../src/html/helpfrm.cpp:974 +#: ../src/html/htmlhelp.cpp:434 #: ../src/motif/msgdlg.cpp:182 msgid "Cancel" msgstr "Annuleer" -#: ../contrib/src/xrc/xmlres.cpp:893 ../contrib/src/xrc/xmlres.cpp:934 +#: ../contrib/src/xrc/xmlres.cpp:893 +#: ../contrib/src/xrc/xmlres.cpp:934 msgid "Cannot convert dialog units: dialog unknown." -msgstr "" +msgstr "Kan dialoog eenheden niet converteren: dialoog is onbekend." #: ../src/common/strconv.cpp:929 -#, fuzzy, c-format +#, c-format msgid "Cannot convert from encoding '%s'!" -msgstr "Onbekende codering (%d)" +msgstr "Kan niet converteren van encodering '%s'!" #: ../src/msw/dialup.cpp:497 #, c-format @@ -703,14 +703,14 @@ msgid "Cannot find active dialup connection: %s" msgstr "Kan geen actieve inbelverbinding vinden: %s" #: ../contrib/src/xrc/xmlres.cpp:224 -#, fuzzy, c-format +#, c-format msgid "Cannot find container for unknown control '%s'." -msgstr "Kan geen actieve inbelverbinding vinden: %s" +msgstr "Kan geen container vinden voor onbekende control '%s'." #: ../contrib/src/xrc/xmlres.cpp:948 -#, fuzzy, c-format +#, c-format msgid "Cannot find font node '%s'." -msgstr "Kan URL '%s' niet openen" +msgstr "Kan lettertype node '%s' niet vinden." #: ../src/msw/dialup.cpp:811 msgid "Cannot find the location of address book file" @@ -738,24 +738,22 @@ msgid "Cannot initialize OLE" msgstr "Kan OLE niet initializeren" #: ../src/mgl/app.cpp:414 -#, fuzzy msgid "Cannot initialize SciTech MGL!" -msgstr "Kan OLE niet initializeren" +msgstr "Kan SciTech MGL niet initializeren!" #: ../src/mgl/window.cpp:546 -#, fuzzy msgid "Cannot initialize display." -msgstr "Kan OLE niet initializeren" +msgstr "Kan beeldscherm niet initializeren." #: ../src/msw/volume.cpp:627 -#, fuzzy, c-format +#, c-format msgid "Cannot load icon from '%s'." -msgstr "Kan bestanden in map '%s' niet opsommen" +msgstr "Kan pictogram niet laden van '%s'." #: ../contrib/src/xrc/xmlres.cpp:337 -#, fuzzy, c-format +#, c-format msgid "Cannot load resources from file '%s'." -msgstr "Kon in te voegen bronbestand %s niet vinden." +msgstr "Kan bronnen niet laden uit bestand '%s'." #: ../src/html/htmlfilt.cpp:171 #, c-format @@ -778,9 +776,9 @@ msgid "Cannot open contents file: %s" msgstr "Kon inhoudsopgave-bestand niet openen: %s" #: ../contrib/src/xrc/xmlres.cpp:311 -#, fuzzy, c-format +#, c-format msgid "Cannot open file '%s'." -msgstr "Kan bestand '%s' niet openen" +msgstr "Kan bestand '%s' niet openen." #: ../src/generic/dcpsg.cpp:1765 msgid "Cannot open file for PostScript printing!" @@ -792,23 +790,24 @@ msgid "Cannot open index file: %s" msgstr "Kan index-bestand niet openen: %s" #: ../contrib/src/xrc/xmlres.cpp:881 -#, fuzzy, c-format +#, c-format msgid "Cannot parse coordinates from '%s'." -msgstr "Kon inhoudsopgave-bestand niet openen: %s" +msgstr "Kan coordinaten niet ontleden van '%s'." #: ../contrib/src/xrc/xmlres.cpp:922 -#, fuzzy, c-format +#, c-format msgid "Cannot parse dimension from '%s'." -msgstr "Kan bestanden in map '%s' niet opsommen" +msgstr "Kan dimensie niet ontleden van '%s'." #: ../src/html/helpfrm.cpp:1265 msgid "Cannot print empty page." msgstr "Kan geen lege pagina afdrukken." -#: ../src/msw/volume.cpp:188 ../src/msw/volume.cpp:519 -#, fuzzy, c-format +#: ../src/msw/volume.cpp:188 +#: ../src/msw/volume.cpp:519 +#, c-format msgid "Cannot read typename from '%s'!" -msgstr "Kon inhoudsopgave-bestand niet openen: %s" +msgstr "Kan typename van '%s' niet lezen!" #: ../src/unix/threadpsx.cpp:1049 msgid "Cannot retrieve thread scheduling policy." @@ -823,14 +822,12 @@ msgid "Case sensitive" msgstr "Hoofdlettergevoelig" #: ../src/common/fontmap.cpp:125 -#, fuzzy msgid "Celtic (ISO-8859-14)" -msgstr "Baltisch (ISO-8859-13)" +msgstr "Celtic (ISO-8859-14)" #: ../src/common/fontmap.cpp:113 -#, fuzzy msgid "Central European (ISO-8859-2)" -msgstr "Centraal-Europees (ISO-8859-2/Latin 2)" +msgstr "Centraal-Europees (ISO-8859-2)" #: ../src/msw/dialup.cpp:746 msgid "Choose ISP to dial" @@ -844,55 +841,58 @@ msgstr "Kies lettertype" msgid "Clear the log contents" msgstr "Wis de loggegevens" -#: ../src/common/prntbase.cpp:429 ../src/generic/progdlgg.cpp:360 +#: ../src/common/prntbase.cpp:429 +#: ../src/generic/progdlgg.cpp:360 #: ../src/generic/proplist.cpp:506 msgid "Close" msgstr "Sluiten" #: ../src/univ/themes/win32.cpp:4547 msgid "Close\tAlt-F4" -msgstr "" +msgstr "Sluiten\tAlt-F4" #: ../src/generic/logg.cpp:491 msgid "Close this window" msgstr "Sluit dit venster" #: ../src/generic/dirctrlg.cpp:547 -#, fuzzy msgid "Computer" -msgstr "Deze computer" +msgstr "Computer" #: ../src/common/fileconf.cpp:872 #, c-format msgid "Config entry name cannot start with '%c'." msgstr "Naam van configuratie-ingang kan niet beginnen met '%c'." -#: ../src/generic/filedlgg.cpp:1357 ../src/gtk/filedlg.cpp:72 +#: ../src/generic/filedlgg.cpp:1357 +#: ../src/gtk/filedlg.cpp:72 msgid "Confirm" msgstr "Bevestig" #: ../src/msw/mimetype.cpp:686 msgid "Confirm registry update" -msgstr "" +msgstr "Bevestig register bijwerking" #: ../src/html/htmlwin.cpp:262 msgid "Connecting..." msgstr "Bezig te verbinden..." -#: ../src/html/helpfrm.cpp:346 ../src/html/htmlhelp.cpp:565 +#: ../src/html/helpfrm.cpp:346 +#: ../src/html/htmlhelp.cpp:565 msgid "Contents" msgstr "Inhoud" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." -msgstr "" +msgid "Conversion to charset '%s' doesn't work." +msgstr "Conversie naar karakterset '%s' werkt niet." #: ../src/generic/prntdlgg.cpp:193 msgid "Copies:" msgstr "Kopieën:" -#: ../src/common/resourc2.cpp:287 ../src/common/resource.cpp:1806 +#: ../src/common/resourc2.cpp:287 +#: ../src/common/resource.cpp:1806 #: ../src/common/resource.cpp:1936 #, c-format msgid "Could not find resource include file %s." @@ -909,27 +909,24 @@ msgstr "Kon Rich Edit dll '%s' niet laden" #: ../src/common/resource.cpp:802 #, c-format -msgid "" -"Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" +msgid "Could not resolve control class or id '%s'. Use (non-zero) integer instead\n" " or provide #define (see manual for caveats)" -msgstr "" -"Kon control class of id '%s' niet herleiden. Gebruik een integer (niet nul)\n" +msgstr "Kon control class of id '%s' niet herleiden. Gebruik een integer (niet nul)\n" "of zorg voor een #define (zie handleiding voor mogelijke problemen)" #: ../src/common/resource.cpp:1251 #, c-format -msgid "" -"Could not resolve menu id '%s'. Use (non-zero) integer instead\n" +msgid "Could not resolve menu id '%s'. Use (non-zero) integer instead\n" "or provide #define (see manual for caveats)" -msgstr "" -"Kon menu '%s' niet herleiden. Gebruik een integer (niet nul)\n" +msgstr "Kon menu '%s' niet herleiden. Gebruik een integer (niet nul)\n" "of zorg voor een #define (zie handleiding voor mogelijke problemen)" #: ../src/common/prntbase.cpp:806 msgid "Could not start document preview." msgstr "Kon afdrukvoorbeeld niet starten." -#: ../src/generic/printps.cpp:197 ../src/msw/printwin.cpp:252 +#: ../src/generic/printps.cpp:197 +#: ../src/msw/printwin.cpp:252 msgid "Could not start printing." msgstr "Kon printen niet starten." @@ -937,8 +934,10 @@ msgstr "Kon printen niet starten." msgid "Could not transfer data to window" msgstr "Kon gegevens niet naar venster overdragen" -#: ../src/msw/dragimag.cpp:148 ../src/msw/dragimag.cpp:184 -#: ../src/msw/imaglist.cpp:152 ../src/msw/imaglist.cpp:174 +#: ../src/msw/dragimag.cpp:148 +#: ../src/msw/dragimag.cpp:184 +#: ../src/msw/imaglist.cpp:152 +#: ../src/msw/imaglist.cpp:174 #: ../src/msw/imaglist.cpp:187 msgid "Couldn't add an image to the image list." msgstr "Kon geen afbeelding aan de lijst toevoegen" @@ -947,24 +946,25 @@ msgstr "Kon geen afbeelding aan de lijst toevoegen" msgid "Couldn't create a timer" msgstr "Kon geen timer creëren" -#: ../src/mgl/cursor.cpp:135 ../src/mgl/cursor.cpp:166 -#, fuzzy +#: ../src/mgl/cursor.cpp:135 +#: ../src/mgl/cursor.cpp:166 msgid "Couldn't create cursor." -msgstr "Kon geen timer creëren" +msgstr "Kon cursor niet creëren" -#: ../src/common/dynlib.cpp:347 ../src/common/dynload.cpp:295 +#: ../src/common/dynlib.cpp:347 +#: ../src/common/dynload.cpp:295 #, c-format msgid "Couldn't find symbol '%s' in a dynamic library" msgstr "Kon symbool %s niet vinden in een dynamische bibliotheek" -#: ../src/mac/thread.cpp:502 ../src/msw/thread.cpp:711 +#: ../src/mac/thread.cpp:502 +#: ../src/msw/thread.cpp:711 msgid "Couldn't get the current thread pointer" msgstr "Kon pointer naar huidige thread niet verkrijgen" #: ../src/common/imagpng.cpp:298 msgid "Couldn't load a PNG image - file is corrupted or not enough memory." -msgstr "" -"Kon PNG-afbeelding niet laden: bestand is corrupt of onvoldoende geheugen." +msgstr "Kon PNG-afbeelding niet laden: bestand is corrupt of onvoldoende geheugen." #: ../src/msw/ole/dataobj.cpp:143 #, c-format @@ -976,13 +976,14 @@ msgstr "Kon klembord-formaat '%s' niet registreren." msgid "Couldn't retrieve information about list control item %d." msgstr "Kon geen informatie verkrijgen over lijst-item %d." -#: ../src/common/imagpng.cpp:334 ../src/common/imagpng.cpp:345 +#: ../src/common/imagpng.cpp:334 +#: ../src/common/imagpng.cpp:345 #: ../src/common/imagpng.cpp:353 -#, fuzzy msgid "Couldn't save PNG image." -msgstr "JPEG: kon afbeelding niet opslaan." +msgstr "Kon PNG afbeelding niet opslaan." -#: ../src/mac/thread.cpp:749 ../src/msw/thread.cpp:1091 +#: ../src/mac/thread.cpp:749 +#: ../src/msw/thread.cpp:1091 msgid "Couldn't terminate thread" msgstr "Kon thread niet beëindigen" @@ -990,7 +991,8 @@ msgstr "Kon thread niet be msgid "Create directory" msgstr "Maak map" -#: ../src/generic/dirdlgg.cpp:103 ../src/generic/filedlgg.cpp:1119 +#: ../src/generic/dirdlgg.cpp:103 +#: ../src/generic/filedlgg.cpp:1119 msgid "Create new directory" msgstr "Maak nieuwe map" @@ -999,9 +1001,8 @@ msgid "Current directory:" msgstr "Huidige map:" #: ../src/common/fontmap.cpp:116 -#, fuzzy msgid "Cyrillic (ISO-8859-5)" -msgstr "Baltisch (ISO-8859-13)" +msgstr "Cyrillic (ISO-8859-5)" #: ../src/common/paper.cpp:106 msgid "D sheet, 22 x 34 in" @@ -1012,34 +1013,28 @@ msgid "DDE poke request failed" msgstr "DDE 'poke request' mislukt" #: ../src/common/imagbmp.cpp:618 -#, fuzzy msgid "DIB Header: Cannot deal with 4bit encoded yet." -msgstr "BMP: kan geen 4-bits codering verwerken" +msgstr "DIB Header: kan geen 4-bits codering verwerken" #: ../src/common/imagbmp.cpp:836 -#, fuzzy msgid "DIB Header: Encoding doesn't match bitdepth." -msgstr "BMP: codering komt niet overeen met bit-diepte" +msgstr "DIB Header: Codering komt niet overeen met bit-diepte." #: ../src/common/imagbmp.cpp:798 -#, fuzzy msgid "DIB Header: Image height > 32767 pixels for file." -msgstr "BMP: afbeeldingshoogte > 32767 pixels in bestand." +msgstr "DIB Header: Afbeeldingshoogte > 32767 pixels in bestand." #: ../src/common/imagbmp.cpp:792 -#, fuzzy msgid "DIB Header: Image width > 32767 pixels for file." -msgstr "BMP: afbeeldingsbreedte > 32767 pixels in bestand." +msgstr "DIB Header: Afbeeldingsbreedte > 32767 pixels in bestand." #: ../src/common/imagbmp.cpp:812 -#, fuzzy msgid "DIB Header: Unknown bitdepth in file." -msgstr "BMP: onbekende bitdiepte in bestand." +msgstr "DIB Header: Onbekende bitdiepte in bestand." #: ../src/common/imagbmp.cpp:822 -#, fuzzy msgid "DIB Header: Unknown encoding in file." -msgstr "BMP: onbekende codering in bestand." +msgstr "DIB Header: Onbekende codering in bestand." #: ../src/common/paper.cpp:128 msgid "DL Envelope, 110 x 220 mm" @@ -1055,27 +1050,20 @@ msgstr "Decoratief" #: ../src/common/fontmap.cpp:386 msgid "Default encoding" -msgstr "" +msgstr "Standaard encodering" #: ../src/unix/snglinst.cpp:269 -#, fuzzy, c-format +#, c-format msgid "Deleted stale lock file '%s'." -msgstr "Kan INI-bestand '%s' niet verwijderen" +msgstr "Verouderd vergrendeld bestand '%s' verwijderd." #: ../src/msw/dialup.cpp:346 -msgid "" -"Dial up functions are unavailable because the remote access service (RAS) is " -"not installed on this machine. Please install it." -msgstr "" -"Inbel-functies zijn niet beschikbaar omdat de inbelverbindingssoftware (RAS) " -"niet op deze machine is geïnstalleerd. Installeer het a.u.b." +msgid "Dial up functions are unavailable because the remote access service (RAS) is not installed on this machine. Please install it." +msgstr "Inbel-functies zijn niet beschikbaar omdat de inbelverbindingssoftware (RAS) niet op deze machine is geïnstalleerd. Installeer het a.u.b." #: ../src/os2/toplevel.cpp:329 -#, fuzzy msgid "Did you forget to include wx/os2/wx.rc in your resources?" -msgstr "" -"Maken van dialoogvenster mislukt. U bent mogelijk '#include wx/msw/wx.rc' in " -"uw resources vergeten." +msgstr "Bent U vergeten wx/os2/wx.rc aan uw bronnen toe te voegen?" #: ../src/generic/tipdlg.cpp:178 msgid "Did you know..." @@ -1087,21 +1075,17 @@ msgid "Directory '%s' couldn't be created" msgstr "Map '%s' kon niet worden gemaakt" #: ../src/mgl/dirmgl.cpp:217 -#, fuzzy, c-format +#, c-format msgid "Directory '%s' doesn't exist!" -msgstr "Map bestaat niet" +msgstr "Map '%s' bestaat niet!" #: ../src/generic/dirdlgg.cpp:188 msgid "Directory does not exist" msgstr "Map bestaat niet" #: ../src/html/helpfrm.cpp:374 -msgid "" -"Display all index items that contain given substring. Search is case " -"insensitive." -msgstr "" -"Toon alle items in de index die de gegeven tekst bevatten. Niet " -"hoofdlettergevoelig." +msgid "Display all index items that contain given substring. Search is case insensitive." +msgstr "Toon alle items in de index die de gegeven tekst bevatten. Niet hoofdlettergevoelig." #: ../src/html/helpfrm.cpp:540 msgid "Display options dialog" @@ -1110,13 +1094,17 @@ msgstr "Toon optie-dialoog" #: ../src/msw/mimetype.cpp:679 #, c-format msgid "" -"Do you want to overwrite the command used to %s files with extension \"%s\" " -"?\n" +"Do you want to overwrite the command used to %s files with extension \"%s\" ?\n" "Current value is \n" "%s, \n" "New value is \n" "%s %1" msgstr "" +"Wilt U het '%s' commando dat gebruikt wordt voor bestanden met extensie \"%s\" overschrijven?\n" +"Huidige waarde is \n" +"%s, \n" +"Nieuwe waarde is \n" +"%s %1" #: ../src/common/docview.cpp:440 #, c-format @@ -1132,9 +1120,8 @@ msgid "Done." msgstr "Klaar." #: ../src/generic/fdrepdlg.cpp:157 -#, fuzzy msgid "Down" -msgstr "Klaar" +msgstr "Omlaag" #: ../src/common/paper.cpp:107 msgid "E sheet, 34 x 44 in" @@ -1150,22 +1137,26 @@ msgstr "Ingangen gevonden" #: ../src/common/config.cpp:345 #, c-format -msgid "" -"Environment variables expansion failed: missing '%c' at position %d in '%s'." -msgstr "" -"Uitbreiding van omgevingsvariabelen mislukt: ontbrekende '%c' op positie %d " -"in '%s'." - -#: ../src/generic/dirctrlg.cpp:702 ../src/generic/dirctrlg.cpp:720 -#: ../src/generic/dirctrlg.cpp:731 ../src/generic/dirdlgg.cpp:298 -#: ../src/generic/filedlgg.cpp:836 ../src/generic/filedlgg.cpp:933 -#: ../src/generic/filedlgg.cpp:947 ../src/generic/filedlgg.cpp:960 -#: ../src/generic/filedlgg.cpp:1322 ../src/generic/filedlgg.cpp:1372 -#: ../src/gtk/filedlg.cpp:80 ../src/gtk/fontdlg.cpp:71 +msgid "Environment variables expansion failed: missing '%c' at position %d in '%s'." +msgstr "Uitbreiding van omgevingsvariabelen mislukt: ontbrekende '%c' op positie %d in '%s'." + +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:933 +#: ../src/generic/filedlgg.cpp:947 +#: ../src/generic/filedlgg.cpp:960 +#: ../src/generic/filedlgg.cpp:1322 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 +#: ../src/gtk/fontdlg.cpp:71 msgid "Error" msgstr "Fout" -#: ../src/unix/utilsunx.cpp:1182 ../src/unix/utilsunx.cpp:1190 +#: ../src/unix/utilsunx.cpp:1182 +#: ../src/unix/utilsunx.cpp:1190 msgid "Error " msgstr "Fout " @@ -1174,9 +1165,8 @@ msgid "Error creating directory" msgstr "Fout bij het maken van map" #: ../src/common/imagbmp.cpp:845 -#, fuzzy msgid "Error in reading image DIB ." -msgstr "TIFF: fout bij lezen van afbeelding." +msgstr "Fout bij lezen DIB afbeelding ." #: ../src/common/log.cpp:460 msgid "Error: " @@ -1199,20 +1189,26 @@ msgstr "Uitvoering van opdracht '%s' mislukt" msgid "Executive, 7 1/4 x 10 1/2 in" msgstr "USA Executive, 7 1/4 x 10 1/2 inch" -#: ../src/common/resourc2.cpp:326 ../src/common/resourc2.cpp:1391 -#: ../src/common/resource.cpp:1845 ../src/common/resource.cpp:1975 +#: ../src/common/resourc2.cpp:326 +#: ../src/common/resourc2.cpp:1391 +#: ../src/common/resource.cpp:1845 +#: ../src/common/resource.cpp:1975 #: ../src/common/resource.cpp:3059 msgid "Expected '*' whilst parsing resource." msgstr "'*' verwacht bij inlezen van bron." -#: ../src/common/resourc2.cpp:342 ../src/common/resourc2.cpp:1407 -#: ../src/common/resource.cpp:1862 ../src/common/resource.cpp:1991 +#: ../src/common/resourc2.cpp:342 +#: ../src/common/resourc2.cpp:1407 +#: ../src/common/resource.cpp:1862 +#: ../src/common/resource.cpp:1991 #: ../src/common/resource.cpp:3076 msgid "Expected '=' whilst parsing resource." msgstr "'=' verwacht bij inlezen van bron." -#: ../src/common/resourc2.cpp:312 ../src/common/resourc2.cpp:1377 -#: ../src/common/resource.cpp:1831 ../src/common/resource.cpp:1961 +#: ../src/common/resourc2.cpp:312 +#: ../src/common/resourc2.cpp:1377 +#: ../src/common/resource.cpp:1831 +#: ../src/common/resource.cpp:1961 #: ../src/common/resource.cpp:3045 msgid "Expected 'char' whilst parsing resource." msgstr "'char' verwacht bij inlezen van bron." @@ -1224,17 +1220,16 @@ msgstr "%s van inbelverbinding mislukt: %s" #: ../src/unix/snglinst.cpp:243 msgid "Failed to access lock file." -msgstr "" +msgstr "Toegang naar beveiligd bestand mislukt." #: ../src/common/filename.cpp:172 -#, fuzzy msgid "Failed to close file handle" -msgstr "Sluiten van klembord mislukt." +msgstr "Sluiten van bestands handle mislukt." #: ../src/unix/snglinst.cpp:308 -#, fuzzy, c-format +#, c-format msgid "Failed to close lock file '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Sluiten van vergrendeld bestand '%s' mislukt" #: ../src/msw/clipbrd.cpp:127 msgid "Failed to close the clipboard." @@ -1259,9 +1254,9 @@ msgid "Failed to copy the contents of registry key '%s' to '%s'." msgstr "Kopiëren van registersleutel '%s' naar '%s' mislukt." #: ../src/common/filefn.cpp:1106 -#, fuzzy, c-format +#, c-format msgid "Failed to copy the file '%s' to '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Kopiëren van bestand '%s' naar '%s' mislukt" #: ../src/msw/dde.cpp:924 msgid "Failed to create DDE string" @@ -1276,14 +1271,12 @@ msgid "Failed to create a status bar." msgstr "Maken van statusbalk mislukt." #: ../src/common/filename.cpp:717 -#, fuzzy msgid "Failed to create a temporary file name" -msgstr "Maken van MDI-hoofdvenster mislukt." +msgstr "Maken van een tijdelijke bestandsnaam mislukt" #: ../src/msw/utilsexc.cpp:195 -#, fuzzy msgid "Failed to create an anonymous pipe" -msgstr "Maken van statusbalk mislukt." +msgstr "Maken van een anonieme pipe mislukt" #: ../src/msw/dde.cpp:401 #, c-format @@ -1291,35 +1284,33 @@ msgid "Failed to create connection to server '%s' on topic '%s'" msgstr "Maken van verbinding met server '%s' voor onderwerp '%s' mislukt" #: ../src/msw/toplevel.cpp:293 -#, fuzzy msgid "Failed to create dialog. Incorrect DLGTEMPLATE?" -msgstr "Maken van map mislukt" +msgstr "Maken van dialoog mislukt. Foutieve DLGTEMPLATE?" #: ../src/generic/dirdlgg.cpp:201 -#, fuzzy, c-format -msgid "" -"Failed to create directory '%s'\n" +#, c-format +msgid "Failed to create directory '%s'\n" "(Do you have the required permissions?)" -msgstr "" -"\n" -"(Heeft u de benodigde machtinging?)" +msgstr "Maken van map '%s' mislukt\n" +"(Heeft u de benodigde machtiging?)" #: ../src/msw/mimetype.cpp:168 -#, fuzzy, c-format +#, c-format msgid "Failed to create registry entry for '%s' files." -msgstr "Hernoemen van registersleutel '%s' naar '%s' mislukt" +msgstr "Maken van registersleutel '%s' mislukt." #: ../src/msw/fdrepdlg.cpp:442 #, c-format msgid "Failed to create the standard find/replace dialog (error code %d)" -msgstr "" +msgstr "Maken van het standaard zoek/vervang dialoog mislukt (error code %d)" #: ../src/html/winpars.cpp:430 #, c-format msgid "Failed to display HTML document in %s encoding" msgstr "Weergeven van HTML-document in %s-codering mislukt" -#: ../src/mac/clipbrd.cpp:167 ../src/msw/clipbrd.cpp:139 +#: ../src/mac/clipbrd.cpp:167 +#: ../src/msw/clipbrd.cpp:139 msgid "Failed to empty the clipboard." msgstr "Legen van klembord mislukt." @@ -1332,36 +1323,34 @@ msgstr "Opzetten van advies-lus met de DDE-server mislukt" msgid "Failed to establish dialup connection: %s" msgstr "Maken van inbelverbinding mislukt: %s" -#: ../src/unix/utilsunx.cpp:538 ../src/unix/utilsunx.cpp:555 +#: ../src/unix/utilsunx.cpp:538 +#: ../src/unix/utilsunx.cpp:555 #, c-format msgid "Failed to execute '%s'\n" msgstr "Uitvoeren van '%s' mislukt\n" -#: ../src/common/resourc2.cpp:808 ../src/common/resource.cpp:2465 +#: ../src/common/resourc2.cpp:808 +#: ../src/common/resource.cpp:2465 #, c-format -msgid "" -"Failed to find XBM resource %s.\n" +msgid "Failed to find XBM resource %s.\n" "Forgot to use wxResourceLoadBitmapData?" -msgstr "" -"Vinden van XBM-bron %s mislukt.\n" +msgstr "Vinden van XBM-bron %s mislukt.\n" "Bent u vergeten wxResourceLoadBitmapData te gebruiken?" -#: ../src/common/resourc2.cpp:959 ../src/common/resource.cpp:2619 +#: ../src/common/resourc2.cpp:959 +#: ../src/common/resource.cpp:2619 #, c-format -msgid "" -"Failed to find XBM resource %s.\n" +msgid "Failed to find XBM resource %s.\n" "Forgot to use wxResourceLoadIconData?" -msgstr "" -"Vinden van XBM-brom %s mislukt.\n" +msgstr "Vinden van XBM-brom %s mislukt.\n" "Bent u vergeten wxResourceLoadIconData te gebruiken?" -#: ../src/common/resourc2.cpp:823 ../src/common/resource.cpp:2480 +#: ../src/common/resourc2.cpp:823 +#: ../src/common/resource.cpp:2480 #, c-format -msgid "" -"Failed to find XPM resource %s.\n" +msgid "Failed to find XPM resource %s.\n" "Forgot to use wxResourceLoadBitmapData?" -msgstr "" -"Vinden van XPM-bron %s mislukt.\n" +msgstr "Vinden van XPM-bron %s mislukt.\n" "Bent u vergeten wxResourceLoadBitmapData te gebruiken?" #: ../src/msw/dialup.cpp:678 @@ -1370,9 +1359,8 @@ msgid "Failed to get ISP names: %s" msgstr "Verkrijgen van namen van internetaanbieders mislukt: %s" #: ../src/mac/clipbrd.cpp:118 -#, fuzzy msgid "Failed to get clipboard data." -msgstr "Instellen van klembordgegevens mislukt." +msgstr "Verkrijgen van klembordgegevens mislukt." #: ../src/msw/clipbrd.cpp:712 msgid "Failed to get data from the clipboard" @@ -1387,80 +1375,74 @@ msgid "Failed to get the local system time" msgstr "Verkrijgen van lokale systeem-tijd mislukt" #: ../src/common/filefn.cpp:1487 -#, fuzzy msgid "Failed to get the working directory" -msgstr "Maken van map mislukt" +msgstr "Verkrijgen van de werk map mislukt" #: ../src/univ/theme.cpp:120 msgid "Failed to initialize GUI: no built-in themes found." -msgstr "" +msgstr "Initialiseren van GUI mislukt: Geen ingebouwd thema gevonden." #: ../src/msw/helpchm.cpp:69 msgid "Failed to initialize MS HTML Help." -msgstr "" +msgstr "Initialiseren van MS HTML Help mislukt." #: ../src/msw/glcanvas.cpp:729 -#, fuzzy msgid "Failed to initialize OpenGL" -msgstr "Kan OLE niet initializeren" +msgstr "Initialiseren van OpenGL mislukt." #: ../src/unix/threadpsx.cpp:871 -msgid "" -"Failed to join a thread, potential memory leak detected - please restart the " -"program" -msgstr "" -"Aansluiten bij een thread mislukt, mogelijk geheugenlek aangetroffen - " -"herstart het programma a.u.b." +msgid "Failed to join a thread, potential memory leak detected - please restart the program" +msgstr "Aansluiten bij een thread mislukt, mogelijk geheugenlek aangetroffen - herstart het programma a.u.b." #: ../src/msw/utils.cpp:721 -#, fuzzy, c-format +#, c-format msgid "Failed to kill process %d" -msgstr "Omleiden van I/O van subprocess mislukt" +msgstr "Abrupt afsluiten van process %d mislukt" #: ../src/common/iconbndl.cpp:66 -#, fuzzy, c-format +#, c-format msgid "Failed to load image %d from file '%s'." -msgstr "legen van bestand '%s' mislukt" +msgstr "Laden van afbeelding %d van bestand '%s' mislukt." #: ../src/msw/volume.cpp:340 -#, fuzzy msgid "Failed to load mpr.dll." -msgstr "Instellen van klembordgegevens mislukt." +msgstr "Laden van mpr.dll mislukt." -#: ../src/common/dynlib.cpp:274 ../src/common/dynload.cpp:197 +#: ../src/common/dynlib.cpp:274 +#: ../src/common/dynload.cpp:197 #, c-format msgid "Failed to load shared library '%s'" msgstr "Laden van gedeelde bibliotheek '%s' mislukt" -#: ../src/common/dynlib.cpp:256 ../src/common/dynload.cpp:126 -#, fuzzy, c-format +#: ../src/common/dynlib.cpp:256 +#: ../src/common/dynload.cpp:126 +#, c-format msgid "Failed to load shared library '%s' Error '%s'" -msgstr "Laden van gedeelde bibliotheek '%s' mislukt" +msgstr "Laden van gedeelde bibliotheek '%s' mislukt Fout '%s'" #: ../src/unix/snglinst.cpp:192 -#, fuzzy, c-format +#, c-format msgid "Failed to lock the lock file '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Vergrendelen van het vergrendelde bestand '%s' mislukt" #: ../src/common/regex.cpp:251 -#, fuzzy, c-format +#, c-format msgid "Failed to match '%s' in regular expression: %s" -msgstr "%s van inbelverbinding mislukt: %s" +msgstr "Vinden van '%s' in reguliere expressie '%s' mislukt" #: ../src/common/filename.cpp:1644 -#, fuzzy, c-format +#, c-format msgid "Failed to modify file times for '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Veranderen van bestandstijden van '%s' mislukt" #: ../src/common/filename.cpp:160 -#, fuzzy, c-format +#, c-format msgid "Failed to open '%s' for %s" -msgstr "Openen van klembord mislukt." +msgstr "Openen van '%s' voor %s mislukt" #: ../src/common/filename.cpp:739 -#, fuzzy msgid "Failed to open temporary file." -msgstr "Openen van klembord mislukt." +msgstr "Openen van tijdelijk bestand mislukt." #: ../src/msw/clipbrd.cpp:107 msgid "Failed to open the clipboard." @@ -1471,16 +1453,14 @@ msgid "Failed to put data on the clipboard" msgstr "Bewaren van gegevens op klembord mislukt" #: ../src/unix/snglinst.cpp:252 -#, fuzzy msgid "Failed to read PID from lock file." -msgstr "Maken van MDI-hoofdvenster mislukt." +msgstr "Lezen van PID van vergrendeld bestand mislukt." #: ../src/unix/utilsunx.cpp:629 msgid "Failed to redirect child process input/output" msgstr "Omleiden van I/O van subprocess mislukt" #: ../src/msw/utilsexc.cpp:600 -#, fuzzy msgid "Failed to redirect the child process IO" msgstr "Omleiden van I/O van subprocess mislukt" @@ -1495,14 +1475,14 @@ msgid "Failed to remember the encoding for the charset '%s'." msgstr "Onthouden van codering voor tekenset '%s' mislukt." #: ../src/unix/snglinst.cpp:296 -#, fuzzy, c-format +#, c-format msgid "Failed to remove lock file '%s'" -msgstr "kan bestand '%s' niet verwijderen" +msgstr "Verwijderen van vergrendeld bestand '%s' mislukt" #: ../src/unix/snglinst.cpp:262 -#, fuzzy, c-format +#, c-format msgid "Failed to remove stale lock file '%s'." -msgstr "Hernoemen van registerwaarde '%s' naar '%s' mislukt" +msgstr "Verwijderen van verouderd vergrendeld bestand '%s' mislukt." #: ../src/msw/registry.cpp:443 #, c-format @@ -1519,9 +1499,9 @@ msgid "Failed to retrieve data from the clipboard." msgstr "Ophalen van gegevens van klembord mislukt" #: ../src/common/filename.cpp:1710 -#, fuzzy, c-format +#, c-format msgid "Failed to retrieve file times for '%s'" -msgstr "Verkrijgen van tekst van inbel-foutmelding mislukt" +msgstr "Verkrijgen van bestandstijden voor '%s' mislukt" #: ../src/msw/dialup.cpp:442 msgid "Failed to retrieve text of RAS error message" @@ -1536,20 +1516,20 @@ msgid "Failed to send DDE advise notification" msgstr "Versturen van DDE-adviesnotificatie mislukt" #: ../src/common/ftp.cpp:368 -#, fuzzy, c-format +#, c-format msgid "Failed to set FTP transfer mode to %s." -msgstr "Instellen van prioriteit van thread %d mislukt." +msgstr "Instellen van FTP transfer mode naar %s mislukt." #: ../src/msw/clipbrd.cpp:379 msgid "Failed to set clipboard data." msgstr "Instellen van klembordgegevens mislukt." #: ../src/common/file.cpp:522 -#, fuzzy msgid "Failed to set temporary file permissions" -msgstr "legen van bestand '%s' mislukt" +msgstr "Instellen van machtigingen van tijdelijk bestand mislukt" -#: ../src/unix/threadpsx.cpp:1213 ../src/unix/threadpsx.cpp:1224 +#: ../src/unix/threadpsx.cpp:1213 +#: ../src/unix/threadpsx.cpp:1224 #, c-format msgid "Failed to set thread priority %d." msgstr "Instellen van prioriteit van thread %d mislukt." @@ -1573,14 +1553,14 @@ msgid "Failed to terminate the dialup connection: %s" msgstr "Ophangen van inbelverbinding mislukt: %s" #: ../src/common/filename.cpp:1659 -#, fuzzy, c-format +#, c-format msgid "Failed to touch the file '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Touchen van bestand '%s' mislukt" #: ../src/unix/snglinst.cpp:302 -#, fuzzy, c-format +#, c-format msgid "Failed to unlock lock file '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Ontgrendelen van het vergrendelde bestand '%s' mislukt" #: ../src/msw/dde.cpp:301 #, c-format @@ -1588,9 +1568,9 @@ msgid "Failed to unregister DDE server '%s'" msgstr "Deregistreren van DDE-server %s mislukt" #: ../src/unix/snglinst.cpp:173 -#, fuzzy, c-format +#, c-format msgid "Failed to write to lock file '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Schrijven naar vergrendeld bestand '%s' mislukt" #: ../src/generic/logg.cpp:379 msgid "Fatal error" @@ -1600,37 +1580,41 @@ msgstr "Fatale fout" msgid "Fatal error: " msgstr "Fatale fout: " -#: ../src/mac/app.cpp:1220 ../src/msw/app.cpp:1281 +#: ../src/mac/app.cpp:1220 +#: ../src/msw/app.cpp:1281 msgid "Fatal error: exiting" msgstr "Fatale fout: bezig met afbreken" #: ../src/mgl/bitmap.cpp:544 -#, fuzzy, c-format +#, c-format msgid "File %s does not exist." -msgstr ": bestand bestaat niet!" +msgstr "Bestand %s bestaat niet." -#: ../src/generic/filedlgg.cpp:1354 ../src/gtk/filedlg.cpp:69 +#: ../src/generic/filedlgg.cpp:1354 +#: ../src/gtk/filedlg.cpp:69 #, c-format msgid "File '%s' already exists, do you really want to overwrite it?" msgstr "Bestand '%s' bestaat al, overschrijven?" #: ../src/msw/filedlg.cpp:505 -#, fuzzy, c-format -msgid "" -"File '%s' already exists.\n" +#, c-format +msgid "File '%s' already exists.\n" "Do you want to replace it?" -msgstr "Bestand '%s' bestaat al, overschrijven?" +msgstr "Bestand '%s' bestaat al.\n" +"Wilt U het vervangen?" #: ../src/common/textcmn.cpp:158 msgid "File couldn't be loaded." msgstr "Bestand kon niet worden geladen." -#: ../src/common/docview.cpp:294 ../src/common/docview.cpp:331 +#: ../src/common/docview.cpp:294 +#: ../src/common/docview.cpp:331 #: ../src/common/docview.cpp:1422 msgid "File error" msgstr "Bestandsfout" -#: ../src/generic/dirctrlg.cpp:720 ../src/generic/filedlgg.cpp:947 +#: ../src/generic/dirctrlg.cpp:720 +#: ../src/generic/filedlgg.cpp:947 msgid "File name exists already." msgstr "Bestandsnaam bestaat al." @@ -1663,13 +1647,16 @@ msgstr "'Fork' mislukt" msgid "Forward" msgstr "Vooruit" -#: ../src/common/resourc2.cpp:295 ../src/common/resourc2.cpp:1360 -#: ../src/common/resource.cpp:1814 ../src/common/resource.cpp:1944 +#: ../src/common/resourc2.cpp:295 +#: ../src/common/resourc2.cpp:1360 +#: ../src/common/resource.cpp:1814 +#: ../src/common/resource.cpp:1944 #: ../src/common/resource.cpp:3028 msgid "Found " msgstr "Gevonden: " -#: ../src/html/helpfrm.cpp:661 ../src/html/htmlhelp.cpp:460 +#: ../src/html/helpfrm.cpp:661 +#: ../src/html/htmlhelp.cpp:460 #, c-format msgid "Found %i matches" msgstr "%i Overeenkomsten gevonden" @@ -1679,9 +1666,8 @@ msgid "From:" msgstr "Van:" #: ../src/common/imaggif.cpp:100 -#, fuzzy msgid "GIF: Invalid gif index." -msgstr "Ongeldige TIFF-afbeeldingsindex." +msgstr "GIF: Ongeldige gif index." #: ../src/common/imaggif.cpp:75 msgid "GIF: data stream seems to be truncated." @@ -1701,7 +1687,7 @@ msgstr "GIF: onbekende fout!" #: ../src/univ/themes/gtk.cpp:623 msgid "GTK+ theme" -msgstr "" +msgstr "GTK+ thema" #: ../src/common/paper.cpp:142 msgid "German Legal Fanfold, 8 1/2 x 13 in" @@ -1713,7 +1699,7 @@ msgstr "Duitse Std Fanfold, 8 1/2 x 12 inch" #: ../src/common/image.cpp:762 msgid "GetUnusedColour:: No Unused Color in image " -msgstr "" +msgstr "GetUnusedColour: Er is geen ongebruikte kleur in de afbeelding" #: ../src/html/helpfrm.cpp:506 msgid "Go back" @@ -1721,7 +1707,7 @@ msgstr "Ga terug" #: ../src/html/htmlhelp.cpp:541 msgid "Go back to the previous HTML page" -msgstr "" +msgstr "Ga naar de volgende HTML pagina" #: ../src/html/helpfrm.cpp:509 msgid "Go forward" @@ -1729,13 +1715,14 @@ msgstr "Ga vooruit" #: ../src/html/htmlhelp.cpp:543 msgid "Go forward to the next HTML page" -msgstr "" +msgstr "Ga vooruit naar de volgende HTML pagina" #: ../src/html/helpfrm.cpp:514 msgid "Go one level up in document hierarchy" msgstr "Ga niveau hoger in document-hiërarchie" -#: ../src/generic/dirdlgg.cpp:108 ../src/generic/filedlgg.cpp:1108 +#: ../src/generic/dirdlgg.cpp:108 +#: ../src/generic/filedlgg.cpp:1108 msgid "Go to home directory" msgstr "Ga naar startmap" @@ -1745,7 +1732,7 @@ msgstr "Ga naar bovenliggende map" #: ../src/common/prntbase.cpp:379 msgid "Goto Page" -msgstr "" +msgstr "Ga naar pagina" #: ../src/common/fontmap.cpp:118 msgid "Greek (ISO-8859-7)" @@ -1757,34 +1744,31 @@ msgid "HTML anchor %s does not exist." msgstr "HTML-anchor %s bestaat niet." #: ../src/html/helpfrm.cpp:1279 -msgid "" -"HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books " -"(*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All " -"files (*.*)|*" -msgstr "" -"HTML-bestanden (*.htm)|*.htm|HTML-bestanden (*.html)|*.html|Helpbestanden " -"(*.htb)|*.htb|Helpbestanden (*.zip)|*.zip|HTML-Help Project " -"(*.hhp)|*.hhp|Alle bestanden (*.*)|*" +msgid "HTML files (*.htm)|*.htm|HTML files (*.html)|*.html|Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp|All files (*.*)|*" +msgstr "HTML-bestanden (*.htm)|*.htm|HTML-bestanden (*.html)|*.html|Helpbestanden (*.htb)|*.htb|Helpbestanden (*.zip)|*.zip|HTML-Help Project (*.hhp)|*.hhp|Alle bestanden (*.*)|*" #: ../src/common/fontmap.cpp:119 msgid "Hebrew (ISO-8859-8)" msgstr "Hebreeuws (ISO-8859-8)" -#: ../src/common/dlgcmn.cpp:179 ../src/generic/proplist.cpp:516 -#: ../src/html/helpfrm.cpp:240 ../src/msw/mdi.cpp:1324 +#: ../src/common/dlgcmn.cpp:179 +#: ../src/generic/proplist.cpp:516 +#: ../src/html/helpfrm.cpp:240 +#: ../src/msw/mdi.cpp:1324 msgid "Help" msgstr "Help" #: ../src/html/htmlhelp.cpp:87 -#, fuzzy, c-format +#, c-format msgid "Help : %s" -msgstr "Help: %s" +msgstr "Help : %s" #: ../src/html/helpfrm.cpp:933 msgid "Help Browser Options" msgstr "Help Browser Instellingen" -#: ../src/generic/helphtml.cpp:334 ../src/generic/helphtml.cpp:335 +#: ../src/generic/helphtml.cpp:334 +#: ../src/generic/helphtml.cpp:335 msgid "Help Index" msgstr "Help Index" @@ -1798,53 +1782,51 @@ msgid "Help: %s" msgstr "Help: %s" #: ../src/common/imagbmp.cpp:858 -#, fuzzy msgid "ICO: Error in reading mask DIB." -msgstr "TIFF: fout bij lezen van afbeelding." - -#: ../src/common/imagbmp.cpp:960 ../src/common/imagbmp.cpp:1019 -#: ../src/common/imagbmp.cpp:1028 ../src/common/imagbmp.cpp:1039 -#: ../src/common/imagbmp.cpp:1083 ../src/common/imagbmp.cpp:1093 +msgstr "ICO: Fout bij lezen mask DIB." + +#: ../src/common/imagbmp.cpp:960 +#: ../src/common/imagbmp.cpp:1019 +#: ../src/common/imagbmp.cpp:1028 +#: ../src/common/imagbmp.cpp:1039 +#: ../src/common/imagbmp.cpp:1083 +#: ../src/common/imagbmp.cpp:1093 #: ../src/common/imagbmp.cpp:1102 -#, fuzzy msgid "ICO: Error writing the image file!" -msgstr "TIFF: fout bij schrijven van afbeelding." +msgstr "ICO: Fout bij het wegschrijven van de afbeelding!" #: ../src/common/imagbmp.cpp:928 msgid "ICO: Image too tall for an icon." -msgstr "" +msgstr "ICO: Afbeelding is te hoog voor een pictogram." #: ../src/common/imagbmp.cpp:934 msgid "ICO: Image too wide for an icon." -msgstr "" +msgstr "ICO: Afbeelding is te breed voor een pictogram." #: ../src/common/imagbmp.cpp:1167 -#, fuzzy msgid "ICO: Invalid icon index." -msgstr "Ongeldige TIFF-afbeeldingsindex." +msgstr "ICO: Ongeldige pictogram index." #: ../src/common/imagiff.cpp:767 -#, fuzzy msgid "IFF: data stream seems to be truncated." -msgstr "GIF: gegevensstroom lijkt afgekapt." +msgstr "IFFF: gegevensstroom lijkt afgekapt." #: ../src/common/imagiff.cpp:751 -#, fuzzy msgid "IFF: error in IFF image format." -msgstr "GIF: fout in GIF-bestandsformaat." +msgstr "IFF: fout in IFF bestands formaat." #: ../src/common/imagiff.cpp:754 -#, fuzzy msgid "IFF: not enough memory." -msgstr "GIF: onvoldoende geheugen." +msgstr "IFF: onvoldoende geheugen." #: ../src/common/imagiff.cpp:757 -#, fuzzy msgid "IFF: unknown error!!!" -msgstr "GIF: onbekende fout!" +msgstr "IFF: onbekende fout!!!" -#: ../src/common/resourc2.cpp:989 ../src/common/resourc2.cpp:1000 -#: ../src/common/resource.cpp:2649 ../src/common/resource.cpp:2660 +#: ../src/common/resourc2.cpp:989 +#: ../src/common/resourc2.cpp:1000 +#: ../src/common/resource.cpp:2649 +#: ../src/common/resource.cpp:2660 #, c-format msgid "Icon resource specification %s not found." msgstr "Pictogram-bronspecificatie niet gevonden." @@ -1853,7 +1835,8 @@ msgstr "Pictogram-bronspecificatie niet gevonden." msgid "Ill-formed resource file syntax." msgstr "Incorrecte syntax voor bronbestand." -#: ../src/generic/dirctrlg.cpp:702 ../src/generic/filedlgg.cpp:933 +#: ../src/generic/dirctrlg.cpp:702 +#: ../src/generic/filedlgg.cpp:933 msgid "Illegal directory name." msgstr "Ongeldige mapnaam." @@ -1863,48 +1846,44 @@ msgstr "Ongeldige bestandsspecificatie." #: ../src/common/image.cpp:785 msgid "Image and Mask have different sizes" -msgstr "" +msgstr "Afbeelding en masker hebben verschillende groottes" #: ../src/common/image.cpp:1064 #, c-format msgid "Image file is not of type %d." -msgstr "" +msgstr "Bestands afbeelding is niet van het type %d." #: ../src/msw/textctrl.cpp:249 -msgid "" -"Impossible to create a rich edit control, using simple text control instead. " -"Please reinstall riched32.dll" -msgstr "" -"Niet mogelijk om Rich Edit control te maken, gewone tekst wordt gebruikt. " -"Installeer riched32.dll a.u.b. opnieuw" +msgid "Impossible to create a rich edit control, using simple text control instead. Please reinstall riched32.dll" +msgstr "Niet mogelijk om Rich Edit control te maken, gewone tekst wordt gebruikt. Installeer riched32.dll a.u.b. opnieuw" #: ../src/unix/utilsunx.cpp:390 msgid "Impossible to get child process input" msgstr "Onmogelijk om subprocess-invoer te verkrijgen" #: ../src/common/filefn.cpp:1122 -#, fuzzy, c-format +#, c-format msgid "Impossible to get permissions for file '%s'" -msgstr "Onmogelijk om subprocess-invoer te verkrijgen" +msgstr "Onmogelijk om machtigingen voor bestand '%s' te krijgen" #: ../src/common/filefn.cpp:1136 -#, fuzzy, c-format +#, c-format msgid "Impossible to overwrite the file '%s'" -msgstr "legen van bestand '%s' mislukt" +msgstr "Overschrijven van bestand '%s' mislukt" #: ../src/common/filefn.cpp:1187 #, c-format msgid "Impossible to set permissions for the file '%s'" -msgstr "" +msgstr "Onmogelijk om machtigingen voor het bestand '%s' in te stellen" -#: ../src/html/helpfrm.cpp:387 ../src/html/htmlhelp.cpp:578 +#: ../src/html/helpfrm.cpp:387 +#: ../src/html/htmlhelp.cpp:578 msgid "Index" msgstr "Index" #: ../src/common/fontmap.cpp:123 -#, fuzzy msgid "Indian (ISO-8859-12)" -msgstr "Noors (ISO-8859-10)" +msgstr "Indisch (ISO-8859-12)" #: ../src/common/imagtiff.cpp:183 msgid "Invalid TIFF image index." @@ -1913,27 +1892,27 @@ msgstr "Ongeldige TIFF-afbeeldingsindex." #: ../contrib/src/xrc/xmlres.cpp:343 #, c-format msgid "Invalid XRC resource '%s': doesn't have root node 'resource'." -msgstr "" +msgstr "Ongeldige XRC bron '%s': heeft geen top node 'bron'." #: ../src/common/appcmn.cpp:378 -#, fuzzy, c-format +#, c-format msgid "Invalid display mode specification '%s'." -msgstr "Ongeldige bestandsspecificatie." +msgstr "Ongeldige beeldscherm mode specificatie. '%s'." #: ../src/x11/app.cpp:231 -#, fuzzy, c-format +#, c-format msgid "Invalid geometry specification '%s'" -msgstr "Ongeldige bestandsspecificatie." +msgstr "Ongeldige geometrie specificatie '%s'" #: ../src/unix/snglinst.cpp:280 -#, fuzzy, c-format +#, c-format msgid "Invalid lock file '%s'." -msgstr "kan bestand '%s' niet sluiten" +msgstr "Ongeldig vergrendeld bestand '%s'." #: ../src/common/regex.cpp:173 #, c-format msgid "Invalid regular expression '%s': %s" -msgstr "" +msgstr "Ongeldige reguliere expressie '%s': %s" #: ../src/generic/fontdlgg.cpp:227 msgid "Italic" @@ -1955,7 +1934,8 @@ msgstr "JPEG: kon afbeelding niet opslaan." msgid "KOI8-R" msgstr "KOI8-R" -#: ../src/generic/prntdlgg.cpp:426 ../src/generic/prntdlgg.cpp:620 +#: ../src/generic/prntdlgg.cpp:426 +#: ../src/generic/prntdlgg.cpp:620 msgid "Landscape" msgstr "Liggend" @@ -1983,16 +1963,17 @@ msgstr "USA Letter, 8 1/2 x 11 inch" msgid "Light" msgstr "Licht" -#: ../src/generic/filedlgg.cpp:1587 ../src/gtk/filedlg.cpp:249 -#: ../src/motif/filedlg.cpp:357 ../src/msw/filedlg.cpp:542 +#: ../src/generic/filedlgg.cpp:1587 +#: ../src/gtk/filedlg.cpp:249 +#: ../src/motif/filedlg.cpp:357 +#: ../src/msw/filedlg.cpp:542 #, c-format msgid "Load %s file" msgstr "Laad %s-bestand" #: ../src/generic/filedlgg.cpp:1589 -#, fuzzy msgid "Load file" -msgstr "Laad %s-bestand" +msgstr "Laad bestand" #: ../src/html/htmlwin.cpp:282 msgid "Loading : " @@ -2000,13 +1981,11 @@ msgstr "Bezig met laden: " #: ../src/common/imagpnm.cpp:72 msgid "Loading Grey Ascii PNM image is not yet implemented." -msgstr "" -"Laden van Ascii PNM-afbeelding met grijswaarden nog niet geïmplementeerd." +msgstr "Laden van Ascii PNM-afbeelding met grijswaarden nog niet geïmplementeerd." #: ../src/common/imagpnm.cpp:75 msgid "Loading Grey Raw PNM image is not yet implemented." -msgstr "" -"Laden van Raw PNM-afbeelding met grijswaarden nog niet geïmplementeerd." +msgstr "Laden van Raw PNM-afbeelding met grijswaarden nog niet geïmplementeerd." #: ../src/generic/logg.cpp:554 #, c-format @@ -2018,17 +1997,12 @@ msgid "MDI child" msgstr "MDI subvenster" #: ../src/msw/helpchm.cpp:60 -#, fuzzy -msgid "" -"MS HTML Help functions are unavailable because the MS HTML Help library is " -"not installed on this machine. Please install it." -msgstr "" -"Inbel-functies zijn niet beschikbaar omdat de inbelverbindingssoftware (RAS) " -"niet op deze machine is geïnstalleerd. Installeer het a.u.b." +msgid "MS HTML Help functions are unavailable because the MS HTML Help library is not installed on this machine. Please install it." +msgstr "MS HTML Help functies zijn niet beschikbaar omdat de MS HTML Help bibliotheek niet op deze machine is geïnstalleerd. Installeer het a.u.b." #: ../src/univ/themes/win32.cpp:4545 msgid "Ma&ximize" -msgstr "" +msgstr "Maximaliseren" #: ../src/unix/mimetype.cpp:2477 #, c-format @@ -2037,7 +2011,7 @@ msgstr "Mailcap-bestand %s, regel %d: incomplete ingang genegeerd." #: ../src/generic/fdrepdlg.cpp:152 msgid "Match case" -msgstr "" +msgstr "Hoofdlettergevoelig" #: ../src/common/fs_mem.cpp:144 #, c-format @@ -2046,22 +2020,21 @@ msgstr "Geheugen VFS bevat al bestand '%s'!" #: ../src/univ/themes/metal.cpp:174 msgid "Metal theme" -msgstr "" +msgstr "Metaal thema" #: ../src/univ/themes/win32.cpp:4543 msgid "Mi&nimize" -msgstr "" +msgstr "Minimaliseren" #: ../src/unix/mimetype.cpp:2102 #, c-format msgid "Mime.types file %s, line %d: unterminated quoted string." -msgstr "" -"Mime.types-bestand %s, regel %d: niet-afgesloten aangehaalde tekstregel." +msgstr "Mime.types-bestand %s, regel %d: niet-afgesloten aangehaalde tekstregel." #: ../src/mgl/app.cpp:173 #, c-format msgid "Mode %ix%i-%i not available." -msgstr "" +msgstr "Mode %ix%i-%i niet beschikbaar." #: ../src/generic/fontdlgg.cpp:222 msgid "Modern" @@ -2079,8 +2052,10 @@ msgstr "Meer..." msgid "Name" msgstr "Naam" -#: ../src/generic/dirdlgg.cpp:272 ../src/generic/dirdlgg.cpp:282 -#: ../src/generic/filedlgg.cpp:812 ../src/generic/filedlgg.cpp:821 +#: ../src/generic/dirdlgg.cpp:272 +#: ../src/generic/dirdlgg.cpp:282 +#: ../src/generic/filedlgg.cpp:812 +#: ../src/generic/filedlgg.cpp:821 msgid "NewName" msgstr "Nieuwe map" @@ -2088,21 +2063,25 @@ msgstr "Nieuwe map" msgid "Next page" msgstr "Volgende pagina" -#: ../src/common/dlgcmn.cpp:156 ../src/mac/msgdlg.cpp:78 +#: ../src/common/dlgcmn.cpp:156 +#: ../src/mac/msgdlg.cpp:78 #: ../src/motif/msgdlg.cpp:182 msgid "No" msgstr "Nee" #: ../src/common/image.cpp:793 msgid "No Unused Color in image being masked" -msgstr "" +msgstr "Er wordt geen Ongebruikte Kleur in de afbeelding gemaskeerd" -#: ../src/common/resourc2.cpp:814 ../src/common/resourc2.cpp:965 -#: ../src/common/resource.cpp:2471 ../src/common/resource.cpp:2625 +#: ../src/common/resourc2.cpp:814 +#: ../src/common/resourc2.cpp:965 +#: ../src/common/resource.cpp:2471 +#: ../src/common/resource.cpp:2625 msgid "No XBM facility available!" msgstr "Geen XBM-faciliteit beschikbaar!" -#: ../src/common/resourc2.cpp:983 ../src/common/resource.cpp:2643 +#: ../src/common/resourc2.cpp:983 +#: ../src/common/resource.cpp:2643 msgid "No XPM icon facility available!" msgstr "Geen XPM-pictogramfaciliteit beschikbaar!" @@ -2111,49 +2090,52 @@ msgid "No entries found." msgstr "Geen ingangen gevonden." #: ../src/common/fontmap.cpp:865 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found,\n" "but an alternative encoding '%s' is available.\n" -"Do you want to use this encoding (otherwise you will have to choose another " -"one)?" +"Do you want to use this encoding (otherwise you will have to choose another one)?" msgstr "" -"De codering '%s' is onbekend.\n" -"Wilt u een lettertype selecteren voor deze codering\n" -"(anders zal de tekst in deze codering niet correct weergegeven worden)?" +"Er is geen lettertype gevonden voor het tonen van tekst in de encodering '%s',\n" +"maar een alternatieve encodering '%s' is beschikbaar.\n" +"Wilt U deze encodering gebruiken (Anders moet U een andere kiezen)?" #: ../src/common/fontmap.cpp:870 -#, fuzzy, c-format +#, c-format msgid "" "No font for displaying text in encoding '%s' found.\n" "Would you like to select a font to be used for this encoding\n" "(otherwise the text in this encoding will not be shown correctly)?" msgstr "" -"De codering '%s' is onbekend.\n" -"Wilt u een lettertype selecteren voor deze codering\n" +"Geen lettertype voor het tonen van tekst in encodering '%s' gevonden.\n" +"Wilt U een lettertype selecteren voor deze encodering\n" "(anders zal de tekst in deze codering niet correct weergegeven worden)?" #: ../contrib/src/xrc/xmlres.cpp:523 #, c-format msgid "No handler found for XML node '%s', class '%s'!" -msgstr "" +msgstr "Geen handler gevonden voor XML node '%s', class '%s'!" -#: ../src/common/image.cpp:1046 ../src/common/image.cpp:1089 +#: ../src/common/image.cpp:1046 +#: ../src/common/image.cpp:1089 msgid "No handler found for image type." msgstr "Geen handler gevonden voor afbeeldingstype." -#: ../src/common/image.cpp:1054 ../src/common/image.cpp:1097 +#: ../src/common/image.cpp:1054 +#: ../src/common/image.cpp:1097 #: ../src/common/image.cpp:1131 #, c-format msgid "No image handler for type %d defined." msgstr "Geen afbeeldingshandler voor het type %d gedefinieerd." -#: ../src/common/image.cpp:1115 ../src/common/image.cpp:1147 +#: ../src/common/image.cpp:1115 +#: ../src/common/image.cpp:1147 #, c-format msgid "No image handler for type %s defined." msgstr "Geen afbeeldingshandler voor het type %s gedefinieerd." -#: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:436 +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:436 #: ../src/html/htmlhelp.cpp:441 msgid "No matching page found yet" msgstr "Nog geen overeenkomende pagina gevonden" @@ -2162,7 +2144,8 @@ msgstr "Nog geen overeenkomende pagina gevonden" msgid "Nordic (ISO-8859-10)" msgstr "Noors (ISO-8859-10)" -#: ../src/generic/fontdlgg.cpp:226 ../src/generic/fontdlgg.cpp:229 +#: ../src/generic/fontdlgg.cpp:226 +#: ../src/generic/fontdlgg.cpp:229 msgid "Normal" msgstr "Normaal" @@ -2174,21 +2157,29 @@ msgstr "Normaal lettertype: " msgid "Note, 8 1/2 x 11 in" msgstr "Notitie, 8 1/2 x 11 inch" -#: ../src/common/dlgcmn.cpp:162 ../src/generic/dirdlgg.cpp:151 -#: ../src/generic/filedlgg.cpp:1165 ../src/generic/filedlgg.cpp:1176 -#: ../src/generic/fontdlgg.cpp:253 ../src/generic/logg.cpp:739 -#: ../src/generic/prntdlgg.cpp:452 ../src/generic/proplist.cpp:499 -#: ../src/gtk/filedlg.cpp:167 ../src/gtk/fontdlg.cpp:136 +#: ../src/common/dlgcmn.cpp:162 +#: ../src/generic/dirdlgg.cpp:151 +#: ../src/generic/filedlgg.cpp:1165 +#: ../src/generic/filedlgg.cpp:1176 +#: ../src/generic/fontdlgg.cpp:253 +#: ../src/generic/logg.cpp:739 +#: ../src/generic/prntdlgg.cpp:452 +#: ../src/generic/proplist.cpp:499 +#: ../src/gtk/filedlg.cpp:167 +#: ../src/gtk/fontdlg.cpp:136 #: ../src/html/helpfrm.cpp:972 msgid "OK" msgstr "OK" -#: ../src/html/helpfrm.cpp:528 ../src/html/helpfrm.cpp:1274 +#: ../src/html/helpfrm.cpp:528 +#: ../src/html/helpfrm.cpp:1274 msgid "Open HTML document" msgstr "HTML-document openen" -#: ../src/generic/dirctrlg.cpp:731 ../src/generic/dirdlgg.cpp:298 -#: ../src/generic/filedlgg.cpp:836 ../src/generic/filedlgg.cpp:960 +#: ../src/generic/dirctrlg.cpp:731 +#: ../src/generic/dirdlgg.cpp:298 +#: ../src/generic/filedlgg.cpp:836 +#: ../src/generic/filedlgg.cpp:960 msgid "Operation not permitted." msgstr "Bewerking niet toegestaan." @@ -2211,11 +2202,13 @@ msgstr "Optie '%s': '%s' kan niet naar een datum worden geconverteerd." msgid "Options" msgstr "Instellingen" -#: ../src/generic/prntdlgg.cpp:428 ../src/generic/prntdlgg.cpp:621 +#: ../src/generic/prntdlgg.cpp:428 +#: ../src/generic/prntdlgg.cpp:621 msgid "Orientation" msgstr "Oriëntatie" -#: ../src/common/imagpcx.cpp:455 ../src/common/imagpcx.cpp:478 +#: ../src/common/imagpcx.cpp:455 +#: ../src/common/imagpcx.cpp:478 msgid "PCX: couldn't allocate memory" msgstr "PCX: kon geen geheugen reserveren" @@ -2231,7 +2224,8 @@ msgstr "PCX: ongeldige afbeelding" msgid "PCX: this is not a PCX file." msgstr "PCX: dit is geen PCX-bestand." -#: ../src/common/imagpcx.cpp:457 ../src/common/imagpcx.cpp:479 +#: ../src/common/imagpcx.cpp:457 +#: ../src/common/imagpcx.cpp:479 msgid "PCX: unknown error !!!" msgstr "PCX: onbekende fout!" @@ -2269,12 +2263,14 @@ msgstr "Pagina-instellingen" msgid "Pages" msgstr "Pagina's" -#: ../src/generic/prntdlgg.cpp:538 ../src/generic/prntdlgg.cpp:609 +#: ../src/generic/prntdlgg.cpp:538 +#: ../src/generic/prntdlgg.cpp:609 #: ../src/generic/prntdlgg.cpp:794 msgid "Paper Size" msgstr "Papierformaat" -#: ../src/generic/prntdlgg.cpp:418 ../src/generic/prntdlgg.cpp:598 +#: ../src/generic/prntdlgg.cpp:418 +#: ../src/generic/prntdlgg.cpp:598 #: ../src/generic/prntdlgg.cpp:790 msgid "Paper size" msgstr "Papierformaat" @@ -2291,7 +2287,8 @@ msgstr "Maken van pipe mislukt" msgid "Please choose a valid font." msgstr "Kies a.u.b. een geldig lettertype." -#: ../src/generic/filedlgg.cpp:1372 ../src/gtk/filedlg.cpp:80 +#: ../src/generic/filedlgg.cpp:1372 +#: ../src/gtk/filedlg.cpp:80 msgid "Please choose an existing file." msgstr "Kies a.u.b. een bestaand bestand." @@ -2306,12 +2303,16 @@ msgid "" "(at least version 4.70 is required but you have %d.%02d)\n" "or this program won't operate correctly." msgstr "" +"Installeer alstublieft een nieuwere versie van comctl32.dll\n" +"(Tenminste versie 4.70 is vereist maar U heeft %d.%02d)\n" +"anders kan dit programma niet correct functioneren." #: ../src/common/prntbase.cpp:112 msgid "Please wait while printing\n" -msgstr "" +msgstr "Een ogenblik geduld alstublieft. Bezig met printen\n" -#: ../src/generic/prntdlgg.cpp:425 ../src/generic/prntdlgg.cpp:619 +#: ../src/generic/prntdlgg.cpp:425 +#: ../src/generic/prntdlgg.cpp:619 msgid "Portrait" msgstr "Staand" @@ -2321,7 +2322,7 @@ msgstr "PostScript-bestand" #: ../src/html/htmlhelp.cpp:509 msgid "Preparing help window..." -msgstr "" +msgstr "Help venster aan het voorbereiden..." #: ../src/html/helpfrm.cpp:964 msgid "Preview:" @@ -2331,7 +2332,8 @@ msgstr "Afdrukvoorbeeld:" msgid "Previous page" msgstr "Vorige pagina" -#: ../src/generic/prntdlgg.cpp:110 ../src/generic/prntdlgg.cpp:124 +#: ../src/generic/prntdlgg.cpp:110 +#: ../src/generic/prntdlgg.cpp:124 msgid "Print" msgstr "Afdrukken" @@ -2339,7 +2341,8 @@ msgstr "Afdrukken" msgid "Print Preview" msgstr "Afdrukvoorbeeld" -#: ../src/common/prntbase.cpp:782 ../src/common/prntbase.cpp:806 +#: ../src/common/prntbase.cpp:782 +#: ../src/common/prntbase.cpp:806 msgid "Print Preview Failure" msgstr "Afdrukvoorbeeld mislukt" @@ -2387,8 +2390,8 @@ msgstr "Printer-opties:" msgid "Printer..." msgstr "Printer..." -#: ../src/common/prntbase.cpp:109 ../src/common/prntbase.cpp:154 -#, fuzzy +#: ../src/common/prntbase.cpp:109 +#: ../src/common/prntbase.cpp:154 msgid "Printing " msgstr "Bezig met afdrukken" @@ -2417,7 +2420,8 @@ msgstr "Kwarto, 215 x 275 mm" msgid "Question" msgstr "Vraag" -#: ../src/common/ffile.cpp:125 ../src/common/ffile.cpp:146 +#: ../src/common/ffile.cpp:125 +#: ../src/common/ffile.cpp:146 #, c-format msgid "Read error on file '%s'" msgstr "Leesfout bij bestand '%s'" @@ -2425,7 +2429,7 @@ msgstr "Leesfout bij bestand '%s'" #: ../contrib/src/xrc/xmlres.cpp:498 #, c-format msgid "Referenced object node with ref=\"%s\" not found!" -msgstr "" +msgstr "Gerefereerd object node met ref=\"%s\" niet gevonden!" #: ../src/msw/registry.cpp:535 #, c-format @@ -2455,7 +2459,7 @@ msgstr "Registerwaarde '%s' bestaat al." #: ../src/msw/thread.cpp:246 msgid "ReleaseMutex()" -msgstr "" +msgstr "ReleaseMutex()" #: ../src/generic/helphtml.cpp:334 msgid "Relevant entries:" @@ -2470,17 +2474,16 @@ msgid "Remove current page from bookmarks" msgstr "Verwijder huidige pagina uit favorieten" #: ../src/generic/fdrepdlg.cpp:177 -#, fuzzy msgid "Replace &all" -msgstr "Bestand '%s' vervangen?" +msgstr "Allemaal vervangen" #: ../src/generic/fdrepdlg.cpp:129 msgid "Replace with:" -msgstr "" +msgstr "Vervangen met:" #: ../contrib/src/xrc/xmlres.cpp:360 msgid "Resource files must have same version number!" -msgstr "" +msgstr "Bron bestanden moeten zelfde versie nummer hebben!" #: ../src/generic/prntdlgg.cpp:644 msgid "Right margin (mm):" @@ -2490,8 +2493,10 @@ msgstr "Rechtermarge (mm):" msgid "Roman" msgstr "Romein" -#: ../src/generic/filedlgg.cpp:1602 ../src/gtk/filedlg.cpp:265 -#: ../src/motif/filedlg.cpp:359 ../src/msw/filedlg.cpp:544 +#: ../src/generic/filedlgg.cpp:1602 +#: ../src/gtk/filedlg.cpp:265 +#: ../src/motif/filedlg.cpp:359 +#: ../src/msw/filedlg.cpp:544 #, c-format msgid "Save %s file" msgstr "Sla %s-bestand op" @@ -2501,9 +2506,8 @@ msgid "Save as" msgstr "Opslaan als" #: ../src/generic/filedlgg.cpp:1604 -#, fuzzy msgid "Save file" -msgstr "Sla %s-bestand op" +msgstr "Bestand opslaan" #: ../src/generic/logg.cpp:487 msgid "Save log contents to file" @@ -2511,45 +2515,40 @@ msgstr "Sla log-gegevens op in bestand" #: ../src/mgl/window.cpp:132 msgid "Screenshot captured: " -msgstr "" +msgstr "Screenshot opgeslagen:" #: ../src/generic/fontdlgg.cpp:223 msgid "Script" msgstr "Schrift-letter" -#: ../src/html/helpfrm.cpp:408 ../src/html/helpfrm.cpp:423 +#: ../src/html/helpfrm.cpp:408 +#: ../src/html/helpfrm.cpp:423 #: ../src/html/htmlhelp.cpp:610 msgid "Search" msgstr "Zoeken" #: ../src/html/helpfrm.cpp:410 -msgid "" -"Search contents of help book(s) for all occurences of the text you typed " -"above" -msgstr "" -"Zoek in inhoudsopgave van helpbestand(en) naar alle plaatsen waar de tekst " -"die u boven heeft getypt voorkomt." +msgid "Search contents of help book(s) for all occurences of the text you typed above" +msgstr "Zoek in inhoudsopgave van helpbestand(en) naar alle plaatsen waar de tekst die u boven heeft getypt voorkomt." #: ../src/generic/fdrepdlg.cpp:158 -#, fuzzy msgid "Search direction" -msgstr "Maak map" +msgstr "Zoek richting" #: ../src/generic/fdrepdlg.cpp:117 -#, fuzzy msgid "Search for:" -msgstr "Zoeken" +msgstr "Zoeken naar:" #: ../src/html/helpfrm.cpp:789 msgid "Search in all books" msgstr "Zoek in alle boeken" #: ../src/html/htmlhelp.cpp:593 -#, fuzzy msgid "Search!" -msgstr "Zoeken" +msgstr "Zoeken!" -#: ../src/html/helpfrm.cpp:650 ../src/html/htmlhelp.cpp:383 +#: ../src/html/helpfrm.cpp:650 +#: ../src/html/htmlhelp.cpp:383 #: ../src/html/htmlhelp.cpp:441 msgid "Searching..." msgstr "Bezig met zoeken..." @@ -2571,7 +2570,8 @@ msgstr "Selecteer een documentsjabloon" msgid "Select a document view" msgstr "Selecteer een documentweergave" -#: ../src/common/docview.cpp:1405 ../src/common/docview.cpp:1456 +#: ../src/common/docview.cpp:1405 +#: ../src/common/docview.cpp:1456 msgid "Select a file" msgstr "Selecteer een bestand" @@ -2590,8 +2590,7 @@ msgstr "Instellingen..." #: ../src/msw/dialup.cpp:518 msgid "Several active dialup connections found, choosing one randomly." -msgstr "" -"Meerdere actieve inbelverbindingen gevonden, willekeurige keuze gemaakt." +msgstr "Meerdere actieve inbelverbindingen gevonden, willekeurige keuze gemaakt." #: ../src/html/helpfrm.cpp:364 msgid "Show all" @@ -2602,15 +2601,16 @@ msgid "Show all items in index" msgstr "Toon alle items in de index" #: ../src/generic/dirdlgg.cpp:135 -#, fuzzy msgid "Show hidden directories" -msgstr "Toon verborgen bestanden" +msgstr "Toon verborgen mappen" -#: ../src/generic/filedlgg.cpp:1160 ../src/generic/filedlgg.cpp:1182 +#: ../src/generic/filedlgg.cpp:1160 +#: ../src/generic/filedlgg.cpp:1182 msgid "Show hidden files" msgstr "Toon verborgen bestanden" -#: ../src/html/helpfrm.cpp:501 ../src/html/htmlhelp.cpp:538 +#: ../src/html/helpfrm.cpp:501 +#: ../src/html/htmlhelp.cpp:538 msgid "Show/hide navigation panel" msgstr "Toon/verberg navigatie-paneel" @@ -2626,7 +2626,8 @@ msgstr "Schuin" msgid "Sorry, could not open this file for saving." msgstr "Sorry, kon dit bestand niet opslaan." -#: ../src/common/docview.cpp:341 ../src/common/docview.cpp:354 +#: ../src/common/docview.cpp:341 +#: ../src/common/docview.cpp:354 #: ../src/common/docview.cpp:1424 msgid "Sorry, could not open this file." msgstr "Sorry, kon dit bestand niet openen." @@ -2650,13 +2651,14 @@ msgstr "Status: " #: ../contrib/src/xrc/xmlres.cpp:558 #, c-format msgid "Subclass '%s' not found for resource '%s', not subclassing!" -msgstr "" +msgstr "Subclass '%s' niet gevonden voor bron '%s', zal niet subclasseren!" #: ../src/generic/fontdlgg.cpp:224 msgid "Swiss" msgstr "Schreefloos" -#: ../src/common/imagtiff.cpp:204 ../src/common/imagtiff.cpp:215 +#: ../src/common/imagtiff.cpp:204 +#: ../src/common/imagtiff.cpp:215 #: ../src/common/imagtiff.cpp:326 msgid "TIFF: Couldn't allocate memory." msgstr "TIFF: kon geen geheugen reserveren." @@ -2695,7 +2697,7 @@ msgstr "Thais (ISO-8859-11)" #: ../src/common/ftp.cpp:569 msgid "The FTP server doesn't support passive mode." -msgstr "" +msgstr "De FTP server ondersteunt niet passieve mode." #: ../src/common/fontmap.cpp:630 #, c-format @@ -2714,28 +2716,23 @@ msgid "The clipboard format '%d' doesn't exist." msgstr "Het klembord-formaat '%d' bestaat niet." #: ../src/generic/dirdlgg.cpp:186 -#, fuzzy, c-format -msgid "" -"The directory '%s' does not exist\n" +#, c-format +msgid "The directory '%s' does not exist\n" "Create it now?" -msgstr "" -"\n" -"bestaat niet\n" +msgstr "De map '%s' bestaat niet\n" "Nu maken?" #: ../src/common/docview.cpp:1802 -#, fuzzy, c-format -msgid "" -"The file '%s' doesn't exist and couldn't be opened.\n" +#, c-format +msgid "The file '%s' doesn't exist and couldn't be opened.\n" "It has been removed from the most recently used files list." -msgstr "" -"Het bestand '%s' bestaat niet en kon niet geopend worden.\n" -"Het is ook verwijderd van de lijst 'recente bestanden'." +msgstr "Het bestand '%s' bestaat niet en kon niet geopend worden.\n" +"Het is verwijderd van de lijst 'recente bestanden'." #: ../src/common/filename.cpp:896 #, c-format msgid "The path '%s' contains too many \"..\"!" -msgstr "" +msgstr "Het pad '%s' bevat teveel \"..\"!" #: ../src/common/cmdline.cpp:845 #, c-format @@ -2753,37 +2750,24 @@ msgstr "De waarde voor de optie '%s' moet worden opgegeven/" #: ../src/msw/dialup.cpp:406 #, c-format -msgid "" -"The version of remote access service (RAS) installed on this machine is " -"tooold, please upgrade (the following required function is missing: %s)." -msgstr "" -"De versie van de inbelverbindingssoftware (RAS) op deze machine is te oud " -"(de volgende benodigde functie ontbreekt: %s)." +msgid "The version of remote access service (RAS) installed on this machine is tooold, please upgrade (the following required function is missing: %s)." +msgstr "De versie van de inbelverbindingssoftware (RAS) op deze machine is te oud (de volgende benodigde functie ontbreekt: %s)." #: ../src/html/htmprint.cpp:545 -msgid "" -"There was a problem during page setup: you may need to set a default printer." -msgstr "" +msgid "There was a problem during page setup: you may need to set a default printer." +msgstr "Er was een probleem tijdens pagina-instellingen: U moet mogelijk een standaard printer instellen." #: ../src/msw/thread.cpp:1214 -msgid "" -"Thread module initialization failed: can not store value in thread local " -"storage" -msgstr "" -"Threadmodule-initialisatie mislukt: kan geen waarde opslaan in lokale " -"thread-geheugenruimte." +msgid "Thread module initialization failed: can not store value in thread local storage" +msgstr "Threadmodule-initialisatie mislukt: kan geen waarde opslaan in lokale thread-geheugenruimte." #: ../src/unix/threadpsx.cpp:1568 msgid "Thread module initialization failed: failed to create thread key" msgstr "Threadmodule-initialisatie mislukt: maken van thread-sleutel mislukt" #: ../src/msw/thread.cpp:1202 -msgid "" -"Thread module initialization failed: impossible to allocate index in thread " -"local storage" -msgstr "" -"Threadmodule-initialisatie mislukt: niet mogelijk een index te reserven in " -"lokale thread-geheugenruimte." +msgid "Thread module initialization failed: impossible to allocate index in thread local storage" +msgstr "Threadmodule-initialisatie mislukt: niet mogelijk een index te reserven in lokale thread-geheugenruimte." #: ../src/unix/threadpsx.cpp:1076 msgid "Thread priority setting is ignored." @@ -2791,11 +2775,11 @@ msgstr "Thread-prioriteitsinstelling is genegeerd." #: ../src/msw/mdi.cpp:189 msgid "Tile &Horizontally" -msgstr "" +msgstr "Onder elkaar" #: ../src/msw/mdi.cpp:190 msgid "Tile &Vertically" -msgstr "" +msgstr "Naast elkaar" #: ../src/generic/filedlgg.cpp:701 msgid "Time" @@ -2820,9 +2804,7 @@ msgstr "Bovenmarge (mm):" #: ../src/common/fs_mem.cpp:202 #, c-format msgid "Trying to remove file '%s' from memory VFS, but it is not loaded!" -msgstr "" -"Bezig met poging om bestand '%s' uit geheugen VFS te verwijderen, maar het " -"is niet geladen!" +msgstr "Bezig met poging om bestand '%s' uit geheugen VFS te verwijderen, maar het is niet geladen!" #: ../src/common/sckaddr.cpp:126 msgid "Trying to solve a NULL hostname: giving up" @@ -2845,16 +2827,26 @@ msgstr "Kan gevraagd HTML-document niet openen: %s" msgid "Underline" msgstr "Onderstreept" -#: ../src/common/resourc2.cpp:305 ../src/common/resourc2.cpp:319 -#: ../src/common/resourc2.cpp:335 ../src/common/resourc2.cpp:349 -#: ../src/common/resourc2.cpp:1370 ../src/common/resourc2.cpp:1384 -#: ../src/common/resourc2.cpp:1400 ../src/common/resourc2.cpp:1414 -#: ../src/common/resource.cpp:1824 ../src/common/resource.cpp:1838 -#: ../src/common/resource.cpp:1855 ../src/common/resource.cpp:1869 -#: ../src/common/resource.cpp:1954 ../src/common/resource.cpp:1968 -#: ../src/common/resource.cpp:1984 ../src/common/resource.cpp:1998 -#: ../src/common/resource.cpp:3038 ../src/common/resource.cpp:3052 -#: ../src/common/resource.cpp:3069 ../src/common/resource.cpp:3083 +#: ../src/common/resourc2.cpp:305 +#: ../src/common/resourc2.cpp:319 +#: ../src/common/resourc2.cpp:335 +#: ../src/common/resourc2.cpp:349 +#: ../src/common/resourc2.cpp:1370 +#: ../src/common/resourc2.cpp:1384 +#: ../src/common/resourc2.cpp:1400 +#: ../src/common/resourc2.cpp:1414 +#: ../src/common/resource.cpp:1824 +#: ../src/common/resource.cpp:1838 +#: ../src/common/resource.cpp:1855 +#: ../src/common/resource.cpp:1869 +#: ../src/common/resource.cpp:1954 +#: ../src/common/resource.cpp:1968 +#: ../src/common/resource.cpp:1984 +#: ../src/common/resource.cpp:1998 +#: ../src/common/resource.cpp:3038 +#: ../src/common/resource.cpp:3052 +#: ../src/common/resource.cpp:3069 +#: ../src/common/resource.cpp:3083 msgid "Unexpected end of file whilst parsing resource." msgstr "Onverwacht einde van bestand tijdens inlezen van bron." @@ -2865,11 +2857,11 @@ msgstr "Onverwachte parameter '%s'" #: ../src/common/fontmap.cpp:141 msgid "Unicode 7 bit (UTF-7)" -msgstr "" +msgstr "Unicode 7 bit (UTF-7)" #: ../src/common/fontmap.cpp:142 msgid "Unicode 8 bit (UTF-8)" -msgstr "" +msgstr "Unicode 8 bit (UTF-8)" #: ../src/msw/dde.cpp:1020 #, c-format @@ -2891,31 +2883,35 @@ msgstr "Onbekend veld in bestand %s, regel %d: '%s''. " msgid "Unknown long option '%s'" msgstr "Onbekende lange optie '%s'" -#: ../src/common/cmdline.cpp:573 ../src/common/cmdline.cpp:594 +#: ../src/common/cmdline.cpp:573 +#: ../src/common/cmdline.cpp:594 #, c-format msgid "Unknown option '%s'" msgstr "Onbekende optie '%s'" #: ../contrib/src/xrc/xmlres.cpp:628 msgid "Unknown style flag " -msgstr "" +msgstr "Onbekende stijl instelling" #: ../src/common/mimecmn.cpp:167 #, c-format msgid "Unmatched '{' in an entry for mime type %s." msgstr "Niet-afgesloten '{' in ingang voor mime-type %s." -#: ../src/common/cmdproc.cpp:238 ../src/common/cmdproc.cpp:254 +#: ../src/common/cmdproc.cpp:238 +#: ../src/common/cmdproc.cpp:254 #: ../src/common/cmdproc.cpp:281 msgid "Unnamed command" msgstr "Naamloze opdracht" -#: ../src/common/resourc2.cpp:687 ../src/common/resource.cpp:2343 +#: ../src/common/resourc2.cpp:687 +#: ../src/common/resource.cpp:2343 #, c-format msgid "Unrecognized style %s whilst parsing resource." msgstr "Niet-herkende stijl %s tijdens inlezen van bron." -#: ../src/mac/clipbrd.cpp:58 ../src/msw/clipbrd.cpp:273 +#: ../src/mac/clipbrd.cpp:58 +#: ../src/msw/clipbrd.cpp:273 #: ../src/msw/clipbrd.cpp:447 msgid "Unsupported clipboard format." msgstr "Niet-ondersteund klembord-formaat." @@ -2923,11 +2919,11 @@ msgstr "Niet-ondersteund klembord-formaat." #: ../src/common/appcmn.cpp:362 #, c-format msgid "Unsupported theme '%s'." -msgstr "" +msgstr "Niet ondersteund thema '%s'." #: ../src/generic/fdrepdlg.cpp:157 msgid "Up" -msgstr "" +msgstr "Omhoog" #: ../src/common/cmdline.cpp:901 #, c-format @@ -2954,7 +2950,8 @@ msgstr "Weergaven" msgid "Waiting for subprocess termination failed" msgstr "Wachten op beëindiging van subproces mislukt" -#: ../src/common/docview.cpp:437 ../src/common/resource.cpp:124 +#: ../src/common/docview.cpp:437 +#: ../src/common/resource.cpp:124 msgid "Warning" msgstr "Waarschuwing" @@ -2964,21 +2961,17 @@ msgstr "Waarschuwing: " #: ../src/html/htmlpars.cpp:357 msgid "Warning: attempt to remove HTML tag handler from empty stack." -msgstr "" -"Waarschuwing: poging om HTML tag handler van lege stack te verwijderen." +msgstr "Waarschuwing: poging om HTML tag handler van lege stack te verwijderen." #: ../src/common/fontmap.cpp:112 -#, fuzzy msgid "Western European (ISO-8859-1)" -msgstr "West-Europees (ISO-8859-1/Latin 1)" +msgstr "West-Europees (ISO-8859-1)" #: ../src/common/fontmap.cpp:126 -#, fuzzy msgid "Western European with Euro (ISO-8859-15)" -msgstr "West-Europees nieuw (ISO-8859-15/Latin 0)" +msgstr "West-Europees met Euro teken (ISO-8859-15)" #: ../src/generic/fdrepdlg.cpp:149 -#, fuzzy msgid "Whole word" msgstr "Alleen hele woorden" @@ -2988,7 +2981,7 @@ msgstr "Alleen hele woorden" #: ../src/univ/themes/win32.cpp:1168 msgid "Win32 theme" -msgstr "" +msgstr "Win32 thema" #: ../src/msw/utils.cpp:979 msgid "Win32s on Windows 3.1" @@ -3012,18 +3005,16 @@ msgid "Windows Baltic (CP 1257)" msgstr "Windows Baltisch (CP 1257)" #: ../src/common/fontmap.cpp:132 -#, fuzzy msgid "Windows Central European (CP 1250)" -msgstr "Windows Hebreeuws (CP 1255)" +msgstr "Windows Centraal Europees (CP 1250)" #: ../src/common/fontmap.cpp:129 msgid "Windows Chinese Simplified (CP 936)" -msgstr "" +msgstr "Windows Chinees Gesimplificeerd (CP 936)" #: ../src/common/fontmap.cpp:131 -#, fuzzy msgid "Windows Chinese Traditional (CP 950)" -msgstr "Windows Latin 2 (CP 1250)" +msgstr "Windows Traditioneel Chinees (CP 950)" #: ../src/common/fontmap.cpp:133 msgid "Windows Cyrillic (CP 1251)" @@ -3038,23 +3029,20 @@ msgid "Windows Hebrew (CP 1255)" msgstr "Windows Hebreeuws (CP 1255)" #: ../src/common/fontmap.cpp:128 -#, fuzzy msgid "Windows Japanese (CP 932)" -msgstr "Windows Grieks (CP 1253)" +msgstr "Windows Japans (CP 932)" #: ../src/common/fontmap.cpp:130 -#, fuzzy msgid "Windows Korean (CP 949)" -msgstr "Windows Grieks (CP 1253)" +msgstr "Windows Koreaans (CP 949)" #: ../src/common/fontmap.cpp:136 msgid "Windows Turkish (CP 1254)" msgstr "Windows Turks (CP 1254)" #: ../src/common/fontmap.cpp:134 -#, fuzzy msgid "Windows Western European (CP 1252)" -msgstr "Windows Latin 1 (CP 1252)" +msgstr "Windows West Europees (CP 1252)" #: ../src/common/fontmap.cpp:140 msgid "Windows/DOS OEM (CP 437)" @@ -3068,37 +3056,41 @@ msgstr "Schrijffout bij bestand '%s'" #: ../contrib/src/xrc/xml.cpp:530 #, c-format msgid "XML parsing error: '%s' at line %d" -msgstr "" +msgstr "XML ontleed fout: '%s' in lijn %d" #: ../src/common/xpmdecod.cpp:759 msgid "XPM: Malformed pixel data!" -msgstr "" +msgstr "XPM: Misvormde pixel gegevens!" -#: ../src/common/xpmdecod.cpp:709 ../src/common/xpmdecod.cpp:718 +#: ../src/common/xpmdecod.cpp:709 +#: ../src/common/xpmdecod.cpp:718 #, c-format msgid "XPM: malformed colour definition '%s'!" -msgstr "" +msgstr "XPM: Misvormde kleur definitie '%s'!" #: ../contrib/src/xrc/xmlres.cpp:436 -#, fuzzy, c-format +#, c-format msgid "XRC resource '%s' (class '%s') not found!" -msgstr "Pictogram-bronspecificatie niet gevonden." +msgstr "XRC bron '%s' (class '%s') niet gevonden!" -#: ../contrib/src/xrc/xmlres.cpp:787 ../contrib/src/xrc/xmlres.cpp:798 +#: ../contrib/src/xrc/xmlres.cpp:787 +#: ../contrib/src/xrc/xmlres.cpp:798 #, c-format msgid "XRC resource: Cannot create bitmap from '%s'." -msgstr "" +msgstr "XRC bron: Kan geen bitmap maken van '%s'." -#: ../contrib/src/xrc/xh_dlg.cpp:52 ../contrib/src/xrc/xh_frame.cpp:57 +#: ../contrib/src/xrc/xh_dlg.cpp:52 +#: ../contrib/src/xrc/xh_frame.cpp:57 msgid "XRC resource: Cannot create dialog without instance." -msgstr "" +msgstr "XRC bron: Kan geen dialoog maken zonder instantie." #: ../contrib/src/xrc/xmlres.cpp:747 #, c-format msgid "XRC resource: Incorrect colour specification '%s' for property '%s'." -msgstr "" +msgstr "XRC bron: Ongeldige kleur specificatie '%s' voor eigenschap '%s'." -#: ../src/common/dlgcmn.cpp:151 ../src/mac/msgdlg.cpp:77 +#: ../src/common/dlgcmn.cpp:151 +#: ../src/mac/msgdlg.cpp:77 #: ../src/motif/msgdlg.cpp:182 msgid "Yes" msgstr "Ja" @@ -3107,9 +3099,10 @@ msgstr "Ja" msgid "You cannot add a new directory to this section." msgstr "U kunt geen nieuwe map aan deze sectie toevoegen." -#: ../src/common/fs_zip.cpp:86 ../src/common/fs_zip.cpp:123 +#: ../src/common/fs_zip.cpp:86 +#: ../src/common/fs_zip.cpp:123 msgid "ZIP handler currently supports only local files!" -msgstr "" +msgstr "ZIP handler ondersteunt momenteel alleen lokale bestanden!" #: ../src/common/docview.cpp:1951 msgid "[EMPTY]" @@ -3117,19 +3110,14 @@ msgstr "[LEEG]" #: ../src/msw/dde.cpp:987 msgid "a DDEML application has created a prolonged race condition." -msgstr "" -"een DDEML-applicatie heeft door een 'race'-conditie geheugengebrek " -"veroorzaakt." +msgstr "een DDEML-applicatie heeft door een 'race'-conditie geheugengebrek veroorzaakt." #: ../src/msw/dde.cpp:975 msgid "" -"a DDEML function was called without first calling the DdeInitialize " -"function,\n" +"a DDEML function was called without first calling the DdeInitialize function,\n" "or an invalid instance identifier\n" "was passed to a DDEML function." -msgstr "" -"een DDEML-functie was aangeroepen zonder eerst de DdeInitialize-functie aan " -"te roepen\n" +msgstr "een DDEML-functie was aangeroepen zonder eerst de DdeInitialize-functie aan te roepen\n" "of een ongeldige applicatie-pid was doorgegeven aan een DDEML-functie." #: ../src/msw/dde.cpp:993 @@ -3146,30 +3134,23 @@ msgstr "een parameter kon niet door de DDEML gevalideerd worden." #: ../src/msw/dde.cpp:966 msgid "a request for a synchronous advise transaction has timed out." -msgstr "" -"aanvraag voor synchrone advies-transactie heeft een time-out veroorzaakt." +msgstr "aanvraag voor synchrone advies-transactie heeft een time-out veroorzaakt." #: ../src/msw/dde.cpp:972 msgid "a request for a synchronous data transaction has timed out." -msgstr "" -"aanvraag voor synchrone gegevens-transactie heeft een time-out veroorzaakt." +msgstr "aanvraag voor synchrone gegevens-transactie heeft een time-out veroorzaakt." #: ../src/msw/dde.cpp:981 msgid "a request for a synchronous execute transaction has timed out." -msgstr "" -"aanvraag voor synchrone uitvoerings-transactie heeft een time-out " -"veroorzaakt." +msgstr "aanvraag voor synchrone uitvoerings-transactie heeft een time-out veroorzaakt." #: ../src/msw/dde.cpp:999 msgid "a request for a synchronous poke transaction has timed out." -msgstr "" -"aanvraag voor synchrone 'poke'-transactie heeft een time-out veroorzaakt." +msgstr "aanvraag voor synchrone 'poke'-transactie heeft een time-out veroorzaakt." #: ../src/msw/dde.cpp:1014 msgid "a request to end an advise transaction has timed out." -msgstr "" -"aanvraag voor beëindigen van advies-transactie heeft een time-out " -"veroorzaakt." +msgstr "aanvraag voor beëindigen van advies-transactie heeft een time-out veroorzaakt." #: ../src/msw/dde.cpp:1008 msgid "" @@ -3197,8 +3178,7 @@ msgid "" "attempted to perform server transactions." msgstr "" "een applicatie die als APPCLASS_MONITOR is gestart heeft geprobeerd\n" -"een DDE-transactie uit te voeren of een applicatie die als APPCMD_CLIENTONLY " -"is\n" +"een DDE-transactie uit te voeren of een applicatie die als APPCMD_CLIENTONLY is\n" "gestart heeft geprobeerd een server-transactie uit te voeren." #: ../src/msw/dde.cpp:1002 @@ -3226,17 +3206,15 @@ msgstr "poging tot wijzigen van onveranderbare sleutel '%s' genegeerd." #: ../src/common/ftp.cpp:369 msgid "binary" -msgstr "" +msgstr "binair" #: ../src/common/fontcmn.cpp:518 -#, fuzzy msgid "bold" -msgstr "Vet" +msgstr "vet" #: ../src/common/fontcmn.cpp:442 -#, fuzzy msgid "bold " -msgstr "Vet" +msgstr "vet" #: ../src/common/ffile.cpp:93 #, c-format @@ -3266,8 +3244,7 @@ msgstr "kan bestand met gebruikersinstellingen '%s' niet wissen" #: ../src/common/file.cpp:454 #, c-format msgid "can't determine if the end of file is reached on descriptor %d" -msgstr "" -"kan niet bepalen of bestandseinde is bereikt bij bestandsbeschrijving %d" +msgstr "kan niet bepalen of bestandseinde is bereikt bij bestandsbeschrijving %d" #: ../src/common/file.cpp:420 #, c-format @@ -3292,7 +3269,8 @@ msgstr "kan zoekpositie niet verkrijgen bij bestandsbeschrijving %d" msgid "can't load any font, aborting" msgstr "kan geen lettertype laden, wordt afgebroken" -#: ../src/common/ffile.cpp:77 ../src/common/file.cpp:257 +#: ../src/common/ffile.cpp:77 +#: ../src/common/file.cpp:257 #, c-format msgid "can't open file '%s'" msgstr "kan bestand '%s'niet openen" @@ -3332,9 +3310,9 @@ msgid "can't seek on file descriptor %d" msgstr "kan niet zoeken bij bestandsbeschrijving %d" #: ../src/common/textfile.cpp:196 -#, fuzzy, c-format +#, c-format msgid "can't write buffer '%s' to disk." -msgstr "kan bestand '%s' niet naar schijf schrijven." +msgstr "kan buffer '%s' niet naar schijf schrijven." #: ../src/common/file.cpp:319 #, c-format @@ -3359,9 +3337,8 @@ msgid "date" msgstr "datum" #: ../src/common/fontmap.cpp:413 -#, fuzzy msgid "default" -msgstr "alt" +msgstr "standaard" #: ../src/common/datetime.cpp:3237 msgid "eighteenth" @@ -3410,14 +3387,12 @@ msgstr "bestand '%s', regel %d: '=' verwacht." #: ../src/common/fileconf.cpp:667 #, c-format msgid "file '%s', line %d: key '%s' was first found at line %d." -msgstr "" -"bestand '%s', regel %d: sleutel '%s' voor het eerst gevonden op regel %d." +msgstr "bestand '%s', regel %d: sleutel '%s' voor het eerst gevonden op regel %d." #: ../src/common/fileconf.cpp:657 #, c-format msgid "file '%s', line %d: value for immutable key '%s' ignored." -msgstr "" -"bestand '%s', regel %d: waarde voor onveranderbare sleutel '%s' genegeerd." +msgstr "bestand '%s', regel %d: waarde voor onveranderbare sleutel '%s' genegeerd." #: ../src/common/fileconf.cpp:580 #, c-format @@ -3438,7 +3413,7 @@ msgstr "vierde" #: ../src/common/appcmn.cpp:301 msgid "generate verbose log messages" -msgstr "" +msgstr "genereer uitgebreide log meldingen" #: ../src/common/timercmn.cpp:282 msgid "gmtime() failed" @@ -3456,24 +3431,22 @@ msgstr "ongeldige eof() return-waarde." msgid "invalid message box return value" msgstr "ongeldige return-waarde van berichtvenster" -#: ../src/common/fontcmn.cpp:458 ../src/common/fontcmn.cpp:522 -#, fuzzy +#: ../src/common/fontcmn.cpp:458 +#: ../src/common/fontcmn.cpp:522 msgid "italic" -msgstr "Cursief" +msgstr "cursief" #: ../src/html/helpfrm.cpp:935 msgid "large" msgstr "groot" #: ../src/common/fontcmn.cpp:514 -#, fuzzy msgid "light" -msgstr "Licht" +msgstr "licht" #: ../src/common/fontcmn.cpp:438 -#, fuzzy msgid "light " -msgstr "Licht" +msgstr "licht" #: ../src/common/intl.cpp:615 #, c-format @@ -3507,9 +3480,10 @@ msgstr "negende" #: ../src/msw/dde.cpp:962 msgid "no DDE error." -msgstr "geen DDE-fout" +msgstr "geen DDE-fout." -#: ../src/html/helpdata.cpp:561 ../src/html/htmlhelp.cpp:201 +#: ../src/html/helpdata.cpp:561 +#: ../src/html/htmlhelp.cpp:201 msgid "noname" msgstr "naamloos" @@ -3523,7 +3497,7 @@ msgstr "num" #: ../src/common/filename.cpp:162 msgid "reading" -msgstr "" +msgstr "aan het lezeen" #: ../src/msw/dde.cpp:1005 msgid "reentrancy problem." @@ -3547,7 +3521,7 @@ msgstr "shift" #: ../src/common/appcmn.cpp:291 msgid "show this help message" -msgstr "" +msgstr "Toon deze help boodschap" #: ../src/common/datetime.cpp:3235 msgid "sixteenth" @@ -3563,11 +3537,11 @@ msgstr "klein" #: ../src/common/appcmn.cpp:326 msgid "specify display mode to use (e.g. 640x480-16)" -msgstr "" +msgstr "Kies de te gebruiken beeldscherm mode (B.V. 640x480-16)" #: ../src/common/appcmn.cpp:312 msgid "specify the theme to use" -msgstr "" +msgstr "Kies het te gebruiken thema" #: ../src/common/cmdline.cpp:1032 msgid "str" @@ -3606,14 +3580,12 @@ msgid "twentieth" msgstr "twintigste" #: ../src/common/fontcmn.cpp:510 -#, fuzzy msgid "underlined" -msgstr "Onderstreept" +msgstr "onderstreept" #: ../src/common/fontcmn.cpp:425 -#, fuzzy msgid "underlined " -msgstr "Onderstreept" +msgstr "onderstreept" #: ../src/common/fileconf.cpp:1684 #, c-format @@ -3625,9 +3597,8 @@ msgid "unknown" msgstr "onbekend" #: ../src/common/regex.cpp:144 -#, fuzzy msgid "unknown error" -msgstr "GIF: onbekende fout!" +msgstr "onbekende fout" #: ../src/msw/dialup.cpp:445 #, c-format @@ -3666,19 +3637,18 @@ msgid "very small" msgstr "zeer klein" #: ../src/common/filename.cpp:162 -#, fuzzy msgid "writing" -msgstr "Bezig met afdrukken" +msgstr "bezig met schrijven" #: ../src/common/dynlib.cpp:336 #, c-format msgid "wxDllLoader failed to GetSymbol '%s'" -msgstr "" +msgstr "wxDLLLoader kon niet GetSymbol '%s' verkrijgen" #: ../src/common/dynload.cpp:278 #, c-format msgid "wxDynamicLibrary failed to GetSymbol '%s'" -msgstr "" +msgstr "wxDynamicLoader kon niet GetSymbol '%s' verkrijgen" #: ../src/common/timercmn.cpp:327 msgid "wxGetTimeOfDay failed." @@ -3686,9 +3656,10 @@ msgstr "wxGetTimeOfDay mislukt." #: ../src/html/search.cpp:49 msgid "wxSearchEngine::LookFor must be called before scanning!" -msgstr "" +msgstr "wxSearchEngine::LookFor moet aangeroepen worden voor het scannen!" -#: ../src/common/socket.cpp:394 ../src/common/socket.cpp:448 +#: ../src/common/socket.cpp:394 +#: ../src/common/socket.cpp:448 msgid "wxSocket: invalid signature in ReadMsg." msgstr "wxSocket: ongeldige handtekening in ReadMsg." @@ -3702,214 +3673,10 @@ msgid "wxWindows could not open display for '%s': exiting." msgstr "wxWindows kon beeldscherm niet openen voor '%s': afbreken." #: ../src/x11/app.cpp:265 -#, fuzzy msgid "wxWindows could not open display. Exiting." -msgstr "wxWindows kon beeldscherm niet openen voor '%s': afbreken." +msgstr "wxWindows kon beeldscherm niet openen. Afbreken." #: ../src/common/datetime.cpp:3065 msgid "yesterday" msgstr "gisteren" -#, fuzzy -#~ msgid "All files (*.*)|*.*" -#~ msgstr "Alle bestanden (*)|*" - -#~ msgid "Can not create mutex" -#~ msgstr "Kan geen mutex maken" - -#~ msgid "Can't create the inter-process read pipe" -#~ msgstr "Kan geen 'inter-process read pipe' maken" - -#~ msgid "Can't create the inter-process write pipe" -#~ msgstr "Kan geen 'inter-process write pipe' maken" - -#~ msgid "Couldn't acquire a mutex lock" -#~ msgstr "Kon geen mutex-lock verkrijgen" - -#~ msgid "Couldn't release a mutex" -#~ msgstr "Kon mutex niet vrijgeven" - -#~ msgid "Font" -#~ msgstr "Lettertype" - -#~ msgid "PostScript" -#~ msgstr "PostScript" - -#~ msgid "PostScript:" -#~ msgstr "PostScript:" - -#~ msgid "Preview Only" -#~ msgstr "Alleen afdrukvoorbeeld" - -#~ msgid "Printer Command: " -#~ msgstr "Printercommando: " - -#~ msgid "Printer Options: " -#~ msgstr "Printer-opties: " - -#~ msgid "Printer Settings" -#~ msgstr "Printer-instellingen" - -#~ msgid "Send to Printer" -#~ msgstr "Stuur naar printer" - -#, fuzzy -#~ msgid "SetPixelFormat failed." -#~ msgstr "Maken van pipe mislukt" - -#~ msgid "X Scaling" -#~ msgstr "X-vergroting" - -#~ msgid "X Translation" -#~ msgstr "X-verplaatsing" - -#~ msgid "Y Scaling" -#~ msgstr "Y-vergroting" - -#~ msgid "Y Translation" -#~ msgstr "Y-verplaatsing" - -#, fuzzy -#~ msgid "unknown line terminator" -#~ msgstr "onbekend zoek-startpunt" - -#, fuzzy -#~ msgid "Fatal Error" -#~ msgstr "Fatale fout" - -#, fuzzy -#~ msgid "Fatal error: %s\n" -#~ msgstr "Fatale fout: " - -#~ msgid "Back" -#~ msgstr "Terug" - -#~ msgid "Can not create event object." -#~ msgstr "Kan geen event-object maken." - -#~ msgid "Can't find the serialization object '%s' for the object '%s'." -#~ msgstr "Kan serialisatie-object '%s' voor object '%s' niet vinden." - -#~ msgid "Can't load wxSerial dynamic library." -#~ msgstr "Kan dynamische bibliotheek wxSerial niet laden." - -#~ msgid "Connection to wxHelp timed out in %d seconds" -#~ msgstr "Verbinding met wxHelp heeft na %d seconden een time-out veroorzaakt" - -#~ msgid "Etcetera" -#~ msgstr "Etcetera" - -#, fuzzy -#~ msgid "ICO: Error calculating size of DIB ." -#~ msgstr "TIFF: fout bij lezen van afbeelding." - -#, fuzzy -#~ msgid "ICO: Error calculating size of Mask DIB ." -#~ msgstr "TIFF: fout bij lezen van afbeelding." - -#, fuzzy -#~ msgid "ICO: Error calculating size of XOR DIB ." -#~ msgstr "TIFF: fout bij lezen van afbeelding." - -#, fuzzy -#~ msgid "ICO: Error writing ICONDIR header." -#~ msgstr "TIFF: fout bij schrijven van afbeelding." - -#, fuzzy -#~ msgid "ICO: Error writing ICONDIRENTRY header." -#~ msgstr "TIFF: fout bij schrijven van afbeelding." - -#, fuzzy -#~ msgid "ICO: Error writing Mask DIB ." -#~ msgstr "TIFF: fout bij lezen van afbeelding." - -#, fuzzy -#~ msgid "ICO: Error writing XOR DIB ." -#~ msgstr "TIFF: fout bij lezen van afbeelding." - -#~ msgid "Incorrect version of HTML help book" -#~ msgstr "Verkeerde versie van HTML-help" - -#, fuzzy -#~ msgid "Loading DIB : Couldn't allocate memory." -#~ msgstr "BMP: kon geen geheugen reserveren" - -#~ msgid "Mounted Devices" -#~ msgstr "Gekoppelde apparaten" - -#~ msgid "My Harddisk" -#~ msgstr "Mijn harde schijf" - -#~ msgid "My Home" -#~ msgstr "Mijn basismap" - -#~ msgid "New..." -#~ msgstr "Nieuw..." - -#~ msgid "Please wait..." -#~ msgstr "Even geduld a.u.b...." - -#~ msgid "Temporary" -#~ msgstr "Tijdelijk" - -#~ msgid "The Computer" -#~ msgstr "Deze computer" - -#~ msgid "The directory " -#~ msgstr "De map" - -#~ msgid "User" -#~ msgstr "Gebruiker" - -#~ msgid "User Local" -#~ msgstr "Lokale gebruiker" - -#~ msgid "Variables" -#~ msgstr "Variabelen" - -#~ msgid "Window" -#~ msgstr "Venster" - -#, fuzzy -#~ msgid "centered" -#~ msgstr "Etcetera" - -#, fuzzy -#~ msgid "Unknown digit value" -#~ msgstr "Onbekende codering (%d)" - -#~ msgid "Replace file '%s'?" -#~ msgstr "Bestand '%s' vervangen?" - -#~ msgid "wxWindows: error finding temporary file name.\n" -#~ msgstr "wxWindows: fout bij zoeken van tijdelijke bestandsnaam.\n" - -#~ msgid "" -#~ "Can't create window of class %s!\n" -#~ "Possible Windows 3.x compatibility problem?" -#~ msgstr "" -#~ "Kan geen venster van type %s maken!\n" -#~ "Mogelijk Windows 3.x compatibiliteitsprobleem?" - -#, fuzzy -#~ msgid "" -#~ "Can't find dialog template '%s'!\n" -#~ "Check resource include path for finding wx.rc." -#~ msgstr "" -#~ "Kan lege dialoogsjabloon niet vinden!\n" -#~ "Kijn resource include-pad na voor wx.rc." - -#~ msgid "Couldn't launch DDE server '%s'." -#~ msgstr "Kon DDE-server '%s' niet starten." - -#~ msgid "Cyrillic (Latin 5)" -#~ msgstr "Cyrillisch (Latin 5)" - -#~ msgid "No XPM facility available!" -#~ msgstr "Geen XPM-faciliteit beschikbaar!" - -#~ msgid "ISO-8859-12" -#~ msgstr "ISO-8859-12" - -#~ msgid "ISO-8859-14" -#~ msgstr "ISO-8859-14" diff --git a/locale/ru.po b/locale/ru.po index d2585d04be..ad7bf08ef6 100644 --- a/locale/ru.po +++ b/locale/ru.po @@ -872,7 +872,7 @@ msgstr " #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "" #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/sl.po b/locale/sl.po index 67f706b912..b63fe5ecaf 100644 --- a/locale/sl.po +++ b/locale/sl.po @@ -1156,7 +1156,7 @@ msgstr "Vsebina" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "" # generic/prntdlgg.cpp:196 diff --git a/locale/sv.po b/locale/sv.po index 44662fd099..3880b1d393 100644 --- a/locale/sv.po +++ b/locale/sv.po @@ -884,7 +884,7 @@ msgstr "Inneh #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "Konvertering till teckenuppsättning \"%s\" fungerar inte." #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/tr.po b/locale/tr.po index e93873688e..ca87aa573e 100644 --- a/locale/tr.po +++ b/locale/tr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: wxWindows 2.3.3\n" "POT-Creation-Date: 2001-12-17 16:47+0100\n" -"PO-Revision-Date: 2002-09-09 18:07--800\n" +"PO-Revision-Date: 2002-09-16 17:41--800\n" "Last-Translator: Hakki Dogusan \n" "Language-Team: Hakki Dogusan \n" "MIME-Version: 1.0\n" @@ -893,7 +893,7 @@ msgstr " #: ../src/common/strconv.cpp:608 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "'%s' karakter kümesine dönüþüm çalýþmýyor." #: ../src/generic/prntdlgg.cpp:194 @@ -1295,7 +1295,7 @@ msgstr "Ge #: ../src/msw/dde.cpp:401 #, c-format msgid "Failed to create connection to server '%s' on topic '%s'" -msgstr "'%s' merkezine '%s' konusunda baðlantý kurulamadý" +msgstr "'%s' sunucusuna '%s' konusunda baðlantý kurulamadý" #: ../src/generic/dirctrlg.cpp:1302 #: ../src/generic/dirdlgg.cpp:543 @@ -1324,7 +1324,7 @@ msgstr "Pano temizlenemedi." #: ../src/msw/dde.cpp:606 msgid "Failed to establish an advise loop with DDE server" -msgstr "DDE merkeziyle danýþma döngüsü saðlanamadý" +msgstr "DDE sunucusuyla danýþma döngüsü saðlanamadý" #: ../src/msw/dialup.cpp:646 #, c-format @@ -1456,7 +1456,7 @@ msgstr "Alt i #: ../src/msw/dde.cpp:285 #, c-format msgid "Failed to register DDE server '%s'" -msgstr "'%s' DDE merkezine kaydolunamadý" +msgstr "'%s' DDE sunucusuna kaydolunamadý" #: ../src/common/fontmap.cpp:654 #, c-format @@ -1533,7 +1533,7 @@ msgstr " #: ../src/msw/dde.cpp:625 msgid "Failed to terminate the advise loop with DDE server" -msgstr "DDE merkeziyle danýþma döngüsü sonlandýrýlamadý" +msgstr "DDE sunucusuyla danýþma döngüsü sonlandýrýlamadý" #: ../src/msw/dialup.cpp:948 #, c-format @@ -1553,7 +1553,7 @@ msgstr "'%s' kilit dosyas #: ../src/msw/dde.cpp:301 #, c-format msgid "Failed to unregister DDE server '%s'" -msgstr "'%s' DDE merkeziyle kayýt iptali yapýlamadý" +msgstr "'%s' DDE sunucusuyla kayýt iptali yapýlamadý" #: ../src/unix/snglinst.cpp:174 #, c-format @@ -2669,7 +2669,7 @@ msgstr "Bilgisayar" #: ../src/common/ftp.cpp:569 msgid "The FTP server doesn't support passive mode." -msgstr "FTP merkezi pasif durumu desteklemiyor." +msgstr "FTP sunucusu pasif durumu desteklemiyor." #: ../src/common/fontmap.cpp:610 #, c-format @@ -3166,7 +3166,7 @@ msgid "" "terminated before completing a transaction." msgstr "" "istemci tarafýndan sonlandýrýlmýþ bir görüþme üstünde\n" -"merkez-tarafý iþ denendi, veya merkez\n" +"sunucu-tarafý iþ denendi, veya sunucu\n" "iþ bitmeden sonlandýrýldý." #: ../src/msw/dde.cpp:996 @@ -3187,7 +3187,7 @@ msgstr "" "APPCLASS_MONITOR olarak baþlatýlmýþ bir uygulama\n" "DDE iþi gerçekleþtirmeyi denedi,\n" "veya APPCMD_CLIENTONLY olarak baþlatýlmýþ bir uygulama\n" -"merkez iþi gerçekleþtirmeyi denedi." +"sunucu iþi gerçekleþtirmeyi denedi." #: ../src/msw/dde.cpp:1002 msgid "an internal call to the PostMessage function has failed. " diff --git a/locale/wxstd.po b/locale/wxstd.po index f714ae8909..d9be341542 100644 --- a/locale/wxstd.po +++ b/locale/wxstd.po @@ -855,7 +855,7 @@ msgstr "" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "" #: ../src/generic/prntdlgg.cpp:193 diff --git a/locale/zh.po b/locale/zh.po index 4f43f92c28..c18b75e08f 100644 --- a/locale/zh.po +++ b/locale/zh.po @@ -880,7 +880,7 @@ msgstr "Ŀ¼" #: ../src/common/strconv.cpp:596 #, c-format -msgid "Convertion to charset '%s' doesn't work." +msgid "Conversion to charset '%s' doesn't work." msgstr "" #: ../src/generic/prntdlgg.cpp:193 diff --git a/misc/languages/langtabl.txt b/misc/languages/langtabl.txt index d7c084ddf0..a8dd6d6429 100644 --- a/misc/languages/langtabl.txt +++ b/misc/languages/langtabl.txt @@ -45,7 +45,7 @@ wxLANGUAGE_CHINESE_TRADITIONAL zh_CN LANG_CHINESE SUBLANG_CHINESE_T wxLANGUAGE_CHINESE_HONGKONG zh_HK LANG_CHINESE SUBLANG_CHINESE_HONGKONG "Chinese (Hongkong)" wxLANGUAGE_CHINESE_MACAU zh_MO LANG_CHINESE SUBLANG_CHINESE_MACAU "Chinese (Macau)" wxLANGUAGE_CHINESE_SINGAPORE zh_SG LANG_CHINESE SUBLANG_CHINESE_SINGAPORE "Chinese (Singapore)" -wxLANGUAGE_CHINESE_TAIWAN zh_TW - - "Chinese (Taiwan)" +wxLANGUAGE_CHINESE_TAIWAN zh_TW LANG_CHINESE SUBLANG_CHINESE_TRADITIONAL "Chinese (Taiwan)" wxLANGUAGE_CORSICAN co - - "Corsican" wxLANGUAGE_CROATIAN hr_HR LANG_CROATIAN SUBLANG_DEFAULT "Croatian" wxLANGUAGE_CZECH cs_CZ LANG_CZECH SUBLANG_DEFAULT "Czech" diff --git a/samples/artprov/artprov.dsp b/samples/artprov/artprov.dsp index 2ed0bea518..64b945a49a 100644 --- a/samples/artprov/artprov.dsp +++ b/samples/artprov/artprov.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "artprov - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "artprov - Win32 Release" diff --git a/samples/calendar/calendar.dsp b/samples/calendar/calendar.dsp index 124f11083d..08919ead79 100644 --- a/samples/calendar/calendar.dsp +++ b/samples/calendar/calendar.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "calendar - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "calendar - Win32 Release" diff --git a/samples/caret/caret.dsp b/samples/caret/caret.dsp index ed0de2494f..746ccf4de6 100644 --- a/samples/caret/caret.dsp +++ b/samples/caret/caret.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "caret - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "caret - Win32 Release" diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index cba00d91ae..4dfd9e679c 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -324,8 +324,8 @@ void CheckListBoxFrame::OnButtonMove(bool up) void CheckListBoxFrame::AdjustColour(size_t index) { - // not implemented in other ports yet -#ifdef __WXMSW__ + // not implemented in ports other than (native) MSW yet +#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) // even items have grey backround, odd ones - white unsigned char c = index % 2 ? 255 : 200; m_pListBox->GetItem(index)->SetBackgroundColour(wxColor(c, c, c)); diff --git a/samples/checklst/checklst.dsp b/samples/checklst/checklst.dsp index 79cb655c10..e054b1ad74 100644 --- a/samples/checklst/checklst.dsp +++ b/samples/checklst/checklst.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "checklst - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "checklst - Win32 Release" diff --git a/samples/config/config.dsp b/samples/config/config.dsp index 90b4a160af..647ef70674 100644 --- a/samples/config/config.dsp +++ b/samples/config/config.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "config - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "config - Win32 Release" diff --git a/samples/configure.in b/samples/configure.in index 46bb5016ef..e412e8d77b 100644 --- a/samples/configure.in +++ b/samples/configure.in @@ -63,12 +63,17 @@ AC_OUTPUT([ mobile/Makefile mobile/wxedit/Makefile mobile/styles/Makefile + multimon/Makefile + nativedlg/Makefile newgrid/Makefile notebook/Makefile + oleauto/Makefile + ownerdrw/Makefile png/Makefile printing/Makefile proplist/Makefile propsize/Makefile + regtest/Makefile resource/Makefile rotate/Makefile sashtest/Makefile diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 3b8ce77f15..24c3bf569a 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -48,7 +48,7 @@ */ // what to test (in alphabetic order)? uncomment the line below to do all tests -#define TEST_ALL +//#define TEST_ALL #ifdef TEST_ALL #define TEST_ARRAYS #define TEST_CHARSET @@ -93,7 +93,7 @@ #undef TEST_ALL static const bool TEST_ALL = TRUE; #else - #define TEST_PRINTF + #define TEST_DATETIME static const bool TEST_ALL = FALSE; #endif @@ -1766,7 +1766,7 @@ static void TestMimeFilename() wxFileType::MessageParameters(fname, _T(""))) ) cmd = _T(""); else - cmd = wxString('"') + cmd + '"'; + cmd = wxString(_T('"')) + cmd + _T('"'); wxPrintf(_T("To open %s (%s) do %s.\n"), fname.c_str(), desc.c_str(), cmd.c_str()); @@ -2169,9 +2169,9 @@ static void TestLongLongComparison() #endif // wxUSE_LONGLONG_WX } -static void TestLongLongPrint() +static void TestLongLongToString() { - wxPuts(_T("*** Testing wxLongLong printing ***\n")); + wxPuts(_T("*** Testing wxLongLong::ToString() ***\n")); for ( size_t n = 0; n < WXSIZEOF(testLongs); n++ ) { @@ -2192,8 +2192,7 @@ static void TestLongLongPrintf() #ifdef wxLongLongFmtSpec wxLongLong ll = wxLL(0x1234567890abcdef); - wxString s = wxString::Format(_T("%") wxLongLongFmtSpec _T("x"), - ll.GetValue()); + wxString s = wxString::Format(_T("%") wxLongLongFmtSpec _T("x"), ll); wxPrintf(_T("0x1234567890abcdef -> %s (%s)\n"), s.c_str(), s == _T("1234567890abcdef") ? _T("ok") : _T("ERROR")); #else // !wxLongLongFmtSpec @@ -2728,7 +2727,7 @@ I am ready for my first lesson today."); { wxChar buf[200]; - wxSprintf (buf, _T("%07Lo"), (wxLongLong_t)040000000000); + wxSprintf(buf, _T("%07") wxLongLongFmtSpec _T("o"), wxLL(040000000000)); wxPrintf (_T("sprintf (buf, \"%%07Lo\", 040000000000ll) = %s"), buf); if (wxStrcmp (buf, _T("40000000000")) != 0) @@ -3873,7 +3872,7 @@ static void TestUnicodeToFromAscii() #include "wx/encconv.h" #include "wx/buffer.h" -static const unsigned char textInUtf8_[] = +static const unsigned char utf8koi8r[] = { 208, 157, 208, 181, 209, 129, 208, 186, 208, 176, 208, 183, 208, 176, 208, 189, 208, 189, 208, 190, 32, 208, 191, 208, 190, 209, 128, 208, @@ -3884,7 +3883,36 @@ static const unsigned char textInUtf8_[] = 178, 208, 190, 209, 129, 209, 130, 209, 140, 209, 142, 0 }; -#define textInUtf8 ((const char *)textInUtf8_) +static const unsigned char utf8iso8859_1[] = +{ + 0x53, 0x79, 0x73, 0x74, 0xc3, 0xa8, 0x6d, 0x65, 0x73, 0x20, 0x49, 0x6e, + 0x74, 0xc3, 0xa9, 0x67, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x20, 0x65, + 0x6e, 0x20, 0x4d, 0xc3, 0xa9, 0x63, 0x61, 0x6e, 0x69, 0x71, 0x75, 0x65, + 0x20, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x71, 0x75, 0x65, 0x20, 0x65, + 0x74, 0x20, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x71, 0x75, 0x65, 0 +}; + +static const unsigned char utf8Invalid[] = +{ + 0x3c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3e, 0x32, 0x30, 0x30, + 0x32, 0xe5, 0xb9, 0xb4, 0x30, 0x39, 0xe6, 0x9c, 0x88, 0x32, 0x35, 0xe6, + 0x97, 0xa5, 0x20, 0x30, 0x37, 0xe6, 0x99, 0x82, 0x33, 0x39, 0xe5, 0x88, + 0x86, 0x35, 0x37, 0xe7, 0xa7, 0x92, 0x3c, 0x2f, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0 +}; + +static const struct Utf8Data +{ + const unsigned char *text; + size_t len; + const wxChar *charset; + wxFontEncoding encoding; +} utf8data[] = +{ + { utf8Invalid, WXSIZEOF(utf8Invalid), _T("iso8859-1"), wxFONTENCODING_ISO8859_1 }, + { utf8koi8r, WXSIZEOF(utf8koi8r), _T("koi8-r"), wxFONTENCODING_KOI8 }, + { utf8iso8859_1, WXSIZEOF(utf8iso8859_1), _T("iso8859-1"), wxFONTENCODING_ISO8859_1 }, +}; static void TestUtf8() { @@ -3892,30 +3920,33 @@ static void TestUtf8() char buf[1024]; wchar_t wbuf[1024]; - if ( wxConvUTF8.MB2WC(wbuf, textInUtf8, WXSIZEOF(textInUtf8)) <= 0 ) - { - wxPuts(_T("ERROR: UTF-8 decoding failed.")); - } - else + + for ( size_t n = 0; n < WXSIZEOF(utf8data); n++ ) { - wxCSConv conv(_T("koi8-r")); - if ( conv.WC2MB(buf, wbuf, 0 /* not needed wcslen(wbuf) */) <= 0 ) + const Utf8Data& u8d = utf8data[n]; + if ( wxConvUTF8.MB2WC(wbuf, (const char *)u8d.text, + WXSIZEOF(wbuf)) == (size_t)-1 ) { - wxPuts(_T("ERROR: conversion to KOI8-R failed.")); + wxPuts(_T("ERROR: UTF-8 decoding failed.")); } else { - wxPrintf(_T("The resulting string (in KOI8-R): %s\n"), buf); + wxCSConv conv(u8d.charset); + if ( conv.WC2MB(buf, wbuf, WXSIZEOF(buf)) == (size_t)-1 ) + { + wxPrintf(_T("ERROR: conversion to %s failed.\n"), u8d.charset); + } + else + { + wxPrintf(_T("String in %s: %s\n"), u8d.charset, buf); + } } - } - if ( wxConvUTF8.WC2MB(buf, L"à la", WXSIZEOF(buf)) <= 0 ) - { - wxPuts(_T("ERROR: conversion to UTF-8 failed.")); - } - else - { - wxPrintf(_T("The string in UTF-8: %s\n"), buf); + wxString s(wxConvUTF8.cMB2WC((const char *)u8d.text), *wxConvCurrent); + if ( s.empty() ) + s = _T("<< conversion failed >>"); + wxPrintf(_T("String in current cset: %s\n"), s.c_str()); + } wxPuts(_T("")); @@ -3928,7 +3959,8 @@ static void TestEncodingConverter() // using wxEncodingConverter should give the same result as above char buf[1024]; wchar_t wbuf[1024]; - if ( wxConvUTF8.MB2WC(wbuf, textInUtf8, WXSIZEOF(textInUtf8)) <= 0 ) + if ( wxConvUTF8.MB2WC(wbuf, (const char *)utf8koi8r, + WXSIZEOF(utf8koi8r)) == (size_t)-1 ) { wxPuts(_T("ERROR: UTF-8 decoding failed.")); } @@ -3937,7 +3969,7 @@ static void TestEncodingConverter() wxEncodingConverter ec; ec.Init(wxFONTENCODING_UNICODE, wxFONTENCODING_KOI8); ec.Convert(wbuf, buf); - wxPrintf(_T("The same string obtained using wxEC: %s\n"), buf); + wxPrintf(_T("The same KOI8-R string using wxEC: %s\n"), buf); } wxPuts(_T("")); @@ -4604,12 +4636,8 @@ for n in range(20): wxPrintf(_T(" (ERROR: should be %d)"), wn.dnum); } - wxPrintf(_T(", week in month is %d"), wmon); - if ( wmon == wn.wmon ) - { - wxPrintf(_T(" (ok)")); - } - else + wxPrintf(_T(", week in month = %d"), wmon); + if ( wmon != wn.wmon ) { wxPrintf(_T(" (ERROR: should be %d)"), wn.wmon); } @@ -4624,14 +4652,22 @@ for n in range(20): wxPrintf(_T(" (ERROR: should be %d)"), wn.wmon2); } - wxPrintf(_T(", week in year is %d"), week); - if ( week == wn.week ) + wxPrintf(_T(", week in year = %d"), week); + if ( week != wn.week ) { - wxPuts(_T(" (ok)")); + wxPrintf(_T(" (ERROR: should be %d)"), wn.week); } - else + + wxPutchar(_T('\n')); + + wxDateTime dt2(1, wxDateTime::Jan, d.year); + dt2.SetToTheWeek(wn.week, dt.GetWeekDay()); + if ( dt2 != dt ) { - wxPrintf(_T(" (ERROR: should be %d)\n"), wn.week); + Date d2; + d2.Init(dt2.GetTm()); + wxPrintf(_T("ERROR: SetToTheWeek() returned %s\n"), + d2.FormatDate().c_str()); } } } @@ -6406,7 +6442,8 @@ int main(int argc, char **argv) TestLongLongConversion(); TestBitOperations(); TestLongLongComparison(); - TestLongLongPrint(); + TestLongLongToString(); + TestLongLongPrintf(); } #endif // TEST_LONGLONG @@ -6531,7 +6568,8 @@ int main(int argc, char **argv) TestTimeZoneBug(); } - TestTimeFormat(); + + TestTimeWNumber(); if ( TEST_INTERACTIVE ) TestDateTimeInteractive(); diff --git a/samples/console/console.dsp b/samples/console/console.dsp index c665160353..a6cfa8d063 100644 --- a/samples/console/console.dsp +++ b/samples/console/console.dsp @@ -53,7 +53,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\wxbase232u.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\wxbase233u.lib !IF "$(CFG)" == "console - Win32 Debug Unicode DLL" @@ -76,7 +76,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\wxbase232ud.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\wxbase233ud.lib !IF "$(CFG)" == "console - Win32 Release Unicode" @@ -99,7 +99,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\wxbaseu.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\wxbaseu.lib !IF "$(CFG)" == "console - Win32 Debug Unicode" @@ -122,7 +122,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\wxbaseud.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\wxbaseud.lib !IF "$(CFG)" == "console - Win32 Release DLL" @@ -145,7 +145,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\wxbase232.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\wxbase233.lib !IF "$(CFG)" == "console - Win32 Debug DLL" @@ -168,7 +168,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\wxbase232d.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\wxbase233d.lib !IF "$(CFG)" == "console - Win32 Release" @@ -191,7 +191,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\wxbase.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\wxbase.lib !IF "$(CFG)" == "console - Win32 Debug" @@ -214,7 +214,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\wxbased.lib +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\wxbased.lib !ENDIF diff --git a/samples/console/makefile.b32 b/samples/console/makefile.b32 new file mode 100644 index 0000000000..76aa03aa5a --- /dev/null +++ b/samples/console/makefile.b32 @@ -0,0 +1,16 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=console +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index e29c0b5236..ad8bc2532d 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -122,12 +122,15 @@ public: void OnTestButton(wxCommandEvent& event); void OnBmpButton(wxCommandEvent& event); + void OnSizerCheck (wxCommandEvent &event); + wxListBox *m_listbox, *m_listboxSorted; #if wxUSE_CHOICE wxChoice *m_choice, *m_choiceSorted; -#endif +#endif // wxUSE_CHOICE + wxComboBox *m_combo; wxRadioBox *m_radio; wxGauge *m_gauge, @@ -153,6 +156,14 @@ public: wxStaticText *m_label; + wxBoxSizer *m_buttonSizer; + wxButton *m_sizerBtn1; + wxButton *m_sizerBtn2; + wxButton *m_sizerBtn3; + wxButton *m_sizerBtn4; + wxBoxSizer *m_hsizer; + wxButton *m_bigBtn; + private: wxLog *m_logTargetOld; @@ -298,7 +309,10 @@ private: //---------------------------------------------------------------------- static void SetListboxClientData(const wxChar *name, wxListBox *control); + +#if wxUSE_CHOICE static void SetChoiceClientData(const wxChar *name, wxChoice *control); +#endif // wxUSE_CHOICE IMPLEMENT_APP(MyApp) @@ -403,6 +417,13 @@ const int ID_BITMAP_BTN = 192; const int ID_CHANGE_COLOUR = 200; +const int ID_SIZER_CHECK1 = 201; +const int ID_SIZER_CHECK2 = 202; +const int ID_SIZER_CHECK3 = 203; +const int ID_SIZER_CHECK4 = 204; +const int ID_SIZER_CHECK14 = 205; +const int ID_SIZER_CHECKBIG = 206; + BEGIN_EVENT_TABLE(MyPanel, wxPanel) EVT_SIZE ( MyPanel::OnSize) EVT_NOTEBOOK_PAGE_CHANGING(ID_NOTEBOOK, MyPanel::OnPageChanging) @@ -465,6 +486,14 @@ EVT_CHECKBOX (ID_CHANGE_COLOUR, MyPanel::OnChangeColour) EVT_BUTTON (ID_BUTTON_TEST1, MyPanel::OnTestButton) EVT_BUTTON (ID_BUTTON_TEST2, MyPanel::OnTestButton) EVT_BUTTON (ID_BITMAP_BTN, MyPanel::OnBmpButton) + +EVT_CHECKBOX (ID_SIZER_CHECK1, MyPanel::OnSizerCheck) +EVT_CHECKBOX (ID_SIZER_CHECK2, MyPanel::OnSizerCheck) +EVT_CHECKBOX (ID_SIZER_CHECK3, MyPanel::OnSizerCheck) +EVT_CHECKBOX (ID_SIZER_CHECK4, MyPanel::OnSizerCheck) +EVT_CHECKBOX (ID_SIZER_CHECK14, MyPanel::OnSizerCheck) +EVT_CHECKBOX (ID_SIZER_CHECKBIG, MyPanel::OnSizerCheck) + END_EVENT_TABLE() BEGIN_EVENT_TABLE(MyButton, wxButton) @@ -849,11 +878,53 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) panel = new wxPanel(m_notebook); panel->SetAutoLayout( TRUE ); - wxBoxSizer *sizer = new wxBoxSizer( wxHORIZONTAL ); + wxBoxSizer *sizer = new wxBoxSizer( wxVERTICAL ); + + wxStaticBoxSizer *csizer = + new wxStaticBoxSizer (new wxStaticBox (panel, -1, "Show Buttons"), + wxHORIZONTAL ); + + wxCheckBox *check1, *check2, *check3, *check4, *check14, *checkBig; + check1 = new wxCheckBox (panel, ID_SIZER_CHECK1, "1"); + check1->SetValue (TRUE); + csizer->Add (check1); + check2 = new wxCheckBox (panel, ID_SIZER_CHECK2, "2"); + check2->SetValue (TRUE); + csizer->Add (check2); + check3 = new wxCheckBox (panel, ID_SIZER_CHECK3, "3"); + check3->SetValue (TRUE); + csizer->Add (check3); + check4 = new wxCheckBox (panel, ID_SIZER_CHECK4, "4"); + check4->SetValue (TRUE); + csizer->Add (check4); + check14 = new wxCheckBox (panel, ID_SIZER_CHECK14, "1-4"); + check14->SetValue (TRUE); + csizer->Add (check14); + checkBig = new wxCheckBox (panel, ID_SIZER_CHECKBIG, "Big"); + checkBig->SetValue (TRUE); + csizer->Add (checkBig); + + sizer->Add (csizer); + + m_hsizer = new wxBoxSizer( wxHORIZONTAL ); - sizer->Add( new wxButton(panel, -1, "Test Button &1" ), 3, wxALL, 10 ); - sizer->Add( 20,20, 1 ); - sizer->Add( new wxButton(panel, -1, "Multiline\nbutton" ), 3, wxGROW|wxALL, 10 ); + m_buttonSizer = new wxBoxSizer (wxVERTICAL); + + m_sizerBtn1 = new wxButton(panel, -1, "Test Button &1" ); + m_buttonSizer->Add( m_sizerBtn1, 0, wxALL, 10 ); + m_sizerBtn2 = new wxButton(panel, -1, "Test Button &2" ); + m_buttonSizer->Add( m_sizerBtn2, 0, wxALL, 10 ); + m_sizerBtn3 = new wxButton(panel, -1, "Test Button &3" ); + m_buttonSizer->Add( m_sizerBtn3, 0, wxALL, 10 ); + m_sizerBtn4 = new wxButton(panel, -1, "Test Button &4" ); + m_buttonSizer->Add( m_sizerBtn4, 0, wxALL, 10 ); + + m_hsizer->Add (m_buttonSizer); + m_hsizer->Add( 20,20, 1 ); + m_bigBtn = new wxButton(panel, -1, "Multiline\nbutton" ); + m_hsizer->Add( m_bigBtn , 3, wxGROW|wxALL, 10 ); + + sizer->Add (m_hsizer, 1, wxGROW); panel->SetSizer( sizer ); @@ -1404,6 +1475,37 @@ void MyPanel::OnShowProgress( wxCommandEvent& WXUNUSED(event) ) #endif // wxUSE_SPINBTN +void MyPanel::OnSizerCheck( wxCommandEvent &event) +{ + switch (event.GetId ()) { + case ID_SIZER_CHECK1: + m_buttonSizer->Show (m_sizerBtn1, event.IsChecked ()); + m_buttonSizer->Layout (); + break; + case ID_SIZER_CHECK2: + m_buttonSizer->Show (m_sizerBtn2, event.IsChecked ()); + m_buttonSizer->Layout (); + break; + case ID_SIZER_CHECK3: + m_buttonSizer->Show (m_sizerBtn3, event.IsChecked ()); + m_buttonSizer->Layout (); + break; + case ID_SIZER_CHECK4: + m_buttonSizer->Show (m_sizerBtn4, event.IsChecked ()); + m_buttonSizer->Layout (); + break; + case ID_SIZER_CHECK14: + m_hsizer->Show (m_buttonSizer, event.IsChecked ()); + m_hsizer->Layout (); + break; + case ID_SIZER_CHECKBIG: + m_hsizer->Show (m_bigBtn, event.IsChecked ()); + m_hsizer->Layout (); + break; + } + +} + MyPanel::~MyPanel() { //wxLog::RemoveTraceMask(_T("focus")); @@ -1617,6 +1719,8 @@ static void SetListboxClientData(const wxChar *name, wxListBox *control) } } +#if wxUSE_CHOICE + static void SetChoiceClientData(const wxChar *name, wxChoice *control) { size_t count = control->GetCount(); @@ -1629,3 +1733,5 @@ static void SetChoiceClientData(const wxChar *name, wxChoice *control) control->SetClientObject(n, new wxStringClientData(s)); } } + +#endif // wxUSE_CHOICE diff --git a/samples/controls/controls.dsp b/samples/controls/controls.dsp index 95e8e3be92..58db7cf23f 100644 --- a/samples/controls/controls.dsp +++ b/samples/controls/controls.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "controls - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "controls - Win32 Release" diff --git a/samples/db/db.dsp b/samples/db/db.dsp index c61c33aca3..a908a17237 100644 --- a/samples/db/db.dsp +++ b/samples/db/db.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "db - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "db - Win32 Release" diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 059006ed3c..6ef90dcc7a 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -534,16 +534,16 @@ void MyFrame::FileSave(wxCommandEvent& WXUNUSED(event) ) wxFileDialog dialog(this, _T("Testing save file dialog"), _T(""), - _T("myletter.txt"), + _T("myletter.doc"), _T("Text files (*.txt)|*.txt|Document files (*.doc)|*.doc"), wxSAVE|wxOVERWRITE_PROMPT); + dialog.SetFilterIndex(1); + if (dialog.ShowModal() == wxID_OK) { - wxChar buf[400]; - wxSprintf(buf, _T("%s, filter %d"), (const wxChar*)dialog.GetPath(), dialog.GetFilterIndex()); - wxMessageDialog dialog2(this, wxString(buf), _T("Selected path")); - dialog2.ShowModal(); + wxLogMessage(_T("%s, filter %d"), + dialog.GetPath().c_str(), dialog.GetFilterIndex()); } } @@ -557,8 +557,7 @@ void MyFrame::DirChoose(wxCommandEvent& WXUNUSED(event) ) if (dialog.ShowModal() == wxID_OK) { - wxMessageDialog dialog2(this, dialog.GetPath(), _T("Selected path")); - dialog2.ShowModal(); + wxLogMessage(_T("Selected path: %s"), dialog.GetPath().c_str()); } } diff --git a/samples/dialogs/dialogs.dsp b/samples/dialogs/dialogs.dsp index 17ea64d1c1..5623d849a0 100644 --- a/samples/dialogs/dialogs.dsp +++ b/samples/dialogs/dialogs.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "dialogs - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "dialogs - Win32 Release" diff --git a/samples/dialup/dialup.dsp b/samples/dialup/dialup.dsp index 1a7a78a8bc..9011c20b49 100644 --- a/samples/dialup/dialup.dsp +++ b/samples/dialup/dialup.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "dialup - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "dialup - Win32 Release" diff --git a/samples/dnd/dnd.dsp b/samples/dnd/dnd.dsp index 024a9ec192..cead67d101 100644 --- a/samples/dnd/dnd.dsp +++ b/samples/dnd/dnd.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "dnd - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "dnd - Win32 Release" diff --git a/samples/docview/docview.dsp b/samples/docview/docview.dsp index 1e1e1abc59..da0d2fa32d 100644 --- a/samples/docview/docview.dsp +++ b/samples/docview/docview.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "docview - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "docview - Win32 Release" diff --git a/samples/docvwmdi/docvwmdi.dsp b/samples/docvwmdi/docvwmdi.dsp index a843367163..188d9ca8bd 100644 --- a/samples/docvwmdi/docvwmdi.dsp +++ b/samples/docvwmdi/docvwmdi.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "docvwmdi - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "docvwmdi - Win32 Release" diff --git a/samples/dragimag/dragimag.dsp b/samples/dragimag/dragimag.dsp index d80989db89..f517c935cb 100644 --- a/samples/dragimag/dragimag.dsp +++ b/samples/dragimag/dragimag.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "dragimag - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "dragimag - Win32 Release" diff --git a/samples/drawing/drawing.dsp b/samples/drawing/drawing.dsp index 7e1a570347..e176b48708 100644 --- a/samples/drawing/drawing.dsp +++ b/samples/drawing/drawing.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "drawing - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "drawing - Win32 Release" diff --git a/samples/dynamic/dynamic.dsp b/samples/dynamic/dynamic.dsp index 11e4e00501..71aeeeb4d1 100644 --- a/samples/dynamic/dynamic.dsp +++ b/samples/dynamic/dynamic.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "dynamic - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "dynamic - Win32 Release" diff --git a/samples/erase/erase.cpp b/samples/erase/erase.cpp index 1eeba32d3a..307035e068 100644 --- a/samples/erase/erase.cpp +++ b/samples/erase/erase.cpp @@ -73,9 +73,11 @@ public: MyCanvas( MyFrame *parent ); void OnPaint( wxPaintEvent &event ); + void OnChar( wxKeyEvent &event ); void OnEraseBackground( wxEraseEvent &event ); wxBitmap m_bitmap; + wxString m_text; private: DECLARE_EVENT_TABLE() @@ -160,6 +162,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow) EVT_PAINT( MyCanvas::OnPaint) + EVT_CHAR( MyCanvas::OnChar) EVT_ERASE_BACKGROUND( MyCanvas::OnEraseBackground) END_EVENT_TABLE() @@ -176,6 +179,30 @@ MyCanvas::MyCanvas( MyFrame *parent ) new wxStaticBitmap( this, -1, m_bitmap, wxPoint(80,20) ); } +void MyCanvas::OnChar( wxKeyEvent &event ) +{ +#if wxUSE_UNICODE + if (event.m_uniChar) + { + m_text += event.m_uniChar; + Refresh(); + return; + } +#endif + + // some test cases + switch (event.m_keyCode) + { + case WXK_UP: m_text += wxT( "" ); break; + case WXK_LEFT: m_text += wxT( "" ); break; + case WXK_RIGHT: m_text += wxT( "" ); break; + case WXK_DOWN: m_text += wxT( "" ); break; + case WXK_RETURN: m_text += wxT( "" ); break; + default: m_text += event.m_keyCode; break; + } + +} + void MyCanvas::OnPaint( wxPaintEvent &event ) { wxPaintDC dc(this); @@ -188,6 +215,14 @@ void MyCanvas::OnPaint( wxPaintEvent &event ) dc.SetTextForeground(*wxBLUE); dc.DrawText(_T("This text is drawn from OnPaint"), 65, 65); + + wxString tmp; + tmp.Printf( _T("Hit any key to display more text: %s"), m_text.c_str() ); + int w,h; + dc.GetTextExtent( tmp, &w, &h ); + dc.SetBrush( *wxWHITE_BRUSH ); + dc.DrawRectangle( 65, 85, w, h ); + dc.DrawText( tmp, 65, 85 ); #if 0 wxRegionIterator upd( GetUpdateRegion() ); diff --git a/samples/erase/erase.dsp b/samples/erase/erase.dsp index 1990f2ac6d..9639339a30 100644 --- a/samples/erase/erase.dsp +++ b/samples/erase/erase.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "erase - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "erase - Win32 Release" diff --git a/samples/event/event.dsp b/samples/event/event.dsp index 8616035750..8dd0b76947 100644 --- a/samples/event/event.dsp +++ b/samples/event/event.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "event - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "event - Win32 Release" diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 30bed13776..fec7e51750 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -387,6 +387,10 @@ bool MyApp::OnInit() // main frame // ---------------------------------------------------------------------------- +#ifdef __VISUALC__ +#pragma warning(disable: 4355) // this used in base member initializer list +#endif + // frame constructor MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) : wxFrame((wxFrame *)NULL, -1, title, pos, size), diff --git a/samples/exec/exec.dsp b/samples/exec/exec.dsp index 640a992ca7..4397700c56 100644 --- a/samples/exec/exec.dsp +++ b/samples/exec/exec.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "exec - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "exec - Win32 Release" diff --git a/samples/font/font.cpp b/samples/font/font.cpp index 7ef9add570..5fc9a0693d 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -205,7 +205,7 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { // Create the main application window - MyFrame *frame = new MyFrame("Font wxWindows demo", + MyFrame *frame = new MyFrame(wxT("Font wxWindows demo"), wxPoint(50, 50), wxSize(600, 400)); // Show it and tell the application that it's our main window @@ -231,52 +231,52 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) // create a menu bar wxMenu *menuFile = new wxMenu; - menuFile->Append(Font_ViewMsg, "&View...\tCtrl-V", - "View an email message file"); + menuFile->Append(Font_ViewMsg, wxT("&View...\tCtrl-V"), + wxT("View an email message file")); menuFile->AppendSeparator(); - menuFile->Append(Font_About, "&About...\tCtrl-A", "Show about dialog"); + menuFile->Append(Font_About, wxT("&About...\tCtrl-A"), wxT("Show about dialog")); menuFile->AppendSeparator(); - menuFile->Append(Font_Quit, "E&xit\tAlt-X", "Quit this program"); + menuFile->Append(Font_Quit, wxT("E&xit\tAlt-X"), wxT("Quit this program")); wxMenu *menuFont = new wxMenu; - menuFont->Append(Font_IncSize, "&Increase font size by 2 points\tCtrl-I"); - menuFont->Append(Font_DecSize, "&Decrease font size by 2 points\tCtrl-D"); + menuFont->Append(Font_IncSize, wxT("&Increase font size by 2 points\tCtrl-I")); + menuFont->Append(Font_DecSize, wxT("&Decrease font size by 2 points\tCtrl-D")); menuFont->AppendSeparator(); - menuFont->Append(Font_Bold, "&Bold\tCtrl-B", "Toggle bold state", TRUE); - menuFont->Append(Font_Italic, "&Oblique\tCtrl-O", "Toggle italic state", TRUE); - menuFont->Append(Font_Underlined, "&Underlined\tCtrl-U", - "Toggle underlined state", TRUE); + menuFont->Append(Font_Bold, wxT("&Bold\tCtrl-B"), wxT("Toggle bold state"), TRUE); + menuFont->Append(Font_Italic, wxT("&Oblique\tCtrl-O"), wxT("Toggle italic state"), TRUE); + menuFont->Append(Font_Underlined, wxT("&Underlined\tCtrl-U"), + wxT("Toggle underlined state"), TRUE); menuFont->AppendSeparator(); menuFont->Append(Font_CheckNativeToFromString, - "Check Native Font Info To/From String"); + wxT("Check Native Font Info To/From String")); wxMenu *menuSelect = new wxMenu; - menuSelect->Append(Font_Choose, "&Select font...\tCtrl-S", - "Select a standard font"); + menuSelect->Append(Font_Choose, wxT("&Select font...\tCtrl-S"), + wxT("Select a standard font")); wxMenu *menuStdFonts = new wxMenu; - menuStdFonts->Append(Font_wxNORMAL_FONT, "wxNORMAL_FONT", "Normal font used by wxWindows"); - menuStdFonts->Append(Font_wxSMALL_FONT, "wxSMALL_FONT", "Small font used by wxWindows"); - menuStdFonts->Append(Font_wxITALIC_FONT, "wxITALIC_FONT", "Italic font used by wxWindows"); - menuStdFonts->Append(Font_wxSWISS_FONT, "wxSWISS_FONT", "Swiss font used by wxWindows"); - menuSelect->Append(-2, "Standar&d fonts", menuStdFonts); + menuStdFonts->Append(Font_wxNORMAL_FONT, wxT("wxNORMAL_FONT"), wxT("Normal font used by wxWindows")); + menuStdFonts->Append(Font_wxSMALL_FONT, wxT("wxSMALL_FONT"), wxT("Small font used by wxWindows")); + menuStdFonts->Append(Font_wxITALIC_FONT, wxT("wxITALIC_FONT"), wxT("Italic font used by wxWindows")); + menuStdFonts->Append(Font_wxSWISS_FONT, wxT("wxSWISS_FONT"), wxT("Swiss font used by wxWindows")); + menuSelect->Append(-2, wxT("Standar&d fonts"), menuStdFonts); menuSelect->AppendSeparator(); - menuSelect->Append(Font_EnumFamilies, "Enumerate font &families\tCtrl-F"); + menuSelect->Append(Font_EnumFamilies, wxT("Enumerate font &families\tCtrl-F")); menuSelect->Append(Font_EnumFixedFamilies, - "Enumerate fi&xed font families\tCtrl-X"); + wxT("Enumerate fi&xed font families\tCtrl-X")); menuSelect->Append(Font_EnumEncodings, - "Enumerate &encodings\tCtrl-E"); + wxT("Enumerate &encodings\tCtrl-E")); menuSelect->Append(Font_EnumFamiliesForEncoding, - "Find font for en&coding...\tCtrl-C", - "Find font families for given encoding"); + wxT("Find font for en&coding...\tCtrl-C"), + wxT("Find font families for given encoding")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); - menuBar->Append(menuFont, "F&ont"); - menuBar->Append(menuSelect, "&Select"); + menuBar->Append(menuFile, wxT("&File")); + menuBar->Append(menuFont, wxT("F&ont")); + menuBar->Append(menuSelect, wxT("&Select")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -284,8 +284,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) wxSplitterWindow *splitter = new wxSplitterWindow(this); m_textctrl = new wxTextCtrl(splitter, -1, - "Paste text here to see how it looks\n" - "like in the given font", + wxT("Paste text here to see how it looks\nlike in the given font"), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE); @@ -295,7 +294,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) // create a status bar just for fun (by default with 1 pane only) CreateStatusBar(); - SetStatusText("Welcome to wxWindows font demo!"); + SetStatusText(wxT("Welcome to wxWindows font demo!")); } // -------------------------------------------------------- @@ -388,7 +387,7 @@ bool MyFrame::DoEnumerateFamilies(bool fixedWidthOnly, for ( n = 0; n < nFacenames; n++ ) facenames[n] = fontEnumerator.GetFacenames().Item(n); - n = wxGetSingleChoiceIndex("Choose a facename", "Font demo", + n = wxGetSingleChoiceIndex(wxT("Choose a facename"), wxT("Font demo"), nFacenames, facenames, this); if ( n != -1 ) @@ -432,18 +431,18 @@ void MyFrame::OnEnumerateFamiliesForEncoding(wxCommandEvent& WXUNUSED(event)) static const wxString encodingNames[] = { - "Western European (ISO-8859-1)", - "Central European (ISO-8859-2)", - "Cyrillic (ISO-8859-5)", - "Greek (ISO-8859-7)", - "Western European with Euro (ISO-8859-15)", - "KOI8-R", - "Windows Central European (CP 1250)", - "Windows Cyrillic (CP 1251)", - "Windows Western European (CP 1252)", + wxT("Western European (ISO-8859-1)"), + wxT("Central European (ISO-8859-2)"), + wxT("Cyrillic (ISO-8859-5)"), + wxT("Greek (ISO-8859-7)"), + wxT("Western European with Euro (ISO-8859-15)"), + wxT("KOI8-R"), + wxT("Windows Central European (CP 1250)"), + wxT("Windows Cyrillic (CP 1251)"), + wxT("Windows Western European (CP 1252)"), }; - int n = wxGetSingleChoiceIndex("Choose an encoding", "Font demo", + int n = wxGetSingleChoiceIndex(wxT("Choose an encoding"), wxT("Font demo"), WXSIZEOF(encodingNames), encodingNames, this); @@ -574,7 +573,7 @@ void MyFrame::OnViewMsg(wxCommandEvent& WXUNUSED(event)) { // first, choose the file static wxString s_dir, s_file; - wxFileDialog dialog(this, "Open an email message file", + wxFileDialog dialog(this, wxT("Open an email message file"), s_dir, s_file); if ( dialog.ShowModal() != wxID_OK ) return; @@ -592,8 +591,8 @@ void MyFrame::OnViewMsg(wxCommandEvent& WXUNUSED(event)) wxString charset; - static const char *prefix = "Content-Type: text/plain; charset="; - const size_t len = strlen(prefix); + static const wxChar *prefix = wxT("Content-Type: text/plain; charset="); + const size_t len = wxStrlen(prefix); size_t n, count = file.GetLineCount(); for ( n = 0; n < count; n++ ) @@ -611,10 +610,10 @@ void MyFrame::OnViewMsg(wxCommandEvent& WXUNUSED(event)) { // found! const wxChar *pc = line.c_str() + len; - if ( *pc == '"' ) + if ( *pc == wxT('"') ) pc++; - while ( *pc && *pc != '"' ) + while ( *pc && *pc != wxT('"') ) { charset += *pc++; } @@ -687,9 +686,9 @@ void MyFrame::OnViewMsg(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { - wxMessageBox("wxWindows font demo\n" - "(c) 1999 Vadim Zeitlin", - "About Font", + wxMessageBox(wxT("wxWindows font demo\n") + wxT("(c) 1999 Vadim Zeitlin"), + wxT("About Font"), wxOK | wxICON_INFORMATION, this); } diff --git a/samples/font/font.dsp b/samples/font/font.dsp index 9b86ce10f7..31989639a7 100644 --- a/samples/font/font.dsp +++ b/samples/font/font.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "font - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "font - Win32 Release" diff --git a/samples/grid/grid.dsp b/samples/grid/grid.dsp index f0ddff1d2e..6b333047b4 100644 --- a/samples/grid/grid.dsp +++ b/samples/grid/grid.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "grid - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "grid - Win32 Release" diff --git a/samples/help/help.dsp b/samples/help/help.dsp index c042b68854..686a829fc8 100644 --- a/samples/help/help.dsp +++ b/samples/help/help.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "help - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "help - Win32 Release" diff --git a/samples/html/about/about.cpp b/samples/html/about/about.cpp index 67b2bc0153..eac43f4e19 100644 --- a/samples/html/about/about.cpp +++ b/samples/html/about/about.cpp @@ -108,7 +108,7 @@ { wxImage::AddHandler(new wxPNGHandler); // Create the main application window - MyFrame *frame = new MyFrame("wxHtmlWindow testing application", + MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"), wxPoint(50, 50), wxSize(150, 50)); // Show it and tell the application that it's our main window @@ -135,12 +135,12 @@ // create a menu bar wxMenu *menuFile = new wxMenu; - menuFile->Append(Minimal_About, "&About"); - menuFile->Append(Minimal_Quit, "E&xit"); + menuFile->Append(Minimal_About, _("&About")); + menuFile->Append(Minimal_Quit, _("E&xit")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); + menuBar->Append(menuFile, _("&File")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -159,13 +159,13 @@ { wxBoxSizer *topsizer; wxHtmlWindow *html; - wxDialog dlg(this, -1, wxString("About")); + wxDialog dlg(this, -1, wxString(_("About"))); topsizer = new wxBoxSizer(wxVERTICAL); html = new wxHtmlWindow(&dlg, -1, wxDefaultPosition, wxSize(380, 160), wxHW_SCROLLBAR_NEVER); html -> SetBorders(0); - html -> LoadPage("data/about.htm"); + html -> LoadPage(wxT("data/about.htm")); html -> SetSize(html -> GetInternalRepresentation() -> GetWidth(), html -> GetInternalRepresentation() -> GetHeight()); @@ -173,7 +173,7 @@ topsizer -> Add(new wxStaticLine(&dlg, -1), 0, wxEXPAND | wxLEFT | wxRIGHT, 10); - wxButton *bu1 = new wxButton(&dlg, wxID_OK, "Okay"); + wxButton *bu1 = new wxButton(&dlg, wxID_OK, _("OK")); bu1 -> SetDefault(); topsizer -> Add(bu1, 0, wxALL | wxALIGN_RIGHT, 15); diff --git a/samples/html/about/about.dsp b/samples/html/about/about.dsp index bcb82b9b23..f63dd24bbf 100644 --- a/samples/html/about/about.dsp +++ b/samples/html/about/about.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlabout - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlabout - Win32 Release" diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp index ac000fe7dc..783cda08fd 100644 --- a/samples/html/help/help.cpp +++ b/samples/html/help/help.cpp @@ -111,11 +111,11 @@ #if wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB wxFileSystem::AddHandler(new wxZipFSHandler); #endif - SetVendorName("wxWindows"); - SetAppName("wxHTMLHelp"); + SetVendorName(wxT("wxWindows")); + SetAppName(wxT("wxHTMLHelp")); // Create the main application window - MyFrame *frame = new MyFrame("HTML Help Sample", + MyFrame *frame = new MyFrame(_("HTML Help Sample"), wxPoint(50, 50), wxSize(150, 50)); // Show it and tell the application that it's our main window @@ -143,12 +143,12 @@ // create a menu bar wxMenu *menuFile = new wxMenu; - menuFile->Append(Minimal_Help, "&Help"); - menuFile->Append(Minimal_Quit, "E&xit"); + menuFile->Append(Minimal_Help, _("&Help")); + menuFile->Append(Minimal_Quit, _("E&xit")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); + menuBar->Append(menuFile, _("&File")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -156,20 +156,20 @@ help.UseConfig(wxConfig::Get()); bool ret; #if defined(__WXMAC__) && !defined(__DARWIN__) - ret = help.AddBook(":helpfiles:testing.hhp"); + ret = help.AddBook(wxT(":helpfiles:testing.hhp")); #else - help.SetTempDir("."); - ret = help.AddBook("helpfiles/testing.hhp"); + help.SetTempDir(wxT(".")); + ret = help.AddBook(wxT("helpfiles/testing.hhp")); #endif if (! ret) - wxMessageBox("Failed adding book helpfiles/testing.hhp"); + wxMessageBox(wxT("Failed adding book helpfiles/testing.hhp")); #if defined(__WXMAC__) && !defined(__DARWIN__) - ret = help.AddBook(":helpfiles:another.hhp"); + ret = help.AddBook(wxT(":helpfiles:another.hhp")); #else - ret = help.AddBook("helpfiles/another.hhp"); + ret = help.AddBook(wxT("helpfiles/another.hhp")); #endif if (! ret) - wxMessageBox("Failed adding book helpfiles/another.hhp"); + wxMessageBox(_("Failed adding book helpfiles/another.hhp")); } @@ -183,7 +183,7 @@ void MyFrame::OnHelp(wxCommandEvent& WXUNUSED(event)) { - help.Display("Test HELPFILE"); + help.Display(wxT("Test HELPFILE")); } void MyFrame::OnClose(wxCloseEvent& event) diff --git a/samples/html/help/help.dsp b/samples/html/help/help.dsp index 35235f621e..e242d63834 100644 --- a/samples/html/help/help.dsp +++ b/samples/html/help/help.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlhelp - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlhelp - Win32 Release" diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp index 1b07b46823..3881c00ba9 100644 --- a/samples/html/helpview/helpview.cpp +++ b/samples/html/helpview/helpview.cpp @@ -66,8 +66,8 @@ bool MyApp::OnInit() wxInitAllImageHandlers(); wxFileSystem::AddHandler(new wxZipFSHandler); - SetVendorName("wxWindows"); - SetAppName("wxHTMLHelp"); + SetVendorName(wxT("wxWindows")); + SetAppName(wxT("wxHTMLHelp")); wxConfig::Get(); // create an instance help = new wxHtmlHelpController; diff --git a/samples/html/helpview/helpview.dsp b/samples/html/helpview/helpview.dsp index 055b077c5e..eb340941f1 100644 --- a/samples/html/helpview/helpview.dsp +++ b/samples/html/helpview/helpview.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlhelpview - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlhelpview - Win32 Release" diff --git a/samples/html/printing/printing.cpp b/samples/html/printing/printing.cpp index c2c9f1bac9..a76b0714b0 100644 --- a/samples/html/printing/printing.cpp +++ b/samples/html/printing/printing.cpp @@ -129,7 +129,7 @@ bool MyApp::OnInit() wxImage::AddHandler(new wxGIFHandler); #endif - MyFrame *frame = new MyFrame("Printing test", + MyFrame *frame = new MyFrame(_("Printing test"), wxPoint(150, 50), wxSize(640, 480)); // Show it and tell the application that it's our main window @@ -155,20 +155,20 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) { // create a menu bar wxMenu *menuFile = new wxMenu; - menuFile->Append(Minimal_Open, "Open...\tCtrl-O"); + menuFile->Append(Minimal_Open, _("Open...\tCtrl-O")); menuFile->AppendSeparator(); - menuFile->Append(Minimal_PageSetup, "Page Setup"); - menuFile->Append(Minimal_PrintSetup, "Printer Setup"); - menuFile->Append(Minimal_Print, "Print..."); - menuFile->Append(Minimal_Preview, "Preview..."); + menuFile->Append(Minimal_PageSetup, _("Page Setup")); + menuFile->Append(Minimal_PrintSetup, _("Printer Setup")); + menuFile->Append(Minimal_Print, _("Print...")); + menuFile->Append(Minimal_Preview, _("Preview...")); menuFile->AppendSeparator(); - menuFile->Append(wxID_ABOUT, "&About"); + menuFile->Append(wxID_ABOUT, _("&About")); menuFile->AppendSeparator(); - menuFile->Append(Minimal_Quit, "&Exit"); + menuFile->Append(Minimal_Quit, _("&Exit")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); + menuBar->Append(menuFile, _("&File")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -176,13 +176,13 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) CreateStatusBar(1); m_Html = new wxHtmlWindow(this); - m_Html -> SetRelatedFrame(this, "HTML : %s"); + m_Html -> SetRelatedFrame(this, _("HTML : %s")); m_Html -> SetRelatedStatusBar(0); - m_Name = "test.htm"; + m_Name = wxT("test.htm"); m_Html -> LoadPage(m_Name); - m_Prn = new wxHtmlEasyPrinting("Easy Printing Demo", this); - m_Prn -> SetHeader(m_Name + "(@PAGENUM@/@PAGESCNT@)


        ", wxPAGE_ALL); + m_Prn = new wxHtmlEasyPrinting(_("Easy Printing Demo"), this); + m_Prn -> SetHeader(m_Name + wxT("(@PAGENUM@/@PAGESCNT@)
        "), wxPAGE_ALL); } // frame destructor @@ -204,7 +204,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { - wxMessageBox("HTML printing sample\n\n(c) Vaclav Slavik, 1999"); + wxMessageBox(_("HTML printing sample\n\n(c) Vaclav Slavik, 1999")); } @@ -234,13 +234,13 @@ void MyFrame::OnPreview(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnOpen(wxCommandEvent& WXUNUSED(event)) { - wxFileDialog dialog(this, "Open HTML page", "", "", "*.htm", 0); + wxFileDialog dialog(this, _("Open HTML page"), wxT(""), wxT(""), wxT("*.htm"), 0); if (dialog.ShowModal() == wxID_OK) { m_Name = dialog.GetPath(); m_Html -> LoadPage(m_Name); - m_Prn -> SetHeader(m_Name + "(@PAGENUM@/@PAGESCNT@)
        ", wxPAGE_ALL); + m_Prn -> SetHeader(m_Name + wxT("(@PAGENUM@/@PAGESCNT@)
        "), wxPAGE_ALL); } } diff --git a/samples/html/printing/printing.dsp b/samples/html/printing/printing.dsp index f12717218f..144dbea151 100644 --- a/samples/html/printing/printing.dsp +++ b/samples/html/printing/printing.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlprinting - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlprinting - Win32 Release" diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 9d1f1d98d9..26f225e4b7 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -140,12 +140,12 @@ class BoldProcessor : public wxHtmlProcessor wxFileSystem::AddHandler(new wxInternetFSHandler); #endif - SetVendorName("wxWindows"); - SetAppName("wxHtmlTest"); + SetVendorName(wxT("wxWindows")); + SetAppName(wxT("wxHtmlTest")); // the following call to wxConfig::Get will use it to create an object... // Create the main application window - MyFrame *frame = new MyFrame("wxHtmlWindow testing application", + MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"), wxPoint(50, 50), wxSize(640, 480)); // Show it and tell the application that it's our main window @@ -167,25 +167,26 @@ class BoldProcessor : public wxHtmlProcessor // frame constructor MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) - : wxFrame((wxFrame *)NULL, -1, title, pos, size, wxDEFAULT_FRAME_STYLE, "html_test_app") + : wxFrame((wxFrame *)NULL, -1, title, pos, size, wxDEFAULT_FRAME_STYLE, + wxT("html_test_app")) { // create a menu bar wxMenu *menuFile = new wxMenu; wxMenu *menuNav = new wxMenu; - menuFile->Append(Minimal_PageOpen, "&Open HTML page..."); + menuFile->Append(Minimal_PageOpen, _("&Open HTML page...")); menuFile->AppendSeparator(); - menuFile->Append(Minimal_Processor, "&Remove bold attribute", "", TRUE); + menuFile->Append(Minimal_Processor, _("&Remove bold attribute"), wxT(""), TRUE); menuFile->AppendSeparator(); - menuFile->Append(Minimal_Quit, "&Close frame"); - menuNav->Append(Minimal_Back, "Go &BACK"); - menuNav->Append(Minimal_Forward, "Go &FORWARD"); + menuFile->Append(Minimal_Quit, _("&Close frame")); + menuNav->Append(Minimal_Back, _("Go &BACK")); + menuNav->Append(Minimal_Forward, _("Go &FORWARD")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); - menuBar->Append(menuNav, "&Navigate"); + menuBar->Append(menuFile, _("&File")); + menuBar->Append(menuNav, _("&Navigate")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -195,10 +196,10 @@ class BoldProcessor : public wxHtmlProcessor m_Processor = new BoldProcessor; m_Processor->Enable(FALSE); m_Html = new wxHtmlWindow(this); - m_Html->SetRelatedFrame(this, "HTML : %s"); + m_Html->SetRelatedFrame(this, _("HTML : %s")); m_Html->SetRelatedStatusBar(0); m_Html->ReadCustomization(wxConfig::Get()); - m_Html->LoadPage("test.htm"); + m_Html->LoadPage(wxT("test.htm")); m_Html->AddProcessor(m_Processor); } @@ -215,19 +216,19 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnPageOpen(wxCommandEvent& WXUNUSED(event)) { - wxString p = wxFileSelector(wxT("Open HTML document"), wxT(""), wxT(""), wxT(""), wxT("HTML files|*.htm")); + wxString p = wxFileSelector(_("Open HTML document"), wxT(""), wxT(""), wxT(""), wxT("HTML files|*.htm")); if (p != wxEmptyString) m_Html -> LoadPage(p); } void MyFrame::OnBack(wxCommandEvent& WXUNUSED(event)) { -if (!m_Html -> HistoryBack()) wxMessageBox("You reached prehistory era!"); +if (!m_Html -> HistoryBack()) wxMessageBox(_("You reached prehistory era!")); } void MyFrame::OnForward(wxCommandEvent& WXUNUSED(event)) { -if (!m_Html -> HistoryForward()) wxMessageBox("No more items in history!"); +if (!m_Html -> HistoryForward()) wxMessageBox(_("No more items in history!")); } void MyFrame::OnProcessor(wxCommandEvent& WXUNUSED(event)) diff --git a/samples/html/test/test.dsp b/samples/html/test/test.dsp index 58c5ea3bea..05abd7f3ce 100644 --- a/samples/html/test/test.dsp +++ b/samples/html/test/test.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmltest - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmltest - Win32 Release" diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp index f21e4d5b0f..bd681ed8a5 100644 --- a/samples/html/virtual/virtual.cpp +++ b/samples/html/virtual/virtual.cpp @@ -45,7 +45,7 @@ public: bool MyVFS::CanOpen(const wxString& location) { - return (GetProtocol(location) == "myVFS"); + return (GetProtocol(location) == wxT("myVFS")); } @@ -55,6 +55,7 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location) wxFSFile *f; wxInputStream *str; static char buf[1024]; + const wxWX2MBbuf loc = location.ToAscii(); sprintf(buf, "

        You're in Node %s

        " "Where do you want to go?

        " @@ -62,7 +63,8 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location) "sub-2
        " "sub-3
        " "
        ", - location.GetData(), location.GetData(), location.GetData(), location.GetData()); + (const char*)loc, (const char*)loc, (const char*)loc, + (const char*)loc); // NB: There's a terrible hack involved: we fill 'buf' with new data every // time this method is called and return new wxMemoryInputStream pointing to it. @@ -70,7 +72,7 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location) // this won't happen because wxHTML keeps only one "page" file opened at the // time. str = new wxMemoryInputStream(buf, strlen(buf)); - f = new wxFSFile(str, location, "text/html", wxEmptyString, wxDateTime::Today()); + f = new wxFSFile(str, location, wxT("text/html"), wxEmptyString, wxDateTime::Today()); return f; } @@ -159,7 +161,7 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location) bool MyApp::OnInit() { // Create the main application window - MyFrame *frame = new MyFrame("wxHtmlWindow testing application", + MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"), wxPoint(50, 50), wxSize(640, 480)); // Show it and tell the application that it's our main window @@ -188,14 +190,14 @@ wxHtmlWindow *html; wxMenu *menuFile = new wxMenu; wxMenu *menuNav = new wxMenu; - menuFile->Append(Minimal_Quit, "E&xit"); - menuNav->Append(Minimal_Back, "Go &BACK"); - menuNav->Append(Minimal_Forward, "Go &FORWARD"); + menuFile->Append(Minimal_Quit, _("E&xit")); + menuNav->Append(Minimal_Back, _("Go &BACK")); + menuNav->Append(Minimal_Forward, _("Go &FORWARD")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); - menuBar->Append(menuNav, "&Navigate"); + menuBar->Append(menuFile, _("&File")); + menuBar->Append(menuNav, _("&Navigate")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -203,9 +205,9 @@ wxHtmlWindow *html; CreateStatusBar(2); html = new wxHtmlWindow(this); - html -> SetRelatedFrame(this, "VFS Demo: '%s'"); + html -> SetRelatedFrame(this, _("VFS Demo: '%s'")); html -> SetRelatedStatusBar(1); - html -> LoadPage("start.htm"); + html -> LoadPage(wxT("start.htm")); } @@ -219,11 +221,11 @@ wxHtmlWindow *html; void MyFrame::OnBack(wxCommandEvent& WXUNUSED(event)) { - if (!html -> HistoryBack()) wxMessageBox("You reached prehistory era!"); + if (!html -> HistoryBack()) wxMessageBox(_("You reached prehistory era!")); } void MyFrame::OnForward(wxCommandEvent& WXUNUSED(event)) { - if (!html -> HistoryForward()) wxMessageBox("No more items in history!"); + if (!html -> HistoryForward()) wxMessageBox(_("No more items in history!")); } diff --git a/samples/html/virtual/virtual.dsp b/samples/html/virtual/virtual.dsp index 12d3189514..ba5ea226b0 100644 --- a/samples/html/virtual/virtual.dsp +++ b/samples/html/virtual/virtual.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlvirtual - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlvirtual - Win32 Release" diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp index d0849a04ce..b567e193f4 100644 --- a/samples/html/widget/widget.cpp +++ b/samples/html/widget/widget.cpp @@ -153,7 +153,7 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { // Create the main application window - MyFrame *frame = new MyFrame( "wxHtmlWindow testing application", + MyFrame *frame = new MyFrame( _("wxHtmlWindow testing application"), wxPoint(50, 50), wxSize(640, 480) ); // Show it and tell the application that it's our main window @@ -181,14 +181,14 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) wxMenu *menuFile = new wxMenu; wxMenu *menuNav = new wxMenu; - menuFile->Append(Minimal_Quit, "E&xit"); - menuNav->Append(Minimal_Back, "Go &BACK"); - menuNav->Append(Minimal_Forward, "Go &FORWARD"); + menuFile->Append(Minimal_Quit, _("E&xit")); + menuNav->Append(Minimal_Back, _("Go &BACK")); + menuNav->Append(Minimal_Forward, _("Go &FORWARD")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); - menuBar->Append(menuNav, "&Navigate"); + menuBar->Append(menuFile, _("&File")); + menuBar->Append(menuNav, _("&Navigate")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -196,9 +196,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) CreateStatusBar(2); html = new wxHtmlWindow(this); - html -> SetRelatedFrame(this, "VFS Demo: '%s'"); + html -> SetRelatedFrame(this, _("VFS Demo: '%s'")); html -> SetRelatedStatusBar(1); - html -> LoadPage("start.htm"); + html -> LoadPage(wxT("start.htm")); } @@ -212,11 +212,11 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnBack(wxCommandEvent& WXUNUSED(event)) { - if (!html -> HistoryBack()) wxMessageBox("You reached prehistory era!"); + if (!html -> HistoryBack()) wxMessageBox(_("You reached prehistory era!")); } void MyFrame::OnForward(wxCommandEvent& WXUNUSED(event)) { - if (!html -> HistoryForward()) wxMessageBox("No more items in history!"); + if (!html -> HistoryForward()) wxMessageBox(_("No more items in history!")); } diff --git a/samples/html/widget/widget.dsp b/samples/html/widget/widget.dsp index 354881b545..1362335885 100644 --- a/samples/html/widget/widget.dsp +++ b/samples/html/widget/widget.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlwidget - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlwidget - Win32 Release" diff --git a/samples/html/zip/zip.cpp b/samples/html/zip/zip.cpp index 3eb2d0daa4..655715c590 100644 --- a/samples/html/zip/zip.cpp +++ b/samples/html/zip/zip.cpp @@ -112,7 +112,7 @@ bool MyApp::OnInit() wxFileSystem::AddHandler(new wxZipFSHandler); // Create the main application window - MyFrame *frame = new MyFrame( "wxHtmlWindow testing application", + MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"), wxPoint(50, 50), wxSize(640, 480) ); // Show it and tell the application that it's our main window @@ -141,14 +141,14 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) wxMenu *menuFile = new wxMenu; wxMenu *menuNav = new wxMenu; - menuFile->Append(Minimal_Quit, "E&xit"); - menuNav->Append(Minimal_Back, "Go &BACK"); - menuNav->Append(Minimal_Forward, "Go &FORWARD"); + menuFile->Append(Minimal_Quit, _("E&xit")); + menuNav->Append(Minimal_Back, _("Go &BACK")); + menuNav->Append(Minimal_Forward, _("Go &FORWARD")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar; - menuBar->Append(menuFile, "&File"); - menuBar->Append(menuNav, "&Navigate"); + menuBar->Append(menuFile, _("&File")); + menuBar->Append(menuNav, _("&Navigate")); // ... and attach this menu bar to the frame SetMenuBar(menuBar); @@ -157,9 +157,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) { html = new wxHtmlWindow(this); - html -> SetRelatedFrame(this, "HTML : %s"); + html -> SetRelatedFrame(this, _("HTML : %s")); html -> SetRelatedStatusBar(0); - html -> LoadPage("start.htm"); + html -> LoadPage(wxT("start.htm")); } } @@ -174,10 +174,10 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnBack(wxCommandEvent& WXUNUSED(event)) { - if (!html -> HistoryBack()) wxMessageBox("You reached prehistory era!"); + if (!html -> HistoryBack()) wxMessageBox(_("You reached prehistory era!")); } void MyFrame::OnForward(wxCommandEvent& WXUNUSED(event)) { - if (!html -> HistoryForward()) wxMessageBox("No more items in history!"); + if (!html -> HistoryForward()) wxMessageBox(_("No more items in history!")); } diff --git a/samples/html/zip/zip.dsp b/samples/html/zip/zip.dsp index c3fd85f552..cc022c671a 100644 --- a/samples/html/zip/zip.dsp +++ b/samples/html/zip/zip.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "htmlzip - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "htmlzip - Win32 Release" diff --git a/samples/image/horse3.ani b/samples/image/horse3.ani new file mode 100644 index 0000000000000000000000000000000000000000..24ef4b1e23dd62589814fad4102b7e14d52bfbfd GIT binary patch literal 17268 zcmeHN&1w`u5FQg@(MxjDi;y55e2XZG5D*3R1%fE%UVoyqP-cc9bt^Zj(s>`umsFLs|iIegSK4<9{$ws)}q?q1V0G_H3ePrc)2 z&aUP0aqsZWW}Yd(A;#0)m#^+*y|*9t-tWKuaPXBt&06McZ#T_mbG!MRE4Om(ejd5h zJjf$=^Ur*==+kiZ^Xi|0PhY+#9*fuwd&@bx4&p{RgqNNeNA#Fm!(pyAd-WvO!;$z> z?9n0&YLs}0P2GWY%1b)3hg{i{G2$ra1ACHZ#mJ=`IU1%^Lw+eA(;?1S&#IUFuxDvS z`>1c_QGE+<`C;GEi}X?3lSlL|tj7;AmS&`n+MYb3Z(%)th_N)iebn{lUVRJa^+TMc z>*=FrB=_iBn1~-@Ep1O9H6yu4zl4c+Y1opsr>AK~Y90>_6Y=n3HJ`DXSF;v3=1cWj z%^IGz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p @@ -60,12 +60,14 @@ public: wxBitmap *my_horse_ico16; wxBitmap *my_horse_ico; wxBitmap *my_horse_cur; + wxBitmap *my_horse_ani; wxBitmap *my_smile_xbm; wxBitmap *my_square; wxBitmap *my_anti; int xH, yH ; + int m_ani_images ; protected: wxBitmap m_bmpSmileXpm; @@ -264,11 +266,14 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, my_horse_ico16 = (wxBitmap*) NULL; my_horse_ico = (wxBitmap*) NULL; my_horse_cur = (wxBitmap*) NULL; + my_horse_ani = (wxBitmap*) NULL; my_smile_xbm = (wxBitmap*) NULL; my_square = (wxBitmap*) NULL; my_anti = (wxBitmap*) NULL; + m_ani_images = 0 ; + SetBackgroundColour(* wxWHITE); wxBitmap bitmap( 100, 100 ); @@ -285,9 +290,9 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, // try to find the directory with our images wxString dir; if ( wxFile::Exists(wxT("./horse.png")) ) - dir = "./"; + dir = wxT("./"); else if ( wxFile::Exists(wxT("../horse.png")) ) - dir = "../"; + dir = wxT("../"); else wxLogWarning(wxT("Can't find image files in either '.' or '..'!")); @@ -322,7 +327,7 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, #if wxUSE_GIF image.Destroy(); - if ( !image.LoadFile( dir + wxString("horse.gif"))) + if ( !image.LoadFile( dir + _T("horse.gif" )) ) wxLogError(wxT("Can't load GIF image")); else my_horse_gif = new wxBitmap( image ); @@ -417,6 +422,27 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, xH = 30 + image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X) ; yH = 2420 + image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_Y) ; } + + m_ani_images = wxImage::GetImageCount ( dir + _T("horse.ani"), wxBITMAP_TYPE_ANI ); + if (m_ani_images==0) + wxLogError(wxT("No ANI-format images found")); + else + my_horse_ani = new wxBitmap [m_ani_images]; + int i ; + for (i=0; i < m_ani_images; i++) + { + image.Destroy(); + if (!image.LoadFile( dir + _T("horse.ani"), wxBITMAP_TYPE_ANI, i )) + { + wxString tmp = wxT("Can't load image number "); + tmp << i ; + wxLogError(tmp); + } + else + my_horse_ani [i] = wxBitmap( image ); + } + + #endif image.Destroy(); @@ -454,6 +480,7 @@ MyCanvas::~MyCanvas() delete my_horse_ico16; delete my_horse_ico; delete my_horse_cur; + delete [] my_horse_ani; delete my_smile_xbm; delete my_square; delete my_anti; @@ -611,6 +638,13 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) dc.DrawLine (xH-10,yH,xH+10,yH); dc.DrawLine (xH,yH-10,xH,yH+10); } + dc.DrawText( _T("ANI handler"), 230, 2390 ); + int i ; + for (i=0; i < m_ani_images; i ++) + if (my_horse_ani[i].Ok()) + { + dc.DrawBitmap( my_horse_ani[i], 230 + i * 2 * my_horse_ani[i].GetWidth() , 2420, TRUE ); + } } void MyCanvas::CreateAntiAliasedBitmap() @@ -768,6 +802,7 @@ bool MyApp::OnInit() #if wxUSE_ICO_CUR wxImage::AddHandler( new wxICOHandler ); wxImage::AddHandler( new wxCURHandler ); + wxImage::AddHandler( new wxANIHandler ); #endif wxFrame *frame = new MyFrame(); diff --git a/samples/image/image.dsp b/samples/image/image.dsp index b13f17b54b..7d52e747aa 100644 --- a/samples/image/image.dsp +++ b/samples/image/image.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "image - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "image - Win32 Release" diff --git a/samples/internat/de/internat.mo b/samples/internat/de/internat.mo index c5adfd9059dd7b623ef45f4655aaa8ac617ada90..a8204ad49d03117991d03991453dafe83629a0f8 100644 GIT binary patch delta 701 zcmYMwL2J}N6bJCx+UlBCt@R*i4?~4TEE6}PYc|%>uo>52vRQVw1wA#p9b;roN-|3K zl!IRS0lcW-Q4l;8JbCgPcof8=R}X?9c@Eqp9;aRB7{%>phI8yZl96LfKB)o zuE4Lbiu1|ea$yeFQw5h{4GtmBpWYr!H$yLE9;seH9j0Ccw>XSb7@@CeVB5nugOPeI z6(^ADLZoI7(}Qt^SBh?yJ{BX%+#R+hvOG=`i+1hSJ-f~67Vq`lprdtz0c&L1~xPiZXmn@!x<@B+-Up(Y;VBE&@tU;FH=nF=CqJajzBX} z36L4V85n_C9fj|CUOn4+pL_1TyXW3FNX(-CG8=vrB14{%4`hx^IwCP_VFY`4ho>3dVqi!7IF@E3?&h7da zYU4Ft;t$5L8WPFl6`o@g3pm6mPHa65)_sw028M-Vm=B?wH1zdcIyhASPKwkmdbz*Q yKSAFhIOad}VhLO6BMwMYZCu~ox~?ncqTTVt)NZ`)=-w$ik%eh^z0oH0;_LteBquNc diff --git a/samples/internat/de/internat.po b/samples/internat/de/internat.po index 8f4bb2036c..c33de1ebf0 100644 --- a/samples/internat/de/internat.po +++ b/samples/internat/de/internat.po @@ -20,7 +20,7 @@ msgstr "Internationales wxWindows Programm" #: ../internat.cpp:128 msgid "&About..." -msgstr "Ü&ber" +msgstr "Ü&ber..." #: ../internat.cpp:130 msgid "E&xit" diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index d009e1cbf8..42ac1167e8 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -120,7 +120,7 @@ bool MyApp::OnInit() #ifdef __LINUX__ { wxLogNull noLog; - m_locale.AddCatalog("fileutils"); // 3) and another just for testing + m_locale.AddCatalog(_T("fileutils")); // 3) and another just for testing } #endif @@ -171,10 +171,12 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) ) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { wxString localeInfo; + wxString locale = m_locale.GetLocale(); + wxString sysname = m_locale.GetSysName(); + wxString canname = m_locale.GetCanonicalName(); + localeInfo.Printf( _("Language: %s\nSystem locale name: %s\nCanonical locale name: %s\n"), - m_locale.GetLocale(), - m_locale.GetSysName().c_str(), - m_locale.GetCanonicalName().c_str() ); + locale.c_str(), sysname.c_str(), canname.c_str() ); wxMessageDialog(this, wxString(_("I18n sample\n(c) 1998, 1999 Vadim Zeitlin and Julian Smart")) + wxT("\n\n") + localeInfo, @@ -193,7 +195,7 @@ void MyFrame::OnPlay(wxCommandEvent& WXUNUSED(event)) if ( num == 0 ) str = _("You've probably entered an invalid number."); else if ( num == 9 ) // this message is not translated (not in catalog) - str = "You've found a bug in this program!"; + str = _T("You've found a bug in this program!"); else if ( num != 17 ) // a more implicit way to write _() str = wxGetTranslation(wxT("Bad luck! try again...")); else diff --git a/samples/internat/internat.dsp b/samples/internat/internat.dsp index 5bae3cd4e7..9ef0705258 100644 --- a/samples/internat/internat.dsp +++ b/samples/internat/internat.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "internat - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "internat - Win32 Release" diff --git a/samples/ipc/client.dsp b/samples/ipc/client.dsp index 81561b912f..1cd5936efe 100644 --- a/samples/ipc/client.dsp +++ b/samples/ipc/client.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "ipcclient - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "ipcclient - Win32 Release" diff --git a/samples/ipc/server.dsp b/samples/ipc/server.dsp index ef4c46dbe3..aebc681acf 100644 --- a/samples/ipc/server.dsp +++ b/samples/ipc/server.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "ipcserver - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "ipcserver - Win32 Release" diff --git a/samples/joytest/joytest.dsp b/samples/joytest/joytest.dsp index 7c78279668..d4a280e280 100644 --- a/samples/joytest/joytest.dsp +++ b/samples/joytest/joytest.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "joytest - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "joytest - Win32 Release" diff --git a/samples/keyboard/keyboard.cpp b/samples/keyboard/keyboard.cpp index 479d539f4c..aca5749e2b 100644 --- a/samples/keyboard/keyboard.cpp +++ b/samples/keyboard/keyboard.cpp @@ -465,7 +465,8 @@ void TextWindow::LogEvent(const wxChar *name, wxKeyEvent& event) if ( keycode == 0 ) key.Printf(_T("NUL")); else if ( keycode < 27 ) - key.Printf(_T("Ctrl-%c"), _T('A') + keycode - 1); + key.Printf(_T("Ctrl-%c"), + (unsigned char)(_T('A') + keycode - 1)); else key.Printf(_T("'%c'"), (unsigned char)keycode); } @@ -488,8 +489,8 @@ void TextWindow::LogEvent(const wxChar *name, wxKeyEvent& event) if ( m_showRaw ) { msg += wxString::Format(_T(" (raw key code/flags: %lu and 0x%lx)"), - event.GetRawKeyCode(), - event.GetRawKeyFlags()); + (unsigned long)event.GetRawKeyCode(), + (unsigned long)event.GetRawKeyFlags()); } wxLogMessage(msg); diff --git a/samples/keyboard/keyboard.dsp b/samples/keyboard/keyboard.dsp index 4e8926962c..ce1a859a26 100644 --- a/samples/keyboard/keyboard.dsp +++ b/samples/keyboard/keyboard.dsp @@ -55,7 +55,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "keyboard - Win32 Debug DLL" @@ -81,7 +81,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "keyboard - Win32 Release" diff --git a/samples/keyboard/keyboard.rc b/samples/keyboard/keyboard.rc index 2b5e356d5f..b86c4e2265 100644 --- a/samples/keyboard/keyboard.rc +++ b/samples/keyboard/keyboard.rc @@ -1 +1 @@ -/* Placeholder so makefile doesn't complain */ +#include "wx/msw/wx.rc" diff --git a/samples/layout/layout.cpp b/samples/layout/layout.cpp index c3bfb5e58d..5effcb4f1f 100644 --- a/samples/layout/layout.cpp +++ b/samples/layout/layout.cpp @@ -45,7 +45,7 @@ MyApp::MyApp() bool MyApp::OnInit() { // Create the main frame window - frame = new MyFrame((MyFrame *) NULL, (char *) "wxWindows Layout Demo", 0, 0, 550, 500); + frame = new MyFrame(NULL, "wxWindows Layout Demo", -1, -1, 400, 300); frame->SetAutoLayout(TRUE); @@ -55,7 +55,6 @@ bool MyApp::OnInit() // Make a menubar wxMenu *file_menu = new wxMenu; - file_menu->Append(LAYOUT_LOAD_FILE, "&Load file", "Load a text file"); file_menu->Append(LAYOUT_TEST_SIZER, "&Test sizers", "Test sizer"); file_menu->Append(LAYOUT_TEST_NB, "&Test notebook sizers", "Test notebook sizer"); @@ -74,21 +73,19 @@ bool MyApp::OnInit() frame->SetMenuBar(menu_bar); // Make a panel - frame->panel = new wxPanel(frame, 0, 0, 1000, 500, wxTAB_TRAVERSAL); - frame->panel->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); -// frame->panel->SetAutoLayout(TRUE); + wxPanel *panel = new wxPanel(frame); // Create some panel items - wxButton *btn1 = new wxButton(frame->panel, -1, "A button (1)") ; + wxButton *btn1 = new wxButton(panel, -1, "A button (1)") ; wxLayoutConstraints *b1 = new wxLayoutConstraints; - b1->centreX.SameAs (frame->panel, wxCentreX); - b1->top.SameAs (frame->panel, wxTop, 5); - b1->width.PercentOf (frame->panel, wxWidth, 80); - b1->height.PercentOf (frame->panel, wxHeight, 10); + b1->centreX.SameAs (panel, wxCentreX); + b1->top.SameAs (panel, wxTop, 5); + b1->width.PercentOf (panel, wxWidth, 80); + b1->height.AsIs (); btn1->SetConstraints(b1); - wxListBox *list = new wxListBox(frame->panel, -1, + wxListBox *list = new wxListBox(panel, -1, wxPoint(-1, -1), wxSize(200, 100)); list->Append("Apple"); list->Append("Pear"); @@ -98,28 +95,24 @@ bool MyApp::OnInit() wxLayoutConstraints *b2 = new wxLayoutConstraints; b2->top.Below (btn1, 5); - b2->left.SameAs (frame->panel, wxLeft, 5); - b2->width.PercentOf (frame->panel, wxWidth, 40); - b2->bottom.SameAs (frame->panel, wxBottom, 5); + b2->left.SameAs (panel, wxLeft, 5); + b2->width.PercentOf (panel, wxWidth, 40); + b2->bottom.SameAs (panel, wxBottom, 5); list->SetConstraints(b2); - wxTextCtrl *mtext = new wxTextCtrl(frame->panel, -1, "Some text", - wxPoint(-1, -1), wxSize(150, 100)); + wxTextCtrl *mtext = new wxTextCtrl(panel, -1, "Some text"); wxLayoutConstraints *b3 = new wxLayoutConstraints; b3->top.Below (btn1, 5); b3->left.RightOf (list, 5); - b3->right.SameAs (frame->panel, wxRight, 5); - b3->bottom.SameAs (frame->panel, wxBottom, 5); + b3->right.SameAs (panel, wxRight, 5); + b3->bottom.SameAs (panel, wxBottom, 5); mtext->SetConstraints(b3); - frame->canvas = new MyWindow(frame, 0, 0, 400, 400, wxRETAINED); - - // Give it scrollbars: the virtual canvas is 20 * 50 = 1000 pixels in each direction -// canvas->SetScrollbars(20, 20, 50, 50, 4, 4); + MyWindow *canvas = new MyWindow(frame, 0, 0, 400, 400, wxRETAINED); // Make a text window - frame->text_window = new MyTextWindow(frame, 0, 250, 400, 250); + MyTextWindow *text_window = new MyTextWindow(frame, 0, 250, 400, 150); // Set constraints for panel subwindow wxLayoutConstraints *c1 = new wxLayoutConstraints; @@ -129,32 +122,33 @@ bool MyApp::OnInit() c1->right.PercentOf (frame, wxWidth, 50); c1->height.PercentOf (frame, wxHeight, 50); - frame->panel->SetConstraints(c1); + panel->SetConstraints(c1); // Set constraints for canvas subwindow wxLayoutConstraints *c2 = new wxLayoutConstraints; - c2->left.SameAs (frame->panel, wxRight); + c2->left.SameAs (panel, wxRight); c2->top.SameAs (frame, wxTop); c2->right.SameAs (frame, wxRight); c2->height.PercentOf (frame, wxHeight, 50); - frame->canvas->SetConstraints(c2); + canvas->SetConstraints(c2); // Set constraints for text subwindow wxLayoutConstraints *c3 = new wxLayoutConstraints; c3->left.SameAs (frame, wxLeft); - c3->top.Below (frame->panel); + c3->top.Below (panel); c3->right.SameAs (frame, wxRight); c3->bottom.SameAs (frame, wxBottom); - frame->text_window->SetConstraints(c3); + text_window->SetConstraints(c3); frame->Show(TRUE); frame->SetStatusText("wxWindows layout demo"); SetTopWindow(frame); + return TRUE; } @@ -163,43 +157,26 @@ bool MyApp::OnInit() //----------------------------------------------------------------- // Define my frame constructor -MyFrame::MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h): - wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h)) +MyFrame::MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h) + : wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h)) { - panel = (wxPanel *) NULL; - text_window = (MyTextWindow *) NULL; - canvas = (MyWindow *) NULL; } BEGIN_EVENT_TABLE(MyFrame, wxFrame) - EVT_MENU(LAYOUT_LOAD_FILE, MyFrame::LoadFile) - EVT_MENU(LAYOUT_QUIT, MyFrame::Quit) + EVT_MENU(LAYOUT_QUIT, MyFrame::OnQuit) EVT_MENU(LAYOUT_TEST_SIZER, MyFrame::TestSizers) EVT_MENU(LAYOUT_TEST_NB, MyFrame::TestNotebookSizers) EVT_MENU(LAYOUT_ABOUT, MyFrame::About) - EVT_SIZE(MyFrame::OnSize) END_EVENT_TABLE() -void MyFrame::LoadFile(wxCommandEvent& WXUNUSED(event) ) -{ - wxString s = wxFileSelector( _T("Load text file"), (const wxChar *) NULL, - (const wxChar *) NULL, (const wxChar *) NULL, _T("*.txt") ); - if (s != "") - { -#ifdef __WXMSW__ - frame->text_window->LoadFile(s); -#endif - } -} - -void MyFrame::Quit(wxCommandEvent& WXUNUSED(event) ) +void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) ) { - this->Close(TRUE); + Close(TRUE); } void MyFrame::TestSizers(wxCommandEvent& WXUNUSED(event) ) { - MySizerFrame *newFrame = new MySizerFrame((MyFrame *) NULL, "Sizer Test Frame", 50, 50 ); + MySizerFrame *newFrame = new MySizerFrame(NULL, "Sizer Test Frame", 50, 50); newFrame->Show(TRUE); } @@ -256,14 +233,28 @@ void MyFrame::About(wxCommandEvent& WXUNUSED(event) ) "About Layout Demo", wxOK|wxCENTRE); } -// Size the subwindows when the frame is resized -void MyFrame::OnSize(wxSizeEvent& WXUNUSED(event) ) +//----------------------------------------------------------------- +// MyWindow +//----------------------------------------------------------------- + +BEGIN_EVENT_TABLE(MyWindow, wxWindow) + EVT_PAINT(MyWindow::OnPaint) +END_EVENT_TABLE() + +// Define a constructor for my canvas +MyWindow::MyWindow(wxFrame *frame, int x, int y, int w, int h, long style) + : wxWindow(frame, -1, wxPoint(x, y), wxSize(w, h), style) { - Layout(); } -void MyFrame::Draw(wxDC& dc, bool WXUNUSED(draw_bitmaps) ) +MyWindow::~MyWindow() { +} + +// Define the repainting behaviour +void MyWindow::OnPaint(wxPaintEvent& WXUNUSED(event) ) +{ + wxPaintDC dc(this); dc.SetPen(* wxGREEN_PEN); dc.DrawLine(0, 0, 200, 200); dc.DrawLine(200, 0, 0, 200); @@ -284,37 +275,12 @@ void MyFrame::Draw(wxDC& dc, bool WXUNUSED(draw_bitmaps) ) dc.DrawArc(50, 300, 100, 250, 100, 300 ); } -//----------------------------------------------------------------- -// MyWindow -//----------------------------------------------------------------- - -BEGIN_EVENT_TABLE(MyWindow, wxWindow) - EVT_PAINT(MyWindow::OnPaint) -END_EVENT_TABLE() - -// Define a constructor for my canvas -MyWindow::MyWindow(wxFrame *frame, int x, int y, int w, int h, long style): - wxWindow(frame, -1, wxPoint(x, y), wxSize(w, h), style) -{ -} - -MyWindow::~MyWindow() -{ -} - -// Define the repainting behaviour -void MyWindow::OnPaint(wxPaintEvent& WXUNUSED(event) ) -{ - wxPaintDC dc(this); - frame->Draw(dc,TRUE); -} - //----------------------------------------------------------------- // MySizerFrame //----------------------------------------------------------------- -MySizerFrame::MySizerFrame(wxFrame *frame, char *title, int x, int y ): - wxFrame(frame, -1, title, wxPoint(x, y) ) +MySizerFrame::MySizerFrame(wxFrame *frame, char *title, int x, int y ) + : wxFrame(frame, -1, title, wxPoint(x, y) ) { // we want to get a dialog that is stretchable because it // has a text ctrl in the middle. at the bottom, we have @@ -394,12 +360,8 @@ MySizerFrame::MySizerFrame(wxFrame *frame, char *title, int x, int y ): 0, // make vertically unstretchable wxCENTER ); // no border and centre horizontally - SetAutoLayout( TRUE ); - - // set frame to minimum size - topsizer->Fit( this ); - - // don't allow frame to get smaller than what the sizers tell ye + // don't allow frame to get smaller than what the sizers tell it and also set + // the initial size as calculated by the sizers topsizer->SetSizeHints( this ); SetSizer( topsizer ); diff --git a/samples/layout/layout.dsp b/samples/layout/layout.dsp index ea1fab9559..f041f9d668 100644 --- a/samples/layout/layout.dsp +++ b/samples/layout/layout.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "layout - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "layout - Win32 Release" diff --git a/samples/layout/layout.h b/samples/layout/layout.h index eba0332e16..e70addbe1a 100644 --- a/samples/layout/layout.h +++ b/samples/layout/layout.h @@ -24,15 +24,10 @@ class MyWindow; class MyFrame: public wxFrame { public: - wxPanel *panel; - MyTextWindow *text_window; - MyWindow *canvas; - MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h); - void OnSize(wxSizeEvent& event); - void Draw(wxDC& dc, bool draw_bitmaps = TRUE); + MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h); + + void OnQuit(wxCommandEvent& event); - void LoadFile(wxCommandEvent& event); - void Quit(wxCommandEvent& event); void TestSizers(wxCommandEvent& event); void TestNotebookSizers(wxCommandEvent& event); void About(wxCommandEvent& event); @@ -61,7 +56,7 @@ public: ~MyWindow(); void OnPaint(wxPaintEvent& event); -private: +private: DECLARE_EVENT_TABLE() }; @@ -75,6 +70,5 @@ public: #define LAYOUT_QUIT 100 #define LAYOUT_TEST 101 #define LAYOUT_ABOUT 102 -#define LAYOUT_LOAD_FILE 103 #define LAYOUT_TEST_SIZER 104 #define LAYOUT_TEST_NB 105 diff --git a/samples/listctrl/listctrl.dsp b/samples/listctrl/listctrl.dsp index 3705b62a9e..f471bbe9b3 100644 --- a/samples/listctrl/listctrl.dsp +++ b/samples/listctrl/listctrl.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "listctrl - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "listctrl - Win32 Release" diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index 9d81a24486..3777ac5c16 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -117,7 +117,9 @@ static const int NUM_ICONS = 9; int wxCALLBACK MyCompareFunction(long item1, long item2, long sortData) { // inverse the order - return item1 < item2; + if (item1 < item2) return -1; + if (item1 > item2) return 1; + return 0; } // `Main program' equivalent, creating windows and returning main app frame @@ -223,7 +225,8 @@ MyFrame::MyFrame(const wxChar *title, int x, int y, int w, int h) menubar->Append(menuCol, _T("&Colour")); SetMenuBar(menubar); - m_logWindow = new wxTextCtrl(this, -1, wxEmptyString, + m_panel = new wxPanel(this, -1); + m_logWindow = new wxTextCtrl(m_panel, -1, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxSUNKEN_BORDER); @@ -328,7 +331,7 @@ void MyFrame::RecreateList(long flags, bool withText) { delete m_listCtrl; - m_listCtrl = new MyListCtrl(this, LIST_CTRL, + m_listCtrl = new MyListCtrl(m_panel, LIST_CTRL, wxDefaultPosition, wxDefaultSize, flags | wxSUNKEN_BORDER | wxLC_EDIT_LABELS); @@ -658,19 +661,30 @@ void MyListCtrl::OnColRightClick(wxListEvent& event) wxLogMessage( wxT("OnColumnRightClick at %d."), event.GetColumn() ); } +void MyListCtrl::LogColEvent(const wxListEvent& event, const wxChar *name) +{ + const int col = event.GetColumn(); + + wxLogMessage(wxT("%s: column %d (width = %d or %d)."), + name, + col, + event.GetItem().GetWidth(), + GetColumnWidth(col)); +} + void MyListCtrl::OnColBeginDrag(wxListEvent& event) { - wxLogMessage( wxT("OnColBeginDrag: column %d."), event.GetColumn() ); + LogColEvent( event, wxT("OnColBeginDrag") ); } void MyListCtrl::OnColDragging(wxListEvent& event) { - wxLogMessage( wxT("OnColDragging: column %d."), event.GetColumn() ); + LogColEvent( event, wxT("OnColDragging") ); } void MyListCtrl::OnColEndDrag(wxListEvent& event) { - wxLogMessage( wxT("OnColEndDrag: column %d."), event.GetColumn() ); + LogColEvent( event, wxT("OnColEndDrag") ); } void MyListCtrl::OnBeginDrag(wxListEvent& event) diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index a887cdb29e..a86724980d 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -58,6 +58,7 @@ private: void SetColumnImage(int col, int image); void LogEvent(const wxListEvent& event, const wxChar *eventName); + void LogColEvent(const wxListEvent& event, const wxChar *eventName); virtual wxString OnGetItemText(long item, long column) const; virtual int OnGetItemImage(long item) const; @@ -72,13 +73,10 @@ private: class MyFrame: public wxFrame { public: - MyListCtrl *m_listCtrl; - wxTextCtrl *m_logWindow; - MyFrame(const wxChar *title, int x, int y, int w, int h); ~MyFrame(); -public: +protected: void OnSize(wxSizeEvent& event); void OnQuit(wxCommandEvent& event); @@ -113,6 +111,10 @@ public: wxImageList *m_imageListNormal; wxImageList *m_imageListSmall; + wxPanel *m_panel; + MyListCtrl *m_listCtrl; + wxTextCtrl *m_logWindow; + private: // recreate the list control with the new flags void RecreateList(long flags, bool withText = TRUE); diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index e5833ef4e8..911d25cbdb 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -286,7 +286,7 @@ void MyFrame::OnSize(wxSizeEvent& event) // FIXME: On wxX11, we need the MDI frame to process this // event, but on other platforms this should not // be done. -#ifdef __WXX11__ +#ifdef __WXUNIVERSAL__ event.Skip(); #endif } @@ -443,6 +443,7 @@ void MyChild::OnChangeSize(wxCommandEvent& WXUNUSED(event)) void MyChild::OnChangeTitle(wxCommandEvent& WXUNUSED(event)) { +//#if wxUSE_TEXTDLG static wxString s_title = _T("Canvas Frame"); wxString title = wxGetTextFromUser(_T("Enter the new title for MDI child"), @@ -454,6 +455,7 @@ void MyChild::OnChangeTitle(wxCommandEvent& WXUNUSED(event)) s_title = title; SetTitle(s_title); +//#endif } void MyChild::OnActivate(wxActivateEvent& event) diff --git a/samples/mdi/mdi.dsp b/samples/mdi/mdi.dsp index f3aa527a24..5bf18acc94 100644 --- a/samples/mdi/mdi.dsp +++ b/samples/mdi/mdi.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "mdi - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "mdi - Win32 Release" diff --git a/samples/memcheck/memcheck.dsp b/samples/memcheck/memcheck.dsp index 194fb12bbd..eb41f542cd 100644 --- a/samples/memcheck/memcheck.dsp +++ b/samples/memcheck/memcheck.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "memcheck - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "memcheck - Win32 Release" diff --git a/samples/menu/menu.dsp b/samples/menu/menu.dsp index 57f5dd6314..e3c85e709e 100644 --- a/samples/menu/menu.dsp +++ b/samples/menu/menu.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "menu - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "menu - Win32 Release" diff --git a/samples/mfc/mfc.dsp b/samples/mfc/mfc.dsp index 99057a63db..96b2e920d6 100644 --- a/samples/mfc/mfc.dsp +++ b/samples/mfc/mfc.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "mfc - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "mfc - Win32 Release" diff --git a/samples/minifram/minifram.dsp b/samples/minifram/minifram.dsp index ed142ff622..afa6a9adac 100644 --- a/samples/minifram/minifram.dsp +++ b/samples/minifram/minifram.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "minifram - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "minifram - Win32 Release" diff --git a/samples/minimal/minimal.dsp b/samples/minimal/minimal.dsp index 5d16d3a8ad..68653c3032 100644 --- a/samples/minimal/minimal.dsp +++ b/samples/minimal/minimal.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "minimal - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "minimal - Win32 Release" diff --git a/samples/multimon/Makefile.in b/samples/multimon/Makefile.in new file mode 100644 index 0000000000..f3c2192412 --- /dev/null +++ b/samples/multimon/Makefile.in @@ -0,0 +1,23 @@ +# +# File: makefile.unx +# Author: Julian Smart +# Created: 1998 +# Updated: +# Copyright: (c) 1998 Julian Smart +# +# "%W% %G%" +# +# Makefile for multimon example (UNIX). + +top_srcdir = @top_srcdir@/.. +top_builddir = ../.. +program_dir = samples/multimon + +PROGRAM=multimon_test + +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d + +include ../../src/makeprog.env + +@IF_GNU_MAKE@-include $(DEPFILES) diff --git a/samples/nativdlg/Makefile.in b/samples/nativdlg/Makefile.in new file mode 100644 index 0000000000..5270185df6 --- /dev/null +++ b/samples/nativdlg/Makefile.in @@ -0,0 +1,23 @@ +# +# File: makefile.unx +# Author: Julian Smart +# Created: 1998 +# Updated: +# Copyright: (c) 1998 Julian Smart +# +# "%W% %G%" +# +# Makefile for nativedlg example (UNIX). + +top_srcdir = @top_srcdir@/.. +top_builddir = ../.. +program_dir = samples/nativedlg + +PROGRAM=nativedlg + +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d + +include ../../src/makeprog.env + +@IF_GNU_MAKE@-include $(DEPFILES) diff --git a/samples/nativdlg/nativdlg.dsp b/samples/nativdlg/nativdlg.dsp index c5505ca1aa..e594b30ede 100644 --- a/samples/nativdlg/nativdlg.dsp +++ b/samples/nativdlg/nativdlg.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "nativdlg - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "nativdlg - Win32 Release" diff --git a/samples/newgrid/griddemo.cpp b/samples/newgrid/griddemo.cpp index 5557e3743c..e1820b8a53 100644 --- a/samples/newgrid/griddemo.cpp +++ b/samples/newgrid/griddemo.cpp @@ -246,7 +246,13 @@ GridFrame::GridFrame() // this will create a grid and, by default, an associated grid // table for strings - grid->CreateGrid( 100, 100 ); + grid->CreateGrid( 0, 0 ); + grid->AppendRows(100); + grid->AppendCols(100); + + int ir = grid->GetNumberRows(); + grid->DeleteRows(0, ir); + grid->AppendRows(ir); grid->SetRowSize( 0, 60 ); grid->SetCellValue( 0, 0, "Ctrl+Home\nwill go to\nthis cell" ); diff --git a/samples/newgrid/newgrid.dsp b/samples/newgrid/newgrid.dsp index cf3ff36050..70662ff198 100644 --- a/samples/newgrid/newgrid.dsp +++ b/samples/newgrid/newgrid.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "newgrid - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "newgrid - Win32 Release" diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 8625be4de8..940c084d5f 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -439,11 +439,13 @@ void MyFrame::OnButtonAddPage( wxCommandEvent& WXUNUSED(event) ) static size_t s_pageAdded = 0; wxPanel *panel = new wxPanel( m_notebook, -1 ); - (void) new wxButton( panel, -1, wxT("Button"), + (void) new wxButton( panel, -1, wxT("Frist button"), wxPoint(10, 10), wxSize(-1, -1) ); + (void) new wxButton( panel, -1, wxT("Second button"), + wxPoint(50, 100), wxSize(-1, -1) ); m_notebook->AddPage(panel, wxString::Format(ADDED_PAGE_NAME wxT("%u"), - ++s_pageAdded), FALSE, m_notebook->GetIconIndex() ); + ++s_pageAdded), TRUE, m_notebook->GetIconIndex() ); } void MyFrame::OnButtonInsertPage( wxCommandEvent& WXUNUSED(event) ) diff --git a/samples/notebook/notebook.dsp b/samples/notebook/notebook.dsp index 3522063182..fc53bafee5 100644 --- a/samples/notebook/notebook.dsp +++ b/samples/notebook/notebook.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "notebook - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "notebook - Win32 Release" diff --git a/samples/oleauto/Makefile.in b/samples/oleauto/Makefile.in new file mode 100644 index 0000000000..fd2aaba9a2 --- /dev/null +++ b/samples/oleauto/Makefile.in @@ -0,0 +1,23 @@ +# +# File: makefile.unx +# Author: Julian Smart +# Created: 1998 +# Updated: +# Copyright: (c) 1998 Julian Smart +# +# "%W% %G%" +# +# Makefile for oleauto example (UNIX). + +top_srcdir = @top_srcdir@/.. +top_builddir = ../.. +program_dir = samples/oleauto + +PROGRAM=oleauto + +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d + +include ../../src/makeprog.env + +@IF_GNU_MAKE@-include $(DEPFILES) diff --git a/samples/oleauto/oleauto.dsp b/samples/oleauto/oleauto.dsp index 269e7e80b9..8e47c7e074 100644 --- a/samples/oleauto/oleauto.dsp +++ b/samples/oleauto/oleauto.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "oleauto - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "oleauto - Win32 Release" diff --git a/samples/opengl/cube/cube.dsp b/samples/opengl/cube/cube.dsp index 9e1ffbb5d9..e9ef1ae99d 100644 --- a/samples/opengl/cube/cube.dsp +++ b/samples/opengl/cube/cube.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "glcube - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "glcube - Win32 Release" diff --git a/samples/opengl/isosurf/isosurf.dsp b/samples/opengl/isosurf/isosurf.dsp index fad1e23e3d..e48e1cdab8 100644 --- a/samples/opengl/isosurf/isosurf.dsp +++ b/samples/opengl/isosurf/isosurf.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "glisosurf - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "glisosurf - Win32 Release" diff --git a/samples/opengl/penguin/makefile.unx b/samples/opengl/penguin/makefile.unx index 778d905184..bc26127d08 100644 --- a/samples/opengl/penguin/makefile.unx +++ b/samples/opengl/penguin/makefile.unx @@ -11,22 +11,22 @@ OPENGL_LIBS=-lGL -lGLU #if you have old Mesa, try this: #OPENGL_LIBS=-lMesaGL -lMesaGLU -CPP = g++ +CC = $(shell wx-config --cc) CXX = $(shell wx-config --cxx) Penguin: penguin.o trackball.o lw.o - $(CPP) -o Penguin \ + $(CXX) -o Penguin \ penguin.o trackball.o lw.o \ `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS) penguin.o: penguin.cpp - $(CPP) `wx-config --cxxflags` -I../../gtk -c penguin.cpp + $(CXX) `wx-config --cxxflags` -I../../gtk -c penguin.cpp lw.o: lw.cpp - $(CPP) `wx-config --cxxflags` -I../../gtk -c lw.cpp + $(CXX) `wx-config --cxxflags` -I../../gtk -c lw.cpp trackball.o: trackball.c - $(CXX) `wx-config --cxxflags` -I../../gtk -c trackball.c + $(CC) `wx-config --cflags` -I../../gtk -c trackball.c clean: rm -f *.o Penguin diff --git a/samples/opengl/penguin/penguin.dsp b/samples/opengl/penguin/penguin.dsp index 0f39e4f367..5bfeda5b70 100644 --- a/samples/opengl/penguin/penguin.dsp +++ b/samples/opengl/penguin/penguin.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ../../..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "glpenguin - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ../../..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "glpenguin - Win32 Release" diff --git a/samples/ownerdrw/Makefile.in b/samples/ownerdrw/Makefile.in new file mode 100644 index 0000000000..dcd63259b4 --- /dev/null +++ b/samples/ownerdrw/Makefile.in @@ -0,0 +1,23 @@ +# +# File: makefile.unx +# Author: Julian Smart +# Created: 1998 +# Updated: +# Copyright: (c) 1998 Julian Smart +# +# "%W% %G%" +# +# Makefile for owner draw example (UNIX). + +top_srcdir = @top_srcdir@/.. +top_builddir = ../.. +program_dir = samples/ownerdrw + +PROGRAM=ownerdrw + +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d + +include ../../src/makeprog.env + +@IF_GNU_MAKE@-include $(DEPFILES) diff --git a/samples/ownerdrw/ownerdrw.dsp b/samples/ownerdrw/ownerdrw.dsp index b7f3fed3a0..8c204b30c8 100644 --- a/samples/ownerdrw/ownerdrw.dsp +++ b/samples/ownerdrw/ownerdrw.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "ownerdrw - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "ownerdrw - Win32 Release" diff --git a/samples/png/png.dsp b/samples/png/png.dsp index 52de544a6b..478bb60ac0 100644 --- a/samples/png/png.dsp +++ b/samples/png/png.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "png - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "png - Win32 Release" diff --git a/samples/printing/printing.cpp b/samples/printing/printing.cpp index 274b222b20..c9c2e6b1e8 100644 --- a/samples/printing/printing.cpp +++ b/samples/printing/printing.cpp @@ -366,7 +366,7 @@ bool MyPrintout::OnPrintPage(int page) wxChar buf[200]; wxSprintf(buf, wxT("PAGE %d"), page); - dc->DrawText(buf, 10, 10); + // dc->DrawText(buf, 10, 10); return TRUE; } @@ -432,6 +432,7 @@ void MyPrintout::DrawPageOne(wxDC *dc) // Set the scale and origin dc->SetUserScale(actualScale, actualScale); dc->SetDeviceOrigin( (long)posX, (long)posY ); + //dc->SetUserScale(1.0, 1.0); frame->Draw(*dc); } diff --git a/samples/printing/printing.dsp b/samples/printing/printing.dsp index 6215f45a24..bf35097fa6 100644 --- a/samples/printing/printing.dsp +++ b/samples/printing/printing.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "printing - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "printing - Win32 Release" diff --git a/samples/proplist/proplist.dsp b/samples/proplist/proplist.dsp index 53b4bde49b..d2d4c4ea52 100644 --- a/samples/proplist/proplist.dsp +++ b/samples/proplist/proplist.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "proplist - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "proplist - Win32 Release" diff --git a/samples/propsize/propsize.dsp b/samples/propsize/propsize.dsp index c8bcc99c87..b2ec33dee9 100644 --- a/samples/propsize/propsize.dsp +++ b/samples/propsize/propsize.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "propsize - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "propsize - Win32 Release" diff --git a/samples/regtest/Makefile.in b/samples/regtest/Makefile.in new file mode 100644 index 0000000000..4ad13b651f --- /dev/null +++ b/samples/regtest/Makefile.in @@ -0,0 +1,23 @@ +# +# File: makefile.unx +# Author: Julian Smart +# Created: 1998 +# Updated: +# Copyright: (c) 1998 Julian Smart +# +# "%W% %G%" +# +# Makefile for regtest example (UNIX). + +top_srcdir = @top_srcdir@/.. +top_builddir = ../.. +program_dir = samples/regtest + +PROGRAM=regtest + +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d + +include ../../src/makeprog.env + +@IF_GNU_MAKE@-include $(DEPFILES) diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index d08d4a8459..4510d71fc0 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -639,7 +639,7 @@ void RegTreeCtrl::OnSelChanged(wxTreeEvent& event) void RegTreeCtrl::OnItemExpanding(wxTreeEvent& event) { TreeNode *pNode = GetNode(event); - bool bExpanding = event.GetCode() == wxTREE_EXPAND_EXPAND; + bool bExpanding = event.GetKeyCode() == wxTREE_EXPAND_EXPAND; // expansion might take some time wxSetCursor(*wxHOURGLASS_CURSOR); @@ -782,7 +782,7 @@ void RegTreeCtrl::OnEndDrag(wxTreeEvent& event) wxRegKey keyDst(dst->Key(), src->m_strName); ok = keyDst.Create(FALSE); if ( !ok ) { - wxLogError(wxT("Key '%s' already exists")); + wxLogError(wxT("Key '%s' already exists"), keyDst.GetName().c_str()); } else { ok = key.Copy(keyDst); diff --git a/samples/regtest/regtest.dsp b/samples/regtest/regtest.dsp index 4196beec12..8ba41cfb85 100644 --- a/samples/regtest/regtest.dsp +++ b/samples/regtest/regtest.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "regtest - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "regtest - Win32 Release" diff --git a/samples/resource/resource.cpp b/samples/resource/resource.cpp index e29236c867..f076602f16 100644 --- a/samples/resource/resource.cpp +++ b/samples/resource/resource.cpp @@ -24,6 +24,10 @@ #include "wx/wx.h" #endif +#if !wxUSE_RESOURCES + #error "You should set wxUSE_RESOURCES to 1 to compile this sample" +#endif + #if wxUSE_UNICODE #error "This sample can't be compiled in Unicode mode." #endif // wxUSE_UNICODE diff --git a/samples/resource/resource.dsp b/samples/resource/resource.dsp index 5010adc6ec..f98ad240e1 100644 --- a/samples/resource/resource.dsp +++ b/samples/resource/resource.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "resource - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "resource - Win32 Release" diff --git a/samples/rotate/rotate.dsp b/samples/rotate/rotate.dsp index 64c9c8cef8..b0473e281a 100644 --- a/samples/rotate/rotate.dsp +++ b/samples/rotate/rotate.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "rotate - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "rotate - Win32 Release" diff --git a/samples/sashtest/sashtest.dsp b/samples/sashtest/sashtest.dsp index 06f6f2ea78..f79f10a371 100644 --- a/samples/sashtest/sashtest.dsp +++ b/samples/sashtest/sashtest.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "sashtest - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "sashtest - Win32 Release" diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index 6f27a04ede..790c8eaa4a 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -4,6 +4,7 @@ * Author: Robert Roebling * * Copyright: (C) 1998, Robert Roebling + * 2002, Ron Lee * */ @@ -51,6 +52,30 @@ public: DECLARE_EVENT_TABLE() }; + +// ---------------------------------------------------------------------------- +// Autoscrolling example. +// ---------------------------------------------------------------------------- + +// this class uses the 'virtual' size attribute along with an internal +// sizer to automatically set up scrollbars as needed + +class MyAutoScrollWindow : public wxScrolledWindow +{ +private: + + wxButton *m_button; + +public: + + MyAutoScrollWindow( wxWindow *parent ); + + void OnResizeClick( wxCommandEvent &WXUNUSED( event ) ); + + DECLARE_EVENT_TABLE() +}; + + // ---------------------------------------------------------------------------- // MyScrolledWindow classes: examples of wxScrolledWindow usage // ---------------------------------------------------------------------------- @@ -59,17 +84,15 @@ public: class MyScrolledWindowBase : public wxScrolledWindow { public: - MyScrolledWindowBase(wxWindow *parent) : wxScrolledWindow(parent) + MyScrolledWindowBase(wxWindow *parent) + : wxScrolledWindow(parent) + , m_nLines( 100 ) { - m_nLines = 100; - - InitScrollbars(); + wxClientDC dc(this); + dc.GetTextExtent(_T("Line 17"), NULL, &m_hLine); } protected: - // set the scrollbar params - void InitScrollbars(); - // the height of one line on screen wxCoord m_hLine; @@ -78,24 +101,40 @@ protected: }; // this class does "stupid" redrawing - it redraws everything each time +// and sets the scrollbar extent directly. + class MyScrolledWindowDumb : public MyScrolledWindowBase { public: - MyScrolledWindowDumb(wxWindow *parent) : MyScrolledWindowBase(parent) { } + MyScrolledWindowDumb(wxWindow *parent) : MyScrolledWindowBase(parent) + { + // no horz scrolling + SetScrollbars(0, m_hLine, 0, m_nLines + 1, 0, 0, TRUE /* no refresh */); + } virtual void OnDraw(wxDC& dc); }; // this class does "smart" redrawing - only redraws the lines which must be -// redrawn +// redrawn and sets the scroll rate and virtual size to affect the +// scrollbars. +// +// Note that this class should produce identical results to the one above. + class MyScrolledWindowSmart : public MyScrolledWindowBase { public: - MyScrolledWindowSmart(wxWindow *parent) : MyScrolledWindowBase(parent) { } + MyScrolledWindowSmart(wxWindow *parent) : MyScrolledWindowBase(parent) + { + // no horz scrolling + SetScrollRate( 0, m_hLine ); + SetVirtualSize( -1, ( m_nLines + 1 ) * m_hLine ); + } virtual void OnDraw(wxDC& dc); }; + // ---------------------------------------------------------------------------- // MyFrame // ---------------------------------------------------------------------------- @@ -131,13 +170,13 @@ IMPLEMENT_APP(MyApp) // ids -#define ID_ADDBUTTON 1 -#define ID_DELBUTTON 2 -#define ID_MOVEBUTTON 3 -#define ID_SCROLLWIN 4 -#define ID_QUERYPOS 5 +const long ID_ADDBUTTON = wxNewId(); +const long ID_DELBUTTON = wxNewId(); +const long ID_MOVEBUTTON = wxNewId(); +const long ID_SCROLLWIN = wxNewId(); +const long ID_QUERYPOS = wxNewId(); -#define ID_NEWBUTTON 10 +const long ID_NEWBUTTON = wxNewId(); // MyCanvas @@ -145,7 +184,7 @@ IMPLEMENT_DYNAMIC_CLASS(MyCanvas, wxScrolledWindow) BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow) EVT_PAINT( MyCanvas::OnPaint) - EVT_MOUSE_EVENTS( MyCanvas::OnMouseDown) + EVT_MOUSE_EVENTS( MyCanvas::OnMouseDown) EVT_BUTTON( ID_QUERYPOS, MyCanvas::OnQueryPosition) EVT_BUTTON( ID_ADDBUTTON, MyCanvas::OnAddButton) EVT_BUTTON( ID_DELBUTTON, MyCanvas::OnDeleteButton) @@ -155,12 +194,15 @@ END_EVENT_TABLE() MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size ) - : wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER | wxTAB_TRAVERSAL, "test canvas" ) + : wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER | wxTAB_TRAVERSAL, _T("test canvas") ) { - (void) new wxButton( this, ID_ADDBUTTON, "add button", wxPoint(10,10) ); - (void) new wxButton( this, ID_DELBUTTON, "del button", wxPoint(10,40) ); - (void) new wxButton( this, ID_MOVEBUTTON, "move button", wxPoint(150,10) ); - (void) new wxButton( this, ID_SCROLLWIN, "scroll win", wxPoint(250,10) ); + SetScrollRate( 10, 10 ); + SetVirtualSize( 500, 1000 ); + + (void) new wxButton( this, ID_ADDBUTTON, _T("add button"), wxPoint(10,10) ); + (void) new wxButton( this, ID_DELBUTTON, _T("del button"), wxPoint(10,40) ); + (void) new wxButton( this, ID_MOVEBUTTON, _T("move button"), wxPoint(150,10) ); + (void) new wxButton( this, ID_SCROLLWIN, _T("scroll win"), wxPoint(250,10) ); #if 0 @@ -253,9 +295,9 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) wxPaintDC dc( this ); PrepareDC( dc ); - dc.DrawText( "Press mouse button to test calculations!", 160, 50 ); + dc.DrawText( _T("Press mouse button to test calculations!"), 160, 50 ); - dc.DrawText( "Some text", 140, 140 ); + dc.DrawText( _T("Some text"), 140, 140 ); dc.DrawRectangle( 100, 160, 200, 200 ); } @@ -271,7 +313,7 @@ void MyCanvas::OnQueryPosition( wxCommandEvent &WXUNUSED(event) ) void MyCanvas::OnAddButton( wxCommandEvent &WXUNUSED(event) ) { wxLogMessage( wxT("Inserting button at position 10,70...") ); - wxButton *button = new wxButton( this, ID_NEWBUTTON, "new button", wxPoint(10,70), wxSize(80,25) ); + wxButton *button = new wxButton( this, ID_NEWBUTTON, wxT("new button"), wxPoint(10,70), wxSize(80,25) ); wxPoint pt( button->GetPosition() ); wxLogMessage( wxT("-> Position after inserting %d %d"), pt.x, pt.y ); } @@ -305,12 +347,87 @@ void MyCanvas::OnScrollWin( wxCommandEvent &WXUNUSED(event) ) Scroll( -1, y+2 ); } +// MyAutoScrollWindow + +const long ID_RESIZEBUTTON = wxNewId(); +const wxSize SMALL_BUTTON( 100, 50 ); +const wxSize LARGE_BUTTON( 300, 100 ); + +BEGIN_EVENT_TABLE( MyAutoScrollWindow, wxScrolledWindow) + EVT_BUTTON( ID_RESIZEBUTTON, MyAutoScrollWindow::OnResizeClick) +END_EVENT_TABLE() + +MyAutoScrollWindow::MyAutoScrollWindow( wxWindow *parent ) + : wxScrolledWindow( parent ) +{ + SetBackgroundColour( wxT("GREEN") ); + + // Set the rate we'd like for scrolling. + + SetScrollRate( 5, 5 ); + + // Populate a sizer with a 'resizing' button and some + // other static decoration + + wxFlexGridSizer *innersizer = new wxFlexGridSizer( 2, 2 ); + + m_button = new wxButton( this, + ID_RESIZEBUTTON, + _T("Press me"), + wxDefaultPosition, + SMALL_BUTTON ); + + // We need to do this here, because wxADJUST_MINSIZE below + // will cause the initial size to be ignored for Best/Min size. + // It would be nice to fix the sizers to handle this a little + // more cleanly. + + m_button->SetSizeHints( SMALL_BUTTON.GetWidth(), SMALL_BUTTON.GetHeight() ); + + innersizer->Add( m_button, + 0, + wxALIGN_CENTER | wxALL | wxADJUST_MINSIZE, + 20 ); + + innersizer->Add( new wxStaticText( this, -1, _T("This is just") ), + 0, + wxALIGN_CENTER ); + + innersizer->Add( new wxStaticText( this, -1, _T("some decoration") ), + 0, + wxALIGN_CENTER ); + + innersizer->Add( new wxStaticText( this, -1, _T("for you to scroll...") ), + 0, + wxALIGN_CENTER ); + + // Then use the sizer to set the scrolled region size. + + SetSizer( innersizer ); +} + +void MyAutoScrollWindow::OnResizeClick( wxCommandEvent &WXUNUSED( event ) ) +{ + // Arbitrarily resize the button to change the minimum size of + // the (scrolled) sizer. + + if( m_button->GetSize() == SMALL_BUTTON ) + m_button->SetSizeHints( LARGE_BUTTON.GetWidth(), LARGE_BUTTON.GetHeight() ); + else + m_button->SetSizeHints( SMALL_BUTTON.GetWidth(), SMALL_BUTTON.GetHeight() ); + + // Force update layout and scrollbars, since nothing we do here + // necessarily generates a size event which would do it for us. + + FitInside(); +} + // MyFrame -const int ID_QUIT = 108; -const int ID_ABOUT = 109; -const int ID_DELETE_ALL = 110; -const int ID_INSERT_NEW = 111; +const long ID_QUIT = wxNewId(); +const long ID_ABOUT = wxNewId(); +const long ID_DELETE_ALL = wxNewId(); +const long ID_INSERT_NEW = wxNewId(); IMPLEMENT_DYNAMIC_CLASS( MyFrame, wxFrame ) @@ -322,17 +439,17 @@ BEGIN_EVENT_TABLE(MyFrame,wxFrame) END_EVENT_TABLE() MyFrame::MyFrame() - : wxFrame( (wxFrame *)NULL, -1, "wxScrolledWindow sample", + : wxFrame( (wxFrame *)NULL, -1, _T("wxScrolledWindow sample"), wxPoint(20,20), wxSize(470,500) ) { wxMenu *file_menu = new wxMenu(); - file_menu->Append( ID_DELETE_ALL, "Delete all"); - file_menu->Append( ID_INSERT_NEW, "Insert new"); - file_menu->Append( ID_ABOUT, "&About.."); - file_menu->Append( ID_QUIT, "E&xit\tAlt-X"); + file_menu->Append( ID_DELETE_ALL, _T("Delete all")); + file_menu->Append( ID_INSERT_NEW, _T("Insert new")); + file_menu->Append( ID_ABOUT, _T("&About..")); + file_menu->Append( ID_QUIT, _T("E&xit\tAlt-X")); wxMenuBar *menu_bar = new wxMenuBar(); - menu_bar->Append(file_menu, "&File"); + menu_bar->Append(file_menu, _T("&File")); SetMenuBar( menu_bar ); @@ -340,19 +457,24 @@ MyFrame::MyFrame() int widths[] = { -1, 100 }; SetStatusWidths( 2, widths ); + wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); + + // Setting an explicit size here is superfluous, it will be overridden + // by the sizer in any case. m_canvas = new MyCanvas( this, -1, wxPoint(0,0), wxSize(100,100) ); - m_canvas->SetScrollbars( 10, 10, 50, 100 ); - wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); + // This is done with ScrollRate/VirtualSize in MyCanvas ctor now, + // both should produce identical results. + //m_canvas->SetScrollbars( 10, 10, 50, 100 ); topsizer->Add( m_canvas, 1, wxEXPAND ); + topsizer->Add( new MyAutoScrollWindow( this ), 1, wxEXPAND ); wxSizer *sizerBtm = new wxBoxSizer(wxHORIZONTAL); sizerBtm->Add( new MyScrolledWindowDumb(this), 1, wxEXPAND ); sizerBtm->Add( new MyScrolledWindowSmart(this), 1, wxEXPAND ); topsizer->Add( sizerBtm, 1, wxEXPAND ); - SetAutoLayout( TRUE ); SetSizer( topsizer ); } @@ -363,7 +485,7 @@ void MyFrame::OnDeleteAll( wxCommandEvent &WXUNUSED(event) ) void MyFrame::OnInsertNew( wxCommandEvent &WXUNUSED(event) ) { - (void)new wxButton( m_canvas, -1, "Hello", wxPoint(100,100) ); + (void)new wxButton( m_canvas, -1, _T("Hello"), wxPoint(100,100) ); } void MyFrame::OnQuit( wxCommandEvent &WXUNUSED(event) ) @@ -373,9 +495,12 @@ void MyFrame::OnQuit( wxCommandEvent &WXUNUSED(event) ) void MyFrame::OnAbout( wxCommandEvent &WXUNUSED(event) ) { - (void)wxMessageBox( "wxScroll demo\n" - "Robert Roebling (c) 1998", - "About wxScroll Demo", wxICON_INFORMATION | wxOK ); + (void)wxMessageBox( _T("wxScroll demo\n" + "Robert Roebling (c) 1998\n" + "Autoscrolling examples\n" + "Ron Lee (c) 2002"), + _T("About wxScroll Demo"), + wxICON_INFORMATION | wxOK ); } //----------------------------------------------------------------------------- @@ -394,15 +519,6 @@ bool MyApp::OnInit() // MyScrolledWindowXXX // ---------------------------------------------------------------------------- -void MyScrolledWindowBase::InitScrollbars() -{ - wxClientDC dc(this); - dc.GetTextExtent(_T("Line 17"), NULL, &m_hLine); - - // no horz scrolling - SetScrollbars(0, m_hLine, 0, m_nLines + 1, 0, 0, TRUE /* no refresh */); -} - void MyScrolledWindowDumb::OnDraw(wxDC& dc) { // this is useful to see which lines are redrawn diff --git a/samples/scroll/scroll.dsp b/samples/scroll/scroll.dsp index 966357cb90..b90a9b3e9e 100644 --- a/samples/scroll/scroll.dsp +++ b/samples/scroll/scroll.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "scroll - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "scroll - Win32 Release" diff --git a/samples/scrollsub/scrollsub.dsp b/samples/scrollsub/scrollsub.dsp index a635c0fa63..bb4b3a7a76 100644 --- a/samples/scrollsub/scrollsub.dsp +++ b/samples/scrollsub/scrollsub.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "scrollsub - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "scrollsub - Win32 Release" diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index 94e010410e..3ba76e9bf2 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -571,7 +571,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event)) wxYield(); // Get the data - wxFileOutputStream sout(wxString("test.url")); + wxFileOutputStream sout( wxT("test.url") ); if (!sout.Ok()) { m_text->AppendText(_("Error: couldn't open file for output\n")); diff --git a/samples/sockets/client.dsp b/samples/sockets/client.dsp index b99f0b4a75..d036b6965b 100644 --- a/samples/sockets/client.dsp +++ b/samples/sockets/client.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "socketclient - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "socketclient - Win32 Release" diff --git a/samples/sockets/server.dsp b/samples/sockets/server.dsp index d351a219ec..fb29544656 100644 --- a/samples/sockets/server.dsp +++ b/samples/sockets/server.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "socketserver - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "socketserver - Win32 Release" diff --git a/samples/splitter/splitter.dsp b/samples/splitter/splitter.dsp index ac28cbb35c..a5753db6d5 100644 --- a/samples/splitter/splitter.dsp +++ b/samples/splitter/splitter.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "splitter - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "splitter - Win32 Release" diff --git a/samples/statbar/statbar.dsp b/samples/statbar/statbar.dsp index 5fb4fbad83..0cedeb6d1a 100644 --- a/samples/statbar/statbar.dsp +++ b/samples/statbar/statbar.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "statbar - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "statbar - Win32 Release" diff --git a/samples/stc/Makefile.in b/samples/stc/Makefile.in index cffdcc78d7..0de249989a 100644 --- a/samples/stc/Makefile.in +++ b/samples/stc/Makefile.in @@ -13,7 +13,7 @@ PROGRAM=stctest OBJECTS=$(PROGRAM).o -APPEXTRALIBS=$(top_builddir)/lib/libstc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_stc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include DATAFILES=stctest.cpp diff --git a/samples/stc/StcTestVC.dsp b/samples/stc/StcTestVC.dsp index f7e9b6e7e4..f51fb28c6f 100644 --- a/samples/stc/StcTestVC.dsp +++ b/samples/stc/StcTestVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "StcTestVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/samples/svg/Makefile.in b/samples/svg/Makefile.in index 8c63b68960..5f1ba42210 100644 --- a/samples/svg/Makefile.in +++ b/samples/svg/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=svgtest OBJECTS=svgtest.o -APPEXTRALIBS=$(top_builddir)/lib/libwx_dcsvg.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_dcsvg-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/samples/taskbar/taskbar.dsp b/samples/taskbar/taskbar.dsp index 109141eefd..2f289f912e 100644 --- a/samples/taskbar/taskbar.dsp +++ b/samples/taskbar/taskbar.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "taskbar - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "taskbar - Win32 Release" diff --git a/samples/text/text.cpp b/samples/text/text.cpp index c48115e70d..ef899cfae0 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -704,13 +704,22 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) long line, column, pos = GetInsertionPoint(); PositionToXY(pos, &column, &line); - wxLogMessage( _T("Current position: %ld\nCurrent line, column: (%ld, %ld)\nNumber of lines: %ld\nCurrent line length: %ld\nTotal text length: %u (%ld)"), + wxLogMessage(_T("Current position: %ld\nCurrent line, column: (%ld, %ld)\nNumber of lines: %ld\nCurrent line length: %ld\nTotal text length: %u (%ld)"), pos, line, column, (long) GetNumberOfLines(), (long) GetLineLength(line), GetValue().length(), GetLastPosition()); + + long from, to; + GetSelection(&from, &to); + + wxString sel = GetStringSelection(); + + wxLogMessage(_T("Selection: from %ld to %ld."), from, to); + wxLogMessage(_T("Selection = '%s' (len = %u)"), + sel.c_str(), sel.length()); } break; @@ -745,28 +754,30 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) break; case WXK_F6: - SetValue("F6 was just pressed."); + wxLogMessage(_T("IsModified() before SetValue(): %d"), + IsModified()); + SetValue(_T("SetValue() has been called")); + wxLogMessage(_T("IsModified() after SetValue(): %d"), + IsModified()); break; case WXK_F7: + wxLogMessage(_T("Position 10 should be now visible.")); ShowPosition(10); break; case WXK_F8: + wxLogMessage(_T("Control has been cleared")); Clear(); break; - case WXK_F10: - { - long from, to; - GetSelection(&from, &to); - - wxString sel = GetStringSelection(); + case WXK_F9: + WriteText("WriteText() has been called"); + break; - wxLogMessage(_T("Selection: from %ld to %ld."), from, to); - wxLogMessage(_T("Selection = '%s' (len = %u)"), - sel.c_str(), sel.length()); - } + case WXK_F10: + AppendText("AppendText() has been called"); + break; } if ( ms_logKey ) @@ -863,7 +874,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) m_multitext->SetBackgroundColour(*wxLIGHT_GREY); #if wxUSE_TOOLTIPS - m_multitext->SetToolTip("Press F1 here for statitics, F4 for capture and uncapture mouse."); + m_multitext->SetToolTip("Press Fn function keys here"); #endif m_tab = new MyTextCtrl( this, 100, "Multiline, allow processing.", @@ -1172,7 +1183,7 @@ void MyFrame::OnFileSave(wxCommandEvent& event) wxLogStatus(this, _T("Successfully saved file (text len = %lu, file size = %ld)"), (unsigned long)m_panel->m_textrich->GetValue().length(), - file.Length()); + (long) file.Length()); #endif } else diff --git a/samples/text/text.dsp b/samples/text/text.dsp index 53583d6985..c598fb4365 100644 --- a/samples/text/text.dsp +++ b/samples/text/text.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "text - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "text - Win32 Release" diff --git a/samples/thread/thread.dsp b/samples/thread/thread.dsp index 6da91b11b8..23a3a2d8eb 100644 --- a/samples/thread/thread.dsp +++ b/samples/thread/thread.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "thread - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "thread - Win32 Release" diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index 9eea80a9d9..0a849c5b3f 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -140,6 +140,9 @@ private: m_horzToolbar; size_t m_rows; // 1 or 2 only + // the number of print buttons we have (they're added/removed dynamically) + size_t m_nPrint; + wxTextCtrl *m_textWindow; wxToolBar *m_tbar; @@ -301,11 +304,11 @@ void MyFrame::RecreateToolbar() if ( m_horzToolbar ) { wxComboBox *combo = new wxComboBox(toolBar, ID_COMBO, "", wxDefaultPosition, wxSize(200,-1) ); - combo->Append("This"); - combo->Append("is a"); - combo->Append("combobox"); - combo->Append("in a"); - combo->Append("toolbar"); + combo->Append(_T("This")); + combo->Append(_T("is a")); + combo->Append(_T("combobox")); + combo->Append(_T("in a")); + combo->Append(_T("toolbar")); toolBar->AddControl(combo); } #endif // toolbars which don't support controls @@ -339,11 +342,12 @@ MyFrame::MyFrame(wxFrame* parent, : wxFrame(parent, id, title, pos, size, style) { m_tbar = NULL; - m_textWindow = new wxTextCtrl(this, -1, "", wxPoint(0, 0), wxSize(-1, -1), wxTE_MULTILINE); + m_textWindow = new wxTextCtrl(this, -1, _T(""), wxPoint(0, 0), wxSize(-1, -1), wxTE_MULTILINE); m_smallToolbar = TRUE; m_horzToolbar = TRUE; m_rows = 1; + m_nPrint = 1; // Give it a status line CreateStatusBar(); @@ -354,49 +358,49 @@ MyFrame::MyFrame(wxFrame* parent, // Make a menubar wxMenu *tbarMenu = new wxMenu; tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLE_TOOLBAR, - "Toggle &toolbar\tCtrl-Z", - "Show or hide the toolbar"); + _T("Toggle &toolbar\tCtrl-Z"), + _T("Show or hide the toolbar")); tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLE_ANOTHER_TOOLBAR, - "Toggle &another toolbar\tCtrl-A", - "Show/hide another test toolbar"); + _T("Toggle &another toolbar\tCtrl-A"), + _T("Show/hide another test toolbar")); tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLETOOLBARSIZE, - "&Toggle toolbar size\tCtrl-S", - "Toggle between big/small toolbar"); + _T("&Toggle toolbar size\tCtrl-S"), + _T("Toggle between big/small toolbar")); tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLETOOLBARORIENT, - "Toggle toolbar &orientation\tCtrl-O", - "Toggle toolbar orientation"); + _T("Toggle toolbar &orientation\tCtrl-O"), + _T("Toggle toolbar orientation")); tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLETOOLBARROWS, - "Toggle number of &rows\tCtrl-R", - "Toggle number of toolbar rows between 1 and 2"); + _T("Toggle number of &rows\tCtrl-R"), + _T("Toggle number of toolbar rows between 1 and 2")); tbarMenu->AppendSeparator(); - tbarMenu->Append(IDM_TOOLBAR_ENABLEPRINT, "&Enable print button\tCtrl-E", ""); - tbarMenu->Append(IDM_TOOLBAR_DELETEPRINT, "&Delete print button\tCtrl-D", ""); - tbarMenu->Append(IDM_TOOLBAR_INSERTPRINT, "&Insert print button\tCtrl-I", ""); - tbarMenu->Append(IDM_TOOLBAR_TOGGLEHELP, "Toggle &help button\tCtrl-T", ""); + tbarMenu->Append(IDM_TOOLBAR_ENABLEPRINT, _T("&Enable print button\tCtrl-E"), _T("")); + tbarMenu->Append(IDM_TOOLBAR_DELETEPRINT, _T("&Delete print button\tCtrl-D"), _T("")); + tbarMenu->Append(IDM_TOOLBAR_INSERTPRINT, _T("&Insert print button\tCtrl-I"), _T("")); + tbarMenu->Append(IDM_TOOLBAR_TOGGLEHELP, _T("Toggle &help button\tCtrl-T"), _T("")); tbarMenu->AppendSeparator(); - tbarMenu->Append(IDM_TOOLBAR_CHANGE_TOOLTIP, "Change tool tip", ""); + tbarMenu->Append(IDM_TOOLBAR_CHANGE_TOOLTIP, _T("Change tool tip"), _T("")); tbarMenu->AppendSeparator(); - tbarMenu->AppendRadioItem(IDM_TOOLBAR_SHOW_TEXT, "Show &text\tAlt-T"); - tbarMenu->AppendRadioItem(IDM_TOOLBAR_SHOW_ICONS, "Show &icons\tAlt-I"); - tbarMenu->AppendRadioItem(IDM_TOOLBAR_SHOW_BOTH, "Show &both\tAlt-B"); + tbarMenu->AppendRadioItem(IDM_TOOLBAR_SHOW_TEXT, _T("Show &text\tAlt-T")); + tbarMenu->AppendRadioItem(IDM_TOOLBAR_SHOW_ICONS, _T("Show &icons\tAlt-I")); + tbarMenu->AppendRadioItem(IDM_TOOLBAR_SHOW_BOTH, _T("Show &both\tAlt-B")); wxMenu *fileMenu = new wxMenu; - fileMenu->Append(wxID_EXIT, "E&xit\tAlt-X", "Quit toolbar sample" ); + fileMenu->Append(wxID_EXIT, _T("E&xit\tAlt-X"), _T("Quit toolbar sample") ); wxMenu *helpMenu = new wxMenu; - helpMenu->Append(wxID_HELP, "&About", "About toolbar sample"); + helpMenu->Append(wxID_HELP, _T("&About"), _T("About toolbar sample")); wxMenuBar* menuBar = new wxMenuBar( wxMB_DOCKABLE ); - menuBar->Append(fileMenu, "&File"); - menuBar->Append(tbarMenu, "&Toolbar"); - menuBar->Append(helpMenu, "&Help"); + menuBar->Append(fileMenu, _T("&File")); + menuBar->Append(tbarMenu, _T("&Toolbar")); + menuBar->Append(helpMenu, _T("&Help")); // Associate the menu bar with the frame SetMenuBar(menuBar); @@ -530,7 +534,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { - (void)wxMessageBox("wxWindows toolbar sample", "About wxToolBar"); + (void)wxMessageBox(_T("wxWindows toolbar sample"), _T("About wxToolBar")); } void MyFrame::OnToolLeftClick(wxCommandEvent& event) @@ -570,18 +574,22 @@ void MyFrame::OnCombo(wxCommandEvent& event) void MyFrame::DoEnablePrint() { + if ( !m_nPrint ) + return; + wxToolBarBase *tb = GetToolBar(); - if (tb->GetToolEnabled(wxID_PRINT)) - tb->EnableTool( wxID_PRINT, FALSE ); - else - tb->EnableTool( wxID_PRINT, TRUE ); + tb->EnableTool(wxID_PRINT, !tb->GetToolEnabled(wxID_PRINT)); } void MyFrame::DoDeletePrint() { - wxToolBarBase *tb = GetToolBar(); + if ( !m_nPrint ) + return; + wxToolBarBase *tb = GetToolBar(); tb->DeleteTool( wxID_PRINT ); + + m_nPrint--; } void MyFrame::DoToggleHelp() @@ -624,14 +632,17 @@ void MyFrame::OnToolbarStyle(wxCommandEvent& event) void MyFrame::OnInsertPrint(wxCommandEvent& WXUNUSED(event)) { - wxBitmap bmp = wxBITMAP(print); + m_nPrint++; - GetToolBar()->InsertTool(0, wxID_PRINT, bmp, wxNullBitmap, - FALSE, (wxObject *) NULL, - "Delete this tool", - "This button was inserted into the toolbar"); - - GetToolBar()->Realize(); + wxToolBarBase *tb = GetToolBar(); + tb->InsertTool(0, wxID_PRINT, _T("New print"), + wxBITMAP(print), wxNullBitmap, + wxITEM_NORMAL, + _T("Delete this tool"), + _T("This button was inserted into the toolbar")); + + // must call Realize() after adding a new button + tb->Realize(); } void MyFrame::OnToolEnter(wxCommandEvent& event) @@ -643,6 +654,6 @@ void MyFrame::OnToolEnter(wxCommandEvent& event) SetStatusText(str); } else - SetStatusText(""); + SetStatusText(_T("")); } diff --git a/samples/toolbar/toolbar.dsp b/samples/toolbar/toolbar.dsp index cbd5496aa0..1366a76937 100644 --- a/samples/toolbar/toolbar.dsp +++ b/samples/toolbar/toolbar.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "toolbar - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "toolbar - Win32 Release" diff --git a/samples/toolbar/toolbarM5.xml b/samples/toolbar/toolbarM5.xml index b8bcb3dfc8..ffc8e09601 100644 --- a/samples/toolbar/toolbarM5.xml +++ b/samples/toolbar/toolbarM5.xml @@ -480,3176 +480,4 @@ MWMerge_MacOS_copyResources1 MWMerge_MacOS_skipResources - {Ð - %#H - %8* - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesNone - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfiletoolbar Classic Release - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - wx_PPC.lib - MacOS - Library - Debug - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - MSL C.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - wx_PPC.rsrc - MacOS - Resource - - - - Name - tiff.lib - MacOS - Library - - - - Name - jpeg.lib - MacOS - Library - - - - Name - png.lib - MacOS - Library - - - - Name - zlib.lib - MacOS - Library - - - - Name - toolbar.cpp - MacOS - Text - - - - Name - AppearanceLib - MacOS - Library - - - - Name - ATSUnicodeLib - MacOS - Library - - - - Name - CarbonAccessors.o - MacOS - Library - - - - Name - ControlsLib - MacOS - Library - - - - Name - CursorDevicesGlue.o - MacOS - Library - - - - Name - DialogsLib - MacOS - Library - - - - Name - DragLib - MacOS - Library - - - - Name - InterfaceLib - MacOS - Library - - - - Name - InternetConfigLib - MacOS - Library - - - - Name - WindowsLib - MacOS - Library - - - - Name - MathLib - MacOS - Library - - - - Name - MenusLib - MacOS - Library - - - - Name - NavigationLib - MacOS - Library - - - - Name - OpenTptAppleTalkLib - MacOS - Library - - - - Name - OpenTptATalkPPC.o - MacOS - Library - - - - Name - OpenTptInetPPC.o - MacOS - Library - - - - Name - OpenTptInternetLib - MacOS - Library - - - - Name - OpenTransportLib - MacOS - Library - - - - Name - OpenTransportAppPPC.o - MacOS - Library - - - - Name - PLStringFuncsPPC.lib - MacOS - Library - - - - Name - TextEncodingConverter - MacOS - Library - - - - Name - Textension - MacOS - Library - - - - Name - ThreadsLib - MacOS - Library - - - - Name - UnicodeConverter - MacOS - Library - - - - - - Name - wx_PPC.lib - MacOS - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - MSL C.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - wx_PPC.rsrc - MacOS - - - Name - tiff.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - png.lib - MacOS - - - Name - zlib.lib - MacOS - - - Name - toolbar.cpp - MacOS - - - Name - AppearanceLib - MacOS - - - Name - ATSUnicodeLib - MacOS - - - Name - CarbonAccessors.o - MacOS - - - Name - ControlsLib - MacOS - - - Name - CursorDevicesGlue.o - MacOS - - - Name - DialogsLib - MacOS - - - Name - DragLib - MacOS - - - Name - InterfaceLib - MacOS - - - Name - InternetConfigLib - MacOS - - - Name - WindowsLib - MacOS - - - Name - MathLib - MacOS - - - Name - MenusLib - MacOS - - - Name - NavigationLib - MacOS - - - Name - OpenTptAppleTalkLib - MacOS - - - Name - OpenTptATalkPPC.o - MacOS - - - Name - OpenTptInetPPC.o - MacOS - - - Name - OpenTptInternetLib - MacOS - - - Name - OpenTransportLib - MacOS - - - Name - OpenTransportAppPPC.o - MacOS - - - Name - PLStringFuncsPPC.lib - MacOS - - - Name - TextEncodingConverter - MacOS - - - Name - Textension - MacOS - - - Name - ThreadsLib - MacOS - - - Name - UnicodeConverter - MacOS - - - - - Classic Debug - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameClassic Debug - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000E2D755010000000000001000E2D7E60 - 0002000000000000000000000E2D2DD000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle0 - MWFrontEnd_C_prefixname/wx/wx_cw_d.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma1 - MWWarning_C_warn_emptydecl1 - MWWarning_C_warn_possunwant1 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic1 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual1 - MWWarning_C_warn_implicitconv1 - MWWarning_C_warn_notinlined1 - MWWarning_C_warn_structclass1 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - {Ð - %#H - %8* - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesInline - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfiletoolbar Classic Debug - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - MSL C.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - Debug - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - wx_PPC_d.lib - MacOS - Library - Debug - - - Name - wx_PPC.rsrc - MacOS - Resource - Debug - - - Name - zlib.lib - MacOS - Library - Debug - - - Name - png.lib - MacOS - Library - Debug - - - Name - tiffd.lib - MacOS - Library - Debug - - - Name - jpeg.lib - MacOS - Library - Debug - - - Name - toolbar.cpp - MacOS - Text - Debug - - - Name - AppearanceLib - MacOS - Library - Debug - - - Name - ATSUnicodeLib - MacOS - Library - Debug - - - Name - CarbonAccessors.o - MacOS - Library - Debug - - - Name - ControlsLib - MacOS - Library - Debug - - - Name - CursorDevicesGlue.o - MacOS - Library - Debug - - - Name - DialogsLib - MacOS - Library - Debug - - - Name - DragLib - MacOS - Library - Debug - - - Name - InterfaceLib - MacOS - Library - Debug - - - Name - InternetConfigLib - MacOS - Library - Debug - - - Name - WindowsLib - MacOS - Library - Debug - - - Name - MathLib - MacOS - Library - Debug - - - Name - MenusLib - MacOS - Library - Debug - - - Name - NavigationLib - MacOS - Library - Debug - - - Name - OpenTptAppleTalkLib - MacOS - Library - Debug - - - Name - OpenTptATalkPPC.o - MacOS - Library - Debug - - - Name - OpenTptInetPPC.o - MacOS - Library - Debug - - - Name - OpenTptInternetLib - MacOS - Library - Debug - - - Name - OpenTransportLib - MacOS - Library - Debug - - - Name - OpenTransportAppPPC.o - MacOS - Library - Debug - - - Name - PLStringFuncsPPC.lib - MacOS - Library - Debug - - - Name - TextEncodingConverter - MacOS - Library - Debug - - - Name - Textension - MacOS - Library - Debug - - - Name - ThreadsLib - MacOS - Library - Debug - - - Name - UnicodeConverter - MacOS - Library - Debug - - - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - MSL C.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - wx_PPC_d.lib - MacOS - - - Name - wx_PPC.rsrc - MacOS - - - Name - zlib.lib - MacOS - - - Name - png.lib - MacOS - - - Name - tiffd.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - toolbar.cpp - MacOS - - - Name - AppearanceLib - MacOS - - - Name - ATSUnicodeLib - MacOS - - - Name - CarbonAccessors.o - MacOS - - - Name - ControlsLib - MacOS - - - Name - CursorDevicesGlue.o - MacOS - - - Name - DialogsLib - MacOS - - - Name - DragLib - MacOS - - - Name - InterfaceLib - MacOS - - - Name - InternetConfigLib - MacOS - - - Name - WindowsLib - MacOS - - - Name - MathLib - MacOS - - - Name - MenusLib - MacOS - - - Name - NavigationLib - MacOS - - - Name - OpenTptAppleTalkLib - MacOS - - - Name - OpenTptATalkPPC.o - MacOS - - - Name - OpenTptInetPPC.o - MacOS - - - Name - OpenTptInternetLib - MacOS - - - Name - OpenTransportLib - MacOS - - - Name - OpenTransportAppPPC.o - MacOS - - - Name - PLStringFuncsPPC.lib - MacOS - - - Name - TextEncodingConverter - MacOS - - - Name - Textension - MacOS - - - Name - ThreadsLib - MacOS - - - Name - UnicodeConverter - MacOS - - - - - Carbon Debug - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameCarbon Debug - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle0 - MWFrontEnd_C_prefixname/wx/wx_cwc_d.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma1 - MWWarning_C_warn_emptydecl1 - MWWarning_C_warn_possunwant1 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic1 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual1 - MWWarning_C_warn_implicitconv1 - MWWarning_C_warn_notinlined1 - MWWarning_C_warn_structclass1 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - {Ð - %#H - %8* - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesInline - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfiletoolbar Carbon Debug - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - Debug - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - wx_CARBON_d.lib - MacOS - Library - Debug - - - Name - MSL C.CARBON.Lib - MacOS - Library - Debug - - - Name - wx_CARBON.rsrc - MacOS - Resource - Debug - - - Name - tiffd.lib - MacOS - Library - Debug - - - Name - jpeg.lib - MacOS - Library - Debug - - - Name - png.lib - MacOS - Library - Debug - - - Name - zlib.lib - MacOS - Library - Debug - - - Name - toolbar.cpp - MacOS - Text - Debug - - - Name - CarbonLib - MacOS - Library - Debug - - - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - wx_CARBON_d.lib - MacOS - - - Name - MSL C.CARBON.Lib - MacOS - - - Name - wx_CARBON.rsrc - MacOS - - - Name - tiffd.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - png.lib - MacOS - - - Name - zlib.lib - MacOS - - - Name - toolbar.cpp - MacOS - - - Name - CarbonLib - MacOS - - - - - Carbon Release - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameCarbon Release - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle1 - MWFrontEnd_C_prefixname/wx/wx_cwc.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma0 - MWWarning_C_warn_emptydecl0 - MWWarning_C_warn_possunwant0 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic0 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual0 - MWWarning_C_warn_implicitconv0 - MWWarning_C_warn_notinlined0 - MWWarning_C_warn_structclass0 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - {Ð - %#H - %8* - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesNone - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfiletoolbar Carbon Release - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - MSL C.CARBON.Lib - MacOS - Library - - - - Name - wx_CARBON.lib - MacOS - Library - - - - Name - wx_CARBON.rsrc - MacOS - Resource - - - - Name - tiff.lib - MacOS - Library - - - - Name - jpeg.lib - MacOS - Library - - - - Name - toolbar.cpp - MacOS - Text - - - - Name - zlib.lib - MacOS - Library - - - - Name - png.lib - MacOS - Library - - - - Name - CarbonLib - MacOS - Library - - - - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - MSL C.CARBON.Lib - MacOS - - - Name - wx_CARBON.lib - MacOS - - - Name - wx_CARBON.rsrc - MacOS - - - Name - tiff.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - toolbar.cpp - MacOS - - - Name - zlib.lib - MacOS - - - Name - png.lib - MacOS - - - Name - CarbonLib - MacOS - - - - - - - Classic Release - Classic Debug - Carbon Debug - Carbon Release - - - - - Classic Release - Name - toolbar.cpp - MacOS - - wx - - Carbon Release - Name - wx_CARBON.lib - MacOS - - - Carbon Debug - Name - wx_CARBON_d.lib - MacOS - - - Carbon Debug - Name - wx_CARBON.rsrc - MacOS - - - Classic Release - Name - wx_PPC.lib - MacOS - - - Classic Debug - Name - wx_PPC_d.lib - MacOS - - - Classic Release - Name - wx_PPC.rsrc - MacOS - - - Classic Release - Name - tiff.lib - MacOS - - - Classic Release - Name - zlib.lib - MacOS - - - Classic Release - Name - png.lib - MacOS - - - Classic Debug - Name - tiffd.lib - MacOS - - - Classic Release - Name - jpeg.lib - MacOS - - - MSL ANSI Libraries - - Classic Release - Name - console.stubs.c - MacOS - - - Classic Release - Name - MSL RuntimePPC.Lib - MacOS - - - Classic Release - Name - MSL C++.PPC.Lib - MacOS - - - Classic Release - Name - MSL C.PPC.Lib - MacOS - - - Carbon Debug - Name - MSL C.CARBON.Lib - MacOS - - - Win32 SDK - - MacOS - Carbon - - Carbon Debug - Name - CarbonLib - MacOS - - - Classic - - Classic Release - Name - AppearanceLib - MacOS - - - Classic Release - Name - ATSUnicodeLib - MacOS - - - Classic Release - Name - CarbonAccessors.o - MacOS - - - Classic Release - Name - ControlsLib - MacOS - - - Classic Release - Name - CursorDevicesGlue.o - MacOS - - - Classic Release - Name - DialogsLib - MacOS - - - Classic Release - Name - DragLib - MacOS - - - Classic Release - Name - InterfaceLib - MacOS - - - Classic Release - Name - InternetConfigLib - MacOS - - - Classic Release - Name - WindowsLib - MacOS - - - Classic Release - Name - MathLib - MacOS - - - Classic Release - Name - MenusLib - MacOS - - - Classic Release - Name - NavigationLib - MacOS - - - Classic Release - Name - OpenTptAppleTalkLib - MacOS - - - Classic Release - Name - OpenTptATalkPPC.o - MacOS - - - Classic Release - Name - OpenTptInetPPC.o - MacOS - - - Classic Release - Name - OpenTptInternetLib - MacOS - - - Classic Release - Name - OpenTransportLib - MacOS - - - Classic Release - Name - OpenTransportAppPPC.o - MacOS - - - Classic Release - Name - PLStringFuncsPPC.lib - MacOS - - - Classic Release - Name - TextEncodingConverter - MacOS - - - Classic Release - Name - Textension - MacOS - - - Classic Release - Name - ThreadsLib - MacOS - - - Classic Release - Name - UnicodeConverter - MacOS - - - - - - + { \ No newline at end of file diff --git a/samples/treectrl/treetest.dsp b/samples/treectrl/treetest.dsp index 7d2fdbca7c..550e680836 100644 --- a/samples/treectrl/treetest.dsp +++ b/samples/treectrl/treetest.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "treetest - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "treetest - Win32 Release" diff --git a/samples/treelay/treelay.dsp b/samples/treelay/treelay.dsp index 8051ab49ad..116714a057 100644 --- a/samples/treelay/treelay.dsp +++ b/samples/treelay/treelay.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "treelay - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "treelay - Win32 Release" diff --git a/samples/typetest/typetest.cpp b/samples/typetest/typetest.cpp index cc972aea5a..ce0f69cdcb 100644 --- a/samples/typetest/typetest.cpp +++ b/samples/typetest/typetest.cpp @@ -172,7 +172,7 @@ void MyApp::DoStreamDemo(wxCommandEvent& WXUNUSED(event)) textCtrl.WriteText( tmp ); text_output << str << "\n"; std_file_output << str.c_str() << "\n"; - + textCtrl.WriteText( "\nReading from ifstream:\n" ); wxSTD ifstream std_file_input( "test_std.dat" ); @@ -298,7 +298,7 @@ void MyApp::DoStreamDemo2(wxCommandEvent& WXUNUSED(event)) for (ch = 0; ch < 10; ch++) buf_output.Write( &ch, 1 ); buf_output.Sync(); - + wxFileInputStream file_input( wxString("test_wx.dat") ); for (ch2 = 0; ch2 < 10; ch2++) { @@ -306,7 +306,7 @@ void MyApp::DoStreamDemo2(wxCommandEvent& WXUNUSED(event)) textCtrl.WriteText( (wxChar)(ch + '0') ); } textCtrl.WriteText( "\n\n\n" ); - + textCtrl.WriteText( "Writing number 0 to 9 to buffered wxFileOutputStream, then\n" ); textCtrl.WriteText( "seeking back to #3 and writing 0:\n\n" ); @@ -318,7 +318,7 @@ void MyApp::DoStreamDemo2(wxCommandEvent& WXUNUSED(event)) ch = 0; buf_output2.Write( &ch, 1 ); buf_output2.Sync(); - + wxFileInputStream file_input2( wxString("test_wx2.dat") ); for (ch2 = 0; ch2 < 10; ch2++) { @@ -326,14 +326,14 @@ void MyApp::DoStreamDemo2(wxCommandEvent& WXUNUSED(event)) textCtrl.WriteText( (wxChar)(ch + '0') ); } textCtrl.WriteText( "\n\n\n" ); - + // now append 2000 bytes to file (bigger than buffer) buf_output2.SeekO( 0, wxFromEnd ); ch = 1; for (int i = 0; i < 2000; i++) buf_output2.Write( &ch, 1 ); buf_output2.Sync(); - + textCtrl.WriteText( "Reading number 0 to 9 from buffered wxFileInputStream, then\n" ); textCtrl.WriteText( "seeking back to #3 and reading the 0:\n\n" ); @@ -351,7 +351,7 @@ void MyApp::DoStreamDemo2(wxCommandEvent& WXUNUSED(event)) buf_input3.Read( &ch, 1 ); textCtrl.WriteText( (wxChar)(ch + '0') ); textCtrl.WriteText( "\n\n\n" ); - + } void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) @@ -370,7 +370,7 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) file_output.Write( &ch, 1 ); // Testing wxFileInputStream - + textCtrl.WriteText( "Reading 0 to 10 to wxFileInputStream:\n\n" ); wxFileInputStream file_input( wxString("test_wx.dat") ); @@ -379,10 +379,10 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) file_input.Read( &ch, 1 ); textCtrl.WriteText( "Value read: " ); textCtrl.WriteText( (wxChar)(ch + '0') ); - textCtrl.WriteText( "; stream.LastError() returns: " ); - switch (file_input.LastError()) + textCtrl.WriteText( "; stream.GetLastError() returns: " ); + switch (file_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -390,26 +390,26 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) } } textCtrl.WriteText( "\n" ); - - textCtrl.WriteText( "Seeking to 0; stream.LastError() returns: " ); + + textCtrl.WriteText( "Seeking to 0; stream.GetLastError() returns: " ); file_input.SeekI( 0 ); - switch (file_input.LastError()) + switch (file_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; default: textCtrl.WriteText( "Huh?\n" ); break; } textCtrl.WriteText( "\n" ); - + file_input.Read( &ch, 1 ); textCtrl.WriteText( "Value read: " ); textCtrl.WriteText( (wxChar)(ch + '0') ); - textCtrl.WriteText( "; stream.LastError() returns: " ); - switch (file_input.LastError()) + textCtrl.WriteText( "; stream.GetLastError() returns: " ); + switch (file_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -417,9 +417,9 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) } textCtrl.WriteText( "\n\n" ); - + // Testing wxFFileInputStream - + textCtrl.WriteText( "Reading 0 to 10 to wxFFileInputStream:\n\n" ); wxFFileInputStream ffile_input( wxString("test_wx.dat") ); @@ -428,10 +428,10 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) ffile_input.Read( &ch, 1 ); textCtrl.WriteText( "Value read: " ); textCtrl.WriteText( (wxChar)(ch + '0') ); - textCtrl.WriteText( "; stream.LastError() returns: " ); - switch (ffile_input.LastError()) + textCtrl.WriteText( "; stream.GetLastError() returns: " ); + switch (ffile_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -439,26 +439,26 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) } } textCtrl.WriteText( "\n" ); - - textCtrl.WriteText( "Seeking to 0; stream.LastError() returns: " ); + + textCtrl.WriteText( "Seeking to 0; stream.GetLastError() returns: " ); ffile_input.SeekI( 0 ); - switch (ffile_input.LastError()) + switch (ffile_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; default: textCtrl.WriteText( "Huh?\n" ); break; } textCtrl.WriteText( "\n" ); - + ffile_input.Read( &ch, 1 ); textCtrl.WriteText( "Value read: " ); textCtrl.WriteText( (wxChar)(ch + '0') ); - textCtrl.WriteText( "; stream.LastError() returns: " ); - switch (ffile_input.LastError()) + textCtrl.WriteText( "; stream.GetLastError() returns: " ); + switch (ffile_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -467,7 +467,7 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) textCtrl.WriteText( "\n\n" ); // Testing wxFFileInputStream - + textCtrl.WriteText( "Reading 0 to 10 to buffered wxFFileInputStream:\n\n" ); wxFFileInputStream ffile_input2( wxString("test_wx.dat") ); @@ -477,10 +477,10 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) buf_input.Read( &ch, 1 ); textCtrl.WriteText( "Value read: " ); textCtrl.WriteText( (wxChar)(ch + '0') ); - textCtrl.WriteText( "; stream.LastError() returns: " ); - switch (buf_input.LastError()) + textCtrl.WriteText( "; stream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -488,26 +488,26 @@ void MyApp::DoStreamDemo3(wxCommandEvent& WXUNUSED(event)) } } textCtrl.WriteText( "\n" ); - - textCtrl.WriteText( "Seeking to 0; stream.LastError() returns: " ); + + textCtrl.WriteText( "Seeking to 0; stream.GetLastError() returns: " ); buf_input.SeekI( 0 ); - switch (buf_input.LastError()) + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; default: textCtrl.WriteText( "Huh?\n" ); break; } textCtrl.WriteText( "\n" ); - + buf_input.Read( &ch, 1 ); textCtrl.WriteText( "Value read: " ); textCtrl.WriteText( (wxChar)(ch + '0') ); - textCtrl.WriteText( "; stream.LastError() returns: " ); - switch (buf_input.LastError()) + textCtrl.WriteText( "; stream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -520,7 +520,7 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) wxTextCtrl& textCtrl = * GetTextCtrl(); wxString msg; - + textCtrl.Clear(); textCtrl << "\nTesting wxStreamBuffer:\n\n"; @@ -538,11 +538,11 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) wxFileInputStream file_input( wxString("test_wx.dat") ); wxBufferedInputStream buf_input( file_input ); - - textCtrl.WriteText( "wxBufferedInputStream.LastError() returns: " ); - switch (buf_input.LastError()) + + textCtrl.WriteText( "wxBufferedInputStream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -553,16 +553,16 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) msg.Printf( wxT("wxBufferedInputStream.TellI() returns: %d\n"), (int)buf_input.TellI() ); textCtrl.WriteText( msg ); textCtrl.WriteText( "\n\n" ); - + textCtrl.WriteText( "Seeking to position 300:\n\n" ); buf_input.SeekI( 300 ); - - textCtrl.WriteText( "wxBufferedInputStream.LastError() returns: " ); - switch (buf_input.LastError()) + + textCtrl.WriteText( "wxBufferedInputStream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -573,18 +573,18 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) msg.Printf( wxT("wxBufferedInputStream.TellI() returns: %d\n"), (int)buf_input.TellI() ); textCtrl.WriteText( msg ); textCtrl.WriteText( "\n\n" ); - + char buf[2000]; textCtrl.WriteText( "Reading 500 bytes:\n\n" ); buf_input.Read( buf, 500 ); - - textCtrl.WriteText( "wxBufferedInputStream.LastError() returns: " ); - switch (buf_input.LastError()) + + textCtrl.WriteText( "wxBufferedInputStream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -595,15 +595,15 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) msg.Printf( wxT("wxBufferedInputStream.TellI() returns: %d\n"), (int)buf_input.TellI() ); textCtrl.WriteText( msg ); textCtrl.WriteText( "\n\n" ); - + textCtrl.WriteText( "Reading another 500 bytes:\n\n" ); buf_input.Read( buf, 500 ); - - textCtrl.WriteText( "wxBufferedInputStream.LastError() returns: " ); - switch (buf_input.LastError()) + + textCtrl.WriteText( "wxBufferedInputStream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -618,11 +618,11 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) textCtrl.WriteText( "Reading another 500 bytes:\n\n" ); buf_input.Read( buf, 500 ); - - textCtrl.WriteText( "wxBufferedInputStream.LastError() returns: " ); - switch (buf_input.LastError()) + + textCtrl.WriteText( "wxBufferedInputStream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -637,11 +637,11 @@ void MyApp::DoStreamDemo4(wxCommandEvent& WXUNUSED(event)) textCtrl.WriteText( "Reading another 500 bytes:\n\n" ); buf_input.Read( buf, 500 ); - - textCtrl.WriteText( "wxBufferedInputStream.LastError() returns: " ); - switch (buf_input.LastError()) + + textCtrl.WriteText( "wxBufferedInputStream.GetLastError() returns: " ); + switch (buf_input.GetLastError()) { - case wxSTREAM_NOERROR: textCtrl.WriteText( "wxSTREAM_NOERROR\n" ); break; + case wxSTREAM_NO_ERROR: textCtrl.WriteText( "wxSTREAM_NO_ERROR\n" ); break; case wxSTREAM_EOF: textCtrl.WriteText( "wxSTREAM_EOF\n" ); break; case wxSTREAM_READ_ERROR: textCtrl.WriteText( "wxSTREAM_READ_ERROR\n" ); break; case wxSTREAM_WRITE_ERROR: textCtrl.WriteText( "wxSTREAM_WRITE_ERROR\n" ); break; @@ -669,61 +669,61 @@ void MyApp::DoStreamDemo5(wxCommandEvent& WXUNUSED(event)) wxFileOutputStream file_output( wxString("test_wx.dat") ); for (ch = 0; ch < 10; ch++) file_output.Write( &ch, 1 ); - + file_output.Sync(); - + wxFileInputStream file_input( wxString("test_wx.dat") ); - + ch = file_input.Peek(); str.Printf( wxT("First char peeked: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = file_input.GetC(); str.Printf( wxT("First char read: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = file_input.Peek(); str.Printf( wxT("Second char peeked: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = file_input.GetC(); str.Printf( wxT("Second char read: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = file_input.Peek(); str.Printf( wxT("Third char peeked: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = file_input.GetC(); str.Printf( wxT("Third char read: %d\n"), (int) ch ); textCtrl.WriteText( str ); - - + + textCtrl << "\n\n\nTesting wxMemoryInputStream's Peek():\n\n"; - + char buf[] = { 0,1,2,3,4,5,6,7,8,9,10 }; wxMemoryInputStream input( buf, 10 ); - + ch = input.Peek(); str.Printf( wxT("First char peeked: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = input.GetC(); str.Printf( wxT("First char read: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = input.Peek(); str.Printf( wxT("Second char peeked: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = input.GetC(); str.Printf( wxT("Second char read: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = input.Peek(); str.Printf( wxT("Third char peeked: %d\n"), (int) ch ); textCtrl.WriteText( str ); - + ch = input.GetC(); str.Printf( wxT("Third char read: %d\n"), (int) ch ); textCtrl.WriteText( str ); @@ -735,7 +735,7 @@ void MyApp::DoStreamDemo6(wxCommandEvent& WXUNUSED(event)) textCtrl.Clear(); textCtrl.WriteText( "\nTesting Ungetch():\n\n" ); - + char ch = 0; size_t pos = 0; wxString str; @@ -745,62 +745,62 @@ void MyApp::DoStreamDemo6(wxCommandEvent& WXUNUSED(event)) wxFileOutputStream file_output( wxString("test_wx.dat") ); for (ch = 0; ch < 10; ch++) file_output.Write( &ch, 1 ); - + file_output.Sync(); - + textCtrl.WriteText( "Reading char from wxFileInputStream:\n\n" ); wxFileInputStream file_input( wxString("test_wx.dat") ); - + ch = file_input.GetC(); pos = file_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading another char from wxFileInputStream:\n\n" ); ch = file_input.GetC(); pos = file_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading yet another char from wxFileInputStream:\n\n" ); ch = file_input.GetC(); pos = file_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Now calling Ungetch( 5 ) from wxFileInputStream...\n\n" ); file_input.Ungetch( 5 ); pos = file_input.TellI(); str.Printf( wxT("Now at position %d\n\n"), (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading char from wxFileInputStream:\n\n" ); ch = file_input.GetC(); pos = file_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading another char from wxFileInputStream:\n\n" ); ch = file_input.GetC(); pos = file_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Now calling Ungetch( 5 ) from wxFileInputStream again...\n\n" ); file_input.Ungetch( 5 ); pos = file_input.TellI(); str.Printf( wxT("Now at position %d\n\n"), (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Seeking to pos 3 in wxFileInputStream. This invalidates the writeback buffer.\n\n" ); - + file_input.SeekI( 3 ); ch = file_input.GetC(); @@ -815,7 +815,7 @@ void MyApp::DoStreamDemo7(wxCommandEvent& WXUNUSED(event)) textCtrl.Clear(); textCtrl.WriteText( "\nTesting Ungetch() in buffered input stream:\n\n" ); - + char ch = 0; size_t pos = 0; wxString str; @@ -825,63 +825,63 @@ void MyApp::DoStreamDemo7(wxCommandEvent& WXUNUSED(event)) wxFileOutputStream file_output( wxString("test_wx.dat") ); for (ch = 0; ch < 10; ch++) file_output.Write( &ch, 1 ); - + file_output.Sync(); - + textCtrl.WriteText( "Reading char from wxBufferedInputStream via wxFileInputStream:\n\n" ); wxFileInputStream file_input( wxString("test_wx.dat") ); wxBufferedInputStream buf_input( file_input ); - + ch = buf_input.GetC(); pos = buf_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading another char from wxBufferedInputStream:\n\n" ); ch = buf_input.GetC(); pos = buf_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading yet another char from wxBufferedInputStream:\n\n" ); ch = buf_input.GetC(); pos = buf_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Now calling Ungetch( 5 ) from wxBufferedInputStream...\n\n" ); buf_input.Ungetch( 5 ); pos = buf_input.TellI(); str.Printf( wxT("Now at position %d\n\n"), (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading char from wxBufferedInputStream:\n\n" ); ch = buf_input.GetC(); pos = buf_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Reading another char from wxBufferedInputStream:\n\n" ); ch = buf_input.GetC(); pos = buf_input.TellI(); str.Printf( wxT("Read char: %d. Now at position %d\n\n"), (int) ch, (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Now calling Ungetch( 5 ) from wxBufferedInputStream again...\n\n" ); buf_input.Ungetch( 5 ); pos = buf_input.TellI(); str.Printf( wxT("Now at position %d\n\n"), (int) pos ); textCtrl.WriteText( str ); - + textCtrl.WriteText( "Seeking to pos 3 in wxBufferedInputStream. This invalidates the writeback buffer.\n\n" ); - + buf_input.SeekI( 3 ); ch = buf_input.GetC(); diff --git a/samples/typetest/typetest.dsp b/samples/typetest/typetest.dsp index 6af9d7602e..af56d537e5 100644 --- a/samples/typetest/typetest.dsp +++ b/samples/typetest/typetest.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "typetest - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "typetest - Win32 Release" diff --git a/samples/validate/validate.dsp b/samples/validate/validate.dsp index 13e758ed0a..02f94eaa41 100644 --- a/samples/validate/validate.dsp +++ b/samples/validate/validate.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "validate - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "validate - Win32 Release" diff --git a/samples/widgets/makefile.unx b/samples/widgets/makefile.unx new file mode 100644 index 0000000000..229d278717 --- /dev/null +++ b/samples/widgets/makefile.unx @@ -0,0 +1,43 @@ +# +# File: Makefile for the widgets sample +# Author: Vadim Zeitlin +# Copyright: (c) 2002 wxWindows team +# +# This makefile requires a Unix version of wxWindows +# to be installed on your system. This is most often +# done typing "make install" when using the complete +# sources of wxWindows or by installing the two +# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm +# under Linux. +# + +CXX = $(shell wx-config --cxx) + +PROGRAM = widgets + +OBJECTS = $(PROGRAM).o \ + button.o \ + combobox.o \ + gauge.o \ + listbox.o \ + notebook.o \ + radiobox.o \ + slider.o \ + spinbtn.o \ + static.o \ + textctrl.o + +# implementation + +.SUFFIXES: .o .cpp + +.cpp.o : + $(CXX) -c `wx-config --cxxflags` -o $@ $< + +all: $(PROGRAM) + +$(PROGRAM): $(OBJECTS) + $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + +clean: + rm -f *.o $(PROGRAM) diff --git a/samples/widgets/notebook.cpp b/samples/widgets/notebook.cpp index 4491785d2f..6eb8b1ae65 100644 --- a/samples/widgets/notebook.cpp +++ b/samples/widgets/notebook.cpp @@ -380,18 +380,17 @@ void NotebookWidgetsPage::CreateNotebook() if ( notebook ) { - int sel = notebook->GetSelection(); + const int sel = notebook->GetSelection(); - int count = notebook->GetPageCount(); + const int count = notebook->GetPageCount(); + + // recreate the pages for ( int n = 0; n < count; n++ ) { - wxNotebookPage *page = notebook->GetPage(0); - page->Reparent(m_notebook); - - m_notebook->AddPage(page, notebook->GetPageText(0), FALSE, - notebook->GetPageImage(0)); - - notebook->RemovePage(0); + m_notebook->AddPage(CreateNewPage(), + notebook->GetPageText(n), + FALSE, + notebook->GetPageImage(n)); } m_sizerNotebook->Remove(notebook); @@ -543,4 +542,4 @@ void NotebookWidgetsPage::OnPageChanged(wxNotebookEvent& event) event.Skip(); } -#endif \ No newline at end of file +#endif diff --git a/samples/widgets/slider.cpp b/samples/widgets/slider.cpp index ec1d8f5a76..9793994642 100644 --- a/samples/widgets/slider.cpp +++ b/samples/widgets/slider.cpp @@ -459,10 +459,8 @@ void SliderWidgetsPage::OnUpdateUIOtherSide(wxUpdateUIEvent& event) void SliderWidgetsPage::OnSlider(wxScrollEvent& event) { - long value = event.GetInt(); - - wxASSERT_MSG( value == m_slider->GetValue(), - wxT("slider value should be the same") ); + wxASSERT_MSG( event.GetInt() == m_slider->GetValue(), + wxT("slider value should be the same") ); wxEventType eventType = event.GetEventType(); diff --git a/samples/widgets/widgets.dsp b/samples/widgets/widgets.dsp index b7a51f6a7e..0e43425ddd 100644 --- a/samples/widgets/widgets.dsp +++ b/samples/widgets/widgets.dsp @@ -55,7 +55,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "widgets - Win32 Debug DLL" @@ -81,7 +81,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ..\..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "widgets - Win32 Release" diff --git a/samples/widgets/widgets.h b/samples/widgets/widgets.h index bfd7ca6b4f..7f36a57134 100644 --- a/samples/widgets/widgets.h +++ b/samples/widgets/widgets.h @@ -17,7 +17,7 @@ class WXDLLEXPORT wxNotebook; class WXDLLEXPORT wxSizer; class WXDLLEXPORT wxTextCtrl; -class WXDLLEXPORT WidgetsPageInfo; +class WidgetsPageInfo; #include "wx/panel.h" @@ -68,7 +68,7 @@ public: // dynamic WidgetsPage creation helpers // ---------------------------------------------------------------------------- -class WXDLLEXPORT WidgetsPageInfo +class WidgetsPageInfo { public: typedef WidgetsPage *(*Constructor)(wxNotebook *notebook, diff --git a/samples/wizard/wizard.dsp b/samples/wizard/wizard.dsp index f25939a17d..655ea8643e 100644 --- a/samples/wizard/wizard.dsp +++ b/samples/wizard/wizard.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw233.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 ..\..\lib\wxmsw234.lib !ELSEIF "$(CFG)" == "wizard - Win32 Debug DLL" @@ -80,7 +80,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw233d.lib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ..\..\lib\wxmsw234d.lib !ELSEIF "$(CFG)" == "wizard - Win32 Release" diff --git a/samples/xrc/Makefile.in b/samples/xrc/Makefile.in index 74b1001946..512deacc5e 100644 --- a/samples/xrc/Makefile.in +++ b/samples/xrc/Makefile.in @@ -16,7 +16,7 @@ OBJECTS=$(PROGRAM).o \ derivdlg.o \ custclas.o -APPEXTRALIBS=$(top_builddir)/lib/libwxxrc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include DATADIRS = rc @@ -31,6 +31,7 @@ DATAFILES = rc/artprov.xrc \ rc/toolbar.xrc \ rc/uncenter.xrc \ rc/variable.xrc \ + rc/appicon.xpm \ rc/artprov.xpm \ rc/basicdlg.xpm \ rc/controls.xpm \ diff --git a/samples/xrc/XrcDemoVC.dsp b/samples/xrc/XrcDemoVC.dsp index 5bef50036a..61c5c6314a 100644 --- a/samples/xrc/XrcDemoVC.dsp +++ b/samples/xrc/XrcDemoVC.dsp @@ -109,7 +109,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Release DLL" @@ -136,7 +136,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/samples/xrc/custclas.cpp b/samples/xrc/custclas.cpp index 020a14e4b5..ba30c5f7f7 100644 --- a/samples/xrc/custclas.cpp +++ b/samples/xrc/custclas.cpp @@ -156,7 +156,7 @@ void MyResizableListCtrl::SetColumnWidths() // This is just a debug message in case you want to watch the // events scroll by as you resize. - wxLogDebug( "Successfully set column widths" ); + wxLogDebug( wxT("Successfully set column widths") ); } diff --git a/samples/xrc/derivdlg.cpp b/samples/xrc/derivdlg.cpp index a9a719c49d..437615d60b 100644 --- a/samples/xrc/derivdlg.cpp +++ b/samples/xrc/derivdlg.cpp @@ -61,7 +61,7 @@ END_EVENT_TABLE() // Constructor (Notice how small and easy it is) PreferencesDialog::PreferencesDialog(wxWindow* parent) { - wxXmlResource::Get()->LoadDialog(this, parent, "derived_dialog"); + wxXmlResource::Get()->LoadDialog(this, parent, wxT("derived_dialog")); } // Destructor. (Empty, as I don't need anything special done when destructing). diff --git a/samples/xrc/myframe.cpp b/samples/xrc/myframe.cpp index 2d03b22e44..594d8769e1 100644 --- a/samples/xrc/myframe.cpp +++ b/samples/xrc/myframe.cpp @@ -109,18 +109,18 @@ MyFrame::MyFrame(wxWindow* parent) // since this frame will always be the top window, and thus parentless. // However, the current approach has source code that can be recycled // for other frames that aren't the top level window.] - wxXmlResource::Get()->LoadFrame(this, parent, "main_frame"); + wxXmlResource::Get()->LoadFrame(this, parent, wxT("main_frame")); // Set the icon for the frame. SetIcon(wxICON(appicon)); // Load the menubar from XRC and set this frame's menubar to it. - SetMenuBar(wxXmlResource::Get()->LoadMenuBar("main_menu")); + SetMenuBar(wxXmlResource::Get()->LoadMenuBar(wxT("main_menu"))); // Load the toolbar from XRC and set this frame's toolbar to it. // NOTE: For toolbars you currently should do it exactly like this. // With toolbars, you currently can't create one, and set it later. It // needs to be all in one step. - SetToolBar(wxXmlResource::Get()->LoadToolBar(this, "main_toolbar")); + SetToolBar(wxXmlResource::Get()->LoadToolBar(this, wxT("main_toolbar"))); // Give the frame a optional statusbar. The '1' just means one field. // A gripsizer will automatically get put on into the corner, if that @@ -146,7 +146,7 @@ void MyFrame::OnNonDerivedDialogToolOrMenuCommand(wxCommandEvent& WXUNUSED(event wxDialog dlg; // "non_derived_dialog" is the name of the wxDialog XRC node that should // be loaded. - wxXmlResource::Get()->LoadDialog(&dlg, this, "non_derived_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("non_derived_dialog")); dlg.ShowModal(); } @@ -166,7 +166,7 @@ void MyFrame::OnDerivedDialogToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnControlsToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "controls_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("controls_dialog")); #if wxUSE_LISTCTRL // There is no data in the listctrl. This will add some columns @@ -211,7 +211,7 @@ void MyFrame::OnControlsToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnUncenteredToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "uncentered_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("uncentered_dialog")); dlg.ShowModal(); } @@ -219,7 +219,7 @@ void MyFrame::OnUncenteredToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnCustomClassToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "custom_class_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("custom_class_dialog")); // Make an instance of our new custom class. MyResizableListCtrl* a_myResizableListCtrl = new MyResizableListCtrl(&dlg, @@ -231,7 +231,7 @@ void MyFrame::OnCustomClassToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) // "custom_control_placeholder" is the name of the "unknown" tag in the // custctrl.xrc XRC file. - wxXmlResource::Get()->AttachUnknownControl("custom_control_placeholder", + wxXmlResource::Get()->AttachUnknownControl(wxT("custom_control_placeholder"), a_myResizableListCtrl); dlg.ShowModal(); } @@ -240,7 +240,7 @@ void MyFrame::OnCustomClassToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "platform_property_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("platform_property_dialog")); dlg.ShowModal(); } @@ -248,7 +248,7 @@ void MyFrame::OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& WXUNUSED(event void MyFrame::OnArtProviderToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "art_provider_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("art_provider_dialog")); dlg.ShowModal(); } @@ -256,7 +256,7 @@ void MyFrame::OnArtProviderToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnVariableExpansionToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) { wxDialog dlg; - wxXmlResource::Get()->LoadDialog(&dlg, this, "variable_expansion_dialog"); + wxXmlResource::Get()->LoadDialog(&dlg, this, wxT("variable_expansion_dialog")); dlg.ShowModal(); } @@ -267,5 +267,5 @@ void MyFrame::OnAboutToolOrMenuCommand(wxCommandEvent& WXUNUSED(event)) msg.Printf( _T("This is the about dialog of XML resources demo.\n") _T("Welcome to %s"), wxVERSION_STRING); - wxMessageBox(msg, "About XML resources demo", wxOK | wxICON_INFORMATION, this); + wxMessageBox(msg, _("About XML resources demo"), wxOK | wxICON_INFORMATION, this); } diff --git a/samples/xrc/xrcdemo.cpp b/samples/xrc/xrcdemo.cpp index f7d755352c..c904f52e28 100644 --- a/samples/xrc/xrcdemo.cpp +++ b/samples/xrc/xrcdemo.cpp @@ -88,27 +88,27 @@ bool MyApp::OnInit() // into one giant XRC file if you wanted, but then they become more // diffcult to manage, and harder to reuse in later projects. // The menubar - wxXmlResource::Get()->Load("rc/menu.xrc"); + wxXmlResource::Get()->Load(wxT("rc/menu.xrc")); // The toolbar - wxXmlResource::Get()->Load("rc/toolbar.xrc"); + wxXmlResource::Get()->Load(wxT("rc/toolbar.xrc")); // Non-derived dialog example - wxXmlResource::Get()->Load("rc/basicdlg.xrc"); + wxXmlResource::Get()->Load(wxT("rc/basicdlg.xrc")); // Derived dialog example - wxXmlResource::Get()->Load("rc/derivdlg.xrc"); + wxXmlResource::Get()->Load(wxT("rc/derivdlg.xrc")); // Controls property example - wxXmlResource::Get()->Load("rc/controls.xrc"); + wxXmlResource::Get()->Load(wxT("rc/controls.xrc")); // Frame example - wxXmlResource::Get()->Load("rc/frame.xrc"); + wxXmlResource::Get()->Load(wxT("rc/frame.xrc")); // Uncentered example - wxXmlResource::Get()->Load("rc/uncenter.xrc"); + wxXmlResource::Get()->Load(wxT("rc/uncenter.xrc")); // Custom class example - wxXmlResource::Get()->Load("rc/custclas.xrc"); + wxXmlResource::Get()->Load(wxT("rc/custclas.xrc")); // wxArtProvider example - wxXmlResource::Get()->Load("rc/artprov.xrc"); + wxXmlResource::Get()->Load(wxT("rc/artprov.xrc")); // Platform property example - wxXmlResource::Get()->Load("rc/platform.xrc"); + wxXmlResource::Get()->Load(wxT("rc/platform.xrc")); // Variable expansion example - wxXmlResource::Get()->Load("rc/variable.xrc"); + wxXmlResource::Get()->Load(wxT("rc/variable.xrc")); // Make an instance of your derived frame. Passing NULL (the default value // of MyFrame's constructor is NULL) as the frame doesn't have a frame diff --git a/setup.h.in b/setup.h.in index 071a63dbc0..a553d06a27 100644 --- a/setup.h.in +++ b/setup.h.in @@ -83,6 +83,7 @@ #undef __FREEBSD__ #undef __DARWIN__ #undef __NETBSD__ +#undef __OPENBSD__ #undef __VMS__ #undef __ULTRIX__ #undef __DATA_GENERAL__ @@ -890,6 +891,9 @@ /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ #undef WX_GMTOFF_IN_TM +/* Define if you have poll(2) function */ +#undef HAVE_POLL + /* Define if you have pw_gecos field in struct passwd */ #undef HAVE_PW_GECOS diff --git a/setup.h_vms b/setup.h_vms index f5d1c8724f..d09add5c37 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -94,6 +94,7 @@ #undef __NETBSD__ #undef __BSD__ #undef __FREEBSD__ +#undef __OPENBSD__ #define __VMS__ #undef __ULTRIX__ #undef __DATA_GENERAL__ @@ -914,6 +915,9 @@ /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ #define WX_GMTOFF_IN_TM +/* Define if you have poll(2) function */ +#define HAVE_POLL 1 + /* Define if you have pw_gecos field in struct passwd */ #undef HAVE_PW_GECOS diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index cfd1d3df14..32c2fe5e00 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -446,8 +446,23 @@ bool wxAppBase::CheckBuildOptions(const wxBuildOptions& opts) if ( !(wxCMP(isDebug) && wxCMP(verMaj) && wxCMP(verMin)) ) { - wxLogFatalError(_T("Mismatch between the program and library build ") - _T("versions detected.")); + wxString msg; + wxString libDebug, progDebug; + + if (isDebug) + libDebug = wxT("debug"); + else + libDebug = wxT("no debug"); + + if (opts.m_isDebug) + progDebug = wxT("debug"); + else + progDebug = wxT("no debug"); + + msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %d.%d (%s), and your program used %d.%d (%s)."), + verMaj, verMin, libDebug.c_str(), opts.m_verMaj, opts.m_verMin, progDebug.c_str()); + + wxLogFatalError(msg); // normally wxLogFatalError doesn't return return FALSE; diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index 64b87d781e..194219d32d 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -207,8 +207,15 @@ wxArtProviderCache *wxArtProvider::sm_cache = NULL; class wxArtProviderModule: public wxModule { public: - bool OnInit() { return TRUE; } - void OnExit() { wxArtProvider::CleanUpProviders(); } + bool OnInit() + { + wxArtProvider::InitStdProvider(); + return TRUE; + } + void OnExit() + { + wxArtProvider::CleanUpProviders(); + } DECLARE_DYNAMIC_CLASS(wxArtProviderModule) }; diff --git a/src/common/artstd.cpp b/src/common/artstd.cpp index 9a8e4f53eb..31b4355928 100644 --- a/src/common/artstd.cpp +++ b/src/common/artstd.cpp @@ -27,7 +27,6 @@ #endif #include "wx/artprov.h" -#include "wx/module.h" // For the purposes of forcing this module to link char g_ArtProviderModule = 0; @@ -93,23 +92,20 @@ protected: } // ---------------------------------------------------------------------------- -// wxDefaultArtProviderModule +// wxArtProvider::InitStdProvider // ---------------------------------------------------------------------------- -class wxDefaultArtProviderModule: public wxModule +/*static*/ void wxArtProvider::InitStdProvider() { -public: - bool OnInit() - { - wxArtProvider::PushProvider(new wxDefaultArtProvider); - return TRUE; - } - void OnExit() {} - - DECLARE_DYNAMIC_CLASS(wxDefaultArtProviderModule) -}; - -IMPLEMENT_DYNAMIC_CLASS(wxDefaultArtProviderModule, wxModule) + // NB: A few notes about this function: + // (1) it is in artstd.cpp and not in artprov.cpp on purpose. I wanted + // to avoid declaring wxDefaultArtProvider in any public header as + // it is only an implementation detail + // (2) other default art providers (e.g. GTK one) should NOT be added + // here. Instead, add them in port-specific initialialization code + + wxArtProvider::PushProvider(new wxDefaultArtProvider); +} // ---------------------------------------------------------------------------- diff --git a/src/common/cmdline.cpp b/src/common/cmdline.cpp index 9697a6d3ac..6a21925fe7 100644 --- a/src/common/cmdline.cpp +++ b/src/common/cmdline.cpp @@ -86,6 +86,7 @@ struct wxCmdLineOption GetLongOptionName(lng).Len() == lng.Len(), wxT("Long option contains invalid characters") ); + kind = k; @@ -561,7 +562,7 @@ int wxCmdLineParser::Parse(bool showUsage) optInd = m_data->FindOptionByLongName(name); if ( optInd == wxNOT_FOUND ) { - errorMsg << wxString::Format(_("Unknown long option '%s'"), name.c_str()) << "\n"; + errorMsg << wxString::Format(_("Unknown long option '%s'"), name.c_str()) << wxT("\n"); } } else @@ -570,7 +571,7 @@ int wxCmdLineParser::Parse(bool showUsage) // Print the argument including leading "--" name.Prepend( wxT("--") ); - errorMsg << wxString::Format(_("Unknown option '%s'"), name.c_str()) << "\n"; + errorMsg << wxString::Format(_("Unknown option '%s'"), name.c_str()) << wxT("\n"); } } @@ -591,7 +592,7 @@ int wxCmdLineParser::Parse(bool showUsage) { // we couldn't find a valid option name in the // beginning of this string - errorMsg << wxString::Format(_("Unknown option '%s'"), name.c_str()) << "\n"; + errorMsg << wxString::Format(_("Unknown option '%s'"), name.c_str()) << wxT("\n"); break; } @@ -663,7 +664,7 @@ int wxCmdLineParser::Parse(bool showUsage) if ( *p++ != _T('=') ) { - errorMsg << wxString::Format(_("Option '%s' requires a value, '=' expected."), name.c_str()) << "\n"; + errorMsg << wxString::Format(_("Option '%s' requires a value, '=' expected."), name.c_str()) << wxT("\n"); ok = FALSE; } @@ -684,7 +685,7 @@ int wxCmdLineParser::Parse(bool showUsage) { // ... but there is none errorMsg << wxString::Format(_("Option '%s' requires a value."), - name.c_str()) << "\n"; + name.c_str()) << wxT("\n"); ok = FALSE; } @@ -701,7 +702,7 @@ int wxCmdLineParser::Parse(bool showUsage) if ( opt.flags & wxCMD_LINE_NEEDS_SEPARATOR ) { errorMsg << wxString::Format(_("Separator expected after the option '%s'."), - name.c_str()) << "\n"; + name.c_str()) << wxT("\n"); ok = FALSE; } @@ -731,7 +732,7 @@ int wxCmdLineParser::Parse(bool showUsage) else { errorMsg << wxString::Format(_("'%s' is not a correct numeric value for option '%s'."), - value.c_str(), name.c_str()) << "\n"; + value.c_str(), name.c_str()) << wxT("\n"); ok = FALSE; } @@ -745,7 +746,7 @@ int wxCmdLineParser::Parse(bool showUsage) if ( !res || *res ) { errorMsg << wxString::Format(_("Option '%s': '%s' cannot be converted to a date."), - name.c_str(), value.c_str()) << "\n"; + name.c_str(), value.c_str()) << wxT("\n"); ok = FALSE; } @@ -785,7 +786,7 @@ int wxCmdLineParser::Parse(bool showUsage) } else { - errorMsg << wxString::Format(_("Unexpected parameter '%s'"), arg.c_str()) << "\n"; + errorMsg << wxString::Format(_("Unexpected parameter '%s'"), arg.c_str()) << wxT("\n"); ok = FALSE; } @@ -822,7 +823,7 @@ int wxCmdLineParser::Parse(bool showUsage) } errorMsg << wxString::Format(_("The value for the option '%s' must be specified."), - optName.c_str()) << "\n"; + optName.c_str()) << wxT("\n"); ok = FALSE; } @@ -843,7 +844,7 @@ int wxCmdLineParser::Parse(bool showUsage) if ( !(param.flags & wxCMD_LINE_PARAM_OPTIONAL) ) { errorMsg << wxString::Format(_("The required parameter '%s' was not specified."), - param.description.c_str()) << "\n"; + param.description.c_str()) << wxT("\n"); ok = FALSE; } diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 3eabda7f50..562b1e0814 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -247,7 +247,7 @@ wxPrintData::wxPrintData() m_printCollate = FALSE; // New, 24/3/99 - m_printerName = ""; + m_printerName = wxT(""); m_colour = TRUE; m_duplexMode = wxDUPLEX_SIMPLEX; m_printQuality = wxPRINT_QUALITY_HIGH; @@ -632,17 +632,7 @@ void wxPrintData::ConvertFromNative() if (devMode->dmDeviceName[0] != 0) { - // TODO: make this Unicode compatible - char buf[32]; - int i = 0; - while (devMode->dmDeviceName[i] != 0) - { - buf[i] = devMode->dmDeviceName[i]; - i ++; - } - buf[i] = 0; - - m_printerName = buf; + m_printerName = devMode->dmDeviceName; } //// Colour diff --git a/src/common/config.cpp b/src/common/config.cpp index 286e2123aa..014c2ab297 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -68,7 +68,8 @@ wxConfigBase::wxConfigBase(const wxString& appName, long style) : m_appName(appName), m_vendorName(vendorName), m_style(style) { - m_bExpandEnvVars = TRUE; m_bRecordDefaults = FALSE; + m_bExpandEnvVars = TRUE; + m_bRecordDefaults = FALSE; } wxConfigBase::~wxConfigBase() @@ -110,7 +111,12 @@ wxConfigBase *wxConfigBase::Create() { \ wxCHECK_MSG( val, FALSE, _T("wxConfig::Read(): NULL parameter") ); \ \ - return DoRead##name(key, val); \ + if ( !DoRead##name(key, val) ) \ + return FALSE; \ + \ + *val = extra(*val); \ + \ + return TRUE; \ } \ \ bool wxConfigBase::Read(const wxString& key, \ @@ -119,17 +125,20 @@ wxConfigBase *wxConfigBase::Create() { \ wxCHECK_MSG( val, FALSE, _T("wxConfig::Read(): NULL parameter") ); \ \ - if ( DoRead##name(key, val) ) \ - return TRUE; \ - \ - if ( IsRecordingDefaults() ) \ + bool read = DoRead##name(key, val); \ + if ( !read ) \ { \ - ((wxConfigBase *)this)->DoWrite##name(key, defVal); \ + if ( IsRecordingDefaults() ) \ + { \ + ((wxConfigBase *)this)->DoWrite##name(key, defVal); \ + } \ + \ + *val = defVal; \ } \ \ - *val = extra(defVal); \ + *val = extra(*val); \ \ - return FALSE; \ + return read; \ } @@ -278,10 +287,11 @@ wxString wxExpandEnvVars(const wxString& str) { Bracket_None, Bracket_Normal = ')', - Bracket_Curly = '}' + Bracket_Curly = '}', #ifdef __WXMSW__ - ,Bracket_Windows = '%' // yeah, Windows people are a bit strange ;-) + Bracket_Windows = '%', // yeah, Windows people are a bit strange ;-) #endif + Bracket_Max }; size_t m; @@ -342,8 +352,16 @@ wxString wxExpandEnvVars(const wxString& str) // check the closing bracket if ( bracket != Bracket_None ) { if ( m == str.Len() || str[m] != (char)bracket ) { - wxLogWarning(_("Environment variables expansion failed: missing '%c' at position %d in '%s'."), - (char)bracket, m + 1, str.c_str()); + // under MSW it's common to have '%' characters in the registry + // and it's annoying to have warnings about them each time, so + // ignroe them silently if they are not used for env vars + // + // under Unix, OTOH, this warning could be useful for the user to + // understand why isn't the variable expanded as intended + #ifndef __WXMSW__ + wxLogWarning(_("Environment variables expansion failed: missing '%c' at position %d in '%s'."), + (char)bracket, m + 1, str.c_str()); + #endif // __WXMSW__ } else { // skip closing bracket unless the variables wasn't expanded @@ -375,8 +393,6 @@ wxString wxExpandEnvVars(const wxString& str) } // this function is used to properly interpret '..' in path -/// separates group and entry names (probably shouldn't be changed) - void wxSplitPath(wxArrayString& aParts, const wxChar *sz) { aParts.Empty(); diff --git a/src/common/containr.cpp b/src/common/containr.cpp index daf414ce55..5b5df9ea92 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -247,10 +247,12 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event ) event.SetEventObject(m_winParent); if ( !child->GetEventHandler()->ProcessEvent(event) ) { + // set it first in case SetFocusFromKbd() results in focus + // change too + m_winLastFocused = child; + // everything is simple: just give focus to it child->SetFocusFromKbd(); - - m_winLastFocused = child; } //else: the child manages its focus itself @@ -288,39 +290,18 @@ bool wxControlContainer::DoSetFocus() wxLogTrace(_T("focus"), _T("SetFocus on wxPanel 0x%08lx."), (unsigned long)m_winParent->GetHandle()); - // If the panel gets the focus *by way of getting it set directly* - // we move the focus to the first window that can get it. - - // VZ: no, we set the focus to the last window too. I don't understand why - // should we make this distinction: if an app wants to set focus to - // some precise control, it may always do it directly, but if we don't - // use m_winLastFocused here, the focus won't be set correctly after a - // notebook page change nor after frame activation under MSW (it calls - // SetFocus too) - // - // RR: yes, when I the tab key to navigate in a panel with some controls and - // a notebook and the focus jumps to the notebook (typically coming from - // a button at the top) the notebook should focus the first child in the - // current notebook page, not the last one which would otherwise get the - // focus if you used the tab key to navigate from the current notebook - // page to button at the bottom. See every page in the controls sample. - // - // VZ: ok, but this still doesn't (at least I don't see how it can) take - // care of first/last child problem: i.e. if Shift-TAB is pressed in a - // situation like above, the focus should be given to the last child, - // not the first one (and not to the last focused one neither) - I - // think my addition to OnNavigationKey() above takes care of it. - // Keeping #ifdef __WXGTK__ for now, but please try removing it and see - // what happens. - // - // RR: Removed for now. Let's see what happens.. - - // if our child already has focus, don't take it away from it + // when the panel gets the focus we move the focus to either the last + // window that had the focus or the first one that can get it unless the + // focus had been already set to some other child + wxWindow *win = wxWindow::FindFocus(); while ( win ) { if ( win == m_winParent ) + { + // our child already has focus, don't take it away from it return TRUE; + } if ( win->IsTopLevel() ) { @@ -341,10 +322,7 @@ void wxControlContainer::HandleOnFocus(wxFocusEvent& event) (unsigned long)m_winParent->GetHandle(), m_winParent->GetName().c_str() ); - // If we panel got the focus *by way of getting clicked on* - // we move the focus to either the last window that had the - // focus or the first one that can get it. - (void)SetFocusToChild(); + DoSetFocus(); event.Skip(); } diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 1f3ba66047..3ef1e1e6f1 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -1247,6 +1247,82 @@ wxDateTime& wxDateTime::ResetTime() return *this; } +// ---------------------------------------------------------------------------- +// DOS Date and Time Format functions +// ---------------------------------------------------------------------------- +// the dos date and time value is an unsigned 32 bit value in the format: +// YYYYYYYMMMMDDDDDhhhhhmmmmmmsssss +// +// Y = year offset from 1980 (0-127) +// M = month (1-12) +// D = day of month (1-31) +// h = hour (0-23) +// m = minute (0-59) +// s = bisecond (0-29) each bisecond indicates two seconds +// ---------------------------------------------------------------------------- + +wxDateTime& wxDateTime::SetFromDOS(unsigned long ddt) +{ + struct tm tm; + + long year = ddt & 0xFE000000; + year >>= 25; + year += 80; + tm.tm_year = year; + + long month = ddt & 0x1E00000; + month >>= 21; + month -= 1; + tm.tm_mon = month; + + long day = ddt & 0x1F0000; + day >>= 16; + tm.tm_mday = day; + + long hour = ddt & 0xF800; + hour >>= 11; + tm.tm_hour = hour; + + long minute = ddt & 0x7E0; + minute >>= 5; + tm.tm_min = minute; + + long second = ddt & 0x1F; + tm.tm_sec = second * 2; + + return Set(mktime(&tm)); +} + +unsigned long wxDateTime::GetAsDOS() const +{ + unsigned long ddt; + time_t ticks = GetTicks(); + struct tm *tm = localtime(&ticks); + + long year = tm->tm_year; + year -= 80; + year <<= 25; + + long month = tm->tm_mon; + month += 1; + month <<= 21; + + long day = tm->tm_mday; + day <<= 16; + + long hour = tm->tm_hour; + hour <<= 11; + + long minute = tm->tm_min; + minute <<= 5; + + long second = tm->tm_sec; + second /= 2; + + ddt = year | month | day | hour | minute | second; + return ddt; +} + // ---------------------------------------------------------------------------- // time_t <-> broken down time conversions // ---------------------------------------------------------------------------- @@ -1494,13 +1570,18 @@ wxDateTime& wxDateTime::Add(const wxDateSpan& diff) // Weekday and monthday stuff // ---------------------------------------------------------------------------- -bool wxDateTime::SetToTheWeek(wxDateTime_t numWeek, WeekDay weekday) +bool wxDateTime::SetToTheWeek(wxDateTime_t numWeek, + WeekDay weekday, + WeekFlags flags) { + wxASSERT_MSG( numWeek > 0, + _T("invalid week number: weeks are counted from 1") ); + int year = GetYear(); // Jan 4 always lies in the 1st week of the year Set(4, Jan, year); - SetToWeekDayInSameWeek(weekday) += wxDateSpan::Weeks(numWeek); + SetToWeekDayInSameWeek(weekday, flags) += wxDateSpan::Weeks(numWeek - 1); if ( GetYear() != year ) { @@ -1523,17 +1604,34 @@ wxDateTime& wxDateTime::SetToLastMonthDay(Month month, return Set(GetNumOfDaysInMonth(year, month), month, year); } -wxDateTime& wxDateTime::SetToWeekDayInSameWeek(WeekDay weekday) +wxDateTime& wxDateTime::SetToWeekDayInSameWeek(WeekDay weekday, WeekFlags flags) { wxDATETIME_CHECK( weekday != Inv_WeekDay, _T("invalid weekday") ); - WeekDay wdayThis = GetWeekDay(); + int wdayThis = GetWeekDay(); if ( weekday == wdayThis ) { // nothing to do return *this; } - else if ( weekday < wdayThis ) + + if ( flags == Default_First ) + { + flags = GetCountry() == USA ? Sunday_First : Monday_First; + } + + // the logic below based on comparing weekday and wdayThis works if Sun (0) + // is the first day in the week, but breaks down for Monday_First case so + // we adjust the week days in this case + if( flags == Monday_First ) + { + if ( wdayThis == Sun ) + wdayThis += 7; + } + //else: Sunday_First, nothing to do + + // go forward or back in time to the day we want + if ( weekday < wdayThis ) { return Subtract(wxDateSpan::Days(wdayThis - weekday)); } diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index 4b37033048..88cdcd4049 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -113,14 +113,14 @@ wxString wxDataInputStream::ReadString() char *tmp = new char[len + 1]; m_input->Read(tmp, len); tmp[len] = 0; - wxString s(tmp, m_conv); + wxString ret( (const wxChar*) m_conv.cMB2WX(tmp) ); delete[] tmp; #else - wxString s; - m_input->Read(s.GetWriteBuf(len), len); - s.UngetWriteBuf(); + wxString ret; + m_input->Read( ret.GetWriteBuf(len), len); + ret.UngetWriteBuf(); #endif - return s; + return ret; } else return wxEmptyString; diff --git a/src/common/db.cpp b/src/common/db.cpp index 085e6cad5c..1d014c2ced 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -3750,7 +3750,7 @@ int WXDLLEXPORT wxDbConnectionsInUse(void) /********** wxDbLogExtendedErrorMsg() **********/ // DEBUG ONLY function -const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, +const wxChar* WXDLLEXPORT wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb, const wxChar *ErrFile, int ErrLine) diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index 03d947568a..879a4dd38d 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -2586,8 +2586,8 @@ wxVariant wxDbTable::GetCol(const int colNo) const void csstrncpyt(char *s, const char *t, int n) { - while ((*s++ = *t++) && --n) - {}; + while ( (*s++ = *t++) != '\0' && --n ) + ; *s = '\0'; } diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index d874e1a2fe..e1b894b63c 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -40,7 +40,6 @@ #include "wx/containr.h" #endif - //-------------------------------------------------------------------------- // wxDialogBase //-------------------------------------------------------------------------- @@ -72,6 +71,20 @@ void wxDialogBase::Init() wxSizer *wxDialogBase::CreateTextSizer( const wxString& message ) { + bool is_pda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA); + + wxString text = message; + + // I admit that this is complete bogus, but it makes + // message boxes work for pda screens temporarily.. + int max_width = -1; + if (is_pda) + { + max_width = wxSystemSettings::GetMetric( wxSYS_SCREEN_X ) - 25; + text += wxT('\n'); + } + + wxBoxSizer *box = new wxBoxSizer( wxVERTICAL ); // get line height for empty lines @@ -79,18 +92,19 @@ wxSizer *wxDialogBase::CreateTextSizer( const wxString& message ) wxFont font( GetFont() ); if (!font.Ok()) font = *wxSWISS_FONT; - GetTextExtent(_T("H"), (int*)NULL, &y, (int*)NULL, (int*)NULL, &font); + GetTextExtent( wxT("H"), (int*)NULL, &y, (int*)NULL, (int*)NULL, &font); + size_t last_space = 0; wxString line; - for ( size_t pos = 0; pos < message.length(); pos++ ) + for ( size_t pos = 0; pos < text.length(); pos++ ) { - switch ( message[pos] ) + switch ( text[pos] ) { - case _T('\n'): + case wxT('\n'): if (!line.IsEmpty()) { - wxStaticText *s1 = new wxStaticText( this, -1, line ); - box->Add( s1 ); + wxStaticText *s = new wxStaticText( this, -1, line ); + box->Add( s ); line = wxT(""); } else @@ -99,17 +113,44 @@ wxSizer *wxDialogBase::CreateTextSizer( const wxString& message ) } break; - case _T('&'): + case wxT('&'): // this is used as accel mnemonic prefix in the wxWindows // controls but in the static messages created by // CreateTextSizer() (used by wxMessageBox, for example), we // don't want this special meaning, so we need to quote it - line += _T('&'); + line += wxT('&'); // fall through to add it normally too default: + if (text[pos] == wxT(' ')) + last_space = pos; + line += message[pos]; + + if (is_pda) + { + int width = 0; + GetTextExtent( line, &width, (int*)NULL, (int*)NULL, (int*)NULL, &font ); + + if (width > max_width) + { + // exception if there was no previous space + if (last_space == 0) + last_space = pos; + + int diff = pos-last_space; + int len = line.Len(); + line.Remove( len-diff, diff ); + + wxStaticText *s = new wxStaticText( this, -1, line ); + box->Add( s ); + + pos = last_space; + last_space = 0; + line = wxT(""); + } + } } } @@ -129,7 +170,29 @@ wxSizer *wxDialogBase::CreateTextSizer( const wxString& message ) wxSizer *wxDialogBase::CreateButtonSizer( long flags ) { - wxBoxSizer *box = new wxBoxSizer( wxHORIZONTAL ); + bool is_pda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA); + + wxBoxSizer *box = NULL; + + // If we have a PDA screen, put yes/no button over + // all other buttons, otherwise on the left side. + if (is_pda) + box = new wxBoxSizer( wxVERTICAL ); + else + box = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer *inner_yes_no = NULL; + + // Only create sizer containing yes/no + // if it is actually required + if ( (flags & wxYES_NO) != 0 ) + { + inner_yes_no = new wxBoxSizer( wxHORIZONTAL ); + box->Add( inner_yes_no, 0, wxBOTTOM, 10 ); + } + + wxBoxSizer *inner_rest = new wxBoxSizer( wxHORIZONTAL ); + box->Add( inner_rest, 0, 0, 0 ); #if defined(__WXMSW__) || defined(__WXMAC__) static const int margin = 6; @@ -149,39 +212,39 @@ wxSizer *wxDialogBase::CreateButtonSizer( long flags ) if (flags & wxYES) { yes = new wxButton( this, wxID_YES, _("Yes"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ); - box->Add( yes, 0, wxLEFT|wxRIGHT, margin ); + inner_yes_no->Add( yes, 0, wxLEFT|wxRIGHT, margin ); } if (flags & wxNO) { no = new wxButton( this, wxID_NO, _("No"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ); - box->Add( no, 0, wxLEFT|wxRIGHT, margin ); + inner_yes_no->Add( no, 0, wxLEFT|wxRIGHT, margin ); } if (flags & wxOK) { ok = new wxButton( this, wxID_OK, _("OK"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ); - box->Add( ok, 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( ok, 0, wxLEFT|wxRIGHT, margin ); } if (flags & wxFORWARD) - box->Add( new wxButton( this, wxID_FORWARD, _("Forward"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( new wxButton( this, wxID_FORWARD, _("Forward"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); if (flags & wxBACKWARD) - box->Add( new wxButton( this, wxID_BACKWARD, _("Backward"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( new wxButton( this, wxID_BACKWARD, _("Backward"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); if (flags & wxSETUP) - box->Add( new wxButton( this, wxID_SETUP, _("Setup"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( new wxButton( this, wxID_SETUP, _("Setup"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); if (flags & wxMORE) - box->Add( new wxButton( this, wxID_MORE, _("More..."),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( new wxButton( this, wxID_MORE, _("More..."),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); if (flags & wxHELP) - box->Add( new wxButton( this, wxID_HELP, _("Help"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( new wxButton( this, wxID_HELP, _("Help"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ), 0, wxLEFT|wxRIGHT, margin ); if (flags & wxCANCEL) { cancel = new wxButton( this, wxID_CANCEL, _("Cancel"),wxDefaultPosition,wxDefaultSize,wxCLIP_SIBLINGS ); - box->Add( cancel, 0, wxLEFT|wxRIGHT, margin ); + inner_rest->Add( cancel, 0, wxLEFT|wxRIGHT, margin ); } // choose the default button diff --git a/src/common/docview.cpp b/src/common/docview.cpp index d115d72349..c001cac43a 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -262,7 +262,7 @@ bool wxDocument::SaveAs() if (ext.IsEmpty() || ext == wxT("")) { - fileName += "."; + fileName += wxT("."); fileName += docTemplate->GetDefaultExtension(); } @@ -295,11 +295,11 @@ bool wxDocument::OnSaveDocument(const wxString& file) msgTitle = wxString(_("File error")); #if wxUSE_STD_IOSTREAM - wxSTD ofstream store(wxString(file.fn_str()).mb_str()); + wxSTD ofstream store(wxString(file.fn_str()).mb_str()); // ????? if (store.fail() || store.bad()) #else - wxFileOutputStream store(wxString(file.fn_str())); - if (store.LastError() != wxSTREAM_NOERROR) + wxFileOutputStream store( file ); + if (store.GetLastError() != wxSTREAM_NO_ERROR) #endif { (void)wxMessageBox(_("Sorry, could not open this file for saving."), msgTitle, wxOK | wxICON_EXCLAMATION, @@ -332,11 +332,11 @@ bool wxDocument::OnOpenDocument(const wxString& file) msgTitle = wxString(_("File error")); #if wxUSE_STD_IOSTREAM - wxSTD ifstream store(wxString(file.fn_str()).mb_str()); + wxSTD ifstream store(wxString(file.fn_str()).mb_str()); // ???? if (store.fail() || store.bad()) #else - wxFileInputStream store(wxString(file.fn_str())); - if (store.LastError() != wxSTREAM_NOERROR) + wxFileInputStream store( file ); + if (store.GetLastError() != wxSTREAM_NO_ERROR) #endif { (void)wxMessageBox(_("Sorry, could not open this file."), msgTitle, wxOK|wxICON_EXCLAMATION, @@ -347,8 +347,8 @@ bool wxDocument::OnOpenDocument(const wxString& file) LoadObject(store); if ( !store && !store.eof() ) #else - int res = LoadObject(store).LastError(); - if ((res != wxSTREAM_NOERROR) && + int res = LoadObject(store).GetLastError(); + if ((res != wxSTREAM_NO_ERROR) && (res != wxSTREAM_EOF)) #endif { @@ -506,7 +506,8 @@ void wxDocument::UpdateAllViews(wxView *sender, wxObject *hint) while (node) { wxView *view = (wxView *)node->Data(); - view->OnUpdate(sender, hint); + if (view != sender) + view->OnUpdate(sender, hint); node = node->Next(); } } @@ -838,12 +839,12 @@ void wxDocManager::OnFileCloseAll(wxCommandEvent& WXUNUSED(event)) void wxDocManager::OnFileNew(wxCommandEvent& WXUNUSED(event)) { - CreateDocument(wxString(""), wxDOC_NEW); + CreateDocument( wxT(""), wxDOC_NEW ); } void wxDocManager::OnFileOpen(wxCommandEvent& WXUNUSED(event)) { - if ( !CreateDocument(wxString(""), 0) ) + if ( !CreateDocument( wxT(""), 0) ) { OnOpenFileFailure(); } @@ -2214,7 +2215,7 @@ bool wxTransferStreamToFile(wxInputStream& stream, const wxString& filename) return FALSE; } - int len = stream.StreamSize(); + int len = stream.GetSize(); // TODO: is this the correct test for EOF? while (stream.TellI() < (len - 1)) { diff --git a/src/common/dosyacc.c b/src/common/dosyacc.c index a773cce6ef..9fce511cda 100644 --- a/src/common/dosyacc.c +++ b/src/common/dosyacc.c @@ -1,3 +1,11 @@ +#ifdef WIN32 +/* all Win32 compilers can handle C++ comments, and C++ comments + is the only C++ in setup.h */ +#include "wx/setup.h" +#endif + +#if !defined(wxUSE_PROLOGIO) || wxUSE_PROLOGIO + #ifndef lint static char yysccsid[] = "@(#)yaccpar 1.7 (Berkeley) 09/09/90"; #endif @@ -526,3 +534,5 @@ yyabort: yyaccept: return (0); } + +#endif /* wxUSE_PROLOGIO */ diff --git a/src/common/dynarray.cpp b/src/common/dynarray.cpp index 1b3a0353b9..4d0ee51d28 100644 --- a/src/common/dynarray.cpp +++ b/src/common/dynarray.cpp @@ -110,7 +110,7 @@ name& name::operator=(const name& src) \ void name::Grow(size_t nIncrement) \ { \ /* only do it if no more place */ \ - if( m_nCount == m_nSize ) { \ + if( (m_nCount == m_nSize) || ((m_nSize - m_nCount) < nIncrement) ) { \ if( m_nSize == 0 ) { \ /* was empty, determine initial size */ \ size_t size = WX_ARRAY_DEFAULT_INITIAL_SIZE; \ @@ -253,6 +253,8 @@ int name::Index(T lItem, CMPFUNC fnCompare) const \ /* add item at the end */ \ void name::Add(T lItem, size_t nInsert) \ { \ + if (nInsert == 0) \ + return; \ Grow(nInsert); \ for (size_t i = 0; i < nInsert; i++) \ m_pItems[m_nCount++] = lItem; \ @@ -271,6 +273,8 @@ void name::Insert(T lItem, size_t nIndex, size_t nInsert) \ wxCHECK_RET( m_nCount <= m_nCount + nInsert, \ wxT("array size overflow in wxArray::Insert") ); \ \ + if (nInsert == 0) \ + return; \ Grow(nInsert); \ \ memmove(&m_pItems[nIndex + nInsert], &m_pItems[nIndex], \ diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index aa917ba051..4c86a5e19a 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -33,6 +33,7 @@ #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/intl.h" + #include "wx/hash.h" #endif #include "wx/filename.h" // for SplitPath() @@ -263,7 +264,10 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const symbol = dlsym( m_handle, name.fn_str() ); #elif defined(HAVE_SHL_LOAD) - if( shl_findsym( &m_handle, name.fn_str(), TYPE_UNDEFINED, &symbol ) != 0 ) + // use local variable since shl_findsym modifies the handle argument + // to indicate where the symbol was found (GD) + wxDllType the_handle = m_handle; + if( shl_findsym( &the_handle, name.fn_str(), TYPE_UNDEFINED, &symbol ) != 0 ) symbol = 0; #elif defined(__WINDOWS__) @@ -416,9 +420,7 @@ void wxPluginLibrary::UpdateClassInfo() // Hash all the class names into a local table too so // we can quickly find the entry they correspond to. - - if( ms_classes->Get(info->m_className) == 0 ) - ms_classes->Put(info->m_className, (wxObject *) this); + (*ms_classes)[info->m_className] = this; } } @@ -438,7 +440,7 @@ void wxPluginLibrary::RestoreClassInfo() for(info = m_after; info != m_before; info = info->m_next) { wxClassInfo::sm_classTable->Delete(info->m_className); - ms_classes->Delete(info->m_className); + ms_classes->erase(ms_classes->find(info->m_className)); } if( wxClassInfo::sm_first == m_after ) @@ -549,7 +551,7 @@ wxPluginManager::LoadLibrary(const wxString &libname, int flags) } else { - entry = (wxPluginLibrary*) ms_manifest->Get(realname); + entry = FindByName(realname); } if ( entry ) @@ -565,7 +567,7 @@ wxPluginManager::LoadLibrary(const wxString &libname, int flags) if ( entry->IsLoaded() ) { - ms_manifest->Put(realname, (wxObject*) entry); + (*ms_manifest)[realname] = entry; wxLogTrace(_T("dll"), _T("LoadLibrary(%s): loaded ok."), realname.c_str()); @@ -594,13 +596,13 @@ bool wxPluginManager::UnloadLibrary(const wxString& libname) { wxString realname = libname; - wxPluginLibrary *entry = (wxPluginLibrary*) ms_manifest->Get(realname); + wxPluginLibrary *entry = FindByName(realname); if ( !entry ) { realname += wxDynamicLibrary::GetDllExt(); - entry = (wxPluginLibrary*) ms_manifest->Get(realname); + entry = FindByName(realname); } if ( !entry ) @@ -619,7 +621,7 @@ bool wxPluginManager::UnloadLibrary(const wxString& libname) return FALSE; } - ms_manifest->Delete(realname); + ms_manifest->erase(ms_manifest->find(realname)); return TRUE; } @@ -627,12 +629,15 @@ bool wxPluginManager::UnloadLibrary(const wxString& libname) #if WXWIN_COMPATIBILITY_2_2 wxPluginLibrary *wxPluginManager::GetObjectFromHandle(wxDllType handle) { - wxNode *node; - ms_manifest->BeginFind(); + for ( wxDLManifest::iterator i = ms_manifest->begin(); + i != ms_manifest->end(); + ++i ) + { + wxPluginLibrary * const lib = i->second; - for(node = ms_manifest->Next(); node; node = ms_manifest->Next()) - if( ((wxPluginLibrary*)node->GetData())->GetLibHandle() == handle ) - return (wxPluginLibrary*)node->GetData(); + if ( lib->GetLibHandle() == handle ) + return lib; + } return NULL; } @@ -645,25 +650,28 @@ wxPluginLibrary *wxPluginManager::GetObjectFromHandle(wxDllType handle) bool wxPluginManager::Load(const wxString &libname, int flags) { m_entry = wxPluginManager::LoadLibrary(libname, flags); + return IsLoaded(); } void wxPluginManager::Unload() { - wxNode *node; - ms_manifest->BeginFind(); - - // It's either this or store the name of the lib just to do this. + wxCHECK_RET( m_entry, _T("unloading an invalid wxPluginManager?") ); - for(node = ms_manifest->Next(); node; node = ms_manifest->Next()) - if( (wxPluginLibrary*)node->GetData() == m_entry ) - break; - - if( m_entry && m_entry->UnrefLib() ) + for ( wxDLManifest::iterator i = ms_manifest->begin(); + i != ms_manifest->end(); + ++i ) { - delete node; - m_entry = 0; + if ( i->second == m_entry ) + { + ms_manifest->erase(i); + return; + } } + + m_entry->UnrefLib(); + + m_entry = NULL; } // --------------------------------------------------------------------------- diff --git a/src/common/event.cpp b/src/common/event.cpp index d4cc3c54d4..6e578317e2 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -545,9 +545,32 @@ wxKeyEvent::wxKeyEvent(wxEventType type) m_altDown = FALSE; m_keyCode = 0; m_scanCode = 0; +#if wxUSE_UNICODE + m_uniChar = 0; +#endif } - +wxKeyEvent::wxKeyEvent(const wxKeyEvent& evt) + : wxEvent(evt) +{ + m_x = evt.m_x; + m_y = evt.m_y; + + m_keyCode = evt.m_keyCode; + + m_controlDown = evt.m_controlDown; + m_shiftDown = evt.m_shiftDown; + m_altDown = evt.m_altDown; + m_metaDown = evt.m_metaDown; + m_scanCode = evt.m_scanCode; + m_rawCode = evt.m_rawCode; + m_rawFlags = evt.m_rawFlags; + +#if wxUSE_UNICODE + m_uniChar = evt.m_uniChar; +#endif +} + wxWindowCreateEvent::wxWindowCreateEvent(wxWindow *win) { SetEventType(wxEVT_CREATE); diff --git a/src/common/execcmn.cpp b/src/common/execcmn.cpp index f89e061b2c..9e9012f244 100644 --- a/src/common/execcmn.cpp +++ b/src/common/execcmn.cpp @@ -81,7 +81,7 @@ inline void wxStreamTempInputBuffer::Init(wxPipeInputStream *stream) void wxStreamTempInputBuffer::Update() { - if ( m_stream && m_stream->IsAvailable() ) + if ( m_stream && m_stream->CanRead() ) { // realloc in blocks of 4Kb: this is the default (and minimal) buffer // size of the Unix pipes so it should be the optimal step @@ -111,24 +111,5 @@ wxStreamTempInputBuffer::~wxStreamTempInputBuffer() } } -// ---------------------------------------------------------------------------- -// platform-dependent parts of wxProcess implementation included -// ---------------------------------------------------------------------------- - -bool wxProcess::IsInputOpened() const -{ - return m_inputStream && ((wxPipeInputStream *)m_inputStream)->IsOpened(); -} - -bool wxProcess::IsInputAvailable() const -{ - return m_inputStream && ((wxPipeInputStream *)m_inputStream)->IsAvailable(); -} - -bool wxProcess::IsErrorAvailable() const -{ - return m_errorStream && ((wxPipeInputStream *)m_errorStream)->IsAvailable(); -} - #endif // _WX_WXEXEC_CPP_ diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 5ef534169b..c93a8f5d01 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -261,16 +261,16 @@ wxString wxFileConfig::GetGlobalDir() { wxString strDir; - #ifdef __VMS__ // Note if __VMS is defined __UNIX is also defined +#ifdef __VMS__ // Note if __VMS is defined __UNIX is also defined strDir = wxT("sys$manager:"); - #elif defined(__WXMAC__) +#elif defined(__WXMAC__) strDir = wxMacFindFolder( (short) kOnSystemDisk, kPreferencesFolderType, kDontCreateFolder ) ; - #elif defined( __UNIX__ ) +#elif defined( __UNIX__ ) strDir = wxT("/etc/"); - #elif defined(__WXPM__) - ULONG aulSysInfo[QSV_MAX] = {0}; - UINT drive; - APIRET rc; +#elif defined(__WXPM__) + ULONG aulSysInfo[QSV_MAX] = {0}; + UINT drive; + APIRET rc; rc = DosQuerySysInfo( 1L, QSV_MAX, (PVOID)aulSysInfo, sizeof(ULONG)*QSV_MAX); if (rc == 0) @@ -278,88 +278,90 @@ wxString wxFileConfig::GetGlobalDir() drive = aulSysInfo[QSV_BOOT_DRIVE - 1]; strDir.Printf(wxT("%c:\\OS2\\"), 'A'+drive-1); } - #elif defined(__WXSTUBS__) +#elif defined(__WXSTUBS__) wxASSERT_MSG( FALSE, wxT("TODO") ) ; - #elif defined(__DOS__) +#elif defined(__DOS__) // There's no such thing as global cfg dir in MS-DOS, let's return // current directory (FIXME_MGL?) return wxT(".\\"); - #else // Windows +#else // Windows wxChar szWinDir[MAX_PATH]; ::GetWindowsDirectory(szWinDir, MAX_PATH); strDir = szWinDir; strDir << wxT('\\'); - #endif // Unix/Windows +#endif // Unix/Windows - return strDir; + return strDir; } wxString wxFileConfig::GetLocalDir() { - wxString strDir; + wxString strDir; #if defined(__WXMAC__) || defined(__DOS__) - // no local dir concept on Mac OS 9 or MS-DOS - return GetGlobalDir() ; + // no local dir concept on Mac OS 9 or MS-DOS + return GetGlobalDir() ; +#else + wxGetHomeDir(&strDir); + +#ifdef __UNIX__ +#ifdef __VMS + if (strDir.Last() != wxT(']')) +#endif + if (strDir.Last() != wxT('/')) strDir << wxT('/'); #else - wxGetHomeDir(&strDir); - -# ifdef __UNIX__ -# ifdef __VMS - if (strDir.Last() != wxT(']')) -# endif - if (strDir.Last() != wxT('/')) strDir << wxT('/'); -# else - if (strDir.Last() != wxT('\\')) strDir << wxT('\\'); -# endif + if (strDir.Last() != wxT('\\')) strDir << wxT('\\'); +#endif #endif - return strDir; + return strDir; } wxString wxFileConfig::GetGlobalFileName(const wxChar *szFile) { - wxString str = GetGlobalDir(); - str << szFile; - - if ( wxStrchr(szFile, wxT('.')) == NULL ) - #if defined( __WXMAC__ ) - str << " Preferences"; - #elif defined( __UNIX__ ) - str << wxT(".conf"); - #else // Windows - str << wxT(".ini"); - #endif // UNIX/Win + wxString str = GetGlobalDir(); + str << szFile; - return str; + if ( wxStrchr(szFile, wxT('.')) == NULL ) +#if defined( __WXMAC__ ) + str << " Preferences"; +#elif defined( __UNIX__ ) + str << wxT(".conf"); +#else // Windows + str << wxT(".ini"); +#endif // UNIX/Win + + return str; } wxString wxFileConfig::GetLocalFileName(const wxChar *szFile) { -#ifdef __VMS__ // On VMS I saw the problem that the home directory was appended - // twice for the configuration file. Does that also happen for other - // platforms? - wxString str = wxT( '.' ); +#ifdef __VMS__ + // On VMS I saw the problem that the home directory was appended + // twice for the configuration file. Does that also happen for + // other platforms? + wxString str = wxT( '.' ); #else - wxString str = GetLocalDir(); + wxString str = GetLocalDir(); #endif - #if defined( __UNIX__ ) && !defined( __VMS ) && !defined( __WXMAC__ ) +#if defined( __UNIX__ ) && !defined( __VMS ) && !defined( __WXMAC__ ) str << wxT('.'); - #endif +#endif - str << szFile; + str << szFile; - #if defined(__WINDOWS__) || defined(__DOS__) +#if defined(__WINDOWS__) || defined(__DOS__) if ( wxStrchr(szFile, wxT('.')) == NULL ) - str << wxT(".ini"); - #endif + str << wxT(".ini"); +#endif - #ifdef __WXMAC__ - str << " Preferences"; - #endif - return str; +#ifdef __WXMAC__ + str << " Preferences"; +#endif + + return str; } // ---------------------------------------------------------------------------- @@ -368,38 +370,52 @@ wxString wxFileConfig::GetLocalFileName(const wxChar *szFile) void wxFileConfig::Init() { - m_pCurrentGroup = - m_pRootGroup = new wxFileConfigGroup(NULL, "", this); + m_pCurrentGroup = + m_pRootGroup = new wxFileConfigGroup(NULL, wxT(""), this); - m_linesHead = - m_linesTail = NULL; + m_linesHead = + m_linesTail = NULL; - // it's not an error if (one of the) file(s) doesn't exist + // It's not an error if (one of the) file(s) doesn't exist. - // parse the global file - if ( !m_strGlobalFile.IsEmpty() && wxFile::Exists(m_strGlobalFile) ) { - wxTextFile fileGlobal(m_strGlobalFile); + // parse the global file + if ( !m_strGlobalFile.IsEmpty() && wxFile::Exists(m_strGlobalFile) ) + { + wxTextFile fileGlobal(m_strGlobalFile); - if ( fileGlobal.Open() ) { - Parse(fileGlobal, FALSE /* global */); - SetRootPath(); +#if defined(__WXGTK20__) && wxUSE_UNICODE + if ( fileGlobal.Open( wxConvUTF8 ) ) +#else + if ( fileGlobal.Open() ) +#endif + { + Parse(fileGlobal, FALSE /* global */); + SetRootPath(); + } + else + { + wxLogWarning(_("can't open global configuration file '%s'."), m_strGlobalFile.c_str()); + } } - else - wxLogWarning(_("can't open global configuration file '%s'."), - m_strGlobalFile.c_str()); - } - // parse the local file - if ( !m_strLocalFile.IsEmpty() && wxFile::Exists(m_strLocalFile) ) { - wxTextFile fileLocal(m_strLocalFile); - if ( fileLocal.Open() ) { - Parse(fileLocal, TRUE /* local */); - SetRootPath(); + // parse the local file + if ( !m_strLocalFile.IsEmpty() && wxFile::Exists(m_strLocalFile) ) + { + wxTextFile fileLocal(m_strLocalFile); +#if defined(__WXGTK20__) && wxUSE_UNICODE + if ( fileLocal.Open( wxConvUTF8 ) ) +#else + if ( fileLocal.Open() ) +#endif + { + Parse(fileLocal, TRUE /* local */); + SetRootPath(); + } + else + { + wxLogWarning(_("can't open user configuration file '%s'."), m_strLocalFile.c_str() ); + } } - else - wxLogWarning(_("can't open user configuration file '%s'."), - m_strLocalFile.c_str()); - } } // constructor supports creation of wxFileConfig objects of any type @@ -411,47 +427,43 @@ wxFileConfig::wxFileConfig(const wxString& appName, const wxString& vendorName, style), m_strLocalFile(strLocal), m_strGlobalFile(strGlobal) { - // Make up names for files if empty - if ( m_strLocalFile.IsEmpty() && (style & wxCONFIG_USE_LOCAL_FILE) ) - { - m_strLocalFile = GetLocalFileName(GetAppName()); - } + // Make up names for files if empty + if ( m_strLocalFile.IsEmpty() && (style & wxCONFIG_USE_LOCAL_FILE) ) + m_strLocalFile = GetLocalFileName(GetAppName()); - if ( m_strGlobalFile.IsEmpty() && (style & wxCONFIG_USE_GLOBAL_FILE) ) - { - m_strGlobalFile = GetGlobalFileName(GetAppName()); - } + if ( m_strGlobalFile.IsEmpty() && (style & wxCONFIG_USE_GLOBAL_FILE) ) + m_strGlobalFile = GetGlobalFileName(GetAppName()); - // Check if styles are not supplied, but filenames are, in which case - // add the correct styles. - if ( !m_strLocalFile.IsEmpty() ) - SetStyle(GetStyle() | wxCONFIG_USE_LOCAL_FILE); - - if ( !m_strGlobalFile.IsEmpty() ) - SetStyle(GetStyle() | wxCONFIG_USE_GLOBAL_FILE); + // Check if styles are not supplied, but filenames are, in which case + // add the correct styles. + if ( !m_strLocalFile.IsEmpty() ) + SetStyle(GetStyle() | wxCONFIG_USE_LOCAL_FILE); - // if the path is not absolute, prepend the standard directory to it - // UNLESS wxCONFIG_USE_RELATIVE_PATH style is set - if ( !(style & wxCONFIG_USE_RELATIVE_PATH) ) - { - if ( !m_strLocalFile.IsEmpty() && !wxIsAbsolutePath(m_strLocalFile) ) - { - wxString strLocal = m_strLocalFile; - m_strLocalFile = GetLocalDir(); - m_strLocalFile << strLocal; - } + if ( !m_strGlobalFile.IsEmpty() ) + SetStyle(GetStyle() | wxCONFIG_USE_GLOBAL_FILE); - if ( !m_strGlobalFile.IsEmpty() && !wxIsAbsolutePath(m_strGlobalFile) ) - { - wxString strGlobal = m_strGlobalFile; - m_strGlobalFile = GetGlobalDir(); - m_strGlobalFile << strGlobal; - } - } + // if the path is not absolute, prepend the standard directory to it + // UNLESS wxCONFIG_USE_RELATIVE_PATH style is set + if ( !(style & wxCONFIG_USE_RELATIVE_PATH) ) + { + if ( !m_strLocalFile.IsEmpty() && !wxIsAbsolutePath(m_strLocalFile) ) + { + wxString strLocal = m_strLocalFile; + m_strLocalFile = GetLocalDir(); + m_strLocalFile << strLocal; + } - SetUmask(-1); + if ( !m_strGlobalFile.IsEmpty() && !wxIsAbsolutePath(m_strGlobalFile) ) + { + wxString strGlobal = m_strGlobalFile; + m_strGlobalFile = GetGlobalDir(); + m_strGlobalFile << strGlobal; + } + } - Init(); + SetUmask(-1); + + Init(); } #if wxUSE_STREAMS @@ -462,7 +474,7 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream) SetStyle(GetStyle() | wxCONFIG_USE_LOCAL_FILE); m_pCurrentGroup = - m_pRootGroup = new wxFileConfigGroup(NULL, "", this); + m_pRootGroup = new wxFileConfigGroup(NULL, wxT(""), this); m_linesHead = m_linesTail = NULL; @@ -546,7 +558,9 @@ void wxFileConfig::Parse(wxTextBuffer& buffer, bool bLocal) wxString strLine; size_t nLineCount = buffer.GetLineCount(); - for ( size_t n = 0; n < nLineCount; n++ ) { + + for ( size_t n = 0; n < nLineCount; n++ ) + { strLine = buffer[n]; // add the line to linked list @@ -851,37 +865,62 @@ bool wxFileConfig::DoReadLong(const wxString& key, long *pl) const bool wxFileConfig::DoWriteString(const wxString& key, const wxString& szValue) { - wxConfigPathChanger path(this, key); + wxConfigPathChanger path(this, key); + wxString strName = path.Name(); + + wxLogTrace( _T("wxFileConfig"), + _T(" Writing String '%s' = '%s' to Group '%s'"), + strName.c_str(), + szValue.c_str(), + GetPath().c_str() ); - wxString strName = path.Name(); - if ( strName.IsEmpty() ) { - // setting the value of a group is an error - wxASSERT_MSG( wxIsEmpty(szValue), wxT("can't set value of a group!") ); + if ( strName.IsEmpty() ) + { + // setting the value of a group is an error - // ... except if it's empty in which case it's a way to force it's creation - m_pCurrentGroup->SetDirty(); + wxASSERT_MSG( wxIsEmpty(szValue), wxT("can't set value of a group!") ); - // this will add a line for this group if it didn't have it before - (void)m_pCurrentGroup->GetGroupLine(); - } - else { - // writing an entry + // ... except if it's empty in which case it's a way to force it's creation - // check that the name is reasonable - if ( strName[0u] == wxCONFIG_IMMUTABLE_PREFIX ) { - wxLogError(_("Config entry name cannot start with '%c'."), - wxCONFIG_IMMUTABLE_PREFIX); - return FALSE; + wxLogTrace( _T("wxFileConfig"), + _T(" Creating group %s"), + m_pCurrentGroup->Name().c_str() ); + + m_pCurrentGroup->SetDirty(); + + // this will add a line for this group if it didn't have it before + + (void)m_pCurrentGroup->GetGroupLine(); } + else + { + // writing an entry + // check that the name is reasonable + + if ( strName[0u] == wxCONFIG_IMMUTABLE_PREFIX ) + { + wxLogError( _("Config entry name cannot start with '%c'."), + wxCONFIG_IMMUTABLE_PREFIX); + return FALSE; + } - wxFileConfigEntry *pEntry = m_pCurrentGroup->FindEntry(strName); - if ( pEntry == NULL ) - pEntry = m_pCurrentGroup->AddEntry(strName); + wxFileConfigEntry *pEntry = m_pCurrentGroup->FindEntry(strName); - pEntry->SetValue(szValue); - } + if ( pEntry == 0 ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" Adding Entry %s"), + strName.c_str() ); + pEntry = m_pCurrentGroup->AddEntry(strName); + } - return TRUE; + wxLogTrace( _T("wxFileConfig"), + _T(" Setting value %s"), + szValue.c_str() ); + pEntry->SetValue(szValue); + } + + return TRUE; } bool wxFileConfig::DoWriteLong(const wxString& key, long lValue) @@ -1048,74 +1087,135 @@ bool wxFileConfig::DeleteAll() // linked list functions // ---------------------------------------------------------------------------- -// append a new line to the end of the list + // append a new line to the end of the list + wxFileConfigLineList *wxFileConfig::LineListAppend(const wxString& str) { - wxFileConfigLineList *pLine = new wxFileConfigLineList(str); + wxLogTrace( _T("wxFileConfig"), + _T(" ** Adding Line '%s'"), + str.c_str() ); + wxLogTrace( _T("wxFileConfig"), + _T(" head: %s"), + ((m_linesHead) ? m_linesHead->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" tail: %s"), + ((m_linesTail) ? m_linesTail->Text().c_str() : wxEmptyString) ); - if ( m_linesTail == NULL ) { - // list is empty - m_linesHead = pLine; - } - else { - // adjust pointers - m_linesTail->SetNext(pLine); - pLine->SetPrev(m_linesTail); - } + wxFileConfigLineList *pLine = new wxFileConfigLineList(str); - m_linesTail = pLine; - return m_linesTail; + if ( m_linesTail == NULL ) + { + // list is empty + m_linesHead = pLine; + } + else + { + // adjust pointers + m_linesTail->SetNext(pLine); + pLine->SetPrev(m_linesTail); + } + + m_linesTail = pLine; + + wxLogTrace( _T("wxFileConfig"), + _T(" head: %s"), + ((m_linesHead) ? m_linesHead->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" tail: %s"), + ((m_linesTail) ? m_linesTail->Text().c_str() : wxEmptyString) ); + + return m_linesTail; } -// insert a new line after the given one or in the very beginning if !pLine + // insert a new line after the given one or in the very beginning if !pLine + wxFileConfigLineList *wxFileConfig::LineListInsert(const wxString& str, - wxFileConfigLineList *pLine) -{ - if ( pLine == m_linesTail ) - return LineListAppend(str); + wxFileConfigLineList *pLine) +{ + wxLogTrace( _T("wxFileConfig"), + _T(" ** Inserting Line '%s' after '%s'"), + str.c_str(), + ((pLine) ? pLine->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" head: %s"), + ((m_linesHead) ? m_linesHead->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" tail: %s"), + ((m_linesTail) ? m_linesTail->Text().c_str() : wxEmptyString) ); + + if ( pLine == m_linesTail ) + return LineListAppend(str); + + wxFileConfigLineList *pNewLine = new wxFileConfigLineList(str); + if ( pLine == NULL ) + { + // prepend to the list + pNewLine->SetNext(m_linesHead); + m_linesHead->SetPrev(pNewLine); + m_linesHead = pNewLine; + } + else + { + // insert before pLine + wxFileConfigLineList *pNext = pLine->Next(); + pNewLine->SetNext(pNext); + pNewLine->SetPrev(pLine); + pNext->SetPrev(pNewLine); + pLine->SetNext(pNewLine); + } - wxFileConfigLineList *pNewLine = new wxFileConfigLineList(str); - if ( pLine == NULL ) { - // prepend to the list - pNewLine->SetNext(m_linesHead); - m_linesHead->SetPrev(pNewLine); - m_linesHead = pNewLine; - } - else { - // insert before pLine - wxFileConfigLineList *pNext = pLine->Next(); - pNewLine->SetNext(pNext); - pNewLine->SetPrev(pLine); - pNext->SetPrev(pNewLine); - pLine->SetNext(pNewLine); - } + wxLogTrace( _T("wxFileConfig"), + _T(" head: %s"), + ((m_linesHead) ? m_linesHead->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" tail: %s"), + ((m_linesTail) ? m_linesTail->Text().c_str() : wxEmptyString) ); - return pNewLine; + return pNewLine; } void wxFileConfig::LineListRemove(wxFileConfigLineList *pLine) { - wxFileConfigLineList *pPrev = pLine->Prev(), - *pNext = pLine->Next(); + wxLogTrace( _T("wxFileConfig"), + _T(" ** Removing Line '%s'"), + pLine->Text().c_str() ); + wxLogTrace( _T("wxFileConfig"), + _T(" head: %s"), + ((m_linesHead) ? m_linesHead->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" tail: %s"), + ((m_linesTail) ? m_linesTail->Text().c_str() : wxEmptyString) ); - // first entry? - if ( pPrev == NULL ) - m_linesHead = pNext; - else - pPrev->SetNext(pNext); + wxFileConfigLineList *pPrev = pLine->Prev(), + *pNext = pLine->Next(); - // last entry? - if ( pNext == NULL ) - m_linesTail = pPrev; - else - pNext->SetPrev(pPrev); + // first entry? + + if ( pPrev == NULL ) + m_linesHead = pNext; + else + pPrev->SetNext(pNext); + + // last entry? - delete pLine; + if ( pNext == NULL ) + m_linesTail = pPrev; + else + pNext->SetPrev(pPrev); + + wxLogTrace( _T("wxFileConfig"), + _T(" head: %s"), + ((m_linesHead) ? m_linesHead->Text().c_str() : wxEmptyString) ); + wxLogTrace( _T("wxFileConfig"), + _T(" tail: %s"), + ((m_linesTail) ? m_linesTail->Text().c_str() : wxEmptyString) ); + + delete pLine; } bool wxFileConfig::LineListIsEmpty() { - return m_linesHead == NULL; + return m_linesHead == NULL; } // ============================================================================ @@ -1163,9 +1263,8 @@ wxFileConfigGroup::~wxFileConfigGroup() void wxFileConfigGroup::SetLine(wxFileConfigLineList *pLine) { - wxASSERT( m_pLine == NULL ); // shouldn't be called twice - - m_pLine = pLine; + wxASSERT( m_pLine == 0 ); // shouldn't be called twice + m_pLine = pLine; } /* @@ -1204,27 +1303,42 @@ void wxFileConfigGroup::SetLine(wxFileConfigLineList *pLine) // have it or in the very beginning if we're the root group. wxFileConfigLineList *wxFileConfigGroup::GetGroupLine() { - if ( m_pLine == NULL ) { - wxFileConfigGroup *pParent = Parent(); - - // this group wasn't present in local config file, add it now - if ( pParent != NULL ) { - wxString strFullName; - strFullName << wxT("[") - // +1: no '/' - << FilterOutEntryName(GetFullName().c_str() + 1) - << wxT("]"); - m_pLine = m_pConfig->LineListInsert(strFullName, - pParent->GetLastGroupLine()); - pParent->SetLastGroup(this); // we're surely after all the others - } - else { - // we return NULL, so that LineListInsert() will insert us in the - // very beginning + wxLogTrace( _T("wxFileConfig"), + _T(" GetGroupLine() for Group '%s'"), + Name().c_str() ); + + if ( m_pLine == 0 ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" Getting Line item pointer") ); + + wxFileConfigGroup *pParent = Parent(); + + // this group wasn't present in local config file, add it now + + if ( pParent != 0 ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" checking parent '%s'"), + pParent->Name().c_str() ); + + wxString strFullName; + + strFullName << wxT("[") // +1: no '/' + << FilterOutEntryName(GetFullName().c_str() + 1) + << wxT("]"); + m_pLine = m_pConfig->LineListInsert(strFullName, + pParent->GetLastGroupLine()); + pParent->SetLastGroup(this); // we're surely after all the others + } + else + { + // we return NULL, so that LineListInsert() will insert us in the + // very beginning + } } - } - return m_pLine; + return m_pLine; } // Return the last line belonging to the subgroups of this group (after which @@ -1232,17 +1346,20 @@ wxFileConfigLineList *wxFileConfigGroup::GetGroupLine() // last line is the group line (m_pLine) itself. wxFileConfigLineList *wxFileConfigGroup::GetLastGroupLine() { - // if we have any subgroups, our last line is the last line of the last - // subgroup - if ( m_pLastGroup != NULL ) { - wxFileConfigLineList *pLine = m_pLastGroup->GetLastGroupLine(); + // if we have any subgroups, our last line is + // the last line of the last subgroup - wxASSERT( pLine != NULL ); // last group must have !NULL associated line - return pLine; - } + if ( m_pLastGroup != 0 ) + { + wxFileConfigLineList *pLine = m_pLastGroup->GetLastGroupLine(); + + wxASSERT( pLine != 0 ); // last group must have !NULL associated line + return pLine; + } - // no subgroups, so the last line is the line of thelast entry (if any) - return GetLastEntryLine(); + // no subgroups, so the last line is the line of thelast entry (if any) + + return GetLastEntryLine(); } // return the last line belonging to the entries of this group (after which @@ -1250,15 +1367,21 @@ wxFileConfigLineList *wxFileConfigGroup::GetLastGroupLine() // one immediately after the group line itself. wxFileConfigLineList *wxFileConfigGroup::GetLastEntryLine() { - if ( m_pLastEntry != NULL ) { - wxFileConfigLineList *pLine = m_pLastEntry->GetLine(); + wxLogTrace( _T("wxFileConfig"), + _T(" GetLastEntryLine() for Group '%s'"), + Name().c_str() ); - wxASSERT( pLine != NULL ); // last entry must have !NULL associated line - return pLine; - } + if ( m_pLastEntry != 0 ) + { + wxFileConfigLineList *pLine = m_pLastEntry->GetLine(); + + wxASSERT( pLine != 0 ); // last entry must have !NULL associated line + return pLine; + } - // no entries: insert after the group header - return GetGroupLine(); + // no entries: insert after the group header + + return GetGroupLine(); } // ---------------------------------------------------------------------------- @@ -1355,27 +1478,25 @@ wxFileConfigGroup::FindSubgroup(const wxChar *szName) const // ---------------------------------------------------------------------------- // create a new entry and add it to the current group -wxFileConfigEntry * -wxFileConfigGroup::AddEntry(const wxString& strName, int nLine) +wxFileConfigEntry *wxFileConfigGroup::AddEntry(const wxString& strName, int nLine) { - wxASSERT( FindEntry(strName) == NULL ); + wxASSERT( FindEntry(strName) == 0 ); - wxFileConfigEntry *pEntry = new wxFileConfigEntry(this, strName, nLine); - m_aEntries.Add(pEntry); + wxFileConfigEntry *pEntry = new wxFileConfigEntry(this, strName, nLine); - return pEntry; + m_aEntries.Add(pEntry); + return pEntry; } // create a new group and add it to the current group -wxFileConfigGroup * -wxFileConfigGroup::AddSubgroup(const wxString& strName) +wxFileConfigGroup *wxFileConfigGroup::AddSubgroup(const wxString& strName) { - wxASSERT( FindSubgroup(strName) == NULL ); + wxASSERT( FindSubgroup(strName) == 0 ); - wxFileConfigGroup *pGroup = new wxFileConfigGroup(this, strName, m_pConfig); - m_aSubgroups.Add(pGroup); + wxFileConfigGroup *pGroup = new wxFileConfigGroup(this, strName, m_pConfig); - return pGroup; + m_aSubgroups.Add(pGroup); + return pGroup; } // ---------------------------------------------------------------------------- @@ -1394,71 +1515,146 @@ bool wxFileConfigGroup::DeleteSubgroupByName(const wxChar *szName) return DeleteSubgroup(FindSubgroup(szName)); } -// doesn't delete the subgroup itself, but does remove references to it from -// all other data structures (and normally the returned pointer should be -// deleted a.s.a.p. because there is nothing much to be done with it anyhow) +// Delete the subgroup and remove all references to it from +// other data structures. bool wxFileConfigGroup::DeleteSubgroup(wxFileConfigGroup *pGroup) { - wxCHECK( pGroup != NULL, FALSE ); // deleting non existing group? + wxLogTrace( _T("wxFileConfig"), + _T("Deleting group '%s' from '%s'"), + pGroup->Name().c_str(), + Name().c_str() ); - // delete all entries - size_t nCount = pGroup->m_aEntries.Count(); - for ( size_t nEntry = 0; nEntry < nCount; nEntry++ ) { - wxFileConfigLineList *pLine = pGroup->m_aEntries[nEntry]->GetLine(); - if ( pLine != NULL ) - m_pConfig->LineListRemove(pLine); - } + wxLogTrace( _T("wxFileConfig"), + _T(" (m_pLine) = prev: %p, this %p, next %p"), + ((m_pLine) ? m_pLine->Prev() : 0), + m_pLine, + ((m_pLine) ? m_pLine->Next() : 0) ); + wxLogTrace( _T("wxFileConfig"), + _T(" text: '%s'"), + ((m_pLine) ? m_pLine->Text().c_str() : wxEmptyString) ); - // and subgroups of this sungroup - nCount = pGroup->m_aSubgroups.Count(); - for ( size_t nGroup = 0; nGroup < nCount; nGroup++ ) { - pGroup->DeleteSubgroup(pGroup->m_aSubgroups[0]); - } + wxCHECK_MSG( pGroup != 0, FALSE, _T("deleting non existing group?") ); - wxFileConfigLineList *pLine = pGroup->m_pLine; - if ( pLine != NULL ) { - // notice that we may do this test inside the previous "if" because the - // last entry's line is surely !NULL - if ( pGroup == m_pLastGroup ) { - // our last entry is being deleted - find the last one which stays - wxASSERT( m_pLine != NULL ); // we have a subgroup with !NULL pLine... + // delete all entries - // go back until we find a subgroup or reach the group's line - wxFileConfigGroup *pNewLast = NULL; - size_t n, nSubgroups = m_aSubgroups.Count(); - wxFileConfigLineList *pl; - for ( pl = pLine->Prev(); pl != m_pLine; pl = pl->Prev() ) { - // is it our subgroup? - for ( n = 0; (pNewLast == NULL) && (n < nSubgroups); n++ ) { - // do _not_ call GetGroupLine! we don't want to add it to the local - // file if it's not already there - if ( m_aSubgroups[n]->m_pLine == m_pLine ) - pNewLast = m_aSubgroups[n]; + size_t nCount = pGroup->m_aEntries.Count(); + + wxLogTrace(_T("wxFileConfig"), + _T("Removing %lu Entries"), + (unsigned long)nCount ); + + for ( size_t nEntry = 0; nEntry < nCount; nEntry++ ) + { + wxFileConfigLineList *pLine = pGroup->m_aEntries[nEntry]->GetLine(); + + if ( pLine != 0 ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" '%s'"), + pLine->Text().c_str() ); + m_pConfig->LineListRemove(pLine); } + } - if ( pNewLast != NULL ) // found? - break; - } + // and subgroups of this subgroup - if ( pl == m_pLine ) { - wxASSERT( !pNewLast ); // how comes it has the same line as we? + nCount = pGroup->m_aSubgroups.Count(); - // we've reached the group line without finding any subgroups - m_pLastGroup = NULL; - } - else - m_pLastGroup = pNewLast; + wxLogTrace( _T("wxFileConfig"), + _T("Removing %lu SubGroups"), + (unsigned long)nCount ); + + for ( size_t nGroup = 0; nGroup < nCount; nGroup++ ) + { + pGroup->DeleteSubgroup(pGroup->m_aSubgroups[0]); } - m_pConfig->LineListRemove(pLine); - } + // finally the group itself - SetDirty(); + wxFileConfigLineList *pLine = pGroup->m_pLine; - m_aSubgroups.Remove(pGroup); - delete pGroup; + if ( pLine != 0 ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" Removing line entry for Group '%s' : '%s'"), + pGroup->Name().c_str(), + pLine->Text().c_str() ); + wxLogTrace( _T("wxFileConfig"), + _T(" Removing from Group '%s' : '%s'"), + Name().c_str(), + ((m_pLine) ? m_pLine->Text().c_str() : wxEmptyString) ); + + // notice that we may do this test inside the previous "if" + // because the last entry's line is surely !NULL + + if ( pGroup == m_pLastGroup ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" ------- Removing last group -------") ); + + // our last entry is being deleted, so find the last one which stays. + // go back until we find a subgroup or reach the group's line, unless + // we are the root group, which we'll notice shortly. + + wxFileConfigGroup *pNewLast = 0; + size_t nSubgroups = m_aSubgroups.Count(); + wxFileConfigLineList *pl; + + for ( pl = pLine->Prev(); pl != m_pLine; pl = pl->Prev() ) + { + // is it our subgroup? + + for ( size_t n = 0; (pNewLast == 0) && (n < nSubgroups); n++ ) + { + // do _not_ call GetGroupLine! we don't want to add it to the local + // file if it's not already there + + if ( m_aSubgroups[n]->m_pLine == m_pLine ) + pNewLast = m_aSubgroups[n]; + } + + if ( pNewLast != 0 ) // found? + break; + } + + if ( pl == m_pLine || m_pParent == 0 ) + { + wxLogTrace( _T("wxFileConfig"), + _T(" ------- No previous group found -------") ); + + wxASSERT_MSG( !pNewLast || m_pLine == 0, + _T("how comes it has the same line as we?") ); + + // we've reached the group line without finding any subgroups, + // or realised we removed the last group from the root. + + m_pLastGroup = 0; + } + else + { + wxLogTrace( _T("wxFileConfig"), + _T(" ------- Last Group set to '%s' -------"), + pNewLast->Name().c_str() ); + + m_pLastGroup = pNewLast; + } + } - return TRUE; + m_pConfig->LineListRemove(pLine); + } + else + { + wxLogTrace( _T("wxFileConfig"), + _T(" No line entry for Group '%s'?"), + pGroup->Name().c_str() ); + } + + SetDirty(); + + m_aSubgroups.Remove(pGroup); + delete pGroup; + + return TRUE; } bool wxFileConfigGroup::DeleteEntry(const wxChar *szName) @@ -1566,47 +1762,54 @@ void wxFileConfigEntry::SetLine(wxFileConfigLineList *pLine) // entry from being marked as 'dirty' void wxFileConfigEntry::SetValue(const wxString& strValue, bool bUser) { - if ( bUser && IsImmutable() ) { - wxLogWarning(_("attempt to change immutable key '%s' ignored."), - Name().c_str()); - return; - } + if ( bUser && IsImmutable() ) + { + wxLogWarning( _("attempt to change immutable key '%s' ignored."), + Name().c_str()); + return; + } - // do nothing if it's the same value: but don't test for it if m_bHasValue - // hadn't been set yet or we'd never write empty values to the file - if ( m_bHasValue && strValue == m_strValue ) - return; + // do nothing if it's the same value: but don't test for it + // if m_bHasValue hadn't been set yet or we'd never write + // empty values to the file - m_bHasValue = TRUE; - m_strValue = strValue; + if ( m_bHasValue && strValue == m_strValue ) + return; - if ( bUser ) { - wxString strValFiltered; - if ( Group()->Config()->GetStyle() & wxCONFIG_USE_NO_ESCAPE_CHARACTERS ) { - strValFiltered = strValue; - } - else { - strValFiltered = FilterOutValue(strValue); - } + m_bHasValue = TRUE; + m_strValue = strValue; - wxString strLine; - strLine << FilterOutEntryName(m_strName) << wxT('=') << strValFiltered; + if ( bUser ) + { + wxString strValFiltered; - if ( m_pLine != NULL ) { - // entry was read from the local config file, just modify the line - m_pLine->SetText(strLine); - } - else { - // add a new line to the file - wxASSERT( m_nLine == wxNOT_FOUND ); // consistency check + if ( Group()->Config()->GetStyle() & wxCONFIG_USE_NO_ESCAPE_CHARACTERS ) + { + strValFiltered = strValue; + } + else { + strValFiltered = FilterOutValue(strValue); + } - m_pLine = Group()->Config()->LineListInsert(strLine, - Group()->GetLastEntryLine()); - Group()->SetLastEntry(this); - } + wxString strLine; + strLine << FilterOutEntryName(m_strName) << wxT('=') << strValFiltered; - SetDirty(); - } + if ( m_pLine != 0 ) + { + // entry was read from the local config file, just modify the line + m_pLine->SetText(strLine); + } + else { + // add a new line to the file + wxASSERT( m_nLine == wxNOT_FOUND ); // consistency check + + m_pLine = Group()->Config()->LineListInsert(strLine, + Group()->GetLastEntryLine()); + Group()->SetLastEntry(this); + } + + SetDirty(); + } } void wxFileConfigEntry::SetDirty() @@ -1797,3 +2000,5 @@ static wxString GetAppName(const wxString& appName) #endif // wxUSE_CONFIG + +// vi:sts=4:sw=4:et diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 935fa8608c..1056a66fad 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -105,7 +105,6 @@ #include #endif -#include "wx/setup.h" #include "wx/log.h" // No, Cygwin doesn't appear to have fnmatch.h after all. @@ -124,7 +123,7 @@ #ifdef __CYGWIN__ #include #endif - #include + #ifndef __TWIN32__ #include #endif @@ -283,7 +282,7 @@ wxString wxPathList::FindValidPath (const wxString& file) wxStrcpy(buf, wxFileFunctionsBuffer); wxChar *filename = (wxChar*) NULL; /* shut up buggy egcs warning */ - filename = IsAbsolutePath (buf) ? wxFileNameFromPath (buf) : (wxChar *)buf; + filename = wxIsAbsolutePath (buf) ? wxFileNameFromPath (buf) : (wxChar *)buf; for (wxNode * node = First (); node; node = node->Next ()) { @@ -294,7 +293,7 @@ wxString wxPathList::FindValidPath (const wxString& file) wxStrcat (wxFileFunctionsBuffer, wxT("/")); wxStrcat (wxFileFunctionsBuffer, filename); #ifdef __WINDOWS__ - Unix2DosFilename (wxFileFunctionsBuffer); + wxUnix2DosFilename (wxFileFunctionsBuffer); #endif if (wxFileExists (wxFileFunctionsBuffer)) { @@ -411,7 +410,7 @@ wxChar *wxRealPath (wxChar *path) { #ifdef __WXMSW__ static const wxChar SEP = wxT('\\'); - Unix2DosFilename(path); + wxUnix2DosFilename(path); #else static const wxChar SEP = wxT('/'); #endif @@ -464,7 +463,7 @@ wxChar *wxCopyAbsolutePath(const wxString& filename) if (filename == wxT("")) return (wxChar *) NULL; - if (! IsAbsolutePath(wxExpandPath(wxFileFunctionsBuffer, filename))) { + if (! wxIsAbsolutePath(wxExpandPath(wxFileFunctionsBuffer, filename))) { wxChar buf[_MAXPATHLEN]; buf[0] = wxT('\0'); wxGetWorkingDirectory(buf, WXSIZEOF(buf)); @@ -667,7 +666,7 @@ wxContractPath (const wxString& filename, const wxString& envname, const wxStrin wxStrcpy (dest, WXSTRINGCAST filename); #ifdef __WXMSW__ - Unix2DosFilename(dest); + wxUnix2DosFilename(dest); #endif // Handle environment @@ -1070,7 +1069,7 @@ bool wxConcatFiles (const wxString& file1, const wxString& file2, const wxString& file3) { wxString outfile; - if ( !wxGetTempFileName("cat", outfile) ) + if ( !wxGetTempFileName( wxT("cat"), outfile) ) return FALSE; FILE *fp1 = (FILE *) NULL; @@ -1626,7 +1625,7 @@ bool wxFindFileInPath(wxString *pStr, const wxChar *pszPath, const wxChar *pszFi strFile += wxFILE_SEP_PATH; strFile += pszFile; - if ( FileExists(strFile) ) { + if ( wxFileExists(strFile) ) { *pStr = strFile; break; } @@ -1667,10 +1666,12 @@ time_t WXDLLEXPORT wxFileModificationTime(const wxString& filename) bool wxIsWild( const wxString& pattern ) { - wxString tmp = pattern; - wxChar *pat = WXSTRINGCAST(tmp); - while (*pat) { - switch (*pat++) { + wxString tmp = pattern; + wxChar *pat = WXSTRINGCAST(tmp); + while (*pat) + { + switch (*pat++) + { case wxT('?'): case wxT('*'): case wxT('['): case wxT('{'): return TRUE; case wxT('\\'): @@ -1679,160 +1680,135 @@ bool wxIsWild( const wxString& pattern ) } } return FALSE; -}; - -bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special ) - -#ifdef HAVE_FNMATCH -{ -// this probably won't work well for multibyte chars in Unicode mode? - if(dot_special) - return fnmatch(pat.fn_str(), text.fn_str(), FNM_PERIOD) == 0; - else - return fnmatch(pat.fn_str(), text.fn_str(), 0) == 0; } -#else // !HAVE_FNMATCH -// #pragma error Broken implementation of wxMatchWild() -- needs fixing! +/* +* Written By Douglas A. Lewis +* +* The match procedure is public domain code (from ircII's reg.c) +*/ - /* - * WARNING: this code is broken! - */ +bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special ) { - wxString tmp1 = pat; - wxChar *pattern = WXSTRINGCAST(tmp1); - wxString tmp2 = text; - wxChar *str = WXSTRINGCAST(tmp2); - wxChar c; - wxChar *cp; - bool done = FALSE, ret_code, ok; - // Below is for vi fans - const wxChar OB = wxT('{'), CB = wxT('}'); - - // dot_special means '.' only matches '.' - if (dot_special && *str == wxT('.') && *pattern != *str) - return FALSE; + if (text.empty()) + { + /* Match if both are empty. */ + return pat.empty(); + } + + const wxChar *m = pat.c_str(), + *n = text.c_str(), + *ma = NULL, + *na = NULL, + *mp = NULL, + *np = NULL; + int just = 0, + pcount = 0, + acount = 0, + count = 0; + + if (dot_special && (*n == wxT('.'))) + { + /* Never match so that hidden Unix files + * are never found. */ + return FALSE; + } - while ((*pattern != wxT('\0')) && (!done) - && (((*str==wxT('\0'))&&((*pattern==OB)||(*pattern==wxT('*'))))||(*str!=wxT('\0')))) { - switch (*pattern) { - case wxT('\\'): - pattern++; - if (*pattern != wxT('\0')) - pattern++; - break; - case wxT('*'): - pattern++; - ret_code = FALSE; - while ((*str!=wxT('\0')) - && ((ret_code=wxMatchWild(pattern, str++, FALSE)) == 0)) - /*loop*/; - if (ret_code) { - while (*str != wxT('\0')) - str++; - while (*pattern != wxT('\0')) - pattern++; - } - break; - case wxT('['): - pattern++; - repeat: - if ((*pattern == wxT('\0')) || (*pattern == wxT(']'))) { - done = TRUE; - break; - } - if (*pattern == wxT('\\')) { - pattern++; - if (*pattern == wxT('\0')) { - done = TRUE; - break; - } - } - if (*(pattern + 1) == wxT('-')) { - c = *pattern; - pattern += 2; - if (*pattern == wxT(']')) { - done = TRUE; - break; - } - if (*pattern == wxT('\\')) { - pattern++; - if (*pattern == wxT('\0')) { - done = TRUE; - break; - } - } - if ((*str < c) || (*str > *pattern)) { - pattern++; - goto repeat; + for (;;) + { + if (*m == wxT('*')) + { + ma = ++m; + na = n; + just = 1; + mp = NULL; + acount = count; } - } else if (*pattern != *str) { - pattern++; - goto repeat; - } - pattern++; - while ((*pattern != wxT(']')) && (*pattern != wxT('\0'))) { - if ((*pattern == wxT('\\')) && (*(pattern + 1) != wxT('\0'))) - pattern++; - pattern++; - } - if (*pattern != wxT('\0')) { - pattern++, str++; - } - break; - case wxT('?'): - pattern++; - str++; - break; - case OB: - pattern++; - while ((*pattern != CB) && (*pattern != wxT('\0'))) { - cp = str; - ok = TRUE; - while (ok && (*cp != wxT('\0')) && (*pattern != wxT('\0')) - && (*pattern != wxT(',')) && (*pattern != CB)) { - if (*pattern == wxT('\\')) - pattern++; - ok = (*pattern++ == *cp++); + else if (*m == wxT('?')) + { + m++; + if (!*n++) + return FALSE; } - if (*pattern == wxT('\0')) { - ok = FALSE; - done = TRUE; - break; - } else if (ok) { - str = cp; - while ((*pattern != CB) && (*pattern != wxT('\0'))) { - if (*++pattern == wxT('\\')) { - if (*++pattern == CB) - pattern++; + else + { + if (*m == wxT('\\')) + { + m++; + /* Quoting "nothing" is a bad thing */ + if (!*m) + return FALSE; } - } - } else { - while (*pattern!=CB && *pattern!=wxT(',') && *pattern!=wxT('\0')) { - if (*++pattern == wxT('\\')) { - if (*++pattern == CB || *pattern == wxT(',')) - pattern++; + if (!*m) + { + /* + * If we are out of both strings or we just + * saw a wildcard, then we can say we have a + * match + */ + if (!*n) + return TRUE; + if (just) + return TRUE; + just = 0; + goto not_matched; + } + /* + * We could check for *n == NULL at this point, but + * since it's more common to have a character there, + * check to see if they match first (m and n) and + * then if they don't match, THEN we can check for + * the NULL of n + */ + just = 0; + if (*m == *n) + { + m++; + if (*n == wxT(' ')) + mp = NULL; + count++; + n++; + } + else + { + + not_matched: + + /* + * If there are no more characters in the + * string, but we still need to find another + * character (*m != NULL), then it will be + * impossible to match it + */ + if (!*n) + return FALSE; + if (mp) + { + m = mp; + if (*np == wxT(' ')) + { + mp = NULL; + goto check_percent; + } + n = ++np; + count = pcount; + } + else + check_percent: + + if (ma) + { + m = ma; + n = ++na; + count = acount; + } + else + return FALSE; } - } } - if (*pattern != wxT('\0')) - pattern++; - } - break; - default: - if (*str == *pattern) { - str++, pattern++; - } else { - done = TRUE; - } } - } - while (*pattern == wxT('*')) - pattern++; - return ((*str == wxT('\0')) && (*pattern == wxT('\0'))); -}; +} -#endif // HAVE_FNMATCH/!HAVE_FNMATCH #ifdef __VISUALC__ #pragma warning(default:4706) // assignment within conditional expression diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 70474e9b9e..f56ec3d5ef 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -646,7 +646,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp) path += _T("XXXXXX"); // we need to copy the path to the buffer in which mkstemp() can modify it - wxCharBuffer buf = wxConvFile.cWX2MB( path ); + wxCharBuffer buf( wxConvFile.cWX2MB( path ) ); // cast is safe because the string length doesn't change int fdTemp = mkstemp( (char*)(const char*) buf ); @@ -1022,7 +1022,7 @@ bool wxFileName::MakeRelativeTo(const wxString& pathBase, wxPathFormat format) // filename kind tests // ---------------------------------------------------------------------------- -bool wxFileName::SameAs(const wxFileName &filepath, wxPathFormat format) +bool wxFileName::SameAs(const wxFileName& filepath, wxPathFormat format) const { wxFileName fn1 = *this, fn2 = filepath; @@ -1616,7 +1616,36 @@ bool wxFileName::SetTimes(const wxDateTime *dtAccess, const wxDateTime *dtMod, const wxDateTime *dtCreate) { -#if defined(__UNIX_LIKE__) || (defined(__DOS__) && defined(__WATCOMC__)) +#if defined(__WIN32__) + if ( IsDir() ) + { + // VZ: please let me know how to do this if you can + wxFAIL_MSG( _T("SetTimes() not implemented for the directories") ); + } + else // file + { + wxFileHandle fh(GetFullPath(), wxFileHandle::Write); + if ( fh.IsOk() ) + { + FILETIME ftAccess, ftCreate, ftWrite; + + if ( dtCreate ) + ConvertWxToFileTime(&ftCreate, *dtCreate); + if ( dtAccess ) + ConvertWxToFileTime(&ftAccess, *dtAccess); + if ( dtMod ) + ConvertWxToFileTime(&ftWrite, *dtMod); + + if ( ::SetFileTime(fh, + dtCreate ? &ftCreate : NULL, + dtAccess ? &ftAccess : NULL, + dtMod ? &ftWrite : NULL) ) + { + return TRUE; + } + } + } +#elif defined(__UNIX_LIKE__) || (defined(__DOS__) && defined(__WATCOMC__)) if ( !dtAccess && !dtMod ) { // can't modify the creation time anyhow, don't try @@ -1632,27 +1661,6 @@ bool wxFileName::SetTimes(const wxDateTime *dtAccess, { return TRUE; } -#elif defined(__WIN32__) - wxFileHandle fh(GetFullPath(), wxFileHandle::Write); - if ( fh.IsOk() ) - { - FILETIME ftAccess, ftCreate, ftWrite; - - if ( dtCreate ) - ConvertWxToFileTime(&ftCreate, *dtCreate); - if ( dtAccess ) - ConvertWxToFileTime(&ftAccess, *dtAccess); - if ( dtMod ) - ConvertWxToFileTime(&ftWrite, *dtMod); - - if ( ::SetFileTime(fh, - dtCreate ? &ftCreate : NULL, - dtAccess ? &ftAccess : NULL, - dtMod ? &ftWrite : NULL) ) - { - return TRUE; - } - } #else // other platform #endif // platforms @@ -1685,7 +1693,52 @@ bool wxFileName::GetTimes(wxDateTime *dtAccess, wxDateTime *dtMod, wxDateTime *dtCreate) const { -#if defined(__UNIX_LIKE__) || defined(__WXMAC__) || (defined(__DOS__) && defined(__WATCOMC__)) +#if defined(__WIN32__) + // we must use different methods for the files and directories under + // Windows as CreateFile(GENERIC_READ) doesn't work for the directories and + // CreateFile(FILE_FLAG_BACKUP_SEMANTICS) works -- but only under NT and + // not 9x + bool ok; + FILETIME ftAccess, ftCreate, ftWrite; + if ( IsDir() ) + { + // implemented in msw/dir.cpp + extern bool wxGetDirectoryTimes(const wxString& dirname, + FILETIME *, FILETIME *, FILETIME *); + + // we should pass the path without the trailing separator to + // wxGetDirectoryTimes() + ok = wxGetDirectoryTimes(GetPath(wxPATH_GET_VOLUME), + &ftAccess, &ftCreate, &ftWrite); + } + else // file + { + wxFileHandle fh(GetFullPath(), wxFileHandle::Read); + if ( fh.IsOk() ) + { + ok = ::GetFileTime(fh, + dtCreate ? &ftCreate : NULL, + dtAccess ? &ftAccess : NULL, + dtMod ? &ftWrite : NULL) != 0; + } + else + { + ok = FALSE; + } + } + + if ( ok ) + { + if ( dtCreate ) + ConvertFileTimeToWx(dtCreate, ftCreate); + if ( dtAccess ) + ConvertFileTimeToWx(dtAccess, ftAccess); + if ( dtMod ) + ConvertFileTimeToWx(dtMod, ftWrite); + + return TRUE; + } +#elif defined(__UNIX_LIKE__) || defined(__WXMAC__) || (defined(__DOS__) && defined(__WATCOMC__)) wxStructStat stBuf; if ( wxStat( GetFullPath().c_str(), &stBuf) == 0 ) { @@ -1698,27 +1751,6 @@ bool wxFileName::GetTimes(wxDateTime *dtAccess, return TRUE; } -#elif defined(__WIN32__) - wxFileHandle fh(GetFullPath(), wxFileHandle::Read); - if ( fh.IsOk() ) - { - FILETIME ftAccess, ftCreate, ftWrite; - - if ( ::GetFileTime(fh, - dtCreate ? &ftCreate : NULL, - dtAccess ? &ftAccess : NULL, - dtMod ? &ftWrite : NULL) ) - { - if ( dtCreate ) - ConvertFileTimeToWx(dtCreate, ftCreate); - if ( dtAccess ) - ConvertFileTimeToWx(dtAccess, ftAccess); - if ( dtMod ) - ConvertFileTimeToWx(dtMod, ftWrite); - - return TRUE; - } - } #else // other platform #endif // platforms diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index 93b65254dd..8e26b5d904 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -13,7 +13,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -173,7 +173,8 @@ wxFSFile* wxLocalFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& { // location has Unix path separators wxString right = ms_root + GetRightLocation(location); - wxFileName fn(right, wxPATH_UNIX); + wxString nativePath = wxFileSystem::URLToNativePath(right); + wxFileName fn(nativePath, wxPATH_UNIX); if (!wxFileExists(fn.GetFullPath())) return (wxFSFile*) NULL; @@ -417,7 +418,58 @@ void wxFileSystem::CleanUpHandlers() m_Handlers.Clear(); } +const static wxString g_unixPathString(wxT("/")); +const static wxString g_nativePathString(wxFILE_SEP_PATH); +// Returns the native path for a file URL +wxString wxFileSystem::URLToNativePath( const wxString& url ) +{ + wxString path = url ; + + if ( path.Find(wxT("file://")) == 0 ) + { + path = path.Mid(7) ; + } + + // file urls either start with a forward slash (local harddisk), + // otherwise they have a servername/sharename notation, + // which only exists on msw and corresponds to a unc + if ( path[0u] == wxT('/') && path [1u] != wxT('/')) + { + path = path.Mid(1) ; + } +#ifdef __WXMSW__ + else if ( (url.Find(wxT("file://")) == 0) && + (path.Find(wxT('/')) != wxNOT_FOUND) && + (path.Length() > 1) && (path[1u] != wxT(':')) ) + { + path = wxT("\\\\") + path ; + } +#endif + path.Replace(g_unixPathString, g_nativePathString) ; + + return path ; +} + +// Returns the file URL for a native path +wxString wxFileSystem::NativePathToURL( const wxString& path ) +{ + wxString url = path ; +#ifdef __WXMSW__ + // unc notation + if ( url.Find(wxT("\\\\")) == 0 ) + { + url = url.Mid(2) ; + } + else +#endif + { + url = wxT("/") + url ; + } + url.Replace(g_nativePathString, g_unixPathString) ; + url = wxT("file://") + url ; + return url ; +} ///// Module: diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index 6c591571f0..5e75f2f751 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -104,6 +104,7 @@ static wxFontEncoding gs_encodings[] = wxFONTENCODING_CP437, wxFONTENCODING_UTF7, wxFONTENCODING_UTF8, + wxFONTENCODING_EUC_JP, }; // the descriptions for them @@ -140,6 +141,7 @@ static const wxChar* gs_encodingDescs[] = wxTRANSLATE( "Windows/DOS OEM (CP 437)" ), wxTRANSLATE( "Unicode 7 bit (UTF-7)" ), wxTRANSLATE( "Unicode 8 bit (UTF-8)" ), + wxTRANSLATE( "Extended Unix Codepage for Japanese (EUC-JP)" ), }; // and the internal names (these are not translated on purpose!) @@ -176,8 +178,12 @@ static const wxChar* gs_encodingNames[] = wxT( "windows-437" ), wxT( "utf-7" ), wxT( "utf-8" ), + wxT( "euc-jp" ), }; +wxCOMPILE_TIME_ASSERT( WXSIZEOF(gs_encodingDescs) == WXSIZEOF(gs_encodings) && + WXSIZEOF(gs_encodingNames) == WXSIZEOF(gs_encodings), + EncodingsArraysNotInSync ); // ---------------------------------------------------------------------------- // private classes @@ -386,10 +392,7 @@ wxString wxFontMapper::GetEncodingDescription(wxFontEncoding encoding) return _("Default encoding"); } - size_t count = WXSIZEOF(gs_encodingDescs); - - wxASSERT_MSG( count == WXSIZEOF(gs_encodings), - wxT("inconsitency detected - forgot to update one of the arrays?") ); + const size_t count = WXSIZEOF(gs_encodingDescs); for ( size_t i = 0; i < count; i++ ) { @@ -413,10 +416,7 @@ wxString wxFontMapper::GetEncodingName(wxFontEncoding encoding) return _("default"); } - size_t count = WXSIZEOF(gs_encodingNames); - - wxASSERT_MSG( count == WXSIZEOF(gs_encodings), - wxT("inconsistency detected - forgot to update one of the arrays?") ); + const size_t count = WXSIZEOF(gs_encodingNames); for ( size_t i = 0; i < count; i++ ) { @@ -521,6 +521,25 @@ wxFontEncoding wxFontMapper::CharsetToEncoding(const wxString& charset, { encoding = wxFONTENCODING_UTF8; } + else if ( cs == wxT("GB2312") ) + { + encoding = wxFONTENCODING_GB2312; + } + else if ( cs == wxT("BIG5") ) + { + encoding = wxFONTENCODING_BIG5; + } + else if ( cs == wxT("SJIS") || + cs == wxT("SHIFT_JIS") || + cs == wxT("SHIFT-JIS") ) + { + encoding = wxFONTENCODING_SHIFT_JIS; + } + else if ( cs == wxT("EUC-JP") || + cs == wxT("EUC_JP") ) + { + encoding = wxFONTENCODING_EUC_JP; + } else if ( cs == wxT("KOI8-R") || cs == wxT("KOI8-U") || cs == wxT("KOI8-RU") ) @@ -537,10 +556,35 @@ wxFontEncoding wxFontMapper::CharsetToEncoding(const wxString& charset, const wxChar *p = cs.c_str() + 3; if ( *p == wxT('-') ) p++; + + // printf( "iso %s\n", (const char*) cs.ToAscii() ); unsigned int value; if ( wxSscanf(p, wxT("8859-%u"), &value) == 1 ) { + // printf( "value %d\n", (int)value ); + + // make it 0 based and check that it is strictly positive in + // the process (no such thing as iso8859-0 encoding) + if ( (value-- > 0) && + (value < wxFONTENCODING_ISO8859_MAX - + wxFONTENCODING_ISO8859_1) ) + { + // it's a valid ISO8859 encoding + value += wxFONTENCODING_ISO8859_1; + encoding = (wxFontEncoding)value; + } + } + } + else if ( cs.Left(4) == wxT("8859") ) + { + const wxChar *p = cs.c_str(); + + unsigned int value; + if ( wxSscanf(p, wxT("8859-%u"), &value) == 1 ) + { + // printf( "value %d\n", (int)value ); + // make it 0 based and check that it is strictly positive in // the process (no such thing as iso8859-0 encoding) if ( (value-- > 0) && @@ -630,10 +674,7 @@ wxFontEncoding wxFontMapper::CharsetToEncoding(const wxString& charset, msg.Printf(_("The charset '%s' is unknown. You may select\nanother charset to replace it with or choose\n[Cancel] if it cannot be replaced"), charset.c_str()); // the list of choices - size_t count = WXSIZEOF(gs_encodingDescs); - - wxASSERT_MSG( count == WXSIZEOF(gs_encodings), - wxT("inconsitency detected - forgot to update one of the arrays?") ); + const size_t count = WXSIZEOF(gs_encodingDescs); wxString *encodingNamesTranslated = new wxString[count]; diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index cba29271dc..5304925002 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -25,7 +25,7 @@ limitation) #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/common/fs_mem.cpp b/src/common/fs_mem.cpp index b3c156edd6..eca35ac6ff 100644 --- a/src/common/fs_mem.cpp +++ b/src/common/fs_mem.cpp @@ -13,7 +13,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/common/fs_zip.cpp b/src/common/fs_zip.cpp index 97cfa0bb1b..18d421b7be 100644 --- a/src/common/fs_zip.cpp +++ b/src/common/fs_zip.cpp @@ -15,7 +15,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -89,8 +89,10 @@ wxFSFile* wxZipFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& l if (right.GetChar(0) == wxT('/')) right = right.Mid(1); - s = new wxZipInputStream(left, right); - if (s && (s->LastError() == wxStream_NOERROR)) + wxString leftFilename = wxFileSystem::URLToNativePath(left); + + s = new wxZipInputStream(leftFilename, right); + if (s && s->IsOk() ) { return new wxFSFile(s, left + wxT("#zip:") + right, @@ -179,8 +181,8 @@ wxString wxZipFSHandler::DoFind() while (match == wxEmptyString) { unzGetCurrentFileInfo((unzFile)m_Archive, NULL, namebuf, 1024, NULL, 0, NULL, 0); - for (c = namebuf; *c; c++) if (*c == wxT('\\')) *c = wxT('/'); - namestr = namebuf; + for (c = namebuf; *c; c++) if (*c == '\\') *c = '/'; + namestr = wxString::FromAscii( namebuf ); // TODO what encoding does ZIP use? if (m_AllowDirs) { diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index f3126b2f33..23dde41989 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -507,7 +507,7 @@ public: { delete m_i_socket; - if ( LastError() == wxStream_NOERROR ) + if ( IsOk() ) { // wait for "226 transfer completed" m_ftp->CheckResult('2'); diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 48925f3429..09222b21d4 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -364,7 +364,8 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour) #ifdef __WXGTK__ wxColour *col = new wxColour( colour ); - if (!(col->Ok())) { + if (!(col->Ok())) + { delete col; return (wxColour *) NULL; } @@ -382,7 +383,7 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour) Display* display = (Display*) wxGetDisplay(); #endif /* MATTHEW: [4] Use wxGetMainColormap */ - if (!XParseColor(display, (Colormap) wxTheApp->GetMainColormap((WXDisplay*) display), colour,&xcolour)) + if (!XParseColor(display, (Colormap) wxTheApp->GetMainColormap((WXDisplay*) display), colour.ToAscii() ,&xcolour)) return NULL; #if wxUSE_NANOX diff --git a/src/common/geometry.cpp b/src/common/geometry.cpp index da7506b768..e10221ee8e 100644 --- a/src/common/geometry.cpp +++ b/src/common/geometry.cpp @@ -164,7 +164,7 @@ void wxPoint2DInt::ReadFrom( wxDataInputStream &stream ) m_y = stream.Read32(); } -wxDouble wxPoint2DInt::GetVectorAngle() +wxDouble wxPoint2DInt::GetVectorAngle() const { if ( m_x == 0 ) { diff --git a/src/common/imagbmp.cpp b/src/common/imagbmp.cpp index 75e579a17b..010c34084a 100644 --- a/src/common/imagbmp.cpp +++ b/src/common/imagbmp.cpp @@ -608,7 +608,7 @@ bool wxBMPHandler::DoLoadDib(wxImage * image, int width, int height, for ( line = (height - 1); line >= 0; line-- ) { int linepos = 0; - for ( column = 0; column < width; ) + for ( column = 0; column < width ; ) { if ( bpp < 16 ) { @@ -631,11 +631,70 @@ bool wxBMPHandler::DoLoadDib(wxImage * image, int width, int height, { if ( comp == BI_RLE4 ) { - if ( verbose ) - wxLogError(_("DIB Header: Cannot deal with 4bit encoded yet.")); - image->Destroy(); - delete[] cmap; - return FALSE; + wxUint8 first; + first = aByte; + aByte = stream.GetC(); + if ( first == 0 ) + { + if ( aByte == 0 ) + { + if ( column > 0 ) + column = width; + } + else if ( aByte == 1 ) + { + column = width; + line = -1; + } + else if ( aByte == 2 ) + { + aByte = stream.GetC(); + column += aByte; + linepos = column * bpp / 4; + aByte = stream.GetC(); + line -= aByte; // upside down + } + else + { + int absolute = aByte; + wxUint8 nibble[2] ; + int readBytes = 0 ; + for (int k = 0; k < absolute; k++) + { + if ( !(k % 2 ) ) + { + ++readBytes ; + aByte = stream.GetC(); + nibble[0] = ( (aByte & 0xF0) >> 4 ) ; + nibble[1] = ( aByte & 0x0F ) ; + } + ptr[poffset ] = cmap[nibble[k%2]].r; + ptr[poffset + 1] = cmap[nibble[k%2]].g; + ptr[poffset + 2] = cmap[nibble[k%2]].b; + column++; + if ( k % 2 ) + linepos++; + } + if ( readBytes & 0x01 ) + aByte = stream.GetC(); + } + } + else + { + wxUint8 nibble[2] ; + nibble[0] = ( (aByte & 0xF0) >> 4 ) ; + nibble[1] = ( aByte & 0x0F ) ; + + for ( int l = 0; l < first && column < width; l++ ) + { + ptr[poffset ] = cmap[nibble[l%2]].r; + ptr[poffset + 1] = cmap[nibble[l%2]].g; + ptr[poffset + 2] = cmap[nibble[l%2]].b; + column++; + if ( l % 2 ) + linepos++; + } + } } else { @@ -715,63 +774,64 @@ bool wxBMPHandler::DoLoadDib(wxImage * image, int width, int height, // linepos += size; seems to be wrong, RR } } - } - else if ( bpp == 24 ) - { - stream.Read(bbuf, 3); - linepos += 3; - ptr[poffset ] = (unsigned char)bbuf[2]; - ptr[poffset + 1] = (unsigned char)bbuf[1]; - ptr[poffset + 2] = (unsigned char)bbuf[0]; - column++; - } - else if ( bpp == 16 ) - { - unsigned char temp; - stream.Read(&aWord, 2); - aWord = wxUINT16_SWAP_ON_BE(aWord); - linepos += 2; - /* use the masks and calculated amonut of shift + } + else if ( bpp == 24 ) + { + stream.Read(bbuf, 3); + linepos += 3; + ptr[poffset ] = (unsigned char)bbuf[2]; + ptr[poffset + 1] = (unsigned char)bbuf[1]; + ptr[poffset + 2] = (unsigned char)bbuf[0]; + column++; + } + else if ( bpp == 16 ) + { + unsigned char temp; + stream.Read(&aWord, 2); + aWord = wxUINT16_SWAP_ON_BE(aWord); + linepos += 2; + /* use the masks and calculated amonut of shift to retrieve the color data out of the word. Then shift it left by (8 - number of bits) such that the image has the proper dynamic range */ - temp = (aWord & rmask) >> rshift << (8-rbits); - ptr[poffset] = temp; - temp = (aWord & gmask) >> gshift << (8-gbits); - ptr[poffset + 1] = temp; - temp = (aWord & bmask) >> bshift << (8-bbits); - ptr[poffset + 2] = temp; - column++; - } - else - { - unsigned char temp; - stream.Read(&aDword, 4); - aDword = wxINT32_SWAP_ON_BE(aDword); - linepos += 4; - temp = (aDword & rmask) >> rshift; - ptr[poffset] = temp; - temp = (aDword & gmask) >> gshift; - ptr[poffset + 1] = temp; - temp = (aDword & bmask) >> bshift; - ptr[poffset + 2] = temp; - column++; - } - } - while ( (linepos < linesize) && (comp != 1) && (comp != 2) ) - { - stream.Read(&aByte, 1); - linepos += 1; - if ( stream.LastError() != wxStream_NOERROR ) - break; - } - } - if (cmap) - delete[] cmap; - - image->SetMask(FALSE); - - return ( stream.LastError() == wxSTREAM_NO_ERROR || stream.LastError() == wxSTREAM_EOF ); + temp = (aWord & rmask) >> rshift << (8-rbits); + ptr[poffset] = temp; + temp = (aWord & gmask) >> gshift << (8-gbits); + ptr[poffset + 1] = temp; + temp = (aWord & bmask) >> bshift << (8-bbits); + ptr[poffset + 2] = temp; + column++; + } + else + { + unsigned char temp; + stream.Read(&aDword, 4); + aDword = wxINT32_SWAP_ON_BE(aDword); + linepos += 4; + temp = (aDword & rmask) >> rshift; + ptr[poffset] = temp; + temp = (aDword & gmask) >> gshift; + ptr[poffset + 1] = temp; + temp = (aDword & bmask) >> bshift; + ptr[poffset + 2] = temp; + column++; + } + } + while ( (linepos < linesize) && (comp != 1) && (comp != 2) ) + { + stream.Read(&aByte, 1); + linepos += 1; + if ( !stream ) + break; + } + } + + delete[] cmap; + + image->SetMask(FALSE); + + const wxStreamError err = stream.GetLastError(); + return err == wxSTREAM_NO_ERROR || err == wxSTREAM_EOF; } bool wxBMPHandler::LoadDib(wxImage *image, wxInputStream& stream, @@ -1219,7 +1279,7 @@ int wxICOHandler::GetImageCount(wxInputStream& stream) bool wxICOHandler::DoCanRead(wxInputStream& stream) { - stream.SeekI(0); + stream.SeekI(0); unsigned char hdr[4]; if ( !stream.Read(hdr, WXSIZEOF(hdr)) ) return FALSE; @@ -1258,14 +1318,13 @@ bool wxANIHandler::LoadFile(wxImage *image, wxInputStream& stream, { wxInt32 FCC1, FCC2; wxUint32 datalen; - static const char *rifftxt = "RIFF"; - static const char *listtxt = "LIST"; - static const char *icotxt = "icon"; - - wxInt32 riff32 = (wxInt32) rifftxt; - wxInt32 list32 = (wxInt32) listtxt; - wxInt32 ico32 = (wxInt32) icotxt; + wxInt32 riff32; + memcpy( &riff32, "RIFF", 4 ); + wxInt32 list32; + memcpy( &list32, "LIST", 4 ); + wxInt32 ico32; + memcpy( &ico32, "icon", 4 ); int iIcon = 0; stream.SeekI(0); @@ -1310,14 +1369,16 @@ bool wxANIHandler::DoCanRead(wxInputStream& stream) { wxInt32 FCC1, FCC2; wxUint32 datalen ; - static const char *rifftxt = "RIFF"; - static const char *listtxt = "LIST"; - static const char *anihtxt = "anih"; - - wxInt32 riff32 = (wxInt32) rifftxt; - wxInt32 list32 = (wxInt32) listtxt; - wxInt32 anih32 = (wxInt32) anihtxt; - + + wxInt32 riff32; + memcpy( &riff32, "RIFF", 4 ); + wxInt32 list32; + memcpy( &list32, "LIST", 4 ); + wxInt32 ico32; + memcpy( &ico32, "icon", 4 ); + wxInt32 anih32; + memcpy( &anih32, "anih", 4 ); + stream.SeekI(0); if ( !stream.Read(&FCC1, 4) ) return FALSE; @@ -1360,14 +1421,16 @@ int wxANIHandler::GetImageCount(wxInputStream& stream) { wxInt32 FCC1, FCC2; wxUint32 datalen ; - static const char *rifftxt = "RIFF"; - static const char *listtxt = "LIST"; - static const char *anihtxt = "anih"; - - wxInt32 riff32 = (wxInt32) rifftxt; - wxInt32 list32 = (wxInt32) listtxt; - wxInt32 anih32 = (wxInt32) anihtxt; + wxInt32 riff32; + memcpy( &riff32, "RIFF", 4 ); + wxInt32 list32; + memcpy( &list32, "LIST", 4 ); + wxInt32 ico32; + memcpy( &ico32, "icon", 4 ); + wxInt32 anih32; + memcpy( &anih32, "anih", 4 ); + stream.SeekI(0); stream.Read(&FCC1, 4); if ( FCC1 != riff32 ) diff --git a/src/common/image.cpp b/src/common/image.cpp index 3241ed03cd..08b7f9c4d8 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -964,7 +964,7 @@ bool wxImage::SaveFile( const wxString& filename, int type ) const wxFileOutputStream stream(filename); - if ( stream.LastError() == wxStream_NOERROR ) + if ( stream.IsOk() ) { wxBufferedOutputStream bstream( stream ); return SaveFile(bstream, type); @@ -981,7 +981,7 @@ bool wxImage::SaveFile( const wxString& filename, const wxString& mimetype ) con wxFileOutputStream stream(filename); - if ( stream.LastError() == wxStream_NOERROR ) + if ( stream.IsOk() ) { wxBufferedOutputStream bstream( stream ); return SaveFile(bstream, mimetype); @@ -1092,7 +1092,7 @@ bool wxImage::LoadFile( wxInputStream& stream, long type, int index ) handler = FindHandler(type); - if (handler == NULL) + if (handler == 0) { wxLogWarning( _("No image handler for type %d defined."), type ); @@ -1110,7 +1110,7 @@ bool wxImage::LoadFile( wxInputStream& stream, const wxString& mimetype, int ind wxImageHandler *handler = FindHandlerMime(mimetype); - if (handler == NULL) + if (handler == 0) { wxLogWarning( _("No image handler for type %s defined."), mimetype.GetData() ); @@ -1126,7 +1126,7 @@ bool wxImage::SaveFile( wxOutputStream& stream, int type ) const wxImageHandler *handler = FindHandler(type); - if (handler == NULL) + if (handler == 0) { wxLogWarning( _("No image handler for type %d defined."), type ); @@ -1142,7 +1142,7 @@ bool wxImage::SaveFile( wxOutputStream& stream, const wxString& mimetype ) const wxImageHandler *handler = FindHandlerMime(mimetype); - if (handler == NULL) + if (handler == 0) { wxLogWarning( _("No image handler for type %s defined."), mimetype.GetData() ); @@ -1158,7 +1158,23 @@ void wxImage::AddHandler( wxImageHandler *handler ) // make sure that the memory will be freed at the program end sm_handlers.DeleteContents(TRUE); - sm_handlers.Append( handler ); + // Check for an existing handler of the type being added. + if (FindHandler( handler->GetType() ) == 0) + { + sm_handlers.Append( handler ); + } + else + { + // This is not documented behaviour, merely the simplest 'fix' + // for preventing duplicate additions. If someone ever has + // a good reason to add and remove duplicate handlers (and they + // may) we should probably refcount the duplicates. + // also an issue in InsertHandler below. + + wxLogDebug( _T("Adding duplicate image handler for '%s'"), + handler->GetName().c_str() ); + delete handler; + } } void wxImage::InsertHandler( wxImageHandler *handler ) @@ -1166,7 +1182,18 @@ void wxImage::InsertHandler( wxImageHandler *handler ) // make sure that the memory will be freed at the program end sm_handlers.DeleteContents(TRUE); - sm_handlers.Insert( handler ); + // Check for an existing handler of the type being added. + if (FindHandler( handler->GetType() ) == 0) + { + sm_handlers.Insert( handler ); + } + else + { + // see AddHandler for additional comments. + wxLogDebug( _T("Inserting duplicate image handler for '%s'"), + handler->GetName().c_str() ); + delete handler; + } } bool wxImage::RemoveHandler( const wxString& name ) @@ -1191,7 +1218,7 @@ wxImageHandler *wxImage::FindHandler( const wxString& name ) node = node->Next(); } - return (wxImageHandler *)NULL; + return 0; } wxImageHandler *wxImage::FindHandler( const wxString& extension, long bitmapType ) @@ -1205,7 +1232,7 @@ wxImageHandler *wxImage::FindHandler( const wxString& extension, long bitmapType return handler; node = node->Next(); } - return (wxImageHandler*)NULL; + return 0; } wxImageHandler *wxImage::FindHandler( long bitmapType ) @@ -1217,7 +1244,7 @@ wxImageHandler *wxImage::FindHandler( long bitmapType ) if (handler->GetType() == bitmapType) return handler; node = node->Next(); } - return NULL; + return 0; } wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype ) @@ -1229,7 +1256,7 @@ wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype ) if (handler->GetMimeType().IsSameAs(mimetype, FALSE)) return handler; node = node->Next(); } - return NULL; + return 0; } void wxImage::InitStandardHandlers() @@ -1319,7 +1346,7 @@ bool wxImageHandler::CallDoCanRead(wxInputStream& stream) //----------------------------------------------------------------------------- -// Deprecated wxBitmap convertion routines +// Deprecated wxBitmap conversion routines //----------------------------------------------------------------------------- #if WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index b1fea3c1fe..7e33316411 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -111,8 +111,8 @@ void PNGLINKAGEMODE wx_png_error(png_structp png_ptr, png_const_charp message) { wxPNGInfoStruct *info = WX_PNG_INFO(png_ptr); - if ( info->verbose ) - wxLogError(wxString(message)); + if (info->verbose) + wxLogError( wxString::FromAscii(message) ); #ifdef USE_FAR_KEYWORD { @@ -129,8 +129,8 @@ void PNGLINKAGEMODE wx_png_warning(png_structp png_ptr, png_const_charp message) { wxPNGInfoStruct *info = WX_PNG_INFO(png_ptr); - if ( info->verbose ) - wxLogWarning(wxString(message)); + if (info->verbose) + wxLogWarning( wxString::FromAscii(message) ); } } // extern "C" @@ -188,6 +188,10 @@ bool wxPNGHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_expand( png_ptr ); + // Fix for Bug [ 439207 ] Monochrome PNG images come up black + if (bit_depth < 8) + png_set_expand( png_ptr ); + png_set_strip_16( png_ptr ); png_set_packing( png_ptr ); if (png_get_valid( png_ptr, info_ptr, PNG_INFO_tRNS)) diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index a11007de33..984de04ca4 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -39,12 +39,12 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNMHandler,wxImageHandler) void Skip_Comment(wxInputStream &stream) { - wxTextInputStream text_stream(stream); + wxTextInputStream text_stream(stream); - if (stream.Peek()==wxT('#')) + if (stream.Peek()==wxT('#')) { - text_stream.ReadLine(); - Skip_Comment(stream); + text_stream.ReadLine(); + Skip_Comment(stream); } } @@ -107,7 +107,7 @@ bool wxPNMHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose value=text_stream.Read32(); *ptr++=(unsigned char)value; - if (buf_stream.LastError()!=wxSTREAM_NOERROR) + if ( !buf_stream ) { if (verbose) wxLogError(_("PNM: File seems truncated.")); return FALSE; @@ -119,7 +119,8 @@ bool wxPNMHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose image->SetMask( FALSE ); - return (buf_stream.LastError()==wxStream_NOERROR || buf_stream.LastError()==wxStream_EOF); + const wxStreamError err = buf_stream.GetLastError(); + return err == wxSTREAM_NO_ERROR || err == wxSTREAM_EOF; } bool wxPNMHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool WXUNUSED(verbose) ) @@ -129,10 +130,10 @@ bool wxPNMHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool WXUNUS //text_stream << "P6" << endl //<< image->GetWidth() << " " << image->GetHeight() << endl //<< "255" << endl; - text_stream << "P6\n" << image->GetWidth() << " " << image->GetHeight() << "\n255\n"; + text_stream << wxT("P6\n") << image->GetWidth() << wxT(" ") << image->GetHeight() << wxT("\n255\n"); stream.Write(image->GetData(),3*image->GetWidth()*image->GetHeight()); - return (stream.LastError()==wxStream_NOERROR); + return stream.IsOk(); } bool wxPNMHandler::DoCanRead( wxInputStream& stream ) diff --git a/src/common/imagxpm.cpp b/src/common/imagxpm.cpp index c6ad6d6aa1..485aa239c0 100644 --- a/src/common/imagxpm.cpp +++ b/src/common/imagxpm.cpp @@ -107,6 +107,19 @@ bool wxXPMHandler::LoadFile(wxImage *image, return TRUE; } + +static char hexArray[] = "0123456789ABCDEF"; + +static void DecToHex(int dec, char *buf) +{ + int firstDigit = (int)(dec/16.0); + int secondDigit = (int)(dec - (firstDigit*16.0)); + buf[0] = hexArray[firstDigit]; + buf[1] = hexArray[secondDigit]; + buf[2] = 0; +} + + bool wxXPMHandler::SaveFile(wxImage * image, wxOutputStream& stream, bool WXUNUSED(verbose)) { @@ -140,7 +153,7 @@ bool wxXPMHandler::SaveFile(wxImage * image, sName = wxString(wxT("/* XPM */\nstatic char *")) + sName; else sName = wxT("/* XPM */\nstatic char *xpm_data"); - stream.Write(sName.c_str(), sName.Len()); + stream.Write( (const char*) sName.ToAscii(), sName.Len() ); char tmpbuf[200]; // VS: 200b is safe upper bound for anything produced by sprintf below @@ -185,19 +198,24 @@ bool wxXPMHandler::SaveFile(wxImage * image, unsigned long key = entry->first; if (key == 0) - tmp.Printf(wxT("\"%s c Black\",\n"), sym); + sprintf( tmpbuf, "\"%s c Black\",\n", sym); else if (key == mask_key) - tmp.Printf(wxT("\"%s c None\",\n"), sym); + sprintf( tmpbuf, "\"%s c None\",\n", sym); else - tmp.Printf(wxT("\"%s c #%s%s%s\",\n"), sym, - wxDecToHex((unsigned char)(key >> 16)).c_str(), - wxDecToHex((unsigned char)(key >> 8)).c_str(), - wxDecToHex((unsigned char)(key)).c_str()); - stream.Write(tmp.mb_str(), tmp.Length()); + { + char rbuf[3]; + DecToHex( (unsigned char)(key >> 16), rbuf ); + char gbuf[3]; + DecToHex( (unsigned char)(key >> 8), gbuf ); + char bbuf[3]; + DecToHex( (unsigned char)(key), bbuf ); + sprintf( tmpbuf, "\"%s c #%s%s%s\",\n", sym, rbuf, gbuf, bbuf ); + } + stream.Write( tmpbuf, strlen(tmpbuf) ); } tmp = wxT("/* pixels */\n"); - stream.Write(tmp.mb_str(), tmp.Length()); + stream.Write( (const char*) tmp.ToAscii(), tmp.Length() ); unsigned char *data = image->GetData(); for (j = 0; j < image->GetHeight(); j++) @@ -216,7 +234,7 @@ bool wxXPMHandler::SaveFile(wxImage * image, tmp_c = '\n'; stream.Write(&tmp_c, 1); } tmp = wxT("};\n"); - stream.Write(tmp.mb_str(), 3); + stream.Write( (const char*) tmp.ToAscii(), 3 ); // Clean up: delete[] symbols; diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 3b26983d77..c6fa2cea1a 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -506,7 +506,7 @@ wxString wxMsgCatalogFile::GetCharset() const return wxEmptyString; } - wxString header(StringAtOfs(m_pTransTable, 0)); + wxString header = wxString::FromAscii( StringAtOfs(m_pTransTable, 0)); wxString charset; int pos = header.Find(wxT("Content-Type: text/plain; charset=")); if ( pos == wxNOT_FOUND ) @@ -666,7 +666,6 @@ bool wxLocale::Init(int language, int flags) wxString name = info->Description; wxString canonical = info->CanonicalName; wxString locale; - const wxChar *retloc; // Set the locale: #if defined(__UNIX__) && !defined(__WXMAC__) @@ -675,48 +674,55 @@ bool wxLocale::Init(int language, int flags) else locale = info->CanonicalName; - retloc = wxSetlocale(LC_ALL, locale); + wxMB2WXbuf retloc = wxSetlocale(LC_ALL, locale); - if (retloc == NULL) + if ( !retloc ) { // Some C libraries don't like xx_YY form and require xx only retloc = wxSetlocale(LC_ALL, locale.Mid(0,2)); } - if (retloc == NULL) + if ( !retloc ) { // Some C libraries (namely glibc) still use old ISO 639, // so will translate the abbrev for them wxString mid = locale.Mid(0,2); - if (mid == wxT("he")) locale = wxT("iw") + locale.Mid(3); - else if (mid == wxT("id")) locale = wxT("in") + locale.Mid(3); - else if (mid == wxT("yi")) locale = wxT("ji") + locale.Mid(3); + if (mid == wxT("he")) + locale = wxT("iw") + locale.Mid(3); + else if (mid == wxT("id")) + locale = wxT("in") + locale.Mid(3); + else if (mid == wxT("yi")) + locale = wxT("ji") + locale.Mid(3); + retloc = wxSetlocale(LC_ALL, locale); } - if (retloc == NULL) + if ( !retloc ) { // (This time, we changed locale in previous if-branch, so try again.) // Some C libraries don't like xx_YY form and require xx only retloc = wxSetlocale(LC_ALL, locale.Mid(0,2)); } - if (retloc == NULL) + if ( !retloc ) { wxLogError(wxT("Cannot set locale to '%s'."), locale.c_str()); return FALSE; } #elif defined(__WIN32__) + wxMB2WXbuf retloc = wxT("C"); if (language != wxLANGUAGE_DEFAULT) { if (info->WinLang == 0) { wxLogWarning(wxT("Locale '%s' not supported by OS."), name.c_str()); - retloc = wxT("C"); + // retloc already set to "C" } else { wxUint32 lcid = MAKELCID(MAKELANGID(info->WinLang, info->WinSublang), SORT_DEFAULT); if (SetThreadLocale(lcid)) + { retloc = wxSetlocale(LC_ALL, wxEmptyString); + } else { // Windows9X doesn't support SetThreadLocale, so we must @@ -738,25 +744,29 @@ bool wxLocale::Init(int language, int flags) return FALSE; } else + { retloc = wxSetlocale(LC_ALL, locale); + } } } } else + { retloc = wxSetlocale(LC_ALL, wxEmptyString); + } - if (retloc == NULL) + if ( !retloc ) { wxLogError(wxT("Cannot set locale to language %s."), name.c_str()); return FALSE; } -#elif defined(__WXMAC__) - retloc = wxSetlocale(LC_ALL , wxEmptyString); +#elif defined(__WXMAC__) || defined(__WXPM__) + wxMB2WXbuf retloc = wxSetlocale(LC_ALL , wxEmptyString); #else return FALSE; #endif - return Init(name, canonical, wxString(retloc), + return Init(name, canonical, retloc, (flags & wxLOCALE_LOAD_DEFAULT) != 0, (flags & wxLOCALE_CONV_ENCODING) != 0); } @@ -1334,6 +1344,17 @@ wxFontEncoding wxLocale::GetSystemEncoding() wxFontEncoding enc = wxFontMapper::Get()-> CharsetToEncoding(encname, FALSE /* not interactive */); + // on some modern Linux systems (RedHat 8) the default system locale + // is UTF8 -- but it isn't supported by wxGTK in ANSI build at all so + // don't even try to use it in this case +#if !wxUSE_UNICODE + if ( enc == wxFONTENCODING_UTF8 ) + { + // the most similar supported encoding... + enc = wxFONTENCODING_ISO8859_1; + } +#endif // !wxUSE_UNICODE + // this should probably be considered as a bug in CharsetToEncoding(): // it shouldn't return wxFONTENCODING_DEFAULT at all - but it does it // for US-ASCII charset @@ -2095,7 +2116,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxLocaleModule, wxModule) #define LNG(wxlang, canonical, winlang, winsublang, desc) \ info.Language = wxlang; \ info.CanonicalName = wxT(canonical); \ - info.Description = desc; \ + info.Description = wxT(desc); \ SETWINLANG(info, winlang, winsublang) \ AddLanguage(info); @@ -2151,7 +2172,7 @@ void wxLocale::InitLanguagesDB() LNG(wxLANGUAGE_CHINESE_HONGKONG, "zh_HK", LANG_CHINESE , SUBLANG_CHINESE_HONGKONG , "Chinese (Hongkong)") LNG(wxLANGUAGE_CHINESE_MACAU, "zh_MO", LANG_CHINESE , SUBLANG_CHINESE_MACAU , "Chinese (Macau)") LNG(wxLANGUAGE_CHINESE_SINGAPORE, "zh_SG", LANG_CHINESE , SUBLANG_CHINESE_SINGAPORE , "Chinese (Singapore)") - LNG(wxLANGUAGE_CHINESE_TAIWAN, "zh_TW", 0 , 0 , "Chinese (Taiwan)") + LNG(wxLANGUAGE_CHINESE_TAIWAN, "zh_TW", LANG_CHINESE , SUBLANG_CHINESE_TRADITIONAL , "Chinese (Taiwan)") LNG(wxLANGUAGE_CORSICAN, "co" , 0 , 0 , "Corsican") LNG(wxLANGUAGE_CROATIAN, "hr_HR", LANG_CROATIAN , SUBLANG_DEFAULT , "Croatian") LNG(wxLANGUAGE_CZECH, "cs_CZ", LANG_CZECH , SUBLANG_DEFAULT , "Czech") diff --git a/src/common/log.cpp b/src/common/log.cpp index b577f27aef..6e66555323 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -509,9 +509,8 @@ wxLogStderr::wxLogStderr(FILE *fp) m_fp = fp; } -#if defined(__WXMAC__) && !defined(__DARWIN__) && (__MWERKS__ > 0x5300) +#if defined(__WXMAC__) && !defined(__DARWIN__) && defined(__MWERKS__) && (__MWERKS__ >= 0x2400) -#if !TARGET_API_MAC_CARBON // MetroNub stuff doesn't seem to work in CodeWarrior 5.3 Carbon builds... #ifndef __MetroNubUtils__ @@ -694,9 +693,7 @@ OSErr ClearWatchPoint (WatchPointIDT watchPointID) } #endif -#endif // !TARGET_API_MAC_CARBON - -#endif // defined(__WXMAC__) && !defined(__DARWIN__) && (__MWERKS__ > 0x5300) +#endif // defined(__WXMAC__) && !defined(__DARWIN__) && (__MWERKS__ >= 0x2400) void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) { @@ -722,7 +719,7 @@ void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) Boolean running = false ; -#if !TARGET_API_MAC_CARBON && (__MWERKS__ > 0x5300) +#if defined(__MWERKS__) && (__MWERKS__ >= 0x2400) if ( IsMWDebuggerRunning() && AmIBeingMWDebugged() ) { diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index ee97f56614..05bb4f7f8c 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -159,14 +159,39 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label) else if ( current == wxT("INSERT") ) { keyCode = WXK_INSERT; } -#if 0 + else if ( current == wxT("ENTER") || current == wxT("RETURN") ) { + keyCode = WXK_RETURN; + } else if ( current == wxT("PGUP") ) { - keyCode = VK_PRIOR; + keyCode = WXK_PRIOR; } else if ( current == wxT("PGDN") ) { - keyCode = VK_NEXT; + keyCode = WXK_NEXT; + } + else if ( current == wxT("LEFT") ) { + keyCode = WXK_LEFT; + } + else if ( current == wxT("RIGHT") ) { + keyCode = WXK_RIGHT; + } + else if ( current == wxT("UP") ) { + keyCode = WXK_UP; + } + else if ( current == wxT("DOWN") ) { + keyCode = WXK_DOWN; + } + else if ( current == wxT("HOME") ) { + keyCode = WXK_HOME; + } + else if ( current == wxT("END") ) { + keyCode = WXK_END; + } + else if ( current == wxT("SPACE") ) { + keyCode = WXK_SPACE; + } + else if ( current == wxT("TAB") ) { + keyCode = WXK_TAB; } -#endif else { wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."), @@ -789,7 +814,7 @@ int wxMenuBarBase::FindMenu(const wxString& title) const (wxMenuItem::GetLabelFromText(title2) == label) ) { // found - return (int)i; + return (int)i; } } diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 1335ec68bf..c663f9d7bd 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -426,7 +426,7 @@ bool wxFileType::SetDefaultIcon(const wxString& cmd, int index) // VZ: should we do this? // chris elliott : only makes sense in MS windows if ( sTmp.empty() ) - GetOpenCommand(&sTmp, wxFileType::MessageParameters("", "")); + GetOpenCommand(&sTmp, wxFileType::MessageParameters(wxT(""), wxT(""))); #endif wxCHECK_MSG( !sTmp.empty(), FALSE, _T("need the icon file") ); diff --git a/src/common/mstream.cpp b/src/common/mstream.cpp index 9226ce4461..b1ac75aa94 100644 --- a/src/common/mstream.cpp +++ b/src/common/mstream.cpp @@ -80,7 +80,7 @@ size_t wxMemoryInputStream::OnSysRead(void *buffer, size_t nbytes) } m_i_streambuf->Read(buffer, nbytes); - m_lasterror = wxSTREAM_NOERROR; + m_lasterror = wxSTREAM_NO_ERROR; return m_i_streambuf->GetIntPosition() - pos; } diff --git a/src/common/paper.cpp b/src/common/paper.cpp index d8775f2c62..58156a1bb4 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -59,7 +59,7 @@ wxPrintPaperType::wxPrintPaperType() { m_paperId = wxPAPER_NONE; m_platformId = 0; - m_paperName = ""; + m_paperName = wxT(""); m_width = 0; m_height = 0; } diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index d1a4e3f691..921ae318ad 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -37,7 +37,8 @@ #include "wx/stattext.h" #include "wx/intl.h" #include "wx/textdlg.h" -#endif +#include "wx/sizer.h" +#endif // !WX_PRECOMP #include "wx/prntbase.h" #include "wx/dcprint.h" @@ -47,8 +48,6 @@ #include #include -#include - #ifdef __WXMSW__ #include "wx/msw/private.h" #include @@ -475,11 +474,11 @@ void wxPreviewControlBar::CreateButtons() if (m_buttonFlags & wxPREVIEW_ZOOM) { - static const char *choices[] = + static const wxChar *choices[] = { - "10%", "15%", "20%", "25%", "30%", "35%", "40%", "45%", "50%", "55%", - "60%", "65%", "70%", "75%", "80%", "85%", "90%", "95%", "100%", "110%", - "120%", "150%", "200%" + wxT("10%"), wxT("15%"), wxT("20%"), wxT("25%"), wxT("30%"), wxT("35%"), wxT("40%"), wxT("45%"), wxT("50%"), wxT("55%"), + wxT("60%"), wxT("65%"), wxT("70%"), wxT("75%"), wxT("80%"), wxT("85%"), wxT("90%"), wxT("95%"), wxT("100%"), wxT("110%"), + wxT("120%"), wxT("150%"), wxT("200%") }; int n = WXSIZEOF(choices); @@ -505,9 +504,9 @@ void wxPreviewControlBar::CreateButtons() void wxPreviewControlBar::SetZoomControl(int zoom) { - char buf[20]; - sprintf(buf, "%d%%", zoom); -// Someone is calling methods that do no exist in wxChoice!! So I'll just comment out for VA for now + wxChar buf[20]; + wxSprintf( buf, wxT("%d%%"), zoom ); + if (m_zoomControl) m_zoomControl->SetStringSelection(buf); } diff --git a/src/common/process.cpp b/src/common/process.cpp index 0e9769d95e..43dfcdf867 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -120,28 +120,21 @@ void wxProcess::SetPipeStreams(wxInputStream *inputSstream, m_outputStream = outputStream; } -// these are implemented in platform-dependent (and correct!) way under MSW and -// Unix but we still have to provide these dummy versions for the other -// platforms here -#if !defined(__WIN32__) && !defined(__UNIX_LIKE__) - bool wxProcess::IsInputOpened() const { - return m_inputStream != NULL; + return m_inputStream && m_inputStream->GetLastError() != wxSTREAM_EOF; } bool wxProcess::IsInputAvailable() const { - return m_inputStream && !m_inputStream->Eof(); + return m_inputStream && m_inputStream->CanRead(); } bool wxProcess::IsErrorAvailable() const { - return m_errorStream && !m_errorStream->Eof(); + return m_errorStream && m_errorStream->CanRead(); } -#endif // !Win32 && !Unix - #endif // wxUSE_STREAMS // ---------------------------------------------------------------------------- diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 213de7ce97..1de1a297cb 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -41,12 +41,12 @@ wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv, const bool need_host1, wxClassInfo *info) { - m_protoname = name; - m_servname = serv; - m_cinfo = info; - m_needhost = need_host1; - next = wxURL::ms_protocols; - wxURL::ms_protocols = this; + m_protoname = name; + m_servname = serv; + m_cinfo = info; + m_needhost = need_host1; + next = wxURL::ms_protocols; + wxURL::ms_protocols = this; } ///////////////////////////////////////////////////////////////// @@ -69,19 +69,21 @@ wxProtocol::wxProtocol() #if wxUSE_SOCKETS bool wxProtocol::Reconnect() { - wxIPV4address addr; - - if (!GetPeer(addr)) - { - Close(); - return FALSE; - } - if (!Close()) - return FALSE; - if (!Connect(addr)) - return FALSE; - - return TRUE; + wxIPV4address addr; + + if (!GetPeer(addr)) + { + Close(); + return FALSE; + } + + if (!Close()) + return FALSE; + + if (!Connect(addr)) + return FALSE; + + return TRUE; } // ---------------------------------------------------------------------------- @@ -117,11 +119,11 @@ wxProtocolError wxProtocol::ReadLine(wxSocketBase *socket, wxString& result) // normal char if ( chLast ) { - result += chLast; + result += wxString::FromAscii( chLast ); chLast = '\0'; } - result += ch; + result += wxString::FromAscii( ch ); } } @@ -134,38 +136,42 @@ wxProtocolError wxProtocol::ReadLine(wxString& result) } // old function which only chops '\n' and not '\r\n' -wxProtocolError GetLine(wxSocketBase *sock, wxString& result) { +wxProtocolError GetLine(wxSocketBase *sock, wxString& result) +{ #define PROTO_BSIZE 2048 - size_t avail, size; - char tmp_buf[PROTO_BSIZE], tmp_str[PROTO_BSIZE]; - char *ret; - bool found; - - avail = sock->Read(tmp_buf, PROTO_BSIZE).LastCount(); - if (sock->Error() || avail == 0) - return wxPROTO_NETERR; - - memcpy(tmp_str, tmp_buf, avail); - -// Not implemented on all systems -// ret = (char *)memccpy(tmp_str, tmp_buf, '\n', avail); - found = FALSE; - for (ret=tmp_str;ret < (tmp_str+avail); ret++) - if (*ret == '\n') { - found = TRUE; - break; - } + size_t avail, size; + char tmp_buf[PROTO_BSIZE], tmp_str[PROTO_BSIZE]; + char *ret; + bool found; + + avail = sock->Read(tmp_buf, PROTO_BSIZE).LastCount(); + if (sock->Error() || avail == 0) + return wxPROTO_NETERR; + + memcpy(tmp_str, tmp_buf, avail); + + // Not implemented on all systems + // ret = (char *)memccpy(tmp_str, tmp_buf, '\n', avail); + found = FALSE; + for (ret=tmp_str;ret < (tmp_str+avail); ret++) + if (*ret == '\n') + { + found = TRUE; + break; + } - if (!found) - return wxPROTO_PROTERR; - *ret = 0; + if (!found) + return wxPROTO_PROTERR; + + *ret = 0; - result = tmp_str; - result = result.Left(result.Length()-1); + result = wxString::FromAscii( tmp_str ); + result = result.Left(result.Length()-1); - size = ret-tmp_str+1; - sock->Unread(&tmp_buf[size], avail-size); - return wxPROTO_NOERR; + size = ret-tmp_str+1; + sock->Unread(&tmp_buf[size], avail-size); + + return wxPROTO_NOERR; #undef PROTO_BSIZE } #endif // wxUSE_SOCKETS diff --git a/src/common/regex.cpp b/src/common/regex.cpp index 7b480f24c8..cbaa57991d 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -132,7 +132,7 @@ wxString wxRegExImpl::GetErrorMsg(int errorcode) const (void)regerror(errorcode, &m_RegEx, (char *)buf.data(), len); - msg = buf.data(); + msg = wxString(buf.data(), wxConvLibc); #else // !Unicode (void)regerror(errorcode, &m_RegEx, msg.GetWriteBuf(len), len); diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 4ba466c395..de02d6a71f 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -216,7 +216,7 @@ bool wxResourceTable::DeleteResource(const wxString& name) bool wxResourceTable::ParseResourceFile( wxInputStream *is ) { wxExprDatabase db; - int len = is->StreamSize() ; + int len = is->GetSize() ; bool eof = FALSE; while ( is->TellI() + 10 < len) // it's a hack because the streams dont support EOF diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index ff8739c79d..b75ac6efb5 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -136,7 +136,7 @@ bool wxIPV4address::Hostname(unsigned long addr) if (rv) m_origHostname = Hostname(); else - m_origHostname = ""; + m_origHostname = wxEmptyString; return rv; } @@ -166,7 +166,7 @@ wxString wxIPV4address::Hostname() hostname[0] = 0; GAddress_INET_GetHostName(m_address, hostname, 1024); - return wxString(hostname); + return wxString::FromAscii(hostname); } unsigned short wxIPV4address::Service() @@ -268,7 +268,8 @@ wxString wxUNIXaddress::Filename() path[0] = 0; GAddress_UNIX_GetPath(m_address, path, 1024); - return wxString(path); + + return wxString::FromAscii(path); } #endif // __UNIX__ diff --git a/src/common/sckstrm.cpp b/src/common/sckstrm.cpp index 1e1417c416..bc56194375 100644 --- a/src/common/sckstrm.cpp +++ b/src/common/sckstrm.cpp @@ -44,17 +44,11 @@ wxSocketOutputStream::~wxSocketOutputStream() size_t wxSocketOutputStream::OnSysWrite(const void *buffer, size_t size) { - size_t ret; + size_t ret = m_o_socket->Write((const char *)buffer, size).LastCount(); - ret = m_o_socket->Write((const char *)buffer, size).LastCount(); - - if (m_o_socket->Error()) - m_lasterror = wxStream_WRITE_ERR; - else - m_lasterror = wxStream_NOERROR; + m_lasterror = m_o_socket->Error() ? wxSTREAM_WRITE_ERROR : wxSTREAM_NO_ERROR; return ret; - } // --------------------------------------------------------------------------- @@ -72,14 +66,9 @@ wxSocketInputStream::~wxSocketInputStream() size_t wxSocketInputStream::OnSysRead(void *buffer, size_t size) { - size_t ret; - - ret = m_i_socket->Read((char *)buffer, size).LastCount(); + size_t ret = m_i_socket->Read((char *)buffer, size).LastCount(); - if (m_i_socket->Error()) - m_lasterror = wxStream_READ_ERR; - else - m_lasterror = wxStream_NOERROR; + m_lasterror = m_i_socket->Error() ? wxSTREAM_READ_ERROR : wxSTREAM_NO_ERROR; return ret; } diff --git a/src/common/settcmn.cpp b/src/common/settcmn.cpp index 93ebe6286d..6e84b6a118 100644 --- a/src/common/settcmn.cpp +++ b/src/common/settcmn.cpp @@ -44,7 +44,7 @@ wxSystemScreenType wxSystemSettings::ms_screen = wxSYS_SCREEN_NONE; wxSystemScreenType wxSystemSettings::GetScreenType() { if (ms_screen == wxSYS_SCREEN_NONE) -#ifndef __WXUNIV__ +#ifndef __WXUNIVERSAL__ { // As a start, all GUI are desktops. ms_screen = wxSYS_SCREEN_DESKTOP; @@ -52,9 +52,7 @@ wxSystemScreenType wxSystemSettings::GetScreenType() #else { // wxUniv will be used on small devices, too. - int x = 0; - int y = 0; - wxGetDisplaySize( &x, &y ); + int x = GetMetric( wxSYS_SCREEN_X ); ms_screen = wxSYS_SCREEN_DESKTOP; diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index b4f6dc23d1..36849b8cd1 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -50,6 +50,7 @@ wxSizerItem::wxSizerItem( int width, int height, int option, int flag, int borde m_option = option; m_border = border; m_flag = flag; + m_show = TRUE; // Cannot be changed m_userData = userData; // minimal size is the initial size @@ -69,6 +70,7 @@ wxSizerItem::wxSizerItem( wxWindow *window, int option, int flag, int border, wx m_option = option; m_border = border; m_flag = flag; + m_show = TRUE; m_userData = userData; // minimal size is the initial size @@ -88,6 +90,7 @@ wxSizerItem::wxSizerItem( wxSizer *sizer, int option, int flag, int border, wxOb m_option = option; m_border = border; m_flag = flag; + m_show = TRUE; m_userData = userData; // minimal size is calculated later @@ -145,14 +148,11 @@ wxSize wxSizerItem::CalcMin() { if ( IsWindow() && (m_flag & wxADJUST_MINSIZE) ) { - // check if the best (minimal, in fact) window size hadn't changed - // by chance: this may happen for, e.g. static text if its label - // changed - wxSize size = m_window->GetBestSize(); - if ( size.x > m_minSize.x ) - m_minSize.x = size.x; - if ( size.y > m_minSize.y ) - m_minSize.y = size.y; + // By user request, keep the minimal size for this item + // in sync with the largest of BestSize and any user supplied + // minimum size hint. Useful in cases where the item is + // changeable -- static text labels, etc. + m_minSize = m_window->GetAdjustedBestSize(); } ret = m_minSize; @@ -361,6 +361,8 @@ bool wxSizer::Remove( wxSizer *sizer ) bool wxSizer::Remove( int pos ) { + if ((size_t)pos >= m_children.GetCount()) + return FALSE; wxNode *node = m_children.Nth( pos ); if (!node) return FALSE; @@ -528,8 +530,7 @@ void wxSizer::SetDimension( int x, int y, int width, int height ) m_position.y = y; m_size.x = width; m_size.y = height; - CalcMin(); - RecalcSizes(); + Layout(); } wxSize wxSizer::GetMinSize() @@ -636,6 +637,90 @@ bool wxSizer::DoSetItemMinSize( int pos, int width, int height ) return TRUE; } +void wxSizer::Show(wxWindow *window, bool show) +{ + wxNode *node = m_children.GetFirst(); + while (node) + { + wxSizerItem *item = (wxSizerItem*) node->Data(); + + if (item->IsWindow() && item->GetWindow() == window) + { + item->Show(show); + window->Show(show); + return; + } + node = node->Next(); + } +} + +void wxSizer::Show(wxSizer *sizer, bool show) +{ + wxNode *node = m_children.GetFirst(); + while (node) + { + wxSizerItem *item = (wxSizerItem*) node->Data(); + + if (item->IsSizer() && item->GetSizer() == sizer) + { + item->Show(show); + sizer->ShowItems(show); + return; + } + node = node->Next(); + } +} + +void wxSizer::ShowItems (bool show) +{ + wxNode *node = m_children.GetFirst(); + while (node) + { + wxSizerItem *item = (wxSizerItem*) node->Data(); + + if (item->IsWindow()) + item->GetWindow()->Show (show); + else if (item->IsSizer()) + item->GetSizer()->ShowItems (show); + + node = node->Next(); + } +} + +bool wxSizer::IsShown (wxWindow *window) +{ + wxNode *node = m_children.GetFirst(); + while (node) + { + wxSizerItem *item = (wxSizerItem*) node->Data(); + + if (item->IsWindow() && item->GetWindow() == window) + { + return item->IsShown(); + } + node = node->Next(); + } + + return FALSE; +} + +bool wxSizer::IsShown (wxSizer *sizer) +{ + wxNode *node = m_children.GetFirst(); + while (node) + { + wxSizerItem *item = (wxSizerItem*) node->Data(); + + if (item->IsSizer() && item->GetSizer() == sizer) + { + return item->IsShown(); + } + node = node->Next(); + } + + return FALSE; +} + //--------------------------------------------------------------------------- // wxGridSizer //--------------------------------------------------------------------------- @@ -659,7 +744,7 @@ wxGridSizer::wxGridSizer( int cols, int vgap, int hgap ) int wxGridSizer::CalcRowsCols(int& nrows, int& ncols) const { int nitems = m_children.GetCount(); - if ( nitems) + if ( nitems) { if ( m_cols ) { @@ -978,62 +1063,64 @@ void wxBoxSizer::RecalcSizes() while (node) { wxSizerItem *item = (wxSizerItem*) node->Data(); - - int weight = 1; - if (item->GetOption()) - weight = item->GetOption(); - - wxSize size( item->CalcMin() ); - - if (m_orient == wxVERTICAL) + if (item->IsShown()) { - wxCoord height = size.y; + int weight = 1; if (item->GetOption()) - { - height = (delta * weight) + extra; - extra = 0; // only the first item will get the remainder as extra size - } - - wxPoint child_pos( pt ); - wxSize child_size( wxSize( size.x, height) ); + weight = item->GetOption(); - if (item->GetFlag() & (wxEXPAND | wxSHAPED)) - child_size.x = m_size.x; - else if (item->GetFlag() & wxALIGN_RIGHT) - child_pos.x += m_size.x - size.x; - else if (item->GetFlag() & (wxCENTER | wxALIGN_CENTER_HORIZONTAL)) - // XXX wxCENTER is added for backward compatibility; - // wxALIGN_CENTER should be used in new code - child_pos.x += (m_size.x - size.x) / 2; - - item->SetDimension( child_pos, child_size ); + wxSize size( item->CalcMin() ); - pt.y += height; - } - else - { - wxCoord width = size.x; - if (item->GetOption()) + if (m_orient == wxVERTICAL) { - width = (delta * weight) + extra; - extra = 0; // only the first item will get the remainder as extra size + wxCoord height = size.y; + if (item->GetOption()) + { + height = (delta * weight) + extra; + extra = 0; // only the first item will get the remainder as extra size + } + + wxPoint child_pos( pt ); + wxSize child_size( wxSize( size.x, height) ); + + if (item->GetFlag() & (wxEXPAND | wxSHAPED)) + child_size.x = m_size.x; + else if (item->GetFlag() & wxALIGN_RIGHT) + child_pos.x += m_size.x - size.x; + else if (item->GetFlag() & (wxCENTER | wxALIGN_CENTER_HORIZONTAL)) + // XXX wxCENTER is added for backward compatibility; + // wxALIGN_CENTER should be used in new code + child_pos.x += (m_size.x - size.x) / 2; + + item->SetDimension( child_pos, child_size ); + + pt.y += height; + } + else + { + wxCoord width = size.x; + if (item->GetOption()) + { + width = (delta * weight) + extra; + extra = 0; // only the first item will get the remainder as extra size + } + + wxPoint child_pos( pt ); + wxSize child_size( wxSize(width, size.y) ); + + if (item->GetFlag() & (wxEXPAND | wxSHAPED)) + child_size.y = m_size.y; + else if (item->GetFlag() & wxALIGN_BOTTOM) + child_pos.y += m_size.y - size.y; + else if (item->GetFlag() & (wxCENTER | wxALIGN_CENTER_VERTICAL)) + // XXX wxCENTER is added for backward compatibility; + // wxALIGN_CENTER should be used in new code + child_pos.y += (m_size.y - size.y) / 2; + + item->SetDimension( child_pos, child_size ); + + pt.x += width; } - - wxPoint child_pos( pt ); - wxSize child_size( wxSize(width, size.y) ); - - if (item->GetFlag() & (wxEXPAND | wxSHAPED)) - child_size.y = m_size.y; - else if (item->GetFlag() & wxALIGN_BOTTOM) - child_pos.y += m_size.y - size.y; - else if (item->GetFlag() & (wxCENTER | wxALIGN_CENTER_VERTICAL)) - // XXX wxCENTER is added for backward compatibility; - // wxALIGN_CENTER should be used in new code - child_pos.y += (m_size.y - size.y) / 2; - - item->SetDimension( child_pos, child_size ); - - pt.x += width; } node = node->Next(); @@ -1057,7 +1144,7 @@ wxSize wxBoxSizer::CalcMin() while (node) { wxSizerItem *item = (wxSizerItem*) node->Data(); - if (item->GetOption() != 0) + if (item->IsShown() && item->GetOption() != 0) { int stretch = item->GetOption(); wxSize size( item->CalcMin() ); @@ -1077,43 +1164,44 @@ wxSize wxBoxSizer::CalcMin() while (node) { wxSizerItem *item = (wxSizerItem*) node->Data(); - - m_stretchable += item->GetOption(); - - wxSize size( item->CalcMin() ); - if (item->GetOption() != 0) + if (item->IsShown()) { - if (m_orient == wxHORIZONTAL) - size.x = stretchSize * item->GetOption(); - else - size.y = stretchSize * item->GetOption(); - } + m_stretchable += item->GetOption(); - if (m_orient == wxHORIZONTAL) - { - m_minWidth += size.x; - m_minHeight = wxMax( m_minHeight, size.y ); - } - else - { - m_minHeight += size.y; - m_minWidth = wxMax( m_minWidth, size.x ); - } + wxSize size( item->CalcMin() ); + if (item->GetOption() != 0) + { + if (m_orient == wxHORIZONTAL) + size.x = stretchSize * item->GetOption(); + else + size.y = stretchSize * item->GetOption(); + } - if (item->GetOption() == 0) - { - if (m_orient == wxVERTICAL) + if (m_orient == wxHORIZONTAL) { - m_fixedHeight += size.y; - m_fixedWidth = wxMax( m_fixedWidth, size.x ); + m_minWidth += size.x; + m_minHeight = wxMax( m_minHeight, size.y ); } else { - m_fixedWidth += size.x; - m_fixedHeight = wxMax( m_fixedHeight, size.y ); + m_minHeight += size.y; + m_minWidth = wxMax( m_minWidth, size.x ); } - } + if (item->GetOption() == 0) + { + if (m_orient == wxVERTICAL) + { + m_fixedHeight += size.y; + m_fixedWidth = wxMax( m_fixedWidth, size.x ); + } + else + { + m_fixedWidth += size.x; + m_fixedHeight = wxMax( m_fixedHeight, size.y ); + } + } + } node = node->Next(); } diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index dafd61269a..59fdd4af98 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -52,9 +52,13 @@ #if wxUSE_WCHAR_T WXDLLEXPORT_DATA(wxMBConv) wxConvLibc; WXDLLEXPORT_DATA(wxCSConv) wxConvLocal((const wxChar *)NULL); + WXDLLEXPORT_DATA(wxCSConv) wxConvISO8859_1(_T("iso-8859-1")); #else // stand-ins in absence of wchar_t - WXDLLEXPORT_DATA(wxMBConv) wxConvLibc, wxConvFile, wxConvLocal; + WXDLLEXPORT_DATA(wxMBConv) wxConvLibc, + wxConvFile, + wxConvISO8859_1, + wxConvLocal; #endif // wxUSE_WCHAR_T WXDLLEXPORT_DATA(wxMBConv *) wxConvCurrent = &wxConvLibc; @@ -68,6 +72,7 @@ public: { #if wxUSE_WCHAR_T wxConvLocal.Clear(); + wxConvISO8859_1.Clear(); #endif } @@ -188,6 +193,11 @@ static size_t decode_utf16(const wchar_t* input, wxUint32& output) #define IGNORE_LIBC 0 +wxMBConv::~wxMBConv() +{ + // nothing to do here +} + size_t wxMBConv::MB2WC(wchar_t *buf, const char *psz, size_t n) const { #if IGNORE_LIBC @@ -226,28 +236,41 @@ size_t wxMBConv::WC2MB(char *buf, const wchar_t *psz, size_t n) const const wxWCharBuffer wxMBConv::cMB2WC(const char *psz) const { - if (psz) + if ( psz ) { - size_t nLen = MB2WC((wchar_t *) NULL, psz, 0); // return value excludes /0 - if (nLen == (size_t)-1) - return wxWCharBuffer((wchar_t *) NULL); - wxWCharBuffer buf(nLen); // this allocates nLen1+ - MB2WC((wchar_t *)(const wchar_t *) buf, psz, nLen+1); - return buf; + // calculate the length of the buffer needed first + size_t nLen = MB2WC(NULL, psz, 0); + if ( nLen != (size_t)-1 ) + { + // now do the actual conversion + wxWCharBuffer buf(nLen); + MB2WC(buf.data(), psz, nLen + 1); // with the trailing NUL + + return buf; + } } - else - return wxWCharBuffer((wchar_t *) NULL); + + wxWCharBuffer buf((wchar_t *)NULL); + + return buf; } const wxCharBuffer wxMBConv::cWC2MB(const wchar_t *pwz) const { - // return value excludes NUL - size_t nLen = pwz ? WC2MB((char *) NULL, pwz, 0) : (size_t)-1; - if (nLen == (size_t)-1) - return wxCharBuffer((const char *)NULL); + if ( pwz ) + { + size_t nLen = WC2MB(NULL, pwz, 0); + if ( nLen != (size_t)-1 ) + { + wxCharBuffer buf(nLen); + WC2MB(buf.data(), pwz, nLen + 1); + + return buf; + } + } + + wxCharBuffer buf((char *)NULL); - wxCharBuffer buf(nLen); // this allocates nLen+1 - WC2MB((char *)(const char *) buf, pwz, nLen+1); return buf; } @@ -590,7 +613,7 @@ IC_CharSet::IC_CharSet(const wxChar *name) { ms_wcCharsetName = NULL; wxLogLastError(wxT("iconv")); - wxLogError(_("Convertion to charset '%s' doesn't work."), name); + wxLogError(_("Conversion to charset '%s' doesn't work."), name); } else { @@ -761,6 +784,12 @@ size_t IC_CharSet::WC2MB(char *buf, const wchar_t *psz, size_t n) #if defined(__WIN32__) && !defined(__WXMICROWIN__) +#ifdef __WXWINE__ + #define WINE_CAST (WCHAR *) +#else + #define WINE_CAST +#endif + extern long wxCharsetToCodepage(const wxChar *charset); // from utils.cpp class CP_CharSet : public wxCharacterSet @@ -774,29 +803,37 @@ public: size_t MB2WC(wchar_t *buf, const char *psz, size_t n) { - size_t len = -#ifdef __WXWINE__ - MultiByteToWideChar(m_CodePage, 0, psz, -1, (WCHAR*) buf, buf ? n : 0); -#else - MultiByteToWideChar(m_CodePage, 0, psz, -1, buf, buf ? n : 0); -#endif - //VS: returns # of written chars for buf!=NULL and *size* - // needed buffer for buf==NULL - return len ? (buf ? len : len-1) : (size_t)-1; + const size_t len = ::MultiByteToWideChar + ( + m_CodePage, // code page + 0, // flags (none) + psz, // input string + -1, // its length (NUL-terminated) + WINE_CAST buf, // output string + buf ? n : 0 // size of output buffer + ); + + // note that it returns # of written chars for buf != NULL and *size* + // of the needed buffer for buf == NULL + return len ? (buf ? len : len - 1) : (size_t)-1; } size_t WC2MB(char *buf, const wchar_t *psz, size_t n) { -#ifdef __WXWINE__ - size_t len = WideCharToMultiByte(m_CodePage, 0, (const WCHAR*) psz, -1, buf, - buf ? n : 0, NULL, NULL); -#else - size_t len = WideCharToMultiByte(m_CodePage, 0, psz, -1, buf, - buf ? n : 0, NULL, NULL); -#endif - //VS: returns # of written chars for buf!=NULL and *size* - // needed buffer for buf==NULL - return len ? (buf ? len : len-1) : (size_t)-1; + const size_t len = ::WideCharToMultiByte + ( + m_CodePage, // code page + 0, // flags (none) + WINE_CAST psz, // input string + -1, // it is (wide) NUL-terminated + buf, // output buffer + buf ? n : 0, // and its size + NULL, // default "replacement" char + NULL // [out] was it used? + ); + + // see the comment above! + return len ? (buf ? len : len - 1) : (size_t)-1; } bool usable() const diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 26d3ab77cd..d5c5dd3318 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -46,7 +46,7 @@ // ---------------------------------------------------------------------------- // the temporary buffer size used when copying from stream to stream -#define BUF_TEMP_SIZE 10000 +#define BUF_TEMP_SIZE 4096 // ============================================================================ // implementation @@ -58,7 +58,7 @@ void wxStreamBuffer::SetError(wxStreamError err) { - if ( m_stream->m_lasterror == wxStream_NOERROR ) + if ( m_stream && m_stream->m_lasterror == wxSTREAM_NO_ERROR ) m_stream->m_lasterror = err; } @@ -80,40 +80,31 @@ void wxStreamBuffer::Init() m_fixed = TRUE; } -wxStreamBuffer::wxStreamBuffer(wxStreamBase& stream, BufMode mode) +wxStreamBuffer::wxStreamBuffer(BufMode mode) { Init(); - m_stream = &stream; + m_stream = NULL; m_mode = mode; - m_flushable = TRUE; - m_destroystream = FALSE; + m_flushable = FALSE; } -wxStreamBuffer::wxStreamBuffer(BufMode mode) +wxStreamBuffer::wxStreamBuffer(wxStreamBase& stream, BufMode mode) { Init(); - wxASSERT_MSG(mode != read_write, wxT("you have to use the other ctor for read_write mode") ); - if ( mode == read ) - m_stream = new wxInputStream; - else if ( mode == write) - m_stream = new wxOutputStream; - else - m_stream = NULL; - + m_stream = &stream; m_mode = mode; - m_flushable = FALSE; - m_destroystream = TRUE; + m_flushable = TRUE; } wxStreamBuffer::wxStreamBuffer(const wxStreamBuffer& buffer) { - // doing this has big chances to lead to a crashwhen the source buffer is + // doing this has big chances to lead to a crash when the source buffer is // destroyed (otherwise assume the caller knows what he does) - wxASSERT_MSG( !buffer.m_destroybuf && !buffer.m_destroystream, + wxASSERT_MSG( !buffer.m_destroybuf, _T("it's a bad idea to copy this buffer") ); m_buffer_start = buffer.m_buffer_start; @@ -125,7 +116,6 @@ wxStreamBuffer::wxStreamBuffer(const wxStreamBuffer& buffer) m_stream = buffer.m_stream; m_mode = buffer.m_mode; m_destroybuf = FALSE; - m_destroystream = FALSE; } void wxStreamBuffer::FreeBuffer() @@ -137,9 +127,6 @@ void wxStreamBuffer::FreeBuffer() wxStreamBuffer::~wxStreamBuffer() { FreeBuffer(); - - if ( m_destroystream ) - delete m_stream; } wxInputStream *wxStreamBuffer::GetInputStream() const @@ -195,14 +182,15 @@ void wxStreamBuffer::SetBufferIO(size_t bufsize) void wxStreamBuffer::ResetBuffer() { - wxCHECK_RET( m_stream, _T("should have a stream in wxStreamBuffer") ); + if ( m_stream ) + { + m_stream->Reset(); + m_stream->m_lastcount = 0; + } - m_stream->m_lasterror = wxStream_NOERROR; - m_stream->m_lastcount = 0; - if (m_mode == read && m_flushable) - m_buffer_pos = m_buffer_end; - else - m_buffer_pos = m_buffer_start; + m_buffer_pos = m_mode == read && m_flushable + ? m_buffer_end + : m_buffer_start; } // fill the buffer with as much data as possible (only for read buffers) @@ -210,7 +198,9 @@ bool wxStreamBuffer::FillBuffer() { wxInputStream *inStream = GetInputStream(); - wxCHECK_MSG( inStream, FALSE, _T("should have a stream in wxStreamBuffer") ); + // It's legal to have no stream, so we don't complain about it just return FALSE + if ( !inStream ) + return FALSE; size_t count = inStream->OnSysRead(m_buffer_start, m_buffer_size); if ( !count ) @@ -271,6 +261,7 @@ void wxStreamBuffer::GetFromBuffer(void *buffer, size_t size) void wxStreamBuffer::PutToBuffer(const void *buffer, size_t size) { size_t left = GetBytesLeft(); + if ( size > left ) { if ( m_fixed ) @@ -315,7 +306,7 @@ void wxStreamBuffer::PutChar(char c) // if we don't have buffer at all, just forward this call to the stream, if ( !HasBuffer() ) { - outStream->OnSysWrite(&c, 1); + outStream->OnSysWrite(&c, sizeof(c)); } else { @@ -323,11 +314,11 @@ void wxStreamBuffer::PutChar(char c) if ( !GetDataLeft() && !FlushBuffer() ) { // we don't - SetError(wxStream_WRITE_ERR); + SetError(wxSTREAM_WRITE_ERROR); } else { - PutToBuffer(&c, 1); + PutToBuffer(&c, sizeof(c)); m_stream->m_lastcount = 1; } } @@ -340,12 +331,12 @@ char wxStreamBuffer::Peek() if ( !GetDataLeft() ) { - SetError(wxStream_READ_ERR); + SetError(wxSTREAM_READ_ERROR); return 0; } char c; - GetFromBuffer(&c, 1); + GetFromBuffer(&c, sizeof(c)); m_buffer_pos--; return c; @@ -360,18 +351,18 @@ char wxStreamBuffer::GetChar() char c; if ( !HasBuffer() ) { - inStream->OnSysRead(&c, 1); + inStream->OnSysRead(&c, sizeof(c)); } else { if ( !GetDataLeft() ) { - SetError(wxStream_READ_ERR); + SetError(wxSTREAM_READ_ERROR); c = 0; } else { - GetFromBuffer(&c, 1); + GetFromBuffer(&c, sizeof(c)); m_stream->m_lastcount = 1; } } @@ -381,16 +372,18 @@ char wxStreamBuffer::GetChar() size_t wxStreamBuffer::Read(void *buffer, size_t size) { - wxInputStream *inStream = GetInputStream(); - - wxCHECK_MSG( inStream, 0, _T("should have a stream in wxStreamBuffer") ); - // lasterror is reset before all new IO calls - m_stream->m_lasterror = wxStream_NOERROR; + if ( m_stream ) + m_stream->Reset(); + size_t read; if ( !HasBuffer() ) { - m_stream->m_lastcount = inStream->OnSysRead(buffer, size); + wxInputStream *inStream = GetInputStream(); + + wxCHECK_MSG( inStream, 0, _T("should have a stream in wxStreamBuffer") ); + + read = inStream->OnSysRead(buffer, size); } else // we have a buffer, use it { @@ -410,7 +403,7 @@ size_t wxStreamBuffer::Read(void *buffer, size_t size) if ( !FillBuffer() ) { - SetError(wxStream_EOF); + SetError(wxSTREAM_EOF); break; } } @@ -421,10 +414,13 @@ size_t wxStreamBuffer::Read(void *buffer, size_t size) } } - m_stream->m_lastcount = orig_size - size; + read = orig_size - size; } - return m_stream->m_lastcount; + if ( m_stream ) + m_stream->m_lastcount = read; + + return read; } // this should really be called "Copy()" @@ -452,17 +448,22 @@ size_t wxStreamBuffer::Read(wxStreamBuffer *dbuf) size_t wxStreamBuffer::Write(const void *buffer, size_t size) { - wxOutputStream *outStream = GetOutputStream(); - - wxCHECK_MSG( outStream, 0, _T("should have a stream in wxStreamBuffer") ); + if (m_stream) + { + // lasterror is reset before all new IO calls + m_stream->Reset(); + } - // lasterror is reset before all new IO calls - m_stream->m_lasterror = wxStream_NOERROR; + size_t ret = 0; if ( !HasBuffer() && m_fixed ) { + wxOutputStream *outStream = GetOutputStream(); + + wxCHECK_MSG( outStream, 0, _T("should have a stream in wxStreamBuffer") ); + // no buffer, just forward the call to the stream - m_stream->m_lastcount = outStream->OnSysWrite(buffer, size); + ret = outStream->OnSysWrite(buffer, size); } else // we [may] have a buffer, use it { @@ -480,6 +481,7 @@ size_t wxStreamBuffer::Write(const void *buffer, size_t size) // // FIXME: fine, but if it fails we should (re)try writing it by // chunks as this will (hopefully) always work (VZ) + if ( size > left && m_fixed ) { PutToBuffer(buffer, left); @@ -488,7 +490,7 @@ size_t wxStreamBuffer::Write(const void *buffer, size_t size) if ( !FlushBuffer() ) { - SetError(wxStream_WRITE_ERR); + SetError(wxSTREAM_WRITE_ERROR); break; } @@ -502,10 +504,16 @@ size_t wxStreamBuffer::Write(const void *buffer, size_t size) } } - m_stream->m_lastcount = orig_size - size; + ret = orig_size - size; } - return m_stream->m_lastcount; + if (m_stream) + { + // i am not entirely sure what we do this for + m_stream->m_lastcount = ret; + } + + return ret; } size_t wxStreamBuffer::Write(wxStreamBuffer *sbuf) @@ -615,10 +623,8 @@ off_t wxStreamBuffer::Tell() const { off_t pos; - // only ask the stream for position if we have a real stream and not a - // dummy one which we created ourselves, otherwise we'd call - // wxStream::OnSysTell() which would always return wxInvalidOffset - if ( !m_destroystream ) + // ask the stream for position if we have a real one + if ( m_stream ) { pos = m_stream->OnSysTell(); if ( pos == wxInvalidOffset ) @@ -643,7 +649,7 @@ off_t wxStreamBuffer::Tell() const wxStreamBase::wxStreamBase() { - m_lasterror = wxStream_NOERROR; + m_lasterror = wxSTREAM_NO_ERROR; m_lastcount = 0; } @@ -677,31 +683,19 @@ wxInputStream::~wxInputStream() free(m_wback); } -size_t wxInputStream::OnSysRead(void * WXUNUSED(buffer), - size_t WXUNUSED(bufsize)) +bool wxInputStream::CanRead() const { - return 0; + // we don't know if there is anything to read or not and by default we + // prefer to be optimistic and try to read data unless we know for sure + // there is no more of it + return m_lasterror != wxSTREAM_EOF; } bool wxInputStream::Eof() const { - wxInputStream *self = wxConstCast(this, wxInputStream); - - char c; - self->Read(&c, 1); - - // some streams can know that they're at EOF before actually trying to - // read beyond the end of stream (e.g. files) while others have no way of - // knowing it, so to provide the same behaviour in all cases we only - // return TRUE from here if the character really couldn't be read - if ( !self->LastRead() && GetLastError() == wxSTREAM_EOF ) - { - return TRUE; - } - - self->Ungetch(c); - - return FALSE; + // the only way the base class can know we're at EOF is when we'd already + // tried to read beyond it in which case last error is set accordingly + return GetLastError() == wxSTREAM_EOF; } char *wxInputStream::AllocSpaceWBack(size_t needed_size) @@ -730,7 +724,7 @@ char *wxInputStream::AllocSpaceWBack(size_t needed_size) return m_wback; } -size_t wxInputStream::GetWBack(void *buf, size_t bsize) +size_t wxInputStream::GetWBack(void *buf, size_t size) { if (!m_wback) return 0; @@ -738,13 +732,13 @@ size_t wxInputStream::GetWBack(void *buf, size_t bsize) // how many bytes do we have in the buffer? size_t toget = m_wbacksize - m_wbackcur; - if ( bsize < toget ) + if ( size < toget ) { // we won't read everything - toget = bsize; + toget = size; } - // copy the data from the cache + // copy the data from the cache memcpy(buf, m_wback + m_wbackcur, toget); m_wbackcur += toget; @@ -783,13 +777,13 @@ size_t wxInputStream::Ungetch(const void *buf, size_t bufsize) bool wxInputStream::Ungetch(char c) { - return Ungetch(&c, sizeof(char)) != 0; + return Ungetch(&c, sizeof(c)) != 0; } char wxInputStream::GetC() { char c; - Read(&c, 1); + Read(&c, sizeof(c)); return c; } @@ -811,6 +805,13 @@ wxInputStream& wxInputStream::Read(void *buf, size_t size) break; } + if ( p != buf && !CanRead() ) + { + // we have already read something and we would block in OnSysRead() + // now: don't do it but return immediately + break; + } + read = OnSysRead(p, size); if ( !read ) { @@ -825,8 +826,8 @@ wxInputStream& wxInputStream::Read(void *buf, size_t size) char wxInputStream::Peek() { char c; - Read(&c, 1); - if (m_lasterror == wxStream_NOERROR) + Read(&c, sizeof(c)); + if (m_lasterror == wxSTREAM_NO_ERROR) { Ungetch(c); return c; @@ -838,13 +839,17 @@ char wxInputStream::Peek() wxInputStream& wxInputStream::Read(wxOutputStream& stream_out) { char buf[BUF_TEMP_SIZE]; - size_t bytes_read = BUF_TEMP_SIZE; - while (bytes_read == BUF_TEMP_SIZE) + for ( ;; ) { - bytes_read = Read(buf, bytes_read).LastRead(); - bytes_read = stream_out.Write(buf, bytes_read).LastWrite(); + size_t bytes_read = Read(buf, WXSIZEOF(buf)).LastRead(); + if ( !bytes_read ) + break; + + if ( stream_out.Write(buf, bytes_read).LastWrite() != bytes_read ) + break; } + return *this; } @@ -857,7 +862,7 @@ off_t wxInputStream::SeekI(off_t pos, wxSeekMode mode) // I don't know whether it should be put as well in wxFileInputStream::OnSysSeek if (m_lasterror==wxSTREAM_EOF) - m_lasterror=wxSTREAM_NOERROR; + m_lasterror=wxSTREAM_NO_ERROR; /* RR: A call to SeekI() will automatically invalidate any previous call to Ungetch(), otherwise it would be possible to SeekI() to @@ -868,11 +873,11 @@ off_t wxInputStream::SeekI(off_t pos, wxSeekMode mode) buffer if possible, but is it really needed? It would only work when seeking in wxFromCurrent mode, else it would invalidate anyway... */ - + if (m_wback) { wxLogDebug( wxT("Seeking in stream which has data written back to it.") ); - + free(m_wback); m_wback = NULL; m_wbacksize = 0; @@ -913,7 +918,7 @@ size_t wxOutputStream::OnSysWrite(const void * WXUNUSED(buffer), void wxOutputStream::PutC(char c) { - Write(&c, 1); + Write(&c, sizeof(c)); } wxOutputStream& wxOutputStream::Write(const void *buffer, size_t size) @@ -1072,7 +1077,7 @@ char wxBufferedInputStream::Peek() wxInputStream& wxBufferedInputStream::Read(void *buf, size_t size) { // reset the error flag - m_lasterror = wxStream_NOERROR; + Reset(); // first read from the already cached data m_lastcount = GetWBack(buf, size); @@ -1100,18 +1105,18 @@ off_t wxBufferedInputStream::SeekI(off_t pos, wxSeekMode mode) // RR: Look at wxInputStream for comments. if (m_lasterror==wxSTREAM_EOF) - m_lasterror=wxSTREAM_NOERROR; + Reset(); if (m_wback) { wxLogDebug( wxT("Seeking in stream which has data written back to it.") ); - + free(m_wback); m_wback = NULL; m_wbacksize = 0; m_wbackcur = 0; } - + return m_i_streambuf->Seek(pos, mode); } @@ -1121,7 +1126,7 @@ off_t wxBufferedInputStream::TellI() const if (pos != wxInvalidOffset) pos -= (m_wbacksize - m_wbackcur); - + return pos; } diff --git a/src/common/string.cpp b/src/common/string.cpp index 32a0adab79..b120724457 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -229,24 +229,38 @@ wxString::wxString(const void *pStart, const void *pEnd) // from multibyte string wxString::wxString(const char *psz, wxMBConv& conv, size_t nLength) { - // first get necessary size - size_t nLen = psz ? conv.MB2WC((wchar_t *) NULL, psz, 0) : 0; + // first get the size of the buffer we need + size_t nLen; + if ( psz ) + { + // calculate the needed size ourselves or use a provide one + nLen = nLength == wxSTRING_MAXLEN ? conv.MB2WC(NULL, psz, 0) : nLength; + } + else + { + // nothing to convert + nLen = 0; + } - // nLength is number of *Unicode* characters here! - if ((nLen != (size_t)-1) && (nLen > nLength)) - nLen = nLength; + // anything to do? + if ( (nLen != 0) && (nLen != (size_t)-1) ) + { + if ( !AllocBuffer(nLen) ) + { + wxFAIL_MSG( _T("out of memory in wxString::wxString") ); + return; + } - // empty? - if ( (nLen != 0) && (nLen != (size_t)-1) ) { - if ( !AllocBuffer(nLen) ) { - wxFAIL_MSG( _T("out of memory in wxString::wxString") ); - return; + // MB2WC wants the buffer size, not the string length + if ( conv.MB2WC(m_pchData, psz, nLen + 1) != (size_t)-1 ) + { + // initialized ok + return; + } + //else: the conversion failed -- leave the string empty (what else?) } - conv.MB2WC(m_pchData, psz, nLen); - } - else { + Init(); - } } #else // ANSI @@ -255,27 +269,38 @@ wxString::wxString(const char *psz, wxMBConv& conv, size_t nLength) // from wide string wxString::wxString(const wchar_t *pwz, wxMBConv& conv, size_t nLength) { - // first get necessary size - size_t nLen = 0; - if (pwz) - { - if (nLength == wxSTRING_MAXLEN) - nLen = conv.WC2MB((char *) NULL, pwz, 0); + // first get the size of the buffer we need + size_t nLen; + if ( pwz ) + { + // calculate the needed size ourselves or use a provide one + nLen = nLength == wxSTRING_MAXLEN ? conv.WC2MB(NULL, pwz, 0) : nLength; + } else - nLen = nLength; - } + { + // nothing to convert + nLen = 0; + } - // empty? - if ( (nLen != 0) && (nLen != (size_t)-1) ) { - if ( !AllocBuffer(nLen) ) { - wxFAIL_MSG( _T("out of memory in wxString::wxString") ); - return; + // anything to do? + if ( (nLen != 0) && (nLen != (size_t)-1) ) + { + if ( !AllocBuffer(nLen) ) + { + wxFAIL_MSG( _T("out of memory in wxString::wxString") ); + return; + } + + // WC2MB wants the buffer size, not the string length + if ( conv.WC2MB(m_pchData, pwz, nLen + 1) != (size_t)-1 ) + { + // initialized ok + return; + } + //else: the conversion failed -- leave the string empty (what else?) } - conv.WC2MB(m_pchData, pwz, nLen); - } - else { + Init(); - } } #endif // wxUSE_WCHAR_T @@ -730,6 +755,16 @@ wxString wxString::FromAscii(const char *ascii) return res; } +wxString wxString::FromAscii(const char ascii) +{ + // What do we do with '\0' ? + + wxString res; + res += (wchar_t)(unsigned char) ascii; + + return res; +} + const wxCharBuffer wxString::ToAscii() const { // this will allocate enough space for the terminating NUL too @@ -1752,7 +1787,7 @@ void wxArrayString::Copy(const wxArrayString& src) void wxArrayString::Grow(size_t nIncrement) { // only do it if no more place - if ( m_nCount == m_nSize ) { + if ( (m_nSize - m_nCount) < nIncrement ) { // if ARRAY_DEFAULT_INITIAL_SIZE were set to 0, the initially empty would // be never resized! #if ARRAY_DEFAULT_INITIAL_SIZE == 0 diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index 3bf88317e8..28f69dae3b 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -36,6 +36,7 @@ #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/log.h" + #include "wx/thread.h" #endif #include "wx/timer.h" @@ -131,6 +132,13 @@ void wxTimerBase::Notify() bool wxTimerBase::Start(int milliseconds, bool oneShot) { + // under MSW timers only work when they're started from the main thread so + // let the caller know about it +#if wxUSE_THREADS + wxASSERT_MSG( wxThread::IsMain(), + _T("timer can only be started from the main thread") ); +#endif // wxUSE_THREADS + if ( IsRunning() ) { // not stopping the already running timer might work for some diff --git a/src/common/txtstrm.cpp b/src/common/txtstrm.cpp index 14b8e4a626..62f2e5f72c 100644 --- a/src/common/txtstrm.cpp +++ b/src/common/txtstrm.cpp @@ -38,10 +38,17 @@ // wxTextInputStream // ---------------------------------------------------------------------------- +#if wxUSE_UNICODE +wxTextInputStream::wxTextInputStream(wxInputStream &s, const wxString &sep, wxMBConv& conv) + : m_input(s), m_separators(sep), m_conv(conv) +{ +} +#else wxTextInputStream::wxTextInputStream(wxInputStream &s, const wxString &sep) : m_input(s), m_separators(sep) { } +#endif wxTextInputStream::~wxTextInputStream() { @@ -234,12 +241,23 @@ wxString wxTextInputStream::ReadString() wxString wxTextInputStream::ReadLine() { - wxChar c; wxString line; while ( !m_input.Eof() ) { - c = m_input.GetC(); +#if wxUSE_UNICODE + // FIXME: this is only works for single byte encodings + // How-to read a single char in an unkown encoding??? + char buf[10]; + buf[0] = m_input.GetC(); + buf[1] = 0; + + wxChar wbuf[2]; + m_conv.MB2WC( wbuf, buf, 2 ); + wxChar c = wbuf[0]; +#else + char c = m_input.GetC(); +#endif if ( !m_input ) break; @@ -343,8 +361,15 @@ wxTextInputStream& wxTextInputStream::operator>>(float& f) return *this; } + + +#if wxUSE_UNICODE +wxTextOutputStream::wxTextOutputStream(wxOutputStream& s, wxEOL mode, wxMBConv& conv) + : m_output(s), m_conv(conv) +#else wxTextOutputStream::wxTextOutputStream(wxOutputStream& s, wxEOL mode) : m_output(s) +#endif { m_mode = mode; if (m_mode == wxEOL_NATIVE) @@ -445,8 +470,13 @@ void wxTextOutputStream::WriteString(const wxString& string) out << c; } - // NB: we don't need to write the trailing NUL here - m_output.Write(out.c_str(), out.length() * sizeof(wxChar)); + // We must not write the trailing NULL here +#if wxUSE_UNICODE + wxCharBuffer buffer = m_conv.cWC2MB( out ); + m_output.Write( (const char*) buffer, strlen( (const char*) buffer ) ); +#else + m_output.Write(out.c_str(), out.length() ); +#endif } wxTextOutputStream& wxTextOutputStream::operator<<(const wxChar *string) @@ -463,12 +493,8 @@ wxTextOutputStream& wxTextOutputStream::operator<<(const wxString& string) wxTextOutputStream& wxTextOutputStream::operator<<(char c) { - // these strange manipulations are needed in Unicode mode - char buf[2]; - buf[0] = c; - buf[1] = 0; - - WriteString( wxString(buf) ); + WriteString( wxString::FromAscii(c) ); + return *this; } diff --git a/src/common/unzip.h b/src/common/unzip.h index 78dee0ee4d..acb137bc66 100644 --- a/src/common/unzip.h +++ b/src/common/unzip.h @@ -52,17 +52,37 @@ $Id$ extern "C" { #endif +/* include zlib.h if not done yet */ #ifndef _ZLIB_H -//#include "zlib.h" -// normally, the compiler options should contain -I../zlib, but it is -// apparently not the case for all MSW makefiles and so, unless we use -// configure (which defines __WX_SETUP_H__) or it is explicitly overridden by -// the user (who can define wxUSE_ZLIB_H_IN_PATH), we hardcode the path here -#if defined(__WXMSW__) && !defined(__WX_SETUP_H__) && !defined(wxUSE_ZLIB_H_IN_PATH) - #include "../zlib/zlib.h" -#else - #include "zlib.h" + /* + normally, the compiler options should contain -I../zlib, but it is + apparently not the case for all MSW makefiles and so, unless we use + configure (which defines __WX_SETUP_H__) or it is explicitly overridden + by the user (who can define wxUSE_ZLIB_H_IN_PATH), we hardcode the path + here + */ +# if defined(__WXMSW__) && !defined(__WX_SETUP_H__) && !defined(wxUSE_ZLIB_H_IN_PATH) +# include "../zlib/zlib.h" +# else +# include "zlib.h" +# endif +#endif /* _ZLIB_H */ + +/* + Some system zlib.h headers are modified to not define the OF() macro but use + the (standard) __P() instead (example: NetBSD 1.6), work around this if + needed assuming that we deal with an ANSI C compiler (which is a natural + assumption in 21st century!) + */ +#ifndef OF +# define OF(args) args #endif + +/* + And on some systems ZEXPORT is not defined neither -- work around this too + */ +#ifndef ZEXPORT +# define ZEXPORT #endif #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) diff --git a/src/common/url.cpp b/src/common/url.cpp index 8ae14ec4e9..16e2689e9a 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -65,7 +65,7 @@ wxURL::wxURL(const wxString& url) #if wxUSE_SOCKETS if ( ms_useDefaultProxy && !ms_proxyDefault ) { - SetDefaultProxy(getenv("HTTP_PROXY")); + SetDefaultProxy( wxGetenv(wxT("HTTP_PROXY")) ); if ( !ms_proxyDefault ) { diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index d88d0e5206..2cc90ec0e9 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -98,134 +98,10 @@ const wxChar *wxFatalErrorStr = wxT("wxWindows Fatal Error"); #endif // WXWIN_COMPATIBILITY_2_2 -// ---------------------------------------------------------------------------- -// function protoypes -// ---------------------------------------------------------------------------- - // ============================================================================ // implementation // ============================================================================ -// ---------------------------------------------------------------------------- -// string functions -// ---------------------------------------------------------------------------- - -#if defined(__WXMAC__) && !defined(__DARWIN__) -int strcasecmp(const char *str_1, const char *str_2) -{ - register char c1, c2; - do { - c1 = tolower(*str_1++); - c2 = tolower(*str_2++); - } while ( c1 && (c1 == c2) ); - - return c1 - c2; -} - -int strncasecmp(const char *str_1, const char *str_2, size_t maxchar) -{ - - register char c1, c2; - while( maxchar--) - { - c1 = tolower(*str_1++); - c2 = tolower(*str_2++); - - if ( !c1 || c1!=c2 ) - return c1 - c2; - - } ; - - return 0 ; - -} -#endif // __WXMAC__ && !__DARWIN__ - -#if defined( __VMS__ ) && ( __VMS_VER < 70000000 ) -// we have no strI functions under VMS, therefore I have implemented -// an inefficient but portable version: convert copies of strings to lowercase -// and then use the normal comparison -static void myLowerString(char *s) -{ - while(*s){ - if(isalpha(*s)) *s = (char)tolower(*s); - s++; - } -} - -int strcasecmp(const char *str_1, const char *str_2) -{ - char *temp1 = new char[strlen(str_1)+1]; - char *temp2 = new char[strlen(str_2)+1]; - strcpy(temp1,str_1); - strcpy(temp2,str_2); - myLowerString(temp1); - myLowerString(temp2); - - int result = wxStrcmp(temp1,temp2); - delete[] temp1; - delete[] temp2; - - return(result); -} - -int strncasecmp(const char *str_1, const char *str_2, size_t maxchar) -{ - char *temp1 = new char[strlen(str_1)+1]; - char *temp2 = new char[strlen(str_2)+1]; - strcpy(temp1,str_1); - strcpy(temp2,str_2); - myLowerString(temp1); - myLowerString(temp2); - - int result = strncmp(temp1,temp2,maxchar); - delete[] temp1; - delete[] temp2; - - return(result); -} -#endif // __VMS__ - -#if defined(__WINDOWS__) && !defined(__WXMICROWIN__) && !defined(__WXWINE__) - -#ifndef __GNUWIN32__ -#ifndef __MWERKS__ -#define strcasecmp stricmp -#define strncasecmp strnicmp -#else -#define strcasecmp _stricmp -#define strncasecmp _strnicmp -#endif -#endif - -#else - -#ifdef __EMX__ -#define strcasecmp stricmp -#define strncasecmp strnicmp -#endif - -// This declaration is missing in SunOS! -// (Yes, I know it is NOT ANSI-C but its in BSD libc) -#if defined(__xlC) || defined(__AIX__) || defined(__GNUG__) -extern "C" -{ - int strcasecmp (const char *, const char *); - int strncasecmp (const char *, const char *, size_t); -} -#endif -#endif /* __WXMSW__ */ - -#ifdef __WXPM__ -#define strcasecmp stricmp -#define strncasecmp strnicmp -#endif - -#ifdef __WATCOMC__ -#define strcasecmp stricmp -#define strncasecmp strnicmp -#endif - wxChar * copystring (const wxChar *s) { @@ -360,9 +236,9 @@ wxString wxDecToHex(int dec) return wxString(buf); } -// Match a string INDEPENDENT OF CASE +#if WXWIN_COMPATIBILITY_2 bool -StringMatch (const char *str1, const char *str2, bool subString, bool exact) +StringMatch (const wxChar *str1, const wxChar *str2, bool subString, bool exact) { if (str1 == NULL || str2 == NULL) return FALSE; @@ -371,43 +247,44 @@ StringMatch (const char *str1, const char *str2, bool subString, bool exact) if (subString) { - int len1 = strlen (str1); - int len2 = strlen (str2); + int len1 = wxStrlen (str1); + int len2 = wxStrlen (str2); int i; // Search for str1 in str2 // Slow .... but acceptable for short strings for (i = 0; i <= len2 - len1; i++) { - if (strncasecmp (str1, str2 + i, len1) == 0) + if (wxStrnicmp (str1, str2 + i, len1) == 0) return TRUE; } } else if (exact) { - if (strcasecmp (str1, str2) == 0) + if (wxStricmp (str1, str2) == 0) return TRUE; } else { - int len1 = strlen (str1); - int len2 = strlen (str2); + int len1 = wxStrlen (str1); + int len2 = wxStrlen (str2); - if (strncasecmp (str1, str2, wxMin (len1, len2)) == 0) + if (wxStrnicmp (str1, str2, wxMin (len1, len2)) == 0) return TRUE; } return FALSE; } +#endif // Return the current date/time // [volatile] wxString wxNow() { - time_t now = time((time_t *) NULL); - char *date = ctime(&now); - date[24] = '\0'; - return wxString(date); + time_t now = time((time_t *) NULL); + char *date = ctime(&now); + date[24] = '\0'; + return wxString::FromAscii(date); } #if wxUSE_GUI @@ -1185,6 +1062,38 @@ wxString wxGetCurrentDir() // wxExecute // ---------------------------------------------------------------------------- +// wxDoExecuteWithCapture() helper: reads an entire stream into one array +// +// returns TRUE if ok, FALSE if error +static bool ReadAll(wxInputStream *is, wxArrayString& output) +{ + wxCHECK_MSG( is, FALSE, _T("NULL stream in wxExecute()?") ); + + // the stream could be already at EOF or in wxSTREAM_BROKEN_PIPE state + is->Reset(); + + wxTextInputStream tis(*is); + + bool cont = TRUE; + while ( cont ) + { + wxString line = tis.ReadLine(); + if ( is->Eof() ) + break; + + if ( !*is ) + { + cont = FALSE; + } + else + { + output.Add(line); + } + } + + return cont; +} + // this is a private function because it hasn't a clean interface: the first // array is passed by reference, the second by pointer - instead we have 2 // public versions of wxExecute() below @@ -1206,51 +1115,15 @@ static long wxDoExecuteWithCapture(const wxString& command, #if wxUSE_STREAMS if ( rc != -1 ) { - wxInputStream* is = process->GetInputStream(); - wxCHECK_MSG( is, -1, _T("if wxExecute() succeded, stream can't be NULL") ); - wxTextInputStream tis(*is); + if ( !ReadAll(process->GetInputStream(), output) ) + rc = -1; - wxTextInputStream *tes = NULL; - wxInputStream *es = NULL; if ( error ) { - es = process->GetErrorStream(); - - wxCHECK_MSG( es, -1, _T("stderr can't be NULL") ); - - tes = new wxTextInputStream(*es); - } - - bool cont; - do - { - cont = FALSE; - - if ( !is->Eof() && is->IsOk() ) - { - wxString line = tis.ReadLine(); - if ( is->LastError() ) - break; - - cont = TRUE; - - output.Add(line); - } - - if ( error && !es->Eof() && es->IsOk() ) - { - wxString line = tes->ReadLine(); - if ( es->LastError() ) - break; - - cont = TRUE; - - error->Add(line); - } + if ( !ReadAll(process->GetErrorStream(), *error) ) + rc = -1; } - while ( cont ); - delete tes; } #endif // wxUSE_STREAMS diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index 2b2e68dc6f..56743fd214 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -235,10 +235,10 @@ size_t wxFFileInputStream::OnSysRead(void *buffer, size_t size) ret = m_file->Read(buffer, size); if (m_file->Eof()) - m_lasterror = wxStream_EOF; + m_lasterror = wxSTREAM_EOF; if (ret == wxInvalidOffset) { - m_lasterror = wxStream_READ_ERR; + m_lasterror = wxSTREAM_READ_ERROR; ret = 0; } @@ -307,9 +307,9 @@ size_t wxFFileOutputStream::OnSysWrite(const void *buffer, size_t size) { size_t ret = m_file->Write(buffer, size); if (m_file->Error()) - m_lasterror = wxStream_WRITE_ERR; + m_lasterror = wxSTREAM_WRITE_ERROR; else - m_lasterror = wxStream_NOERROR; + m_lasterror = wxSTREAM_NO_ERROR; return ret; } diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 205402dd18..7c40f7ce74 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -470,6 +470,15 @@ void wxWindowBase::Fit() //else: do nothing if we have no children } +// fits virtual size (ie. scrolled area etc.) around children +void wxWindowBase::FitInside() +{ + if ( GetChildren().GetCount() > 0 ) + { + SetVirtualSize( GetBestVirtualSize() ); + } +} + // return the size best suited for the current window wxSize wxWindowBase::DoGetBestSize() const { @@ -593,8 +602,6 @@ void wxWindowBase::SetVirtualSizeHints( int minW, int minH, m_maxVirtualWidth = maxW; m_minVirtualHeight = minH; m_maxVirtualHeight = maxH; - - SetVirtualSize( GetClientSize() ); } void wxWindowBase::DoSetVirtualSize( int x, int y ) @@ -1757,10 +1764,16 @@ void wxWindowBase::UpdateWindowUI() #if wxUSE_TEXTCTRL wxTextCtrl *text = wxDynamicCast(control, wxTextCtrl); if ( text ) - text->SetValue(event.GetText()); + { + if ( event.GetText() != text->GetValue() ) + text->SetValue(event.GetText()); + } else #endif // wxUSE_TEXTCTRL - control->SetLabel(event.GetText()); + { + if ( event.GetText() != control->GetLabel() ) + control->SetLabel(event.GetText()); + } } } diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index bca67b1228..cffcebd01b 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -50,40 +50,56 @@ #if wxUSE_WCHAR_T size_t WXDLLEXPORT wxMB2WC(wchar_t *buf, const char *psz, size_t n) { + // assume that we have mbsrtowcs() too if we have wcsrtombs() +#if HAVE_WCSRTOMBS + mbstate_t mbstate; + memset(&mbstate, 0, sizeof(mbstate_t)); +#endif + if (buf) { if (!n || !*psz) { if (n) *buf = wxT('\0'); return 0; } +#ifdef HAVE_WCSRTOMBS + return mbsrtowcs(buf, &psz, n, &mbstate); +#else return mbstowcs(buf, psz, n); +#endif } - // assume that we have mbsrtowcs() too if we have wcsrtombs() #ifdef HAVE_WCSRTOMBS - mbstate_t mbstate; return mbsrtowcs((wchar_t *) NULL, &psz, 0, &mbstate); -#else // !GNU libc +#else return mbstowcs((wchar_t *) NULL, psz, 0); -#endif // GNU +#endif } size_t WXDLLEXPORT wxWC2MB(char *buf, const wchar_t *pwz, size_t n) { +#if HAVE_WCSRTOMBS + mbstate_t mbstate; + memset(&mbstate, 0, sizeof(mbstate_t)); +#endif + if (buf) { if (!n || !*pwz) { // glibc2.1 chokes on null input if (n) *buf = '\0'; return 0; } +#if HAVE_WCSRTOMBS + return wcsrtombs(buf, &pwz, n, &mbstate); +#else return wcstombs(buf, pwz, n); +#endif } #if HAVE_WCSRTOMBS - mbstate_t mbstate; return wcsrtombs((char *) NULL, &pwz, 0, &mbstate); -#else // !GNU libc +#else return wcstombs((char *) NULL, pwz, 0); -#endif // GNU +#endif } #endif // wxUSE_WCHAR_T diff --git a/src/common/wxexpr.cpp b/src/common/wxexpr.cpp index d868716226..3db96de17a 100644 --- a/src/common/wxexpr.cpp +++ b/src/common/wxexpr.cpp @@ -20,7 +20,7 @@ #pragma hdrstop #endif -#if 1 // wxUSE_PROLOGIO +#if wxUSE_PROLOGIO #include #include diff --git a/src/common/xpmdecod.cpp b/src/common/xpmdecod.cpp index e2aaefa573..1dc78c95d2 100644 --- a/src/common/xpmdecod.cpp +++ b/src/common/xpmdecod.cpp @@ -143,7 +143,7 @@ wxImage wxXPMDecoder::ReadFile(wxInputStream& stream) wxCharBuffer buffer(length); char *xpm_buffer = (char *)buffer.data(); - if ( stream.Read(xpm_buffer, length).LastError() == wxSTREAM_READ_ERROR ) + if ( stream.Read(xpm_buffer, length).GetLastError() == wxSTREAM_READ_ERROR ) return wxNullImage; xpm_buffer[length] = '\0'; diff --git a/src/common/zipstrm.cpp b/src/common/zipstrm.cpp index 9fbff10320..1ed942c0ea 100644 --- a/src/common/zipstrm.cpp +++ b/src/common/zipstrm.cpp @@ -43,12 +43,12 @@ wxZipInputStream::wxZipInputStream(const wxString& archive, const wxString& file m_Archive = (void*) unzOpen(archive.mb_str()); if (m_Archive == NULL) { - m_lasterror = wxStream_READ_ERR; + m_lasterror = wxSTREAM_READ_ERROR; return; } if (unzLocateFile((unzFile)m_Archive, file.mb_str(), 0) != UNZ_OK) { - m_lasterror = wxStream_READ_ERR; + m_lasterror = wxSTREAM_READ_ERROR; return; } @@ -56,7 +56,7 @@ wxZipInputStream::wxZipInputStream(const wxString& archive, const wxString& file if (unzOpenCurrentFile((unzFile)m_Archive) != UNZ_OK) { - m_lasterror = wxStream_READ_ERR; + m_lasterror = wxSTREAM_READ_ERROR; return; } m_Size = (size_t)zinfo.uncompressed_size; @@ -90,7 +90,7 @@ size_t wxZipInputStream::OnSysRead(void *buffer, size_t bufsize) if ( m_Pos >= (off_t)m_Size ) { - m_lasterror = wxStream_EOF; + m_lasterror = wxSTREAM_EOF; return 0; } @@ -132,7 +132,7 @@ off_t wxZipInputStream::OnSysSeek(off_t seek, wxSeekMode mode) unzCloseCurrentFile((unzFile)m_Archive); if (unzOpenCurrentFile((unzFile)m_Archive) != UNZ_OK) { - m_lasterror = wxStream_READ_ERR; + m_lasterror = wxSTREAM_READ_ERROR; return m_Pos; } toskip = nextpos; diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index 4c7a7bf0ec..f1380d5b64 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -89,17 +89,17 @@ size_t wxZlibInputStream::OnSysRead(void *buffer, size_t size) m_inflate->next_in = m_z_buffer; m_inflate->avail_in = m_parent_i_stream->LastRead(); - if (m_parent_i_stream->LastError() != wxStream_NOERROR && - m_parent_i_stream->LastError() != wxStream_EOF) + wxStreamError err = m_parent_i_stream->GetLastError(); + if ( err != wxSTREAM_NO_ERROR && err != wxSTREAM_EOF) { - m_lasterror = m_parent_i_stream->LastError(); + m_lasterror = err; return 0; // failed to read anything } if ( m_inflate->avail_in == 0 ) { // EOF - m_lasterror = wxStream_EOF; + m_lasterror = wxSTREAM_EOF; break; } } @@ -210,7 +210,7 @@ size_t wxZlibOutputStream::OnSysWrite(const void *buffer, size_t size) if (m_deflate->avail_out == 0) { m_parent_o_stream->Write(m_z_buffer, m_z_size); - if (m_parent_o_stream->LastError() != wxStream_NOERROR) + if ( !*m_parent_o_stream ) return (size - m_deflate->avail_in); m_deflate->next_out = m_z_buffer; diff --git a/src/files.lst b/src/files.lst index 5819cb2fb6..e7729aea61 100644 --- a/src/files.lst +++ b/src/files.lst @@ -180,6 +180,7 @@ ALL_HEADERS = \ unix/gsockunx.h \ unix/mimetype.h \ msw/dde.h \ + msw/gccpriv.h \ msw/mimetype.h \ msw/winundef.h \ protocol/file.h \ diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index 5acc107333..830546db0c 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -12,7 +12,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index 61eeb94708..b1e3317091 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -155,6 +155,19 @@ wxYearSpinCtrl::wxYearSpinCtrl(wxCalendarCtrl *cal) // wxCalendarCtrl // ---------------------------------------------------------------------------- +wxCalendarCtrl::wxCalendarCtrl(wxWindow *parent, + wxWindowID id, + const wxDateTime& date, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name) +{ + Init(); + + (void)Create(parent, id, date, pos, size, style, name); +} + void wxCalendarCtrl::Init() { m_comboMonth = NULL; diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index c3d1807494..25c72a2a11 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -204,7 +204,8 @@ static const char *wxPostScriptHeaderColourImage = "\ } ifelse %% end of 'false' case\n\ "; -#ifndef __WXGTK20__ +#if wxUSE_PANGO +#else static char wxPostScriptHeaderReencodeISO1[] = "\n/reencodeISO {\n" "dup dup findfont dup length dict begin\n" @@ -886,7 +887,8 @@ void wxPostScriptDC::SetFont( const wxFont& font ) m_font = font; -#ifndef __WXGTK20__ +#if wxUSE_PANGO +#else int Style = m_font.GetStyle(); int Weight = m_font.GetWeight(); @@ -1117,13 +1119,18 @@ void wxPostScriptDC::SetBrush( const wxBrush& brush ) } } -#ifdef __WXGTK20__ +#if wxUSE_PANGO #define PANGO_ENABLE_ENGINE +#ifdef __WXGTK20__ #include "wx/gtk/private.h" -#include "wx/fontutil.h" #include "gtk/gtk.h" +#else +#include "wx/x11/private.h" +#endif + +#include "wx/fontutil.h" #include #include @@ -1233,7 +1240,7 @@ void wxPostScriptDC::DoDrawText( const wxString& text, wxCoord x, wxCoord y ) { wxCHECK_RET( m_ok && m_pstream, wxT("invalid postscript dc") ); -#ifdef __WXGTK20__ +#if wxUSE_PANGO int dpi = GetResolution(); dpi = 300; PangoContext *context = pango_ft2_get_context ( dpi, dpi ); @@ -1699,9 +1706,9 @@ bool wxPostScriptDC::StartDoc( const wxString& message ) { wxCHECK_MSG( m_ok, FALSE, wxT("invalid postscript dc") ); - if (m_printData.GetFilename() == "") + if (m_printData.GetFilename() == wxT("")) { - wxString filename = wxGetTempFileName("ps"); + wxString filename = wxGetTempFileName( wxT("ps") ); m_printData.SetFilename(filename); } @@ -1754,7 +1761,8 @@ bool wxPostScriptDC::StartDoc( const wxString& message ) fprintf( m_pstream, wxPostScriptHeaderEllipse ); fprintf( m_pstream, wxPostScriptHeaderEllipticArc ); fprintf( m_pstream, wxPostScriptHeaderColourImage ); -#ifndef __WXGTK20__ +#if wxUSE_PANGO +#else fprintf( m_pstream, wxPostScriptHeaderReencodeISO1 ); fprintf( m_pstream, wxPostScriptHeaderReencodeISO2 ); #endif @@ -1972,7 +1980,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, return; } -#ifdef __WXGTK20__ +#if wxUSE_PANGO int dpi = GetResolution(); PangoContext *context = pango_ft2_get_context ( dpi, dpi ); @@ -2093,40 +2101,40 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, lastStyle = Style; lastWeight = Weight; - const char *name = NULL; + const wxChar *name = NULL; switch (Family) { case wxMODERN: case wxTELETYPE: { - if ((Style == wxITALIC) && (Weight == wxBOLD)) name = "CourBoO.afm"; - else if ((Style != wxITALIC) && (Weight == wxBOLD)) name = "CourBo.afm"; - else if ((Style == wxITALIC) && (Weight != wxBOLD)) name = "CourO.afm"; - else name = "Cour.afm"; + if ((Style == wxITALIC) && (Weight == wxBOLD)) name = wxT("CourBoO.afm"); + else if ((Style != wxITALIC) && (Weight == wxBOLD)) name = wxT("CourBo.afm"); + else if ((Style == wxITALIC) && (Weight != wxBOLD)) name = wxT("CourO.afm"); + else name = wxT("Cour.afm"); break; } case wxROMAN: { - if ((Style == wxITALIC) && (Weight == wxBOLD)) name = "TimesBoO.afm"; - else if ((Style != wxITALIC) && (Weight == wxBOLD)) name = "TimesBo.afm"; - else if ((Style == wxITALIC) && (Weight != wxBOLD)) name = "TimesO.afm"; - else name = "TimesRo.afm"; + if ((Style == wxITALIC) && (Weight == wxBOLD)) name = wxT("TimesBoO.afm"); + else if ((Style != wxITALIC) && (Weight == wxBOLD)) name = wxT("TimesBo.afm"); + else if ((Style == wxITALIC) && (Weight != wxBOLD)) name = wxT("TimesO.afm"); + else name = wxT("TimesRo.afm"); break; } case wxSCRIPT: { - name = "Zapf.afm"; + name = wxT("Zapf.afm"); Style = wxNORMAL; Weight = wxNORMAL; } case wxSWISS: default: { - if ((Style == wxITALIC) && (Weight == wxBOLD)) name = "HelvBoO.afm"; - else if ((Style != wxITALIC) && (Weight == wxBOLD)) name = "HelvBo.afm"; - else if ((Style == wxITALIC) && (Weight != wxBOLD)) name = "HelvO.afm"; - else name = "Helv.afm"; + if ((Style == wxITALIC) && (Weight == wxBOLD)) name = wxT("HelvBoO.afm"); + else if ((Style != wxITALIC) && (Weight == wxBOLD)) name = wxT("HelvBo.afm"); + else if ((Style == wxITALIC) && (Weight != wxBOLD)) name = wxT("HelvO.afm"); + else name = wxT("Helv.afm"); break; } } diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index c7ed4450aa..5b1a43f09a 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -70,7 +70,9 @@ #define INCL_BASE #include +#ifndef __EMX__ #include +#endif #include #include diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index 2900942781..7b51d075f7 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -250,7 +250,7 @@ void wxGenericDirDialog::OnShowHidden( wxCommandEvent& event ) if (!m_dirCtrl) return; - m_dirCtrl->ShowHidden( event.GetInt() ); + m_dirCtrl->ShowHidden( event.GetInt() != 0 ); } void wxGenericDirDialog::OnNew( wxCommandEvent& WXUNUSED(event) ) diff --git a/src/generic/dragimgg.cpp b/src/generic/dragimgg.cpp index d625524ed3..8e89afe823 100644 --- a/src/generic/dragimgg.cpp +++ b/src/generic/dragimgg.cpp @@ -139,12 +139,12 @@ bool wxGenericDragImage::Create(const wxString& str, const wxCursor& cursor) dc.SetFont(wxNullFont); wxMemoryDC dc2; - dc2.SetFont(font); // Sometimes GetTextExtent isn't accurate enough, so make it longer wxBitmap bitmap((int) ((w+2) * 1.5), (int) h+2); dc2.SelectObject(bitmap); + dc2.SetFont(font); dc2.SetBackground(* wxWHITE_BRUSH); dc2.Clear(); dc2.SetBackgroundMode(wxTRANSPARENT); diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 3890805a6d..ba0010d694 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -140,6 +140,7 @@ class wxFileCtrl : public wxListCtrl public: wxFileCtrl(); wxFileCtrl( wxWindow *win, + wxStaticText *labelDir, wxWindowID id, const wxString &wild, bool showHidden, @@ -183,6 +184,9 @@ private: wxWindow *m_goToParentControl; wxWindow *m_newDirControl; + // the label showing the current directory + wxStaticText *m_labelDir; + DECLARE_DYNAMIC_CLASS(wxFileCtrl); DECLARE_EVENT_TABLE() }; @@ -494,13 +498,13 @@ wxString wxFileData::GetFullName() const wxString wxFileData::GetHint() const { wxString s = m_fileName; - s += " "; - if (m_isDir) s += _(" "); - else if (m_isLink) s += _(" "); + s += wxT(" "); + if (m_isDir) s += wxT(" "); + else if (m_isLink) s += wxT(" "); else { s += LongToString( m_size ); - s += _(" bytes "); + s += wxT(" bytes "); } s += IntToString( m_day ); s += wxT("."); @@ -605,6 +609,7 @@ wxFileCtrl::wxFileCtrl() } wxFileCtrl::wxFileCtrl(wxWindow *win, + wxStaticText *labelDir, wxWindowID id, const wxString& wild, bool showHidden, @@ -625,6 +630,8 @@ wxFileCtrl::wxFileCtrl(wxWindow *win, m_goToParentControl = m_newDirControl = NULL; + m_labelDir = labelDir; + m_showHidden = showHidden; } @@ -673,6 +680,10 @@ long wxFileCtrl::Add( wxFileData *fd, wxListItem &item ) void wxFileCtrl::UpdateFiles() { + // don't do anything before ShowModal() call which sets m_dirName + if ( m_dirName.empty() ) + return; + wxBusyCursor bcur; // this may take a while... long my_style = GetWindowStyleFlag(); @@ -867,6 +878,8 @@ void wxFileCtrl::GoToParentDir() SetItemState( id, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED ); EnsureVisible( id ); } + + m_labelDir->SetLabel(dir); } } @@ -882,6 +895,8 @@ void wxFileCtrl::GoToDir( const wxString &dir ) UpdateFiles(); SetItemState( 0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED ); EnsureVisible( 0 ); + + m_labelDir->SetLabel(dir); } void wxFileCtrl::GetDir( wxString &dir ) @@ -988,7 +1003,7 @@ BEGIN_EVENT_TABLE(wxFileDialog,wxDialog) EVT_BUTTON(wxID_OK, wxFileDialog::OnListOk) EVT_LIST_ITEM_SELECTED(ID_LIST_CTRL, wxFileDialog::OnSelected) EVT_LIST_ITEM_ACTIVATED(ID_LIST_CTRL, wxFileDialog::OnActivated) - EVT_CHOICE(ID_CHOICE,wxFileDialog::OnChoice) + EVT_CHOICE(ID_CHOICE,wxFileDialog::OnChoiceFilter) EVT_TEXT_ENTER(ID_TEXT,wxFileDialog::OnTextEnter) EVT_CHECKBOX(ID_CHECK,wxFileDialog::OnCheck) END_EVENT_TABLE() @@ -1061,9 +1076,12 @@ wxFileDialog::wxFileDialog(wxWindow *parent, } if ( firstWild.Left( 2 ) == wxT("*.") ) m_filterExtension = firstWild.Mid( 1 ); - if ( m_filterExtension == ".*" ) m_filterExtension = wxEmptyString; + if ( m_filterExtension == wxT(".*") ) + m_filterExtension = wxEmptyString; // layout + + bool is_pda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA); wxBoxSizer *mainsizer = new wxBoxSizer( wxVERTICAL ); @@ -1114,13 +1132,13 @@ wxFileDialog::wxFileDialog(wxWindow *parent, #endif buttonsizer->Add( butNewDir, 0, wxALL, 5 ); - if (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA) + if (is_pda) mainsizer->Add( buttonsizer, 0, wxALL | wxEXPAND, 0 ); else mainsizer->Add( buttonsizer, 0, wxALL | wxEXPAND, 5 ); wxBoxSizer *staticsizer = new wxBoxSizer( wxHORIZONTAL ); - if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA) + if (is_pda) staticsizer->Add( new wxStaticText( this, -1, _("Current directory:") ), 0, wxRIGHT, 10 ); m_static = new wxStaticText( this, -1, m_dir ); staticsizer->Add( m_static, 1 ); @@ -1130,14 +1148,15 @@ wxFileDialog::wxFileDialog(wxWindow *parent, if ( !(m_dialogStyle & wxMULTIPLE) ) style2 |= wxLC_SINGLE_SEL; - m_list = new wxFileCtrl( this, ID_LIST_CTRL, firstWild, ms_lastShowHidden, + m_list = new wxFileCtrl( this, m_static, ID_LIST_CTRL, + firstWild, ms_lastShowHidden, wxDefaultPosition, wxSize(540,200), style2); m_list->SetNewDirControl(butNewDir); m_list->SetGoToParentControl(butDirUp); - if (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA) + if (is_pda) { // PDAs have a different screen layout mainsizer->Add( m_list, 1, wxEXPAND | wxLEFT|wxRIGHT, 5 ); @@ -1215,31 +1234,38 @@ wxFileDialog::~wxFileDialog() int wxFileDialog::ShowModal() { m_list->GoToDir(m_dir); + m_text->SetValue(m_fileName); return wxDialog::ShowModal(); } +void wxFileDialog::DoSetFilterIndex(int filterindex) +{ + wxString *str = (wxString*) m_choice->GetClientData( filterindex ); + m_list->SetWild( *str ); + m_filterIndex = filterindex; + if ( str->Left(2) == wxT("*.") ) + { + m_filterExtension = str->Mid(2); + if (m_filterExtension == _T("*")) + m_filterExtension.clear(); + } + else + { + m_filterExtension.clear(); + } +} + void wxFileDialog::SetFilterIndex( int filterindex ) { m_choice->SetSelection( filterindex ); - wxCommandEvent event; - event.SetInt( filterindex ); - OnChoice( event ); + + DoSetFilterIndex(filterindex); } -void wxFileDialog::OnChoice( wxCommandEvent &event ) +void wxFileDialog::OnChoiceFilter( wxCommandEvent &event ) { - int index = (int)event.GetInt(); - wxString *str = (wxString*) m_choice->GetClientData( index ); - m_list->SetWild( *str ); - m_filterIndex = index; - if ( str -> Left( 2 ) == wxT("*.") ) - { - m_filterExtension = str -> Mid( 1 ); - if (m_filterExtension == ".*") m_filterExtension = wxEmptyString; - } - else - m_filterExtension = wxEmptyString; + DoSetFilterIndex((int)event.GetInt()); } void wxFileDialog::OnCheck( wxCommandEvent &event ) @@ -1286,8 +1312,6 @@ void wxFileDialog::HandleAction( const wxString &fn ) { m_list->GoToParentDir(); m_list->SetFocus(); - m_list->GetDir( dir ); - m_static->SetLabel( dir ); return; } @@ -1296,8 +1320,6 @@ void wxFileDialog::HandleAction( const wxString &fn ) { m_list->GoToHomeDir(); m_list->SetFocus(); - m_list->GetDir( dir ); - m_static->SetLabel( dir ); return; } @@ -1334,42 +1356,43 @@ void wxFileDialog::HandleAction( const wxString &fn ) if (wxDirExists(filename)) { m_list->GoToDir( filename ); - m_list->GetDir( dir ); - m_static->SetLabel( dir ); return; } - - if ( (m_dialogStyle & wxSAVE) && (m_dialogStyle & wxOVERWRITE_PROMPT) ) + // append the default extension to the filename if it doesn't have any + // + // VZ: the logic of testing for !wxFileExists() only for the open file + // dialog is not entirely clear to me, why don't we allow saving to a + // file without extension as well? + if ( !(m_dialogStyle & wxOPEN) || !wxFileExists(filename) ) { - if (filename.Find( wxT('.') ) == wxNOT_FOUND || - filename.AfterLast( wxT('.') ).Find( wxFILE_SEP_PATH ) != wxNOT_FOUND) - filename << m_filterExtension; - if (wxFileExists( filename )) + wxString ext; + wxSplitPath(filename, NULL, NULL, &ext); + if ( ext.empty() ) { - wxString msg; - msg.Printf( _("File '%s' already exists, do you really want to " - "overwrite it?"), filename.c_str() ); - - if (wxMessageBox(msg, _("Confirm"), wxYES_NO) != wxYES) - return; + // append the first extension of the filter string + filename += m_filterExtension.BeforeFirst(_T(';')); } } - else if ( m_dialogStyle & wxOPEN ) + + // check that the file [doesn't] exist if necessary + if ( (m_dialogStyle & wxSAVE) && + (m_dialogStyle & wxOVERWRITE_PROMPT) && + wxFileExists( filename ) ) { - if ( !wxFileExists( filename ) ) - if (filename.Find( wxT('.') ) == wxNOT_FOUND || - filename.AfterLast( wxT('.') ).Find( wxFILE_SEP_PATH ) != wxNOT_FOUND) - filename << m_filterExtension; + wxString msg; + msg.Printf( _("File '%s' already exists, do you really want to " + "overwrite it?"), filename.c_str() ); - if ( m_dialogStyle & wxFILE_MUST_EXIST ) - { - if ( !wxFileExists( filename ) ) - { - wxMessageBox(_("Please choose an existing file."), _("Error"), wxOK | wxICON_ERROR ); - return; - } - } + if (wxMessageBox(msg, _("Confirm"), wxYES_NO) != wxYES) + return; + } + else if ( (m_dialogStyle & wxOPEN) && + (m_dialogStyle & wxFILE_MUST_EXIST) && + !wxFileExists(filename) ) + { + wxMessageBox(_("Please choose an existing file."), _("Error"), + wxOK | wxICON_ERROR ); } SetPath( filename ); @@ -1413,20 +1436,12 @@ void wxFileDialog::OnUp( wxCommandEvent &WXUNUSED(event) ) { m_list->GoToParentDir(); m_list->SetFocus(); - wxString dir; - m_list->GetDir( dir ); - m_static->SetLabel( dir ); } void wxFileDialog::OnHome( wxCommandEvent &WXUNUSED(event) ) { m_list->GoToHomeDir(); m_list->SetFocus(); - wxString dir; - m_list->GetDir( dir ); - m_static->SetLabel( dir ); - - m_text->SetFocus(); } void wxFileDialog::OnNew( wxCommandEvent &WXUNUSED(event) ) diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 359424e7ec..13f1ca45cd 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -74,14 +74,14 @@ void wxFontPreviewer::OnPaint(wxPaintEvent& WXUNUSED(event)) if ( font.Ok() ) { - dc.SetFont(GetFont()); + dc.SetFont(font); // Calculate vertical centre long w, h; - dc.GetTextExtent("X", &w, &h); + dc.GetTextExtent( wxT("X"), &w, &h); dc.SetTextForeground(GetForegroundColour()); dc.SetClippingRegion(2, 2, size.x-4, size.y-4); dc.DrawText(_("ABCDEFGabcdefg12345"), - 10, h/2 + size.y/2); + 10, size.y/2 - h/2); dc.DestroyClippingRegion(); } } @@ -191,6 +191,10 @@ bool wxGenericFontDialog::DoCreate(wxWindow *parent) InitializeFont(); CreateWidgets(); + // sets initial font in preview area + wxCommandEvent dummy; + OnChangeFont(dummy); + return TRUE; } @@ -237,8 +241,8 @@ void wxGenericFontDialog::CreateWidgets() int i; for ( i = 0; i < 40; i++) { - char buf[5]; - sprintf(buf, "%d", i + 1); + wxChar buf[5]; + wxSprintf(buf, wxT("%d"), i + 1); pointSizes[i] = buf; } @@ -248,7 +252,7 @@ void wxGenericFontDialog::CreateWidgets() m_previewer = new wxFontPreviewer(this); wxButton *okButton = new wxButton(this, wxID_OK, _("OK")); - wxButton *cancelButton = new wxButton(this, wxID_OK, _("Cancel")); + wxButton *cancelButton = new wxButton(this, wxID_CANCEL, _("Cancel")); familyChoice->SetStringSelection( wxFontFamilyIntToString(dialogFont.GetFamily()) ); styleChoice->SetStringSelection(wxFontStyleIntToString(dialogFont.GetStyle())); diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 9e25988500..f6f8156d78 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -1353,15 +1353,15 @@ void wxGridCellChoiceEditor::BeginEdit(int row, int col, wxGrid* grid) m_startValue = grid->GetTable()->GetValue(row, col); - Combo()->SetValue(m_startValue); - size_t count = m_choices.GetCount(); - for (size_t i=0; iSetValue(m_startValue); + else { - if (m_startValue == m_choices[i]) - { - Combo()->SetSelection(i); - break; - } + // find the right position, or default to the first if not found + int pos = Combo()->FindString(m_startValue); + if (pos == -1) + pos = 0; + Combo()->SetSelection(pos); } Combo()->SetInsertionPointEnd(); Combo()->SetFocus(); @@ -1377,7 +1377,10 @@ bool wxGridCellChoiceEditor::EndEdit(int row, int col, grid->GetTable()->SetValue(row, col, value); m_startValue = wxEmptyString; - Combo()->SetValue(m_startValue); + if (m_allowOthers) + Combo()->SetValue(m_startValue); + else + Combo()->SetSelection(0); return changed; } @@ -1577,7 +1580,7 @@ void wxGridCellStringRenderer::Draw(wxGrid& grid, int i, c_cols, c_rows; for (i = col+cell_cols; i < cols; i++) { - bool is_empty = TRUE; + bool is_empty = TRUE; for (int j=row; j 0) c_rows = 0; if (!grid.GetTable()->IsEmptyCell(j+c_rows, i)) { - is_empty = FALSE; + is_empty = FALSE; break; } } @@ -1597,20 +1600,20 @@ void wxGridCellStringRenderer::Draw(wxGrid& grid, break; } if (rect.width >= best_width) break; - } + } overflowCols = i - col - cell_cols + 1; - if (overflowCols >= cols) overflowCols = cols - 1; + if (overflowCols >= cols) overflowCols = cols - 1; } if (overflowCols > 0) // redraw overflow cells w/ proper hilight { hAlign = wxALIGN_LEFT; // if oveflowed then it's left aligned - wxRect clip = rect; + wxRect clip = rect; clip.x += rectCell.width; // draw each overflow cell individually int col_end = col+cell_cols+overflowCols; if (col_end >= grid.GetNumberCols()) - col_end = grid.GetNumberCols() - 1; + col_end = grid.GetNumberCols() - 1; for (int i = col+cell_cols; i <= col_end; i++) { clip.width = grid.GetColSize(i) - 1; @@ -1618,15 +1621,15 @@ void wxGridCellStringRenderer::Draw(wxGrid& grid, dc.SetClippingRegion(clip); SetTextColoursAndFont(grid, attr, dc, - grid.IsInSelection(row,i)); + grid.IsInSelection(row,i)); grid.DrawTextRectangle(dc, grid.GetCellValue(row, col), - rect, hAlign, vAlign); + rect, hAlign, vAlign); clip.x += grid.GetColSize(i) - 1; } rect = rectCell; - rect.Inflate(-1); + rect.Inflate(-1); rect.width++; dc.DestroyClippingRegion(); } @@ -1735,9 +1738,9 @@ wxString wxGridCellFloatRenderer::GetString(wxGrid& grid, int row, int col) { if ( m_precision == -1 ) { - // default width/precision - m_format = _T("%f"); - } + // default width/precision + m_format = _T("%f"); + } else { m_format.Printf(_T("%%.%df"), m_precision); @@ -3832,6 +3835,8 @@ void wxGrid::Init() // init attr cache m_attrCache.row = -1; + m_attrCache.col = -1; + m_attrCache.attr = NULL; // TODO: something better than this ? // @@ -3909,7 +3914,7 @@ void wxGrid::InitRowHeights() m_rowBottoms.Alloc( m_numRows ); int rowBottom = 0; - + m_rowHeights.Add( m_defaultRowHeight, m_numRows ); for ( int i = 0; i < m_numRows; i++ ) @@ -5898,7 +5903,7 @@ void wxGrid::Refresh(bool eraseb, const wxRect* rect) else { m_cornerLabelWin->Refresh(eraseb, NULL); - m_colLabelWin->Refresh(eraseb, NULL); + m_colLabelWin->Refresh(eraseb, NULL); m_rowLabelWin->Refresh(eraseb, NULL); m_gridWin->Refresh(eraseb, NULL); } @@ -6258,7 +6263,7 @@ void wxGrid::HighlightBlock( int topRow, int leftCol, int bottomRow, int rightCo wxRect rect; rect = BlockToDeviceRect( wxGridCellCoords ( topRow, leftCol ), wxGridCellCoords ( bottomRow, rightCol ) ); - m_gridWin->Refresh( FALSE, &rect ); + m_gridWin->Refresh( FALSE, &rect ); } // Now handle changing an existing selection area. else if ( m_selectingTopLeft != updateTopLeft || @@ -7271,30 +7276,30 @@ void wxGrid::ShowCellEditControl() { int y; GetTextExtent(value, &maxWidth, &y, - NULL, NULL, &attr->GetFont()); + NULL, NULL, &attr->GetFont()); if (maxWidth < rect.width) maxWidth = rect.width; } int client_right = m_gridWin->GetClientSize().GetWidth(); if (rect.x+maxWidth > client_right) - maxWidth = client_right - rect.x; + maxWidth = client_right - rect.x; - if ((maxWidth > rect.width) && (col < m_numCols) && m_table) - { + if ((maxWidth > rect.width) && (col < m_numCols) && m_table) + { GetCellSize( row, col, &cell_rows, &cell_cols ); - // may have changed earlier - for (int i = col+cell_cols; i < m_numCols; i++) - { + // may have changed earlier + for (int i = col+cell_cols; i < m_numCols; i++) + { int c_rows, c_cols; GetCellSize( row, i, &c_rows, &c_cols ); - // looks weird going over a multicell - if (m_table->IsEmptyCell(row,i) && - (rect.width < maxWidth) && (c_rows == 1)) - rect.width += GetColWidth(i); - else - break; - } + // looks weird going over a multicell + if (m_table->IsEmptyCell(row,i) && + (rect.width < maxWidth) && (c_rows == 1)) + rect.width += GetColWidth(i); + else + break; + } if (rect.GetRight() > client_right) - rect.SetRight(client_right-1); + rect.SetRight(client_right-1); } editor->SetSize( rect ); @@ -7302,7 +7307,7 @@ void wxGrid::ShowCellEditControl() editor->DecRef(); attr->DecRef(); - } + } } } @@ -8635,13 +8640,16 @@ void wxGrid::ClearAttrCache() void wxGrid::CacheAttr(int row, int col, wxGridCellAttr *attr) const { - wxGrid *self = (wxGrid *)this; // const_cast + if ( attr != NULL ) + { + wxGrid *self = (wxGrid *)this; // const_cast - self->ClearAttrCache(); - self->m_attrCache.row = row; - self->m_attrCache.col = col; - self->m_attrCache.attr = attr; - wxSafeIncRef(attr); + self->ClearAttrCache(); + self->m_attrCache.row = row; + self->m_attrCache.col = col; + self->m_attrCache.attr = attr; + wxSafeIncRef(attr); + } } bool wxGrid::LookupAttr(int row, int col, wxGridCellAttr **attr) const @@ -9282,13 +9290,17 @@ void wxGrid::AutoSize() // round up the size to a multiple of scroll step - this ensures that we // won't get the scrollbars if we're sized exactly to this width - wxSize sizeFit(GetScrollX(size.x) * GRID_SCROLL_LINE_X, - GetScrollY(size.y) * GRID_SCROLL_LINE_Y); + // CalcDimension adds m_extraWidth + 1 etc. to calculate the necessary + // scrollbar steps + wxSize sizeFit(GetScrollX(size.x + m_extraWidth + 1) * GRID_SCROLL_LINE_X, + GetScrollY(size.y + m_extraHeight + 1) * GRID_SCROLL_LINE_Y); - // distribute the extra space between teh columns/rows to avoid having + // distribute the extra space between the columns/rows to avoid having // extra white space - wxCoord diff = sizeFit.x - size.x; - if ( diff ) + + // Remove the extra m_extraWidth + 1 added above + wxCoord diff = sizeFit.x - size.x + (m_extraWidth + 1); + if ( diff && m_numCols ) { // try to resize the columns uniformly wxCoord diffPerCol = diff / m_numCols; @@ -9312,8 +9324,8 @@ void wxGrid::AutoSize() } // same for rows - diff = sizeFit.y - size.y; - if ( diff ) + diff = sizeFit.y - size.y - (m_extraHeight + 1); + if ( diff && m_numRows ) { // try to resize the columns uniformly wxCoord diffPerRow = diff / m_numRows; diff --git a/src/generic/gridsel.cpp b/src/generic/gridsel.cpp index 2781694fb5..bac2f8950b 100644 --- a/src/generic/gridsel.cpp +++ b/src/generic/gridsel.cpp @@ -4,7 +4,7 @@ // Author: Stefan Neis // Modified by: // Created: 20/02/1999 -// RCS-ID: $$ +// RCS-ID: $Id$ // Copyright: (c) Stefan Neis (Stefan.Neis@t-online.de) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -165,7 +165,7 @@ void wxGridSelection::SetSelectionMode(wxGrid::wxGridSelectionModes selmode) m_blockSelectionBottomRight.RemoveAt(n); SelectBlock( topRow, 0, bottomRow, m_grid->GetNumberCols() - 1, - 0, FALSE ); + FALSE, FALSE, FALSE, FALSE, FALSE ); } } else // selmode == wxGridSelectColumns) @@ -176,7 +176,7 @@ void wxGridSelection::SetSelectionMode(wxGrid::wxGridSelectionModes selmode) m_blockSelectionBottomRight.RemoveAt(n); SelectBlock( 0, leftCol, m_grid->GetNumberRows() - 1, rightCol, - 0, FALSE ); + FALSE, FALSE, FALSE, FALSE, FALSE ); } } } @@ -522,13 +522,13 @@ void wxGridSelection::SelectCell( int row, int col, if ( m_selectionMode == wxGrid::wxGridSelectRows ) { SelectBlock(row, 0, row, m_grid->GetNumberCols() - 1, - ControlDown, ShiftDown, AltDown, MetaDown); + ControlDown, ShiftDown, AltDown, MetaDown, sendEvent); return; } else if ( m_selectionMode == wxGrid::wxGridSelectColumns ) { SelectBlock(0, col, m_grid->GetNumberRows() - 1, col, - ControlDown, ShiftDown, AltDown, MetaDown); + ControlDown, ShiftDown, AltDown, MetaDown, sendEvent); return; } else if ( IsInSelection ( row, col ) ) @@ -647,18 +647,20 @@ void wxGridSelection::ToggleCellSelection( int row, int col, if ( m_selectionMode != wxGrid::wxGridSelectColumns ) { if ( topRow < row ) - SelectBlock( topRow, leftCol, - row - 1, rightCol, 0, FALSE ); + SelectBlock( topRow, leftCol, row - 1, rightCol, + FALSE, FALSE, FALSE, FALSE, FALSE ); if ( bottomRow > row ) - SelectBlock( row + 1, leftCol, - bottomRow, rightCol, 0, FALSE ); + SelectBlock( row + 1, leftCol, bottomRow, rightCol, + FALSE, FALSE, FALSE, FALSE, FALSE ); } if ( m_selectionMode != wxGrid::wxGridSelectRows ) { if ( leftCol < col ) - SelectBlock( row, leftCol, row, col - 1, 0, FALSE ); + SelectBlock( row, leftCol, row, col - 1, + FALSE, FALSE, FALSE, FALSE, FALSE ); if ( rightCol > col ) - SelectBlock( row, col + 1, row, rightCol, 0, FALSE ); + SelectBlock( row, col + 1, row, rightCol, + FALSE, FALSE, FALSE, FALSE, FALSE ); } } } @@ -676,11 +678,12 @@ void wxGridSelection::ToggleCellSelection( int row, int col, if (m_selectionMode == wxGrid::wxGridSelectCells) { if ( col > 0 ) - SelectBlock( row, 0, row, col - 1, 0, FALSE ); + SelectBlock( row, 0, row, col - 1, + FALSE, FALSE, FALSE, FALSE, FALSE ); if ( col < m_grid->GetNumberCols() - 1 ) SelectBlock( row, col + 1, row, m_grid->GetNumberCols() - 1, - 0, FALSE ); + FALSE, FALSE, FALSE, FALSE, FALSE ); } } } @@ -699,11 +702,12 @@ void wxGridSelection::ToggleCellSelection( int row, int col, if (m_selectionMode == wxGrid::wxGridSelectCells) { if ( row > 0 ) - SelectBlock( 0, col, row - 1, col, 0, FALSE ); + SelectBlock( 0, col, row - 1, col, + FALSE, FALSE, FALSE, FALSE, FALSE ); if ( row < m_grid->GetNumberRows() - 1 ) SelectBlock( row + 1, col, m_grid->GetNumberRows() - 1, col, - 0, FALSE ); + FALSE, FALSE, FALSE, FALSE, FALSE ); } } } diff --git a/src/generic/helpext.cpp b/src/generic/helpext.cpp index bfd3efb403..f6e3add7b5 100644 --- a/src/generic/helpext.cpp +++ b/src/generic/helpext.cpp @@ -47,9 +47,9 @@ IMPLEMENT_CLASS(wxExtHelpController, wxHTMLHelpControllerBase) /// Name of environment variable to set help browser. -#define WXEXTHELP_ENVVAR_BROWSER "WX_HELPBROWSER" +#define WXEXTHELP_ENVVAR_BROWSER wxT("WX_HELPBROWSER") /// Is browser a netscape browser? -#define WXEXTHELP_ENVVAR_BROWSERISNETSCAPE "WX_HELPBROWSER_NS" +#define WXEXTHELP_ENVVAR_BROWSERISNETSCAPE wxT("WX_HELPBROWSER_NS") /** This class implements help via an external browser. @@ -62,18 +62,17 @@ wxExtHelpController::wxExtHelpController(void) m_BrowserName = WXEXTHELP_DEFAULTBROWSER; m_BrowserIsNetscape = WXEXTHELP_DEFAULTBROWSER_IS_NETSCAPE; - char *browser = getenv(WXEXTHELP_ENVVAR_BROWSER); + wxChar *browser = wxGetenv(WXEXTHELP_ENVVAR_BROWSER); if(browser) { m_BrowserName = browser; - browser = getenv(WXEXTHELP_ENVVAR_BROWSERISNETSCAPE); - m_BrowserIsNetscape = browser && (atoi(browser) != 0); + browser = wxGetenv(WXEXTHELP_ENVVAR_BROWSERISNETSCAPE); + m_BrowserIsNetscape = browser && (wxAtoi(browser) != 0); } } -void -wxExtHelpController::SetBrowser(wxString const & browsername, bool isNetscape) +void wxExtHelpController::SetBrowser(wxString const & browsername, bool isNetscape) { m_BrowserName = browsername; m_BrowserIsNetscape = isNetscape; diff --git a/src/generic/helphtml.cpp b/src/generic/helphtml.cpp index 8aa2840806..9f106ae59c 100644 --- a/src/generic/helphtml.cpp +++ b/src/generic/helphtml.cpp @@ -195,15 +195,15 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile) break; // error for(i=0; isdigit(buffer[i])||isspace(buffer[i])||buffer[i]=='-'; i++) ; // find begin of URL - url = ""; + url = wxT(""); while(buffer[i] && ! isspace(buffer[i]) && buffer[i] != WXEXTHELP_COMMENTCHAR) - url << buffer[i++]; + url << (wxChar) buffer[i++]; while(buffer[i] && buffer[i] != WXEXTHELP_COMMENTCHAR) i++; - doc = ""; + doc = wxT(""); if(buffer[i]) - doc = (buffer + i + 1); // skip the comment character + doc = wxString::FromAscii( (buffer + i + 1) ); // skip the comment character m_MapList->Append(new wxExtHelpMapEntry(id,url,doc)); m_NumOfEntries++; } @@ -312,7 +312,7 @@ wxHTMLHelpControllerBase::KeywordSearch(const wxString& k) // choices[idx] = (**i).doc.Contains((**i).doc.Before(WXEXTHELP_COMMENTCHAR)); //if(choices[idx].IsEmpty()) // didn't contain the ';' // choices[idx] = (**i).doc; - choices[idx] = ""; + choices[idx] = wxT(""); for(j=0;entry->doc.c_str()[j] && entry->doc.c_str()[j] != WXEXTHELP_COMMENTCHAR; j++) choices[idx] << entry->doc.c_str()[j]; diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 911612205e..51f600fa5b 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -47,16 +47,26 @@ #include "wx/textctrl.h" #endif -// Include wx/listctrl.h (with wxListView declaration) -// only when wxGenericListCtrl is the only -// implementation, and therefore wxListView needs -// to be derived from the 'generic' version. - +// under Win32 we always use the native version and also may use the generic +// one, however some things should be done only if we use only the generic +// version #if defined(__WIN32__) && !defined(__WXUNIVERSAL__) + #define HAVE_NATIVE_LISTCTRL +#endif + +// if we have the native control, wx/listctrl.h declares it and not this one +#ifdef HAVE_NATIVE_LISTCTRL #include "wx/generic/listctrl.h" -#else +#else // !HAVE_NATIVE_LISTCTRL #include "wx/listctrl.h" -#endif + + // if we have a native version, its implementation file does all this + IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject) + IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl) + IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent) + + IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxGenericListCtrl) +#endif // HAVE_NATIVE_LISTCTRL/!HAVE_NATIVE_LISTCTRL #if defined(__WXGTK__) #include @@ -421,6 +431,10 @@ private: const wxListItemAttr *attr, bool highlight); + // draw the text on the DC with the correct justification; also add an + // ellipsis if the text is too large to fit in the current width + void DrawTextFormatted(wxDC *dc, const wxString &text, int col, int x, int y, int width); + // these are only used by GetImage/SetImage above, we don't support images // with subitems at the public API level yet void SetImage( int index, int image ); @@ -462,7 +476,7 @@ public: const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = 0, - const wxString &name = "wxlistctrlcolumntitles" ); + const wxString &name = wxT("wxlistctrlcolumntitles") ); virtual ~wxListHeaderWindow(); @@ -879,6 +893,8 @@ private: DECLARE_DYNAMIC_CLASS(wxListMainWindow) DECLARE_EVENT_TABLE() + + friend class wxGenericListCtrl; }; // ============================================================================ @@ -1736,12 +1752,66 @@ void wxListLineData::DrawInReportMode( wxDC *dc, width -= ix; } - wxDCClipper clipper(*dc, xOld, y, width, rect.height); + wxDCClipper clipper(*dc, xOld, y, width - 8, rect.height); if ( item->HasText() ) { - dc->DrawText( item->GetText(), xOld, y ); + DrawTextFormatted(dc, item->GetText(), col, xOld, y, width - 8); + } + } +} + +void wxListLineData::DrawTextFormatted(wxDC *dc, + const wxString &text, + int col, + int x, + int y, + int width) +{ + wxString drawntext, ellipsis; + wxCoord w, h, base_w; + wxListItem item; + + // determine if the string can fit inside the current width + dc->GetTextExtent(text, &w, &h); + + // if it can, draw it + if (w <= width) + { + m_owner->GetColumn(col, item); + if (item.m_format == wxLIST_FORMAT_LEFT) + dc->DrawText(text, x, y); + else if (item.m_format == wxLIST_FORMAT_RIGHT) + dc->DrawText(text, x + width - w, y); + else if (item.m_format == wxLIST_FORMAT_CENTER) + dc->DrawText(text, x + ((width - w) / 2), y); + } + else // otherwise, truncate and add an ellipsis if possible + { + // determine the base width + ellipsis = wxString(wxT("...")); + dc->GetTextExtent(ellipsis, &base_w, &h); + + // continue until we have enough space or only one character left + drawntext = text.Left(text.Length() - 1); + while (drawntext.Length() > 1) + { + dc->GetTextExtent(drawntext, &w, &h); + if (w + base_w <= width) + break; + drawntext = drawntext.Left(drawntext.Length() - 1); + } + + // if still not enough space, remove ellipsis characters + while (ellipsis.Length() > 0 && w + base_w > width) + { + ellipsis = ellipsis.Left(ellipsis.Length() - 1); + dc->GetTextExtent(ellipsis, &base_w, &h); } + + // now draw the text + dc->DrawText(drawntext, x, y); + dc->DrawText(ellipsis, x + w, y); } } @@ -1811,6 +1881,11 @@ wxListHeaderWindow::~wxListHeaderWindow() delete m_resizeCursor; } +#ifdef __WXUNIVERSAL__ +#include "wx/univ/renderer.h" +#include "wx/univ/theme.h" +#endif + void wxListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h ) { #if defined(__WXGTK__) && !defined(__WXUNIVERSAL__) @@ -1824,7 +1899,11 @@ void wxListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h ) (GdkRectangle*) NULL, m_wxwindow, (char *)"button", // const_cast x-1, y-1, w+2, h+2); -#elif defined( __WXMAC__ ) +#elif defined(__WXUNIVERSAL__) + wxTheme *theme = wxTheme::Get(); + wxRenderer *renderer = theme->GetRenderer(); + renderer->DrawBorder( *dc, wxBORDER_RAISED, wxRect(x,y,w,h), 0 ); +#elif defined(__WXMAC__) const int m_corner = 1; dc->SetBrush( *wxTRANSPARENT_BRUSH ); @@ -3078,15 +3157,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) m_renameTimer->Stop(); m_lastOnSame = FALSE; -#ifdef __WXGTK__ - // FIXME: wxGTK generates bad sequence of events prior to doubleclick - // ("down, up, down, double, up" while other ports - // do "down, up, double, up"). We have to have this hack - // in place till somebody fixes wxGTK... - if ( current == m_lineBeforeLastClicked ) -#else if ( current == m_lineLastClicked ) -#endif { SendNotify( current, wxEVT_COMMAND_LIST_ITEM_ACTIVATED ); @@ -4359,7 +4430,10 @@ void wxListMainWindow::InsertItem( wxListItem &item ) int mode = 0; if ( HasFlag(wxLC_REPORT) ) + { mode = wxLC_REPORT; + ResetVisibleLinesRange(); + } else if ( HasFlag(wxLC_LIST) ) mode = wxLC_LIST; else if ( HasFlag(wxLC_ICON) ) @@ -4507,40 +4581,17 @@ void wxListMainWindow::GetVisibleLinesRange(size_t *from, size_t *to) *to = m_lineTo; } -// ------------------------------------------------------------------------------------- -// wxListItem -// ------------------------------------------------------------------------------------- - -#if !defined(__WIN32__) -IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject) -#endif - // ------------------------------------------------------------------------------------- // wxGenericListCtrl // ------------------------------------------------------------------------------------- IMPLEMENT_DYNAMIC_CLASS(wxGenericListCtrl, wxControl) -#if !defined(__WIN32__) -IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl) - -IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent) -#endif - BEGIN_EVENT_TABLE(wxGenericListCtrl,wxControl) EVT_SIZE(wxGenericListCtrl::OnSize) EVT_IDLE(wxGenericListCtrl::OnIdle) END_EVENT_TABLE() -#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__) -/* - * wxListCtrl has to be a real class or we have problems with - * the run-time information. - */ - -IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxGenericListCtrl) -#endif - wxGenericListCtrl::wxGenericListCtrl() { m_imageListNormal = (wxImageListType *) NULL; @@ -4882,7 +4933,9 @@ void wxGenericListCtrl::SetTextColour(const wxColour& col) long wxGenericListCtrl::GetTopItem() const { - return 0; + size_t top; + m_mainWin->GetVisibleLinesRange(&top, NULL); + return (long)top; } long wxGenericListCtrl::GetNextItem( long item, int geom, int state ) const diff --git a/src/generic/mdig.cpp b/src/generic/mdig.cpp index e86ba99ee9..ea08482ba2 100644 --- a/src/generic/mdig.cpp +++ b/src/generic/mdig.cpp @@ -31,6 +31,7 @@ #ifndef WX_PRECOMP #include "wx/panel.h" #include "wx/menu.h" + #include "wx/intl.h" #endif //WX_PRECOMP #include "wx/generic/mdig.h" @@ -108,11 +109,11 @@ bool wxGenericMDIParentFrame::Create(wxWindow *parent, #if wxUSE_MENUS m_pWindowMenu = new wxMenu; - m_pWindowMenu->Append(wxWINDOWCLOSE, _T("Cl&ose")); - m_pWindowMenu->Append(wxWINDOWCLOSEALL, _T("Close Al&l")); + m_pWindowMenu->Append(wxWINDOWCLOSE, _("Cl&ose")); + m_pWindowMenu->Append(wxWINDOWCLOSEALL, _("Close All")); m_pWindowMenu->AppendSeparator(); - m_pWindowMenu->Append(wxWINDOWNEXT, _T("&Next")); - m_pWindowMenu->Append(wxWINDOWPREV, _T("&Previouse")); + m_pWindowMenu->Append(wxWINDOWNEXT, _("&Next")); + m_pWindowMenu->Append(wxWINDOWPREV, _("&Previous")); #endif // wxUSE_MENUS } @@ -199,7 +200,7 @@ bool wxGenericMDIParentFrame::ProcessEvent(wxEvent& event) #if 0 /* This is sure to not give problems... */ && (event.GetEventType() == wxEVT_COMMAND_MENU_SELECTED || - event.GetEventType() == wxEVT_UPDATE_UI )) + event.GetEventType() == wxEVT_UPDATE_UI ) #else /* This was tested on wxMSW and worked... */ && event.GetEventObject() != m_pClientWindow @@ -208,8 +209,9 @@ bool wxGenericMDIParentFrame::ProcessEvent(wxEvent& event) event.GetEventType() == wxEVT_KILL_FOCUS || event.GetEventType() == wxEVT_CHILD_FOCUS || event.GetEventType() == wxEVT_COMMAND_SET_FOCUS || - event.GetEventType() == wxEVT_COMMAND_KILL_FOCUS )) + event.GetEventType() == wxEVT_COMMAND_KILL_FOCUS ) #endif + ) { res = m_pActiveChild->GetEventHandler()->ProcessEvent(event); } @@ -290,7 +292,7 @@ void wxGenericMDIParentFrame::RemoveWindowMenu(wxMenuBar *pMenuBar) if (pMenuBar && m_pWindowMenu) { // Remove old window menu - int pos = pMenuBar->FindMenu(_T("&Window")); + int pos = pMenuBar->FindMenu(_("&Window")); if (pos != wxNOT_FOUND) { wxASSERT(m_pWindowMenu == pMenuBar->GetMenu(pos)); // DBG:: We're going to delete the wrong menu!!! @@ -303,14 +305,14 @@ void wxGenericMDIParentFrame::AddWindowMenu(wxMenuBar *pMenuBar) { if (pMenuBar && m_pWindowMenu) { - int pos = pMenuBar->FindMenu(_T("Help")); + int pos = pMenuBar->FindMenu(_("Help")); if (pos == wxNOT_FOUND) { - pMenuBar->Append(m_pWindowMenu, _T("&Window")); + pMenuBar->Append(m_pWindowMenu, _("&Window")); } else { - pMenuBar->Insert(pos, m_pWindowMenu, _T("&Window")); + pMenuBar->Insert(pos, m_pWindowMenu, _("&Window")); } } } @@ -453,7 +455,7 @@ bool wxGenericMDIChildFrame::Create( wxGenericMDIParentFrame *parent, { wxGenericMDIClientWindow* pClientWindow = parent->GetClientWindow(); - wxASSERT_MSG((pClientWindow != (wxWindow*) NULL), "Missing MDI client window."); + wxASSERT_MSG((pClientWindow != (wxWindow*) NULL), wxT("Missing MDI client window.") ); wxPanel::Create(pClientWindow, id, wxDefaultPosition, size, style, name); @@ -793,6 +795,16 @@ void wxGenericMDIClientWindow::OnSize(wxSizeEvent& event) #if wxUSE_GENERIC_MDI_AS_NATIVE +wxMDIChildFrame * wxMDIParentFrame::GetActiveChild() const + { + wxGenericMDIChildFrame *pGFrame = wxGenericMDIParentFrame::GetActiveChild(); + wxMDIChildFrame *pFrame = wxDynamicCast(pGFrame, wxMDIChildFrame); + + wxASSERT_MSG(!(pFrame == NULL && pGFrame != NULL), wxT("Active frame is class not derived from wxMDIChildFrame!")); + + return pFrame; + } + IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxGenericMDIParentFrame) IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxGenericMDIChildFrame) IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxGenericMDIClientWindow) diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index 2b1b8b33db..467ce46b18 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -40,6 +40,7 @@ #include "wx/generic/msgdlgg.h" #include "wx/artprov.h" +#include "wx/settings.h" #if wxUSE_STATLINE #include "wx/statline.h" @@ -66,6 +67,8 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, { m_dialogStyle = style; + bool is_pda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA); + wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); wxBoxSizer *icon_text = new wxBoxSizer( wxHORIZONTAL ); @@ -97,13 +100,16 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, break; } wxStaticBitmap *icon = new wxStaticBitmap(this, -1, bitmap); - icon_text->Add( icon, 0, wxCENTER ); + if (is_pda) + topsizer->Add( icon, 0, wxTOP|wxLEFT|wxRIGHT | wxALIGN_LEFT, 10 ); + else + icon_text->Add( icon, 0, wxCENTER ); } // 2) text icon_text->Add( CreateTextSizer( message ), 0, wxCENTER | wxLEFT, 10 ); - topsizer->Add( icon_text, 0, wxCENTER | wxLEFT|wxRIGHT|wxTOP, 10 ); + topsizer->Add( icon_text, 1, wxCENTER | wxLEFT|wxRIGHT|wxTOP, 10 ); #if wxUSE_STATLINE // 3) static line @@ -140,8 +146,8 @@ void wxGenericMessageDialog::OnNo(wxCommandEvent& WXUNUSED(event)) void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) { - /* Allow cancellation via ESC/Close button except if - only YES and NO are specified. */ + // Allow cancellation via ESC/Close button except if + // only YES and NO are specified. if ( (m_dialogStyle & wxYES_NO) != wxYES_NO || (m_dialogStyle & wxCANCEL) ) { EndModal( wxID_CANCEL ); diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 0c7b85fb42..d7f69ce937 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -107,22 +107,20 @@ void wxPanel::OnSize(wxSizeEvent& event) #if wxUSE_CONSTRAINTS if (GetAutoLayout()) Layout(); -#endif // wxUSE_CONSTRAINTS - - // - // Need to properly move child windows under OS/2 - // #if defined(__WXPM__) else { + // Need to properly move child windows under OS/2 + PSWP pWinSwp = GetSwp(); if (pWinSwp->cx == 0 && pWinSwp->cy == 0 && pWinSwp->fl == 0) - // + { // Uninitialized - // + ::WinQueryWindowPos(GetHWND(), pWinSwp); - else + } + else { SWP vSwp; int nYDiff; @@ -135,6 +133,8 @@ void wxPanel::OnSize(wxSizeEvent& event) } } #endif +#endif // wxUSE_CONSTRAINTS + event.Skip(); } diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 6f4584b82a..6d270a3bdf 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -182,16 +182,16 @@ void wxGenericPrintDialog::Init(wxWindow * WXUNUSED(parent)) if (m_printDialogData.GetFromPage() != 0) { bottomsizer->Add( new wxStaticText(this, wxPRINTID_STATIC, _("From:") ), 0, wxCENTER|wxALL, 5 ); - m_fromText = new wxTextCtrl(this, wxPRINTID_FROM, "", wxDefaultPosition, wxSize(40, -1)); + m_fromText = new wxTextCtrl(this, wxPRINTID_FROM, wxT(""), wxDefaultPosition, wxSize(40, -1)); bottomsizer->Add( m_fromText, 1, wxCENTER|wxRIGHT, 10 ); bottomsizer->Add( new wxStaticText(this, wxPRINTID_STATIC, _("To:") ), 0, wxCENTER|wxALL, 5); - m_toText = new wxTextCtrl(this, wxPRINTID_TO, "", wxDefaultPosition, wxSize(40, -1)); + m_toText = new wxTextCtrl(this, wxPRINTID_TO, wxT(""), wxDefaultPosition, wxSize(40, -1)); bottomsizer->Add( m_toText, 1, wxCENTER|wxRIGHT, 10 ); } bottomsizer->Add( new wxStaticText(this, wxPRINTID_STATIC, _("Copies:") ), 0, wxCENTER|wxALL, 5 ); - m_noCopiesText = new wxTextCtrl(this, wxPRINTID_COPIES, "", wxPoint(252, 130), wxSize(40, -1)); + m_noCopiesText = new wxTextCtrl(this, wxPRINTID_COPIES, wxT(""), wxPoint(252, 130), wxSize(40, -1)); bottomsizer->Add( m_noCopiesText, 1, wxCENTER|wxRIGHT, 10 ); mainsizer->Add( bottomsizer, 0, wxTOP|wxLEFT|wxRIGHT, 12 ); @@ -443,11 +443,11 @@ void wxGenericPrintSetupDialog::Init(wxPrintData* data) (void) new wxStaticText(this, wxPRINTID_STATIC, _("Printer command:"), wxPoint(340, 30)); - m_printerCommandText = new wxTextCtrl(this, wxPRINTID_COMMAND, "", wxPoint(360, 55), wxSize(150, -1)); + m_printerCommandText = new wxTextCtrl(this, wxPRINTID_COMMAND, wxT(""), wxPoint(360, 55), wxSize(150, -1)); (void) new wxStaticText(this, wxPRINTID_STATIC, _("Printer options:"), wxPoint(340, 110)); - m_printerOptionsText = new wxTextCtrl(this, wxPRINTID_OPTIONS, "", wxPoint(360, 135), wxSize(150, -1)); + m_printerOptionsText = new wxTextCtrl(this, wxPRINTID_OPTIONS, wxT(""), wxPoint(360, 135), wxSize(150, -1)); wxButton *okButton = new wxButton(this, wxID_OK, _("OK"), wxPoint(130, 200), wxSize(80, -1)); (void) new wxButton(this, wxID_CANCEL, _("Cancel"), wxPoint(320, 200), wxSize(80, -1)); @@ -504,7 +504,7 @@ bool wxGenericPrintSetupDialog::TransferDataFromWindow() if (m_paperTypeChoice) { wxString val(m_paperTypeChoice->GetStringSelection()); - if (!val.IsNull() && val != "") + if (!val.IsNull() && val != wxT("")) m_printData.SetPaperId(wxThePrintPaperDatabase->ConvertNameToId(val)); } @@ -634,8 +634,8 @@ wxDialog(parent, -1, _("Page Setup"), wxPoint(0, 0), wxSize(600, 600), wxDIALOG_ table->Add( column1, 0, wxALL | wxEXPAND, 5 ); wxBoxSizer *column2 = new wxBoxSizer( wxVERTICAL ); - m_marginLeftText = new wxTextCtrl(this, wxPRINTID_LEFTMARGIN, "", wxDefaultPosition, wxSize(textWidth, -1)); - m_marginTopText = new wxTextCtrl(this, wxPRINTID_TOPMARGIN, "", wxDefaultPosition, wxSize(textWidth, -1)); + m_marginLeftText = new wxTextCtrl(this, wxPRINTID_LEFTMARGIN, wxT(""), wxDefaultPosition, wxSize(textWidth, -1)); + m_marginTopText = new wxTextCtrl(this, wxPRINTID_TOPMARGIN, wxT(""), wxDefaultPosition, wxSize(textWidth, -1)); column2->Add( m_marginLeftText, 1, wxALL, 5 ); column2->Add( m_marginTopText, 1, wxALL, 5 ); table->Add( column2, 0, wxRIGHT|wxTOP|wxBOTTOM | wxEXPAND, 5 ); @@ -646,8 +646,8 @@ wxDialog(parent, -1, _("Page Setup"), wxPoint(0, 0), wxSize(600, 600), wxDIALOG_ table->Add( column3, 0, wxALL | wxEXPAND, 5 ); wxBoxSizer *column4 = new wxBoxSizer( wxVERTICAL ); - m_marginRightText = new wxTextCtrl(this, wxPRINTID_RIGHTMARGIN, "", wxDefaultPosition, wxSize(textWidth, -1)); - m_marginBottomText = new wxTextCtrl(this, wxPRINTID_BOTTOMMARGIN, "", wxDefaultPosition, wxSize(textWidth, -1)); + m_marginRightText = new wxTextCtrl(this, wxPRINTID_RIGHTMARGIN, wxT(""), wxDefaultPosition, wxSize(textWidth, -1)); + m_marginBottomText = new wxTextCtrl(this, wxPRINTID_BOTTOMMARGIN, wxT(""), wxDefaultPosition, wxSize(textWidth, -1)); column4->Add( m_marginRightText, 1, wxALL, 5 ); column4->Add( m_marginBottomText, 1, wxALL, 5 ); table->Add( column4, 0, wxRIGHT|wxTOP|wxBOTTOM | wxEXPAND, 5 ); diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 169a7ea949..39bb6d1ef8 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -322,7 +322,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg) wxASSERT_MSG( value <= m_maximum, wxT("invalid progress value") ); - if ( m_gauge ) + if ( m_gauge && value < m_maximum ) { m_gauge->SetValue(value + 1); } diff --git a/src/generic/propform.cpp b/src/generic/propform.cpp index bfa779c272..b8469214eb 100644 --- a/src/generic/propform.cpp +++ b/src/generic/propform.cpp @@ -518,9 +518,9 @@ bool wxIntegerFormValidator::OnCheckValue(wxProperty *property, wxPropertyFormVi if (val < m_integerMin || val > m_integerMax) { - char buf[200]; - sprintf(buf, "Value must be an integer between %ld and %ld!", m_integerMin, m_integerMax); - wxMessageBox(buf, "Property value error", wxOK | wxICON_EXCLAMATION, parentWindow); + wxChar buf[200]; + wxSprintf(buf, wxT("Value must be an integer between %ld and %ld!"), m_integerMin, m_integerMax); + wxMessageBox(buf, wxT("Property value error"), wxOK | wxICON_EXCLAMATION, parentWindow); return FALSE; } return TRUE; @@ -645,10 +645,10 @@ bool wxStringFormValidator::OnCheckValue(wxProperty *property, wxPropertyFormVie wxTextCtrl *text = (wxTextCtrl *)m_propertyWindow; if (!m_strings->Member(text->GetValue())) { - wxString s("Value "); - s += text->GetValue(); - s += " is not valid."; - wxMessageBox(s, "Property value error", wxOK | wxICON_EXCLAMATION, parentWindow); + wxString str( wxT("Value ") ); + str += text->GetValue(); + str += wxT(" is not valid."); + wxMessageBox(str, wxT("Property value error"), wxOK | wxICON_EXCLAMATION, parentWindow); return FALSE; } } @@ -719,7 +719,7 @@ bool wxStringFormValidator::OnDisplayValue(wxProperty *property, wxPropertyFormV wxNode *node = m_strings->First(); while (node) { - char *s = (char *)node->Data(); + wxChar *s = (wxChar *)node->Data(); lbox->Append(s); node = node->Next(); } @@ -736,7 +736,6 @@ bool wxStringFormValidator::OnDisplayValue(wxProperty *property, wxPropertyFormV else if (m_propertyWindow->IsKindOf(CLASSINFO(wxChoice))) { wxChoice *choice = (wxChoice *)m_propertyWindow; -#ifndef __XVIEW__ if (choice->GetCount() == 0 && m_strings) { // Try to initialize the choice item from 'strings' @@ -744,12 +743,11 @@ bool wxStringFormValidator::OnDisplayValue(wxProperty *property, wxPropertyFormV wxNode *node = m_strings->First(); while (node) { - char *s = (char *)node->Data(); + wxChar *s = (wxChar *)node->Data(); choice->Append(s); node = node->Next(); } } -#endif choice->SetStringSelection(property->GetValue().StringValue()); } else diff --git a/src/generic/proplist.cpp b/src/generic/proplist.cpp index a9e3b83c39..cd6af4d9c1 100644 --- a/src/generic/proplist.cpp +++ b/src/generic/proplist.cpp @@ -149,7 +149,7 @@ bool wxPropertyListView::UpdatePropertyList(bool clearEditArea) if (clearEditArea) { m_valueList->Clear(); - m_valueText->SetValue(_T("")); + m_valueText->SetValue( wxT("") ); } wxNode *node = m_propertySheet->GetProperties().First(); @@ -223,7 +223,7 @@ wxString wxPropertyListView::MakeNameValueString(wxString name, wxString value) if (GetFlags() & wxPROP_SHOWVALUES) { // Want to pad with spaces - theString.Append(' ', padWith); + theString.Append( wxT(' '), padWith); theString += value; } @@ -241,7 +241,7 @@ bool wxPropertyListView::ShowProperty(wxProperty *property, bool select) } m_valueList->Clear(); - m_valueText->SetValue(_T("")); + m_valueText->SetValue( wxT("") ); if (property) { @@ -894,9 +894,9 @@ bool wxRealListValidator::OnCheckValue(wxProperty *WXUNUSED(property), wxPropert if (val < m_realMin || val > m_realMax) { - char buf[200]; - sprintf(buf, "Value must be a real number between %.2f and %.2f!", m_realMin, m_realMax); - wxMessageBox(buf, "Property value error", wxOK | wxICON_EXCLAMATION, parentWindow); + wxChar buf[200]; + wxSprintf(buf, wxT("Value must be a real number between %.2f and %.2f!"), m_realMin, m_realMax); + wxMessageBox(buf, wxT("Property value error"), wxOK | wxICON_EXCLAMATION, parentWindow); return FALSE; } return TRUE; @@ -1129,10 +1129,10 @@ bool wxStringListValidator::OnCheckValue(wxProperty *WXUNUSED(property), wxPrope if (!m_strings->Member(value.GetData())) { - wxString s("Value "); - s += value.GetData(); - s += " is not valid."; - wxMessageBox(s.GetData(), "Property value error", wxOK | wxICON_EXCLAMATION, parentWindow); + wxString str( wxT("Value ") ); + str += value.GetData(); + str += wxT(" is not valid."); + wxMessageBox( str.GetData(), wxT("Property value error"), wxOK | wxICON_EXCLAMATION, parentWindow); return FALSE; } return TRUE; @@ -1563,7 +1563,7 @@ class wxPropertyStringListEditorDialog: public wxDialog public: wxPropertyStringListEditorDialog(wxWindow *parent, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long windowStyle = wxDEFAULT_DIALOG_STYLE, const wxString& name = "stringEditorDialogBox"): + long windowStyle = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("stringEditorDialogBox")): wxDialog(parent, -1, title, pos, size, windowStyle, name) { m_stringList = NULL; @@ -1613,7 +1613,7 @@ class wxPropertyStringListEditorText: public wxTextCtrl public: wxPropertyStringListEditorText(wxWindow *parent, wxWindowID id, const wxString& val, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long windowStyle = 0, const wxString& name = "text"): + long windowStyle = 0, const wxString& name = wxT("text")): wxTextCtrl(parent, id, val, pos, size, windowStyle, wxDefaultValidator, name) { } @@ -1642,14 +1642,14 @@ bool wxListOfStringsListValidator::EditStringList(wxWindow *parent, wxStringList wxPoint(-1, -1), wxSize(-1, -1), 0, NULL, wxLB_SINGLE); dialog->m_stringText = new wxPropertyStringListEditorText(dialog, - wxID_PROP_SL_TEXT, "", wxPoint(5, 240), + wxID_PROP_SL_TEXT, wxT(""), wxPoint(5, 240), wxSize(300, -1), wxPROCESS_ENTER); dialog->m_stringText->Enable(FALSE); - wxButton *addButton = new wxButton(dialog, wxID_PROP_SL_ADD, "Add", wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); - wxButton *deleteButton = new wxButton(dialog, wxID_PROP_SL_DELETE, "Delete", wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); - wxButton *cancelButton = new wxButton(dialog, wxID_CANCEL, "Cancel", wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); - wxButton *okButton = new wxButton(dialog, wxID_OK, "OK", wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); + wxButton *addButton = new wxButton(dialog, wxID_PROP_SL_ADD, wxT("Add"), wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); + wxButton *deleteButton = new wxButton(dialog, wxID_PROP_SL_DELETE, wxT("Delete"), wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); + wxButton *cancelButton = new wxButton(dialog, wxID_CANCEL, wxT("Cancel"), wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); + wxButton *okButton = new wxButton(dialog, wxID_OK, wxT("OK"), wxPoint(-1, -1), wxSize(largeButtonWidth, largeButtonHeight)); #ifndef __WXGTK__ okButton->SetDefault(); @@ -1701,9 +1701,9 @@ bool wxListOfStringsListValidator::EditStringList(wxWindow *parent, wxStringList wxNode *node = stringList->First(); while (node) { - char *str = (char *)node->Data(); + wxChar *str = (wxChar *)node->Data(); // Save node as client data for each listbox item - dialog->m_listBox->Append(str, (char *)node); + dialog->m_listBox->Append(str, (wxChar *)node); node = node->Next(); } @@ -1807,21 +1807,21 @@ void wxPropertyStringListEditorDialog::SaveCurrentSelection() wxString txt(m_stringText->GetValue()); if (node->Data()) - delete[] (char *)node->Data(); - node->SetData((wxObject *)copystring(txt)); + delete[] (wxChar *)node->Data(); + node->SetData((wxObject *)wxStrdup(txt)); - m_listBox->SetString(m_currentSelection, (char *)node->Data()); + m_listBox->SetString(m_currentSelection, (wxChar *)node->Data()); } void wxPropertyStringListEditorDialog::ShowCurrentSelection() { if (m_currentSelection == -1) { - m_stringText->SetValue(_T("")); + m_stringText->SetValue(wxT("")); return; } wxNode *node = (wxNode *)m_listBox->wxListBox::GetClientData(m_currentSelection); - char *txt = (char *)node->Data(); + wxChar *txt = (wxChar *)node->Data(); m_stringText->SetValue(txt); m_stringText->Enable(TRUE); } diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index 90bc832b39..6f0fc70c24 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -46,6 +46,10 @@ BEGIN_EVENT_TABLE(wxSashWindow, wxWindow) EVT_PAINT(wxSashWindow::OnPaint) EVT_SIZE(wxSashWindow::OnSize) EVT_MOUSE_EVENTS(wxSashWindow::OnMouseEvent) +#ifdef __WXMSW__ + EVT_SET_CURSOR(wxSashWindow::OnSetCursor) +#endif // wxMSW + END_EVENT_TABLE() bool wxSashWindow::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, @@ -77,6 +81,7 @@ void wxSashWindow::Init() m_sashCursorWE = new wxCursor(wxCURSOR_SIZEWE); m_sashCursorNS = new wxCursor(wxCURSOR_SIZENS); m_mouseCaptured = FALSE; + m_currentCursor = NULL; // Eventually, we'll respond to colour change messages InitColours(); @@ -86,9 +91,7 @@ void wxSashWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) { wxPaintDC dc(this); - // if ( m_borderSize > 0 ) DrawBorders(dc); - DrawSashes(dc); } @@ -99,15 +102,6 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event) wxSashEdgePosition sashHit = SashHitTest(x, y); - // reset the cursor -#if defined(__WXMOTIF__) || defined(__WXGTK__) - // Not necessary and in fact inhibits proper cursor setting (JACS 8/2000) - //SetCursor(* wxSTANDARD_CURSOR); -#endif -#ifdef __WXMSW__ - SetCursor(wxNullCursor); -#endif - if (event.LeftDown()) { CaptureMouse(); @@ -139,11 +133,19 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event) if ( (sashHit == wxSASH_LEFT) || (sashHit == wxSASH_RIGHT) ) { - SetCursor(*m_sashCursorWE); + if (m_currentCursor != m_sashCursorWE) + { + SetCursor(*m_sashCursorWE); + } + m_currentCursor = m_sashCursorWE; } else { - SetCursor(*m_sashCursorNS); + if (m_currentCursor != m_sashCursorNS) + { + SetCursor(*m_sashCursorNS); + } + m_currentCursor = m_sashCursorNS; } } } @@ -296,16 +298,25 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event) { if ( (sashHit == wxSASH_LEFT) || (sashHit == wxSASH_RIGHT) ) { - SetCursor(*m_sashCursorWE); + if (m_currentCursor != m_sashCursorWE) + { + SetCursor(*m_sashCursorWE); + } + m_currentCursor = m_sashCursorWE; } else { - SetCursor(*m_sashCursorNS); + if (m_currentCursor != m_sashCursorNS) + { + SetCursor(*m_sashCursorNS); + } + m_currentCursor = m_sashCursorNS; } } else { SetCursor(wxNullCursor); + m_currentCursor = NULL; } } else if ( event.Dragging() && @@ -314,11 +325,19 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event) { if ( (m_draggingEdge == wxSASH_LEFT) || (m_draggingEdge == wxSASH_RIGHT) ) { - SetCursor(*m_sashCursorWE); + if (m_currentCursor != m_sashCursorWE) + { + SetCursor(*m_sashCursorWE); + } + m_currentCursor = m_sashCursorWE; } else { - SetCursor(*m_sashCursorNS); + if (m_currentCursor != m_sashCursorNS) + { + SetCursor(*m_sashCursorNS); + } + m_currentCursor = m_sashCursorNS; } if (m_dragMode == wxSASH_DRAG_LEFT_DOWN) @@ -683,4 +702,23 @@ void wxSashWindow::SetSashVisible(wxSashEdgePosition edge, bool sash) m_sashes[edge].m_margin = 0; } +#ifdef __WXMSW__ + +// this is currently called (and needed) under MSW only... +void wxSashWindow::OnSetCursor(wxSetCursorEvent& event) +{ + // if we don't do it, the resizing cursor might be set for child window: + // and like this we explicitly say that our cursor should not be used for + // children windows which overlap us + + if ( SashHitTest(event.GetX(), event.GetY()) != wxSASH_NONE) + { + // default processing is ok + event.Skip(); + } + //else: do nothing, in particular, don't call Skip() +} + +#endif // wxMSW + #endif // wxUSE_SASH diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index ae4107a1fa..f65fb4b487 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -340,9 +340,15 @@ void wxScrollHelper::SetScrollbars(int pixelsPerUnitX, m_xScrollPosition = xPos; m_yScrollPosition = yPos; + // For better backward compatibility we set persisting limits + // here not just the size. It makes SetScrollbars 'sticky' + // emulating the old non-autoscroll behaviour. + m_targetWindow->SetVirtualSizeHints( noUnitsX * pixelsPerUnitX, noUnitsY * pixelsPerUnitY ); - AdjustScrollbars(); + // The above should arguably be deprecated, this however we still need. + + m_targetWindow->SetVirtualSize( noUnitsX * pixelsPerUnitX, noUnitsY * pixelsPerUnitY ); if (do_refresh && !noRefresh) m_targetWindow->Refresh(TRUE, GetRect()); @@ -867,17 +873,19 @@ void wxScrollHelper::DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) co // Default OnSize resets scrollbars, if any void wxScrollHelper::HandleOnSize(wxSizeEvent& WXUNUSED(event)) { - if ( m_targetWindow != m_win ) - m_targetWindow->SetVirtualSize( m_targetWindow->GetClientSize() ); - - m_win->SetVirtualSize( m_win->GetClientSize() ); + if( m_win->GetAutoLayout() ) + { + if ( m_targetWindow != m_win ) + m_targetWindow->FitInside(); - AdjustScrollbars(); + m_win->FitInside(); #if wxUSE_CONSTRAINTS - if (m_win->GetAutoLayout()) m_win->Layout(); #endif + } + else + AdjustScrollbars(); } // This calls OnDraw, having adjusted the origin according to the current @@ -1171,6 +1179,17 @@ bool wxGenericScrolledWindow::Layout() return wxPanel::Layout(); } +void wxGenericScrolledWindow::DoSetVirtualSize(int x, int y) +{ + wxPanel::DoSetVirtualSize( x, y ); + AdjustScrollbars(); + +#if wxUSE_CONSTRAINTS + if (GetAutoLayout()) + Layout(); +#endif +} + void wxGenericScrolledWindow::OnPaint(wxPaintEvent& event) { // the user code didn't really draw the window if we got here, so set this diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index c79934a3ea..c5d099a54c 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -21,19 +21,22 @@ #endif #ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/utils.h" + #include "wx/log.h" + + #include "wx/dcscreen.h" + #include "wx/window.h" #include "wx/dialog.h" #include "wx/frame.h" -#endif -#include + #include "wx/settings.h" +#endif -#include "wx/string.h" #include "wx/splitter.h" -#include "wx/dcscreen.h" -#include "wx/settings.h" -#include "wx/log.h" -#include "wx/utils.h" + +#include DEFINE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED) DEFINE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING) @@ -107,8 +110,8 @@ void wxSplitterWindow::Init() m_oldY = 0; m_firstX = 0; m_firstY = 0; - m_sashSize = 7; - m_borderSize = 2; + m_sashSize = 3; + m_borderSize = 0; m_sashPosition = m_requestedSashPosition = 0; m_minimumPaneSize = 0; m_sashCursorWE = wxCursor(wxCURSOR_SIZEWE); @@ -121,9 +124,6 @@ void wxSplitterWindow::Init() m_facePen = (wxPen *) NULL; m_hilightPen = (wxPen *) NULL; - m_borderSize = 0; - m_sashSize = 3; - InitColours(); m_needUpdating = FALSE; @@ -169,7 +169,7 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event) y = (int)event.GetY(); // reset the cursor -#if defined( __WXMOTIF__ ) || defined( __WXMAC__ ) +#if defined( __WXMOTIF__ ) || defined( __WXGTK__ ) || defined( __WXMAC__ ) SetCursor(* wxSTANDARD_CURSOR); #elif defined(__WXMSW__) SetCursor(wxCursor()); @@ -214,6 +214,12 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event) m_dragMode = wxSPLIT_DRAG_NONE; ReleaseMouse(); + // exit if unsplit after doubleclick + if ( !IsSplit() ) + { + return; + } + // Erase old tracker if ( !isLive ) { @@ -537,7 +543,7 @@ void wxSplitterWindow::DrawSash(wxDC& dc) dc.DrawLine(m_sashPosition+1, h-m_borderSize-1, m_sashPosition+m_sashSize-1, h-m_borderSize-1); } } - else + else // wxSPLIT_HORIZONTAL { dc.SetPen(*m_facePen); if (HasFlag( wxSP_SASH_AQUA )) @@ -577,12 +583,12 @@ void wxSplitterWindow::DrawSash(wxDC& dc) } } } - else + else // !wxSP_3DSASH { + dc.SetPen(*wxTRANSPARENT_PEN); + dc.SetBrush(*m_faceBrush); if ( m_splitMode == wxSPLIT_VERTICAL ) { - dc.SetPen(*wxBLACK_PEN); - dc.SetBrush(*wxBLACK_BRUSH); int h1 = h-1; int y1 = 0; if ( (GetWindowStyleFlag() & wxSP_BORDER) != wxSP_BORDER && (GetWindowStyleFlag() & wxSP_3DBORDER) != wxSP_3DBORDER ) @@ -593,10 +599,8 @@ void wxSplitterWindow::DrawSash(wxDC& dc) } dc.DrawRectangle(m_sashPosition, y1, m_sashSize, h1); } - else + else // wxSPLIT_HORIZONTAL { - dc.SetPen(*wxBLACK_PEN); - dc.SetBrush(*wxBLACK_BRUSH); int w1 = w-1; int x1 = 0; if ( (GetWindowStyleFlag() & wxSP_BORDER) != wxSP_BORDER && (GetWindowStyleFlag() & wxSP_3DBORDER) != wxSP_3DBORDER ) @@ -607,7 +611,6 @@ void wxSplitterWindow::DrawSash(wxDC& dc) } dc.DrawRectangle(x1, m_sashPosition, w1, m_sashSize); } - } dc.SetPen(wxNullPen); @@ -754,7 +757,8 @@ void wxSplitterWindow::SizeWindows() DoSetSashPosition(newSashPosition); } - if ( newSashPosition == m_sashPosition ) + if ( newSashPosition <= m_sashPosition + && newSashPosition >= m_sashPosition - GetBorderSize() ) { // don't update it any more m_requestedSashPosition = INT_MAX; @@ -805,7 +809,7 @@ void wxSplitterWindow::SizeWindows() // Set pane for unsplit window void wxSplitterWindow::Initialize(wxWindow *window) { - wxASSERT_MSG( window->GetParent() == this, + wxASSERT_MSG( window && window->GetParent() == this, _T("windows in the splitter should have it as parent!") ); m_windowOne = window; @@ -823,7 +827,10 @@ bool wxSplitterWindow::DoSplit(wxSplitMode mode, if ( IsSplit() ) return FALSE; - wxASSERT_MSG( window1->GetParent() == this && window2->GetParent() == this, + wxCHECK_MSG( window1 && window2, FALSE, + _T("can not split with NULL window(s)") ); + + wxCHECK_MSG( window1->GetParent() == this && window2->GetParent() == this, FALSE, _T("windows in the splitter should have it as parent!") ); m_splitMode = mode; diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index c5128995c8..00588ff0f6 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -29,6 +29,11 @@ #include "wx/dcclient.h" #endif +#ifdef __WXGTK20__ +#include "wx/gtk/private.h" +#include "wx/gtk/win_gtk.h" +#endif + #include "wx/statusbr.h" // we only have to do it here when we use wxStatusBarGeneric in addition to the @@ -44,8 +49,8 @@ BEGIN_EVENT_TABLE(wxStatusBarGeneric, wxWindow) EVT_PAINT(wxStatusBarGeneric::OnPaint) - EVT_SIZE(wxStatusBarGeneric::OnSize) - + EVT_LEFT_DOWN(wxStatusBarGeneric::OnLeftDown) + EVT_RIGHT_DOWN(wxStatusBarGeneric::OnRightDown) EVT_SYS_COLOUR_CHANGED(wxStatusBarGeneric::OnSysColourChanged) END_EVENT_TABLE() @@ -168,28 +173,41 @@ void wxStatusBarGeneric::SetStatusWidths(int n, const int widths_field[]) void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) ) { - wxPaintDC dc(this); + wxPaintDC dc(this); +#ifdef __WXGTK20__ + // Draw grip first + if (HasFlag( wxST_SIZEGRIP )) + { + int width, height; + GetClientSize(&width, &height); + + gtk_paint_resize_grip( m_widget->style, + GTK_PIZZA(m_wxwindow)->bin_window, + (GtkStateType) GTK_WIDGET_STATE (m_widget), + NULL, + m_widget, + "statusbar", + GDK_WINDOW_EDGE_SOUTH_EAST, + width-height-2, 1, height-2, height-3 ); + + } +#endif - int i; - if ( GetFont().Ok() ) - dc.SetFont(GetFont()); + if (GetFont().Ok()) + dc.SetFont(GetFont()); + dc.SetBackgroundMode(wxTRANSPARENT); #ifdef __WXPM__ - wxColour vColor; + wxColour vColor; vColor = wxSystemSettings::GetColour(wxSYS_COLOUR_MENUBAR); ::WinFillRect(dc.m_hPS, &dc.m_vRclPaint, vColor.GetPixel()); #endif - for ( i = 0; i < m_nFields; i ++ ) - DrawField(dc, i); - - // VZ: again, what is this for? -#ifdef __WXMSW__ - dc.SetFont(wxNullFont); -#endif // MSW + for (int i = 0; i < m_nFields; i ++) + DrawField(dc, i); } void wxStatusBarGeneric::DrawFieldText(wxDC& dc, int i) @@ -222,8 +240,8 @@ void wxStatusBarGeneric::DrawFieldText(wxDC& dc, int i) void wxStatusBarGeneric::DrawField(wxDC& dc, int i) { - wxRect rect; - GetFieldRect(i, rect); + wxRect rect; + GetFieldRect(i, rect); // Draw border // Have grey background, plus 3-d border - @@ -280,12 +298,15 @@ bool wxStatusBarGeneric::GetFieldRect(int n, wxRect& rect) const GetClientSize(&width, &height); #endif - // we cache m_widthsAbs between calls normally but it's cleared when the - // status widths change so recompute it if needed - if ( m_widthsAbs.IsEmpty() ) + // we cache m_widthsAbs between calls and recompute it if client + // width has changed (or when it is initially empty) + if ( m_widthsAbs.IsEmpty() || (m_lastClientWidth != width) ) { wxConstCast(this, wxStatusBarGeneric)-> m_widthsAbs = CalculateAbsWidths(width); + // remember last width for which we have recomputed the widths in pixels + wxConstCast(this, wxStatusBarGeneric)-> + m_lastClientWidth = width; } rect.x = 0; @@ -351,7 +372,7 @@ void wxStatusBarGeneric::SetMinHeight(int height) // current font wxClientDC dc(this); wxCoord y; - dc.GetTextExtent( _T("X"), NULL, &y ); + dc.GetTextExtent( wxT("X"), NULL, &y ); if ( height > (11*y)/10 ) { @@ -359,12 +380,73 @@ void wxStatusBarGeneric::SetMinHeight(int height) } } -void wxStatusBarGeneric::OnSize(wxSizeEvent& event) +void wxStatusBarGeneric::OnLeftDown(wxMouseEvent& event) { - // have to recompute the widths in pixels - m_widthsAbs.Empty(); +#ifdef __WXGTK20__ + int width, height; + GetClientSize(&width, &height); + + if (HasFlag( wxST_SIZEGRIP ) && (event.GetX() > width-height)) + { + GtkWidget *ancestor = gtk_widget_get_toplevel( m_widget ); + + if (!GTK_IS_WINDOW (ancestor)) + return; - event.Skip(); + GdkWindow *source = GTK_PIZZA(m_wxwindow)->bin_window; + + int org_x = 0; + int org_y = 0; + gdk_window_get_origin( source, &org_x, &org_y ); + + gtk_window_begin_resize_drag (GTK_WINDOW (ancestor), + GDK_WINDOW_EDGE_SOUTH_EAST, + 1, + org_x + event.GetX(), + org_y + event.GetY(), + 0); + } + else + { + event.Skip( TRUE ); + } +#else + event.Skip( TRUE ); +#endif +} + +void wxStatusBarGeneric::OnRightDown(wxMouseEvent& event) +{ +#ifdef __WXGTK20__ + int width, height; + GetClientSize(&width, &height); + + if (HasFlag( wxST_SIZEGRIP ) && (event.GetX() > width-height)) + { + GtkWidget *ancestor = gtk_widget_get_toplevel( m_widget ); + + if (!GTK_IS_WINDOW (ancestor)) + return; + + GdkWindow *source = GTK_PIZZA(m_wxwindow)->bin_window; + + int org_x = 0; + int org_y = 0; + gdk_window_get_origin( source, &org_x, &org_y ); + + gtk_window_begin_move_drag (GTK_WINDOW (ancestor), + 2, + org_x + event.GetX(), + org_y + event.GetY(), + 0); + } + else + { + event.Skip( TRUE ); + } +#else + event.Skip( TRUE ); +#endif } #endif // wxUSE_STATUSBAR diff --git a/src/generic/tbarsmpl.cpp b/src/generic/tbarsmpl.cpp index 522736e77f..b7e16e0d4d 100644 --- a/src/generic/tbarsmpl.cpp +++ b/src/generic/tbarsmpl.cpp @@ -356,13 +356,15 @@ bool wxToolBarSimple::Realize() } if ( GetWindowStyleFlag() & wxTB_HORIZONTAL ) - m_maxWidth += maxToolWidth; - else m_maxHeight += maxToolHeight; + else + m_maxWidth += maxToolWidth; m_maxWidth += m_xMargin; m_maxHeight += m_yMargin; + SetSize(m_maxWidth, m_maxHeight); + return TRUE; } diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index c46854c9e9..259a0ebe0e 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -90,7 +90,7 @@ void wxTimerScheduler::QueueTimer(wxTimerDesc *desc, unsigned long when) desc->shotTime = when; desc->running = TRUE; - wxLogTrace("timer", "queued timer %p at tick %ld", + wxLogTrace( wxT("timer"), wxT("queued timer %p at tick %ld"), desc->timer, (long) when); if ( m_timers ) @@ -143,7 +143,7 @@ void wxTimerScheduler::NotifyTimers() if ( !timerDeleted ) { - wxLogTrace("timer", "notified timer %p sheduled for %ld", + wxLogTrace( wxT("timer"), wxT("notified timer %p sheduled for %ld"), desc->timer, (long) desc->shotTime); desc->deleteFlag = NULL; @@ -172,7 +172,7 @@ void wxTimer::Init() wxTimer::~wxTimer() { - wxLogTrace("timer", "destroying timer %p...", this); + wxLogTrace( wxT("timer"), wxT("destroying timer %p..."), this); if ( IsRunning() ) Stop(); @@ -184,7 +184,7 @@ wxTimer::~wxTimer() *m_desc->deleteFlag = TRUE; delete m_desc; - wxLogTrace("timer", " ...done destroying timer %p...", this); + wxLogTrace( wxT("timer"), wxT(" ...done destroying timer %p..."), this); } bool wxTimer::IsRunning() const @@ -194,7 +194,7 @@ bool wxTimer::IsRunning() const bool wxTimer::Start(int millisecs, bool oneShot) { - wxLogTrace("timer", "started timer %p: %i ms, oneshot=%i", + wxLogTrace( wxT("timer"), wxT("started timer %p: %i ms, oneshot=%i"), this, millisecs, oneShot); if ( !wxTimerBase::Start(millisecs, oneShot) ) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 3fb31eb750..10b2517c13 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -762,11 +762,13 @@ void wxGenericTreeCtrl::Init() m_lastOnSame = FALSE; m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT ); - m_boldFont = wxFont( m_normalFont.GetPointSize(), - m_normalFont.GetFamily(), - m_normalFont.GetStyle(), - wxBOLD, - m_normalFont.GetUnderlined()); + m_boldFont = wxFont(m_normalFont.GetPointSize(), + m_normalFont.GetFamily(), + m_normalFont.GetStyle(), + wxBOLD, + m_normalFont.GetUnderlined(), + m_normalFont.GetFaceName(), + m_normalFont.GetEncoding()); } bool wxGenericTreeCtrl::Create(wxWindow *parent, @@ -919,6 +921,30 @@ wxTreeItemData *wxGenericTreeCtrl::GetItemData(const wxTreeItemId& item) const return ((wxGenericTreeItem*) item.m_pItem)->GetData(); } +wxColour wxGenericTreeCtrl::GetItemTextColour(const wxTreeItemId& item) const +{ + wxCHECK_MSG( item.IsOk(), wxNullColour, wxT("invalid tree item") ); + + wxGenericTreeItem *pItem = (wxGenericTreeItem*) item.m_pItem; + return pItem->Attr().GetTextColour(); +} + +wxColour wxGenericTreeCtrl::GetItemBackgroundColour(const wxTreeItemId& item) const +{ + wxCHECK_MSG( item.IsOk(), wxNullColour, wxT("invalid tree item") ); + + wxGenericTreeItem *pItem = (wxGenericTreeItem*) item.m_pItem; + return pItem->Attr().GetBackgroundColour(); +} + +wxFont wxGenericTreeCtrl::GetItemFont(const wxTreeItemId& item) const +{ + wxCHECK_MSG( item.IsOk(), wxNullFont, wxT("invalid tree item") ); + + wxGenericTreeItem *pItem = (wxGenericTreeItem*) item.m_pItem; + return pItem->Attr().GetFont(); +} + void wxGenericTreeCtrl::SetItemText(const wxTreeItemId& item, const wxString& text) { wxCHECK_RET( item.IsOk(), wxT("invalid tree item") ); @@ -1007,11 +1033,13 @@ bool wxGenericTreeCtrl::SetFont( const wxFont &font ) wxScrolledWindow::SetFont(font); m_normalFont = font ; - m_boldFont = wxFont( m_normalFont.GetPointSize(), - m_normalFont.GetFamily(), - m_normalFont.GetStyle(), - wxBOLD, - m_normalFont.GetUnderlined()); + m_boldFont = wxFont(m_normalFont.GetPointSize(), + m_normalFont.GetFamily(), + m_normalFont.GetStyle(), + wxBOLD, + m_normalFont.GetUnderlined(), + m_normalFont.GetFaceName(), + m_normalFont.GetEncoding()); return TRUE; } diff --git a/src/generic/treelay.cpp b/src/generic/treelay.cpp index 701a0f14b7..43aae86378 100644 --- a/src/generic/treelay.cpp +++ b/src/generic/treelay.cpp @@ -270,7 +270,7 @@ void wxTreeLayoutStored::Initialize(int n) int i; for (i = 0; i < n; i++) { - m_nodes[i].m_name = ""; + m_nodes[i].m_name = wxT(""); m_nodes[i].m_active = FALSE; m_nodes[i].m_parentId = -1; m_nodes[i].m_x = 0; @@ -464,7 +464,7 @@ wxString wxTreeLayoutStored::HitTest(wxMouseEvent& event, wxDC& dc) } } - return wxString(""); + return wxString( wxT("") ); } #endif diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 0b99d25e0c..c438b292c5 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -348,7 +348,7 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward) m_page->Hide(); - btnLabelWasNext = m_page->GetNext() != (wxWizardPage *)NULL; + btnLabelWasNext = HasNextPage(m_page); // Get the bitmap of the previous page (if it exists) if ( m_page->GetBitmap().Ok() ) @@ -395,9 +395,9 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward) } // and update the buttons state - m_btnPrev->Enable(m_page->GetPrev() != (wxWizardPage *)NULL); + m_btnPrev->Enable(HasPrevPage(m_page)); - bool hasNext = m_page->GetNext() != (wxWizardPage *)NULL; + bool hasNext = HasNextPage(m_page); if ( btnLabelWasNext != hasNext ) { // need to update diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 20d8961d6c..eccbb52d0a 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -26,6 +26,7 @@ #include "wx/dialog.h" #include "wx/msgdlg.h" #include "wx/file.h" +#include "wx/filename.h" #if wxUSE_WX_RESOURCES #include "wx/resource.h" @@ -44,13 +45,32 @@ #endif #include -#if defined(__DARWIN__) -# warning "FIXME: select must be used instead of poll (GD)" -#elif defined(__VMS) -# include -#else -# include -#endif + +#ifdef HAVE_POLL + #if defined(__VMS) + #include + #else + // bug in the OpenBSD headers: at least in 3.1 there is no extern "C" + // in neither poll.h nor sys/poll.h which results in link errors later + #ifdef __OPENBSD__ + extern "C" + { + #endif + + #include + + #ifdef __OPENBSD__ + }; + #endif + #endif // platform +#else // !HAVE_POLL + // we implement poll() ourselves using select() which is supposed exist in + // all modern Unices + #include + #include + #include +#endif // HAVE_POLL/!HAVE_POLL + #include "wx/gtk/win_gtk.h" #include @@ -250,22 +270,82 @@ static gint wxapp_idle_callback( gpointer WXUNUSED(data) ) #if wxUSE_THREADS +#ifdef HAVE_POLL + #define wxPoll poll + #define wxPollFd pollfd +#else // !HAVE_POLL + +typedef GPollFD wxPollFd; + +int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout) +{ + // convert timeout from ms to struct timeval (s/us) + timeval tv_timeout; + tv_timeout.tv_sec = timeout/1000; + tv_timeout.tv_usec = (timeout%1000)*1000; + + // remember the highest fd used here + int fdMax = -1; + + // and fill the sets for select() + fd_set readfds; + fd_set writefds; + fd_set exceptfds; + FD_ZERO(&readfds); + FD_ZERO(&writefds); + FD_ZERO(&exceptfds); + + unsigned int i; + for ( i = 0; i < nfds; i++ ) + { + wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") ); + + if ( ufds[i].events & G_IO_IN ) + FD_SET(ufds[i].fd, &readfds); + + if ( ufds[i].events & G_IO_PRI ) + FD_SET(ufds[i].fd, &exceptfds); + + if ( ufds[i].events & G_IO_OUT ) + FD_SET(ufds[i].fd, &writefds); + + if ( ufds[i].fd > fdMax ) + fdMax = ufds[i].fd; + } + + fdMax++; + int res = select(fdMax, &readfds, &writefds, &exceptfds, &tv_timeout); + + // translate the results back + for ( i = 0; i < nfds; i++ ) + { + ufds[i].revents = 0; + + if ( FD_ISSET(ufds[i].fd, &readfds ) ) + ufds[i].revents |= G_IO_IN; + + if ( FD_ISSET(ufds[i].fd, &exceptfds ) ) + ufds[i].revents |= G_IO_PRI; + + if ( FD_ISSET(ufds[i].fd, &writefds ) ) + ufds[i].revents |= G_IO_OUT; + } + + return res; +} + +#endif // HAVE_POLL/!HAVE_POLL + static gint wxapp_poll_func( GPollFD *ufds, guint nfds, gint timeout ) { - gint res; gdk_threads_enter(); wxMutexGuiLeave(); g_mainThreadLocked = TRUE; -#ifdef __DARWIN__ - // FIXME: poll is not available under Darwin/Mac OS X and this needs - // to be implemented using select instead (GD) - // what about other BSD derived systems? - res = -1; -#else - res = poll( (struct pollfd*) ufds, nfds, timeout ); -#endif + // we rely on the fact that glib GPollFD struct is really just pollfd but + // I wonder how wise is this in the long term (VZ) + gint res = wxPoll( (wxPollFd *) ufds, nfds, timeout ); wxMutexGuiEnter(); g_mainThreadLocked = FALSE; @@ -463,6 +543,16 @@ GdkVisual *wxApp::GetGdkVisual() bool wxApp::ProcessIdle() { + wxWindowList::Node* node = wxTopLevelWindows.GetFirst(); + node = wxTopLevelWindows.GetFirst(); + while (node) + { + wxWindow* win = node->GetData(); + CallInternalIdle( win ); + + node = node->GetNext(); + } + wxIdleEvent event; event.SetEventObject( this ); ProcessEvent( event ); @@ -510,14 +600,6 @@ bool wxApp::SendIdleEvents() node = node->GetNext(); } - node = wxTopLevelWindows.GetFirst(); - while (node) - { - wxWindow* win = node->GetData(); - CallInternalIdle( win ); - - node = node->GetNext(); - } return needMore; } @@ -545,7 +627,7 @@ bool wxApp::SendIdleEvents( wxWindow* win ) event.SetEventObject(win); win->GetEventHandler()->ProcessEvent(event); - + if (event.MoreRequested()) needMore = TRUE; @@ -609,10 +691,6 @@ bool wxApp::Initialize() { wxClassInfo::InitializeClasses(); -#if wxUSE_INTL - wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); -#endif - // GL: I'm annoyed ... I don't know where to put this and I don't want to // create a module for that as it's part of the core. #if wxUSE_THREADS @@ -631,7 +709,12 @@ bool wxApp::Initialize() #endif wxModule::RegisterModules(); - if (!wxModule::InitializeModules()) return FALSE; + if (!wxModule::InitializeModules()) + return FALSE; + +#if wxUSE_INTL + wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); +#endif return TRUE; } @@ -810,9 +893,11 @@ int wxEntry( int argc, char *argv[] ) wxTheApp->argv = argv; #endif - wxString name(wxFileNameFromPath(argv[0])); - wxStripExtension( name ); - wxTheApp->SetAppName( name ); + if (wxTheApp->argc > 0) + { + wxFileName fname( wxTheApp->argv[0] ); + wxTheApp->SetAppName( fname.GetName() ); + } int retValue; retValue = wxEntryInitGui(); diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index 033071565e..d2e9fda7f0 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -344,7 +344,7 @@ bool wxBitmap::CreateFromImage( const wxImage& image, int depth ) m_refData = new wxBitmapRefData(); // ------ - // convertion to mono bitmap: + // conversion to mono bitmap: // ------ if (depth == 1) { @@ -440,7 +440,7 @@ bool wxBitmap::CreateFromImage( const wxImage& image, int depth ) } // ------ - // convertion to colour bitmap: + // conversion to colour bitmap: // ------ else { diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index 711b64f16c..fae04c1372 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -188,6 +188,15 @@ bool wxButton::Enable( bool enable ) return TRUE; } +bool wxButton::IsOwnGtkWindow( GdkWindow *window ) +{ +#ifdef __WXGTK20__ + return GTK_BUTTON(m_widget)->event_window; +#else + return (window == m_widget->window); +#endif +} + void wxButton::ApplyWidgetStyle() { SetWidgetStyle(); diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index 84c790a329..21d852e55d 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -13,6 +13,7 @@ #endif #include "wx/gdicmn.h" +#include "wx/gtk/private.h" #include #include @@ -167,7 +168,7 @@ void wxColour::InitFromName( const wxString &colourName ) { m_refData = new wxColourRefData(); - if (!gdk_color_parse( colourName.mb_str(), &M_COLDATA->m_color )) + if (!gdk_color_parse( wxGTK_CONV( colourName ), &M_COLDATA->m_color )) { // VZ: asserts are good in general but this one is triggered by // calling wxColourDatabase::FindColour() with an @@ -217,11 +218,13 @@ void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue ) { AllocExclusive(); - m_refData = new wxColourRefData(); M_COLDATA->m_color.red = ((unsigned short)red) << SHIFT; M_COLDATA->m_color.green = ((unsigned short)green) << SHIFT; M_COLDATA->m_color.blue = ((unsigned short)blue) << SHIFT; M_COLDATA->m_color.pixel = 0; + + M_COLDATA->m_colormap = (GdkColormap*) NULL; + M_COLDATA->m_hasPixel = FALSE; } unsigned char wxColour::Red() const diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index a03df573b1..ee0cc2e8d5 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -209,6 +209,17 @@ wxComboBox::~wxComboBox() m_clientDataList.Clear(); } +void wxComboBox::SetFocus() +{ + if ( m_hasFocus ) + { + // don't do anything if we already have focus + return; + } + + gtk_widget_grab_focus( m_focusWidget ); +} + void wxComboBox::AppendCommon( const wxString &item ) { wxCHECK_RET( m_widget != NULL, wxT("invalid combobox") ); @@ -364,8 +375,14 @@ int wxComboBox::FindString( const wxString &item ) { GtkBin *bin = GTK_BIN( child->data ); GtkLabel *label = GTK_LABEL( bin->child ); - if (item == wxString(label->label,*wxConvCurrent)) +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + if (item == str) return count; + count++; child = child->next; } @@ -408,7 +425,7 @@ wxString wxComboBox::GetString( int n ) const GtkBin *bin = GTK_BIN( child->data ); GtkLabel *label = GTK_LABEL( bin->child ); #ifdef __WXGTK20__ - str = wxGTK_CONV_BACK( gtk_label_get_text( label) ); + str = wxGTK_CONV_BACK( gtk_label_get_text(label) ); #else str = wxString( label->label ); #endif @@ -431,7 +448,12 @@ wxString wxComboBox::GetStringSelection() const if (selection) { GtkBin *bin = GTK_BIN( selection->data ); - wxString tmp = wxString(GTK_LABEL( bin->child )->label,*wxConvCurrent); + GtkLabel *label = GTK_LABEL( bin->child ); +#ifdef __WXGTK20__ + wxString tmp( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString tmp( label->label ); +#endif return tmp; } diff --git a/src/gtk/dataobj.cpp b/src/gtk/dataobj.cpp index ca8fb4dbd6..2b0f4f43ae 100644 --- a/src/gtk/dataobj.cpp +++ b/src/gtk/dataobj.cpp @@ -158,6 +158,11 @@ wxDataObject::wxDataObject() { } +wxDataObject::~wxDataObject() +{ + // dtor is empty but needed for Darwin and AIX -- otherwise it doesn't link +} + bool wxDataObject::IsSupportedFormat(const wxDataFormat& format, Direction dir) const { size_t nFormatCount = GetFormatCount(dir); diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 8a33377614..d36b26b870 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -330,12 +330,7 @@ wxWindowDC::wxWindowDC( wxWindow *window ) wxASSERT_MSG( widget, wxT("DC needs a widget") ); #ifdef __WXGTK20__ - m_context = gtk_widget_get_pango_context( widget ); - - // Always take Xft context to get matching fonts - // for display and printing. - // m_context = pango_xft_get_context (GDK_DISPLAY (), DefaultScreen (GDK_DISPLAY ())); - + m_context = window->GtkGetPangoDefaultContext(); m_fontdesc = widget->style->font_desc; #endif @@ -1414,19 +1409,23 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) wxCHECK_RET( Ok(), wxT("invalid window dc") ); if (!m_window) return; + + if (text.empty()) return; +#ifndef __WXGTK20__ GdkFont *font = m_font.GetInternalFont( m_scaleY ); wxCHECK_RET( font, wxT("invalid font") ); +#endif -#if defined(__WXGTK20__) +#ifdef __WXGTK20__ wxCHECK_RET( m_context, wxT("no Pango context") ); #endif x = XLOG2DEV(x); y = YLOG2DEV(y); -#if defined(__WXGTK20__) +#ifdef __WXGTK20__ // TODO: the layout engine should be abstracted at a higher level! PangoLayout *layout = pango_layout_new(m_context); pango_layout_set_font_description(layout, m_fontdesc); @@ -1440,12 +1439,17 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); #endif } - PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; - PangoRectangle rect; - pango_layout_line_get_extents(line, NULL, &rect); - wxCoord width = rect.width; - wxCoord height = rect.height; + + // Measure layout. + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + wxCoord width = w; + wxCoord height = h; + + // Draw layout. gdk_draw_layout( m_window, m_textGC, x, y, layout ); + + g_object_unref( G_OBJECT( layout ) ); #else // GTK+ 1.x wxCoord width = gdk_string_width( font, text.mbc_str() ); wxCoord height = font->ascent + font->descent; @@ -1469,9 +1473,6 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) } #endif // GTK+ 2.0/1.x -#if defined(__WXGTK20__) - g_object_unref( G_OBJECT( layout ) ); -#endif width = wxCoord(width / m_scaleX); height = wxCoord(height / m_scaleY); @@ -1596,8 +1597,6 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, wxCoord *descent, wxCoord *externalLeading, wxFont *theFont) const { - wxFont fontToUse = m_font; - if (theFont) fontToUse = *theFont; if (string.IsEmpty()) { if (width) (*width) = 0; @@ -1606,9 +1605,14 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, } #ifdef __WXGTK20__ - PangoFontDescription *desc = fontToUse.GetNativeFontInfo()->description; + // Create layout and set font description PangoLayout *layout = pango_layout_new(m_context); - pango_layout_set_font_description(layout, desc); + if (theFont) + pango_layout_set_font_description( layout, theFont->GetNativeFontInfo()->description ); + else + pango_layout_set_font_description(layout, m_fontdesc); + + // Set layout's text #if wxUSE_UNICODE const wxCharBuffer data = wxConvUTF8.cWC2MB( string ); pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); @@ -1617,23 +1621,25 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, const wxCharBuffer data = wxConvUTF8.cWC2MB( wdata ); pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); #endif - PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; - PangoRectangle rect; - pango_layout_line_get_extents(line, NULL, &rect); - + // Measure text. + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); - if (width) (*width) = (wxCoord) (rect.width / PANGO_SCALE); - if (height) (*height) = (wxCoord) (rect.height / PANGO_SCALE); + if (width) (*width) = (wxCoord) w; + if (height) (*height) = (wxCoord) h; if (descent) { - // Do something about metrics here + // Do something about metrics here. TODO. (*descent) = 0; } if (externalLeading) (*externalLeading) = 0; // ?? g_object_unref( G_OBJECT( layout ) ); #else + wxFont fontToUse = m_font; + if (theFont) fontToUse = *theFont; + GdkFont *font = fontToUse.GetInternalFont( m_scaleY ); if (width) (*width) = wxCoord(gdk_string_width( font, string.mbc_str() ) / m_scaleX); if (height) (*height) = wxCoord((font->ascent + font->descent) / m_scaleY); @@ -1644,18 +1650,40 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, wxCoord wxWindowDC::GetCharWidth() const { +#ifdef __WXGTK20__ + // There should be an easier way. + PangoLayout *layout = pango_layout_new(m_context); + pango_layout_set_font_description(layout, m_fontdesc); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + return w; +#else GdkFont *font = m_font.GetInternalFont( m_scaleY ); wxCHECK_MSG( font, -1, wxT("invalid font") ); return wxCoord(gdk_string_width( font, "H" ) / m_scaleX); +#endif } wxCoord wxWindowDC::GetCharHeight() const { +#ifdef __WXGTK20__ + // There should be an easier way. + PangoLayout *layout = pango_layout_new(m_context); + pango_layout_set_font_description(layout, m_fontdesc); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + return h; +#else GdkFont *font = m_font.GetInternalFont( m_scaleY ); wxCHECK_MSG( font, -1, wxT("invalid font") ); return wxCoord((font->ascent + font->descent) / m_scaleY); +#endif } void wxWindowDC::Clear() @@ -1705,6 +1733,14 @@ void wxWindowDC::SetFont( const wxFont &font ) m_font = font; #ifdef __WXGTK20__ m_fontdesc = m_font.GetNativeFontInfo()->description; + + if (m_owner) + { + if (m_font.GetNoAntiAliasing()) + m_context = m_owner->GtkGetPangoX11Context(); + else + m_context = m_owner->GtkGetPangoDefaultContext(); + } #endif } @@ -1816,7 +1852,7 @@ void wxWindowDC::SetPen( const wxPen &pen ) gdk_gc_set_dashes( m_penGC, 0, (wxGTKDash*)req_dash, req_nb_dash ); } } -#endif +#endif // GTK+ > 1.0 GdkCapStyle capStyle = GDK_CAP_ROUND; switch (m_pen.GetCap()) @@ -1955,12 +1991,12 @@ void wxWindowDC::SetLogicalFunction( int function ) if (!m_window) return; - GdkFunction mode = GDK_COPY; + GdkFunction mode; switch (function) { case wxXOR: mode = GDK_XOR; break; case wxINVERT: mode = GDK_INVERT; break; -#if (GTK_MINOR_VERSION > 0) +#if (GTK_MINOR_VERSION > 0) || (GTK_MAJOR_VERSION > 1) case wxOR_REVERSE: mode = GDK_OR_REVERSE; break; case wxAND_REVERSE: mode = GDK_AND_REVERSE; break; case wxCLEAR: mode = GDK_CLEAR; break; @@ -1977,12 +2013,10 @@ void wxWindowDC::SetLogicalFunction( int function ) // unsupported by GTK case wxNOR: mode = GDK_COPY; break; -#endif +#endif // GTK+ > 1.0 default: - { wxFAIL_MSG( wxT("unsupported logical function") ); - break; - } + mode = GDK_COPY; } m_logicalFunction = function; diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 68a991a371..4c95d23682 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -30,8 +30,6 @@ extern void wxapp_install_idle_handler(); extern bool g_isIdle; extern int g_openDialogs; - - //----------------------------------------------------------------------------- // wxDialog //----------------------------------------------------------------------------- @@ -209,9 +207,11 @@ int wxDialog::ShowModal() } wxBusyCursorSuspender cs; // temporarily suppress the busy cursor - + Show( TRUE ); + SetFocus(); + m_modalShowing = TRUE; g_openDialogs++; diff --git a/src/gtk/files.lst b/src/gtk/files.lst index 68e2a7dacd..0f77d8693d 100644 --- a/src/gtk/files.lst +++ b/src/gtk/files.lst @@ -265,7 +265,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -636,7 +635,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -984,7 +982,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 31345187cb..2fd0ad6f5f 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -93,6 +93,9 @@ public: void SetFaceName(const wxString& facename); void SetEncoding(wxFontEncoding encoding); + void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; } + bool GetNoAntiAliasing() { return m_noAA; } + // and this one also modifies all the other font data fields void SetNativeFontInfo(const wxNativeFontInfo& info); @@ -130,17 +133,14 @@ protected: void InitFromNative(); private: -#ifdef __WXGTK20__ - void ClearGdkFonts() { } -#else // GTK 1.x - // clear m_scaled_xfonts + // clear m_scaled_xfonts if any void ClearGdkFonts(); +#ifndef __WXGTK20__ // the map of font sizes to "GdkFont *" wxScaledFontList m_scaled_xfonts; #endif // GTK 2.0/1.x - // the broken down font parameters int m_pointSize; int m_family, m_style, @@ -148,6 +148,7 @@ private: bool m_underlined; wxString m_faceName; wxFontEncoding m_encoding; // Unused under GTK 2.0 + bool m_noAA; // No anti-aliasing // The native font info, basicly an XFLD under GTK 1.2 and // the pango font description under GTK 2.0. @@ -156,12 +157,8 @@ private: friend class wxFont; }; -// ============================================================================ -// wxFontRefData implementation -// ============================================================================ - // ---------------------------------------------------------------------------- -// wxFontRefData creation +// wxFontRefData // ---------------------------------------------------------------------------- void wxFontRefData::Init(int pointSize, @@ -188,25 +185,37 @@ void wxFontRefData::Init(int pointSize, m_underlined = underlined; m_encoding = encoding; + + m_noAA = FALSE; #ifdef __WXGTK20__ // Create native font info m_nativeFontInfo.description = pango_font_description_new(); // And set its values - switch (m_family) - { - case wxFONTFAMILY_MODERN: - case wxFONTFAMILY_TELETYPE: - pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); - break; - case wxFONTFAMILY_SWISS: - pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); - break; - default: - pango_font_description_set_family( m_nativeFontInfo.description, "sans" ); - break; + if (!m_faceName.empty()) + { + pango_font_description_set_family( m_nativeFontInfo.description, wxGTK_CONV(m_faceName) ); + } + else + { + switch (m_family) + { + case wxFONTFAMILY_MODERN: + case wxFONTFAMILY_TELETYPE: + pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); + break; + case wxFONTFAMILY_ROMAN: + pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); + break; + case wxFONTFAMILY_SWISS: + // SWISS = sans serif + default: + pango_font_description_set_family( m_nativeFontInfo.description, "sans" ); + break; + } } + SetStyle( m_style ); SetPointSize( m_pointSize ); SetWeight( m_weight ); @@ -215,6 +224,8 @@ void wxFontRefData::Init(int pointSize, void wxFontRefData::InitFromNative() { + m_noAA = FALSE; + #ifdef __WXGTK20__ // Get native info PangoFontDescription *desc = m_nativeFontInfo.description; @@ -267,6 +278,10 @@ void wxFontRefData::InitFromNative() { m_family = wxFONTFAMILY_SWISS; } + else if (m_faceName == wxT("serif")) + { + m_family = wxFONTFAMILY_ROMAN; + } else { m_family = wxFONTFAMILY_UNKNOWN; @@ -391,6 +406,8 @@ wxFontRefData::wxFontRefData( const wxFontRefData& data ) m_faceName = data.m_faceName; m_encoding = data.m_encoding; + m_noAA = data.m_noAA; + m_nativeFontInfo = data.m_nativeFontInfo; } @@ -414,9 +431,9 @@ wxFontRefData::wxFontRefData(const wxString& fontname) InitFromNative(); } -#ifndef __WXGTK20__ void wxFontRefData::ClearGdkFonts() { +#ifndef __WXGTK20__ for ( wxScaledFontList::iterator i = m_scaled_xfonts.begin(); i != m_scaled_xfonts.end(); ++i ) @@ -426,8 +443,8 @@ void wxFontRefData::ClearGdkFonts() } m_scaled_xfonts.clear(); -} #endif // GTK 1.x +} wxFontRefData::~wxFontRefData() { @@ -522,7 +539,27 @@ void wxFontRefData::SetWeight(int weight) { m_weight = weight; -#ifndef __WXGTK20__ +#ifdef __WXGTK20__ + PangoFontDescription *desc = m_nativeFontInfo.description; + switch ( weight ) + { + case wxFONTWEIGHT_BOLD: + pango_font_description_set_weight(desc, PANGO_WEIGHT_BOLD); + break; + + case wxFONTWEIGHT_LIGHT: + pango_font_description_set_weight(desc, PANGO_WEIGHT_LIGHT); + break; + + default: + wxFAIL_MSG( _T("unknown font weight") ); + // fall through + + case wxFONTWEIGHT_NORMAL: + // unspecified + pango_font_description_set_weight(desc, PANGO_WEIGHT_NORMAL); + } +#else //!__WXGTK20__ if ( HasNativeFont() ) { wxString boldness; @@ -597,10 +634,6 @@ void wxFontRefData::SetNativeFontInfo(const wxNativeFontInfo& info) InitFromNative(); } -// ============================================================================ -// wxFont implementation -// ============================================================================ - // ---------------------------------------------------------------------------- // wxFont creation // ---------------------------------------------------------------------------- @@ -624,7 +657,7 @@ wxFont::wxFont(const wxNativeFontInfo& info) info.GetFaceName(), info.GetEncoding() ); #else - Create(info.GetXFontName()); + (void) Create(info.GetXFontName()); #endif } @@ -636,6 +669,8 @@ bool wxFont::Create( int pointSize, const wxString& face, wxFontEncoding encoding) { + UnRef(); + m_refData = new wxFontRefData(pointSize, family, style, weight, underlined, face, encoding); @@ -679,9 +714,6 @@ wxFont::~wxFont() // accessors // ---------------------------------------------------------------------------- -// all accessors are just forwarded to wxFontRefData which has everything we -// need - int wxFont::GetPointSize() const { wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); @@ -731,6 +763,13 @@ wxFontEncoding wxFont::GetEncoding() const return M_FONTDATA->m_encoding; } +bool wxFont::GetNoAntiAliasing() +{ + wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") ); + + return M_FONTDATA->m_noAA; +} + wxNativeFontInfo *wxFont::GetNativeFontInfo() const { wxCHECK_MSG( Ok(), (wxNativeFontInfo *)NULL, wxT("invalid font") ); @@ -814,11 +853,18 @@ void wxFont::SetEncoding(wxFontEncoding encoding) M_FONTDATA->SetEncoding(encoding); } -void wxFont::SetNativeFontInfo(const wxNativeFontInfo& info) +void wxFont::SetNativeFontInfo( const wxNativeFontInfo& info ) +{ + Unshare(); + + M_FONTDATA->SetNativeFontInfo( info ); +} + +void wxFont::SetNoAntiAliasing( bool no ) { Unshare(); - M_FONTDATA->SetNativeFontInfo(info); + M_FONTDATA->SetNoAntiAliasing( no ); } // ---------------------------------------------------------------------------- diff --git a/src/gtk/fontdlg.cpp b/src/gtk/fontdlg.cpp index 4582a5c002..3dfb008131 100644 --- a/src/gtk/fontdlg.cpp +++ b/src/gtk/fontdlg.cpp @@ -77,7 +77,7 @@ void gtk_fontdialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFontDialog *dial // printf( "font %s\n", fontname ); - dialog->SetChosenFont(fontname); + dialog->SetChosenFont( fontname); g_free( fontname ); @@ -181,7 +181,7 @@ wxFontDialog::~wxFontDialog() void wxFontDialog::SetChosenFont(const char *fontname) { - m_fontData.SetChosenFont(wxFont(fontname)); + m_fontData.SetChosenFont(wxFont( wxString::FromAscii(fontname) )); } #endif // wxUSE_FONTDLG diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index acad4c3355..7e1ed2b2ba 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -45,7 +45,6 @@ // constants // ---------------------------------------------------------------------------- -const int wxMENU_HEIGHT = 27; const int wxSTATUS_HEIGHT = 25; const int wxPLACE_HOLDER = 0; @@ -165,7 +164,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_y, child->m_width, child->m_height ); - + #if wxUSE_TOOLBAR_NATIVE // We connect to these events for recalculating the client area // space when the toolbar is floating @@ -193,7 +192,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_width, child->m_height ); } - + // Resize on OnInternalIdle parent->GtkUpdateSize(); } @@ -206,6 +205,7 @@ void wxFrame::Init() { m_menuBarDetached = FALSE; m_toolBarDetached = FALSE; + m_menuBarHeight = 2; } bool wxFrame::Create( wxWindow *parent, @@ -219,6 +219,7 @@ bool wxFrame::Create( wxWindow *parent, bool rt = wxTopLevelWindow::Create(parent, id, title, pos, sizeOrig, style, name); m_insertCallback = (wxInsertChildFunction) wxInsertChildInFrame; + return rt; } @@ -245,7 +246,7 @@ void wxFrame::DoGetClientSize( int *width, int *height ) const if (m_frameMenuBar) { if (!m_menuBarDetached) - (*height) -= wxMENU_HEIGHT; + (*height) -= m_menuBarHeight; else (*height) -= wxPLACE_HOLDER; } @@ -292,7 +293,7 @@ void wxFrame::DoSetClientSize( int width, int height ) if (m_frameMenuBar) { if (!m_menuBarDetached) - height += wxMENU_HEIGHT; + height += m_menuBarHeight; else height += wxPLACE_HOLDER; } @@ -396,7 +397,7 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int xx = m_miniEdge; int yy = m_miniEdge + m_miniTitle; int ww = m_width - 2*m_miniEdge; - int hh = wxMENU_HEIGHT; + int hh = m_menuBarHeight; if (m_menuBarDetached) hh = wxPLACE_HOLDER; m_frameMenuBar->m_x = xx; m_frameMenuBar->m_y = yy; @@ -419,7 +420,7 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), if (m_frameMenuBar) { if (!m_menuBarDetached) - yy += wxMENU_HEIGHT; + yy += m_menuBarHeight; else yy += wxPLACE_HOLDER; } @@ -576,11 +577,34 @@ void wxFrame::AttachMenuBar( wxMenuBar *menuBar ) gtk_signal_connect( GTK_OBJECT(menuBar->m_widget), "child_detached", GTK_SIGNAL_FUNC(gtk_menu_detached_callback), (gpointer)this ); } - + m_frameMenuBar->Show( TRUE ); + + UpdateMenuBarSize(); } + else + { + m_menuBarHeight = 2; + GtkUpdateSize(); // resize window in OnInternalIdle + } +} + +void wxFrame::UpdateMenuBarSize() +{ + wxASSERT_MSG( m_frameMenuBar, _T("Updating non existant menubar?") ); + + GtkRequisition req; + + req.width = 2; + req.height = 2; + + (* GTK_WIDGET_CLASS( GTK_OBJECT_GET_CLASS(m_frameMenuBar->m_widget) )->size_request ) + (m_frameMenuBar->m_widget, &req ); + + m_menuBarHeight = req.height; + + // resize window in OnInternalIdle - // resize window in OnInternalIdle GtkUpdateSize(); } diff --git a/src/gtk/gauge.cpp b/src/gtk/gauge.cpp index 917ab60307..f180206c79 100644 --- a/src/gtk/gauge.cpp +++ b/src/gtk/gauge.cpp @@ -15,18 +15,22 @@ #if wxUSE_GAUGE -#include #include //----------------------------------------------------------------------------- // wxGauge //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxGauge,wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) -bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, - const wxPoint& pos, const wxSize& size, - long style, const wxValidator& validator, const wxString& name ) +bool wxGauge::Create( wxWindow *parent, + wxWindowID id, + int range, + const wxPoint& pos, + const wxSize& size, + long style, + const wxValidator& validator, + const wxString& name ) { m_needParent = TRUE; @@ -38,12 +42,13 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, } m_rangeMax = range; - m_gaugePos = 0; - m_useProgressBar = TRUE; m_widget = gtk_progress_bar_new(); - if( style & wxGA_VERTICAL) - gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget) , GTK_PROGRESS_BOTTOM_TO_TOP ); + if ( style & wxGA_VERTICAL ) + { + gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget), + GTK_PROGRESS_BOTTOM_TO_TOP ); + } m_parent->DoAddChild( this ); @@ -54,20 +59,31 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, return TRUE; } -void wxGauge::SetRange( int r ) +void wxGauge::DoSetGauge() +{ + wxASSERT_MSG( 0 <= m_gaugePos && m_gaugePos <= m_rangeMax, + _T("invalid gauge position in DoSetGauge()") ); + + gtk_progress_bar_update( GTK_PROGRESS_BAR(m_widget), + m_rangeMax ? ((float)m_gaugePos)/m_rangeMax : 0.); +} + +void wxGauge::SetRange( int range ) { - m_rangeMax = r; - if (m_gaugePos > m_rangeMax) m_gaugePos = m_rangeMax; + m_rangeMax = range; + if (m_gaugePos > m_rangeMax) + m_gaugePos = m_rangeMax; - gtk_progress_bar_update( GTK_PROGRESS_BAR(m_widget), ((float)m_gaugePos)/m_rangeMax ); + DoSetGauge(); } void wxGauge::SetValue( int pos ) { + wxCHECK_RET( pos <= m_rangeMax, _T("invalid value in wxGauge::SetValue()") ); + m_gaugePos = pos; - if (m_gaugePos > m_rangeMax) m_gaugePos = m_rangeMax; - gtk_progress_bar_update( GTK_PROGRESS_BAR(m_widget), ((float)m_gaugePos)/m_rangeMax ); + DoSetGauge(); } int wxGauge::GetRange() const diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index e46cac9e32..ff037160c6 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: glcanvas.cpp +// Name: gtk/glcanvas.cpp // Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWindows and GTK // Author: Robert Roebling // Modified by: // Created: 17/08/98 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -24,7 +24,8 @@ #include "wx/module.h" #include "wx/app.h" -extern "C" { +extern "C" +{ #include "gtk/gtk.h" #include "gdk/gdk.h" #include "gdk/gdkx.h" @@ -58,16 +59,16 @@ wxGLContext::wxGLContext( bool WXUNUSED(isRGB), wxWindow *win, const wxPalette& wxGLCanvas *gc = (wxGLCanvas*) win; XVisualInfo *vi = (XVisualInfo *) gc->m_vi; - - wxCHECK_RET( vi, "invalid visual for OpenGl" ); - + + wxCHECK_RET( vi, _T("invalid visual for OpenGl") ); + m_glContext = glXCreateContext( GDK_DISPLAY(), vi, None, GL_TRUE ); - - wxCHECK_RET( m_glContext, "Couldn't create OpenGl context" ); + + wxCHECK_RET( m_glContext, _T("Couldn't create OpenGl context") ); } -wxGLContext::wxGLContext( - bool WXUNUSED(isRGB), wxWindow *win, +wxGLContext::wxGLContext( + bool WXUNUSED(isRGB), wxWindow *win, const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ) @@ -77,26 +78,28 @@ wxGLContext::wxGLContext( wxGLCanvas *gc = (wxGLCanvas*) win; XVisualInfo *vi = (XVisualInfo *) gc->m_vi; - - wxCHECK_RET( vi, "invalid visual for OpenGl" ); - - if( other != 0 ) - m_glContext = glXCreateContext( GDK_DISPLAY(), vi, other->m_glContext, GL_TRUE ); - else - m_glContext = glXCreateContext( GDK_DISPLAY(), vi, None, GL_TRUE ); - - wxCHECK_RET( m_glContext, "Couldn't create OpenGl context" ); + + wxCHECK_RET( vi, _T("invalid visual for OpenGl") ); + + m_glContext = glXCreateContext( GDK_DISPLAY(), vi, + other ? other->m_glContext : None, + GL_TRUE ); + + if ( !m_glContext ) + { + wxFAIL_MSG( _T("Couldn't create OpenGl context") ); + } } wxGLContext::~wxGLContext() { if (!m_glContext) return; - + if (m_glContext == glXGetCurrentContext()) { glXMakeCurrent( GDK_DISPLAY(), None, NULL); } - + glXDestroyContext( GDK_DISPLAY(), m_glContext ); } @@ -111,14 +114,14 @@ void wxGLContext::SwapBuffers() void wxGLContext::SetCurrent() { - if (m_glContext) - { + if (m_glContext) + { GdkWindow *window = GTK_PIZZA(m_widget)->bin_window; glXMakeCurrent( GDK_DISPLAY(), GDK_WINDOW_XWINDOW(window), m_glContext ); } } -void wxGLContext::SetColour(const char *colour) +void wxGLContext::SetColour(const wxChar *colour) { float r = 0.0; float g = 0.0; @@ -185,10 +188,10 @@ gtk_glwindow_map_callback( GtkWidget * WXUNUSED(widget), wxGLCanvas *win ) // "expose_event" of m_wxwindow //----------------------------------------------------------------------------- -static void +static void gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_event, wxGLCanvas *win ) { - if (g_isIdle) + if (g_isIdle) wxapp_install_idle_handler(); win->m_exposed = TRUE; @@ -203,10 +206,10 @@ gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_e // "draw" of m_wxwindow //----------------------------------------------------------------------------- -static void +static void gtk_glwindow_draw_callback( GtkWidget *WXUNUSED(widget), GdkRectangle *rect, wxGLCanvas *win ) { - if (g_isIdle) + if (g_isIdle) wxapp_install_idle_handler(); win->m_exposed = TRUE; @@ -219,7 +222,7 @@ gtk_glwindow_draw_callback( GtkWidget *WXUNUSED(widget), GdkRectangle *rect, wxG // "size_allocate" of m_wxwindow //----------------------------------------------------------------------------- -static void +static void gtk_glcanvas_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation* alloc, wxGLCanvas *win ) { if (g_isIdle) @@ -244,77 +247,80 @@ BEGIN_EVENT_TABLE(wxGLCanvas, wxWindow) END_EVENT_TABLE() wxGLCanvas::wxGLCanvas( wxWindow *parent, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette ) + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette ) { Create( parent, NULL, NULL, id, pos, size, style, name, attribList, palette ); } -wxGLCanvas::wxGLCanvas( wxWindow *parent, +wxGLCanvas::wxGLCanvas( wxWindow *parent, const wxGLContext *shared, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette ) -{ + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette ) +{ Create( parent, shared, NULL, id, pos, size, style, name, attribList, palette ); } -wxGLCanvas::wxGLCanvas( wxWindow *parent, +wxGLCanvas::wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette ) -{ + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette ) +{ Create( parent, NULL, shared, id, pos, size, style, name, attribList, palette ); } -bool wxGLCanvas::Create( wxWindow *parent, +bool wxGLCanvas::Create( wxWindow *parent, const wxGLContext *shared, const wxGLCanvas *shared_context_of, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette) + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette) { m_sharedContext = (wxGLContext*)shared; // const_cast m_sharedContextOf = (wxGLCanvas*)shared_context_of; // const_cast m_glContext = (wxGLContext*) NULL; - + m_exposed = FALSE; m_noExpose = TRUE; m_nativeSizeEvent = TRUE; - + XVisualInfo *vi = NULL; - if (wxTheApp->m_glVisualInfo != NULL) { - vi = (XVisualInfo *) wxTheApp->m_glVisualInfo; + if (wxTheApp->m_glVisualInfo != NULL) + { + vi = (XVisualInfo *) wxTheApp->m_glVisualInfo; m_canFreeVi = FALSE; // owned by wxTheApp - don't free upon destruction - } else { + } + else + { vi = (XVisualInfo *) ChooseGLVisual(attribList); m_canFreeVi = TRUE; } m_vi = vi; // save for later use - - wxCHECK_MSG( m_vi, FALSE, "required visual couldn't be found" ); + + wxCHECK_MSG( m_vi, FALSE, _T("required visual couldn't be found") ); GdkVisual *visual = gdkx_visual_get( vi->visualid ); GdkColormap *colormap = gdk_colormap_new( gdkx_visual_get(vi->visualid), TRUE ); - + gtk_widget_push_colormap( colormap ); gtk_widget_push_visual( visual ); wxWindow::Create( parent, id, pos, size, style, name ); m_glWidget = m_wxwindow; - + gtk_pizza_set_clear( GTK_PIZZA(m_wxwindow), FALSE ); - + gtk_signal_connect( GTK_OBJECT(m_wxwindow), "realize", GTK_SIGNAL_FUNC(gtk_glwindow_realized_callback), (gpointer) this ); @@ -326,26 +332,26 @@ bool wxGLCanvas::Create( wxWindow *parent, gtk_signal_connect( GTK_OBJECT(m_wxwindow), "draw", GTK_SIGNAL_FUNC(gtk_glwindow_draw_callback), (gpointer)this ); - + gtk_signal_connect( GTK_OBJECT(m_widget), "size_allocate", GTK_SIGNAL_FUNC(gtk_glcanvas_size_callback), (gpointer)this ); gtk_widget_pop_visual(); gtk_widget_pop_colormap(); - + if (GTK_WIDGET_REALIZED(m_wxwindow)) gtk_glwindow_realized_callback( m_wxwindow, this ); - + if (GTK_WIDGET_MAPPED(m_wxwindow)) gtk_glwindow_map_callback( m_wxwindow, this ); - + return TRUE; } wxGLCanvas::~wxGLCanvas() { XVisualInfo *vi = (XVisualInfo *) m_vi; - + if (vi && m_canFreeVi) XFree( vi ); if (m_glContext) delete m_glContext; } @@ -365,12 +371,12 @@ void* wxGLCanvas::ChooseGLVisual(int *attribList) data[10] = GLX_ALPHA_SIZE; data[11] = 0; data[12] = None; - attribList = (int*) data; + attribList = (int*) data; } else { int arg=0, p=0; - + while( (attribList[arg]!=0) && (p<510) ) { switch( attribList[arg++] ) @@ -392,9 +398,9 @@ void* wxGLCanvas::ChooseGLVisual(int *attribList) data[p++]=GLX_BLUE_SIZE; data[p++]=attribList[arg++]; break; case WX_GL_MIN_ALPHA: data[p++]=GLX_ALPHA_SIZE; data[p++]=attribList[arg++]; break; - case WX_GL_DEPTH_SIZE: + case WX_GL_DEPTH_SIZE: data[p++]=GLX_DEPTH_SIZE; data[p++]=attribList[arg++]; break; - case WX_GL_STENCIL_SIZE: + case WX_GL_STENCIL_SIZE: data[p++]=GLX_STENCIL_SIZE; data[p++]=attribList[arg++]; break; case WX_GL_MIN_ACCUM_RED: data[p++]=GLX_ACCUM_RED_SIZE; data[p++]=attribList[arg++]; break; @@ -407,21 +413,22 @@ void* wxGLCanvas::ChooseGLVisual(int *attribList) default: break; } - } - data[p] = 0; + } + data[p] = 0; attribList = (int*) data; } - - + + Display *dpy = GDK_DISPLAY(); - + return glXChooseVisual( dpy, DefaultScreen(dpy), attribList ); } void wxGLCanvas::SwapBuffers() { - if (m_glContext) m_glContext->SwapBuffers(); + if (m_glContext) + m_glContext->SwapBuffers(); } void wxGLCanvas::OnSize(wxSizeEvent& WXUNUSED(event)) @@ -430,12 +437,14 @@ void wxGLCanvas::OnSize(wxSizeEvent& WXUNUSED(event)) void wxGLCanvas::SetCurrent() { - if (m_glContext) m_glContext->SetCurrent(); + if (m_glContext) + m_glContext->SetCurrent(); } -void wxGLCanvas::SetColour( const char *colour ) +void wxGLCanvas::SetColour( const wxChar *colour ) { - if (m_glContext) m_glContext->SetColour( colour ); + if (m_glContext) + m_glContext->SetColour( colour ); } void wxGLCanvas::OnInternalIdle() @@ -449,7 +458,7 @@ void wxGLCanvas::OnInternalIdle() m_exposed = FALSE; GetUpdateRegion().Clear(); } - + wxWindow::OnInternalIdle(); } @@ -460,17 +469,21 @@ void wxGLCanvas::OnInternalIdle() //--------------------------------------------------------------------------- IMPLEMENT_CLASS(wxGLApp, wxApp) - + wxGLApp::~wxGLApp() { - if (m_glVisualInfo) XFree(m_glVisualInfo); + if (m_glVisualInfo) + XFree(m_glVisualInfo); } bool wxGLApp::InitGLVisual(int *attribList) { - if (m_glVisualInfo) XFree(m_glVisualInfo); + if (m_glVisualInfo) + XFree(m_glVisualInfo); + m_glVisualInfo = wxGLCanvas::ChooseGLVisual(attribList); - return (m_glVisualInfo != NULL); + + return m_glVisualInfo != NULL; } #endif diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 3ad658a264..46808ec081 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -1057,7 +1057,7 @@ wxSize wxListBox::DoGetBestSize() const // And just a bit more int cx, cy; - GetTextExtent("X", &cx, &cy); + GetTextExtent( wxT("X"), &cx, &cy); lbWidth += 3 * cx; // don't make the listbox too tall (limit height to around 10 items) but don't diff --git a/src/gtk/menu.cpp b/src/gtk/menu.cpp index 886522158e..3701f416ee 100644 --- a/src/gtk/menu.cpp +++ b/src/gtk/menu.cpp @@ -113,9 +113,16 @@ static wxString wxReplaceUnderscore( const wxString& title ) /* GTK 1.2 wants to have "_" instead of "&" for accelerators */ wxString str; - for ( pc = title; *pc != wxT('\0'); pc++ ) + pc = title; + while (*pc != wxT('\0')) { - if (*pc == wxT('&')) + if ((*pc == wxT('&')) && (*(pc+1) == wxT('&'))) + { + // "&" is doubled to indicate "&" instead of accelerator + ++pc; + str << wxT('&'); + } + else if (*pc == wxT('&')) { #if GTK_CHECK_VERSION(1, 2, 0) str << wxT('_'); @@ -149,6 +156,7 @@ static wxString wxReplaceUnderscore( const wxString& title ) str << *pc; } + ++pc; } return str; } @@ -385,10 +393,23 @@ bool wxMenuBar::GtkAppend(wxMenu *menu, const wxString& title) #endif // m_invokingWindow is set after wxFrame::SetMenuBar(). This call enables - // adding menu later on. + // addings menu later on. if (m_invokingWindow) + { wxMenubarSetInvokingWindow( menu, m_invokingWindow ); + // OPTIMISE ME: we should probably cache this, or pass it + // directly, but for now this is a minimal + // change to validate the new dynamic sizing. + // see (and refactor :) similar code in Remove + // below. + + wxFrame *frame = wxDynamicCast( m_invokingWindow, wxFrame ); + + if( frame ) + frame->UpdateMenuBarSize(); + } + return TRUE; } @@ -452,6 +473,16 @@ wxMenu *wxMenuBar::Remove(size_t pos) printf( "menu shell entries after %d\n", (int)g_list_length( menu_shell->children ) ); */ + if (m_invokingWindow) + { + // OPTIMISE ME: see comment in GtkAppend + + wxFrame *frame = wxDynamicCast( m_invokingWindow, wxFrame ); + + if( frame ) + frame->UpdateMenuBarSize(); + } + return menu; } @@ -554,10 +585,9 @@ wxString wxMenuBar::GetLabelTop( size_t pos ) const wxString text( menu->GetTitle() ); for ( const wxChar *pc = text.c_str(); *pc; pc++ ) { - if ( *pc == wxT('_') || *pc == wxT('&') ) + if ( *pc == wxT('_') ) { - // '_' is the escape character for GTK+ and '&' is the one for - // wxWindows - skip both of them + // '_' is the escape character for GTK+ continue; } @@ -750,17 +780,21 @@ wxString wxMenuItemBase::GetLabelFromText(const wxString& text) { if ( *pc == wxT('_') ) { - // wxGTK escapes "xxx_xxx" to "xxx__xxx" + // GTK 1.2 escapes "xxx_xxx" to "xxx__xxx" pc++; label += *pc; continue; } - if ( *pc == wxT('&') ) +#if GTK_CHECK_VERSION(2, 0, 0) + if ( *pc == wxT('\\') ) { - // wxMSW escapes & + // GTK 2.0 escapes "xxx/xxx" to "xxx\/xxx" + pc++; + label += *pc; continue; } +#endif label += *pc; } @@ -784,42 +818,54 @@ void wxMenuItem::SetText( const wxString& str ) { GtkLabel *label; if (m_labelWidget) - label = (GtkLabel*) m_labelWidget; + label = (GtkLabel*) m_labelWidget; else - label = GTK_LABEL( GTK_BIN(m_menuItem)->child ); + label = GTK_LABEL( GTK_BIN(m_menuItem)->child ); - /* set new text */ +#if GTK_CHECK_VERSION(2, 0, 0) + // We have to imitate item_factory_unescape_label here + wxString tmp; + for (size_t n = 0; n < m_text.Len(); n++) + { + if (m_text[n] != wxT('\\')) + tmp += m_text[n]; + } + + gtk_label_set_text_with_mnemonic( GTK_LABEL(label), wxGTK_CONV(tmp) ); +#else + // set new text gtk_label_set( label, wxGTK_CONV( m_text ) ); - /* reparse key accel */ - (void)gtk_label_parse_uline (GTK_LABEL(label), wxGTK_CONV( m_text ) ); + // reparse key accel + (void)gtk_label_parse_uline (GTK_LABEL(label), wxGTK_CONV(m_text) ); gtk_accel_label_refetch( GTK_ACCEL_LABEL(label) ); +#endif } } // it's valid for this function to be called even if m_menuItem == NULL void wxMenuItem::DoSetText( const wxString& str ) { - /* '\t' is the deliminator indicating a hot key */ + // '\t' is the deliminator indicating a hot key m_text.Empty(); const wxChar *pc = str; - for (; (*pc != wxT('\0')) && (*pc != wxT('\t')); pc++ ) + while ( (*pc != wxT('\0')) && (*pc != wxT('\t')) ) { -#if GTK_CHECK_VERSION(1, 2, 0) - if (*pc == wxT('&')) + if ((*pc == wxT('&')) && (*(pc+1) == wxT('&'))) { - m_text << wxT('_'); + // "&" is doubled to indicate "&" instead of accelerator + ++pc; + m_text << wxT('&'); } - else if ( *pc == wxT('_') ) // escape underscores + else if (*pc == wxT('&')) { - m_text << wxT("__"); + m_text << wxT('_'); } -#else // GTK+ < 1.2.0 - if (*pc == wxT('&')) +#if GTK_CHECK_VERSION(2, 0, 0) + else if ( *pc == wxT('_') ) // escape underscores { + // m_text << wxT("__"); doesn't work } -#endif -#if GTK_CHECK_VERSION(2, 0, 0) else if (*pc == wxT('/')) // we have to escape slashes { m_text << wxT("\\/"); @@ -828,16 +874,22 @@ void wxMenuItem::DoSetText( const wxString& str ) { m_text << wxT("\\\\"); } -#elif GTK_CHECK_VERSION(1, 2, 0) +#else + else if ( *pc == wxT('_') ) // escape underscores + { + m_text << wxT("__"); + } else if (*pc == wxT('/')) /* we have to filter out slashes ... */ { m_text << wxT('\\'); /* ... and replace them with back slashes */ } #endif - else + else { m_text << *pc; + } + ++pc; } - + m_hotKey = wxT(""); if(*pc == wxT('\t')) @@ -913,9 +965,9 @@ wxString wxMenuItem::GetFactoryPath() const for ( const wxChar *pc = m_text.c_str(); *pc; pc++ ) { - if ( *pc == wxT('_') || *pc == wxT('&') ) + if ( *pc == wxT('_') ) { - // remove '_' and '&' unconditionally + // remove '_' unconditionally continue; } @@ -1042,7 +1094,7 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) guint accel_key = gtk_label_parse_uline (GTK_LABEL(label), wxGTK_CONV( text ) ); gtk_accel_label_set_accel_widget (GTK_ACCEL_LABEL (label), menuItem); if (accel_key != GDK_VoidSymbol) - { + { gtk_widget_add_accelerator (menuItem, "activate_item", gtk_menu_ensure_uline_accel_group (GTK_MENU (m_menu)), @@ -1060,6 +1112,7 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) gtk_signal_connect( GTK_OBJECT(menuItem), "activate", GTK_SIGNAL_FUNC(gtk_menu_clicked_callback), (gpointer)this ); + gtk_menu_append( GTK_MENU(m_menu), menuItem ); gtk_widget_show( menuItem ); @@ -1097,7 +1150,9 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) { // start of a new radio group item_type = ""; - m_pathLastRadio = bufPath + 1; + wxString tmp( wxGTK_CONV_BACK( bufPath ) ); + tmp.Remove(0,1); + m_pathLastRadio = tmp; } else // continue the radio group { @@ -1143,10 +1198,15 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) wxString path( mitem->GetFactoryPath() ); menuItem = gtk_item_factory_get_widget( m_factory, wxGTK_CONV( path ) ); + + if (!menuItem) + wxLogError( wxT("Wrong menu path: %s\n"), path.c_str() ); } if ( !mitem->IsSeparator() ) { + wxASSERT_MSG( menuItem, wxT("invalid menuitem") ); + gtk_signal_connect( GTK_OBJECT(menuItem), "select", GTK_SIGNAL_FUNC(gtk_menu_hilight_callback), (gpointer)this ); @@ -1283,6 +1343,33 @@ static wxString GetHotKey( const wxMenuItem& item ) case WXK_DELETE: hotkey << wxT("Delete" ); break; + case WXK_UP: + hotkey << wxT("Up" ); + break; + case WXK_DOWN: + hotkey << wxT("Down" ); + break; + case WXK_PAGEUP: + hotkey << wxT("Prior" ); + break; + case WXK_PAGEDOWN: + hotkey << wxT("Next" ); + break; + case WXK_LEFT: + hotkey << wxT("Left" ); + break; + case WXK_RIGHT: + hotkey << wxT("Right" ); + break; + case WXK_HOME: + hotkey << wxT("Home" ); + break; + case WXK_END: + hotkey << wxT("End" ); + break; + case WXK_RETURN: + hotkey << wxT("Return" ); + break; // if there are any other keys wxGetAccelFromString() may // return, we should process them here @@ -1290,7 +1377,7 @@ static wxString GetHotKey( const wxMenuItem& item ) default: if ( code < 127 ) { - gchar *name = gdk_keyval_name((guint)code); + wxString name = wxGTK_CONV_BACK( gdk_keyval_name((guint)code) ); if ( name ) { hotkey << name; diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index fe5e541720..4439cbae46 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -86,14 +86,12 @@ static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget), gint page, wxNotebook *notebook ) { - static bool s_inPageChange = FALSE; - // are you trying to call SetSelection() from a notebook event handler? // you shouldn't! - wxCHECK_RET( !s_inPageChange, + wxCHECK_RET( !notebook->m_inSwitchPage, _T("gtk_notebook_page_change_callback reentered") ); - s_inPageChange = TRUE; + notebook->m_inSwitchPage = TRUE; if (g_isIdle) wxapp_install_idle_handler(); @@ -123,7 +121,7 @@ static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget), notebook->GetEventHandler()->ProcessEvent( eventChanged ); } - s_inPageChange = FALSE; + notebook->m_inSwitchPage = FALSE; } //----------------------------------------------------------------------------- @@ -236,6 +234,8 @@ END_EVENT_TABLE() void wxNotebook::Init() { m_padding = 0; + m_inSwitchPage = FALSE; + m_imageList = (wxImageList *) NULL; m_pagesData.DeleteContents( TRUE ); m_selection = -1; diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index 923a68bbd1..236a69d036 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -160,7 +160,7 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) m_needParent = FALSE; if (!PreCreation( parent, wxDefaultPosition, wxDefaultSize ) || - !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, "popup" )) + !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, wxT("popup") )) { wxFAIL_MSG( wxT("wxPopupWindow creation failed") ); return FALSE; diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index 26240cc004..5bc55111c2 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -418,7 +418,7 @@ bool wxRadioBox::Show( bool show ) return TRUE; } -int wxRadioBox::FindString( const wxString &s ) const +int wxRadioBox::FindString( const wxString &find ) const { wxCHECK_MSG( m_widget != NULL, -1, wxT("invalid radiobox") ); @@ -428,7 +428,12 @@ int wxRadioBox::FindString( const wxString &s ) const while (node) { GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->Data()) ); - if (s == label->label) +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + if (find == str) return count; count++; @@ -505,7 +510,13 @@ wxString wxRadioBox::GetString( int n ) const GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->Data()) ); - return wxString( label->label ); +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + + return str; } void wxRadioBox::SetLabel( const wxString& label ) @@ -592,7 +603,12 @@ wxString wxRadioBox::GetStringSelection() const { GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->Data()) ); - return label->label; +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + return str; } node = node->Next(); } diff --git a/src/gtk/region.cpp b/src/gtk/region.cpp index 7ca7653e2a..f9ac057cbe 100644 --- a/src/gtk/region.cpp +++ b/src/gtk/region.cpp @@ -191,25 +191,20 @@ bool wxRegion::Union( wxCoord x, wxCoord y, wxCoord width, wxCoord height ) if ( !width || !height ) return TRUE; - GdkRectangle rect; - rect.x = x; - rect.y = y; - rect.width = width; - rect.height = height; - - if (!m_refData) + if ( !m_refData ) { - m_refData = new wxRegionRefData(); -#ifdef __WXGTK20__ - M_REGIONDATA->m_region = gdk_region_rectangle( &rect ); -#else - M_REGIONDATA->m_region = gdk_region_union_with_rect(wxGdkRegion(), &rect); -#endif + InitRect(x, y, width, height); } else { AllocExclusive(); + GdkRectangle rect; + rect.x = x; + rect.y = y; + rect.width = width; + rect.height = height; + #ifdef __WXGTK20__ gdk_region_union_with_rect( M_REGIONDATA->m_region, &rect ); #else @@ -274,17 +269,12 @@ bool wxRegion::Intersect( const wxRegion& region ) if (!m_refData) { - m_refData = new wxRegionRefData(); - M_REGIONDATA->m_region = gdk_region_new(); - - // leave here - return TRUE; - } - else - { - AllocExclusive(); + // intersecting with invalid region doesn't make sense + return FALSE; } + AllocExclusive(); + #ifdef __WXGTK20__ gdk_region_intersect( M_REGIONDATA->m_region, region.GetRegion() ); #else @@ -315,14 +305,12 @@ bool wxRegion::Subtract( const wxRegion& region ) if (!m_refData) { - m_refData = new wxRegionRefData(); - M_REGIONDATA->m_region = gdk_region_new(); - } - else - { - AllocExclusive(); + // subtracting from an invalid region doesn't make sense + return FALSE; } + AllocExclusive(); + #ifdef __WXGTK20__ gdk_region_subtract( M_REGIONDATA->m_region, region.GetRegion() ); #else @@ -353,14 +341,11 @@ bool wxRegion::Xor( const wxRegion& region ) if (!m_refData) { - m_refData = new wxRegionRefData(); - M_REGIONDATA->m_region = gdk_region_new(); - } - else - { - AllocExclusive(); + return FALSE; } + AllocExclusive(); + #ifdef __WXGTK20__ gdk_region_xor( M_REGIONDATA->m_region, region.GetRegion() ); #else @@ -372,6 +357,18 @@ bool wxRegion::Xor( const wxRegion& region ) return TRUE; } +bool wxRegion::Offset( wxCoord x, wxCoord y ) +{ + if (!m_refData) + return FALSE; + + AllocExclusive(); + + gdk_region_offset( M_REGIONDATA->m_region, x, y ); + + return TRUE; +} + // ---------------------------------------------------------------------------- // wxRegion tests // ---------------------------------------------------------------------------- @@ -403,18 +400,6 @@ wxRect wxRegion::GetBox() const return wxRect( x, y, w, h ); } -bool wxRegion::Offset( wxCoord x, wxCoord y ) -{ - if (!m_refData) - return FALSE; - - AllocExclusive(); - - gdk_region_offset( M_REGIONDATA->m_region, x, y ); - - return TRUE; -} - bool wxRegion::Empty() const { if (!m_refData) @@ -495,7 +480,7 @@ struct _XRegion { _XBox *rects, extents; }; -#endif +#endif // GTK+ 1.x class wxRIRefData: public wxObjectRefData { @@ -592,42 +577,48 @@ bool wxRegionIterator::HaveRects() const return m_current < ((wxRIRefData*)m_refData)->m_numRects; } -wxRegionIterator::operator bool () const +wxRegionIterator& wxRegionIterator::operator ++ () { - return HaveRects(); -} + if (HaveRects()) + ++m_current; -void wxRegionIterator::operator ++ () -{ - if (HaveRects()) ++m_current; + return *this; } -void wxRegionIterator::operator ++ (int) +wxRegionIterator wxRegionIterator::operator ++ (int) { - if (HaveRects()) ++m_current; + wxRegionIterator tmp = *this; + if (HaveRects()) + ++m_current; + + return tmp; } wxCoord wxRegionIterator::GetX() const { - if( !HaveRects() ) return 0; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].x; } wxCoord wxRegionIterator::GetY() const { - if( !HaveRects() ) return 0; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].y; } wxCoord wxRegionIterator::GetW() const { - if( !HaveRects() ) return -1; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].width; } wxCoord wxRegionIterator::GetH() const { - if( !HaveRects() ) return -1; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].height; } diff --git a/src/gtk/scrolwin.cpp b/src/gtk/scrolwin.cpp index a072691442..a18ec663f7 100644 --- a/src/gtk/scrolwin.cpp +++ b/src/gtk/scrolwin.cpp @@ -313,7 +313,7 @@ bool wxScrolledWindow::Create(wxWindow *parent, PostCreation(); Show( TRUE ); - + return TRUE; } @@ -349,8 +349,12 @@ void wxScrolledWindow::SetScrollbars( int pixelsPerUnitX, int pixelsPerUnitY, m_hAdjust->value = m_xScrollPosition = xPos; m_vAdjust->value = m_yScrollPosition = yPos; + // Setting hints here should arguably be deprecated, but without it + // a sizer might override this manual scrollbar setting in old code. m_targetWindow->SetVirtualSizeHints( noUnitsX * pixelsPerUnitX, noUnitsY * pixelsPerUnitY ); + m_targetWindow->SetVirtualSize( noUnitsX * pixelsPerUnitX, noUnitsY * pixelsPerUnitY ); + if (!noRefresh) { int new_x = m_xScrollPixelsPerLine * m_xScrollPosition; @@ -381,13 +385,16 @@ void wxScrolledWindow::AdjustScrollbars() // If the scrollbar hits the right side, move the window // right to keep it from over extending. - if( m_hAdjust->value + m_hAdjust->page_size > m_hAdjust->upper ) + if ((m_hAdjust->value != 0.0) && (m_hAdjust->value + m_hAdjust->page_size > m_hAdjust->upper)) { + m_hAdjust->value = m_hAdjust->upper - m_hAdjust->page_size; + if (m_hAdjust->value < 0.0) + m_hAdjust->value = 0.0; + if (GetChildren().GetCount() == 0) - { - m_hAdjust->value = m_hAdjust->upper - m_hAdjust->page_size; - m_xScrollPosition = (int)m_hAdjust->value; - } + m_xScrollPosition = (int)m_hAdjust->value; // This is enough without child windows + else + gtk_signal_emit_by_name( GTK_OBJECT(m_hAdjust), "value_changed" ); // Actually scroll window } } @@ -401,13 +408,16 @@ void wxScrolledWindow::AdjustScrollbars() m_vAdjust->upper = vh / m_yScrollPixelsPerLine; m_vAdjust->page_size = (h / m_yScrollPixelsPerLine); - if( m_vAdjust->value + m_vAdjust->page_size > m_vAdjust->upper ) + if ((m_vAdjust->value != 0.0) && (m_vAdjust->value + m_vAdjust->page_size > m_vAdjust->upper)) { + m_vAdjust->value = m_vAdjust->upper - m_vAdjust->page_size; + if (m_vAdjust->value < 0.0) + m_vAdjust->value = 0.0; + if (GetChildren().GetCount() == 0) - { - m_vAdjust->value = m_vAdjust->upper - m_vAdjust->page_size; - m_yScrollPosition = (int)m_vAdjust->value; - } + m_yScrollPosition = (int)m_vAdjust->value; + else + gtk_signal_emit_by_name( GTK_OBJECT(m_vAdjust), "value_changed" ); } } @@ -823,10 +833,17 @@ bool wxScrolledWindow::Layout() // Default OnSize resets scrollbars, if any void wxScrolledWindow::OnSize(wxSizeEvent& WXUNUSED(event)) { - if( m_targetWindow != this ) - m_targetWindow->SetVirtualSize( m_targetWindow->GetClientSize() ); + if( GetAutoLayout() ) + { + if( m_targetWindow != this ) + m_targetWindow->FitInside(); - SetVirtualSize( GetClientSize() ); + FitInside(); + } + else + { + AdjustScrollbars(); + } } // This calls OnDraw, having adjusted the origin according to the current @@ -849,7 +866,7 @@ void wxScrolledWindow::OnChar(wxKeyEvent& event) szx, szy, // view size (total) clix, cliy; // view size (on screen) - ViewStart(&stx, &sty); + GetViewStart(&stx, &sty); GetClientSize(&clix, &cliy); GetVirtualSize(&szx, &szy); diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index 9aed45b5a9..736ed76aba 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -16,6 +16,7 @@ #include "wx/debug.h" #include "wx/module.h" #include "wx/cmndata.h" +#include "wx/fontutil.h" #include #include @@ -326,8 +327,25 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index ) { if (!g_systemFont) { +#ifdef __WXGTK20__ + GtkWidget *widget = gtk_button_new(); + GtkStyle *def = gtk_rc_get_style( widget ); + if (!def) + def = gtk_widget_get_default_style(); + if (def) + { + wxNativeFontInfo info; + info.description = def->font_desc; + g_systemFont = new wxFont(info); + } + else + { + g_systemFont = new wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL ); + } + gtk_widget_destroy( widget ); +#else g_systemFont = new wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL ); - +#endif } return *g_systemFont; } diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index 9f59575679..799f21d2b1 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -255,14 +255,15 @@ int wxSlider::GetLineSize() const bool wxSlider::IsOwnGtkWindow( GdkWindow *window ) { GtkRange *range = GTK_RANGE(m_widget); +#ifdef __WXGTK20__ + return (range->event_window == window); +#else return ( (window == GTK_WIDGET(range)->window) -#ifndef __WXGTK20__ || (window == range->trough) || (window == range->slider) || (window == range->step_forw) - || (window == range->step_back) -#endif // GTK+ 1.x - ); + || (window == range->step_back) ); +#endif } void wxSlider::ApplyWidgetStyle() diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index 235319eb16..d05f2cddfb 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -278,6 +278,10 @@ bool wxToolBar::Create( wxWindow *parent, #ifdef __WXGTK20__ m_toolbar = GTK_TOOLBAR( gtk_toolbar_new() ); GtkSetStyle(); + + // Doesn't work this way. + // GtkToolbarSpaceStyle space_style = GTK_TOOLBAR_SPACE_EMPTY; + // gtk_widget_style_set (GTK_WIDGET (m_toolbar), "space_style", &space_style, NULL); #else GtkOrientation orient; GtkToolbarStyle gtkStyle; @@ -374,37 +378,44 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase) { wxToolBarTool *tool = (wxToolBarTool *)toolBase; +#ifndef __WXGTK20__ // if we have inserted a space before all the tools we must change the GTK // index by 1 size_t posGtk = m_xMargin > 1 ? pos + 1 : pos; +#else + size_t posGtk = pos; +#endif if ( tool->IsButton() ) { - wxBitmap bitmap = tool->GetNormalBitmap(); + if ( !HasFlag(wxTB_NOICONS) ) + { + wxBitmap bitmap = tool->GetNormalBitmap(); - wxCHECK_MSG( bitmap.Ok(), FALSE, - wxT("invalid bitmap for wxToolBar icon") ); + wxCHECK_MSG( bitmap.Ok(), FALSE, + wxT("invalid bitmap for wxToolBar icon") ); - wxCHECK_MSG( bitmap.GetBitmap() == NULL, FALSE, - wxT("wxToolBar doesn't support GdkBitmap") ); + wxCHECK_MSG( bitmap.GetBitmap() == NULL, FALSE, + wxT("wxToolBar doesn't support GdkBitmap") ); - wxCHECK_MSG( bitmap.GetPixmap() != NULL, FALSE, - wxT("wxToolBar::Add needs a wxBitmap") ); + wxCHECK_MSG( bitmap.GetPixmap() != NULL, FALSE, + wxT("wxToolBar::Add needs a wxBitmap") ); - GtkWidget *tool_pixmap = (GtkWidget *)NULL; + GtkWidget *tool_pixmap = (GtkWidget *)NULL; - GdkPixmap *pixmap = bitmap.GetPixmap(); + GdkPixmap *pixmap = bitmap.GetPixmap(); - GdkBitmap *mask = (GdkBitmap *)NULL; - if ( bitmap.GetMask() ) - mask = bitmap.GetMask()->GetBitmap(); + GdkBitmap *mask = (GdkBitmap *)NULL; + if ( bitmap.GetMask() ) + mask = bitmap.GetMask()->GetBitmap(); - tool_pixmap = gtk_pixmap_new( pixmap, mask ); - gtk_pixmap_set_build_insensitive( GTK_PIXMAP(tool_pixmap), TRUE ); + tool_pixmap = gtk_pixmap_new( pixmap, mask ); + gtk_pixmap_set_build_insensitive( GTK_PIXMAP(tool_pixmap), TRUE ); - gtk_misc_set_alignment( GTK_MISC(tool_pixmap), 0.5, 0.5 ); + gtk_misc_set_alignment( GTK_MISC(tool_pixmap), 0.5, 0.5 ); - tool->m_pixmap = tool_pixmap; + tool->m_pixmap = tool_pixmap; + } } switch ( tool->GetStyle() ) @@ -464,7 +475,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase) return FALSE; } - + gtk_signal_connect( GTK_OBJECT(tool->m_item), "enter_notify_event", GTK_SIGNAL_FUNC(gtk_toolbar_tool_callback), @@ -587,8 +598,10 @@ void wxToolBar::SetMargins( int x, int y ) wxCHECK_RET( GetToolsCount() == 0, wxT("wxToolBar::SetMargins must be called before adding tools.") ); +#ifndef __WXGTK20__ if (x > 1) gtk_toolbar_append_space( m_toolbar ); // oh well +#endif m_xMargin = x; m_yMargin = y; diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 034a4cce4a..d449dcfb75 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -475,7 +475,7 @@ wxString wxTextCtrl::GetValue() const GtkTextIter end; gtk_text_buffer_get_end_iter( text_buffer, &end ); gchar *text = gtk_text_buffer_get_text( text_buffer, &start, &end, TRUE ); - + #if wxUSE_UNICODE wxWCharBuffer buffer( wxConvUTF8.cMB2WX( text ) ); #else @@ -552,6 +552,7 @@ void wxTextCtrl::WriteText( const wxString &text ) wxCharBuffer buffer( wxConvUTF8.cWC2MB( wxConvLocal.cWX2WC( text ) ) ); #endif GtkTextBuffer *text_buffer = gtk_text_view_get_buffer( GTK_TEXT_VIEW(m_text) ); + // TODO: call wahtever is needed to delete the selection gtk_text_buffer_insert_at_cursor( text_buffer, buffer, strlen(buffer) ); #else // GTK 1.x @@ -561,6 +562,7 @@ void wxTextCtrl::WriteText( const wxString &text ) // always use m_defaultStyle, even if it is empty as otherwise // resetting the style and appending some more text wouldn't work: if // we don't specify the style explicitly, the old style would be used + gtk_editable_delete_selection( GTK_EDITABLE(m_text) ); wxGtkTextInsert(m_text, m_defaultStyle, text.c_str(), text.Len()); // Bring editable's cursor back uptodate. @@ -569,6 +571,9 @@ void wxTextCtrl::WriteText( const wxString &text ) } else // single line { + // First remove the selection if there is one + gtk_editable_delete_selection( GTK_EDITABLE(m_text) ); + // This moves the cursor pos to behind the inserted text. gint len = GET_EDITABLE_POS(m_text); @@ -585,9 +590,6 @@ void wxTextCtrl::WriteText( const wxString &text ) gtk_editable_insert_text( GTK_EDITABLE(m_text), text.c_str(), text.Len(), &len ); #endif - // Bring editable's cursor uptodate. - len += text.Len(); - // Bring entry's cursor uptodate. gtk_entry_set_position( GTK_ENTRY(m_text), len ); } @@ -928,6 +930,12 @@ void wxTextCtrl::SetSelection( long from, long to ) { wxCHECK_RET( m_text != NULL, wxT("invalid text ctrl") ); + if (from == -1 && to == -1) + { + from = 0; + to = GetValue().Length(); + } + #ifndef __WXGTK20__ if ( (m_windowStyle & wxTE_MULTILINE) && !GTK_TEXT(m_text)->line_start_cache ) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 1ca2768d11..0866c33410 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -25,6 +25,7 @@ #include "wx/defs.h" +#include "wx/log.h" #include "wx/dialog.h" #include "wx/control.h" #include "wx/app.h" @@ -835,6 +836,11 @@ void wxTopLevelWindowGTK::OnInternalIdle() if ( g_delayedFocus && wxGetTopLevelParent((wxWindow*)g_delayedFocus) == this ) { + wxLogTrace(_T("focus"), + _T("Setting focus from wxTLW::OnIdle() to %s(%s)"), + g_delayedFocus->GetClassInfo()->GetClassName(), + g_delayedFocus->GetLabel().c_str()); + g_delayedFocus->SetFocus(); g_delayedFocus = NULL; } diff --git a/src/gtk/win_gtk.c b/src/gtk/win_gtk.c index 27e2d156bb..fecb23b7f5 100644 --- a/src/gtk/win_gtk.c +++ b/src/gtk/win_gtk.c @@ -310,11 +310,11 @@ gtk_pizza_put (GtkPizza *pizza, pizza->children = g_list_append (pizza->children, child_info); - gtk_widget_set_parent (widget, GTK_WIDGET (pizza)); - if (GTK_WIDGET_REALIZED (pizza)) gtk_widget_set_parent_window (widget, pizza->bin_window); + gtk_widget_set_parent (widget, GTK_WIDGET (pizza)); + #ifndef __WXGTK20__ /* FIXME? */ if (!IS_ONSCREEN (x, y)) GTK_PRIVATE_SET_FLAG (widget, GTK_IS_OFFSCREEN); diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 6411fca957..bf5f12cdb8 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -67,6 +67,10 @@ #include "wx/gtk/win_gtk.h" +#ifdef __WXGTK20__ +#include +#endif + #ifdef __WXGTK20__ #define SET_CONTAINER_FOCUS(w, d) gtk_widget_child_focus((w), (d)) #else @@ -262,7 +266,7 @@ extern bool g_mainThreadLocked; //----------------------------------------------------------------------------- #ifndef __WXGTK20__ -#define DISABLE_STYLE_IF_BROKEN_THEME 1 +#define DISABLE_STYLE_IF_BROKEN_THEME 0 #endif #ifdef __WXDEBUG__ @@ -501,10 +505,10 @@ static int gtk_window_expose_callback( GtkWidget *widget, // This callback gets called in drawing-idle time under // GTK 2.0, so we don't need to defer anything to idle // time anymore. - + GtkPizza *pizza = GTK_PIZZA( widget ); if (gdk_event->window != pizza->bin_window) return FALSE; - + #if 0 if (win->GetName()) { @@ -522,13 +526,14 @@ static int gtk_window_expose_callback( GtkWidget *widget, win->GtkSendPaintEvents(); + // Let parent window draw window less widgets (* GTK_WIDGET_CLASS (pizza_parent_class)->expose_event) (widget, gdk_event); #else // This gets called immediately after an expose event // under GTK 1.2 so we collect the calls and wait for // the idle handler to pick things up. - + win->GetUpdateRegion().Union( gdk_event->area.x, gdk_event->area.y, gdk_event->area.width, @@ -1060,6 +1065,7 @@ wxTranslateGTKKeyEventToWx(wxKeyEvent& event, return TRUE; } +#ifndef __WXGTK20__ static gint gtk_window_key_press_callback( GtkWidget *widget, GdkEventKey *gdk_event, wxWindow *win ) @@ -1130,7 +1136,7 @@ static gint gtk_window_key_press_callback( GtkWidget *widget, wxLogTrace(TRACE_KEYS, _T("Char event: %ld"), key_code); event.m_keyCode = key_code; - + // Implement OnCharHook by checking ancesteror top level windows wxWindow *parent = win; while (parent && !parent->IsTopLevel()) @@ -1207,45 +1213,184 @@ static gint gtk_window_key_press_callback( GtkWidget *widget, } } - // Doesn't work. -#if 0 - // Pressing F10 will activate the menu bar of the top frame - if ( (!ret) && - (gdk_event->keyval == GDK_F10) ) + if (ret) { - wxWindowGTK *ancestor = win; - while (ancestor) + gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "key_press_event" ); + return TRUE; + } + + return FALSE; +} +#endif + +#ifdef __WXGTK20__ +static gint gtk_window_key_press_callback( GtkWidget *widget, + GdkEventKey *gdk_event, + wxWindow *win ) +{ + if (g_isIdle) + wxapp_install_idle_handler(); + + if (!win->m_hasVMT) + return FALSE; + if (g_blockEventsOnDrag) + return FALSE; + + bool ret = FALSE; + bool dont_use_IM = FALSE; + + wxKeyEvent event( wxEVT_KEY_DOWN ); + long keycode = wxTranslateKeySymToWXKey( gdk_event->keyval, FALSE ); + if (keycode) + { + // We were able to decode the key press without + // any input method, so don't use it. + dont_use_IM = TRUE; + + // now fill all the other fields + int x = 0; + int y = 0; + GdkModifierType state; + if (gdk_event->window) + gdk_window_get_pointer(gdk_event->window, &x, &y, &state); + + event.SetTimestamp( gdk_event->time ); + event.m_shiftDown = (gdk_event->state & GDK_SHIFT_MASK) != 0; + event.m_controlDown = (gdk_event->state & GDK_CONTROL_MASK) != 0; + event.m_altDown = (gdk_event->state & GDK_MOD1_MASK) != 0; + event.m_metaDown = (gdk_event->state & GDK_MOD2_MASK) != 0; + event.m_keyCode = keycode; + event.m_scanCode = gdk_event->keyval; + event.m_rawCode = (wxUint32) gdk_event->keyval; + event.m_rawFlags = 0; + event.m_x = x; + event.m_y = y; + event.SetEventObject( win ); + + // send key down event + ret = win->GetEventHandler()->ProcessEvent( event ); + + if (!ret) { - if (wxIsKindOf(ancestor,wxFrame)) + // Implement OnCharHook by checking ancesteror top level windows + wxWindow *parent = win; + while (parent && !parent->IsTopLevel()) + parent = parent->GetParent(); + if (parent) { - wxFrame *frame = (wxFrame*) ancestor; - wxMenuBar *menubar = frame->GetMenuBar(); - if (menubar) - { - wxNode *node = menubar->GetMenus().First(); - if (node) - { - wxMenu *firstMenu = (wxMenu*) node->Data(); - gtk_menu_item_select( GTK_MENU_ITEM(firstMenu->m_owner) ); - ret = TRUE; - break; - } - } + event.SetEventType( wxEVT_CHAR_HOOK ); + ret = parent->GetEventHandler()->ProcessEvent( event ); + } + + if (!ret) + { + event.SetEventType(wxEVT_CHAR); + ret = win->GetEventHandler()->ProcessEvent( event ); + } + } + + // win is a control: tab can be propagated up + if ( !ret && + ((gdk_event->keyval == GDK_Tab) || (gdk_event->keyval == GDK_ISO_Left_Tab)) && + win->GetParent() && (win->GetParent()->HasFlag( wxTAB_TRAVERSAL)) ) + { + wxNavigationKeyEvent new_event; + new_event.SetEventObject( win->GetParent() ); + // GDK reports GDK_ISO_Left_Tab for SHIFT-TAB + new_event.SetDirection( (gdk_event->keyval == GDK_Tab) ); + // CTRL-TAB changes the (parent) window, i.e. switch notebook page + new_event.SetWindowChange( (gdk_event->state & GDK_CONTROL_MASK) ); + new_event.SetCurrentFocus( win ); + ret = win->GetParent()->GetEventHandler()->ProcessEvent( new_event ); + } + + if ( !ret && + (gdk_event->keyval == GDK_Escape) ) + { + wxWindow *winForCancel = win, *btnCancel = NULL; + while ( winForCancel ) + { + btnCancel = winForCancel->FindWindow(wxID_CANCEL); + if ( btnCancel ) break; + + if ( winForCancel->IsTopLevel() ) break; + + winForCancel = winForCancel->GetParent(); + } + + if ( btnCancel ) + { + wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, wxID_CANCEL); + event.SetEventObject(btnCancel); + ret = btnCancel->GetEventHandler()->ProcessEvent(event); } - ancestor = ancestor->GetParent(); } } -#endif // 0 if (ret) { gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "key_press_event" ); return TRUE; } - + + if (!dont_use_IM && win->m_imContext) + { + // In GTK 2.0, we need to hand over the key + // event to an input method and the IM will + // emit a "commit" event containing the + // actual utf8 character. + gtk_im_context_filter_keypress ( (GtkIMContext*) win->m_imContext, gdk_event ); + + return TRUE; + } + return FALSE; } +static void gtk_wxwindow_commit_cb (GtkIMContext *context, + const gchar *str, + wxWindow *window) +{ + bool ret = FALSE; + + wxKeyEvent event( wxEVT_KEY_DOWN ); + +#if wxUSE_UNICODE + event.m_uniChar = g_utf8_get_char( str ); + + // Backward compatible for ISO-8859 + if (event.m_uniChar < 256) + event.m_keyCode = event.m_uniChar; +#else + gunichar uniChar = g_utf8_get_char( str ); + // We cannot handle Unicode in non-Unicode mode + if (uniChar > 255) return; + + event.m_keyCode = uniChar; +#endif + + if (!ret) + { + // Implement OnCharHook by checking ancesteror top level windows + wxWindow *parent = window; + while (parent && !parent->IsTopLevel()) + parent = parent->GetParent(); + if (parent) + { + event.SetEventType( wxEVT_CHAR_HOOK ); + ret = parent->GetEventHandler()->ProcessEvent( event ); + } + + if (!ret) + { + event.SetEventType(wxEVT_CHAR); + ret = window->GetEventHandler()->ProcessEvent( event ); + } + } +} +#endif + + //----------------------------------------------------------------------------- // "key_release_event" from any window //----------------------------------------------------------------------------- @@ -1303,6 +1448,13 @@ static gint gtk_window_key_release_callback( GtkWidget *widget, event.m_leftDown = (gdk_event->state & GDK_BUTTON1_MASK); \ event.m_middleDown = (gdk_event->state & GDK_BUTTON2_MASK); \ event.m_rightDown = (gdk_event->state & GDK_BUTTON3_MASK); \ + if (event.GetEventType()==wxEVT_MOUSEWHEEL) \ + { \ + if (((GdkEventButton*)gdk_event)->button == 4) \ + event.m_wheelRotation = 120; \ + else if (((GdkEventButton*)gdk_event)->button == 5) \ + event.m_wheelRotation = -120; \ + } \ \ wxPoint pt = win->GetClientAreaOrigin(); \ event.m_x = (wxCoord)gdk_event->x - pt.x; \ @@ -1447,6 +1599,26 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, */ } + // GDK sends surplus button down event + // before a double click event. We + // need to filter these out. + if (gdk_event->type == GDK_BUTTON_PRESS) + { + GdkEvent *peek_event = gdk_event_peek(); + if (peek_event) + { + if (peek_event->type == GDK_2BUTTON_PRESS) + { + gdk_event_free( peek_event ); + return TRUE; + } + else + { + gdk_event_free( peek_event ); + } + } + } + wxEventType event_type = wxEVT_NULL; if (gdk_event->button == 1) @@ -1476,6 +1648,22 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, default: break; } } + else if (gdk_event->button == 4) + { + switch (gdk_event->type) + { + case GDK_BUTTON_PRESS: event_type = wxEVT_MOUSEWHEEL; break; + default: break; + } + } + else if (gdk_event->button == 5) + { + switch (gdk_event->type) + { + case GDK_BUTTON_PRESS: event_type = wxEVT_MOUSEWHEEL; break; + default: break; + } + } if ( event_type == wxEVT_NULL ) { @@ -1520,7 +1708,9 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, // "button_release_event" //----------------------------------------------------------------------------- -static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButton *gdk_event, wxWindowGTK *win ) +static gint gtk_window_button_release_callback( GtkWidget *widget, + GdkEventButton *gdk_event, + wxWindowGTK *win ) { DEBUG_MAIN_THREAD @@ -1533,21 +1723,25 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto if (!win->IsOwnGtkWindow( gdk_event->window )) return FALSE; -/* - printf( "OnButtonRelease from " ); - if (win->GetClassInfo() && win->GetClassInfo()->GetClassName()) - printf( win->GetClassInfo()->GetClassName() ); - printf( ".\n" ); -*/ - wxEventType event_type = wxEVT_NULL; switch (gdk_event->button) { - case 1: event_type = wxEVT_LEFT_UP; break; - case 2: event_type = wxEVT_MIDDLE_UP; break; - case 3: event_type = wxEVT_RIGHT_UP; break; - default: return FALSE; + case 1: + event_type = wxEVT_LEFT_UP; + break; + + case 2: + event_type = wxEVT_MIDDLE_UP; + break; + + case 3: + event_type = wxEVT_RIGHT_UP; + break; + + default: + // unknwon button, don't process + return FALSE; } wxMouseEvent event( event_type ); @@ -1558,6 +1752,20 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto // same wxListBox hack as above win->FixUpMouseEvent(widget, event.m_x, event.m_y); + if ( event_type == wxEVT_RIGHT_UP ) + { + // generate a "context menu" event: this is similar to wxEVT_RIGHT_UP + // except that: + // + // (a) it's a command event and so is propagated to the parent + // (b) under MSW it can be generated from kbd too + // (c) it uses screen coords (because of (a)) + wxContextMenuEvent evtCtx(wxEVT_CONTEXT_MENU, + win->GetId(), + win->ClientToScreen(event.GetPosition())); + (void)win->GetEventHandler()->ProcessEvent(evtCtx); + } + if ( !g_captureWindow ) win = FindWindowForMouseEvent(win, event.m_x, event.m_y); @@ -1706,7 +1914,7 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget, #endif // wxUSE_CARET g_activeFrameLostFocus = FALSE; - + wxWindowGTK *active = wxGetTopLevelParent(win); if ( active != g_activeFrame ) { @@ -1723,7 +1931,7 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget, wxActivateEvent event(wxEVT_ACTIVATE, TRUE, g_activeFrame->GetId()); event.SetEventObject(g_activeFrame); g_activeFrame->GetEventHandler()->ProcessEvent(event); - + // Don't send focus events in addition to activate // if (win == g_activeFrame) // return TRUE; @@ -2077,7 +2285,7 @@ static void gtk_window_destroy_callback( GtkWidget* widget, wxWindow *win ) been realized, so we do this directly after realization. */ static gint -gtk_window_realized_callback( GtkWidget *WXUNUSED(m_widget), wxWindow *win ) +gtk_window_realized_callback( GtkWidget *m_widget, wxWindow *win ) { DEBUG_MAIN_THREAD @@ -2090,6 +2298,14 @@ gtk_window_realized_callback( GtkWidget *WXUNUSED(m_widget), wxWindow *win ) if (win->m_delayedForegroundColour) win->GtkSetForegroundColour( win->GetForegroundColour() ); +#ifdef __WXGTK20__ + if (win->m_imContext) + { + GtkPizza *pizza = GTK_PIZZA( m_widget ); + gtk_im_context_set_client_window( (GtkIMContext*) win->m_imContext, pizza->bin_window ); + } +#endif + wxWindowCreateEvent event( win ); event.SetEventObject( win ); win->GetEventHandler()->ProcessEvent( event ); @@ -2349,10 +2565,15 @@ void wxWindowGTK::Init() m_delayedForegroundColour = FALSE; m_delayedBackgroundColour = FALSE; +#ifdef __WXGTK20__ + m_imContext = NULL; + m_x11Context = NULL; +#else #ifdef HAVE_XIM m_ic = (GdkIC*) NULL; m_icattr = (GdkICAttr*) NULL; #endif +#endif } wxWindowGTK::wxWindowGTK() @@ -2387,9 +2608,9 @@ bool wxWindowGTK::Create( wxWindow *parent, } m_insertCallback = wxInsertChildInWindow; - + // always needed for background clearing - m_delayedBackgroundColour = TRUE; + m_delayedBackgroundColour = TRUE; m_widget = gtk_scrolled_window_new( (GtkAdjustment *) NULL, (GtkAdjustment *) NULL ); GTK_WIDGET_UNSET_FLAGS( m_widget, GTK_CAN_FOCUS ); @@ -2473,6 +2694,17 @@ bool wxWindowGTK::Create( wxWindow *parent, gtk_signal_connect( GTK_OBJECT(m_vAdjust), "value_changed", (GtkSignalFunc) gtk_window_vscroll_callback, (gpointer) this ); +#ifdef __WXGTK20__ + // Create input method handler + m_imContext = (GtkIMMulticontext*) gtk_im_multicontext_new (); + + // Cannot handle drawing preedited text yet + gtk_im_context_set_use_preedit( (GtkIMContext*) m_imContext, FALSE ); + + g_signal_connect (G_OBJECT (m_imContext), "commit", + G_CALLBACK (gtk_wxwindow_commit_cb), this); +#endif + gtk_widget_show( m_wxwindow ); if (m_parent) @@ -2596,7 +2828,18 @@ void wxWindowGTK::PostCreation() GTK_SIGNAL_FUNC(gtk_window_event_event_callback), (gpointer)this ); } #else - gtk_widget_set_redraw_on_allocate( GTK_WIDGET(m_wxwindow), HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ) ); + // gtk_widget_set_redraw_on_allocate( GTK_WIDGET(m_wxwindow), HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ) ); +#endif + +#ifdef __WXGTK20__ + // Create input method handler + m_imContext = (GtkIMMulticontext*) gtk_im_multicontext_new (); + + // Cannot handle drawing preedited text yet + gtk_im_context_set_use_preedit( (GtkIMContext*) m_imContext, FALSE ); + + g_signal_connect (G_OBJECT (m_imContext), "commit", + G_CALLBACK (gtk_wxwindow_commit_cb), this); #endif } @@ -2683,7 +2926,7 @@ void wxWindowGTK::ConnectWidget( GtkWidget *widget ) gtk_signal_connect( GTK_OBJECT(widget), "leave_notify_event", GTK_SIGNAL_FUNC(gtk_window_leave_callback), (gpointer)this ); - + // This keeps crashing on me. RR. // // gtk_signal_connect( GTK_OBJECT(widget), "destroy", @@ -2842,7 +3085,7 @@ void wxWindowGTK::OnInternalIdle() } g_activeFrameLostFocus = FALSE; } - + wxCursor cursor = m_cursor; if (g_globalCursor.Ok()) cursor = g_globalCursor; @@ -3113,6 +3356,11 @@ bool wxWindowGTK::Show( bool show ) else gtk_widget_hide( m_widget ); + wxShowEvent eventShow(GetId(), show); + eventShow.m_eventObject = this; + + GetEventHandler()->ProcessEvent(eventShow); + return TRUE; } @@ -3185,26 +3433,26 @@ void wxWindowGTK::GetTextExtent( const wxString& string, if (theFont) fontToUse = *theFont; wxCHECK_RET( fontToUse.Ok(), wxT("invalid font") ); - + if (string.IsEmpty()) { if (x) (*x) = 0; if (y) (*y) = 0; return; } -#ifdef __WXGTK20__ +#ifdef __WXGTK20__ PangoContext *context = NULL; if (m_widget) - gtk_widget_get_pango_context( m_widget ); - + context = gtk_widget_get_pango_context( m_widget ); + if (!context) { if (x) (*x) = 0; if (y) (*y) = 0; return; } - + PangoFontDescription *desc = fontToUse.GetNativeFontInfo()->description; PangoLayout *layout = pango_layout_new(context); pango_layout_set_font_description(layout, desc); @@ -3219,10 +3467,10 @@ void wxWindowGTK::GetTextExtent( const wxString& string, #endif } PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; - + PangoRectangle rect; pango_layout_line_get_extents(line, NULL, &rect); - + if (x) (*x) = (wxCoord) (rect.width / PANGO_SCALE); if (y) (*y) = (wxCoord) (rect.height / PANGO_SCALE); if (descent) @@ -3231,7 +3479,7 @@ void wxWindowGTK::GetTextExtent( const wxString& string, (*descent) = 0; } if (externalLeading) (*externalLeading) = 0; // ?? - + g_object_unref( G_OBJECT( layout ) ); #else GdkFont *font = fontToUse.GetInternalFont( 1.0 ); @@ -3408,11 +3656,11 @@ void wxWindowGTK::Refresh( bool eraseBackground, const wxRect *rect ) { if (!m_widget) return; if (!m_widget->window) return; - + #ifndef __WXGTK20__ if (g_isIdle) wxapp_install_idle_handler(); - + if (eraseBackground && m_wxwindow && m_wxwindow->window) { if (rect) @@ -3498,7 +3746,7 @@ void wxWindowGTK::GtkSendPaintEvents() { if (!m_wxwindow) { -#ifndef __WXGTK20__ +#ifndef __WXGTK20__ m_clearRegion.Clear(); #endif m_updateRegion.Clear(); @@ -3511,7 +3759,7 @@ void wxWindowGTK::GtkSendPaintEvents() #ifndef __WXGTK20__ // widget to draw on GtkPizza *pizza = GTK_PIZZA (m_wxwindow); - + // later for GTK 2.0, too. if (GetThemeEnabled()) { @@ -3521,7 +3769,7 @@ void wxWindowGTK::GtkSendPaintEvents() parent = parent->GetParent(); if (!parent) parent = (wxWindow*)this; - + wxRegionIterator upd( m_updateRegion ); while (upd) { @@ -3530,7 +3778,7 @@ void wxWindowGTK::GtkSendPaintEvents() rect.y = upd.GetY(); rect.width = upd.GetWidth(); rect.height = upd.GetHeight(); - + gtk_paint_flat_box( parent->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL, @@ -3539,7 +3787,7 @@ void wxWindowGTK::GtkSendPaintEvents() parent->m_widget, (char *)"base", 0, 0, -1, -1 ); - + upd ++; } } @@ -3610,7 +3858,7 @@ void wxWindowGTK::GtkSendPaintEvents() { GtkPizzaChild *child = (GtkPizzaChild*) children->data; children = children->next; - + if (GTK_WIDGET_NO_WINDOW (child->widget) && GTK_WIDGET_DRAWABLE (child->widget)) { @@ -3656,7 +3904,7 @@ void wxWindowGTK::Clear() m_clearRegion.Clear(); wxSize size( GetClientSize() ); m_clearRegion.Union( 0,0,size.x,size.y ); - + // Better do this in idle? GtkUpdate(); } @@ -3687,10 +3935,10 @@ void wxWindowGTK::GtkSetBackgroundColour( const wxColour &colour ) window = GetConnectWidget()->window; wxASSERT( window ); - + // We need the pixel value e.g. for background clearing. m_backgroundColour.CalcPixel( gdk_window_get_colormap( window ) ); - + if (m_wxwindow) { // wxMSW doesn't clear the window here, either. @@ -3774,6 +4022,21 @@ bool wxWindowGTK::SetForegroundColour( const wxColour &colour ) return TRUE; } +#ifdef __WXGTK20__ +PangoContext *wxWindowGTK::GtkGetPangoDefaultContext() +{ + return gtk_widget_get_pango_context( m_widget ); +} + +PangoContext *wxWindowGTK::GtkGetPangoX11Context() +{ + if (!m_x11Context) + m_x11Context = pango_x_get_context( gdk_display ); + + return m_x11Context; +} +#endif + GtkStyle *wxWindowGTK::GetWidgetStyle() { if (m_widgetStyle) @@ -4271,7 +4534,7 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) ) wxCHECK_RET( m_widget != NULL, wxT("invalid window") ); wxCHECK_RET( m_wxwindow != NULL, wxT("window needs client area for scrolling") ); - + // No scrolling requested. if ((dx == 0) && (dy == 0)) return; diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index 20d8961d6c..eccbb52d0a 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -26,6 +26,7 @@ #include "wx/dialog.h" #include "wx/msgdlg.h" #include "wx/file.h" +#include "wx/filename.h" #if wxUSE_WX_RESOURCES #include "wx/resource.h" @@ -44,13 +45,32 @@ #endif #include -#if defined(__DARWIN__) -# warning "FIXME: select must be used instead of poll (GD)" -#elif defined(__VMS) -# include -#else -# include -#endif + +#ifdef HAVE_POLL + #if defined(__VMS) + #include + #else + // bug in the OpenBSD headers: at least in 3.1 there is no extern "C" + // in neither poll.h nor sys/poll.h which results in link errors later + #ifdef __OPENBSD__ + extern "C" + { + #endif + + #include + + #ifdef __OPENBSD__ + }; + #endif + #endif // platform +#else // !HAVE_POLL + // we implement poll() ourselves using select() which is supposed exist in + // all modern Unices + #include + #include + #include +#endif // HAVE_POLL/!HAVE_POLL + #include "wx/gtk/win_gtk.h" #include @@ -250,22 +270,82 @@ static gint wxapp_idle_callback( gpointer WXUNUSED(data) ) #if wxUSE_THREADS +#ifdef HAVE_POLL + #define wxPoll poll + #define wxPollFd pollfd +#else // !HAVE_POLL + +typedef GPollFD wxPollFd; + +int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout) +{ + // convert timeout from ms to struct timeval (s/us) + timeval tv_timeout; + tv_timeout.tv_sec = timeout/1000; + tv_timeout.tv_usec = (timeout%1000)*1000; + + // remember the highest fd used here + int fdMax = -1; + + // and fill the sets for select() + fd_set readfds; + fd_set writefds; + fd_set exceptfds; + FD_ZERO(&readfds); + FD_ZERO(&writefds); + FD_ZERO(&exceptfds); + + unsigned int i; + for ( i = 0; i < nfds; i++ ) + { + wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") ); + + if ( ufds[i].events & G_IO_IN ) + FD_SET(ufds[i].fd, &readfds); + + if ( ufds[i].events & G_IO_PRI ) + FD_SET(ufds[i].fd, &exceptfds); + + if ( ufds[i].events & G_IO_OUT ) + FD_SET(ufds[i].fd, &writefds); + + if ( ufds[i].fd > fdMax ) + fdMax = ufds[i].fd; + } + + fdMax++; + int res = select(fdMax, &readfds, &writefds, &exceptfds, &tv_timeout); + + // translate the results back + for ( i = 0; i < nfds; i++ ) + { + ufds[i].revents = 0; + + if ( FD_ISSET(ufds[i].fd, &readfds ) ) + ufds[i].revents |= G_IO_IN; + + if ( FD_ISSET(ufds[i].fd, &exceptfds ) ) + ufds[i].revents |= G_IO_PRI; + + if ( FD_ISSET(ufds[i].fd, &writefds ) ) + ufds[i].revents |= G_IO_OUT; + } + + return res; +} + +#endif // HAVE_POLL/!HAVE_POLL + static gint wxapp_poll_func( GPollFD *ufds, guint nfds, gint timeout ) { - gint res; gdk_threads_enter(); wxMutexGuiLeave(); g_mainThreadLocked = TRUE; -#ifdef __DARWIN__ - // FIXME: poll is not available under Darwin/Mac OS X and this needs - // to be implemented using select instead (GD) - // what about other BSD derived systems? - res = -1; -#else - res = poll( (struct pollfd*) ufds, nfds, timeout ); -#endif + // we rely on the fact that glib GPollFD struct is really just pollfd but + // I wonder how wise is this in the long term (VZ) + gint res = wxPoll( (wxPollFd *) ufds, nfds, timeout ); wxMutexGuiEnter(); g_mainThreadLocked = FALSE; @@ -463,6 +543,16 @@ GdkVisual *wxApp::GetGdkVisual() bool wxApp::ProcessIdle() { + wxWindowList::Node* node = wxTopLevelWindows.GetFirst(); + node = wxTopLevelWindows.GetFirst(); + while (node) + { + wxWindow* win = node->GetData(); + CallInternalIdle( win ); + + node = node->GetNext(); + } + wxIdleEvent event; event.SetEventObject( this ); ProcessEvent( event ); @@ -510,14 +600,6 @@ bool wxApp::SendIdleEvents() node = node->GetNext(); } - node = wxTopLevelWindows.GetFirst(); - while (node) - { - wxWindow* win = node->GetData(); - CallInternalIdle( win ); - - node = node->GetNext(); - } return needMore; } @@ -545,7 +627,7 @@ bool wxApp::SendIdleEvents( wxWindow* win ) event.SetEventObject(win); win->GetEventHandler()->ProcessEvent(event); - + if (event.MoreRequested()) needMore = TRUE; @@ -609,10 +691,6 @@ bool wxApp::Initialize() { wxClassInfo::InitializeClasses(); -#if wxUSE_INTL - wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); -#endif - // GL: I'm annoyed ... I don't know where to put this and I don't want to // create a module for that as it's part of the core. #if wxUSE_THREADS @@ -631,7 +709,12 @@ bool wxApp::Initialize() #endif wxModule::RegisterModules(); - if (!wxModule::InitializeModules()) return FALSE; + if (!wxModule::InitializeModules()) + return FALSE; + +#if wxUSE_INTL + wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); +#endif return TRUE; } @@ -810,9 +893,11 @@ int wxEntry( int argc, char *argv[] ) wxTheApp->argv = argv; #endif - wxString name(wxFileNameFromPath(argv[0])); - wxStripExtension( name ); - wxTheApp->SetAppName( name ); + if (wxTheApp->argc > 0) + { + wxFileName fname( wxTheApp->argv[0] ); + wxTheApp->SetAppName( fname.GetName() ); + } int retValue; retValue = wxEntryInitGui(); diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index 033071565e..d2e9fda7f0 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -344,7 +344,7 @@ bool wxBitmap::CreateFromImage( const wxImage& image, int depth ) m_refData = new wxBitmapRefData(); // ------ - // convertion to mono bitmap: + // conversion to mono bitmap: // ------ if (depth == 1) { @@ -440,7 +440,7 @@ bool wxBitmap::CreateFromImage( const wxImage& image, int depth ) } // ------ - // convertion to colour bitmap: + // conversion to colour bitmap: // ------ else { diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index 711b64f16c..fae04c1372 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -188,6 +188,15 @@ bool wxButton::Enable( bool enable ) return TRUE; } +bool wxButton::IsOwnGtkWindow( GdkWindow *window ) +{ +#ifdef __WXGTK20__ + return GTK_BUTTON(m_widget)->event_window; +#else + return (window == m_widget->window); +#endif +} + void wxButton::ApplyWidgetStyle() { SetWidgetStyle(); diff --git a/src/gtk1/colour.cpp b/src/gtk1/colour.cpp index 84c790a329..21d852e55d 100644 --- a/src/gtk1/colour.cpp +++ b/src/gtk1/colour.cpp @@ -13,6 +13,7 @@ #endif #include "wx/gdicmn.h" +#include "wx/gtk/private.h" #include #include @@ -167,7 +168,7 @@ void wxColour::InitFromName( const wxString &colourName ) { m_refData = new wxColourRefData(); - if (!gdk_color_parse( colourName.mb_str(), &M_COLDATA->m_color )) + if (!gdk_color_parse( wxGTK_CONV( colourName ), &M_COLDATA->m_color )) { // VZ: asserts are good in general but this one is triggered by // calling wxColourDatabase::FindColour() with an @@ -217,11 +218,13 @@ void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue ) { AllocExclusive(); - m_refData = new wxColourRefData(); M_COLDATA->m_color.red = ((unsigned short)red) << SHIFT; M_COLDATA->m_color.green = ((unsigned short)green) << SHIFT; M_COLDATA->m_color.blue = ((unsigned short)blue) << SHIFT; M_COLDATA->m_color.pixel = 0; + + M_COLDATA->m_colormap = (GdkColormap*) NULL; + M_COLDATA->m_hasPixel = FALSE; } unsigned char wxColour::Red() const diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index a03df573b1..ee0cc2e8d5 100644 --- a/src/gtk1/combobox.cpp +++ b/src/gtk1/combobox.cpp @@ -209,6 +209,17 @@ wxComboBox::~wxComboBox() m_clientDataList.Clear(); } +void wxComboBox::SetFocus() +{ + if ( m_hasFocus ) + { + // don't do anything if we already have focus + return; + } + + gtk_widget_grab_focus( m_focusWidget ); +} + void wxComboBox::AppendCommon( const wxString &item ) { wxCHECK_RET( m_widget != NULL, wxT("invalid combobox") ); @@ -364,8 +375,14 @@ int wxComboBox::FindString( const wxString &item ) { GtkBin *bin = GTK_BIN( child->data ); GtkLabel *label = GTK_LABEL( bin->child ); - if (item == wxString(label->label,*wxConvCurrent)) +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + if (item == str) return count; + count++; child = child->next; } @@ -408,7 +425,7 @@ wxString wxComboBox::GetString( int n ) const GtkBin *bin = GTK_BIN( child->data ); GtkLabel *label = GTK_LABEL( bin->child ); #ifdef __WXGTK20__ - str = wxGTK_CONV_BACK( gtk_label_get_text( label) ); + str = wxGTK_CONV_BACK( gtk_label_get_text(label) ); #else str = wxString( label->label ); #endif @@ -431,7 +448,12 @@ wxString wxComboBox::GetStringSelection() const if (selection) { GtkBin *bin = GTK_BIN( selection->data ); - wxString tmp = wxString(GTK_LABEL( bin->child )->label,*wxConvCurrent); + GtkLabel *label = GTK_LABEL( bin->child ); +#ifdef __WXGTK20__ + wxString tmp( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString tmp( label->label ); +#endif return tmp; } diff --git a/src/gtk1/dataobj.cpp b/src/gtk1/dataobj.cpp index ca8fb4dbd6..2b0f4f43ae 100644 --- a/src/gtk1/dataobj.cpp +++ b/src/gtk1/dataobj.cpp @@ -158,6 +158,11 @@ wxDataObject::wxDataObject() { } +wxDataObject::~wxDataObject() +{ + // dtor is empty but needed for Darwin and AIX -- otherwise it doesn't link +} + bool wxDataObject::IsSupportedFormat(const wxDataFormat& format, Direction dir) const { size_t nFormatCount = GetFormatCount(dir); diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 8a33377614..d36b26b870 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -330,12 +330,7 @@ wxWindowDC::wxWindowDC( wxWindow *window ) wxASSERT_MSG( widget, wxT("DC needs a widget") ); #ifdef __WXGTK20__ - m_context = gtk_widget_get_pango_context( widget ); - - // Always take Xft context to get matching fonts - // for display and printing. - // m_context = pango_xft_get_context (GDK_DISPLAY (), DefaultScreen (GDK_DISPLAY ())); - + m_context = window->GtkGetPangoDefaultContext(); m_fontdesc = widget->style->font_desc; #endif @@ -1414,19 +1409,23 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) wxCHECK_RET( Ok(), wxT("invalid window dc") ); if (!m_window) return; + + if (text.empty()) return; +#ifndef __WXGTK20__ GdkFont *font = m_font.GetInternalFont( m_scaleY ); wxCHECK_RET( font, wxT("invalid font") ); +#endif -#if defined(__WXGTK20__) +#ifdef __WXGTK20__ wxCHECK_RET( m_context, wxT("no Pango context") ); #endif x = XLOG2DEV(x); y = YLOG2DEV(y); -#if defined(__WXGTK20__) +#ifdef __WXGTK20__ // TODO: the layout engine should be abstracted at a higher level! PangoLayout *layout = pango_layout_new(m_context); pango_layout_set_font_description(layout, m_fontdesc); @@ -1440,12 +1439,17 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); #endif } - PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; - PangoRectangle rect; - pango_layout_line_get_extents(line, NULL, &rect); - wxCoord width = rect.width; - wxCoord height = rect.height; + + // Measure layout. + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + wxCoord width = w; + wxCoord height = h; + + // Draw layout. gdk_draw_layout( m_window, m_textGC, x, y, layout ); + + g_object_unref( G_OBJECT( layout ) ); #else // GTK+ 1.x wxCoord width = gdk_string_width( font, text.mbc_str() ); wxCoord height = font->ascent + font->descent; @@ -1469,9 +1473,6 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) } #endif // GTK+ 2.0/1.x -#if defined(__WXGTK20__) - g_object_unref( G_OBJECT( layout ) ); -#endif width = wxCoord(width / m_scaleX); height = wxCoord(height / m_scaleY); @@ -1596,8 +1597,6 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, wxCoord *descent, wxCoord *externalLeading, wxFont *theFont) const { - wxFont fontToUse = m_font; - if (theFont) fontToUse = *theFont; if (string.IsEmpty()) { if (width) (*width) = 0; @@ -1606,9 +1605,14 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, } #ifdef __WXGTK20__ - PangoFontDescription *desc = fontToUse.GetNativeFontInfo()->description; + // Create layout and set font description PangoLayout *layout = pango_layout_new(m_context); - pango_layout_set_font_description(layout, desc); + if (theFont) + pango_layout_set_font_description( layout, theFont->GetNativeFontInfo()->description ); + else + pango_layout_set_font_description(layout, m_fontdesc); + + // Set layout's text #if wxUSE_UNICODE const wxCharBuffer data = wxConvUTF8.cWC2MB( string ); pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); @@ -1617,23 +1621,25 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, const wxCharBuffer data = wxConvUTF8.cWC2MB( wdata ); pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); #endif - PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; - PangoRectangle rect; - pango_layout_line_get_extents(line, NULL, &rect); - + // Measure text. + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); - if (width) (*width) = (wxCoord) (rect.width / PANGO_SCALE); - if (height) (*height) = (wxCoord) (rect.height / PANGO_SCALE); + if (width) (*width) = (wxCoord) w; + if (height) (*height) = (wxCoord) h; if (descent) { - // Do something about metrics here + // Do something about metrics here. TODO. (*descent) = 0; } if (externalLeading) (*externalLeading) = 0; // ?? g_object_unref( G_OBJECT( layout ) ); #else + wxFont fontToUse = m_font; + if (theFont) fontToUse = *theFont; + GdkFont *font = fontToUse.GetInternalFont( m_scaleY ); if (width) (*width) = wxCoord(gdk_string_width( font, string.mbc_str() ) / m_scaleX); if (height) (*height) = wxCoord((font->ascent + font->descent) / m_scaleY); @@ -1644,18 +1650,40 @@ void wxWindowDC::DoGetTextExtent(const wxString &string, wxCoord wxWindowDC::GetCharWidth() const { +#ifdef __WXGTK20__ + // There should be an easier way. + PangoLayout *layout = pango_layout_new(m_context); + pango_layout_set_font_description(layout, m_fontdesc); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + return w; +#else GdkFont *font = m_font.GetInternalFont( m_scaleY ); wxCHECK_MSG( font, -1, wxT("invalid font") ); return wxCoord(gdk_string_width( font, "H" ) / m_scaleX); +#endif } wxCoord wxWindowDC::GetCharHeight() const { +#ifdef __WXGTK20__ + // There should be an easier way. + PangoLayout *layout = pango_layout_new(m_context); + pango_layout_set_font_description(layout, m_fontdesc); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + return h; +#else GdkFont *font = m_font.GetInternalFont( m_scaleY ); wxCHECK_MSG( font, -1, wxT("invalid font") ); return wxCoord((font->ascent + font->descent) / m_scaleY); +#endif } void wxWindowDC::Clear() @@ -1705,6 +1733,14 @@ void wxWindowDC::SetFont( const wxFont &font ) m_font = font; #ifdef __WXGTK20__ m_fontdesc = m_font.GetNativeFontInfo()->description; + + if (m_owner) + { + if (m_font.GetNoAntiAliasing()) + m_context = m_owner->GtkGetPangoX11Context(); + else + m_context = m_owner->GtkGetPangoDefaultContext(); + } #endif } @@ -1816,7 +1852,7 @@ void wxWindowDC::SetPen( const wxPen &pen ) gdk_gc_set_dashes( m_penGC, 0, (wxGTKDash*)req_dash, req_nb_dash ); } } -#endif +#endif // GTK+ > 1.0 GdkCapStyle capStyle = GDK_CAP_ROUND; switch (m_pen.GetCap()) @@ -1955,12 +1991,12 @@ void wxWindowDC::SetLogicalFunction( int function ) if (!m_window) return; - GdkFunction mode = GDK_COPY; + GdkFunction mode; switch (function) { case wxXOR: mode = GDK_XOR; break; case wxINVERT: mode = GDK_INVERT; break; -#if (GTK_MINOR_VERSION > 0) +#if (GTK_MINOR_VERSION > 0) || (GTK_MAJOR_VERSION > 1) case wxOR_REVERSE: mode = GDK_OR_REVERSE; break; case wxAND_REVERSE: mode = GDK_AND_REVERSE; break; case wxCLEAR: mode = GDK_CLEAR; break; @@ -1977,12 +2013,10 @@ void wxWindowDC::SetLogicalFunction( int function ) // unsupported by GTK case wxNOR: mode = GDK_COPY; break; -#endif +#endif // GTK+ > 1.0 default: - { wxFAIL_MSG( wxT("unsupported logical function") ); - break; - } + mode = GDK_COPY; } m_logicalFunction = function; diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index 68a991a371..4c95d23682 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -30,8 +30,6 @@ extern void wxapp_install_idle_handler(); extern bool g_isIdle; extern int g_openDialogs; - - //----------------------------------------------------------------------------- // wxDialog //----------------------------------------------------------------------------- @@ -209,9 +207,11 @@ int wxDialog::ShowModal() } wxBusyCursorSuspender cs; // temporarily suppress the busy cursor - + Show( TRUE ); + SetFocus(); + m_modalShowing = TRUE; g_openDialogs++; diff --git a/src/gtk1/files.lst b/src/gtk1/files.lst index 68e2a7dacd..0f77d8693d 100644 --- a/src/gtk1/files.lst +++ b/src/gtk1/files.lst @@ -265,7 +265,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -636,7 +635,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -984,7 +982,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 31345187cb..2fd0ad6f5f 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -93,6 +93,9 @@ public: void SetFaceName(const wxString& facename); void SetEncoding(wxFontEncoding encoding); + void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; } + bool GetNoAntiAliasing() { return m_noAA; } + // and this one also modifies all the other font data fields void SetNativeFontInfo(const wxNativeFontInfo& info); @@ -130,17 +133,14 @@ protected: void InitFromNative(); private: -#ifdef __WXGTK20__ - void ClearGdkFonts() { } -#else // GTK 1.x - // clear m_scaled_xfonts + // clear m_scaled_xfonts if any void ClearGdkFonts(); +#ifndef __WXGTK20__ // the map of font sizes to "GdkFont *" wxScaledFontList m_scaled_xfonts; #endif // GTK 2.0/1.x - // the broken down font parameters int m_pointSize; int m_family, m_style, @@ -148,6 +148,7 @@ private: bool m_underlined; wxString m_faceName; wxFontEncoding m_encoding; // Unused under GTK 2.0 + bool m_noAA; // No anti-aliasing // The native font info, basicly an XFLD under GTK 1.2 and // the pango font description under GTK 2.0. @@ -156,12 +157,8 @@ private: friend class wxFont; }; -// ============================================================================ -// wxFontRefData implementation -// ============================================================================ - // ---------------------------------------------------------------------------- -// wxFontRefData creation +// wxFontRefData // ---------------------------------------------------------------------------- void wxFontRefData::Init(int pointSize, @@ -188,25 +185,37 @@ void wxFontRefData::Init(int pointSize, m_underlined = underlined; m_encoding = encoding; + + m_noAA = FALSE; #ifdef __WXGTK20__ // Create native font info m_nativeFontInfo.description = pango_font_description_new(); // And set its values - switch (m_family) - { - case wxFONTFAMILY_MODERN: - case wxFONTFAMILY_TELETYPE: - pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); - break; - case wxFONTFAMILY_SWISS: - pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); - break; - default: - pango_font_description_set_family( m_nativeFontInfo.description, "sans" ); - break; + if (!m_faceName.empty()) + { + pango_font_description_set_family( m_nativeFontInfo.description, wxGTK_CONV(m_faceName) ); + } + else + { + switch (m_family) + { + case wxFONTFAMILY_MODERN: + case wxFONTFAMILY_TELETYPE: + pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); + break; + case wxFONTFAMILY_ROMAN: + pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); + break; + case wxFONTFAMILY_SWISS: + // SWISS = sans serif + default: + pango_font_description_set_family( m_nativeFontInfo.description, "sans" ); + break; + } } + SetStyle( m_style ); SetPointSize( m_pointSize ); SetWeight( m_weight ); @@ -215,6 +224,8 @@ void wxFontRefData::Init(int pointSize, void wxFontRefData::InitFromNative() { + m_noAA = FALSE; + #ifdef __WXGTK20__ // Get native info PangoFontDescription *desc = m_nativeFontInfo.description; @@ -267,6 +278,10 @@ void wxFontRefData::InitFromNative() { m_family = wxFONTFAMILY_SWISS; } + else if (m_faceName == wxT("serif")) + { + m_family = wxFONTFAMILY_ROMAN; + } else { m_family = wxFONTFAMILY_UNKNOWN; @@ -391,6 +406,8 @@ wxFontRefData::wxFontRefData( const wxFontRefData& data ) m_faceName = data.m_faceName; m_encoding = data.m_encoding; + m_noAA = data.m_noAA; + m_nativeFontInfo = data.m_nativeFontInfo; } @@ -414,9 +431,9 @@ wxFontRefData::wxFontRefData(const wxString& fontname) InitFromNative(); } -#ifndef __WXGTK20__ void wxFontRefData::ClearGdkFonts() { +#ifndef __WXGTK20__ for ( wxScaledFontList::iterator i = m_scaled_xfonts.begin(); i != m_scaled_xfonts.end(); ++i ) @@ -426,8 +443,8 @@ void wxFontRefData::ClearGdkFonts() } m_scaled_xfonts.clear(); -} #endif // GTK 1.x +} wxFontRefData::~wxFontRefData() { @@ -522,7 +539,27 @@ void wxFontRefData::SetWeight(int weight) { m_weight = weight; -#ifndef __WXGTK20__ +#ifdef __WXGTK20__ + PangoFontDescription *desc = m_nativeFontInfo.description; + switch ( weight ) + { + case wxFONTWEIGHT_BOLD: + pango_font_description_set_weight(desc, PANGO_WEIGHT_BOLD); + break; + + case wxFONTWEIGHT_LIGHT: + pango_font_description_set_weight(desc, PANGO_WEIGHT_LIGHT); + break; + + default: + wxFAIL_MSG( _T("unknown font weight") ); + // fall through + + case wxFONTWEIGHT_NORMAL: + // unspecified + pango_font_description_set_weight(desc, PANGO_WEIGHT_NORMAL); + } +#else //!__WXGTK20__ if ( HasNativeFont() ) { wxString boldness; @@ -597,10 +634,6 @@ void wxFontRefData::SetNativeFontInfo(const wxNativeFontInfo& info) InitFromNative(); } -// ============================================================================ -// wxFont implementation -// ============================================================================ - // ---------------------------------------------------------------------------- // wxFont creation // ---------------------------------------------------------------------------- @@ -624,7 +657,7 @@ wxFont::wxFont(const wxNativeFontInfo& info) info.GetFaceName(), info.GetEncoding() ); #else - Create(info.GetXFontName()); + (void) Create(info.GetXFontName()); #endif } @@ -636,6 +669,8 @@ bool wxFont::Create( int pointSize, const wxString& face, wxFontEncoding encoding) { + UnRef(); + m_refData = new wxFontRefData(pointSize, family, style, weight, underlined, face, encoding); @@ -679,9 +714,6 @@ wxFont::~wxFont() // accessors // ---------------------------------------------------------------------------- -// all accessors are just forwarded to wxFontRefData which has everything we -// need - int wxFont::GetPointSize() const { wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); @@ -731,6 +763,13 @@ wxFontEncoding wxFont::GetEncoding() const return M_FONTDATA->m_encoding; } +bool wxFont::GetNoAntiAliasing() +{ + wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") ); + + return M_FONTDATA->m_noAA; +} + wxNativeFontInfo *wxFont::GetNativeFontInfo() const { wxCHECK_MSG( Ok(), (wxNativeFontInfo *)NULL, wxT("invalid font") ); @@ -814,11 +853,18 @@ void wxFont::SetEncoding(wxFontEncoding encoding) M_FONTDATA->SetEncoding(encoding); } -void wxFont::SetNativeFontInfo(const wxNativeFontInfo& info) +void wxFont::SetNativeFontInfo( const wxNativeFontInfo& info ) +{ + Unshare(); + + M_FONTDATA->SetNativeFontInfo( info ); +} + +void wxFont::SetNoAntiAliasing( bool no ) { Unshare(); - M_FONTDATA->SetNativeFontInfo(info); + M_FONTDATA->SetNoAntiAliasing( no ); } // ---------------------------------------------------------------------------- diff --git a/src/gtk1/fontdlg.cpp b/src/gtk1/fontdlg.cpp index 4582a5c002..3dfb008131 100644 --- a/src/gtk1/fontdlg.cpp +++ b/src/gtk1/fontdlg.cpp @@ -77,7 +77,7 @@ void gtk_fontdialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFontDialog *dial // printf( "font %s\n", fontname ); - dialog->SetChosenFont(fontname); + dialog->SetChosenFont( fontname); g_free( fontname ); @@ -181,7 +181,7 @@ wxFontDialog::~wxFontDialog() void wxFontDialog::SetChosenFont(const char *fontname) { - m_fontData.SetChosenFont(wxFont(fontname)); + m_fontData.SetChosenFont(wxFont( wxString::FromAscii(fontname) )); } #endif // wxUSE_FONTDLG diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index acad4c3355..7e1ed2b2ba 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -45,7 +45,6 @@ // constants // ---------------------------------------------------------------------------- -const int wxMENU_HEIGHT = 27; const int wxSTATUS_HEIGHT = 25; const int wxPLACE_HOLDER = 0; @@ -165,7 +164,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_y, child->m_width, child->m_height ); - + #if wxUSE_TOOLBAR_NATIVE // We connect to these events for recalculating the client area // space when the toolbar is floating @@ -193,7 +192,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_width, child->m_height ); } - + // Resize on OnInternalIdle parent->GtkUpdateSize(); } @@ -206,6 +205,7 @@ void wxFrame::Init() { m_menuBarDetached = FALSE; m_toolBarDetached = FALSE; + m_menuBarHeight = 2; } bool wxFrame::Create( wxWindow *parent, @@ -219,6 +219,7 @@ bool wxFrame::Create( wxWindow *parent, bool rt = wxTopLevelWindow::Create(parent, id, title, pos, sizeOrig, style, name); m_insertCallback = (wxInsertChildFunction) wxInsertChildInFrame; + return rt; } @@ -245,7 +246,7 @@ void wxFrame::DoGetClientSize( int *width, int *height ) const if (m_frameMenuBar) { if (!m_menuBarDetached) - (*height) -= wxMENU_HEIGHT; + (*height) -= m_menuBarHeight; else (*height) -= wxPLACE_HOLDER; } @@ -292,7 +293,7 @@ void wxFrame::DoSetClientSize( int width, int height ) if (m_frameMenuBar) { if (!m_menuBarDetached) - height += wxMENU_HEIGHT; + height += m_menuBarHeight; else height += wxPLACE_HOLDER; } @@ -396,7 +397,7 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int xx = m_miniEdge; int yy = m_miniEdge + m_miniTitle; int ww = m_width - 2*m_miniEdge; - int hh = wxMENU_HEIGHT; + int hh = m_menuBarHeight; if (m_menuBarDetached) hh = wxPLACE_HOLDER; m_frameMenuBar->m_x = xx; m_frameMenuBar->m_y = yy; @@ -419,7 +420,7 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), if (m_frameMenuBar) { if (!m_menuBarDetached) - yy += wxMENU_HEIGHT; + yy += m_menuBarHeight; else yy += wxPLACE_HOLDER; } @@ -576,11 +577,34 @@ void wxFrame::AttachMenuBar( wxMenuBar *menuBar ) gtk_signal_connect( GTK_OBJECT(menuBar->m_widget), "child_detached", GTK_SIGNAL_FUNC(gtk_menu_detached_callback), (gpointer)this ); } - + m_frameMenuBar->Show( TRUE ); + + UpdateMenuBarSize(); } + else + { + m_menuBarHeight = 2; + GtkUpdateSize(); // resize window in OnInternalIdle + } +} + +void wxFrame::UpdateMenuBarSize() +{ + wxASSERT_MSG( m_frameMenuBar, _T("Updating non existant menubar?") ); + + GtkRequisition req; + + req.width = 2; + req.height = 2; + + (* GTK_WIDGET_CLASS( GTK_OBJECT_GET_CLASS(m_frameMenuBar->m_widget) )->size_request ) + (m_frameMenuBar->m_widget, &req ); + + m_menuBarHeight = req.height; + + // resize window in OnInternalIdle - // resize window in OnInternalIdle GtkUpdateSize(); } diff --git a/src/gtk1/gauge.cpp b/src/gtk1/gauge.cpp index 917ab60307..f180206c79 100644 --- a/src/gtk1/gauge.cpp +++ b/src/gtk1/gauge.cpp @@ -15,18 +15,22 @@ #if wxUSE_GAUGE -#include #include //----------------------------------------------------------------------------- // wxGauge //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxGauge,wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) -bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, - const wxPoint& pos, const wxSize& size, - long style, const wxValidator& validator, const wxString& name ) +bool wxGauge::Create( wxWindow *parent, + wxWindowID id, + int range, + const wxPoint& pos, + const wxSize& size, + long style, + const wxValidator& validator, + const wxString& name ) { m_needParent = TRUE; @@ -38,12 +42,13 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, } m_rangeMax = range; - m_gaugePos = 0; - m_useProgressBar = TRUE; m_widget = gtk_progress_bar_new(); - if( style & wxGA_VERTICAL) - gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget) , GTK_PROGRESS_BOTTOM_TO_TOP ); + if ( style & wxGA_VERTICAL ) + { + gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget), + GTK_PROGRESS_BOTTOM_TO_TOP ); + } m_parent->DoAddChild( this ); @@ -54,20 +59,31 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, return TRUE; } -void wxGauge::SetRange( int r ) +void wxGauge::DoSetGauge() +{ + wxASSERT_MSG( 0 <= m_gaugePos && m_gaugePos <= m_rangeMax, + _T("invalid gauge position in DoSetGauge()") ); + + gtk_progress_bar_update( GTK_PROGRESS_BAR(m_widget), + m_rangeMax ? ((float)m_gaugePos)/m_rangeMax : 0.); +} + +void wxGauge::SetRange( int range ) { - m_rangeMax = r; - if (m_gaugePos > m_rangeMax) m_gaugePos = m_rangeMax; + m_rangeMax = range; + if (m_gaugePos > m_rangeMax) + m_gaugePos = m_rangeMax; - gtk_progress_bar_update( GTK_PROGRESS_BAR(m_widget), ((float)m_gaugePos)/m_rangeMax ); + DoSetGauge(); } void wxGauge::SetValue( int pos ) { + wxCHECK_RET( pos <= m_rangeMax, _T("invalid value in wxGauge::SetValue()") ); + m_gaugePos = pos; - if (m_gaugePos > m_rangeMax) m_gaugePos = m_rangeMax; - gtk_progress_bar_update( GTK_PROGRESS_BAR(m_widget), ((float)m_gaugePos)/m_rangeMax ); + DoSetGauge(); } int wxGauge::GetRange() const diff --git a/src/gtk1/glcanvas.cpp b/src/gtk1/glcanvas.cpp index e46cac9e32..ff037160c6 100644 --- a/src/gtk1/glcanvas.cpp +++ b/src/gtk1/glcanvas.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: glcanvas.cpp +// Name: gtk/glcanvas.cpp // Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWindows and GTK // Author: Robert Roebling // Modified by: // Created: 17/08/98 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -24,7 +24,8 @@ #include "wx/module.h" #include "wx/app.h" -extern "C" { +extern "C" +{ #include "gtk/gtk.h" #include "gdk/gdk.h" #include "gdk/gdkx.h" @@ -58,16 +59,16 @@ wxGLContext::wxGLContext( bool WXUNUSED(isRGB), wxWindow *win, const wxPalette& wxGLCanvas *gc = (wxGLCanvas*) win; XVisualInfo *vi = (XVisualInfo *) gc->m_vi; - - wxCHECK_RET( vi, "invalid visual for OpenGl" ); - + + wxCHECK_RET( vi, _T("invalid visual for OpenGl") ); + m_glContext = glXCreateContext( GDK_DISPLAY(), vi, None, GL_TRUE ); - - wxCHECK_RET( m_glContext, "Couldn't create OpenGl context" ); + + wxCHECK_RET( m_glContext, _T("Couldn't create OpenGl context") ); } -wxGLContext::wxGLContext( - bool WXUNUSED(isRGB), wxWindow *win, +wxGLContext::wxGLContext( + bool WXUNUSED(isRGB), wxWindow *win, const wxPalette& WXUNUSED(palette), const wxGLContext *other /* for sharing display lists */ ) @@ -77,26 +78,28 @@ wxGLContext::wxGLContext( wxGLCanvas *gc = (wxGLCanvas*) win; XVisualInfo *vi = (XVisualInfo *) gc->m_vi; - - wxCHECK_RET( vi, "invalid visual for OpenGl" ); - - if( other != 0 ) - m_glContext = glXCreateContext( GDK_DISPLAY(), vi, other->m_glContext, GL_TRUE ); - else - m_glContext = glXCreateContext( GDK_DISPLAY(), vi, None, GL_TRUE ); - - wxCHECK_RET( m_glContext, "Couldn't create OpenGl context" ); + + wxCHECK_RET( vi, _T("invalid visual for OpenGl") ); + + m_glContext = glXCreateContext( GDK_DISPLAY(), vi, + other ? other->m_glContext : None, + GL_TRUE ); + + if ( !m_glContext ) + { + wxFAIL_MSG( _T("Couldn't create OpenGl context") ); + } } wxGLContext::~wxGLContext() { if (!m_glContext) return; - + if (m_glContext == glXGetCurrentContext()) { glXMakeCurrent( GDK_DISPLAY(), None, NULL); } - + glXDestroyContext( GDK_DISPLAY(), m_glContext ); } @@ -111,14 +114,14 @@ void wxGLContext::SwapBuffers() void wxGLContext::SetCurrent() { - if (m_glContext) - { + if (m_glContext) + { GdkWindow *window = GTK_PIZZA(m_widget)->bin_window; glXMakeCurrent( GDK_DISPLAY(), GDK_WINDOW_XWINDOW(window), m_glContext ); } } -void wxGLContext::SetColour(const char *colour) +void wxGLContext::SetColour(const wxChar *colour) { float r = 0.0; float g = 0.0; @@ -185,10 +188,10 @@ gtk_glwindow_map_callback( GtkWidget * WXUNUSED(widget), wxGLCanvas *win ) // "expose_event" of m_wxwindow //----------------------------------------------------------------------------- -static void +static void gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_event, wxGLCanvas *win ) { - if (g_isIdle) + if (g_isIdle) wxapp_install_idle_handler(); win->m_exposed = TRUE; @@ -203,10 +206,10 @@ gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_e // "draw" of m_wxwindow //----------------------------------------------------------------------------- -static void +static void gtk_glwindow_draw_callback( GtkWidget *WXUNUSED(widget), GdkRectangle *rect, wxGLCanvas *win ) { - if (g_isIdle) + if (g_isIdle) wxapp_install_idle_handler(); win->m_exposed = TRUE; @@ -219,7 +222,7 @@ gtk_glwindow_draw_callback( GtkWidget *WXUNUSED(widget), GdkRectangle *rect, wxG // "size_allocate" of m_wxwindow //----------------------------------------------------------------------------- -static void +static void gtk_glcanvas_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation* alloc, wxGLCanvas *win ) { if (g_isIdle) @@ -244,77 +247,80 @@ BEGIN_EVENT_TABLE(wxGLCanvas, wxWindow) END_EVENT_TABLE() wxGLCanvas::wxGLCanvas( wxWindow *parent, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette ) + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette ) { Create( parent, NULL, NULL, id, pos, size, style, name, attribList, palette ); } -wxGLCanvas::wxGLCanvas( wxWindow *parent, +wxGLCanvas::wxGLCanvas( wxWindow *parent, const wxGLContext *shared, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette ) -{ + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette ) +{ Create( parent, shared, NULL, id, pos, size, style, name, attribList, palette ); } -wxGLCanvas::wxGLCanvas( wxWindow *parent, +wxGLCanvas::wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette ) -{ + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette ) +{ Create( parent, NULL, shared, id, pos, size, style, name, attribList, palette ); } -bool wxGLCanvas::Create( wxWindow *parent, +bool wxGLCanvas::Create( wxWindow *parent, const wxGLContext *shared, const wxGLCanvas *shared_context_of, wxWindowID id, - const wxPoint& pos, const wxSize& size, - long style, const wxString& name, - int *attribList, - const wxPalette& palette) + const wxPoint& pos, const wxSize& size, + long style, const wxString& name, + int *attribList, + const wxPalette& palette) { m_sharedContext = (wxGLContext*)shared; // const_cast m_sharedContextOf = (wxGLCanvas*)shared_context_of; // const_cast m_glContext = (wxGLContext*) NULL; - + m_exposed = FALSE; m_noExpose = TRUE; m_nativeSizeEvent = TRUE; - + XVisualInfo *vi = NULL; - if (wxTheApp->m_glVisualInfo != NULL) { - vi = (XVisualInfo *) wxTheApp->m_glVisualInfo; + if (wxTheApp->m_glVisualInfo != NULL) + { + vi = (XVisualInfo *) wxTheApp->m_glVisualInfo; m_canFreeVi = FALSE; // owned by wxTheApp - don't free upon destruction - } else { + } + else + { vi = (XVisualInfo *) ChooseGLVisual(attribList); m_canFreeVi = TRUE; } m_vi = vi; // save for later use - - wxCHECK_MSG( m_vi, FALSE, "required visual couldn't be found" ); + + wxCHECK_MSG( m_vi, FALSE, _T("required visual couldn't be found") ); GdkVisual *visual = gdkx_visual_get( vi->visualid ); GdkColormap *colormap = gdk_colormap_new( gdkx_visual_get(vi->visualid), TRUE ); - + gtk_widget_push_colormap( colormap ); gtk_widget_push_visual( visual ); wxWindow::Create( parent, id, pos, size, style, name ); m_glWidget = m_wxwindow; - + gtk_pizza_set_clear( GTK_PIZZA(m_wxwindow), FALSE ); - + gtk_signal_connect( GTK_OBJECT(m_wxwindow), "realize", GTK_SIGNAL_FUNC(gtk_glwindow_realized_callback), (gpointer) this ); @@ -326,26 +332,26 @@ bool wxGLCanvas::Create( wxWindow *parent, gtk_signal_connect( GTK_OBJECT(m_wxwindow), "draw", GTK_SIGNAL_FUNC(gtk_glwindow_draw_callback), (gpointer)this ); - + gtk_signal_connect( GTK_OBJECT(m_widget), "size_allocate", GTK_SIGNAL_FUNC(gtk_glcanvas_size_callback), (gpointer)this ); gtk_widget_pop_visual(); gtk_widget_pop_colormap(); - + if (GTK_WIDGET_REALIZED(m_wxwindow)) gtk_glwindow_realized_callback( m_wxwindow, this ); - + if (GTK_WIDGET_MAPPED(m_wxwindow)) gtk_glwindow_map_callback( m_wxwindow, this ); - + return TRUE; } wxGLCanvas::~wxGLCanvas() { XVisualInfo *vi = (XVisualInfo *) m_vi; - + if (vi && m_canFreeVi) XFree( vi ); if (m_glContext) delete m_glContext; } @@ -365,12 +371,12 @@ void* wxGLCanvas::ChooseGLVisual(int *attribList) data[10] = GLX_ALPHA_SIZE; data[11] = 0; data[12] = None; - attribList = (int*) data; + attribList = (int*) data; } else { int arg=0, p=0; - + while( (attribList[arg]!=0) && (p<510) ) { switch( attribList[arg++] ) @@ -392,9 +398,9 @@ void* wxGLCanvas::ChooseGLVisual(int *attribList) data[p++]=GLX_BLUE_SIZE; data[p++]=attribList[arg++]; break; case WX_GL_MIN_ALPHA: data[p++]=GLX_ALPHA_SIZE; data[p++]=attribList[arg++]; break; - case WX_GL_DEPTH_SIZE: + case WX_GL_DEPTH_SIZE: data[p++]=GLX_DEPTH_SIZE; data[p++]=attribList[arg++]; break; - case WX_GL_STENCIL_SIZE: + case WX_GL_STENCIL_SIZE: data[p++]=GLX_STENCIL_SIZE; data[p++]=attribList[arg++]; break; case WX_GL_MIN_ACCUM_RED: data[p++]=GLX_ACCUM_RED_SIZE; data[p++]=attribList[arg++]; break; @@ -407,21 +413,22 @@ void* wxGLCanvas::ChooseGLVisual(int *attribList) default: break; } - } - data[p] = 0; + } + data[p] = 0; attribList = (int*) data; } - - + + Display *dpy = GDK_DISPLAY(); - + return glXChooseVisual( dpy, DefaultScreen(dpy), attribList ); } void wxGLCanvas::SwapBuffers() { - if (m_glContext) m_glContext->SwapBuffers(); + if (m_glContext) + m_glContext->SwapBuffers(); } void wxGLCanvas::OnSize(wxSizeEvent& WXUNUSED(event)) @@ -430,12 +437,14 @@ void wxGLCanvas::OnSize(wxSizeEvent& WXUNUSED(event)) void wxGLCanvas::SetCurrent() { - if (m_glContext) m_glContext->SetCurrent(); + if (m_glContext) + m_glContext->SetCurrent(); } -void wxGLCanvas::SetColour( const char *colour ) +void wxGLCanvas::SetColour( const wxChar *colour ) { - if (m_glContext) m_glContext->SetColour( colour ); + if (m_glContext) + m_glContext->SetColour( colour ); } void wxGLCanvas::OnInternalIdle() @@ -449,7 +458,7 @@ void wxGLCanvas::OnInternalIdle() m_exposed = FALSE; GetUpdateRegion().Clear(); } - + wxWindow::OnInternalIdle(); } @@ -460,17 +469,21 @@ void wxGLCanvas::OnInternalIdle() //--------------------------------------------------------------------------- IMPLEMENT_CLASS(wxGLApp, wxApp) - + wxGLApp::~wxGLApp() { - if (m_glVisualInfo) XFree(m_glVisualInfo); + if (m_glVisualInfo) + XFree(m_glVisualInfo); } bool wxGLApp::InitGLVisual(int *attribList) { - if (m_glVisualInfo) XFree(m_glVisualInfo); + if (m_glVisualInfo) + XFree(m_glVisualInfo); + m_glVisualInfo = wxGLCanvas::ChooseGLVisual(attribList); - return (m_glVisualInfo != NULL); + + return m_glVisualInfo != NULL; } #endif diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index 3ad658a264..46808ec081 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -1057,7 +1057,7 @@ wxSize wxListBox::DoGetBestSize() const // And just a bit more int cx, cy; - GetTextExtent("X", &cx, &cy); + GetTextExtent( wxT("X"), &cx, &cy); lbWidth += 3 * cx; // don't make the listbox too tall (limit height to around 10 items) but don't diff --git a/src/gtk1/menu.cpp b/src/gtk1/menu.cpp index 886522158e..3701f416ee 100644 --- a/src/gtk1/menu.cpp +++ b/src/gtk1/menu.cpp @@ -113,9 +113,16 @@ static wxString wxReplaceUnderscore( const wxString& title ) /* GTK 1.2 wants to have "_" instead of "&" for accelerators */ wxString str; - for ( pc = title; *pc != wxT('\0'); pc++ ) + pc = title; + while (*pc != wxT('\0')) { - if (*pc == wxT('&')) + if ((*pc == wxT('&')) && (*(pc+1) == wxT('&'))) + { + // "&" is doubled to indicate "&" instead of accelerator + ++pc; + str << wxT('&'); + } + else if (*pc == wxT('&')) { #if GTK_CHECK_VERSION(1, 2, 0) str << wxT('_'); @@ -149,6 +156,7 @@ static wxString wxReplaceUnderscore( const wxString& title ) str << *pc; } + ++pc; } return str; } @@ -385,10 +393,23 @@ bool wxMenuBar::GtkAppend(wxMenu *menu, const wxString& title) #endif // m_invokingWindow is set after wxFrame::SetMenuBar(). This call enables - // adding menu later on. + // addings menu later on. if (m_invokingWindow) + { wxMenubarSetInvokingWindow( menu, m_invokingWindow ); + // OPTIMISE ME: we should probably cache this, or pass it + // directly, but for now this is a minimal + // change to validate the new dynamic sizing. + // see (and refactor :) similar code in Remove + // below. + + wxFrame *frame = wxDynamicCast( m_invokingWindow, wxFrame ); + + if( frame ) + frame->UpdateMenuBarSize(); + } + return TRUE; } @@ -452,6 +473,16 @@ wxMenu *wxMenuBar::Remove(size_t pos) printf( "menu shell entries after %d\n", (int)g_list_length( menu_shell->children ) ); */ + if (m_invokingWindow) + { + // OPTIMISE ME: see comment in GtkAppend + + wxFrame *frame = wxDynamicCast( m_invokingWindow, wxFrame ); + + if( frame ) + frame->UpdateMenuBarSize(); + } + return menu; } @@ -554,10 +585,9 @@ wxString wxMenuBar::GetLabelTop( size_t pos ) const wxString text( menu->GetTitle() ); for ( const wxChar *pc = text.c_str(); *pc; pc++ ) { - if ( *pc == wxT('_') || *pc == wxT('&') ) + if ( *pc == wxT('_') ) { - // '_' is the escape character for GTK+ and '&' is the one for - // wxWindows - skip both of them + // '_' is the escape character for GTK+ continue; } @@ -750,17 +780,21 @@ wxString wxMenuItemBase::GetLabelFromText(const wxString& text) { if ( *pc == wxT('_') ) { - // wxGTK escapes "xxx_xxx" to "xxx__xxx" + // GTK 1.2 escapes "xxx_xxx" to "xxx__xxx" pc++; label += *pc; continue; } - if ( *pc == wxT('&') ) +#if GTK_CHECK_VERSION(2, 0, 0) + if ( *pc == wxT('\\') ) { - // wxMSW escapes & + // GTK 2.0 escapes "xxx/xxx" to "xxx\/xxx" + pc++; + label += *pc; continue; } +#endif label += *pc; } @@ -784,42 +818,54 @@ void wxMenuItem::SetText( const wxString& str ) { GtkLabel *label; if (m_labelWidget) - label = (GtkLabel*) m_labelWidget; + label = (GtkLabel*) m_labelWidget; else - label = GTK_LABEL( GTK_BIN(m_menuItem)->child ); + label = GTK_LABEL( GTK_BIN(m_menuItem)->child ); - /* set new text */ +#if GTK_CHECK_VERSION(2, 0, 0) + // We have to imitate item_factory_unescape_label here + wxString tmp; + for (size_t n = 0; n < m_text.Len(); n++) + { + if (m_text[n] != wxT('\\')) + tmp += m_text[n]; + } + + gtk_label_set_text_with_mnemonic( GTK_LABEL(label), wxGTK_CONV(tmp) ); +#else + // set new text gtk_label_set( label, wxGTK_CONV( m_text ) ); - /* reparse key accel */ - (void)gtk_label_parse_uline (GTK_LABEL(label), wxGTK_CONV( m_text ) ); + // reparse key accel + (void)gtk_label_parse_uline (GTK_LABEL(label), wxGTK_CONV(m_text) ); gtk_accel_label_refetch( GTK_ACCEL_LABEL(label) ); +#endif } } // it's valid for this function to be called even if m_menuItem == NULL void wxMenuItem::DoSetText( const wxString& str ) { - /* '\t' is the deliminator indicating a hot key */ + // '\t' is the deliminator indicating a hot key m_text.Empty(); const wxChar *pc = str; - for (; (*pc != wxT('\0')) && (*pc != wxT('\t')); pc++ ) + while ( (*pc != wxT('\0')) && (*pc != wxT('\t')) ) { -#if GTK_CHECK_VERSION(1, 2, 0) - if (*pc == wxT('&')) + if ((*pc == wxT('&')) && (*(pc+1) == wxT('&'))) { - m_text << wxT('_'); + // "&" is doubled to indicate "&" instead of accelerator + ++pc; + m_text << wxT('&'); } - else if ( *pc == wxT('_') ) // escape underscores + else if (*pc == wxT('&')) { - m_text << wxT("__"); + m_text << wxT('_'); } -#else // GTK+ < 1.2.0 - if (*pc == wxT('&')) +#if GTK_CHECK_VERSION(2, 0, 0) + else if ( *pc == wxT('_') ) // escape underscores { + // m_text << wxT("__"); doesn't work } -#endif -#if GTK_CHECK_VERSION(2, 0, 0) else if (*pc == wxT('/')) // we have to escape slashes { m_text << wxT("\\/"); @@ -828,16 +874,22 @@ void wxMenuItem::DoSetText( const wxString& str ) { m_text << wxT("\\\\"); } -#elif GTK_CHECK_VERSION(1, 2, 0) +#else + else if ( *pc == wxT('_') ) // escape underscores + { + m_text << wxT("__"); + } else if (*pc == wxT('/')) /* we have to filter out slashes ... */ { m_text << wxT('\\'); /* ... and replace them with back slashes */ } #endif - else + else { m_text << *pc; + } + ++pc; } - + m_hotKey = wxT(""); if(*pc == wxT('\t')) @@ -913,9 +965,9 @@ wxString wxMenuItem::GetFactoryPath() const for ( const wxChar *pc = m_text.c_str(); *pc; pc++ ) { - if ( *pc == wxT('_') || *pc == wxT('&') ) + if ( *pc == wxT('_') ) { - // remove '_' and '&' unconditionally + // remove '_' unconditionally continue; } @@ -1042,7 +1094,7 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) guint accel_key = gtk_label_parse_uline (GTK_LABEL(label), wxGTK_CONV( text ) ); gtk_accel_label_set_accel_widget (GTK_ACCEL_LABEL (label), menuItem); if (accel_key != GDK_VoidSymbol) - { + { gtk_widget_add_accelerator (menuItem, "activate_item", gtk_menu_ensure_uline_accel_group (GTK_MENU (m_menu)), @@ -1060,6 +1112,7 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) gtk_signal_connect( GTK_OBJECT(menuItem), "activate", GTK_SIGNAL_FUNC(gtk_menu_clicked_callback), (gpointer)this ); + gtk_menu_append( GTK_MENU(m_menu), menuItem ); gtk_widget_show( menuItem ); @@ -1097,7 +1150,9 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) { // start of a new radio group item_type = ""; - m_pathLastRadio = bufPath + 1; + wxString tmp( wxGTK_CONV_BACK( bufPath ) ); + tmp.Remove(0,1); + m_pathLastRadio = tmp; } else // continue the radio group { @@ -1143,10 +1198,15 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem) wxString path( mitem->GetFactoryPath() ); menuItem = gtk_item_factory_get_widget( m_factory, wxGTK_CONV( path ) ); + + if (!menuItem) + wxLogError( wxT("Wrong menu path: %s\n"), path.c_str() ); } if ( !mitem->IsSeparator() ) { + wxASSERT_MSG( menuItem, wxT("invalid menuitem") ); + gtk_signal_connect( GTK_OBJECT(menuItem), "select", GTK_SIGNAL_FUNC(gtk_menu_hilight_callback), (gpointer)this ); @@ -1283,6 +1343,33 @@ static wxString GetHotKey( const wxMenuItem& item ) case WXK_DELETE: hotkey << wxT("Delete" ); break; + case WXK_UP: + hotkey << wxT("Up" ); + break; + case WXK_DOWN: + hotkey << wxT("Down" ); + break; + case WXK_PAGEUP: + hotkey << wxT("Prior" ); + break; + case WXK_PAGEDOWN: + hotkey << wxT("Next" ); + break; + case WXK_LEFT: + hotkey << wxT("Left" ); + break; + case WXK_RIGHT: + hotkey << wxT("Right" ); + break; + case WXK_HOME: + hotkey << wxT("Home" ); + break; + case WXK_END: + hotkey << wxT("End" ); + break; + case WXK_RETURN: + hotkey << wxT("Return" ); + break; // if there are any other keys wxGetAccelFromString() may // return, we should process them here @@ -1290,7 +1377,7 @@ static wxString GetHotKey( const wxMenuItem& item ) default: if ( code < 127 ) { - gchar *name = gdk_keyval_name((guint)code); + wxString name = wxGTK_CONV_BACK( gdk_keyval_name((guint)code) ); if ( name ) { hotkey << name; diff --git a/src/gtk1/notebook.cpp b/src/gtk1/notebook.cpp index fe5e541720..4439cbae46 100644 --- a/src/gtk1/notebook.cpp +++ b/src/gtk1/notebook.cpp @@ -86,14 +86,12 @@ static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget), gint page, wxNotebook *notebook ) { - static bool s_inPageChange = FALSE; - // are you trying to call SetSelection() from a notebook event handler? // you shouldn't! - wxCHECK_RET( !s_inPageChange, + wxCHECK_RET( !notebook->m_inSwitchPage, _T("gtk_notebook_page_change_callback reentered") ); - s_inPageChange = TRUE; + notebook->m_inSwitchPage = TRUE; if (g_isIdle) wxapp_install_idle_handler(); @@ -123,7 +121,7 @@ static void gtk_notebook_page_change_callback(GtkNotebook *WXUNUSED(widget), notebook->GetEventHandler()->ProcessEvent( eventChanged ); } - s_inPageChange = FALSE; + notebook->m_inSwitchPage = FALSE; } //----------------------------------------------------------------------------- @@ -236,6 +234,8 @@ END_EVENT_TABLE() void wxNotebook::Init() { m_padding = 0; + m_inSwitchPage = FALSE; + m_imageList = (wxImageList *) NULL; m_pagesData.DeleteContents( TRUE ); m_selection = -1; diff --git a/src/gtk1/popupwin.cpp b/src/gtk1/popupwin.cpp index 923a68bbd1..236a69d036 100644 --- a/src/gtk1/popupwin.cpp +++ b/src/gtk1/popupwin.cpp @@ -160,7 +160,7 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) m_needParent = FALSE; if (!PreCreation( parent, wxDefaultPosition, wxDefaultSize ) || - !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, "popup" )) + !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, wxT("popup") )) { wxFAIL_MSG( wxT("wxPopupWindow creation failed") ); return FALSE; diff --git a/src/gtk1/radiobox.cpp b/src/gtk1/radiobox.cpp index 26240cc004..5bc55111c2 100644 --- a/src/gtk1/radiobox.cpp +++ b/src/gtk1/radiobox.cpp @@ -418,7 +418,7 @@ bool wxRadioBox::Show( bool show ) return TRUE; } -int wxRadioBox::FindString( const wxString &s ) const +int wxRadioBox::FindString( const wxString &find ) const { wxCHECK_MSG( m_widget != NULL, -1, wxT("invalid radiobox") ); @@ -428,7 +428,12 @@ int wxRadioBox::FindString( const wxString &s ) const while (node) { GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->Data()) ); - if (s == label->label) +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + if (find == str) return count; count++; @@ -505,7 +510,13 @@ wxString wxRadioBox::GetString( int n ) const GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->Data()) ); - return wxString( label->label ); +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + + return str; } void wxRadioBox::SetLabel( const wxString& label ) @@ -592,7 +603,12 @@ wxString wxRadioBox::GetStringSelection() const { GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->Data()) ); - return label->label; +#ifdef __WXGTK20__ + wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) ); +#else + wxString str( label->label ); +#endif + return str; } node = node->Next(); } diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index 7ca7653e2a..f9ac057cbe 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -191,25 +191,20 @@ bool wxRegion::Union( wxCoord x, wxCoord y, wxCoord width, wxCoord height ) if ( !width || !height ) return TRUE; - GdkRectangle rect; - rect.x = x; - rect.y = y; - rect.width = width; - rect.height = height; - - if (!m_refData) + if ( !m_refData ) { - m_refData = new wxRegionRefData(); -#ifdef __WXGTK20__ - M_REGIONDATA->m_region = gdk_region_rectangle( &rect ); -#else - M_REGIONDATA->m_region = gdk_region_union_with_rect(wxGdkRegion(), &rect); -#endif + InitRect(x, y, width, height); } else { AllocExclusive(); + GdkRectangle rect; + rect.x = x; + rect.y = y; + rect.width = width; + rect.height = height; + #ifdef __WXGTK20__ gdk_region_union_with_rect( M_REGIONDATA->m_region, &rect ); #else @@ -274,17 +269,12 @@ bool wxRegion::Intersect( const wxRegion& region ) if (!m_refData) { - m_refData = new wxRegionRefData(); - M_REGIONDATA->m_region = gdk_region_new(); - - // leave here - return TRUE; - } - else - { - AllocExclusive(); + // intersecting with invalid region doesn't make sense + return FALSE; } + AllocExclusive(); + #ifdef __WXGTK20__ gdk_region_intersect( M_REGIONDATA->m_region, region.GetRegion() ); #else @@ -315,14 +305,12 @@ bool wxRegion::Subtract( const wxRegion& region ) if (!m_refData) { - m_refData = new wxRegionRefData(); - M_REGIONDATA->m_region = gdk_region_new(); - } - else - { - AllocExclusive(); + // subtracting from an invalid region doesn't make sense + return FALSE; } + AllocExclusive(); + #ifdef __WXGTK20__ gdk_region_subtract( M_REGIONDATA->m_region, region.GetRegion() ); #else @@ -353,14 +341,11 @@ bool wxRegion::Xor( const wxRegion& region ) if (!m_refData) { - m_refData = new wxRegionRefData(); - M_REGIONDATA->m_region = gdk_region_new(); - } - else - { - AllocExclusive(); + return FALSE; } + AllocExclusive(); + #ifdef __WXGTK20__ gdk_region_xor( M_REGIONDATA->m_region, region.GetRegion() ); #else @@ -372,6 +357,18 @@ bool wxRegion::Xor( const wxRegion& region ) return TRUE; } +bool wxRegion::Offset( wxCoord x, wxCoord y ) +{ + if (!m_refData) + return FALSE; + + AllocExclusive(); + + gdk_region_offset( M_REGIONDATA->m_region, x, y ); + + return TRUE; +} + // ---------------------------------------------------------------------------- // wxRegion tests // ---------------------------------------------------------------------------- @@ -403,18 +400,6 @@ wxRect wxRegion::GetBox() const return wxRect( x, y, w, h ); } -bool wxRegion::Offset( wxCoord x, wxCoord y ) -{ - if (!m_refData) - return FALSE; - - AllocExclusive(); - - gdk_region_offset( M_REGIONDATA->m_region, x, y ); - - return TRUE; -} - bool wxRegion::Empty() const { if (!m_refData) @@ -495,7 +480,7 @@ struct _XRegion { _XBox *rects, extents; }; -#endif +#endif // GTK+ 1.x class wxRIRefData: public wxObjectRefData { @@ -592,42 +577,48 @@ bool wxRegionIterator::HaveRects() const return m_current < ((wxRIRefData*)m_refData)->m_numRects; } -wxRegionIterator::operator bool () const +wxRegionIterator& wxRegionIterator::operator ++ () { - return HaveRects(); -} + if (HaveRects()) + ++m_current; -void wxRegionIterator::operator ++ () -{ - if (HaveRects()) ++m_current; + return *this; } -void wxRegionIterator::operator ++ (int) +wxRegionIterator wxRegionIterator::operator ++ (int) { - if (HaveRects()) ++m_current; + wxRegionIterator tmp = *this; + if (HaveRects()) + ++m_current; + + return tmp; } wxCoord wxRegionIterator::GetX() const { - if( !HaveRects() ) return 0; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].x; } wxCoord wxRegionIterator::GetY() const { - if( !HaveRects() ) return 0; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].y; } wxCoord wxRegionIterator::GetW() const { - if( !HaveRects() ) return -1; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].width; } wxCoord wxRegionIterator::GetH() const { - if( !HaveRects() ) return -1; + wxCHECK_MSG( HaveRects(), 0, _T("invalid wxRegionIterator") ); + return ((wxRIRefData*)m_refData)->m_rects[m_current].height; } diff --git a/src/gtk1/scrolwin.cpp b/src/gtk1/scrolwin.cpp index a072691442..a18ec663f7 100644 --- a/src/gtk1/scrolwin.cpp +++ b/src/gtk1/scrolwin.cpp @@ -313,7 +313,7 @@ bool wxScrolledWindow::Create(wxWindow *parent, PostCreation(); Show( TRUE ); - + return TRUE; } @@ -349,8 +349,12 @@ void wxScrolledWindow::SetScrollbars( int pixelsPerUnitX, int pixelsPerUnitY, m_hAdjust->value = m_xScrollPosition = xPos; m_vAdjust->value = m_yScrollPosition = yPos; + // Setting hints here should arguably be deprecated, but without it + // a sizer might override this manual scrollbar setting in old code. m_targetWindow->SetVirtualSizeHints( noUnitsX * pixelsPerUnitX, noUnitsY * pixelsPerUnitY ); + m_targetWindow->SetVirtualSize( noUnitsX * pixelsPerUnitX, noUnitsY * pixelsPerUnitY ); + if (!noRefresh) { int new_x = m_xScrollPixelsPerLine * m_xScrollPosition; @@ -381,13 +385,16 @@ void wxScrolledWindow::AdjustScrollbars() // If the scrollbar hits the right side, move the window // right to keep it from over extending. - if( m_hAdjust->value + m_hAdjust->page_size > m_hAdjust->upper ) + if ((m_hAdjust->value != 0.0) && (m_hAdjust->value + m_hAdjust->page_size > m_hAdjust->upper)) { + m_hAdjust->value = m_hAdjust->upper - m_hAdjust->page_size; + if (m_hAdjust->value < 0.0) + m_hAdjust->value = 0.0; + if (GetChildren().GetCount() == 0) - { - m_hAdjust->value = m_hAdjust->upper - m_hAdjust->page_size; - m_xScrollPosition = (int)m_hAdjust->value; - } + m_xScrollPosition = (int)m_hAdjust->value; // This is enough without child windows + else + gtk_signal_emit_by_name( GTK_OBJECT(m_hAdjust), "value_changed" ); // Actually scroll window } } @@ -401,13 +408,16 @@ void wxScrolledWindow::AdjustScrollbars() m_vAdjust->upper = vh / m_yScrollPixelsPerLine; m_vAdjust->page_size = (h / m_yScrollPixelsPerLine); - if( m_vAdjust->value + m_vAdjust->page_size > m_vAdjust->upper ) + if ((m_vAdjust->value != 0.0) && (m_vAdjust->value + m_vAdjust->page_size > m_vAdjust->upper)) { + m_vAdjust->value = m_vAdjust->upper - m_vAdjust->page_size; + if (m_vAdjust->value < 0.0) + m_vAdjust->value = 0.0; + if (GetChildren().GetCount() == 0) - { - m_vAdjust->value = m_vAdjust->upper - m_vAdjust->page_size; - m_yScrollPosition = (int)m_vAdjust->value; - } + m_yScrollPosition = (int)m_vAdjust->value; + else + gtk_signal_emit_by_name( GTK_OBJECT(m_vAdjust), "value_changed" ); } } @@ -823,10 +833,17 @@ bool wxScrolledWindow::Layout() // Default OnSize resets scrollbars, if any void wxScrolledWindow::OnSize(wxSizeEvent& WXUNUSED(event)) { - if( m_targetWindow != this ) - m_targetWindow->SetVirtualSize( m_targetWindow->GetClientSize() ); + if( GetAutoLayout() ) + { + if( m_targetWindow != this ) + m_targetWindow->FitInside(); - SetVirtualSize( GetClientSize() ); + FitInside(); + } + else + { + AdjustScrollbars(); + } } // This calls OnDraw, having adjusted the origin according to the current @@ -849,7 +866,7 @@ void wxScrolledWindow::OnChar(wxKeyEvent& event) szx, szy, // view size (total) clix, cliy; // view size (on screen) - ViewStart(&stx, &sty); + GetViewStart(&stx, &sty); GetClientSize(&clix, &cliy); GetVirtualSize(&szx, &szy); diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 9aed45b5a9..736ed76aba 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -16,6 +16,7 @@ #include "wx/debug.h" #include "wx/module.h" #include "wx/cmndata.h" +#include "wx/fontutil.h" #include #include @@ -326,8 +327,25 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index ) { if (!g_systemFont) { +#ifdef __WXGTK20__ + GtkWidget *widget = gtk_button_new(); + GtkStyle *def = gtk_rc_get_style( widget ); + if (!def) + def = gtk_widget_get_default_style(); + if (def) + { + wxNativeFontInfo info; + info.description = def->font_desc; + g_systemFont = new wxFont(info); + } + else + { + g_systemFont = new wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL ); + } + gtk_widget_destroy( widget ); +#else g_systemFont = new wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL ); - +#endif } return *g_systemFont; } diff --git a/src/gtk1/slider.cpp b/src/gtk1/slider.cpp index 9f59575679..799f21d2b1 100644 --- a/src/gtk1/slider.cpp +++ b/src/gtk1/slider.cpp @@ -255,14 +255,15 @@ int wxSlider::GetLineSize() const bool wxSlider::IsOwnGtkWindow( GdkWindow *window ) { GtkRange *range = GTK_RANGE(m_widget); +#ifdef __WXGTK20__ + return (range->event_window == window); +#else return ( (window == GTK_WIDGET(range)->window) -#ifndef __WXGTK20__ || (window == range->trough) || (window == range->slider) || (window == range->step_forw) - || (window == range->step_back) -#endif // GTK+ 1.x - ); + || (window == range->step_back) ); +#endif } void wxSlider::ApplyWidgetStyle() diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index 235319eb16..d05f2cddfb 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -278,6 +278,10 @@ bool wxToolBar::Create( wxWindow *parent, #ifdef __WXGTK20__ m_toolbar = GTK_TOOLBAR( gtk_toolbar_new() ); GtkSetStyle(); + + // Doesn't work this way. + // GtkToolbarSpaceStyle space_style = GTK_TOOLBAR_SPACE_EMPTY; + // gtk_widget_style_set (GTK_WIDGET (m_toolbar), "space_style", &space_style, NULL); #else GtkOrientation orient; GtkToolbarStyle gtkStyle; @@ -374,37 +378,44 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase) { wxToolBarTool *tool = (wxToolBarTool *)toolBase; +#ifndef __WXGTK20__ // if we have inserted a space before all the tools we must change the GTK // index by 1 size_t posGtk = m_xMargin > 1 ? pos + 1 : pos; +#else + size_t posGtk = pos; +#endif if ( tool->IsButton() ) { - wxBitmap bitmap = tool->GetNormalBitmap(); + if ( !HasFlag(wxTB_NOICONS) ) + { + wxBitmap bitmap = tool->GetNormalBitmap(); - wxCHECK_MSG( bitmap.Ok(), FALSE, - wxT("invalid bitmap for wxToolBar icon") ); + wxCHECK_MSG( bitmap.Ok(), FALSE, + wxT("invalid bitmap for wxToolBar icon") ); - wxCHECK_MSG( bitmap.GetBitmap() == NULL, FALSE, - wxT("wxToolBar doesn't support GdkBitmap") ); + wxCHECK_MSG( bitmap.GetBitmap() == NULL, FALSE, + wxT("wxToolBar doesn't support GdkBitmap") ); - wxCHECK_MSG( bitmap.GetPixmap() != NULL, FALSE, - wxT("wxToolBar::Add needs a wxBitmap") ); + wxCHECK_MSG( bitmap.GetPixmap() != NULL, FALSE, + wxT("wxToolBar::Add needs a wxBitmap") ); - GtkWidget *tool_pixmap = (GtkWidget *)NULL; + GtkWidget *tool_pixmap = (GtkWidget *)NULL; - GdkPixmap *pixmap = bitmap.GetPixmap(); + GdkPixmap *pixmap = bitmap.GetPixmap(); - GdkBitmap *mask = (GdkBitmap *)NULL; - if ( bitmap.GetMask() ) - mask = bitmap.GetMask()->GetBitmap(); + GdkBitmap *mask = (GdkBitmap *)NULL; + if ( bitmap.GetMask() ) + mask = bitmap.GetMask()->GetBitmap(); - tool_pixmap = gtk_pixmap_new( pixmap, mask ); - gtk_pixmap_set_build_insensitive( GTK_PIXMAP(tool_pixmap), TRUE ); + tool_pixmap = gtk_pixmap_new( pixmap, mask ); + gtk_pixmap_set_build_insensitive( GTK_PIXMAP(tool_pixmap), TRUE ); - gtk_misc_set_alignment( GTK_MISC(tool_pixmap), 0.5, 0.5 ); + gtk_misc_set_alignment( GTK_MISC(tool_pixmap), 0.5, 0.5 ); - tool->m_pixmap = tool_pixmap; + tool->m_pixmap = tool_pixmap; + } } switch ( tool->GetStyle() ) @@ -464,7 +475,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase) return FALSE; } - + gtk_signal_connect( GTK_OBJECT(tool->m_item), "enter_notify_event", GTK_SIGNAL_FUNC(gtk_toolbar_tool_callback), @@ -587,8 +598,10 @@ void wxToolBar::SetMargins( int x, int y ) wxCHECK_RET( GetToolsCount() == 0, wxT("wxToolBar::SetMargins must be called before adding tools.") ); +#ifndef __WXGTK20__ if (x > 1) gtk_toolbar_append_space( m_toolbar ); // oh well +#endif m_xMargin = x; m_yMargin = y; diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index 034a4cce4a..d449dcfb75 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -475,7 +475,7 @@ wxString wxTextCtrl::GetValue() const GtkTextIter end; gtk_text_buffer_get_end_iter( text_buffer, &end ); gchar *text = gtk_text_buffer_get_text( text_buffer, &start, &end, TRUE ); - + #if wxUSE_UNICODE wxWCharBuffer buffer( wxConvUTF8.cMB2WX( text ) ); #else @@ -552,6 +552,7 @@ void wxTextCtrl::WriteText( const wxString &text ) wxCharBuffer buffer( wxConvUTF8.cWC2MB( wxConvLocal.cWX2WC( text ) ) ); #endif GtkTextBuffer *text_buffer = gtk_text_view_get_buffer( GTK_TEXT_VIEW(m_text) ); + // TODO: call wahtever is needed to delete the selection gtk_text_buffer_insert_at_cursor( text_buffer, buffer, strlen(buffer) ); #else // GTK 1.x @@ -561,6 +562,7 @@ void wxTextCtrl::WriteText( const wxString &text ) // always use m_defaultStyle, even if it is empty as otherwise // resetting the style and appending some more text wouldn't work: if // we don't specify the style explicitly, the old style would be used + gtk_editable_delete_selection( GTK_EDITABLE(m_text) ); wxGtkTextInsert(m_text, m_defaultStyle, text.c_str(), text.Len()); // Bring editable's cursor back uptodate. @@ -569,6 +571,9 @@ void wxTextCtrl::WriteText( const wxString &text ) } else // single line { + // First remove the selection if there is one + gtk_editable_delete_selection( GTK_EDITABLE(m_text) ); + // This moves the cursor pos to behind the inserted text. gint len = GET_EDITABLE_POS(m_text); @@ -585,9 +590,6 @@ void wxTextCtrl::WriteText( const wxString &text ) gtk_editable_insert_text( GTK_EDITABLE(m_text), text.c_str(), text.Len(), &len ); #endif - // Bring editable's cursor uptodate. - len += text.Len(); - // Bring entry's cursor uptodate. gtk_entry_set_position( GTK_ENTRY(m_text), len ); } @@ -928,6 +930,12 @@ void wxTextCtrl::SetSelection( long from, long to ) { wxCHECK_RET( m_text != NULL, wxT("invalid text ctrl") ); + if (from == -1 && to == -1) + { + from = 0; + to = GetValue().Length(); + } + #ifndef __WXGTK20__ if ( (m_windowStyle & wxTE_MULTILINE) && !GTK_TEXT(m_text)->line_start_cache ) diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index 1ca2768d11..0866c33410 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -25,6 +25,7 @@ #include "wx/defs.h" +#include "wx/log.h" #include "wx/dialog.h" #include "wx/control.h" #include "wx/app.h" @@ -835,6 +836,11 @@ void wxTopLevelWindowGTK::OnInternalIdle() if ( g_delayedFocus && wxGetTopLevelParent((wxWindow*)g_delayedFocus) == this ) { + wxLogTrace(_T("focus"), + _T("Setting focus from wxTLW::OnIdle() to %s(%s)"), + g_delayedFocus->GetClassInfo()->GetClassName(), + g_delayedFocus->GetLabel().c_str()); + g_delayedFocus->SetFocus(); g_delayedFocus = NULL; } diff --git a/src/gtk1/win_gtk.c b/src/gtk1/win_gtk.c index 27e2d156bb..fecb23b7f5 100644 --- a/src/gtk1/win_gtk.c +++ b/src/gtk1/win_gtk.c @@ -310,11 +310,11 @@ gtk_pizza_put (GtkPizza *pizza, pizza->children = g_list_append (pizza->children, child_info); - gtk_widget_set_parent (widget, GTK_WIDGET (pizza)); - if (GTK_WIDGET_REALIZED (pizza)) gtk_widget_set_parent_window (widget, pizza->bin_window); + gtk_widget_set_parent (widget, GTK_WIDGET (pizza)); + #ifndef __WXGTK20__ /* FIXME? */ if (!IS_ONSCREEN (x, y)) GTK_PRIVATE_SET_FLAG (widget, GTK_IS_OFFSCREEN); diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 6411fca957..bf5f12cdb8 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -67,6 +67,10 @@ #include "wx/gtk/win_gtk.h" +#ifdef __WXGTK20__ +#include +#endif + #ifdef __WXGTK20__ #define SET_CONTAINER_FOCUS(w, d) gtk_widget_child_focus((w), (d)) #else @@ -262,7 +266,7 @@ extern bool g_mainThreadLocked; //----------------------------------------------------------------------------- #ifndef __WXGTK20__ -#define DISABLE_STYLE_IF_BROKEN_THEME 1 +#define DISABLE_STYLE_IF_BROKEN_THEME 0 #endif #ifdef __WXDEBUG__ @@ -501,10 +505,10 @@ static int gtk_window_expose_callback( GtkWidget *widget, // This callback gets called in drawing-idle time under // GTK 2.0, so we don't need to defer anything to idle // time anymore. - + GtkPizza *pizza = GTK_PIZZA( widget ); if (gdk_event->window != pizza->bin_window) return FALSE; - + #if 0 if (win->GetName()) { @@ -522,13 +526,14 @@ static int gtk_window_expose_callback( GtkWidget *widget, win->GtkSendPaintEvents(); + // Let parent window draw window less widgets (* GTK_WIDGET_CLASS (pizza_parent_class)->expose_event) (widget, gdk_event); #else // This gets called immediately after an expose event // under GTK 1.2 so we collect the calls and wait for // the idle handler to pick things up. - + win->GetUpdateRegion().Union( gdk_event->area.x, gdk_event->area.y, gdk_event->area.width, @@ -1060,6 +1065,7 @@ wxTranslateGTKKeyEventToWx(wxKeyEvent& event, return TRUE; } +#ifndef __WXGTK20__ static gint gtk_window_key_press_callback( GtkWidget *widget, GdkEventKey *gdk_event, wxWindow *win ) @@ -1130,7 +1136,7 @@ static gint gtk_window_key_press_callback( GtkWidget *widget, wxLogTrace(TRACE_KEYS, _T("Char event: %ld"), key_code); event.m_keyCode = key_code; - + // Implement OnCharHook by checking ancesteror top level windows wxWindow *parent = win; while (parent && !parent->IsTopLevel()) @@ -1207,45 +1213,184 @@ static gint gtk_window_key_press_callback( GtkWidget *widget, } } - // Doesn't work. -#if 0 - // Pressing F10 will activate the menu bar of the top frame - if ( (!ret) && - (gdk_event->keyval == GDK_F10) ) + if (ret) { - wxWindowGTK *ancestor = win; - while (ancestor) + gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "key_press_event" ); + return TRUE; + } + + return FALSE; +} +#endif + +#ifdef __WXGTK20__ +static gint gtk_window_key_press_callback( GtkWidget *widget, + GdkEventKey *gdk_event, + wxWindow *win ) +{ + if (g_isIdle) + wxapp_install_idle_handler(); + + if (!win->m_hasVMT) + return FALSE; + if (g_blockEventsOnDrag) + return FALSE; + + bool ret = FALSE; + bool dont_use_IM = FALSE; + + wxKeyEvent event( wxEVT_KEY_DOWN ); + long keycode = wxTranslateKeySymToWXKey( gdk_event->keyval, FALSE ); + if (keycode) + { + // We were able to decode the key press without + // any input method, so don't use it. + dont_use_IM = TRUE; + + // now fill all the other fields + int x = 0; + int y = 0; + GdkModifierType state; + if (gdk_event->window) + gdk_window_get_pointer(gdk_event->window, &x, &y, &state); + + event.SetTimestamp( gdk_event->time ); + event.m_shiftDown = (gdk_event->state & GDK_SHIFT_MASK) != 0; + event.m_controlDown = (gdk_event->state & GDK_CONTROL_MASK) != 0; + event.m_altDown = (gdk_event->state & GDK_MOD1_MASK) != 0; + event.m_metaDown = (gdk_event->state & GDK_MOD2_MASK) != 0; + event.m_keyCode = keycode; + event.m_scanCode = gdk_event->keyval; + event.m_rawCode = (wxUint32) gdk_event->keyval; + event.m_rawFlags = 0; + event.m_x = x; + event.m_y = y; + event.SetEventObject( win ); + + // send key down event + ret = win->GetEventHandler()->ProcessEvent( event ); + + if (!ret) { - if (wxIsKindOf(ancestor,wxFrame)) + // Implement OnCharHook by checking ancesteror top level windows + wxWindow *parent = win; + while (parent && !parent->IsTopLevel()) + parent = parent->GetParent(); + if (parent) { - wxFrame *frame = (wxFrame*) ancestor; - wxMenuBar *menubar = frame->GetMenuBar(); - if (menubar) - { - wxNode *node = menubar->GetMenus().First(); - if (node) - { - wxMenu *firstMenu = (wxMenu*) node->Data(); - gtk_menu_item_select( GTK_MENU_ITEM(firstMenu->m_owner) ); - ret = TRUE; - break; - } - } + event.SetEventType( wxEVT_CHAR_HOOK ); + ret = parent->GetEventHandler()->ProcessEvent( event ); + } + + if (!ret) + { + event.SetEventType(wxEVT_CHAR); + ret = win->GetEventHandler()->ProcessEvent( event ); + } + } + + // win is a control: tab can be propagated up + if ( !ret && + ((gdk_event->keyval == GDK_Tab) || (gdk_event->keyval == GDK_ISO_Left_Tab)) && + win->GetParent() && (win->GetParent()->HasFlag( wxTAB_TRAVERSAL)) ) + { + wxNavigationKeyEvent new_event; + new_event.SetEventObject( win->GetParent() ); + // GDK reports GDK_ISO_Left_Tab for SHIFT-TAB + new_event.SetDirection( (gdk_event->keyval == GDK_Tab) ); + // CTRL-TAB changes the (parent) window, i.e. switch notebook page + new_event.SetWindowChange( (gdk_event->state & GDK_CONTROL_MASK) ); + new_event.SetCurrentFocus( win ); + ret = win->GetParent()->GetEventHandler()->ProcessEvent( new_event ); + } + + if ( !ret && + (gdk_event->keyval == GDK_Escape) ) + { + wxWindow *winForCancel = win, *btnCancel = NULL; + while ( winForCancel ) + { + btnCancel = winForCancel->FindWindow(wxID_CANCEL); + if ( btnCancel ) break; + + if ( winForCancel->IsTopLevel() ) break; + + winForCancel = winForCancel->GetParent(); + } + + if ( btnCancel ) + { + wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, wxID_CANCEL); + event.SetEventObject(btnCancel); + ret = btnCancel->GetEventHandler()->ProcessEvent(event); } - ancestor = ancestor->GetParent(); } } -#endif // 0 if (ret) { gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "key_press_event" ); return TRUE; } - + + if (!dont_use_IM && win->m_imContext) + { + // In GTK 2.0, we need to hand over the key + // event to an input method and the IM will + // emit a "commit" event containing the + // actual utf8 character. + gtk_im_context_filter_keypress ( (GtkIMContext*) win->m_imContext, gdk_event ); + + return TRUE; + } + return FALSE; } +static void gtk_wxwindow_commit_cb (GtkIMContext *context, + const gchar *str, + wxWindow *window) +{ + bool ret = FALSE; + + wxKeyEvent event( wxEVT_KEY_DOWN ); + +#if wxUSE_UNICODE + event.m_uniChar = g_utf8_get_char( str ); + + // Backward compatible for ISO-8859 + if (event.m_uniChar < 256) + event.m_keyCode = event.m_uniChar; +#else + gunichar uniChar = g_utf8_get_char( str ); + // We cannot handle Unicode in non-Unicode mode + if (uniChar > 255) return; + + event.m_keyCode = uniChar; +#endif + + if (!ret) + { + // Implement OnCharHook by checking ancesteror top level windows + wxWindow *parent = window; + while (parent && !parent->IsTopLevel()) + parent = parent->GetParent(); + if (parent) + { + event.SetEventType( wxEVT_CHAR_HOOK ); + ret = parent->GetEventHandler()->ProcessEvent( event ); + } + + if (!ret) + { + event.SetEventType(wxEVT_CHAR); + ret = window->GetEventHandler()->ProcessEvent( event ); + } + } +} +#endif + + //----------------------------------------------------------------------------- // "key_release_event" from any window //----------------------------------------------------------------------------- @@ -1303,6 +1448,13 @@ static gint gtk_window_key_release_callback( GtkWidget *widget, event.m_leftDown = (gdk_event->state & GDK_BUTTON1_MASK); \ event.m_middleDown = (gdk_event->state & GDK_BUTTON2_MASK); \ event.m_rightDown = (gdk_event->state & GDK_BUTTON3_MASK); \ + if (event.GetEventType()==wxEVT_MOUSEWHEEL) \ + { \ + if (((GdkEventButton*)gdk_event)->button == 4) \ + event.m_wheelRotation = 120; \ + else if (((GdkEventButton*)gdk_event)->button == 5) \ + event.m_wheelRotation = -120; \ + } \ \ wxPoint pt = win->GetClientAreaOrigin(); \ event.m_x = (wxCoord)gdk_event->x - pt.x; \ @@ -1447,6 +1599,26 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, */ } + // GDK sends surplus button down event + // before a double click event. We + // need to filter these out. + if (gdk_event->type == GDK_BUTTON_PRESS) + { + GdkEvent *peek_event = gdk_event_peek(); + if (peek_event) + { + if (peek_event->type == GDK_2BUTTON_PRESS) + { + gdk_event_free( peek_event ); + return TRUE; + } + else + { + gdk_event_free( peek_event ); + } + } + } + wxEventType event_type = wxEVT_NULL; if (gdk_event->button == 1) @@ -1476,6 +1648,22 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, default: break; } } + else if (gdk_event->button == 4) + { + switch (gdk_event->type) + { + case GDK_BUTTON_PRESS: event_type = wxEVT_MOUSEWHEEL; break; + default: break; + } + } + else if (gdk_event->button == 5) + { + switch (gdk_event->type) + { + case GDK_BUTTON_PRESS: event_type = wxEVT_MOUSEWHEEL; break; + default: break; + } + } if ( event_type == wxEVT_NULL ) { @@ -1520,7 +1708,9 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, // "button_release_event" //----------------------------------------------------------------------------- -static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButton *gdk_event, wxWindowGTK *win ) +static gint gtk_window_button_release_callback( GtkWidget *widget, + GdkEventButton *gdk_event, + wxWindowGTK *win ) { DEBUG_MAIN_THREAD @@ -1533,21 +1723,25 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto if (!win->IsOwnGtkWindow( gdk_event->window )) return FALSE; -/* - printf( "OnButtonRelease from " ); - if (win->GetClassInfo() && win->GetClassInfo()->GetClassName()) - printf( win->GetClassInfo()->GetClassName() ); - printf( ".\n" ); -*/ - wxEventType event_type = wxEVT_NULL; switch (gdk_event->button) { - case 1: event_type = wxEVT_LEFT_UP; break; - case 2: event_type = wxEVT_MIDDLE_UP; break; - case 3: event_type = wxEVT_RIGHT_UP; break; - default: return FALSE; + case 1: + event_type = wxEVT_LEFT_UP; + break; + + case 2: + event_type = wxEVT_MIDDLE_UP; + break; + + case 3: + event_type = wxEVT_RIGHT_UP; + break; + + default: + // unknwon button, don't process + return FALSE; } wxMouseEvent event( event_type ); @@ -1558,6 +1752,20 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto // same wxListBox hack as above win->FixUpMouseEvent(widget, event.m_x, event.m_y); + if ( event_type == wxEVT_RIGHT_UP ) + { + // generate a "context menu" event: this is similar to wxEVT_RIGHT_UP + // except that: + // + // (a) it's a command event and so is propagated to the parent + // (b) under MSW it can be generated from kbd too + // (c) it uses screen coords (because of (a)) + wxContextMenuEvent evtCtx(wxEVT_CONTEXT_MENU, + win->GetId(), + win->ClientToScreen(event.GetPosition())); + (void)win->GetEventHandler()->ProcessEvent(evtCtx); + } + if ( !g_captureWindow ) win = FindWindowForMouseEvent(win, event.m_x, event.m_y); @@ -1706,7 +1914,7 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget, #endif // wxUSE_CARET g_activeFrameLostFocus = FALSE; - + wxWindowGTK *active = wxGetTopLevelParent(win); if ( active != g_activeFrame ) { @@ -1723,7 +1931,7 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget, wxActivateEvent event(wxEVT_ACTIVATE, TRUE, g_activeFrame->GetId()); event.SetEventObject(g_activeFrame); g_activeFrame->GetEventHandler()->ProcessEvent(event); - + // Don't send focus events in addition to activate // if (win == g_activeFrame) // return TRUE; @@ -2077,7 +2285,7 @@ static void gtk_window_destroy_callback( GtkWidget* widget, wxWindow *win ) been realized, so we do this directly after realization. */ static gint -gtk_window_realized_callback( GtkWidget *WXUNUSED(m_widget), wxWindow *win ) +gtk_window_realized_callback( GtkWidget *m_widget, wxWindow *win ) { DEBUG_MAIN_THREAD @@ -2090,6 +2298,14 @@ gtk_window_realized_callback( GtkWidget *WXUNUSED(m_widget), wxWindow *win ) if (win->m_delayedForegroundColour) win->GtkSetForegroundColour( win->GetForegroundColour() ); +#ifdef __WXGTK20__ + if (win->m_imContext) + { + GtkPizza *pizza = GTK_PIZZA( m_widget ); + gtk_im_context_set_client_window( (GtkIMContext*) win->m_imContext, pizza->bin_window ); + } +#endif + wxWindowCreateEvent event( win ); event.SetEventObject( win ); win->GetEventHandler()->ProcessEvent( event ); @@ -2349,10 +2565,15 @@ void wxWindowGTK::Init() m_delayedForegroundColour = FALSE; m_delayedBackgroundColour = FALSE; +#ifdef __WXGTK20__ + m_imContext = NULL; + m_x11Context = NULL; +#else #ifdef HAVE_XIM m_ic = (GdkIC*) NULL; m_icattr = (GdkICAttr*) NULL; #endif +#endif } wxWindowGTK::wxWindowGTK() @@ -2387,9 +2608,9 @@ bool wxWindowGTK::Create( wxWindow *parent, } m_insertCallback = wxInsertChildInWindow; - + // always needed for background clearing - m_delayedBackgroundColour = TRUE; + m_delayedBackgroundColour = TRUE; m_widget = gtk_scrolled_window_new( (GtkAdjustment *) NULL, (GtkAdjustment *) NULL ); GTK_WIDGET_UNSET_FLAGS( m_widget, GTK_CAN_FOCUS ); @@ -2473,6 +2694,17 @@ bool wxWindowGTK::Create( wxWindow *parent, gtk_signal_connect( GTK_OBJECT(m_vAdjust), "value_changed", (GtkSignalFunc) gtk_window_vscroll_callback, (gpointer) this ); +#ifdef __WXGTK20__ + // Create input method handler + m_imContext = (GtkIMMulticontext*) gtk_im_multicontext_new (); + + // Cannot handle drawing preedited text yet + gtk_im_context_set_use_preedit( (GtkIMContext*) m_imContext, FALSE ); + + g_signal_connect (G_OBJECT (m_imContext), "commit", + G_CALLBACK (gtk_wxwindow_commit_cb), this); +#endif + gtk_widget_show( m_wxwindow ); if (m_parent) @@ -2596,7 +2828,18 @@ void wxWindowGTK::PostCreation() GTK_SIGNAL_FUNC(gtk_window_event_event_callback), (gpointer)this ); } #else - gtk_widget_set_redraw_on_allocate( GTK_WIDGET(m_wxwindow), HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ) ); + // gtk_widget_set_redraw_on_allocate( GTK_WIDGET(m_wxwindow), HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ) ); +#endif + +#ifdef __WXGTK20__ + // Create input method handler + m_imContext = (GtkIMMulticontext*) gtk_im_multicontext_new (); + + // Cannot handle drawing preedited text yet + gtk_im_context_set_use_preedit( (GtkIMContext*) m_imContext, FALSE ); + + g_signal_connect (G_OBJECT (m_imContext), "commit", + G_CALLBACK (gtk_wxwindow_commit_cb), this); #endif } @@ -2683,7 +2926,7 @@ void wxWindowGTK::ConnectWidget( GtkWidget *widget ) gtk_signal_connect( GTK_OBJECT(widget), "leave_notify_event", GTK_SIGNAL_FUNC(gtk_window_leave_callback), (gpointer)this ); - + // This keeps crashing on me. RR. // // gtk_signal_connect( GTK_OBJECT(widget), "destroy", @@ -2842,7 +3085,7 @@ void wxWindowGTK::OnInternalIdle() } g_activeFrameLostFocus = FALSE; } - + wxCursor cursor = m_cursor; if (g_globalCursor.Ok()) cursor = g_globalCursor; @@ -3113,6 +3356,11 @@ bool wxWindowGTK::Show( bool show ) else gtk_widget_hide( m_widget ); + wxShowEvent eventShow(GetId(), show); + eventShow.m_eventObject = this; + + GetEventHandler()->ProcessEvent(eventShow); + return TRUE; } @@ -3185,26 +3433,26 @@ void wxWindowGTK::GetTextExtent( const wxString& string, if (theFont) fontToUse = *theFont; wxCHECK_RET( fontToUse.Ok(), wxT("invalid font") ); - + if (string.IsEmpty()) { if (x) (*x) = 0; if (y) (*y) = 0; return; } -#ifdef __WXGTK20__ +#ifdef __WXGTK20__ PangoContext *context = NULL; if (m_widget) - gtk_widget_get_pango_context( m_widget ); - + context = gtk_widget_get_pango_context( m_widget ); + if (!context) { if (x) (*x) = 0; if (y) (*y) = 0; return; } - + PangoFontDescription *desc = fontToUse.GetNativeFontInfo()->description; PangoLayout *layout = pango_layout_new(context); pango_layout_set_font_description(layout, desc); @@ -3219,10 +3467,10 @@ void wxWindowGTK::GetTextExtent( const wxString& string, #endif } PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; - + PangoRectangle rect; pango_layout_line_get_extents(line, NULL, &rect); - + if (x) (*x) = (wxCoord) (rect.width / PANGO_SCALE); if (y) (*y) = (wxCoord) (rect.height / PANGO_SCALE); if (descent) @@ -3231,7 +3479,7 @@ void wxWindowGTK::GetTextExtent( const wxString& string, (*descent) = 0; } if (externalLeading) (*externalLeading) = 0; // ?? - + g_object_unref( G_OBJECT( layout ) ); #else GdkFont *font = fontToUse.GetInternalFont( 1.0 ); @@ -3408,11 +3656,11 @@ void wxWindowGTK::Refresh( bool eraseBackground, const wxRect *rect ) { if (!m_widget) return; if (!m_widget->window) return; - + #ifndef __WXGTK20__ if (g_isIdle) wxapp_install_idle_handler(); - + if (eraseBackground && m_wxwindow && m_wxwindow->window) { if (rect) @@ -3498,7 +3746,7 @@ void wxWindowGTK::GtkSendPaintEvents() { if (!m_wxwindow) { -#ifndef __WXGTK20__ +#ifndef __WXGTK20__ m_clearRegion.Clear(); #endif m_updateRegion.Clear(); @@ -3511,7 +3759,7 @@ void wxWindowGTK::GtkSendPaintEvents() #ifndef __WXGTK20__ // widget to draw on GtkPizza *pizza = GTK_PIZZA (m_wxwindow); - + // later for GTK 2.0, too. if (GetThemeEnabled()) { @@ -3521,7 +3769,7 @@ void wxWindowGTK::GtkSendPaintEvents() parent = parent->GetParent(); if (!parent) parent = (wxWindow*)this; - + wxRegionIterator upd( m_updateRegion ); while (upd) { @@ -3530,7 +3778,7 @@ void wxWindowGTK::GtkSendPaintEvents() rect.y = upd.GetY(); rect.width = upd.GetWidth(); rect.height = upd.GetHeight(); - + gtk_paint_flat_box( parent->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL, @@ -3539,7 +3787,7 @@ void wxWindowGTK::GtkSendPaintEvents() parent->m_widget, (char *)"base", 0, 0, -1, -1 ); - + upd ++; } } @@ -3610,7 +3858,7 @@ void wxWindowGTK::GtkSendPaintEvents() { GtkPizzaChild *child = (GtkPizzaChild*) children->data; children = children->next; - + if (GTK_WIDGET_NO_WINDOW (child->widget) && GTK_WIDGET_DRAWABLE (child->widget)) { @@ -3656,7 +3904,7 @@ void wxWindowGTK::Clear() m_clearRegion.Clear(); wxSize size( GetClientSize() ); m_clearRegion.Union( 0,0,size.x,size.y ); - + // Better do this in idle? GtkUpdate(); } @@ -3687,10 +3935,10 @@ void wxWindowGTK::GtkSetBackgroundColour( const wxColour &colour ) window = GetConnectWidget()->window; wxASSERT( window ); - + // We need the pixel value e.g. for background clearing. m_backgroundColour.CalcPixel( gdk_window_get_colormap( window ) ); - + if (m_wxwindow) { // wxMSW doesn't clear the window here, either. @@ -3774,6 +4022,21 @@ bool wxWindowGTK::SetForegroundColour( const wxColour &colour ) return TRUE; } +#ifdef __WXGTK20__ +PangoContext *wxWindowGTK::GtkGetPangoDefaultContext() +{ + return gtk_widget_get_pango_context( m_widget ); +} + +PangoContext *wxWindowGTK::GtkGetPangoX11Context() +{ + if (!m_x11Context) + m_x11Context = pango_x_get_context( gdk_display ); + + return m_x11Context; +} +#endif + GtkStyle *wxWindowGTK::GetWidgetStyle() { if (m_widgetStyle) @@ -4271,7 +4534,7 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) ) wxCHECK_RET( m_widget != NULL, wxT("invalid window") ); wxCHECK_RET( m_wxwindow != NULL, wxT("window needs client area for scrolling") ); - + // No scrolling requested. if ((dx == 0) && (dy == 0)) return; diff --git a/src/html/descrip.mms b/src/html/descrip.mms index c03594367b..503f51c556 100644 --- a/src/html/descrip.mms +++ b/src/html/descrip.mms @@ -41,13 +41,13 @@ OBJECTS = \ helpctrl.obj,helpdata.obj,helpfrm.obj,htmlcell.obj,htmlfilt.obj,\ htmlpars.obj,htmltag.obj,htmlwin.obj,htmprint.obj,m_dflist.obj,\ m_fonts.obj,m_hline.obj,m_image.obj,m_layout.obj,m_links.obj,\ - m_list.obj,m_meta.obj,m_pre.obj,m_tables.obj,winpars.obj + m_list.obj,m_pre.obj,m_tables.obj,winpars.obj SOURCES = \ helpctrl.cpp,helpdata.cpp,helpfrm.cpp,htmlcell.cpp,htmlfilt.cpp,\ htmlpars.cpp,htmltag.cpp,htmlwin.cpp,htmprint.cpp,m_dflist.cpp,\ m_fonts.cpp,m_hline.cpp,m_image.cpp,m_layout.cpp,m_links.cpp,\ - m_list.cpp,m_meta.cpp,m_pre.cpp,m_tables.cpp,winpars.cpp + m_list.cpp,m_pre.cpp,m_tables.cpp,winpars.cpp all : $(SOURCES) $(MMS)$(MMSQUALIFIERS) $(OBJECTS) @@ -79,7 +79,6 @@ m_image.obj : m_image.cpp m_layout.obj : m_layout.cpp m_links.obj : m_links.cpp m_list.obj : m_list.cpp -m_meta.obj : m_meta.cpp m_pre.obj : m_pre.cpp m_tables.obj : m_tables.cpp winpars.obj : winpars.cpp diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 4dcef850cf..51d0f334d3 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -40,6 +40,7 @@ #include "wx/log.h" #include "wx/html/htmlpars.h" #include "wx/html/htmldefs.h" +#include "wx/html/htmlfilt.h" #include "wx/filename.h" #include "wx/arrimpl.cpp" @@ -250,12 +251,10 @@ wxHtmlHelpData::~wxHtmlHelpData() } } -// defined in htmlfilt.cpp -void wxPrivate_ReadString(wxString& str, wxInputStream* s); - bool wxHtmlHelpData::LoadMSProject(wxHtmlBookRecord *book, wxFileSystem& fsys, const wxString& indexfile, const wxString& contentsfile) { wxFSFile *f; + wxHtmlFilterHTML filter; wxString buf; wxString string; @@ -267,27 +266,31 @@ bool wxHtmlHelpData::LoadMSProject(wxHtmlBookRecord *book, wxFileSystem& fsys, c if (f) { buf.clear(); - wxPrivate_ReadString(buf, f->GetStream()); + buf = filter.ReadFile(*f); delete f; handler->ReadIn(m_Contents, m_ContentsCnt); parser.Parse(buf); handler->WriteOut(m_Contents, m_ContentsCnt); } else + { wxLogError(_("Cannot open contents file: %s"), contentsfile.c_str()); + } f = ( indexfile.IsEmpty() ? (wxFSFile*) NULL : fsys.OpenFile(indexfile) ); if (f) { buf.clear(); - wxPrivate_ReadString(buf, f->GetStream()); + buf = filter.ReadFile(*f); delete f; handler->ReadIn(m_Index, m_IndexCnt); parser.Parse(buf); handler->WriteOut(m_Index, m_IndexCnt); } else if (!indexfile.IsEmpty()) + { wxLogError(_("Cannot open index file: %s"), indexfile.c_str()); + } return TRUE; } @@ -307,22 +310,34 @@ inline static wxInt32 CacheReadInt32(wxInputStream *f) } inline static void CacheWriteString(wxOutputStream *f, const wxChar *str) -{ - size_t len = wxStrlen(str)+1; +{ +#if wxUSE_UNICODE + wxWX2MBbuf mbstr(wxConvUTF8.cWX2MB(str)); +#else + const wxChar *mbstr = str; +#endif + size_t len = strlen(mbstr)+1; CacheWriteInt32(f, len); - f->Write(str, len * sizeof(wxChar)); + f->Write(mbstr, len); } -inline static wxChar *CacheReadString(wxInputStream *f) +inline static wxChar* CacheReadString(wxInputStream *f) { - wxChar *str; + char *str; size_t len = (size_t)CacheReadInt32(f); - str = new wxChar[len]; - f->Read(str, len * sizeof(wxChar)); + str = new char[len]; + f->Read(str, len); +#if !wxUSE_UNICODE return str; +#else + wxMB2WXbuf wxstr(wxConvUTF8.cMB2WX(str)); + wxChar *outstr = new wxChar[wxStrlen(wxstr)+1]; + wxStrcpy(outstr, wxstr); + return outstr; +#endif } -#define CURRENT_CACHED_BOOK_VERSION 2 +#define CURRENT_CACHED_BOOK_VERSION 3 bool wxHtmlHelpData::LoadCachedBook(wxHtmlBookRecord *book, wxInputStream *f) { @@ -331,7 +346,7 @@ bool wxHtmlHelpData::LoadCachedBook(wxHtmlBookRecord *book, wxInputStream *f) /* load header - version info : */ version = CacheReadInt32(f); - + if (version != CURRENT_CACHED_BOOK_VERSION) { // NB: We can just silently return FALSE here and don't worry about @@ -555,7 +570,6 @@ bool wxHtmlHelpData::AddBook(const wxString& book) { wxFSFile *fi; wxFileSystem fsys; - wxInputStream *s; wxString bookFull; wxString title = _("noname"), @@ -572,7 +586,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book) bookFull = fn.GetFullPath( wxPATH_UNIX ); #else if (wxIsAbsolutePath(book)) bookFull = book; - else bookFull = wxGetCwd() + "/" + book; + else bookFull = wxGetCwd() + wxT("/") + book; #endif fi = fsys.OpenFile(bookFull); @@ -582,20 +596,19 @@ bool wxHtmlHelpData::AddBook(const wxString& book) return FALSE; } fsys.ChangePathTo(bookFull); - s = fi->GetStream(); const wxChar *lineptr; wxChar linebuf[300]; wxString tmp; - - wxPrivate_ReadString(tmp, s); + wxHtmlFilterPlainText filter; + tmp = filter.ReadFile(*fi); lineptr = tmp.c_str(); do { lineptr = ReadLine(lineptr, linebuf, 300); - for (wxChar *ch = linebuf; *ch != '\0' && *ch != '='; ch++) + for (wxChar *ch = linebuf; *ch != wxT('\0') && *ch != wxT('='); ch++) *ch = tolower(*ch); if (wxStrstr(linebuf, _T("title=")) == linebuf) @@ -773,7 +786,7 @@ bool wxHtmlSearchStatus::Search() file = fsys.OpenFile(m_Data->m_Contents[i].m_Book->GetFullPath(thepage)); if (file) { - if (m_Engine.Scan(file->GetStream())) + if (m_Engine.Scan(*file)) { m_Name = m_Data->m_Contents[i].m_Name; m_ContentsItem = m_Data->m_Contents + i; @@ -792,10 +805,10 @@ bool wxHtmlSearchStatus::Search() //-------------------------------------------------------------------------------- -// wxSearchEngine +// wxHtmlSearchEngine //-------------------------------------------------------------------------------- -void wxSearchEngine::LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only) +void wxHtmlSearchEngine::LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only) { m_CaseSensitive = case_sensitive; m_WholeWords = whole_words_only; @@ -819,15 +832,15 @@ static inline bool WHITESPACE(wxChar c) return c == _T(' ') || c == _T('\n') || c == _T('\r') || c == _T('\t'); } -bool wxSearchEngine::Scan(wxInputStream *stream) +bool wxHtmlSearchEngine::Scan(const wxFSFile& file) { - wxASSERT_MSG(m_Keyword != NULL, wxT("wxSearchEngine::LookFor must be called before scanning!")); + wxASSERT_MSG(m_Keyword != NULL, wxT("wxHtmlSearchEngine::LookFor must be called before scanning!")); int i, j; int wrd = wxStrlen(m_Keyword); bool found = FALSE; - wxString tmp; - wxPrivate_ReadString(tmp, stream); + wxHtmlFilterHTML filter; + wxString tmp = filter.ReadFile(file); int lng = tmp.length(); const wxChar *buf = tmp.c_str(); diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 4e1c99dcc4..92f11379b1 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -878,10 +878,15 @@ void wxHtmlHelpFrame::WriteCustomization(wxConfigBase *cfg, const wxString& path cfg->Write(wxT("hcNavigPanel"), m_Cfg.navig_on); cfg->Write(wxT("hcSashPos"), (long)m_Cfg.sashpos); - cfg->Write(wxT("hcX"), (long)m_Cfg.x); - cfg->Write(wxT("hcY"), (long)m_Cfg.y); - cfg->Write(wxT("hcW"), (long)m_Cfg.w); - cfg->Write(wxT("hcH"), (long)m_Cfg.h); + if ( !IsIconized() ) + { + // Don't write if iconized as this would make the window + // disappear next time it is shown! + cfg->Write(wxT("hcX"), (long)m_Cfg.x); + cfg->Write(wxT("hcY"), (long)m_Cfg.y); + cfg->Write(wxT("hcW"), (long)m_Cfg.w); + cfg->Write(wxT("hcH"), (long)m_Cfg.h); + } cfg->Write(wxT("hcFixedFace"), m_FixedFace); cfg->Write(wxT("hcNormalFace"), m_NormalFace); cfg->Write(wxT("hcBaseFontSize"), (long)m_FontSize); @@ -1120,8 +1125,12 @@ void wxHtmlHelpFrame::OnActivate(wxActivateEvent& event) { // This saves one mouse click when using the // wxHTML for context sensitive help systems +#ifndef __WXGTK__ + // NB: wxActivateEvent is a bit broken in wxGTK + // and is sometimes sent when it should not be if (event.GetActive() && m_HtmlWin) m_HtmlWin->SetFocus(); +#endif event.Skip(); } diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index 6a7f93f0c0..94edca7b64 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -17,7 +17,7 @@ #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -255,8 +255,8 @@ void wxHtmlContainerCell::Layout(int w) m_Width = 0; for (wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext()) cell->Layout(0); - // this does two things: it recursively calls this code on all child - // contrainers and resets children's position to (0,0) + // this does two things: it recursively calls this code on all + // child contrainers and resets children's position to (0,0) return; } @@ -465,6 +465,15 @@ void wxHtmlContainerCell::DrawInvisible(wxDC& dc, int x, int y) } +wxColour wxHtmlContainerCell::GetBackgroundColour() +{ + if (m_UseBkColour) + return m_BkColour; + else + return wxNullColour; +} + + wxHtmlLinkInfo *wxHtmlContainerCell::GetLink(int x, int y) const { diff --git a/src/html/htmlfilt.cpp b/src/html/htmlfilt.cpp index 0482dc49cd..7e1dc3c178 100644 --- a/src/html/htmlfilt.cpp +++ b/src/html/htmlfilt.cpp @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -26,15 +26,16 @@ #include "wx/intl.h" #endif +#include "wx/strconv.h" #include "wx/html/htmlfilt.h" #include "wx/html/htmlwin.h" // utility function: read a wxString from a wxInputStream -void wxPrivate_ReadString(wxString& str, wxInputStream* s) +static void ReadString(wxString& str, wxInputStream* s, wxMBConv& conv) { size_t streamSize = s->GetSize(); - if(streamSize == ~(size_t)0) + if (streamSize == ~(size_t)0) { const size_t bufSize = 4095; char buffer[bufSize+1]; @@ -45,17 +46,17 @@ void wxPrivate_ReadString(wxString& str, wxInputStream* s) s->Read(buffer, bufSize); lastRead = s->LastRead(); buffer[lastRead] = 0; - str.Append(buffer); + str.Append(wxString(buffer, conv)); } - while(lastRead == bufSize); + while (lastRead == bufSize); } else { char* src = new char[streamSize+1]; s->Read(src, streamSize); src[streamSize] = 0; - str = src; - delete [] src; + str = wxString(src, conv); + delete[] src; } } @@ -87,12 +88,12 @@ wxString wxHtmlFilterPlainText::ReadFile(const wxFSFile& file) const wxString doc, doc2; if (s == NULL) return wxEmptyString; - wxPrivate_ReadString(doc, s); + ReadString(doc, s, wxConvISO8859_1); doc.Replace(wxT("&"), wxT("&"), TRUE); doc.Replace(wxT("<"), wxT("<"), TRUE); doc.Replace(wxT(">"), wxT(">"), TRUE); - doc2 = "
        \n" + doc + "\n
        "; + doc2 = wxT("
        \n") + doc + wxT("\n
        "); return doc2; } @@ -127,26 +128,18 @@ bool wxHtmlFilterImage::CanRead(const wxFSFile& file) const wxString wxHtmlFilterImage::ReadFile(const wxFSFile& file) const { - return (""); + wxString res = wxT(""); + return res; } //-------------------------------------------------------------------------------- -// wxHtmlFilterPlainText -// filter for text/plain or uknown +// wxHtmlFilterHTML +// filter for text/html //-------------------------------------------------------------------------------- -class wxHtmlFilterHTML : public wxHtmlFilter -{ - DECLARE_DYNAMIC_CLASS(wxHtmlFilterHTML) - - public: - virtual bool CanRead(const wxFSFile& file) const; - virtual wxString ReadFile(const wxFSFile& file) const; -}; - IMPLEMENT_DYNAMIC_CLASS(wxHtmlFilterHTML, wxHtmlFilter) @@ -171,15 +164,43 @@ wxString wxHtmlFilterHTML::ReadFile(const wxFSFile& file) const wxLogError(_("Cannot open HTML document: %s"), file.GetLocation().c_str()); return wxEmptyString; } - wxPrivate_ReadString(doc, s); + // NB: We convert input file to wchar_t here in Unicode mode, based on + // either Content-Type header or tags. In ANSI mode, we don't + // do it as it is done by wxHtmlParser (for this reason, we add + // tag if we used Content-Type header). +#if wxUSE_UNICODE + int charsetPos; + if ((charsetPos = file.GetMimeType().Find(_T("; charset="))) != wxNOT_FOUND) + { + wxString charset = file.GetMimeType().Mid(charsetPos + 10); + wxCSConv conv(charset); + ReadString(doc, s, conv); + } + else + { + wxString tmpdoc; + ReadString(tmpdoc, s, wxConvISO8859_1); + wxString charset = wxHtmlParser::ExtractCharsetInformation(tmpdoc); + if (charset.empty()) + doc = tmpdoc; + else + { + wxCSConv conv(charset); + doc = wxString(tmpdoc.mb_str(wxConvISO8859_1), conv); + } + } +#else // !wxUSE_UNICODE + ReadString(doc, s, wxConvLibc); // add meta tag if we obtained this through http: - if (file.GetMimeType().Find(_T("; charset=")) == 0) + if (!file.GetMimeType().empty()) { - wxString s(_T(""); - return s+doc; + wxString hdr; + wxString mime = file.GetMimeType(); + hdr.Printf(_T(""), mime.c_str()); + return hdr+doc; } +#endif return doc; } diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index 50b878f4da..9ed716fe81 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -92,11 +92,9 @@ wxHtmlParser::~wxHtmlParser() wxObject* wxHtmlParser::Parse(const wxString& source) { - wxObject *result; - InitParser(source); DoParsing(); - result = GetProduct(); + wxObject *result = GetProduct(); DoneParser(); return result; } @@ -104,6 +102,7 @@ wxObject* wxHtmlParser::Parse(const wxString& source) void wxHtmlParser::InitParser(const wxString& source) { SetSource(source); + m_stopParsing = FALSE; } void wxHtmlParser::DoneParser() @@ -292,6 +291,8 @@ void wxHtmlParser::DoParsing(int begin_pos, int end_pos) wxHtmlTag *t = m_CurTag; m_CurTag = m_CurTag->GetNextTag(); AddTag(*t); + if (m_stopParsing) + return; } else break; } @@ -304,7 +305,11 @@ void wxHtmlParser::AddTag(const wxHtmlTag& tag) h = (wxHtmlTagHandler*) m_HandlersHash.Get(tag.GetName()); if (h) + { inner = h->HandleTag(tag); + if (m_stopParsing) + return; + } if (!inner) { if (tag.HasEnding()) @@ -432,11 +437,15 @@ wxHtmlEntitiesParser::~wxHtmlEntitiesParser() void wxHtmlEntitiesParser::SetEncoding(wxFontEncoding encoding) { #if wxUSE_WCHAR_T && !wxUSE_UNICODE - if (encoding == m_encoding) return; + if (encoding == m_encoding) + return; + delete m_conv; - m_conv = NULL; + m_encoding = encoding; - if (m_encoding != wxFONTENCODING_SYSTEM) + if (m_encoding == wxFONTENCODING_SYSTEM) + m_conv = NULL; + else m_conv = new wxCSConv(wxFontMapper::GetEncodingName(m_encoding)); #else (void) encoding; @@ -496,11 +505,10 @@ extern "C" int LINKAGEMODE wxHtmlEntityCompare(const void *key, const void *item return wxStrcmp((wxChar*)key, ((wxHtmlEntityInfo*)item)->name); } +#if !wxUSE_UNICODE wxChar wxHtmlEntitiesParser::GetCharForCode(unsigned code) { -#if wxUSE_UNICODE - return (wxChar)code; -#elif wxUSE_WCHAR_T +#if wxUSE_WCHAR_T char buf[2]; wchar_t wbuf[2]; wbuf[0] = (wchar_t)code; @@ -513,6 +521,7 @@ wxChar wxHtmlEntitiesParser::GetCharForCode(unsigned code) return (code < 256) ? (wxChar)code : '?'; #endif } +#endif wxChar wxHtmlEntitiesParser::GetEntityChar(const wxString& entity) { @@ -818,4 +827,62 @@ wxFSFile *wxHtmlParser::OpenURL(wxHtmlURLType WXUNUSED(type), return GetFS()->OpenFile(url); } + +//----------------------------------------------------------------------------- +// wxHtmlParser::ExtractCharsetInformation +//----------------------------------------------------------------------------- + +class wxMetaTagParser : public wxHtmlParser +{ +public: + wxObject* GetProduct() { return NULL; } +protected: + virtual void AddText(const wxChar* WXUNUSED(txt)) {} +}; + +class wxMetaTagHandler : public wxHtmlTagHandler +{ +public: + wxMetaTagHandler(wxString *retval) : wxHtmlTagHandler(), m_retval(retval) {} + wxString GetSupportedTags() { return wxT("META,BODY"); } + bool HandleTag(const wxHtmlTag& tag); + +private: + wxString *m_retval; +}; + +bool wxMetaTagHandler::HandleTag(const wxHtmlTag& tag) +{ + if (tag.GetName() == _T("BODY")) + { + m_Parser->StopParsing(); + return FALSE; + } + + if (tag.HasParam(_T("HTTP-EQUIV")) && + tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") && + tag.HasParam(_T("CONTENT"))) + { + wxString content = tag.GetParam(_T("CONTENT")); + if (content.Left(19) == _T("text/html; charset=")) + { + *m_retval = content.Mid(19); + m_Parser->StopParsing(); + } + } + return FALSE; +} + + +/*static*/ +wxString wxHtmlParser::ExtractCharsetInformation(const wxString& markup) +{ + wxString charset; + wxMetaTagParser parser; + parser.AddTagHandler(new wxMetaTagHandler(&charset)); + parser.Parse(markup); + return charset; +} + + #endif diff --git a/src/html/htmltag.cpp b/src/html/htmltag.cpp index 33607f7ada..47ac16a2e4 100644 --- a/src/html/htmltag.cpp +++ b/src/html/htmltag.cpp @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index ebb83bd452..f57311fce4 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -18,7 +18,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index 117e2261c4..a2dfa82097 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -269,9 +269,6 @@ void wxHtmlPrintout::SetHtmlText(const wxString& html, const wxString &basepath, m_BasePathIsDir = isdir; } -// defined in htmlfilt.cpp -void wxPrivate_ReadString(wxString& str, wxInputStream* s); - void wxHtmlPrintout::SetHtmlFile(const wxString& htmlfile) { wxFileSystem fs; @@ -283,13 +280,11 @@ void wxHtmlPrintout::SetHtmlFile(const wxString& htmlfile) return; } - wxInputStream *st = ff->GetStream(); - wxString doc; - wxPrivate_ReadString(doc, st); - - delete ff; - + wxHtmlFilterHTML filter; + wxString doc = filter.ReadFile(*ff); + SetHtmlText(doc, htmlfile, FALSE); + delete ff; } diff --git a/src/html/m_dflist.cpp b/src/html/m_dflist.cpp index 634a31786b..e113412e7a 100644 --- a/src/html/m_dflist.cpp +++ b/src/html/m_dflist.cpp @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -34,7 +34,7 @@ FORCE_LINK_ME(m_dflist) -TAG_HANDLER_BEGIN(DEFLIST, "DL,DT,DD") +TAG_HANDLER_BEGIN(DEFLIST, "DL,DT,DD" ) TAG_HANDLER_PROC(tag) { diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 0014a38ed8..8582927cf7 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -31,7 +31,7 @@ FORCE_LINK_ME(m_fonts) -TAG_HANDLER_BEGIN(FONT, "FONT") +TAG_HANDLER_BEGIN(FONT, "FONT" ) TAG_HANDLER_VARS wxArrayString m_Faces; diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index b9df229000..d0a1b033bc 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index 7458ddf792..aaf6a8fa4a 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index e828f01e1d..aeb0478d49 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -15,7 +15,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/m_links.cpp b/src/html/m_links.cpp index 588180f01e..dd0c0eae07 100644 --- a/src/html/m_links.cpp +++ b/src/html/m_links.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -52,19 +52,19 @@ TAG_HANDLER_BEGIN(A, "A") TAG_HANDLER_PROC(tag) { - if (tag.HasParam("NAME")) + if (tag.HasParam( wxT("NAME") )) { - m_WParser->GetContainer()->InsertCell(new wxHtmlAnchorCell(tag.GetParam("NAME"))); + m_WParser->GetContainer()->InsertCell(new wxHtmlAnchorCell(tag.GetParam( wxT("NAME") ))); } - if (tag.HasParam("HREF")) + if (tag.HasParam( wxT("HREF") )) { wxHtmlLinkInfo oldlnk = m_WParser->GetLink(); wxColour oldclr = m_WParser->GetActualColor(); int oldund = m_WParser->GetFontUnderlined(); - wxString name(tag.GetParam("HREF")), target; + wxString name(tag.GetParam( wxT("HREF") )), target; - if (tag.HasParam("TARGET")) target = tag.GetParam("TARGET"); + if (tag.HasParam( wxT("TARGET") )) target = tag.GetParam( wxT("TARGET") ); m_WParser->SetActualColor(m_WParser->GetLinkColor()); m_WParser->GetContainer()->InsertCell(new wxHtmlColourCell(m_WParser->GetLinkColor())); m_WParser->SetFontUnderlined(TRUE); diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp index 44cad981ed..0549463eab 100644 --- a/src/html/m_list.cpp +++ b/src/html/m_list.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/m_meta.cpp b/src/html/m_meta.cpp deleted file mode 100644 index 9ad9eb7c4b..0000000000 --- a/src/html/m_meta.cpp +++ /dev/null @@ -1,70 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: m_meta.cpp -// Purpose: wxHtml module for parsing tag -// Author: Vaclav Slavik -// RCS-ID: $Id$ -// Copyright: (c) 2000 Vaclav Slavik -// Licence: wxWindows Licence -///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include "wx/wxprec.h" - - -#include "wx/defs.h" -#if wxUSE_HTML && wxUSE_STREAMS - -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - -#ifndef WXPRECOMP -#endif - -#include "wx/fontmap.h" -#include "wx/html/forcelnk.h" -#include "wx/html/m_templ.h" -#include "wx/html/htmlcell.h" - -FORCE_LINK_ME(m_meta) - - - - -TAG_HANDLER_BEGIN(META, "META") - - TAG_HANDLER_PROC(tag) - { - if (tag.HasParam(_T("HTTP-EQUIV")) && - tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") && - tag.HasParam(_T("CONTENT"))) - { - wxString content = tag.GetParam(_T("CONTENT")); - if (content.Left(19) == _T("text/html; charset=")) - { - wxFontEncoding enc = - wxFontMapper::Get()->CharsetToEncoding(content.Mid(19)); - if (enc == wxFONTENCODING_SYSTEM) return FALSE; - if (enc == m_WParser->GetInputEncoding()) return FALSE; - - m_WParser->SetInputEncoding(enc); - m_WParser->GetContainer()->InsertCell( - new wxHtmlFontCell(m_WParser->CreateCurrentFont())); - } - } - return FALSE; - } - -TAG_HANDLER_END(META) - - -TAGS_MODULE_BEGIN(MetaTag) - - TAGS_MODULE_ADD(META) - -TAGS_MODULE_END(MetaTag) - -#endif diff --git a/src/html/m_pre.cpp b/src/html/m_pre.cpp index f1c064e755..313d8a88bc 100644 --- a/src/html/m_pre.cpp +++ b/src/html/m_pre.cpp @@ -15,7 +15,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/m_style.cpp b/src/html/m_style.cpp index 9355867e81..9913b83703 100644 --- a/src/html/m_style.cpp +++ b/src/html/m_style.cpp @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index 7d125edf1c..07aa795bac 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -15,7 +15,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 4c6943463a..d11a8ea9fd 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -17,7 +17,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -49,8 +49,11 @@ wxHtmlWinParser::wxHtmlWinParser(wxHtmlWindow *wnd) : wxHtmlParser() m_DC = NULL; m_CharHeight = m_CharWidth = 0; m_UseLink = FALSE; +#if !wxUSE_UNICODE m_EncConv = NULL; - m_InputEnc = m_OutputEnc = wxFONTENCODING_DEFAULT; + m_InputEnc = wxFONTENCODING_ISO8859_1; + m_OutputEnc = wxFONTENCODING_DEFAULT; +#endif { int i, j, k, l, m; @@ -62,7 +65,9 @@ wxHtmlWinParser::wxHtmlWinParser(wxHtmlWindow *wnd) : wxHtmlParser() { m_FontsTable[i][j][k][l][m] = NULL; m_FontsFacesTable[i][j][k][l][m] = wxEmptyString; +#if !wxUSE_UNICODE m_FontsEncTable[i][j][k][l][m] = wxFONTENCODING_DEFAULT; +#endif } #ifdef __WXMSW__ static int default_sizes[7] = {7, 8, 10, 12, 16, 22, 30}; @@ -71,7 +76,7 @@ wxHtmlWinParser::wxHtmlWinParser(wxHtmlWindow *wnd) : wxHtmlParser() #else static int default_sizes[7] = {10, 12, 14, 16, 19, 24, 32}; #endif - SetFonts("", "", default_sizes); + SetFonts(wxT(""), wxT(""), default_sizes); } // fill in wxHtmlParser's tables: @@ -97,7 +102,9 @@ wxHtmlWinParser::~wxHtmlWinParser() if (m_FontsTable[i][j][k][l][m] != NULL) delete m_FontsTable[i][j][k][l][m]; } +#if !wxUSE_UNICODE delete m_EncConv; +#endif delete[] m_tmpStrBuf; } @@ -119,7 +126,9 @@ void wxHtmlWinParser::SetFonts(wxString normal_face, wxString fixed_face, const m_FontFaceFixed = fixed_face; m_FontFaceNormal = normal_face; +#if !wxUSE_UNICODE SetInputEncoding(m_InputEnc); +#endif for (i = 0; i < 2; i++) for (j = 0; j < 2; j++) @@ -137,26 +146,36 @@ void wxHtmlWinParser::SetFonts(wxString normal_face, wxString fixed_face, const void wxHtmlWinParser::InitParser(const wxString& source) { wxHtmlParser::InitParser(source); - wxASSERT_MSG(m_DC != NULL, _T("no DC assigned to wxHtmlWinParser!!")); + wxASSERT_MSG(m_DC != NULL, wxT("no DC assigned to wxHtmlWinParser!!")); m_FontBold = m_FontItalic = m_FontUnderlined = m_FontFixed = FALSE; m_FontSize = 3; //default one CreateCurrentFont(); // we're selecting default font into - m_DC->GetTextExtent("H", &m_CharWidth, &m_CharHeight); + m_DC->GetTextExtent( wxT("H"), &m_CharWidth, &m_CharHeight); /* NOTE : we're not using GetCharWidth/Height() because of differences under X and win */ m_UseLink = FALSE; - m_Link = wxHtmlLinkInfo("", ""); + m_Link = wxHtmlLinkInfo( wxT(""), wxT("") ); m_LinkColor.Set(0, 0, 0xFF); m_ActualColor.Set(0, 0, 0); m_Align = wxHTML_ALIGN_LEFT; m_tmpLastWasSpace = FALSE; OpenContainer(); - OpenContainer(); + +#if 0 //!wxUSE_UNICODE + wxString charset = ExtractCharsetInformation(source); + if (!charset.empty()) + { + wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(charset); + if (enc != wxFONTENCODING_SYSTEM) + SetInputEncoding(enc); + } +#endif + m_Container->InsertCell(new wxHtmlColourCell(m_ActualColor)); m_Container->InsertCell(new wxHtmlFontCell(CreateCurrentFont())); } @@ -164,7 +183,9 @@ void wxHtmlWinParser::InitParser(const wxString& source) void wxHtmlWinParser::DoneParser() { m_Container = NULL; - SetInputEncoding(wxFONTENCODING_DEFAULT); // for next call +#if !wxUSE_UNICODE + SetInputEncoding(wxFONTENCODING_ISO8859_1); // for next call +#endif wxHtmlParser::DoneParser(); } @@ -253,8 +274,10 @@ void wxHtmlWinParser::AddText(const wxChar* txt) if (templen == 1) continue; #endif templen = 0; +#if !wxUSE_UNICODE if (m_EncConv) m_EncConv->Convert(temp); +#endif size_t len = wxStrlen(temp); for (size_t j = 0; j < len; j++) if (temp[j] == nbsp) @@ -270,8 +293,10 @@ void wxHtmlWinParser::AddText(const wxChar* txt) if (templen && (templen > 1 || temp[0] != wxT(' '))) { temp[templen] = 0; +#if !wxUSE_UNICODE if (m_EncConv) m_EncConv->Convert(temp); +#endif size_t len = wxStrlen(temp); for (size_t j = 0; j < len; j++) if (temp[j] == nbsp) @@ -333,9 +358,15 @@ wxFont* wxHtmlWinParser::CreateCurrentFont() wxString face = ff ? m_FontFaceFixed : m_FontFaceNormal; wxString *faceptr = &(m_FontsFacesTable[fb][fi][fu][ff][fs]); wxFont **fontptr = &(m_FontsTable[fb][fi][fu][ff][fs]); +#if !wxUSE_UNICODE wxFontEncoding *encptr = &(m_FontsEncTable[fb][fi][fu][ff][fs]); +#endif - if (*fontptr != NULL && (*faceptr != face || *encptr != m_OutputEnc)) + if (*fontptr != NULL && (*faceptr != face +#if !wxUSE_UNICODE + || *encptr != m_OutputEnc +#endif + )) { delete *fontptr; *fontptr = NULL; @@ -344,14 +375,18 @@ wxFont* wxHtmlWinParser::CreateCurrentFont() if (*fontptr == NULL) { *faceptr = face; - *encptr = m_OutputEnc; *fontptr = new wxFont( (int) (m_FontsSizes[fs] * m_PixelScale), ff ? wxMODERN : wxSWISS, fi ? wxITALIC : wxNORMAL, fb ? wxBOLD : wxNORMAL, - fu ? TRUE : FALSE, face, - m_OutputEnc); + fu ? TRUE : FALSE, face +#if wxUSE_UNICODE + ); +#else + , m_OutputEnc); + *encptr = m_OutputEnc; +#endif } m_DC->SetFont(**fontptr); return (*fontptr); @@ -371,12 +406,15 @@ void wxHtmlWinParser::SetFontFace(const wxString& face) if (GetFontFixed()) m_FontFaceFixed = face; else m_FontFaceNormal = face; +#if !wxUSE_UNICODE if (m_InputEnc != wxFONTENCODING_DEFAULT) SetInputEncoding(m_InputEnc); +#endif } +#if !wxUSE_UNICODE void wxHtmlWinParser::SetInputEncoding(wxFontEncoding enc) { m_InputEnc = m_OutputEnc = wxFONTENCODING_DEFAULT; @@ -434,7 +472,7 @@ void wxHtmlWinParser::SetInputEncoding(wxFontEncoding enc) m_EncConv = NULL; } } - +#endif diff --git a/src/jpeg/jdcoefct.c b/src/jpeg/jdcoefct.c index 4b89b62d24..5b5b3bbd49 100644 --- a/src/jpeg/jdcoefct.c +++ b/src/jpeg/jdcoefct.c @@ -104,13 +104,16 @@ start_iMCU_row (j_decompress_ptr cinfo) */ METHODDEF(void) +#if defined(__VISAGECPP__) +start_input_pass2 (j_decompress_ptr cinfo) +#else start_input_pass (j_decompress_ptr cinfo) +#endif { cinfo->input_iMCU_row = 0; start_iMCU_row(cinfo); } - /* * Initialize for an output processing pass. */ @@ -681,7 +684,12 @@ jinit_d_coef_controller (j_decompress_ptr cinfo, boolean need_full_buffer) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, SIZEOF(my_coef_controller)); cinfo->coef = (struct jpeg_d_coef_controller *) coef; +#if defined(__VISAGECPP__) + coef->pub.start_input_pass2 = start_input_pass2; +#else coef->pub.start_input_pass = start_input_pass; +#endif + coef->pub.start_output_pass = start_output_pass; #ifdef BLOCK_SMOOTHING_SUPPORTED coef->coef_bits_latch = NULL; @@ -734,3 +742,4 @@ jinit_d_coef_controller (j_decompress_ptr cinfo, boolean need_full_buffer) coef->pub.coef_arrays = NULL; /* flag for no virtual arrays */ } } + diff --git a/src/jpeg/jdinput.c b/src/jpeg/jdinput.c index 324d0ffe0c..ce05a85815 100644 --- a/src/jpeg/jdinput.c +++ b/src/jpeg/jdinput.c @@ -260,7 +260,11 @@ start_input_pass (j_decompress_ptr cinfo) per_scan_setup(cinfo); latch_quant_tables(cinfo); (*cinfo->entropy->start_pass) (cinfo); +#if defined(__VISAGECPP__) + (*cinfo->coef->start_input_pass2) (cinfo); +#else (*cinfo->coef->start_input_pass) (cinfo); +#endif cinfo->inputctl->consume_input = cinfo->coef->consume_data; } @@ -389,3 +393,4 @@ jinit_input_controller (j_decompress_ptr cinfo) # undef start_input_pass2 # endif #endif + diff --git a/src/jpeg/jdtrans.c b/src/jpeg/jdtrans.c index 6c0ab715d3..d22388684f 100644 --- a/src/jpeg/jdtrans.c +++ b/src/jpeg/jdtrans.c @@ -121,7 +121,6 @@ transdecode_master_selection (j_decompress_ptr cinfo) /* Initialize input side of decompressor to consume first scan. */ (*cinfo->inputctl->start_input_pass) (cinfo); - /* Initialize progress monitoring. */ if (cinfo->progress != NULL) { int nscans; @@ -141,3 +140,4 @@ transdecode_master_selection (j_decompress_ptr cinfo) cinfo->progress->total_passes = 1; } } + diff --git a/src/jpeg/jpegint.h b/src/jpeg/jpegint.h index 65091f4f08..14a51d14d8 100644 --- a/src/jpeg/jpegint.h +++ b/src/jpeg/jpegint.h @@ -175,7 +175,15 @@ struct jpeg_d_main_controller { /* Coefficient buffer control */ struct jpeg_d_coef_controller { +#if defined(__VISAGECPP__) + /* the start input pass in jdcoeft must have a different name than the + // one in jdtrans under VisualAge or else we get a dup symbol error + */ + JMETHOD(void, start_input_pass2, (j_decompress_ptr cinfo)); +#else JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); +#endif + JMETHOD(int, consume_data, (j_decompress_ptr cinfo)); JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo)); JMETHOD(int, decompress_data, (j_decompress_ptr cinfo, diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 587cdeb344..c10922c3a9 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -101,6 +101,8 @@ long wxApp::s_lastModifiers = 0 ; bool wxApp::s_macDefaultEncodingIsPC = true ; bool wxApp::s_macSupportPCMenuShortcuts = true ; long wxApp::s_macAboutMenuItemId = wxID_ABOUT ; +long wxApp::s_macPreferencesMenuItemId = 0 ; +long wxApp::s_macExitMenuItemId = wxID_EXIT ; wxString wxApp::s_macHelpMenuTitleName = "&Help" ; pascal OSErr AEHandleODoc( const AppleEvent *event , AppleEvent *reply , long refcon ) ; @@ -923,10 +925,7 @@ int wxEntry( int argc, char *argv[] , bool enterLoop ) // application (otherwise applications would need to handle it) if (argc > 1) { - char theArg[6] = ""; - strncpy(theArg, argv[1], 5); - - if (strcmp(theArg, "-psn_") == 0) { + if (strncmp(argv[1], "-psn_", 5) == 0) { // assume the argument is always the only one and remove it --argc; } @@ -1443,7 +1442,9 @@ void wxApp::MacHandleModifierEvents( WXEVENTREF evr ) EventRecord* ev = (EventRecord*) evr ; #if TARGET_CARBON if ( ev->what == mouseDown || ev->what == mouseUp || ev->what == activateEvt || - ev->what == keyDown || ev->what == autoKey || ev->what == keyUp || ev->what == nullEvent ) + ev->what == keyDown || ev->what == autoKey || ev->what == keyUp || ev->what == kHighLevelEvent || + ev->what == nullEvent + ) { // in these cases the modifiers are already correctly setup by carbon } @@ -1628,23 +1629,28 @@ void wxApp::MacHandleMouseDownEvent( WXEVENTREF evr ) break; case inGrow: { - int growResult = GrowWindow(window , ev->where, &screenBits.bounds); - if (growResult != 0) + Rect newContentRect ; + Rect constraintRect ; + constraintRect.top = win->GetMinHeight() ; + if ( constraintRect.top == -1 ) + constraintRect.top = 0 ; + constraintRect.left = win->GetMinWidth() ; + if ( constraintRect.left == -1 ) + constraintRect.left = 0 ; + constraintRect.right = win->GetMaxWidth() ; + if ( constraintRect.right == -1 ) + constraintRect.right = 32000 ; + constraintRect.bottom = win->GetMaxHeight() ; + if ( constraintRect.bottom == -1 ) + constraintRect.bottom = 32000 ; + + Boolean growResult = ResizeWindow( window , ev->where , + &constraintRect , &newContentRect ) ; + if ( growResult ) { - int newWidth = LoWord(growResult); - int newHeight = HiWord(growResult); - int oldWidth, oldHeight; - - - if (win) - { - win->GetSize(&oldWidth, &oldHeight); - if (newWidth == 0) - newWidth = oldWidth; - if (newHeight == 0) - newHeight = oldHeight; - win->SetSize( -1, -1 , newWidth, newHeight, wxSIZE_USE_EXISTING); - } + win->SetSize( newContentRect.left , newContentRect.top , + newContentRect.right - newContentRect.left , + newContentRect.bottom - newContentRect.top, wxSIZE_USE_EXISTING); } s_lastMouseDown = 0; } @@ -2309,35 +2315,31 @@ void wxApp::MacHandleMenuSelect( int macMenuId , int macMenuItemNum ) } else { + MenuCommand id ; + GetMenuItemCommandID( GetMenuHandle(macMenuId) , macMenuItemNum , &id ) ; + wxMenuBar* mbar = wxMenuBar::MacGetInstalledMenuBar() ; + wxMenu* menu = NULL ; + wxMenuItem* item = NULL ; + if ( mbar ) + { + item = mbar->FindItem( id , &menu ) ; + } + wxCHECK_RET( item != NULL && menu != NULL && mbar != NULL, wxT("error in menu item callback") ); + + if (item->IsCheckable()) + { + item->Check( !item->IsChecked() ) ; + } + + menu->SendEvent( id , item->IsCheckable() ? item->IsChecked() : -1 ) ; + /* wxWindow* frontwindow = wxFindWinFromMacWindow( ::FrontWindow() ) ; - if ( frontwindow && wxMenuBar::MacGetInstalledMenuBar() ) - wxMenuBar::MacGetInstalledMenuBar()->MacMenuSelect( frontwindow->GetEventHandler() , 0 , macMenuId , macMenuItemNum ) ; + wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, id ); + event.m_timeStamp = ((EventRecord*) MacGetCurrentEvent())->when ; + event.SetEventObject(menu); + event.SetInt(item->IsCheckable() ? item->IsChecked() : -1); + frontwindow->GetEventHandler()->ProcessEvent(event); + */ } HiliteMenu(0); } - -/* -long wxApp::MacTranslateKey(char key, int mods) -{ -} - -void wxApp::MacAdjustCursor() -{ -} - -*/ -/* -void -wxApp::macAdjustCursor() -{ - if (ev->what != kHighLevelEvent) - { - wxWindow* theMacWxFrame = wxFrame::MacFindFrameOrDialog(::FrontWindow()); - if (theMacWxFrame) - { - if (!theMacWxFrame->MacAdjustCursor(ev->where)) - ::SetCursor(&(qd.arrow)); - } - } -} -*/ diff --git a/src/mac/bitmap.cpp b/src/mac/bitmap.cpp index 08590d1006..cd1c398c99 100644 --- a/src/mac/bitmap.cpp +++ b/src/mac/bitmap.cpp @@ -272,14 +272,19 @@ PicHandle wxMacCreatePict(GWorldPtr wp, GWorldPtr mask) SetGWorld( wp , NULL ) ; Rect portRect ; - GetPortBounds( wp , &portRect ) ; - + if ( clipRgn ) + GetRegionBounds( clipRgn , &portRect ) ; + else + GetPortBounds( wp , &portRect ) ; pict = OpenPicture(&portRect); if(pict) { RGBForeColor( &black ) ; RGBBackColor( &white ) ; - + + if ( clipRgn ) + SetClip( clipRgn ) ; + LockPixels( GetGWorldPixMap( wp ) ) ; CopyBits(GetPortBitMapForCopyBits(wp), GetPortBitMapForCopyBits(wp), @@ -290,10 +295,12 @@ PicHandle wxMacCreatePict(GWorldPtr wp, GWorldPtr mask) ClosePicture(); } SetGWorld( origPort , origDev ) ; + if ( clipRgn ) + DisposeRgn( clipRgn ) ; return pict; } -void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap , bool forceColorIcon ) +void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap , int forceType ) { memset( info , 0 , sizeof(ControlButtonContentInfo) ) ; if ( bitmap.Ok() ) @@ -309,7 +316,7 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi } else if ( bmap->m_bitmapType == kMacBitmapTypeGrafWorld ) { - if ( (forceColorIcon || bmap->m_width == bmap->m_height) && ((bmap->m_width & 0x3) == 0) ) + if ( (forceType == kControlContentCIconHandle || ( bmap->m_width == bmap->m_height && forceType != kControlContentPictHandle ) ) && ((bmap->m_width & 0x3) == 0) ) { info->contentType = kControlContentCIconHandle ; if ( bitmap.GetMask() ) @@ -771,6 +778,8 @@ wxImage wxBitmap::ConvertToImage() const GWorldPtr origPort; GDHandle origDevice; + RgnHandle maskRgn = NULL ; + GWorldPtr tempPort = NULL ; int index; RGBColor color; // background color set to RGB(16,16,16) in consistent with wxGTK @@ -779,9 +788,28 @@ wxImage wxBitmap::ConvertToImage() const wxMask *mask = GetMask(); GetGWorld( &origPort, &origDevice ); - LockPixels(GetGWorldPixMap( (GWorldPtr) GetHBITMAP())); - SetGWorld( (GWorldPtr) GetHBITMAP(), NULL); - + if ( GetBitmapType() != kMacBitmapTypeGrafWorld ) + { + tempPort = wxMacCreateGWorld( width , height , -1) ; + } + else + { + tempPort = (GWorldPtr) GetHBITMAP() ; + } + LockPixels(GetGWorldPixMap(tempPort)); + SetGWorld( tempPort, NULL); + if ( GetBitmapType() == kMacBitmapTypePict || GetBitmapType() == kMacBitmapTypeIcon ) + { + Rect bitmaprect = { 0 , 0 , height, width }; + if ( GetBitmapType() == kMacBitmapTypeIcon ) + { + ::PlotCIconHandle( &bitmaprect , atNone , ttNone , MAC_WXHICON(GetHICON()) ) ; + maskRgn = NewRgn() ; + BitMapToRegion( maskRgn , &(**(MAC_WXHICON(GetHICON()))).iconMask ) ; + } + else + ::DrawPicture( (PicHandle) GetPict(), &bitmaprect ) ; + } // Copy data into image index = 0; for (int yy = 0; yy < height; yy++) @@ -795,27 +823,50 @@ wxImage wxBitmap::ConvertToImage() const data[index ] = r; data[index + 1] = g; data[index + 2] = b; - if (mask) - { - if (mask->PointMasked(xx,yy)) - { + if ( maskRgn ) + { + Point pt ; + pt.h = xx ; + pt.v = yy ; + if ( !PtInRgn( pt , maskRgn ) ) + { data[index ] = mask_r; data[index + 1] = mask_g; data[index + 2] = mask_b; - } + } + } + else + { + if (mask) + { + if (mask->PointMasked(xx,yy)) + { + data[index ] = mask_r; + data[index + 1] = mask_g; + data[index + 2] = mask_b; + } + } } index += 3; } } - if (mask) + if (mask || maskRgn ) { image.SetMaskColour( mask_r, mask_g, mask_b ); image.SetMask( true ); } // Free resources - UnlockPixels(GetGWorldPixMap( (GWorldPtr) GetHBITMAP())); + UnlockPixels(GetGWorldPixMap( tempPort )); SetGWorld(origPort, origDevice); + if ( GetBitmapType() != kMacBitmapTypeGrafWorld ) + { + wxMacDestroyGWorld( tempPort ) ; + } + if ( maskRgn ) + { + DisposeRgn( maskRgn ) ; + } return image; } diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 587cdeb344..c10922c3a9 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -101,6 +101,8 @@ long wxApp::s_lastModifiers = 0 ; bool wxApp::s_macDefaultEncodingIsPC = true ; bool wxApp::s_macSupportPCMenuShortcuts = true ; long wxApp::s_macAboutMenuItemId = wxID_ABOUT ; +long wxApp::s_macPreferencesMenuItemId = 0 ; +long wxApp::s_macExitMenuItemId = wxID_EXIT ; wxString wxApp::s_macHelpMenuTitleName = "&Help" ; pascal OSErr AEHandleODoc( const AppleEvent *event , AppleEvent *reply , long refcon ) ; @@ -923,10 +925,7 @@ int wxEntry( int argc, char *argv[] , bool enterLoop ) // application (otherwise applications would need to handle it) if (argc > 1) { - char theArg[6] = ""; - strncpy(theArg, argv[1], 5); - - if (strcmp(theArg, "-psn_") == 0) { + if (strncmp(argv[1], "-psn_", 5) == 0) { // assume the argument is always the only one and remove it --argc; } @@ -1443,7 +1442,9 @@ void wxApp::MacHandleModifierEvents( WXEVENTREF evr ) EventRecord* ev = (EventRecord*) evr ; #if TARGET_CARBON if ( ev->what == mouseDown || ev->what == mouseUp || ev->what == activateEvt || - ev->what == keyDown || ev->what == autoKey || ev->what == keyUp || ev->what == nullEvent ) + ev->what == keyDown || ev->what == autoKey || ev->what == keyUp || ev->what == kHighLevelEvent || + ev->what == nullEvent + ) { // in these cases the modifiers are already correctly setup by carbon } @@ -1628,23 +1629,28 @@ void wxApp::MacHandleMouseDownEvent( WXEVENTREF evr ) break; case inGrow: { - int growResult = GrowWindow(window , ev->where, &screenBits.bounds); - if (growResult != 0) + Rect newContentRect ; + Rect constraintRect ; + constraintRect.top = win->GetMinHeight() ; + if ( constraintRect.top == -1 ) + constraintRect.top = 0 ; + constraintRect.left = win->GetMinWidth() ; + if ( constraintRect.left == -1 ) + constraintRect.left = 0 ; + constraintRect.right = win->GetMaxWidth() ; + if ( constraintRect.right == -1 ) + constraintRect.right = 32000 ; + constraintRect.bottom = win->GetMaxHeight() ; + if ( constraintRect.bottom == -1 ) + constraintRect.bottom = 32000 ; + + Boolean growResult = ResizeWindow( window , ev->where , + &constraintRect , &newContentRect ) ; + if ( growResult ) { - int newWidth = LoWord(growResult); - int newHeight = HiWord(growResult); - int oldWidth, oldHeight; - - - if (win) - { - win->GetSize(&oldWidth, &oldHeight); - if (newWidth == 0) - newWidth = oldWidth; - if (newHeight == 0) - newHeight = oldHeight; - win->SetSize( -1, -1 , newWidth, newHeight, wxSIZE_USE_EXISTING); - } + win->SetSize( newContentRect.left , newContentRect.top , + newContentRect.right - newContentRect.left , + newContentRect.bottom - newContentRect.top, wxSIZE_USE_EXISTING); } s_lastMouseDown = 0; } @@ -2309,35 +2315,31 @@ void wxApp::MacHandleMenuSelect( int macMenuId , int macMenuItemNum ) } else { + MenuCommand id ; + GetMenuItemCommandID( GetMenuHandle(macMenuId) , macMenuItemNum , &id ) ; + wxMenuBar* mbar = wxMenuBar::MacGetInstalledMenuBar() ; + wxMenu* menu = NULL ; + wxMenuItem* item = NULL ; + if ( mbar ) + { + item = mbar->FindItem( id , &menu ) ; + } + wxCHECK_RET( item != NULL && menu != NULL && mbar != NULL, wxT("error in menu item callback") ); + + if (item->IsCheckable()) + { + item->Check( !item->IsChecked() ) ; + } + + menu->SendEvent( id , item->IsCheckable() ? item->IsChecked() : -1 ) ; + /* wxWindow* frontwindow = wxFindWinFromMacWindow( ::FrontWindow() ) ; - if ( frontwindow && wxMenuBar::MacGetInstalledMenuBar() ) - wxMenuBar::MacGetInstalledMenuBar()->MacMenuSelect( frontwindow->GetEventHandler() , 0 , macMenuId , macMenuItemNum ) ; + wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, id ); + event.m_timeStamp = ((EventRecord*) MacGetCurrentEvent())->when ; + event.SetEventObject(menu); + event.SetInt(item->IsCheckable() ? item->IsChecked() : -1); + frontwindow->GetEventHandler()->ProcessEvent(event); + */ } HiliteMenu(0); } - -/* -long wxApp::MacTranslateKey(char key, int mods) -{ -} - -void wxApp::MacAdjustCursor() -{ -} - -*/ -/* -void -wxApp::macAdjustCursor() -{ - if (ev->what != kHighLevelEvent) - { - wxWindow* theMacWxFrame = wxFrame::MacFindFrameOrDialog(::FrontWindow()); - if (theMacWxFrame) - { - if (!theMacWxFrame->MacAdjustCursor(ev->where)) - ::SetCursor(&(qd.arrow)); - } - } -} -*/ diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 08590d1006..cd1c398c99 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -272,14 +272,19 @@ PicHandle wxMacCreatePict(GWorldPtr wp, GWorldPtr mask) SetGWorld( wp , NULL ) ; Rect portRect ; - GetPortBounds( wp , &portRect ) ; - + if ( clipRgn ) + GetRegionBounds( clipRgn , &portRect ) ; + else + GetPortBounds( wp , &portRect ) ; pict = OpenPicture(&portRect); if(pict) { RGBForeColor( &black ) ; RGBBackColor( &white ) ; - + + if ( clipRgn ) + SetClip( clipRgn ) ; + LockPixels( GetGWorldPixMap( wp ) ) ; CopyBits(GetPortBitMapForCopyBits(wp), GetPortBitMapForCopyBits(wp), @@ -290,10 +295,12 @@ PicHandle wxMacCreatePict(GWorldPtr wp, GWorldPtr mask) ClosePicture(); } SetGWorld( origPort , origDev ) ; + if ( clipRgn ) + DisposeRgn( clipRgn ) ; return pict; } -void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap , bool forceColorIcon ) +void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bitmap , int forceType ) { memset( info , 0 , sizeof(ControlButtonContentInfo) ) ; if ( bitmap.Ok() ) @@ -309,7 +316,7 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi } else if ( bmap->m_bitmapType == kMacBitmapTypeGrafWorld ) { - if ( (forceColorIcon || bmap->m_width == bmap->m_height) && ((bmap->m_width & 0x3) == 0) ) + if ( (forceType == kControlContentCIconHandle || ( bmap->m_width == bmap->m_height && forceType != kControlContentPictHandle ) ) && ((bmap->m_width & 0x3) == 0) ) { info->contentType = kControlContentCIconHandle ; if ( bitmap.GetMask() ) @@ -771,6 +778,8 @@ wxImage wxBitmap::ConvertToImage() const GWorldPtr origPort; GDHandle origDevice; + RgnHandle maskRgn = NULL ; + GWorldPtr tempPort = NULL ; int index; RGBColor color; // background color set to RGB(16,16,16) in consistent with wxGTK @@ -779,9 +788,28 @@ wxImage wxBitmap::ConvertToImage() const wxMask *mask = GetMask(); GetGWorld( &origPort, &origDevice ); - LockPixels(GetGWorldPixMap( (GWorldPtr) GetHBITMAP())); - SetGWorld( (GWorldPtr) GetHBITMAP(), NULL); - + if ( GetBitmapType() != kMacBitmapTypeGrafWorld ) + { + tempPort = wxMacCreateGWorld( width , height , -1) ; + } + else + { + tempPort = (GWorldPtr) GetHBITMAP() ; + } + LockPixels(GetGWorldPixMap(tempPort)); + SetGWorld( tempPort, NULL); + if ( GetBitmapType() == kMacBitmapTypePict || GetBitmapType() == kMacBitmapTypeIcon ) + { + Rect bitmaprect = { 0 , 0 , height, width }; + if ( GetBitmapType() == kMacBitmapTypeIcon ) + { + ::PlotCIconHandle( &bitmaprect , atNone , ttNone , MAC_WXHICON(GetHICON()) ) ; + maskRgn = NewRgn() ; + BitMapToRegion( maskRgn , &(**(MAC_WXHICON(GetHICON()))).iconMask ) ; + } + else + ::DrawPicture( (PicHandle) GetPict(), &bitmaprect ) ; + } // Copy data into image index = 0; for (int yy = 0; yy < height; yy++) @@ -795,27 +823,50 @@ wxImage wxBitmap::ConvertToImage() const data[index ] = r; data[index + 1] = g; data[index + 2] = b; - if (mask) - { - if (mask->PointMasked(xx,yy)) - { + if ( maskRgn ) + { + Point pt ; + pt.h = xx ; + pt.v = yy ; + if ( !PtInRgn( pt , maskRgn ) ) + { data[index ] = mask_r; data[index + 1] = mask_g; data[index + 2] = mask_b; - } + } + } + else + { + if (mask) + { + if (mask->PointMasked(xx,yy)) + { + data[index ] = mask_r; + data[index + 1] = mask_g; + data[index + 2] = mask_b; + } + } } index += 3; } } - if (mask) + if (mask || maskRgn ) { image.SetMaskColour( mask_r, mask_g, mask_b ); image.SetMask( true ); } // Free resources - UnlockPixels(GetGWorldPixMap( (GWorldPtr) GetHBITMAP())); + UnlockPixels(GetGWorldPixMap( tempPort )); SetGWorld(origPort, origDevice); + if ( GetBitmapType() != kMacBitmapTypeGrafWorld ) + { + wxMacDestroyGWorld( tempPort ) ; + } + if ( maskRgn ) + { + DisposeRgn( maskRgn ) ; + } return image; } diff --git a/src/mac/carbon/checklst.cpp b/src/mac/carbon/checklst.cpp index bba473b606..3bb48dec08 100644 --- a/src/mac/carbon/checklst.cpp +++ b/src/mac/carbon/checklst.cpp @@ -271,7 +271,7 @@ bool wxCheckListBox::Create(wxWindow *parent, } else { - options = lOnlyOne ; + options = (OptionBits) lOnlyOne ; } SetListSelectionFlags((ListHandle)m_macList, options); diff --git a/src/mac/carbon/cursor.cpp b/src/mac/carbon/cursor.cpp index 23b9eb4c0c..247d910752 100644 --- a/src/mac/carbon/cursor.cpp +++ b/src/mac/carbon/cursor.cpp @@ -217,8 +217,9 @@ void wxCursor::MacInstall() const { if ( m_refData && M_CURSORDATA->m_hCursor ) { - ::SetCursor( *((CursHandle)M_CURSORDATA->m_hCursor) ) ; - gMacCurrentCursor = (CursHandle)M_CURSORDATA->m_hCursor ; + CursHandle ch = ((CursHandle)M_CURSORDATA->m_hCursor) ; + ::SetCursor( *ch ) ; + gMacCurrentCursor = ch ; } else { diff --git a/src/mac/carbon/dc.cpp b/src/mac/carbon/dc.cpp index 14ced3443b..d9b5abecbd 100644 --- a/src/mac/carbon/dc.cpp +++ b/src/mac/carbon/dc.cpp @@ -2041,7 +2041,8 @@ void wxDC::MacInstallPen() const case wxUSER_DASH : { wxDash* dash ; - int number = m_pen.GetDashes(&dash) ; + m_pen.GetDashes(&dash) ; + // right now we don't allocate larger pixmaps // int number = m_pen.GetDashes(&dash) ; diff --git a/src/mac/carbon/filedlg.cpp b/src/mac/carbon/filedlg.cpp index cef71e0136..f4e41ae710 100644 --- a/src/mac/carbon/filedlg.cpp +++ b/src/mac/carbon/filedlg.cpp @@ -46,15 +46,15 @@ extern bool gUseNavServices ; // and a copy of the "previous" file spec of the reply record // so we can see if the selection has changed -const int kwxMacFileTypes = 10 ; - struct OpenUserDataRec { int currentfilter ; - wxString name [kwxMacFileTypes] ; - wxString extensions[kwxMacFileTypes] ; - OSType filtermactypes[kwxMacFileTypes] ; - int numfilters ; + bool saveMode ; + wxArrayString name ; + wxArrayString extensions ; + wxArrayLong filtermactypes ; + NavMenuItemSpecArrayHandle menuitems ; }; + typedef struct OpenUserDataRec OpenUserDataRec, *OpenUserDataRecPtr; @@ -75,23 +75,40 @@ NavEventProc( NavCBRecPtr ioParams, NavCallBackUserData ioUserData ) { - OpenUserDataRec * data = ( OpenUserDataRec *) ioUserData ; + OpenUserDataRec * data = ( OpenUserDataRec *) ioUserData ; if (inSelector == kNavCBEvent) { - // In Universal Headers 3.2, Apple changed the definition of - /* - #if UNIVERSAL_INTERFACES_VERSION >= 0x0320 // Universal Headers 3.2 - UModalAlerts::ProcessModalEvent(*(ioParams->eventData.eventDataParms.event)); - - #else - UModalAlerts::ProcessModalEvent(*(ioParams->eventData.event)); - #endif - */ - wxTheApp->MacHandleOneEvent(ioParams->eventData.eventDataParms.event); - } else if ( inSelector == kNavCBPopupMenuSelect ) + } + else if ( inSelector == kNavCBStart ) + { + if ( data->menuitems ) + NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]); + } + else if ( inSelector == kNavCBPopupMenuSelect ) { - NavMenuItemSpec * menu = (NavMenuItemSpec *) ioParams->eventData.eventDataParms.param ; - data->currentfilter = menu->menuType ; + NavMenuItemSpec * menu = (NavMenuItemSpec *) ioParams->eventData.eventDataParms.param ; + if ( menu->menuCreator == 'WXNG' ) + { + data->currentfilter = menu->menuType ; + if ( data->saveMode ) + { + int i = menu->menuType ; + wxString extension = data->extensions[i].AfterLast('.') ; + extension.MakeLower() ; + Str255 filename ; + // get the current filename + NavCustomControl(ioParams->context, kNavCtlGetEditFileName, &filename); + CopyPascalStringToC( filename , (char*) filename ) ; + wxString sfilename( filename ) ; + int pos = sfilename.Find('.',TRUE) ; + if ( pos != wxNOT_FOUND ) + { + sfilename = sfilename.Left(pos+1)+extension ; + CopyCStringToPascal( sfilename.c_str() , filename ) ; + NavCustomControl(ioParams->context, kNavCtlSetEditFileName, &filename); + } + } + } } } @@ -117,23 +134,25 @@ OSType gfiltersmac[] = void MakeUserDataRec(OpenUserDataRec *myData , const wxString& filter ) { - myData->currentfilter = 0 ; - + myData->menuitems = NULL ; + myData->currentfilter = 0 ; + myData->saveMode = FALSE ; + if ( filter && filter[0] ) { wxString filter2(filter) ; int filterIndex = 0; bool isName = true ; wxString current ; - for( unsigned int i = 0; i < filter2.Len(); i++ ) + for( unsigned int i = 0; i < filter2.Len() ; i++ ) { if( filter2.GetChar(i) == wxT('|') ) { if( isName ) { - myData->name[filterIndex] = current ; + myData->name.Add( current ) ; } else { - myData->extensions[filterIndex] = current.MakeUpper() ; + myData->extensions.Add( current.MakeUpper() ) ; ++filterIndex ; } isName = !isName ; @@ -149,35 +168,33 @@ void MakeUserDataRec(OpenUserDataRec *myData , const wxString& filter ) wxASSERT_MSG( filterIndex == 0 || !isName , "incorrect format of format string" ) ; if ( current.IsEmpty() ) - myData->extensions[filterIndex] = myData->name[filterIndex] ; + myData->extensions.Add( myData->name[filterIndex] ) ; else - myData->extensions[filterIndex] = current.MakeUpper() ; + myData->extensions.Add( current.MakeUpper() ) ; + if ( filterIndex == 0 || isName ) + myData->name.Add( current.MakeUpper() ) ; + ++filterIndex ; - myData->numfilters = filterIndex ; - for ( int i = 0 ; i < myData->numfilters ; i++ ) + const size_t extCount = myData->extensions.GetCount(); + for ( size_t i = 0 ; i < extCount; i++ ) { int j ; for ( j = 0 ; gfilters[j] ; j++ ) { if ( strcmp( myData->extensions[i] , gfilters[j] ) == 0 ) { - myData->filtermactypes[i] = gfiltersmac[j] ; + myData->filtermactypes.Add( gfiltersmac[j] ) ; break ; } } if( gfilters[j] == NULL ) { - myData->filtermactypes[i] = '****' ; + myData->filtermactypes.Add( '****' ) ; } } } - else - { - myData->numfilters = 0 ; - } - } static Boolean CheckFile( ConstStr255Param name , OSType type , OpenUserDataRecPtr data) @@ -193,7 +210,7 @@ static Boolean CheckFile( ConstStr255Param name , OSType type , OpenUserDataRecP wxString file(filename) ; file.MakeUpper() ; - if ( data->numfilters > 0 ) + if ( data->extensions.GetCount() > 0 ) { //for ( int i = 0 ; i < data->numfilters ; ++i ) int i = data->currentfilter ; @@ -201,7 +218,7 @@ static Boolean CheckFile( ConstStr255Param name , OSType type , OpenUserDataRecP return true ; { - if ( type == data->filtermactypes[i] ) + if ( type == (OSType)data->filtermactypes[i] ) return true ; wxStringTokenizer tokenizer( data->extensions[i] , ";" ) ; @@ -314,7 +331,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, const wxString& defaultDir, const wxString& defaultFileName, const wxString& wildCard, long style, const wxPoint& pos) { - wxASSERT_MSG( NavServicesAvailable() , "Navigation Services are not running" ) ; + wxASSERT_MSG( NavServicesAvailable() , "Navigation Services are not running" ) ; m_message = message; m_dialogStyle = style; m_parent = parent; @@ -322,7 +339,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, m_fileName = defaultFileName; m_dir = defaultDir; m_wildCard = wildCard; - m_filterIndex = 1; + m_filterIndex = 0; } @@ -408,10 +425,30 @@ int wxFileDialog::ShowModal() c2pstr((char *)mNavOptions.savedFileName ) ; #endif + OpenUserDataRec myData; + MakeUserDataRec( &myData , m_wildCard ) ; + myData.currentfilter = m_filterIndex ; + if ( myData.extensions.GetCount() > 0 ) + { + mNavOptions.popupExtension = (NavMenuItemSpecArrayHandle) NewHandle( sizeof( NavMenuItemSpec ) * myData.extensions.GetCount() ) ; + myData.menuitems = mNavOptions.popupExtension ; + for ( int i = 0 ; i < myData.extensions.GetCount() ; ++i ) + { + (*mNavOptions.popupExtension)[i].version = kNavMenuItemSpecVersion ; + (*mNavOptions.popupExtension)[i].menuCreator = 'WXNG' ; + (*mNavOptions.popupExtension)[i].menuType = i ; + #if TARGET_CARBON + c2pstrcpy((StringPtr)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; + #else + strcpy((char *)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; + c2pstr((char *)(*mNavOptions.popupExtension)[i].menuItemName ) ; + #endif + } + } if ( m_dialogStyle & wxSAVE ) { - - mNavOptions.dialogOptionFlags |= kNavNoTypePopup ; + myData.saveMode = true ; + mNavOptions.dialogOptionFlags |= kNavDontAutoTranslate ; mNavOptions.dialogOptionFlags |= kNavDontAddTranslateItems ; @@ -420,33 +457,16 @@ int wxFileDialog::ShowModal() &mNavReply, &mNavOptions, sStandardNavEventFilter , - 'TEXT', - 'TEXT', - 0L); // User Data + NULL, + kNavGenericSignature, + &myData); // User Data + m_filterIndex = myData.currentfilter ; } else { - OpenUserDataRec myData; - MakeUserDataRec( &myData , m_wildCard ) ; - NavTypeListHandle typelist = NULL ; - - if ( myData.numfilters > 0 ) - { - mNavOptions.popupExtension = (NavMenuItemSpecArrayHandle) NewHandle( sizeof( NavMenuItemSpec ) * myData.numfilters ) ; - for ( int i = 0 ; i < myData.numfilters ; ++i ) { - (*mNavOptions.popupExtension)[i].version = kNavMenuItemSpecVersion ; - (*mNavOptions.popupExtension)[i].menuCreator = 'WXNG' ; - (*mNavOptions.popupExtension)[i].menuType = i ; - #if TARGET_CARBON - c2pstrcpy((StringPtr)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; - #else - strcpy((char *)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; - c2pstr((char *)(*mNavOptions.popupExtension)[i].menuItemName ) ; - #endif - } - } + myData.saveMode = false ; - mNavFilterUPP = NewNavObjectFilterUPP( CrossPlatformFilterCallback ) ; + mNavFilterUPP = NewNavObjectFilterUPP( CrossPlatformFilterCallback ) ; if ( m_dialogStyle & wxMULTIPLE ) mNavOptions.dialogOptionFlags |= kNavAllowMultipleFiles ; else @@ -459,10 +479,9 @@ int wxFileDialog::ShowModal() sStandardNavEventFilter , mNavPreviewUPP, mNavFilterUPP, - typelist /*inFileTypes.TypeListHandle() */, - &myData); // User Data - if ( typelist ) - DisposeHandle( (Handle) typelist ) ; + NULL , + &myData); + m_filterIndex = myData.currentfilter ; } DisposeNavObjectFilterUPP(mNavFilterUPP); diff --git a/src/mac/carbon/files.lst b/src/mac/carbon/files.lst index 009570dcbb..b8705f0122 100644 --- a/src/mac/carbon/files.lst +++ b/src/mac/carbon/files.lst @@ -271,7 +271,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -621,7 +620,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -665,7 +664,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -953,7 +951,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index eec71c52ee..d1b4798cc4 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -89,6 +89,10 @@ void wxFontRefData::MacFindFont() ::GetFNum( "\pMonaco" , &m_macFontNum) ; break ; } + Str255 name ; + GetFontName( m_macFontNum , name ) ; + CopyPascalStringToC( name , (char*) name ) ; + m_faceName = (char*) name ; } else { diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 4d83421744..7f1860a837 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -231,9 +231,35 @@ void wxFrame::OnActivate(wxActivateEvent& event) { m_frameMenuBar->MacInstallMenuBar() ; } + else if (wxTheApp->GetTopWindow() && wxTheApp->GetTopWindow()->IsKindOf(CLASSINFO(wxFrame))) + { + // Trying toplevel frame menbar + if( ((wxFrame*)wxTheApp->GetTopWindow())->GetMenuBar() ) + ((wxFrame*)wxTheApp->GetTopWindow())->GetMenuBar()->MacInstallMenuBar(); + } } } +void wxFrame::DetachMenuBar() +{ + if ( m_frameMenuBar ) + { + m_frameMenuBar->UnsetInvokingWindow(); + } + + wxFrameBase::DetachMenuBar(); +} + +void wxFrame::AttachMenuBar( wxMenuBar *menuBar ) +{ + wxFrameBase::AttachMenuBar(menuBar); + + if (m_frameMenuBar) + { + m_frameMenuBar->SetInvokingWindow( this ); + } +} + void wxFrame::DoGetClientSize(int *x, int *y) const { wxWindow::DoGetClientSize( x , y ) ; diff --git a/src/mac/carbon/gsocket.c b/src/mac/carbon/gsocket.c index b96cd92358..50086739cf 100644 --- a/src/mac/carbon/gsocket.c +++ b/src/mac/carbon/gsocket.c @@ -87,6 +87,7 @@ extern pascal void OTDebugStr(const char* str); #endif InetSvcRef gInetSvcRef = 0 ; int gOTInited = 0 ; +OTNotifyUPP gOTNotifierUPP = NULL ; OSStatus DoNegotiateIPReuseAddrOption(EndpointRef ep, Boolean enableReuseIPMode); @@ -185,7 +186,7 @@ static void SetDefaultEndpointModes(EndpointRef ep , void *data ) junk = OTSetBlocking(ep); OTAssert("SetDefaultEndpointModes: Could not set blocking", junk == noErr); */ - junk = OTInstallNotifier(ep, OTInetEventHandler, data); + junk = OTInstallNotifier(ep, gOTNotifierUPP, data); OTAssert("SetDefaultEndpointModes: Could not install notifier", junk == noErr); /* junk = OTUseSyncIdleEvents(ep, true); @@ -229,6 +230,7 @@ int GSocket_Verify_Inited() OTAssert("Could not open Inet Services", err == noErr); return FALSE ; } + gOTNotifierUPP = NewOTNotifyUPP( OTInetEventHandler ) ; return TRUE ; } @@ -243,6 +245,8 @@ void GSocket_Cleanup() #else CloseOpenTransport() ; #endif + if ( gOTNotifierUPP ) + DisposeOTNotifyUPP( gOTNotifierUPP ) ; } } diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 8c2e856246..343420363c 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -105,16 +105,34 @@ static pascal void wxMacListDefinition( short message, Boolean isSelected, Rect ClipRect( drawRect ); EraseRect( drawRect ); + wxFontRefData * font = (wxFontRefData*) list->GetFont().GetRefData() ; + + if ( font ) + { + ::TextFont( font->m_macFontNum ) ; + ::TextSize( short(font->m_macFontSize) ) ; + ::TextFace( font->m_macFontStyle ) ; + } + else + { + ::TextFont( kFontIDMonaco ) ; + ::TextSize( 9 ); + ::TextFace( 0 ) ; + } + #if TARGET_CARBON bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ; if ( useDrawThemeText ) { Rect frame = { drawRect->top, drawRect->left + 4, - drawRect->top + kwxMacListItemHeight, drawRect->right} ; - CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text.c_str(), text.Length(), CFStringGetSystemEncoding(), false ) ; + drawRect->top + kwxMacListItemHeight, drawRect->right + 10000 } ; + CFStringRef sString = CFStringCreateWithBytes( NULL , (UInt8*) text.c_str(), text.Length(), CFStringGetSystemEncoding(), false ) ; + CFMutableStringRef mString = CFStringCreateMutableCopy( NULL , 0 , sString ) ; + CFRelease( sString ) ; + ::TruncateThemeText( mString , kThemeCurrentPortFont, kThemeStateActive, drawRect->right - drawRect->left , truncEnd , NULL ) ; ::DrawThemeTextBox( mString, - kThemeViewsFont, + kThemeCurrentPortFont, kThemeStateActive, false, &frame, @@ -126,9 +144,6 @@ static pascal void wxMacListDefinition( short message, Boolean isSelected, Rect #endif { MoveTo(drawRect->left + 4 , drawRect->top + 10 ); - ::TextFont( kFontIDMonaco ) ; - ::TextSize( 9 ); - ::TextFace( 0 ) ; DrawText(text, 0 , text.Length()); } @@ -206,6 +221,19 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, } listDef.u.userProc = macListDefUPP ; + Str255 fontName ; + SInt16 fontSize ; + Style fontStyle ; + SInt16 fontNum ; +#if TARGET_CARBON + GetThemeFont(kThemeViewsFont , GetApplicationScript() , fontName , &fontSize , &fontStyle ) ; +#else + GetFontName( kFontIDMonaco , fontName ) ; + fontSize = 9 ; + fontStyle = normal ; +#endif + CopyPascalStringToC( fontName , (char*) fontName ) ; + SetFont( wxFont (fontSize, wxSWISS, wxNORMAL, wxNORMAL , false , fontName ) ) ; #if TARGET_CARBON Size asize; @@ -255,17 +283,17 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, } else { - options = lOnlyOne ; + options = (OptionBits) lOnlyOne ; } SetListSelectionFlags((ListHandle)m_macList, options); - MacPostControlCreate() ; - for ( int i = 0 ; i < n ; i++ ) { Append( choices[i] ) ; } + MacPostControlCreate() ; + LSetDrawingMode( true , (ListHandle)m_macList ) ; return TRUE; @@ -616,7 +644,49 @@ void wxListBox::SetString(int N, const wxString& s) wxSize wxListBox::DoGetBestSize() const { - return wxSize(100, 100); + int lbWidth = 100; // some defaults + int lbHeight = 110; + int wLine; + + { + wxMacPortStateHelper st( UMAGetWindowPort( (WindowRef) MacGetRootWindow() ) ) ; + Rect drawRect ; + + wxFontRefData * font = (wxFontRefData*) m_font.GetRefData() ; + + if ( font ) + { + ::TextFont( font->m_macFontNum ) ; + ::TextSize( short(font->m_macFontSize) ) ; + ::TextFace( font->m_macFontStyle ) ; + } + else + { + ::TextFont( kFontIDMonaco ) ; + ::TextSize( 9 ); + ::TextFace( 0 ) ; + } + + // Find the widest line + for(int i = 0; i < GetCount(); i++) { + wxString str(GetString(i)); + wLine = ::TextWidth( str.c_str() , 0 , str.Length() ) ; + lbWidth = wxMax(lbWidth, wLine); + } + + // Add room for the scrollbar + lbWidth += wxSystemSettings::GetMetric(wxSYS_VSCROLL_X); + + // And just a bit more + int cy = 12 ; + int cx = ::TextWidth( "X" , 0 , 1 ) ; + lbWidth += cx ; + + // don't make the listbox too tall (limit height to around 10 items) but don't + // make it too small neither + lbHeight = (cy+4) * wxMin(wxMax(GetCount(), 3), 10); + } + return wxSize(lbWidth, lbHeight); } int wxListBox::GetCount() const @@ -661,6 +731,7 @@ wxOwnerDrawn *wxListBox::CreateItem(size_t n) // list box control implementation // ============================================================================ +/* void MacDrawStringCell(Rect *cellRect, Cell lCell, ListHandle theList, long refCon) { wxListBox* list; @@ -675,7 +746,7 @@ void MacDrawStringCell(Rect *cellRect, Cell lCell, ListHandle theList, long refC DrawText(text, 0 , text.Length()); } - +*/ void wxListBox::MacDelete( int N ) { LDelRow( 1 , N , (ListHandle)m_macList) ; diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index caadf18ce3..e81e6de61a 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -28,6 +28,7 @@ #include "wx/window.h" #include "wx/log.h" #include "wx/utils.h" +#include "wx/frame.h" #include "wx/mac/uma.h" @@ -209,10 +210,11 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) if ( pos == (size_t)-1 ) { UMAAppendMenuItem(MAC_WXHMENU(m_hMenu), label,key,modifiers); + SetMenuItemCommandID( MAC_WXHMENU(m_hMenu) , CountMenuItems(MAC_WXHMENU(m_hMenu)) , pItem->GetId() ) ; if ( pItem->GetBitmap().Ok() ) { ControlButtonContentInfo info ; - wxMacCreateBitmapButton( &info , pItem->GetBitmap() , true ) ; + wxMacCreateBitmapButton( &info , pItem->GetBitmap() , kControlContentCIconHandle ) ; if ( info.contentType != kControlNoContent ) { if ( info.contentType == kControlContentCIconHandle ) @@ -225,10 +227,11 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) else { UMAInsertMenuItem(MAC_WXHMENU(m_hMenu), label , pos,key,modifiers); + SetMenuItemCommandID( MAC_WXHMENU(m_hMenu) , pos , pItem->GetId() ) ; if ( pItem->GetBitmap().Ok() ) { ControlButtonContentInfo info ; - wxMacCreateBitmapButton( &info , pItem->GetBitmap() , true ) ; + wxMacCreateBitmapButton( &info , pItem->GetBitmap() , kControlContentCIconHandle ) ; if ( info.contentType != kControlNoContent ) { if ( info.contentType == kControlContentCIconHandle ) @@ -429,114 +432,6 @@ void wxMenu::MacEnableMenu( bool bDoEnable ) ::DrawMenuBar() ; } -bool wxMenu::MacMenuSelect( wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum ) -{ - int pos; - wxNode *node; - - if ( m_macMenuId == macMenuId ) - { - node = GetMenuItems().Nth(macMenuItemNum-1); - if (node) - { - wxMenuItem *pItem = (wxMenuItem*)node->Data(); - - if (pItem->IsCheckable()) - pItem->Check(! pItem->IsChecked()); - - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, pItem->GetId()); - event.m_timeStamp = when; - event.SetEventObject(handler); - event.SetInt( pItem->GetId() ); - { - bool processed = false ; - -#if WXWIN_COMPATIBILITY - // Try a callback - if (m_callback) - { - (void) (*(m_callback)) (*this, event); - processed = TRUE; - } -#endif - // Try the menu's event handler - if ( !processed && handler) - { - processed = handler->ProcessEvent(event); - } - - // Try the window the menu was popped up from (and up - // through the hierarchy) - if ( !processed && GetInvokingWindow()) - processed = GetInvokingWindow()->GetEventHandler()->ProcessEvent(event); - } - return true ; - } - } - else if ( macMenuId == kHMHelpMenuID ) - { - int menuItem = firstUserHelpMenuItem-1 ; - for (pos = 0, node = GetMenuItems().First(); node; node = node->Next(), pos++) - { - wxMenuItem * pItem = (wxMenuItem *) node->Data() ; - - wxMenu *pSubMenu = pItem->GetSubMenu() ; - if ( pSubMenu != NULL ) - { - } - else - { - if ( pItem->GetId() != wxApp::s_macAboutMenuItemId ) - ++menuItem ; - - if ( menuItem == macMenuItemNum ) - { - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, pItem->GetId()); - event.m_timeStamp = when; - event.SetEventObject(handler); - event.SetInt( pItem->GetId() ); - { - bool processed = false ; -#if WXWIN_COMPATIBILITY - // Try a callback - if (m_callback) - { - (void) (*(m_callback)) (*this, event); - processed = TRUE; - } -#endif - // Try the menu's event handler - if ( !processed && handler) - { - processed = handler->ProcessEvent(event); - } - - // Try the window the menu was popped up from (and up - // through the hierarchy) - if ( !processed && GetInvokingWindow()) - processed = GetInvokingWindow()->GetEventHandler()->ProcessEvent(event); - } - return true ; - } - } - } - } - - for (pos = 0, node = GetMenuItems().First(); node; node = node->Next(), pos++) - { - wxMenuItem * pItem = (wxMenuItem *) node->Data() ; - - wxMenu *pSubMenu = pItem->GetSubMenu() ; - if ( pSubMenu != NULL ) - { - if ( pSubMenu->MacMenuSelect( handler , when , macMenuId , macMenuItemNum ) ) - return true ; - } - } - - return false ; -} - // Menu Bar /* @@ -664,89 +559,93 @@ void wxMenuBar::MacInstallMenuBar() for (size_t i = 0; i < m_menus.GetCount(); i++) { - Str255 label; - wxNode *node; - wxMenuItem *item; - int pos ; - wxMenu* menu = m_menus[i] , *subMenu = NULL ; - - if( m_titles[i] == "?" || m_titles[i] == "&?" || m_titles[i] == wxApp::s_macHelpMenuTitleName ) + Str255 label; + wxNode *node; + wxMenuItem *item; + int pos ; + wxMenu* menu = m_menus[i] , *subMenu = NULL ; + + if( m_titles[i] == "?" || m_titles[i] == "&?" || m_titles[i] == wxApp::s_macHelpMenuTitleName ) + { + MenuHandle mh = NULL ; + if ( UMAGetHelpMenu( &mh , &firstUserHelpMenuItem) != noErr ) { - MenuHandle mh = NULL ; - if ( UMAGetHelpMenu( &mh , &firstUserHelpMenuItem) != noErr ) - { continue ; - } + } for ( int i = CountMenuItems( mh ) ; i >= firstUserHelpMenuItem ; --i ) { - DeleteMenuItem( mh , i ) ; + DeleteMenuItem( mh , i ) ; } - - for (pos = 0 , node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) - { - item = (wxMenuItem *)node->Data(); - subMenu = item->GetSubMenu() ; - if (subMenu) + + for (pos = 0 , node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) + { + item = (wxMenuItem *)node->Data(); + subMenu = item->GetSubMenu() ; + if (subMenu) + { + // we don't support hierarchical menus in the help menu yet + } + else + { + if ( item->IsSeparator() ) { - // we don't support hierarchical menus in the help menu yet + if ( mh ) + MacAppendMenu(mh, "\p-" ); } - else + else { - if ( item->IsSeparator() ) + Str255 label ; + UInt8 modifiers ; + SInt16 key ; + wxMenuItem::MacBuildMenuString( label, &key , &modifiers , item->GetText(), item->GetId() != wxApp::s_macAboutMenuItemId); // no shortcut in about menu + if ( label[0] == 0 ) { - if ( mh ) - MacAppendMenu(mh, "\p-" ); + // we cannot add empty menus on mac + label[0] = 1 ; + label[1] = ' ' ; } + if ( item->GetId() == wxApp::s_macAboutMenuItemId ) + { + ::SetMenuItemText( GetMenuHandle( kwxMacAppleMenuId ) , 1 , label ); + UMAEnableMenuItem( GetMenuHandle( kwxMacAppleMenuId ) , 1 ); + SetMenuItemCommandID( GetMenuHandle( kwxMacAppleMenuId ) , 1 , item->GetId() ) ; + } else { - Str255 label ; - UInt8 modifiers ; - SInt16 key ; - wxMenuItem::MacBuildMenuString( label, &key , &modifiers , item->GetText(), item->GetId() != wxApp::s_macAboutMenuItemId); // no shortcut in about menu - if ( label[0] == 0 ) - { - // we cannot add empty menus on mac - label[0] = 1 ; - label[1] = ' ' ; - } - if ( item->GetId() == wxApp::s_macAboutMenuItemId ) - { - ::SetMenuItemText( GetMenuHandle( kwxMacAppleMenuId ) , 1 , label ); - UMAEnableMenuItem( GetMenuHandle( kwxMacAppleMenuId ) , 1 ); - } - else + if ( mh ) { - if ( mh ) - UMAAppendMenuItem(mh, label , key , modifiers ); + UMAAppendMenuItem(mh, label , key , modifiers ); + SetMenuItemCommandID( mh , CountMenuItems(mh) , item->GetId() ) ; } } } } } - else - { - wxMenuItem::MacBuildMenuString( label, NULL , NULL , m_titles[i] , false ); - UMASetMenuTitle( MAC_WXHMENU(menu->GetHMenu()) , label ) ; - wxArrayPtrVoid submenus ; - - for (pos = 0, node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) - { - item = (wxMenuItem *)node->Data(); - subMenu = item->GetSubMenu() ; - if (subMenu) - { - submenus.Add(subMenu) ; - } - } - ::InsertMenu(MAC_WXHMENU(m_menus[i]->GetHMenu()), 0); - for ( size_t i = 0 ; i < submenus.GetCount() ; ++i ) + } + else + { + wxMenuItem::MacBuildMenuString( label, NULL , NULL , m_titles[i] , false ); + UMASetMenuTitle( MAC_WXHMENU(menu->GetHMenu()) , label ) ; + wxArrayPtrVoid submenus ; + + for (pos = 0, node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) + { + item = (wxMenuItem *)node->Data(); + subMenu = item->GetSubMenu() ; + if (subMenu) { - wxMenu* submenu = (wxMenu*) submenus[i] ; - wxNode *subnode; - wxMenuItem *subitem; - int subpos ; - for ( subpos = 0 , subnode = submenu->GetMenuItems().First(); subnode; subnode = subnode->Next(), subpos++) + submenus.Add(subMenu) ; + } + } + ::InsertMenu(MAC_WXHMENU(m_menus[i]->GetHMenu()), 0); + for ( size_t i = 0 ; i < submenus.GetCount() ; ++i ) + { + wxMenu* submenu = (wxMenu*) submenus[i] ; + wxNode *subnode; + wxMenuItem *subitem; + int subpos ; + for ( subpos = 0 , subnode = submenu->GetMenuItems().First(); subnode; subnode = subnode->Next(), subpos++) { subitem = (wxMenuItem *)subnode->Data(); wxMenu* itsSubMenu = subitem->GetSubMenu() ; @@ -755,11 +654,11 @@ void wxMenuBar::MacInstallMenuBar() submenus.Add(itsSubMenu) ; } } - ::InsertMenu( MAC_WXHMENU(submenu->GetHMenu()) , -1 ) ; - } - } + ::InsertMenu( MAC_WXHMENU(submenu->GetHMenu()) , -1 ) ; + } } - ::DrawMenuBar() ; + } + ::DrawMenuBar() ; s_macInstalledMenuBar = this; } @@ -900,44 +799,6 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title) return TRUE; } -void wxMenuBar::MacMenuSelect(wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum) -{ - // first scan fast for direct commands, i.e. menus which have these commands directly in their own list - - if ( macMenuId == kwxMacAppleMenuId && macMenuItemNum == 1 ) - { - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, wxApp::s_macAboutMenuItemId ); - event.m_timeStamp = when; - event.SetEventObject(handler); - event.SetInt( wxApp::s_macAboutMenuItemId ); - handler->ProcessEvent(event); - } - else - { - for (size_t i = 0; i < m_menus.GetCount() ; i++) - { - if ( m_menus[i]->MacGetMenuId() == macMenuId || ( macMenuId == kHMHelpMenuID && ( m_titles[i] == "?" || m_titles[i] == "&?" || m_titles[i] == wxApp::s_macHelpMenuTitleName ) ) ) - { - if ( m_menus[i]->MacMenuSelect( handler , when , macMenuId , macMenuItemNum ) ) - return ; - else - { - //TODO flag this as an error since it must contain the item - return ; - } - } - } - - for (size_t i = 0; i < m_menus.GetCount(); i++) - { - if ( m_menus[i]->MacMenuSelect( handler , when , macMenuId , macMenuItemNum ) ) - { - break ; - } - } - } -} - wxMenu *wxMenuBar::Remove(size_t pos) { wxMenu *menu = wxMenuBarBase::Remove(pos); @@ -1004,6 +865,56 @@ bool wxMenuBar::Append(wxMenu *menu, const wxString& title) return TRUE; } +static void wxMenubarUnsetInvokingWindow( wxMenu *menu ) +{ + menu->SetInvokingWindow( (wxWindow*) NULL ); + + wxMenuItemList::Node *node = menu->GetMenuItems().GetFirst(); + while (node) + { + wxMenuItem *menuitem = node->GetData(); + if (menuitem->IsSubMenu()) + wxMenubarUnsetInvokingWindow( menuitem->GetSubMenu() ); + node = node->GetNext(); + } +} + +static void wxMenubarSetInvokingWindow( wxMenu *menu, wxWindow *win ) +{ + menu->SetInvokingWindow( win ); + + wxMenuItemList::Node *node = menu->GetMenuItems().GetFirst(); + while (node) + { + wxMenuItem *menuitem = node->GetData(); + if (menuitem->IsSubMenu()) + wxMenubarSetInvokingWindow( menuitem->GetSubMenu() , win ); + node = node->GetNext(); + } +} + +void wxMenuBar::UnsetInvokingWindow() +{ + wxMenuList::Node *node = m_menus.GetFirst(); + while (node) + { + wxMenu *menu = node->GetData(); + wxMenubarUnsetInvokingWindow( menu ); + node = node->GetNext(); + } +} + +void wxMenuBar::SetInvokingWindow(wxFrame *frame) +{ + wxMenuList::Node *node = m_menus.GetFirst(); + while (node) + { + wxMenu *menu = node->GetData(); + wxMenubarSetInvokingWindow( menu, frame ); + node = node->GetNext(); + } +} + void wxMenuBar::Detach() { wxMenuBarBase::Detach() ; @@ -1012,7 +923,6 @@ void wxMenuBar::Detach() void wxMenuBar::Attach(wxFrame *frame) { wxMenuBarBase::Attach( frame ) ; - #if wxUSE_ACCEL RebuildAccelTable(); #endif // wxUSE_ACCEL diff --git a/src/mac/carbon/menuitem.cpp b/src/mac/carbon/menuitem.cpp index 544bfd6004..6c41427f76 100644 --- a/src/mac/carbon/menuitem.cpp +++ b/src/mac/carbon/menuitem.cpp @@ -46,7 +46,7 @@ int wxMenuItem::MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShort { char *p = (char *) &outMacItemText[1] ; short macModifiers = 0 ; - char macShortCut = 0 ; + SInt16 macShortCut = 0 ; const char *inItemName ; wxString inItemTextMac ; @@ -72,31 +72,6 @@ int wxMenuItem::MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShort { switch ( *inItemName ) { - // special characters for macintosh menus -> use some replacement - case ';' : - *p++ = ',' ; - break ; - case '^' : - *p++ = ' ' ; - break ; - case '!' : - *p++ = ' ' ; - break ; - case '<' : - *p++ = '[' ; - break ; - case '>' : - *p++ = ']' ; - break ; - case '/' : - *p++ = '|' ; - break ; - case '(' : - *p++ = '[' ; - break ; - case ')' : - *p++ = ']' ; - break ; // shortcuts case '&' : { @@ -115,43 +90,71 @@ int wxMenuItem::MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShort case '\t' : { ++inItemName ; - while( *inItemName ) + bool skip = false ; + bool explicitCommandKey = false ; + while( *inItemName && !skip ) { - if (strncmp("Ctrl", inItemName, 4) == 0) + if (wxStrnicmp("Ctrl", inItemName, 4) == 0) { inItemName = inItemName + 5; - macShortCut = *inItemName; + explicitCommandKey = true ; } - else if (strncmp("Cntrl", inItemName, 5) == 0) + else if (wxStrnicmp("Cntrl", inItemName, 5) == 0) { inItemName = inItemName + 6; - macShortCut = *inItemName; + explicitCommandKey = true ; } - else if (strncmp("Alt", inItemName, 3) == 0) + else if (wxStrnicmp("Alt", inItemName, 3) == 0) { inItemName = inItemName + 4; macModifiers |= kMenuOptionModifier ; - macShortCut = *inItemName ; } - else if (strncmp("Shift", inItemName, 5) == 0) + else if (wxStrnicmp("Shift", inItemName, 5) == 0) { inItemName = inItemName + 6; macModifiers |= kMenuShiftModifier ; - macShortCut = *inItemName ; } - else if (strncmp("F", inItemName, 1) == 0) + else { - inItemName += strlen( inItemName ) ; - // no function keys at the moment - // macModifiers |= kMenuShiftModifier ; - // macShortCut = *inItemName ; + skip = true ; } - else + } + if ( *inItemName ) + { + if ( strlen(inItemName) == 1 ) + { + macShortCut = *inItemName; + } + else if ( !wxStricmp( inItemName , "Delete" ) || !wxStricmp( inItemName , "Del" ) ) + { + macShortCut = WXK_DELETE ; + } + else if ( !wxStricmp( inItemName , "Back" ) || !wxStricmp( inItemName , "Backspace" ) ) + { + macShortCut = WXK_BACK ; + } + else if ( !wxStricmp( inItemName , "Return" ) ) { - break ; + macShortCut = WXK_RETURN ; + } + else if ( !wxStricmp( inItemName , "Enter" ) ) + { + macShortCut = kEnterCharCode ; + } + else if ( *inItemName == 'F' ) + { + int fkey = atol(inItemName+1) ; + if (fkey >= 1 && fkey < 15 ) + { + macShortCut = WXK_F1 + fkey - 1 ; + } + if ( !explicitCommandKey ) + macModifiers |= kMenuNoCommandModifier ; } } - + + inItemName += strlen( inItemName ) ; + if ( *inItemName == 0 ) --inItemName ; diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index 7c72298654..2f8f53b786 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -132,8 +132,17 @@ bool wxNotebook::Create(wxWindow *parent, MacPreControlCreate( parent , id , "" , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; + int tabstyle = kControlTabSmallNorthProc ; + if ( HasFlag(wxNB_LEFT) ) + tabstyle = kControlTabSmallWestProc ; + else if ( HasFlag( wxNB_RIGHT ) ) + tabstyle = kControlTabSmallEastProc ; + else if ( HasFlag( wxNB_BOTTOM ) ) + tabstyle = kControlTabSmallSouthProc ; + + m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, - kControlTabSmallProc , (long) this ) ; + tabstyle , (long) this ) ; MacPostControlCreate() ; return TRUE ; @@ -207,6 +216,7 @@ int wxNotebook::SetSelection(int nPage) ChangePage(m_nSelection, nPage); SetControl32BitValue( (ControlHandle) m_macControl , m_nSelection + 1 ) ; + Refresh(); return m_nSelection; } @@ -233,7 +243,7 @@ int wxNotebook::GetPageImage(int nPage) const { wxCHECK_MSG( IS_VALID_PAGE(nPage), -1, _T("invalid notebook page") ); - return 0 ; + return m_images[nPage]; } bool wxNotebook::SetPageImage(int nPage, int nImage) @@ -243,7 +253,17 @@ bool wxNotebook::SetPageImage(int nPage, int nImage) wxCHECK_MSG( m_imageList && nImage < m_imageList->GetImageCount(), FALSE, _T("invalid image index in SetPageImage()") ); - return FALSE; + if ( nImage != m_images[nPage] ) + { + // if the item didn't have an icon before or, on the contrary, did have + // it but has lost it now, its size will change - but if the icon just + // changes, it won't + m_images[nPage] = nImage; + + MacSetupTabs() ; + } + + return TRUE; } // ---------------------------------------------------------------------------- @@ -295,6 +315,8 @@ bool wxNotebook::InsertPage(int nPage, // save the pointer to the page m_pages.Insert(pPage, nPage); + m_images.Insert(imageId, nPage); + MacSetupTabs(); if ( bSelect ) { @@ -332,7 +354,8 @@ void wxNotebook::MacSetupTabs() wxNotebookPage *page; ControlTabInfoRec info; - Boolean enabled = true; + + OSStatus err = noErr ; for(int ii = 0; ii < GetPageCount(); ii++) { page = m_pages[ii]; @@ -346,8 +369,35 @@ void wxNotebook::MacSetupTabs() #endif SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag, sizeof( ControlTabInfoRec) , (char*) &info ) ; - SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabEnabledFlagTag, - sizeof( Boolean ), (Ptr)&enabled ); + SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ; + +#if TARGET_CARBON + if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 ) + { + // tab controls only support very specific types of images, therefore we are doing an odyssee + // accross the icon worlds (even Apple DTS did not find a shorter path) + // in order not to pollute the icon registry we put every icon into (OSType) 1 and immediately + // afterwards Unregister it (IconRef is ref counted, so it will stay on the tab even if we + // unregister it) in case this will ever lead to having the same icon everywhere add some kind + // of static counter + ControlButtonContentInfo info ; + wxMacCreateBitmapButton( &info , *GetImageList()->GetBitmap( GetPageImage(ii ) ) , kControlContentPictHandle) ; + IconFamilyHandle iconFamily = (IconFamilyHandle) NewHandle(0) ; + OSErr err = SetIconFamilyData( iconFamily, 'PICT' , (Handle) info.u.picture ) ; + wxASSERT_MSG( err == noErr , "Error when adding bitmap" ) ; + IconRef iconRef ; + err = RegisterIconRefFromIconFamily( 'WXNG' , (OSType) 1 , iconFamily, &iconRef ) ; + wxASSERT_MSG( err == noErr , "Error when adding bitmap" ) ; + info.contentType = kControlContentIconRef ; + info.u.iconRef = iconRef ; + SetControlData( (ControlHandle) m_macControl, ii+1,kControlTabImageContentTag, + sizeof( info ), (Ptr)&info ); + wxASSERT_MSG( err == noErr , "Error when setting icon on tab" ) ; + UnregisterIconRef( 'WXNG' , (OSType) 1 ) ; + ReleaseIconRef( iconRef ) ; + DisposeHandle( (Handle) iconFamily ) ; + } +#endif } Rect bounds; GetControlBounds((ControlHandle)m_macControl, &bounds); diff --git a/src/mac/carbon/printdlg.cpp b/src/mac/carbon/printdlg.cpp index ec13b97455..1b18c1d49b 100644 --- a/src/mac/carbon/printdlg.cpp +++ b/src/mac/carbon/printdlg.cpp @@ -104,11 +104,8 @@ int wxPrintDialog::ShowModal() ::UMAPrClose(NULL) ; #else #if PM_USE_SESSION_APIS - PMPrintSession macPrintSession = kPMNoReference; Boolean accepted; - err = ::UMAPrOpen(&macPrintSession) ; - if ( err == noErr ) { m_printDialogData.ConvertToNative() ; @@ -123,13 +120,13 @@ int wxPrintDialog::ShowModal() if ((err == noErr) && (m_printDialogData.GetPrintData().m_macPageFormat != kPMNoPageFormat)) { - err = PMSessionDefaultPageFormat((PMPrintSession)macPrintSession, + err = PMSessionDefaultPageFormat((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPageFormat)m_printDialogData.GetPrintData().m_macPageFormat); } } else { - err = PMSessionValidatePageFormat((PMPrintSession)macPrintSession, + err = PMSessionValidatePageFormat((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPageFormat)m_printDialogData.GetPrintData().m_macPageFormat, kPMDontWantBoolean); } @@ -145,13 +142,13 @@ int wxPrintDialog::ShowModal() if ((err == noErr) && (m_printDialogData.GetPrintData().m_macPrintSettings != kPMNoPrintSettings)) { - err = PMSessionDefaultPrintSettings((PMPrintSession)macPrintSession, + err = PMSessionDefaultPrintSettings((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPrintSettings)m_printDialogData.GetPrintData().m_macPrintSettings); } } else { - err = PMSessionValidatePrintSettings((PMPrintSession)macPrintSession, + err = PMSessionValidatePrintSettings((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPrintSettings)m_printDialogData.GetPrintData().m_macPrintSettings, kPMDontWantBoolean); } @@ -165,7 +162,7 @@ int wxPrintDialog::ShowModal() // Display the Print dialog. if (err == noErr) { - err = PMSessionPrintDialog((PMPrintSession)macPrintSession, + err = PMSessionPrintDialog((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPrintSettings)m_printDialogData.GetPrintData().m_macPrintSettings, (PMPageFormat)m_printDialogData.GetPrintData().m_macPageFormat, &accepted); @@ -186,7 +183,6 @@ int wxPrintDialog::ShowModal() wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; dialog.ShowModal(); } - ::UMAPrClose(&macPrintSession) ; #else #pragma warning "TODO: Printing for carbon without session apis" #endif @@ -256,11 +252,8 @@ int wxPageSetupDialog::ShowModal() ::UMAPrClose(NULL) ; #else #if PM_USE_SESSION_APIS - PMPrintSession macPrintSession = kPMNoReference; Boolean accepted; - err = ::UMAPrOpen(&macPrintSession) ; - if ( err == noErr ) { m_pageSetupData.ConvertToNative() ; @@ -275,13 +268,13 @@ int wxPageSetupDialog::ShowModal() if ((err == noErr) && (m_pageSetupData.GetPrintData().m_macPageFormat != kPMNoPageFormat)) { - err = PMSessionDefaultPageFormat((PMPrintSession)macPrintSession, + err = PMSessionDefaultPageFormat((PMPrintSession)m_pageSetupData.GetPrintData().m_macPrintSession, (PMPageFormat)m_pageSetupData.GetPrintData().m_macPageFormat); } } else { - err = PMSessionValidatePageFormat((PMPrintSession)macPrintSession, + err = PMSessionValidatePageFormat((PMPrintSession)m_pageSetupData.GetPrintData().m_macPrintSession, (PMPageFormat)m_pageSetupData.GetPrintData().m_macPageFormat, kPMDontWantBoolean); } @@ -289,7 +282,7 @@ int wxPageSetupDialog::ShowModal() // Display the Page Setup dialog. if (err == noErr) { - err = PMSessionPageSetupDialog((PMPrintSession)macPrintSession, + err = PMSessionPageSetupDialog((PMPrintSession)m_pageSetupData.GetPrintData().m_macPrintSession, (PMPageFormat)m_pageSetupData.GetPrintData().m_macPageFormat, &accepted); if ((err == noErr) && !accepted) @@ -312,7 +305,6 @@ int wxPageSetupDialog::ShowModal() wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; dialog.ShowModal(); } - ::UMAPrClose(&macPrintSession) ; #else #pragma warning "TODO: Printing for carbon without session apis" #endif diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index 33506c4548..1240fd6622 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -276,7 +276,7 @@ void wxMacPrintPreview::DetermineScaling(void) m_previewPrintout->SetPPIScreen( 72 , 72 ) ; m_previewPrintout->SetPPIPrinter( 72 , 72 ) ; - m_previewPrintout->SetPageSizeMM( 8 * 25.6 , 11 * 25.6 ) ; + m_previewPrintout->SetPageSizeMM( (int) (8.0 * 25.6), (int) (11.0 * 25.6) ); m_previewPrintout->SetPageSizePixels( 8 * 72 , 11 * 72 ) ; m_pageWidth = 8 * 72 ; m_pageHeight = 11 * 72 ; @@ -295,7 +295,10 @@ void wxMacPrintPreview::DetermineScaling(void) m_pageWidth = x ; m_pageHeight = y ; m_isOk = true ; - + } + else + { + m_isOk = false ; } // At 100%, the page should look about page-size on the screen. // m_previewScale = (float)((float)screenWidth/(float)printerWidth); diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 4f8d67ae6d..cee43bf68b 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -23,7 +23,14 @@ #else #include #endif -#include + +#if wxUSE_STD_IOSTREAM + #if wxUSE_IOSTREAMH + #include + #else + #include + #endif +#endif #include "wx/app.h" #include "wx/dc.h" @@ -332,12 +339,18 @@ static pascal void TPPaneIdleProc(ControlHandle theControl) { RectRgn((theRgn = NewRgn()), &varsp->fRTextArea); TXNAdjustCursor(varsp->fTXNRec, theRgn); DisposeRgn(theRgn); - } else SetThemeCursor(kThemeArrowCursor); + } + else + { + // SetThemeCursor(kThemeArrowCursor); + } } else { /* if it's in our bounds, set the cursor */ GetControlBounds(theControl, &bounds); if (PtInRect(mousep, &bounds)) - SetThemeCursor(kThemeArrowCursor); + { + // SetThemeCursor(kThemeArrowCursor); + } } HSetState((Handle) tpvars, state); @@ -529,29 +542,29 @@ OSStatus mUPOpenControl(ControlHandle theControl, long wxStyle ) TXNFrameOptions frameOptions = kTXNDontDrawCaretWhenInactiveMask ; if ( ! ( wxStyle & wxTE_NOHIDESEL ) ) - frameOptions |= kTXNDontDrawSelectionWhenInactiveMask ; - - if ( wxStyle & wxTE_MULTILINE ) - { - if ( ! ( wxStyle & wxTE_DONTWRAP ) ) - frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; - else - { - frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; - frameOptions |= kTXNWantHScrollBarMask ; - } - - if ( !(wxStyle & wxTE_NO_VSCROLL ) ) - frameOptions |= kTXNWantVScrollBarMask ; - } - else - frameOptions |= kTXNSingleLineOnlyMask ; - - if ( wxStyle & wxTE_READONLY ) - frameOptions |= kTXNReadOnlyMask ; + frameOptions |= kTXNDontDrawSelectionWhenInactiveMask ; + + if ( wxStyle & wxTE_MULTILINE ) + { + if ( ! ( wxStyle & wxTE_DONTWRAP ) ) + frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; + else + { + frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; + frameOptions |= kTXNWantHScrollBarMask ; + } + + if ( !(wxStyle & wxTE_NO_VSCROLL ) ) + frameOptions |= kTXNWantVScrollBarMask ; + } + else + frameOptions |= kTXNSingleLineOnlyMask ; + + if ( wxStyle & wxTE_READONLY ) + frameOptions |= kTXNReadOnlyMask ; TXNNewObject(NULL, varsp->fOwner, &varsp->fRTextArea, - frameOptions , + frameOptions , kTXNTextEditStyleFrameType, kTXNTextensionFile, kTXNSystemDefaultEncoding, @@ -715,7 +728,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, /* create the control */ m_macControl = NewControl(MAC_WXHWND(parent->MacGetRootWindow()), &bounds, "\p", true, featurSet, 0, featurSet, kControlUserPaneProc, 0); /* set up the mUP specific features and data */ - mUPOpenControl((ControlHandle) m_macControl, m_windowStyle ); + mUPOpenControl((ControlHandle) m_macControl, m_windowStyle ); if ( parent ) { parent->MacGetTopLevelWindow()->MacInstallEventHandler() ; @@ -745,7 +758,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, m_macTXN = (**tpvars).fTXNRec ; m_macTXNvars = tpvars ; m_macUsesTXN = true ; - TXNSetSelection( (TXNObject) m_macTXN, 0, 0); + TXNSetSelection( (TXNObject) m_macTXN, 0, 0); TXNShowSelection( (TXNObject) m_macTXN, kTXNShowStart); } @@ -785,11 +798,13 @@ wxString wxTextCtrl::GetValue() const wxString value; if( wxApp::s_macDefaultEncodingIsPC ) + { value = wxMacMakePCStringFromMac( wxBuffer ) ; + value.Replace( "\r", "\n" ); + } else value = wxBuffer; - value.Replace( "\r", "\n" ); return value; } @@ -812,11 +827,13 @@ void wxTextCtrl::SetValue(const wxString& st) wxString value; if( wxApp::s_macDefaultEncodingIsPC ) + { value = wxMacMakeMacStringFromPC( st ) ; + value.Replace( "\n", "\r" ); + } else value = st; - value.Replace( "\n", "\r" ); if ( !m_macUsesTXN ) { @@ -825,12 +842,14 @@ void wxTextCtrl::SetValue(const wxString& st) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; - TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), - kTXNStartOffset, kTXNEndOffset); - TXNSetSelection( (TXNObject) m_macTXN, 0, 0); + if ( !formerEditable ) + SetEditable(true) ; + TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), + kTXNStartOffset, kTXNEndOffset); + TXNSetSelection( (TXNObject) m_macTXN, 0, 0); TXNShowSelection( (TXNObject) m_macTXN, kTXNShowStart); - SetEditable(formerEditable) ; + if ( !formerEditable ) + SetEditable(formerEditable) ; } MacRedrawControl() ; } @@ -845,45 +864,46 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style) if ( m_macUsesTXN ) { bool formerEditable = IsEditable() ; - SetEditable(true) ; - TXNTypeAttributes typeAttr[4] ; - Str255 fontName = "\pMonaco" ; - SInt16 fontSize = 12 ; - Style fontStyle = normal ; - RGBColor color ; - int attrCounter = 0 ; - if ( style.HasFont() ) - { - const wxFont &font = style.GetFont() ; - CopyCStringToPascal( font.GetFaceName().c_str() , fontName ) ; - fontSize = font.GetPointSize() ; - if ( font.GetUnderlined() ) - fontStyle |= underline ; - if ( font.GetWeight() == wxBOLD ) - fontStyle |= bold ; - if ( font.GetStyle() == wxITALIC ) - fontStyle |= italic ; - - typeAttr[attrCounter].tag = kTXNQDFontNameAttribute ; - typeAttr[attrCounter].size = kTXNQDFontNameAttributeSize ; - typeAttr[attrCounter].data.dataPtr = (void*) fontName ; - typeAttr[attrCounter+1].tag = kTXNQDFontSizeAttribute ; - typeAttr[attrCounter+1].size = kTXNFontSizeAttributeSize ; - typeAttr[attrCounter+1].data.dataValue = (fontSize << 16) ; - typeAttr[attrCounter+2].tag = kTXNQDFontStyleAttribute ; - typeAttr[attrCounter+2].size = kTXNQDFontStyleAttributeSize ; - typeAttr[attrCounter+2].data.dataValue = fontStyle ; - attrCounter += 3 ; - - } - if ( style.HasTextColour() ) - { - typeAttr[attrCounter].tag = kTXNQDFontColorAttribute ; - typeAttr[attrCounter].size = kTXNQDFontColorAttributeSize ; - typeAttr[attrCounter].data.dataPtr = (void*) &color ; - color = MAC_WXCOLORREF(style.GetTextColour().GetPixel()) ; - attrCounter += 1 ; - } + if ( !formerEditable ) + SetEditable(true) ; + TXNTypeAttributes typeAttr[4] ; + Str255 fontName = "\pMonaco" ; + SInt16 fontSize = 12 ; + Style fontStyle = normal ; + RGBColor color ; + int attrCounter = 0 ; + if ( style.HasFont() ) + { + const wxFont &font = style.GetFont() ; + CopyCStringToPascal( font.GetFaceName().c_str() , fontName ) ; + fontSize = font.GetPointSize() ; + if ( font.GetUnderlined() ) + fontStyle |= underline ; + if ( font.GetWeight() == wxBOLD ) + fontStyle |= bold ; + if ( font.GetStyle() == wxITALIC ) + fontStyle |= italic ; + + typeAttr[attrCounter].tag = kTXNQDFontNameAttribute ; + typeAttr[attrCounter].size = kTXNQDFontNameAttributeSize ; + typeAttr[attrCounter].data.dataPtr = (void*) fontName ; + typeAttr[attrCounter+1].tag = kTXNQDFontSizeAttribute ; + typeAttr[attrCounter+1].size = kTXNFontSizeAttributeSize ; + typeAttr[attrCounter+1].data.dataValue = (fontSize << 16) ; + typeAttr[attrCounter+2].tag = kTXNQDFontStyleAttribute ; + typeAttr[attrCounter+2].size = kTXNQDFontStyleAttributeSize ; + typeAttr[attrCounter+2].data.dataValue = fontStyle ; + attrCounter += 3 ; + + } + if ( style.HasTextColour() ) + { + typeAttr[attrCounter].tag = kTXNQDFontColorAttribute ; + typeAttr[attrCounter].size = kTXNQDFontColorAttributeSize ; + typeAttr[attrCounter].data.dataPtr = (void*) &color ; + color = MAC_WXCOLORREF(style.GetTextColour().GetPixel()) ; + attrCounter += 1 ; + } if ( attrCounter > 0 ) { @@ -891,7 +911,8 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style) start,end); wxASSERT_MSG( status == noErr , "Couldn't set text attributes" ) ; } - SetEditable(formerEditable) ; + if ( !formerEditable ) + SetEditable(formerEditable) ; } return TRUE ; } @@ -1034,9 +1055,9 @@ void wxTextCtrl::SetEditable(bool editable) if ( !m_macUsesTXN ) { if ( editable ) - UMAActivateControl( (ControlHandle) m_macControl ) ; + UMAActivateControl( (ControlHandle) m_macControl ) ; else - UMADeactivateControl((ControlHandle) m_macControl ) ; + UMADeactivateControl((ControlHandle) m_macControl ) ; } else { @@ -1106,12 +1127,14 @@ void wxTextCtrl::Replace(long from, long to, const wxString& value) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; - TXNSetSelection( ((TXNObject) m_macTXN) , from , to ) ; - TXNClear( ((TXNObject) m_macTXN) ) ; - TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), - kTXNUseCurrentSelection, kTXNUseCurrentSelection); - SetEditable( formerEditable ) ; + if ( !formerEditable ) + SetEditable(true) ; + TXNSetSelection( ((TXNObject) m_macTXN) , from , to ) ; + TXNClear( ((TXNObject) m_macTXN) ) ; + TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), + kTXNUseCurrentSelection, kTXNUseCurrentSelection); + if ( !formerEditable ) + SetEditable( formerEditable ) ; } Refresh() ; } @@ -1130,10 +1153,12 @@ void wxTextCtrl::Remove(long from, long to) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; + if ( !formerEditable ) + SetEditable(true) ; TXNSetSelection( ((TXNObject) m_macTXN) , from , to ) ; TXNClear( ((TXNObject) m_macTXN) ) ; - SetEditable( formerEditable ) ; + if ( !formerEditable ) + SetEditable( formerEditable ) ; } Refresh() ; } @@ -1178,9 +1203,13 @@ void wxTextCtrl::WriteText(const wxString& text) { wxString value ; if( wxApp::s_macDefaultEncodingIsPC ) + { value = wxMacMakeMacStringFromPC( text ) ; + value.Replace( "\n", "\r" ); + } else value = text ; + if ( !m_macUsesTXN ) { TEInsert( value , value.Length() , ((TEHandle) m_macTE) ) ; @@ -1188,14 +1217,16 @@ void wxTextCtrl::WriteText(const wxString& text) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; - long start , end , dummy ; - GetSelection( &start , &dummy ) ; + if ( !formerEditable ) + SetEditable(true) ; + long start , end , dummy ; + GetSelection( &start , &dummy ) ; TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*) (const char*)value, value.Length(), kTXNUseCurrentSelection, kTXNUseCurrentSelection); - GetSelection( &dummy , &end ) ; + GetSelection( &dummy , &end ) ; SetStyle( start , end , GetDefaultStyle() ) ; - SetEditable( formerEditable ) ; + if ( !formerEditable ) + SetEditable( formerEditable ) ; } MacRedrawControl() ; } @@ -1511,7 +1542,9 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) key == WXK_DELETE || key == WXK_BACK) { + long t1 = 0xDEADBEEF ; wxCommandEvent event1(wxEVT_COMMAND_TEXT_UPDATED, m_windowId); + long t2 = 0xDEADBEEF ; event1.SetString( GetValue() ) ; event1.SetEventObject( this ); wxPostEvent(GetEventHandler(),event1); @@ -1539,7 +1572,7 @@ bool wxTextCtrl::Show(bool show) bool retval = wxControl::Show( show ) ; - if ( former != m_macControlIsShown ) + if ( former != m_macControlIsShown && show ) { if ( m_macControlIsShown ) TXNSetFrameBounds( (TXNObject) m_macTXN, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.top, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.left, @@ -1606,7 +1639,13 @@ void wxTextCtrl::OnUpdateRedo(wxUpdateUIEvent& event) event.Enable( CanRedo() ); } - +bool wxTextCtrl::MacSetupCursor( const wxPoint& pt ) +{ + if ( m_macUsesTXN ) + return true ; + else + return wxWindow::MacSetupCursor( pt ) ; +} #endif // wxUSE_TEXTCTRL diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 0ed2cc6b55..c1d36f4122 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -159,6 +159,13 @@ bool wxToolBar::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons wxToolBar::~wxToolBar() { + size_t index = 0 ; + for ( index = 0 ; index < m_macToolHandles.Count() ; ++index ) + { + // Delete the control as we get ghosts otherwise + ::DisposeControl( (ControlHandle) m_macToolHandles[index] ); + } + // we must refresh the frame size when the toolbar is deleted but the frame // is not - otherwise toolbar leaves a hole in the place it used to occupy } diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 5f71f00425..317fe723fd 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -287,16 +287,38 @@ void wxMacToolTip::Draw() m_rect.right += kTipBorder ; #endif m_rect.bottom = m_rect.top + height + 2 * kTipBorder; + Rect r ; + GetPortBounds( GetWindowPort( m_window ) , &r ) ; + if ( m_rect.top < 0 ) + { + m_rect.bottom += -m_rect.top ; + m_rect.top = 0 ; + } + if ( m_rect.left < 0 ) + { + m_rect.right += -m_rect.left ; + m_rect.left = 0 ; + } + if ( m_rect.right > r.right ) + { + m_rect.left -= (m_rect.right - r.right ) ; + m_rect.right = r.right ; + } + if ( m_rect.bottom > r.bottom ) + { + m_rect.top -= (m_rect.bottom - r.bottom) ; + m_rect.bottom = r.bottom ; + } ClipRect( &m_rect ) ; BackColor( whiteColor ) ; ForeColor(blackColor ) ; - GWorldPtr port ; - NewGWorld( &port , wxDisplayDepth() , &m_rect , NULL , NULL , 0 ) ; - CGrafPtr origPort ; - GDHandle origDevice ; - - GetGWorld( &origPort , &origDevice ) ; - SetGWorld( port , NULL ) ; + GWorldPtr port ; + NewGWorld( &port , wxDisplayDepth() , &m_rect , NULL , NULL , 0 ) ; + CGrafPtr origPort ; + GDHandle origDevice ; + + GetGWorld( &origPort , &origDevice ) ; + SetGWorld( port , NULL ) ; m_backpict = OpenPicture(&m_rect); diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index efcf1a737d..e074c7fb31 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -235,7 +235,7 @@ pascal OSStatus wxMacWindowEventHandler( EventHandlerCallRef handler , EventRef { wxTheApp->m_macCurrentEvent = &rec ; wxWindow* focus = wxWindow::FindFocus() ; - if ( (focus != NULL) && wxTheApp->MacSendKeyDownEvent( focus , rec.message , rec.modifiers , rec.when , rec.where.h , rec.where.v ) ) + if ( (focus != NULL) && !UMAMenuEvent(&rec) && wxTheApp->MacSendKeyDownEvent( focus , rec.message , rec.modifiers , rec.when , rec.where.h , rec.where.v ) ) { // was handled internally result = noErr ; @@ -322,7 +322,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, } else { +#if TARGET_CARBON wclass = kPlainWindowClass ; +#else + wclass = kFloatingWindowClass ; +#endif } } else if ( HasFlag( wxCAPTION ) ) @@ -345,7 +349,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, } else { +#if TARGET_CARBON wclass = kPlainWindowClass ; +#else + wclass = kModalWindowClass ; +#endif } } @@ -604,8 +612,8 @@ bool wxTopLevelWindowMac::Show(bool show) return FALSE; if (show) - { - ::ShowWindow( (WindowRef)m_macWindow ) ; + { + ::TransitionWindow((WindowRef)m_macWindow,kWindowZoomTransitionEffect,kWindowShowTransitionAction,nil); ::SelectWindow( (WindowRef)m_macWindow ) ; // no need to generate events here, they will get them triggered by macos // actually they should be , but apparently they are not @@ -616,7 +624,7 @@ bool wxTopLevelWindowMac::Show(bool show) } else { - ::HideWindow( (WindowRef)m_macWindow ) ; + ::TransitionWindow((WindowRef)m_macWindow,kWindowZoomTransitionEffect,kWindowHideTransitionAction,nil); } if ( !show ) @@ -675,9 +683,13 @@ void wxTopLevelWindowMac::DoMoveWindow(int x, int y, int width, int height) if ( doResize ) ::SizeWindow((WindowRef)m_macWindow, m_width, m_height , true); + + // the OS takes care of invalidating and erasing the new area so we only have to + // take care of refreshing for full repaints + + if ( doResize && !HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) ) + Refresh() ; - // the OS takes care of invalidating and erasing the new area - // we have erased the old one if ( IsKindOf( CLASSINFO( wxFrame ) ) ) { diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index 7f12124698..1c6afd4eb6 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -23,12 +23,14 @@ static bool sUMAHasAppearance = false ; static long sUMAAppearanceVersion = 0 ; +static long sUMASystemVersion = 0 ; static bool sUMAHasAquaLayout = false ; static bool sUMASystemInitialized = false ; extern int gAGABackgroundColor ; bool UMAHasAppearance() { return sUMAHasAppearance ; } long UMAGetAppearanceVersion() { return sUMAAppearanceVersion ; } +long UMAGetSystemVersion() { return sUMASystemVersion ; } static bool sUMAHasWindowManager = false ; static long sUMAWindowManagerAttr = 0 ; @@ -71,6 +73,9 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls ) InitCursor(); #endif + if ( Gestalt(gestaltSystemVersion, &sUMASystemVersion) != noErr) + sUMASystemVersion = 0x0000 ; + long theAppearance ; if ( Gestalt( gestaltAppearanceAttr, &theAppearance ) == noErr ) { @@ -232,33 +237,157 @@ void UMAInsertSubMenuItem( MenuRef menu , StringPtr l , MenuItemIndex item , SIn SetMenuItemHierarchicalID( menu , item , id ) ; } - -void UMAAppendMenuItem( MenuRef menu , StringPtr l , SInt16 key, UInt8 modifiers ) +void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , SInt16 key , UInt8 modifiers ) { - Str255 label ; - memcpy( label , l , l[0]+1 ) ; if ( key ) { - int pos = label[0] ; - label[++pos] = '/'; - label[++pos] = toupper( key ); - label[0] = pos ; + SInt16 glyph = 0 ; + SInt16 macKey = key ; + if ( key >= WXK_F1 && key <= WXK_F15 ) + { + macKey = kFunctionKeyCharCode ; + glyph = kMenuF1Glyph + ( key - WXK_F1 ) ; + if ( key >= WXK_F13 ) + glyph += 13 ; + switch( key ) + { + case WXK_F1 : + macKey += ( 0x7a << 8 ) ; + break ; + case WXK_F2 : + macKey += ( 0x78 << 8 ) ; + break ; + case WXK_F3 : + macKey += ( 0x63 << 8 ) ; + break ; + case WXK_F4 : + macKey += ( 0x76 << 8 ) ; + break ; + case WXK_F5 : + macKey += ( 0x60 << 8 ) ; + break ; + case WXK_F6 : + macKey += ( 0x61 << 8 ) ; + break ; + case WXK_F7 : + macKey += ( 0x62 << 8 ) ; + break ; + case WXK_F8 : + macKey += ( 0x64 << 8 ) ; + break ; + case WXK_F9 : + macKey += ( 0x65 << 8 ) ; + break ; + case WXK_F10 : + macKey += ( 0x6D << 8 ) ; + break ; + case WXK_F11 : + macKey += ( 0x67 << 8 ) ; + break ; + case WXK_F12 : + macKey += ( 0x6F << 8 ) ; + break ; + case WXK_F13 : + macKey += ( 0x69 << 8 ) ; + break ; + case WXK_F14 : + macKey += ( 0x6B << 8 ) ; + break ; + case WXK_F15 : + macKey += ( 0x71 << 8 ) ; + break ; + default : + break ; + } ; + // unfortunately this does not yet trigger the right key , + // for some reason mac justs picks the first function key menu + // defined, so we turn this off + macKey = 0 ; + glyph = 0 ; + } + else + { + switch( key ) + { + case WXK_BACK : + macKey = kBackspaceCharCode ; + glyph = kMenuDeleteLeftGlyph ; + break ; + case WXK_TAB : + macKey = kTabCharCode ; + glyph = kMenuTabRightGlyph ; + break ; + case kEnterCharCode : + macKey = kEnterCharCode ; + glyph = kMenuEnterGlyph ; + break ; + case WXK_RETURN : + macKey = kReturnCharCode ; + glyph = kMenuReturnGlyph ; + break ; + case WXK_ESCAPE : + macKey = kEscapeCharCode ; + glyph = kMenuEscapeGlyph ; + break ; + case WXK_SPACE : + macKey = ' ' ; + glyph = kMenuSpaceGlyph ; + break ; + case WXK_DELETE : + macKey = kDeleteCharCode ; + glyph = kMenuDeleteRightGlyph ; + break ; + case WXK_CLEAR : + macKey = kClearCharCode ; + glyph = kMenuClearGlyph ; + break ; + case WXK_PRIOR : // PAGE UP + macKey = kPageUpCharCode ; + glyph = kMenuPageUpGlyph ; + break ; + case WXK_NEXT : + macKey = kPageDownCharCode ; + glyph = kMenuPageDownGlyph ; + break ; + case WXK_LEFT : + macKey = kLeftArrowCharCode ; + glyph = kMenuLeftArrowGlyph ; + break ; + case WXK_UP : + macKey = kUpArrowCharCode ; + glyph = kMenuUpArrowGlyph ; + break ; + case WXK_RIGHT : + macKey = kRightArrowCharCode ; + glyph = kMenuRightArrowGlyph ; + break ; + case WXK_DOWN : + macKey = kDownArrowCharCode ; + glyph = kMenuDownArrowGlyph ; + break ; + } + } + + SetItemCmd( menu, item , macKey ); + SetMenuItemModifiers(menu, item , modifiers ) ; + + if ( glyph ) + SetMenuItemKeyGlyph(menu, item , glyph ) ; } - MacAppendMenu( menu , label ) ; +} + +void UMAAppendMenuItem( MenuRef menu , StringPtr l , SInt16 key, UInt8 modifiers ) +{ + MacAppendMenu(menu, "\pA"); + SetMenuItemText(menu, (SInt16) ::CountMenuItems(menu), l); + UMASetMenuItemShortcut( menu , (SInt16) ::CountMenuItems(menu), key , modifiers ) ; } void UMAInsertMenuItem( MenuRef menu , StringPtr l , MenuItemIndex item , SInt16 key, UInt8 modifiers ) { - Str255 label ; - memcpy( label , l , l[0]+1 ) ; - if ( key ) - { - int pos = label[0] ; - label[++pos] = '/'; - label[++pos] = toupper( key ); - label[0] = pos ; - } - MacInsertMenuItem( menu , label , item) ; + MacInsertMenuItem( menu , "\p" , item) ; + SetMenuItemText(menu, item , l); + UMASetMenuItemShortcut( menu , item , key , modifiers ) ; } // quickdraw diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 1d0252c810..2ab9256cc5 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -461,7 +461,11 @@ int wxDisplayDepth() // Get size of display void wxDisplaySize(int *width, int *height) { - wxClientDisplayRect( NULL , NULL , width , height ) ; + BitMap screenBits; + GetQDGlobalsScreenBits( &screenBits ); + + *width = screenBits.bounds.right - screenBits.bounds.left ; + *height = screenBits.bounds.bottom - screenBits.bounds.top ; } void wxDisplaySizeMM(int *width, int *height) diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index bc83a282a2..26c54353c6 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -353,7 +353,17 @@ bool wxWindowMac::DoPopupMenu(wxMenu *menu, int x, int y) ::InsertMenu( (MenuHandle) menu->GetHMenu() , -1 ) ; long menuResult = ::PopUpMenuSelect((MenuHandle) menu->GetHMenu() ,y,x, 0) ; - menu->MacMenuSelect( this , TickCount() , HiWord(menuResult) , LoWord(menuResult) ) ; + if ( HiWord(menuResult) != 0 ) + { + MenuCommand id ; + GetMenuItemCommandID( GetMenuHandle(HiWord(menuResult)) , LoWord(menuResult) , &id ) ; + + wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, id ); + event.m_timeStamp = TickCount() ; + event.SetEventObject(this->GetEventHandler()); + event.SetInt( id ); + GetEventHandler()->ProcessEvent(event); + } ::DeleteMenu( menu->MacGetMenuId() ) ; menu->SetInvokingWindow(NULL); @@ -595,7 +605,35 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height) { // erase former position - Refresh() ; + bool partialRepaint = false ; + + if ( HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) ) + { + wxPoint oldPos( m_x , m_y ) ; + wxPoint newPos( actualX , actualY ) ; + MacWindowToRootWindow( &oldPos.x , &oldPos.y ) ; + MacWindowToRootWindow( &newPos.x , &newPos.y ) ; + if ( oldPos == newPos ) + { + partialRepaint = true ; + RgnHandle oldRgn,newRgn,diffRgn ; + oldRgn = NewRgn() ; + newRgn = NewRgn() ; + diffRgn = NewRgn() ; + SetRectRgn(oldRgn , oldPos.x , oldPos.y , oldPos.x + m_width , oldPos.y + m_height ) ; + SetRectRgn(newRgn , newPos.x , newPos.y , newPos.x + actualWidth , newPos.y + actualHeight ) ; + DiffRgn( newRgn , oldRgn , diffRgn ) ; + InvalWindowRgn( (WindowRef) MacGetRootWindow() , diffRgn ) ; + DiffRgn( oldRgn , newRgn , diffRgn ) ; + InvalWindowRgn( (WindowRef) MacGetRootWindow() , diffRgn ) ; + DisposeRgn(oldRgn) ; + DisposeRgn(newRgn) ; + DisposeRgn(diffRgn) ; + } + } + + if ( !partialRepaint ) + Refresh() ; m_x = actualX ; m_y = actualY ; @@ -607,7 +645,8 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height) MacUpdateDimensions() ; // erase new position - Refresh() ; + if ( !partialRepaint ) + Refresh() ; if ( doMove ) wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified diff --git a/src/mac/checklst.cpp b/src/mac/checklst.cpp index bba473b606..3bb48dec08 100644 --- a/src/mac/checklst.cpp +++ b/src/mac/checklst.cpp @@ -271,7 +271,7 @@ bool wxCheckListBox::Create(wxWindow *parent, } else { - options = lOnlyOne ; + options = (OptionBits) lOnlyOne ; } SetListSelectionFlags((ListHandle)m_macList, options); diff --git a/src/mac/cursor.cpp b/src/mac/cursor.cpp index 23b9eb4c0c..247d910752 100644 --- a/src/mac/cursor.cpp +++ b/src/mac/cursor.cpp @@ -217,8 +217,9 @@ void wxCursor::MacInstall() const { if ( m_refData && M_CURSORDATA->m_hCursor ) { - ::SetCursor( *((CursHandle)M_CURSORDATA->m_hCursor) ) ; - gMacCurrentCursor = (CursHandle)M_CURSORDATA->m_hCursor ; + CursHandle ch = ((CursHandle)M_CURSORDATA->m_hCursor) ; + ::SetCursor( *ch ) ; + gMacCurrentCursor = ch ; } else { diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index 14ced3443b..d9b5abecbd 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -2041,7 +2041,8 @@ void wxDC::MacInstallPen() const case wxUSER_DASH : { wxDash* dash ; - int number = m_pen.GetDashes(&dash) ; + m_pen.GetDashes(&dash) ; + // right now we don't allocate larger pixmaps // int number = m_pen.GetDashes(&dash) ; diff --git a/src/mac/filedlg.cpp b/src/mac/filedlg.cpp index cef71e0136..f4e41ae710 100644 --- a/src/mac/filedlg.cpp +++ b/src/mac/filedlg.cpp @@ -46,15 +46,15 @@ extern bool gUseNavServices ; // and a copy of the "previous" file spec of the reply record // so we can see if the selection has changed -const int kwxMacFileTypes = 10 ; - struct OpenUserDataRec { int currentfilter ; - wxString name [kwxMacFileTypes] ; - wxString extensions[kwxMacFileTypes] ; - OSType filtermactypes[kwxMacFileTypes] ; - int numfilters ; + bool saveMode ; + wxArrayString name ; + wxArrayString extensions ; + wxArrayLong filtermactypes ; + NavMenuItemSpecArrayHandle menuitems ; }; + typedef struct OpenUserDataRec OpenUserDataRec, *OpenUserDataRecPtr; @@ -75,23 +75,40 @@ NavEventProc( NavCBRecPtr ioParams, NavCallBackUserData ioUserData ) { - OpenUserDataRec * data = ( OpenUserDataRec *) ioUserData ; + OpenUserDataRec * data = ( OpenUserDataRec *) ioUserData ; if (inSelector == kNavCBEvent) { - // In Universal Headers 3.2, Apple changed the definition of - /* - #if UNIVERSAL_INTERFACES_VERSION >= 0x0320 // Universal Headers 3.2 - UModalAlerts::ProcessModalEvent(*(ioParams->eventData.eventDataParms.event)); - - #else - UModalAlerts::ProcessModalEvent(*(ioParams->eventData.event)); - #endif - */ - wxTheApp->MacHandleOneEvent(ioParams->eventData.eventDataParms.event); - } else if ( inSelector == kNavCBPopupMenuSelect ) + } + else if ( inSelector == kNavCBStart ) + { + if ( data->menuitems ) + NavCustomControl(ioParams->context, kNavCtlSelectCustomType, &(*data->menuitems)[data->currentfilter]); + } + else if ( inSelector == kNavCBPopupMenuSelect ) { - NavMenuItemSpec * menu = (NavMenuItemSpec *) ioParams->eventData.eventDataParms.param ; - data->currentfilter = menu->menuType ; + NavMenuItemSpec * menu = (NavMenuItemSpec *) ioParams->eventData.eventDataParms.param ; + if ( menu->menuCreator == 'WXNG' ) + { + data->currentfilter = menu->menuType ; + if ( data->saveMode ) + { + int i = menu->menuType ; + wxString extension = data->extensions[i].AfterLast('.') ; + extension.MakeLower() ; + Str255 filename ; + // get the current filename + NavCustomControl(ioParams->context, kNavCtlGetEditFileName, &filename); + CopyPascalStringToC( filename , (char*) filename ) ; + wxString sfilename( filename ) ; + int pos = sfilename.Find('.',TRUE) ; + if ( pos != wxNOT_FOUND ) + { + sfilename = sfilename.Left(pos+1)+extension ; + CopyCStringToPascal( sfilename.c_str() , filename ) ; + NavCustomControl(ioParams->context, kNavCtlSetEditFileName, &filename); + } + } + } } } @@ -117,23 +134,25 @@ OSType gfiltersmac[] = void MakeUserDataRec(OpenUserDataRec *myData , const wxString& filter ) { - myData->currentfilter = 0 ; - + myData->menuitems = NULL ; + myData->currentfilter = 0 ; + myData->saveMode = FALSE ; + if ( filter && filter[0] ) { wxString filter2(filter) ; int filterIndex = 0; bool isName = true ; wxString current ; - for( unsigned int i = 0; i < filter2.Len(); i++ ) + for( unsigned int i = 0; i < filter2.Len() ; i++ ) { if( filter2.GetChar(i) == wxT('|') ) { if( isName ) { - myData->name[filterIndex] = current ; + myData->name.Add( current ) ; } else { - myData->extensions[filterIndex] = current.MakeUpper() ; + myData->extensions.Add( current.MakeUpper() ) ; ++filterIndex ; } isName = !isName ; @@ -149,35 +168,33 @@ void MakeUserDataRec(OpenUserDataRec *myData , const wxString& filter ) wxASSERT_MSG( filterIndex == 0 || !isName , "incorrect format of format string" ) ; if ( current.IsEmpty() ) - myData->extensions[filterIndex] = myData->name[filterIndex] ; + myData->extensions.Add( myData->name[filterIndex] ) ; else - myData->extensions[filterIndex] = current.MakeUpper() ; + myData->extensions.Add( current.MakeUpper() ) ; + if ( filterIndex == 0 || isName ) + myData->name.Add( current.MakeUpper() ) ; + ++filterIndex ; - myData->numfilters = filterIndex ; - for ( int i = 0 ; i < myData->numfilters ; i++ ) + const size_t extCount = myData->extensions.GetCount(); + for ( size_t i = 0 ; i < extCount; i++ ) { int j ; for ( j = 0 ; gfilters[j] ; j++ ) { if ( strcmp( myData->extensions[i] , gfilters[j] ) == 0 ) { - myData->filtermactypes[i] = gfiltersmac[j] ; + myData->filtermactypes.Add( gfiltersmac[j] ) ; break ; } } if( gfilters[j] == NULL ) { - myData->filtermactypes[i] = '****' ; + myData->filtermactypes.Add( '****' ) ; } } } - else - { - myData->numfilters = 0 ; - } - } static Boolean CheckFile( ConstStr255Param name , OSType type , OpenUserDataRecPtr data) @@ -193,7 +210,7 @@ static Boolean CheckFile( ConstStr255Param name , OSType type , OpenUserDataRecP wxString file(filename) ; file.MakeUpper() ; - if ( data->numfilters > 0 ) + if ( data->extensions.GetCount() > 0 ) { //for ( int i = 0 ; i < data->numfilters ; ++i ) int i = data->currentfilter ; @@ -201,7 +218,7 @@ static Boolean CheckFile( ConstStr255Param name , OSType type , OpenUserDataRecP return true ; { - if ( type == data->filtermactypes[i] ) + if ( type == (OSType)data->filtermactypes[i] ) return true ; wxStringTokenizer tokenizer( data->extensions[i] , ";" ) ; @@ -314,7 +331,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, const wxString& defaultDir, const wxString& defaultFileName, const wxString& wildCard, long style, const wxPoint& pos) { - wxASSERT_MSG( NavServicesAvailable() , "Navigation Services are not running" ) ; + wxASSERT_MSG( NavServicesAvailable() , "Navigation Services are not running" ) ; m_message = message; m_dialogStyle = style; m_parent = parent; @@ -322,7 +339,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, m_fileName = defaultFileName; m_dir = defaultDir; m_wildCard = wildCard; - m_filterIndex = 1; + m_filterIndex = 0; } @@ -408,10 +425,30 @@ int wxFileDialog::ShowModal() c2pstr((char *)mNavOptions.savedFileName ) ; #endif + OpenUserDataRec myData; + MakeUserDataRec( &myData , m_wildCard ) ; + myData.currentfilter = m_filterIndex ; + if ( myData.extensions.GetCount() > 0 ) + { + mNavOptions.popupExtension = (NavMenuItemSpecArrayHandle) NewHandle( sizeof( NavMenuItemSpec ) * myData.extensions.GetCount() ) ; + myData.menuitems = mNavOptions.popupExtension ; + for ( int i = 0 ; i < myData.extensions.GetCount() ; ++i ) + { + (*mNavOptions.popupExtension)[i].version = kNavMenuItemSpecVersion ; + (*mNavOptions.popupExtension)[i].menuCreator = 'WXNG' ; + (*mNavOptions.popupExtension)[i].menuType = i ; + #if TARGET_CARBON + c2pstrcpy((StringPtr)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; + #else + strcpy((char *)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; + c2pstr((char *)(*mNavOptions.popupExtension)[i].menuItemName ) ; + #endif + } + } if ( m_dialogStyle & wxSAVE ) { - - mNavOptions.dialogOptionFlags |= kNavNoTypePopup ; + myData.saveMode = true ; + mNavOptions.dialogOptionFlags |= kNavDontAutoTranslate ; mNavOptions.dialogOptionFlags |= kNavDontAddTranslateItems ; @@ -420,33 +457,16 @@ int wxFileDialog::ShowModal() &mNavReply, &mNavOptions, sStandardNavEventFilter , - 'TEXT', - 'TEXT', - 0L); // User Data + NULL, + kNavGenericSignature, + &myData); // User Data + m_filterIndex = myData.currentfilter ; } else { - OpenUserDataRec myData; - MakeUserDataRec( &myData , m_wildCard ) ; - NavTypeListHandle typelist = NULL ; - - if ( myData.numfilters > 0 ) - { - mNavOptions.popupExtension = (NavMenuItemSpecArrayHandle) NewHandle( sizeof( NavMenuItemSpec ) * myData.numfilters ) ; - for ( int i = 0 ; i < myData.numfilters ; ++i ) { - (*mNavOptions.popupExtension)[i].version = kNavMenuItemSpecVersion ; - (*mNavOptions.popupExtension)[i].menuCreator = 'WXNG' ; - (*mNavOptions.popupExtension)[i].menuType = i ; - #if TARGET_CARBON - c2pstrcpy((StringPtr)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; - #else - strcpy((char *)(*mNavOptions.popupExtension)[i].menuItemName, myData.name[i]) ; - c2pstr((char *)(*mNavOptions.popupExtension)[i].menuItemName ) ; - #endif - } - } + myData.saveMode = false ; - mNavFilterUPP = NewNavObjectFilterUPP( CrossPlatformFilterCallback ) ; + mNavFilterUPP = NewNavObjectFilterUPP( CrossPlatformFilterCallback ) ; if ( m_dialogStyle & wxMULTIPLE ) mNavOptions.dialogOptionFlags |= kNavAllowMultipleFiles ; else @@ -459,10 +479,9 @@ int wxFileDialog::ShowModal() sStandardNavEventFilter , mNavPreviewUPP, mNavFilterUPP, - typelist /*inFileTypes.TypeListHandle() */, - &myData); // User Data - if ( typelist ) - DisposeHandle( (Handle) typelist ) ; + NULL , + &myData); + m_filterIndex = myData.currentfilter ; } DisposeNavObjectFilterUPP(mNavFilterUPP); diff --git a/src/mac/files.lst b/src/mac/files.lst index 009570dcbb..b8705f0122 100644 --- a/src/mac/files.lst +++ b/src/mac/files.lst @@ -271,7 +271,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -621,7 +620,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -665,7 +664,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -953,7 +951,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/mac/font.cpp b/src/mac/font.cpp index eec71c52ee..d1b4798cc4 100644 --- a/src/mac/font.cpp +++ b/src/mac/font.cpp @@ -89,6 +89,10 @@ void wxFontRefData::MacFindFont() ::GetFNum( "\pMonaco" , &m_macFontNum) ; break ; } + Str255 name ; + GetFontName( m_macFontNum , name ) ; + CopyPascalStringToC( name , (char*) name ) ; + m_faceName = (char*) name ; } else { diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index 4d83421744..7f1860a837 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -231,9 +231,35 @@ void wxFrame::OnActivate(wxActivateEvent& event) { m_frameMenuBar->MacInstallMenuBar() ; } + else if (wxTheApp->GetTopWindow() && wxTheApp->GetTopWindow()->IsKindOf(CLASSINFO(wxFrame))) + { + // Trying toplevel frame menbar + if( ((wxFrame*)wxTheApp->GetTopWindow())->GetMenuBar() ) + ((wxFrame*)wxTheApp->GetTopWindow())->GetMenuBar()->MacInstallMenuBar(); + } } } +void wxFrame::DetachMenuBar() +{ + if ( m_frameMenuBar ) + { + m_frameMenuBar->UnsetInvokingWindow(); + } + + wxFrameBase::DetachMenuBar(); +} + +void wxFrame::AttachMenuBar( wxMenuBar *menuBar ) +{ + wxFrameBase::AttachMenuBar(menuBar); + + if (m_frameMenuBar) + { + m_frameMenuBar->SetInvokingWindow( this ); + } +} + void wxFrame::DoGetClientSize(int *x, int *y) const { wxWindow::DoGetClientSize( x , y ) ; diff --git a/src/mac/gsocket.c b/src/mac/gsocket.c index b96cd92358..50086739cf 100644 --- a/src/mac/gsocket.c +++ b/src/mac/gsocket.c @@ -87,6 +87,7 @@ extern pascal void OTDebugStr(const char* str); #endif InetSvcRef gInetSvcRef = 0 ; int gOTInited = 0 ; +OTNotifyUPP gOTNotifierUPP = NULL ; OSStatus DoNegotiateIPReuseAddrOption(EndpointRef ep, Boolean enableReuseIPMode); @@ -185,7 +186,7 @@ static void SetDefaultEndpointModes(EndpointRef ep , void *data ) junk = OTSetBlocking(ep); OTAssert("SetDefaultEndpointModes: Could not set blocking", junk == noErr); */ - junk = OTInstallNotifier(ep, OTInetEventHandler, data); + junk = OTInstallNotifier(ep, gOTNotifierUPP, data); OTAssert("SetDefaultEndpointModes: Could not install notifier", junk == noErr); /* junk = OTUseSyncIdleEvents(ep, true); @@ -229,6 +230,7 @@ int GSocket_Verify_Inited() OTAssert("Could not open Inet Services", err == noErr); return FALSE ; } + gOTNotifierUPP = NewOTNotifyUPP( OTInetEventHandler ) ; return TRUE ; } @@ -243,6 +245,8 @@ void GSocket_Cleanup() #else CloseOpenTransport() ; #endif + if ( gOTNotifierUPP ) + DisposeOTNotifyUPP( gOTNotifierUPP ) ; } } diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 8c2e856246..343420363c 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -105,16 +105,34 @@ static pascal void wxMacListDefinition( short message, Boolean isSelected, Rect ClipRect( drawRect ); EraseRect( drawRect ); + wxFontRefData * font = (wxFontRefData*) list->GetFont().GetRefData() ; + + if ( font ) + { + ::TextFont( font->m_macFontNum ) ; + ::TextSize( short(font->m_macFontSize) ) ; + ::TextFace( font->m_macFontStyle ) ; + } + else + { + ::TextFont( kFontIDMonaco ) ; + ::TextSize( 9 ); + ::TextFace( 0 ) ; + } + #if TARGET_CARBON bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ; if ( useDrawThemeText ) { Rect frame = { drawRect->top, drawRect->left + 4, - drawRect->top + kwxMacListItemHeight, drawRect->right} ; - CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text.c_str(), text.Length(), CFStringGetSystemEncoding(), false ) ; + drawRect->top + kwxMacListItemHeight, drawRect->right + 10000 } ; + CFStringRef sString = CFStringCreateWithBytes( NULL , (UInt8*) text.c_str(), text.Length(), CFStringGetSystemEncoding(), false ) ; + CFMutableStringRef mString = CFStringCreateMutableCopy( NULL , 0 , sString ) ; + CFRelease( sString ) ; + ::TruncateThemeText( mString , kThemeCurrentPortFont, kThemeStateActive, drawRect->right - drawRect->left , truncEnd , NULL ) ; ::DrawThemeTextBox( mString, - kThemeViewsFont, + kThemeCurrentPortFont, kThemeStateActive, false, &frame, @@ -126,9 +144,6 @@ static pascal void wxMacListDefinition( short message, Boolean isSelected, Rect #endif { MoveTo(drawRect->left + 4 , drawRect->top + 10 ); - ::TextFont( kFontIDMonaco ) ; - ::TextSize( 9 ); - ::TextFace( 0 ) ; DrawText(text, 0 , text.Length()); } @@ -206,6 +221,19 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, } listDef.u.userProc = macListDefUPP ; + Str255 fontName ; + SInt16 fontSize ; + Style fontStyle ; + SInt16 fontNum ; +#if TARGET_CARBON + GetThemeFont(kThemeViewsFont , GetApplicationScript() , fontName , &fontSize , &fontStyle ) ; +#else + GetFontName( kFontIDMonaco , fontName ) ; + fontSize = 9 ; + fontStyle = normal ; +#endif + CopyPascalStringToC( fontName , (char*) fontName ) ; + SetFont( wxFont (fontSize, wxSWISS, wxNORMAL, wxNORMAL , false , fontName ) ) ; #if TARGET_CARBON Size asize; @@ -255,17 +283,17 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, } else { - options = lOnlyOne ; + options = (OptionBits) lOnlyOne ; } SetListSelectionFlags((ListHandle)m_macList, options); - MacPostControlCreate() ; - for ( int i = 0 ; i < n ; i++ ) { Append( choices[i] ) ; } + MacPostControlCreate() ; + LSetDrawingMode( true , (ListHandle)m_macList ) ; return TRUE; @@ -616,7 +644,49 @@ void wxListBox::SetString(int N, const wxString& s) wxSize wxListBox::DoGetBestSize() const { - return wxSize(100, 100); + int lbWidth = 100; // some defaults + int lbHeight = 110; + int wLine; + + { + wxMacPortStateHelper st( UMAGetWindowPort( (WindowRef) MacGetRootWindow() ) ) ; + Rect drawRect ; + + wxFontRefData * font = (wxFontRefData*) m_font.GetRefData() ; + + if ( font ) + { + ::TextFont( font->m_macFontNum ) ; + ::TextSize( short(font->m_macFontSize) ) ; + ::TextFace( font->m_macFontStyle ) ; + } + else + { + ::TextFont( kFontIDMonaco ) ; + ::TextSize( 9 ); + ::TextFace( 0 ) ; + } + + // Find the widest line + for(int i = 0; i < GetCount(); i++) { + wxString str(GetString(i)); + wLine = ::TextWidth( str.c_str() , 0 , str.Length() ) ; + lbWidth = wxMax(lbWidth, wLine); + } + + // Add room for the scrollbar + lbWidth += wxSystemSettings::GetMetric(wxSYS_VSCROLL_X); + + // And just a bit more + int cy = 12 ; + int cx = ::TextWidth( "X" , 0 , 1 ) ; + lbWidth += cx ; + + // don't make the listbox too tall (limit height to around 10 items) but don't + // make it too small neither + lbHeight = (cy+4) * wxMin(wxMax(GetCount(), 3), 10); + } + return wxSize(lbWidth, lbHeight); } int wxListBox::GetCount() const @@ -661,6 +731,7 @@ wxOwnerDrawn *wxListBox::CreateItem(size_t n) // list box control implementation // ============================================================================ +/* void MacDrawStringCell(Rect *cellRect, Cell lCell, ListHandle theList, long refCon) { wxListBox* list; @@ -675,7 +746,7 @@ void MacDrawStringCell(Rect *cellRect, Cell lCell, ListHandle theList, long refC DrawText(text, 0 , text.Length()); } - +*/ void wxListBox::MacDelete( int N ) { LDelRow( 1 , N , (ListHandle)m_macList) ; diff --git a/src/mac/menu.cpp b/src/mac/menu.cpp index caadf18ce3..e81e6de61a 100644 --- a/src/mac/menu.cpp +++ b/src/mac/menu.cpp @@ -28,6 +28,7 @@ #include "wx/window.h" #include "wx/log.h" #include "wx/utils.h" +#include "wx/frame.h" #include "wx/mac/uma.h" @@ -209,10 +210,11 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) if ( pos == (size_t)-1 ) { UMAAppendMenuItem(MAC_WXHMENU(m_hMenu), label,key,modifiers); + SetMenuItemCommandID( MAC_WXHMENU(m_hMenu) , CountMenuItems(MAC_WXHMENU(m_hMenu)) , pItem->GetId() ) ; if ( pItem->GetBitmap().Ok() ) { ControlButtonContentInfo info ; - wxMacCreateBitmapButton( &info , pItem->GetBitmap() , true ) ; + wxMacCreateBitmapButton( &info , pItem->GetBitmap() , kControlContentCIconHandle ) ; if ( info.contentType != kControlNoContent ) { if ( info.contentType == kControlContentCIconHandle ) @@ -225,10 +227,11 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) else { UMAInsertMenuItem(MAC_WXHMENU(m_hMenu), label , pos,key,modifiers); + SetMenuItemCommandID( MAC_WXHMENU(m_hMenu) , pos , pItem->GetId() ) ; if ( pItem->GetBitmap().Ok() ) { ControlButtonContentInfo info ; - wxMacCreateBitmapButton( &info , pItem->GetBitmap() , true ) ; + wxMacCreateBitmapButton( &info , pItem->GetBitmap() , kControlContentCIconHandle ) ; if ( info.contentType != kControlNoContent ) { if ( info.contentType == kControlContentCIconHandle ) @@ -429,114 +432,6 @@ void wxMenu::MacEnableMenu( bool bDoEnable ) ::DrawMenuBar() ; } -bool wxMenu::MacMenuSelect( wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum ) -{ - int pos; - wxNode *node; - - if ( m_macMenuId == macMenuId ) - { - node = GetMenuItems().Nth(macMenuItemNum-1); - if (node) - { - wxMenuItem *pItem = (wxMenuItem*)node->Data(); - - if (pItem->IsCheckable()) - pItem->Check(! pItem->IsChecked()); - - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, pItem->GetId()); - event.m_timeStamp = when; - event.SetEventObject(handler); - event.SetInt( pItem->GetId() ); - { - bool processed = false ; - -#if WXWIN_COMPATIBILITY - // Try a callback - if (m_callback) - { - (void) (*(m_callback)) (*this, event); - processed = TRUE; - } -#endif - // Try the menu's event handler - if ( !processed && handler) - { - processed = handler->ProcessEvent(event); - } - - // Try the window the menu was popped up from (and up - // through the hierarchy) - if ( !processed && GetInvokingWindow()) - processed = GetInvokingWindow()->GetEventHandler()->ProcessEvent(event); - } - return true ; - } - } - else if ( macMenuId == kHMHelpMenuID ) - { - int menuItem = firstUserHelpMenuItem-1 ; - for (pos = 0, node = GetMenuItems().First(); node; node = node->Next(), pos++) - { - wxMenuItem * pItem = (wxMenuItem *) node->Data() ; - - wxMenu *pSubMenu = pItem->GetSubMenu() ; - if ( pSubMenu != NULL ) - { - } - else - { - if ( pItem->GetId() != wxApp::s_macAboutMenuItemId ) - ++menuItem ; - - if ( menuItem == macMenuItemNum ) - { - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, pItem->GetId()); - event.m_timeStamp = when; - event.SetEventObject(handler); - event.SetInt( pItem->GetId() ); - { - bool processed = false ; -#if WXWIN_COMPATIBILITY - // Try a callback - if (m_callback) - { - (void) (*(m_callback)) (*this, event); - processed = TRUE; - } -#endif - // Try the menu's event handler - if ( !processed && handler) - { - processed = handler->ProcessEvent(event); - } - - // Try the window the menu was popped up from (and up - // through the hierarchy) - if ( !processed && GetInvokingWindow()) - processed = GetInvokingWindow()->GetEventHandler()->ProcessEvent(event); - } - return true ; - } - } - } - } - - for (pos = 0, node = GetMenuItems().First(); node; node = node->Next(), pos++) - { - wxMenuItem * pItem = (wxMenuItem *) node->Data() ; - - wxMenu *pSubMenu = pItem->GetSubMenu() ; - if ( pSubMenu != NULL ) - { - if ( pSubMenu->MacMenuSelect( handler , when , macMenuId , macMenuItemNum ) ) - return true ; - } - } - - return false ; -} - // Menu Bar /* @@ -664,89 +559,93 @@ void wxMenuBar::MacInstallMenuBar() for (size_t i = 0; i < m_menus.GetCount(); i++) { - Str255 label; - wxNode *node; - wxMenuItem *item; - int pos ; - wxMenu* menu = m_menus[i] , *subMenu = NULL ; - - if( m_titles[i] == "?" || m_titles[i] == "&?" || m_titles[i] == wxApp::s_macHelpMenuTitleName ) + Str255 label; + wxNode *node; + wxMenuItem *item; + int pos ; + wxMenu* menu = m_menus[i] , *subMenu = NULL ; + + if( m_titles[i] == "?" || m_titles[i] == "&?" || m_titles[i] == wxApp::s_macHelpMenuTitleName ) + { + MenuHandle mh = NULL ; + if ( UMAGetHelpMenu( &mh , &firstUserHelpMenuItem) != noErr ) { - MenuHandle mh = NULL ; - if ( UMAGetHelpMenu( &mh , &firstUserHelpMenuItem) != noErr ) - { continue ; - } + } for ( int i = CountMenuItems( mh ) ; i >= firstUserHelpMenuItem ; --i ) { - DeleteMenuItem( mh , i ) ; + DeleteMenuItem( mh , i ) ; } - - for (pos = 0 , node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) - { - item = (wxMenuItem *)node->Data(); - subMenu = item->GetSubMenu() ; - if (subMenu) + + for (pos = 0 , node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) + { + item = (wxMenuItem *)node->Data(); + subMenu = item->GetSubMenu() ; + if (subMenu) + { + // we don't support hierarchical menus in the help menu yet + } + else + { + if ( item->IsSeparator() ) { - // we don't support hierarchical menus in the help menu yet + if ( mh ) + MacAppendMenu(mh, "\p-" ); } - else + else { - if ( item->IsSeparator() ) + Str255 label ; + UInt8 modifiers ; + SInt16 key ; + wxMenuItem::MacBuildMenuString( label, &key , &modifiers , item->GetText(), item->GetId() != wxApp::s_macAboutMenuItemId); // no shortcut in about menu + if ( label[0] == 0 ) { - if ( mh ) - MacAppendMenu(mh, "\p-" ); + // we cannot add empty menus on mac + label[0] = 1 ; + label[1] = ' ' ; } + if ( item->GetId() == wxApp::s_macAboutMenuItemId ) + { + ::SetMenuItemText( GetMenuHandle( kwxMacAppleMenuId ) , 1 , label ); + UMAEnableMenuItem( GetMenuHandle( kwxMacAppleMenuId ) , 1 ); + SetMenuItemCommandID( GetMenuHandle( kwxMacAppleMenuId ) , 1 , item->GetId() ) ; + } else { - Str255 label ; - UInt8 modifiers ; - SInt16 key ; - wxMenuItem::MacBuildMenuString( label, &key , &modifiers , item->GetText(), item->GetId() != wxApp::s_macAboutMenuItemId); // no shortcut in about menu - if ( label[0] == 0 ) - { - // we cannot add empty menus on mac - label[0] = 1 ; - label[1] = ' ' ; - } - if ( item->GetId() == wxApp::s_macAboutMenuItemId ) - { - ::SetMenuItemText( GetMenuHandle( kwxMacAppleMenuId ) , 1 , label ); - UMAEnableMenuItem( GetMenuHandle( kwxMacAppleMenuId ) , 1 ); - } - else + if ( mh ) { - if ( mh ) - UMAAppendMenuItem(mh, label , key , modifiers ); + UMAAppendMenuItem(mh, label , key , modifiers ); + SetMenuItemCommandID( mh , CountMenuItems(mh) , item->GetId() ) ; } } } } } - else - { - wxMenuItem::MacBuildMenuString( label, NULL , NULL , m_titles[i] , false ); - UMASetMenuTitle( MAC_WXHMENU(menu->GetHMenu()) , label ) ; - wxArrayPtrVoid submenus ; - - for (pos = 0, node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) - { - item = (wxMenuItem *)node->Data(); - subMenu = item->GetSubMenu() ; - if (subMenu) - { - submenus.Add(subMenu) ; - } - } - ::InsertMenu(MAC_WXHMENU(m_menus[i]->GetHMenu()), 0); - for ( size_t i = 0 ; i < submenus.GetCount() ; ++i ) + } + else + { + wxMenuItem::MacBuildMenuString( label, NULL , NULL , m_titles[i] , false ); + UMASetMenuTitle( MAC_WXHMENU(menu->GetHMenu()) , label ) ; + wxArrayPtrVoid submenus ; + + for (pos = 0, node = menu->GetMenuItems().First(); node; node = node->Next(), pos++) + { + item = (wxMenuItem *)node->Data(); + subMenu = item->GetSubMenu() ; + if (subMenu) { - wxMenu* submenu = (wxMenu*) submenus[i] ; - wxNode *subnode; - wxMenuItem *subitem; - int subpos ; - for ( subpos = 0 , subnode = submenu->GetMenuItems().First(); subnode; subnode = subnode->Next(), subpos++) + submenus.Add(subMenu) ; + } + } + ::InsertMenu(MAC_WXHMENU(m_menus[i]->GetHMenu()), 0); + for ( size_t i = 0 ; i < submenus.GetCount() ; ++i ) + { + wxMenu* submenu = (wxMenu*) submenus[i] ; + wxNode *subnode; + wxMenuItem *subitem; + int subpos ; + for ( subpos = 0 , subnode = submenu->GetMenuItems().First(); subnode; subnode = subnode->Next(), subpos++) { subitem = (wxMenuItem *)subnode->Data(); wxMenu* itsSubMenu = subitem->GetSubMenu() ; @@ -755,11 +654,11 @@ void wxMenuBar::MacInstallMenuBar() submenus.Add(itsSubMenu) ; } } - ::InsertMenu( MAC_WXHMENU(submenu->GetHMenu()) , -1 ) ; - } - } + ::InsertMenu( MAC_WXHMENU(submenu->GetHMenu()) , -1 ) ; + } } - ::DrawMenuBar() ; + } + ::DrawMenuBar() ; s_macInstalledMenuBar = this; } @@ -900,44 +799,6 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title) return TRUE; } -void wxMenuBar::MacMenuSelect(wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum) -{ - // first scan fast for direct commands, i.e. menus which have these commands directly in their own list - - if ( macMenuId == kwxMacAppleMenuId && macMenuItemNum == 1 ) - { - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, wxApp::s_macAboutMenuItemId ); - event.m_timeStamp = when; - event.SetEventObject(handler); - event.SetInt( wxApp::s_macAboutMenuItemId ); - handler->ProcessEvent(event); - } - else - { - for (size_t i = 0; i < m_menus.GetCount() ; i++) - { - if ( m_menus[i]->MacGetMenuId() == macMenuId || ( macMenuId == kHMHelpMenuID && ( m_titles[i] == "?" || m_titles[i] == "&?" || m_titles[i] == wxApp::s_macHelpMenuTitleName ) ) ) - { - if ( m_menus[i]->MacMenuSelect( handler , when , macMenuId , macMenuItemNum ) ) - return ; - else - { - //TODO flag this as an error since it must contain the item - return ; - } - } - } - - for (size_t i = 0; i < m_menus.GetCount(); i++) - { - if ( m_menus[i]->MacMenuSelect( handler , when , macMenuId , macMenuItemNum ) ) - { - break ; - } - } - } -} - wxMenu *wxMenuBar::Remove(size_t pos) { wxMenu *menu = wxMenuBarBase::Remove(pos); @@ -1004,6 +865,56 @@ bool wxMenuBar::Append(wxMenu *menu, const wxString& title) return TRUE; } +static void wxMenubarUnsetInvokingWindow( wxMenu *menu ) +{ + menu->SetInvokingWindow( (wxWindow*) NULL ); + + wxMenuItemList::Node *node = menu->GetMenuItems().GetFirst(); + while (node) + { + wxMenuItem *menuitem = node->GetData(); + if (menuitem->IsSubMenu()) + wxMenubarUnsetInvokingWindow( menuitem->GetSubMenu() ); + node = node->GetNext(); + } +} + +static void wxMenubarSetInvokingWindow( wxMenu *menu, wxWindow *win ) +{ + menu->SetInvokingWindow( win ); + + wxMenuItemList::Node *node = menu->GetMenuItems().GetFirst(); + while (node) + { + wxMenuItem *menuitem = node->GetData(); + if (menuitem->IsSubMenu()) + wxMenubarSetInvokingWindow( menuitem->GetSubMenu() , win ); + node = node->GetNext(); + } +} + +void wxMenuBar::UnsetInvokingWindow() +{ + wxMenuList::Node *node = m_menus.GetFirst(); + while (node) + { + wxMenu *menu = node->GetData(); + wxMenubarUnsetInvokingWindow( menu ); + node = node->GetNext(); + } +} + +void wxMenuBar::SetInvokingWindow(wxFrame *frame) +{ + wxMenuList::Node *node = m_menus.GetFirst(); + while (node) + { + wxMenu *menu = node->GetData(); + wxMenubarSetInvokingWindow( menu, frame ); + node = node->GetNext(); + } +} + void wxMenuBar::Detach() { wxMenuBarBase::Detach() ; @@ -1012,7 +923,6 @@ void wxMenuBar::Detach() void wxMenuBar::Attach(wxFrame *frame) { wxMenuBarBase::Attach( frame ) ; - #if wxUSE_ACCEL RebuildAccelTable(); #endif // wxUSE_ACCEL diff --git a/src/mac/menuitem.cpp b/src/mac/menuitem.cpp index 544bfd6004..6c41427f76 100644 --- a/src/mac/menuitem.cpp +++ b/src/mac/menuitem.cpp @@ -46,7 +46,7 @@ int wxMenuItem::MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShort { char *p = (char *) &outMacItemText[1] ; short macModifiers = 0 ; - char macShortCut = 0 ; + SInt16 macShortCut = 0 ; const char *inItemName ; wxString inItemTextMac ; @@ -72,31 +72,6 @@ int wxMenuItem::MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShort { switch ( *inItemName ) { - // special characters for macintosh menus -> use some replacement - case ';' : - *p++ = ',' ; - break ; - case '^' : - *p++ = ' ' ; - break ; - case '!' : - *p++ = ' ' ; - break ; - case '<' : - *p++ = '[' ; - break ; - case '>' : - *p++ = ']' ; - break ; - case '/' : - *p++ = '|' ; - break ; - case '(' : - *p++ = '[' ; - break ; - case ')' : - *p++ = ']' ; - break ; // shortcuts case '&' : { @@ -115,43 +90,71 @@ int wxMenuItem::MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShort case '\t' : { ++inItemName ; - while( *inItemName ) + bool skip = false ; + bool explicitCommandKey = false ; + while( *inItemName && !skip ) { - if (strncmp("Ctrl", inItemName, 4) == 0) + if (wxStrnicmp("Ctrl", inItemName, 4) == 0) { inItemName = inItemName + 5; - macShortCut = *inItemName; + explicitCommandKey = true ; } - else if (strncmp("Cntrl", inItemName, 5) == 0) + else if (wxStrnicmp("Cntrl", inItemName, 5) == 0) { inItemName = inItemName + 6; - macShortCut = *inItemName; + explicitCommandKey = true ; } - else if (strncmp("Alt", inItemName, 3) == 0) + else if (wxStrnicmp("Alt", inItemName, 3) == 0) { inItemName = inItemName + 4; macModifiers |= kMenuOptionModifier ; - macShortCut = *inItemName ; } - else if (strncmp("Shift", inItemName, 5) == 0) + else if (wxStrnicmp("Shift", inItemName, 5) == 0) { inItemName = inItemName + 6; macModifiers |= kMenuShiftModifier ; - macShortCut = *inItemName ; } - else if (strncmp("F", inItemName, 1) == 0) + else { - inItemName += strlen( inItemName ) ; - // no function keys at the moment - // macModifiers |= kMenuShiftModifier ; - // macShortCut = *inItemName ; + skip = true ; } - else + } + if ( *inItemName ) + { + if ( strlen(inItemName) == 1 ) + { + macShortCut = *inItemName; + } + else if ( !wxStricmp( inItemName , "Delete" ) || !wxStricmp( inItemName , "Del" ) ) + { + macShortCut = WXK_DELETE ; + } + else if ( !wxStricmp( inItemName , "Back" ) || !wxStricmp( inItemName , "Backspace" ) ) + { + macShortCut = WXK_BACK ; + } + else if ( !wxStricmp( inItemName , "Return" ) ) { - break ; + macShortCut = WXK_RETURN ; + } + else if ( !wxStricmp( inItemName , "Enter" ) ) + { + macShortCut = kEnterCharCode ; + } + else if ( *inItemName == 'F' ) + { + int fkey = atol(inItemName+1) ; + if (fkey >= 1 && fkey < 15 ) + { + macShortCut = WXK_F1 + fkey - 1 ; + } + if ( !explicitCommandKey ) + macModifiers |= kMenuNoCommandModifier ; } } - + + inItemName += strlen( inItemName ) ; + if ( *inItemName == 0 ) --inItemName ; diff --git a/src/mac/notebmac.cpp b/src/mac/notebmac.cpp index 7c72298654..2f8f53b786 100644 --- a/src/mac/notebmac.cpp +++ b/src/mac/notebmac.cpp @@ -132,8 +132,17 @@ bool wxNotebook::Create(wxWindow *parent, MacPreControlCreate( parent , id , "" , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; + int tabstyle = kControlTabSmallNorthProc ; + if ( HasFlag(wxNB_LEFT) ) + tabstyle = kControlTabSmallWestProc ; + else if ( HasFlag( wxNB_RIGHT ) ) + tabstyle = kControlTabSmallEastProc ; + else if ( HasFlag( wxNB_BOTTOM ) ) + tabstyle = kControlTabSmallSouthProc ; + + m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, - kControlTabSmallProc , (long) this ) ; + tabstyle , (long) this ) ; MacPostControlCreate() ; return TRUE ; @@ -207,6 +216,7 @@ int wxNotebook::SetSelection(int nPage) ChangePage(m_nSelection, nPage); SetControl32BitValue( (ControlHandle) m_macControl , m_nSelection + 1 ) ; + Refresh(); return m_nSelection; } @@ -233,7 +243,7 @@ int wxNotebook::GetPageImage(int nPage) const { wxCHECK_MSG( IS_VALID_PAGE(nPage), -1, _T("invalid notebook page") ); - return 0 ; + return m_images[nPage]; } bool wxNotebook::SetPageImage(int nPage, int nImage) @@ -243,7 +253,17 @@ bool wxNotebook::SetPageImage(int nPage, int nImage) wxCHECK_MSG( m_imageList && nImage < m_imageList->GetImageCount(), FALSE, _T("invalid image index in SetPageImage()") ); - return FALSE; + if ( nImage != m_images[nPage] ) + { + // if the item didn't have an icon before or, on the contrary, did have + // it but has lost it now, its size will change - but if the icon just + // changes, it won't + m_images[nPage] = nImage; + + MacSetupTabs() ; + } + + return TRUE; } // ---------------------------------------------------------------------------- @@ -295,6 +315,8 @@ bool wxNotebook::InsertPage(int nPage, // save the pointer to the page m_pages.Insert(pPage, nPage); + m_images.Insert(imageId, nPage); + MacSetupTabs(); if ( bSelect ) { @@ -332,7 +354,8 @@ void wxNotebook::MacSetupTabs() wxNotebookPage *page; ControlTabInfoRec info; - Boolean enabled = true; + + OSStatus err = noErr ; for(int ii = 0; ii < GetPageCount(); ii++) { page = m_pages[ii]; @@ -346,8 +369,35 @@ void wxNotebook::MacSetupTabs() #endif SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag, sizeof( ControlTabInfoRec) , (char*) &info ) ; - SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabEnabledFlagTag, - sizeof( Boolean ), (Ptr)&enabled ); + SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ; + +#if TARGET_CARBON + if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 ) + { + // tab controls only support very specific types of images, therefore we are doing an odyssee + // accross the icon worlds (even Apple DTS did not find a shorter path) + // in order not to pollute the icon registry we put every icon into (OSType) 1 and immediately + // afterwards Unregister it (IconRef is ref counted, so it will stay on the tab even if we + // unregister it) in case this will ever lead to having the same icon everywhere add some kind + // of static counter + ControlButtonContentInfo info ; + wxMacCreateBitmapButton( &info , *GetImageList()->GetBitmap( GetPageImage(ii ) ) , kControlContentPictHandle) ; + IconFamilyHandle iconFamily = (IconFamilyHandle) NewHandle(0) ; + OSErr err = SetIconFamilyData( iconFamily, 'PICT' , (Handle) info.u.picture ) ; + wxASSERT_MSG( err == noErr , "Error when adding bitmap" ) ; + IconRef iconRef ; + err = RegisterIconRefFromIconFamily( 'WXNG' , (OSType) 1 , iconFamily, &iconRef ) ; + wxASSERT_MSG( err == noErr , "Error when adding bitmap" ) ; + info.contentType = kControlContentIconRef ; + info.u.iconRef = iconRef ; + SetControlData( (ControlHandle) m_macControl, ii+1,kControlTabImageContentTag, + sizeof( info ), (Ptr)&info ); + wxASSERT_MSG( err == noErr , "Error when setting icon on tab" ) ; + UnregisterIconRef( 'WXNG' , (OSType) 1 ) ; + ReleaseIconRef( iconRef ) ; + DisposeHandle( (Handle) iconFamily ) ; + } +#endif } Rect bounds; GetControlBounds((ControlHandle)m_macControl, &bounds); diff --git a/src/mac/printdlg.cpp b/src/mac/printdlg.cpp index ec13b97455..1b18c1d49b 100644 --- a/src/mac/printdlg.cpp +++ b/src/mac/printdlg.cpp @@ -104,11 +104,8 @@ int wxPrintDialog::ShowModal() ::UMAPrClose(NULL) ; #else #if PM_USE_SESSION_APIS - PMPrintSession macPrintSession = kPMNoReference; Boolean accepted; - err = ::UMAPrOpen(&macPrintSession) ; - if ( err == noErr ) { m_printDialogData.ConvertToNative() ; @@ -123,13 +120,13 @@ int wxPrintDialog::ShowModal() if ((err == noErr) && (m_printDialogData.GetPrintData().m_macPageFormat != kPMNoPageFormat)) { - err = PMSessionDefaultPageFormat((PMPrintSession)macPrintSession, + err = PMSessionDefaultPageFormat((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPageFormat)m_printDialogData.GetPrintData().m_macPageFormat); } } else { - err = PMSessionValidatePageFormat((PMPrintSession)macPrintSession, + err = PMSessionValidatePageFormat((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPageFormat)m_printDialogData.GetPrintData().m_macPageFormat, kPMDontWantBoolean); } @@ -145,13 +142,13 @@ int wxPrintDialog::ShowModal() if ((err == noErr) && (m_printDialogData.GetPrintData().m_macPrintSettings != kPMNoPrintSettings)) { - err = PMSessionDefaultPrintSettings((PMPrintSession)macPrintSession, + err = PMSessionDefaultPrintSettings((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPrintSettings)m_printDialogData.GetPrintData().m_macPrintSettings); } } else { - err = PMSessionValidatePrintSettings((PMPrintSession)macPrintSession, + err = PMSessionValidatePrintSettings((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPrintSettings)m_printDialogData.GetPrintData().m_macPrintSettings, kPMDontWantBoolean); } @@ -165,7 +162,7 @@ int wxPrintDialog::ShowModal() // Display the Print dialog. if (err == noErr) { - err = PMSessionPrintDialog((PMPrintSession)macPrintSession, + err = PMSessionPrintDialog((PMPrintSession)m_printDialogData.GetPrintData().m_macPrintSession, (PMPrintSettings)m_printDialogData.GetPrintData().m_macPrintSettings, (PMPageFormat)m_printDialogData.GetPrintData().m_macPageFormat, &accepted); @@ -186,7 +183,6 @@ int wxPrintDialog::ShowModal() wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; dialog.ShowModal(); } - ::UMAPrClose(&macPrintSession) ; #else #pragma warning "TODO: Printing for carbon without session apis" #endif @@ -256,11 +252,8 @@ int wxPageSetupDialog::ShowModal() ::UMAPrClose(NULL) ; #else #if PM_USE_SESSION_APIS - PMPrintSession macPrintSession = kPMNoReference; Boolean accepted; - err = ::UMAPrOpen(&macPrintSession) ; - if ( err == noErr ) { m_pageSetupData.ConvertToNative() ; @@ -275,13 +268,13 @@ int wxPageSetupDialog::ShowModal() if ((err == noErr) && (m_pageSetupData.GetPrintData().m_macPageFormat != kPMNoPageFormat)) { - err = PMSessionDefaultPageFormat((PMPrintSession)macPrintSession, + err = PMSessionDefaultPageFormat((PMPrintSession)m_pageSetupData.GetPrintData().m_macPrintSession, (PMPageFormat)m_pageSetupData.GetPrintData().m_macPageFormat); } } else { - err = PMSessionValidatePageFormat((PMPrintSession)macPrintSession, + err = PMSessionValidatePageFormat((PMPrintSession)m_pageSetupData.GetPrintData().m_macPrintSession, (PMPageFormat)m_pageSetupData.GetPrintData().m_macPageFormat, kPMDontWantBoolean); } @@ -289,7 +282,7 @@ int wxPageSetupDialog::ShowModal() // Display the Page Setup dialog. if (err == noErr) { - err = PMSessionPageSetupDialog((PMPrintSession)macPrintSession, + err = PMSessionPageSetupDialog((PMPrintSession)m_pageSetupData.GetPrintData().m_macPrintSession, (PMPageFormat)m_pageSetupData.GetPrintData().m_macPageFormat, &accepted); if ((err == noErr) && !accepted) @@ -312,7 +305,6 @@ int wxPageSetupDialog::ShowModal() wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; dialog.ShowModal(); } - ::UMAPrClose(&macPrintSession) ; #else #pragma warning "TODO: Printing for carbon without session apis" #endif diff --git a/src/mac/printmac.cpp b/src/mac/printmac.cpp index 33506c4548..1240fd6622 100644 --- a/src/mac/printmac.cpp +++ b/src/mac/printmac.cpp @@ -276,7 +276,7 @@ void wxMacPrintPreview::DetermineScaling(void) m_previewPrintout->SetPPIScreen( 72 , 72 ) ; m_previewPrintout->SetPPIPrinter( 72 , 72 ) ; - m_previewPrintout->SetPageSizeMM( 8 * 25.6 , 11 * 25.6 ) ; + m_previewPrintout->SetPageSizeMM( (int) (8.0 * 25.6), (int) (11.0 * 25.6) ); m_previewPrintout->SetPageSizePixels( 8 * 72 , 11 * 72 ) ; m_pageWidth = 8 * 72 ; m_pageHeight = 11 * 72 ; @@ -295,7 +295,10 @@ void wxMacPrintPreview::DetermineScaling(void) m_pageWidth = x ; m_pageHeight = y ; m_isOk = true ; - + } + else + { + m_isOk = false ; } // At 100%, the page should look about page-size on the screen. // m_previewScale = (float)((float)screenWidth/(float)printerWidth); diff --git a/src/mac/textctrl.cpp b/src/mac/textctrl.cpp index 4f8d67ae6d..cee43bf68b 100644 --- a/src/mac/textctrl.cpp +++ b/src/mac/textctrl.cpp @@ -23,7 +23,14 @@ #else #include #endif -#include + +#if wxUSE_STD_IOSTREAM + #if wxUSE_IOSTREAMH + #include + #else + #include + #endif +#endif #include "wx/app.h" #include "wx/dc.h" @@ -332,12 +339,18 @@ static pascal void TPPaneIdleProc(ControlHandle theControl) { RectRgn((theRgn = NewRgn()), &varsp->fRTextArea); TXNAdjustCursor(varsp->fTXNRec, theRgn); DisposeRgn(theRgn); - } else SetThemeCursor(kThemeArrowCursor); + } + else + { + // SetThemeCursor(kThemeArrowCursor); + } } else { /* if it's in our bounds, set the cursor */ GetControlBounds(theControl, &bounds); if (PtInRect(mousep, &bounds)) - SetThemeCursor(kThemeArrowCursor); + { + // SetThemeCursor(kThemeArrowCursor); + } } HSetState((Handle) tpvars, state); @@ -529,29 +542,29 @@ OSStatus mUPOpenControl(ControlHandle theControl, long wxStyle ) TXNFrameOptions frameOptions = kTXNDontDrawCaretWhenInactiveMask ; if ( ! ( wxStyle & wxTE_NOHIDESEL ) ) - frameOptions |= kTXNDontDrawSelectionWhenInactiveMask ; - - if ( wxStyle & wxTE_MULTILINE ) - { - if ( ! ( wxStyle & wxTE_DONTWRAP ) ) - frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; - else - { - frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; - frameOptions |= kTXNWantHScrollBarMask ; - } - - if ( !(wxStyle & wxTE_NO_VSCROLL ) ) - frameOptions |= kTXNWantVScrollBarMask ; - } - else - frameOptions |= kTXNSingleLineOnlyMask ; - - if ( wxStyle & wxTE_READONLY ) - frameOptions |= kTXNReadOnlyMask ; + frameOptions |= kTXNDontDrawSelectionWhenInactiveMask ; + + if ( wxStyle & wxTE_MULTILINE ) + { + if ( ! ( wxStyle & wxTE_DONTWRAP ) ) + frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; + else + { + frameOptions |= kTXNAlwaysWrapAtViewEdgeMask ; + frameOptions |= kTXNWantHScrollBarMask ; + } + + if ( !(wxStyle & wxTE_NO_VSCROLL ) ) + frameOptions |= kTXNWantVScrollBarMask ; + } + else + frameOptions |= kTXNSingleLineOnlyMask ; + + if ( wxStyle & wxTE_READONLY ) + frameOptions |= kTXNReadOnlyMask ; TXNNewObject(NULL, varsp->fOwner, &varsp->fRTextArea, - frameOptions , + frameOptions , kTXNTextEditStyleFrameType, kTXNTextensionFile, kTXNSystemDefaultEncoding, @@ -715,7 +728,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, /* create the control */ m_macControl = NewControl(MAC_WXHWND(parent->MacGetRootWindow()), &bounds, "\p", true, featurSet, 0, featurSet, kControlUserPaneProc, 0); /* set up the mUP specific features and data */ - mUPOpenControl((ControlHandle) m_macControl, m_windowStyle ); + mUPOpenControl((ControlHandle) m_macControl, m_windowStyle ); if ( parent ) { parent->MacGetTopLevelWindow()->MacInstallEventHandler() ; @@ -745,7 +758,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, m_macTXN = (**tpvars).fTXNRec ; m_macTXNvars = tpvars ; m_macUsesTXN = true ; - TXNSetSelection( (TXNObject) m_macTXN, 0, 0); + TXNSetSelection( (TXNObject) m_macTXN, 0, 0); TXNShowSelection( (TXNObject) m_macTXN, kTXNShowStart); } @@ -785,11 +798,13 @@ wxString wxTextCtrl::GetValue() const wxString value; if( wxApp::s_macDefaultEncodingIsPC ) + { value = wxMacMakePCStringFromMac( wxBuffer ) ; + value.Replace( "\r", "\n" ); + } else value = wxBuffer; - value.Replace( "\r", "\n" ); return value; } @@ -812,11 +827,13 @@ void wxTextCtrl::SetValue(const wxString& st) wxString value; if( wxApp::s_macDefaultEncodingIsPC ) + { value = wxMacMakeMacStringFromPC( st ) ; + value.Replace( "\n", "\r" ); + } else value = st; - value.Replace( "\n", "\r" ); if ( !m_macUsesTXN ) { @@ -825,12 +842,14 @@ void wxTextCtrl::SetValue(const wxString& st) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; - TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), - kTXNStartOffset, kTXNEndOffset); - TXNSetSelection( (TXNObject) m_macTXN, 0, 0); + if ( !formerEditable ) + SetEditable(true) ; + TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), + kTXNStartOffset, kTXNEndOffset); + TXNSetSelection( (TXNObject) m_macTXN, 0, 0); TXNShowSelection( (TXNObject) m_macTXN, kTXNShowStart); - SetEditable(formerEditable) ; + if ( !formerEditable ) + SetEditable(formerEditable) ; } MacRedrawControl() ; } @@ -845,45 +864,46 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style) if ( m_macUsesTXN ) { bool formerEditable = IsEditable() ; - SetEditable(true) ; - TXNTypeAttributes typeAttr[4] ; - Str255 fontName = "\pMonaco" ; - SInt16 fontSize = 12 ; - Style fontStyle = normal ; - RGBColor color ; - int attrCounter = 0 ; - if ( style.HasFont() ) - { - const wxFont &font = style.GetFont() ; - CopyCStringToPascal( font.GetFaceName().c_str() , fontName ) ; - fontSize = font.GetPointSize() ; - if ( font.GetUnderlined() ) - fontStyle |= underline ; - if ( font.GetWeight() == wxBOLD ) - fontStyle |= bold ; - if ( font.GetStyle() == wxITALIC ) - fontStyle |= italic ; - - typeAttr[attrCounter].tag = kTXNQDFontNameAttribute ; - typeAttr[attrCounter].size = kTXNQDFontNameAttributeSize ; - typeAttr[attrCounter].data.dataPtr = (void*) fontName ; - typeAttr[attrCounter+1].tag = kTXNQDFontSizeAttribute ; - typeAttr[attrCounter+1].size = kTXNFontSizeAttributeSize ; - typeAttr[attrCounter+1].data.dataValue = (fontSize << 16) ; - typeAttr[attrCounter+2].tag = kTXNQDFontStyleAttribute ; - typeAttr[attrCounter+2].size = kTXNQDFontStyleAttributeSize ; - typeAttr[attrCounter+2].data.dataValue = fontStyle ; - attrCounter += 3 ; - - } - if ( style.HasTextColour() ) - { - typeAttr[attrCounter].tag = kTXNQDFontColorAttribute ; - typeAttr[attrCounter].size = kTXNQDFontColorAttributeSize ; - typeAttr[attrCounter].data.dataPtr = (void*) &color ; - color = MAC_WXCOLORREF(style.GetTextColour().GetPixel()) ; - attrCounter += 1 ; - } + if ( !formerEditable ) + SetEditable(true) ; + TXNTypeAttributes typeAttr[4] ; + Str255 fontName = "\pMonaco" ; + SInt16 fontSize = 12 ; + Style fontStyle = normal ; + RGBColor color ; + int attrCounter = 0 ; + if ( style.HasFont() ) + { + const wxFont &font = style.GetFont() ; + CopyCStringToPascal( font.GetFaceName().c_str() , fontName ) ; + fontSize = font.GetPointSize() ; + if ( font.GetUnderlined() ) + fontStyle |= underline ; + if ( font.GetWeight() == wxBOLD ) + fontStyle |= bold ; + if ( font.GetStyle() == wxITALIC ) + fontStyle |= italic ; + + typeAttr[attrCounter].tag = kTXNQDFontNameAttribute ; + typeAttr[attrCounter].size = kTXNQDFontNameAttributeSize ; + typeAttr[attrCounter].data.dataPtr = (void*) fontName ; + typeAttr[attrCounter+1].tag = kTXNQDFontSizeAttribute ; + typeAttr[attrCounter+1].size = kTXNFontSizeAttributeSize ; + typeAttr[attrCounter+1].data.dataValue = (fontSize << 16) ; + typeAttr[attrCounter+2].tag = kTXNQDFontStyleAttribute ; + typeAttr[attrCounter+2].size = kTXNQDFontStyleAttributeSize ; + typeAttr[attrCounter+2].data.dataValue = fontStyle ; + attrCounter += 3 ; + + } + if ( style.HasTextColour() ) + { + typeAttr[attrCounter].tag = kTXNQDFontColorAttribute ; + typeAttr[attrCounter].size = kTXNQDFontColorAttributeSize ; + typeAttr[attrCounter].data.dataPtr = (void*) &color ; + color = MAC_WXCOLORREF(style.GetTextColour().GetPixel()) ; + attrCounter += 1 ; + } if ( attrCounter > 0 ) { @@ -891,7 +911,8 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style) start,end); wxASSERT_MSG( status == noErr , "Couldn't set text attributes" ) ; } - SetEditable(formerEditable) ; + if ( !formerEditable ) + SetEditable(formerEditable) ; } return TRUE ; } @@ -1034,9 +1055,9 @@ void wxTextCtrl::SetEditable(bool editable) if ( !m_macUsesTXN ) { if ( editable ) - UMAActivateControl( (ControlHandle) m_macControl ) ; + UMAActivateControl( (ControlHandle) m_macControl ) ; else - UMADeactivateControl((ControlHandle) m_macControl ) ; + UMADeactivateControl((ControlHandle) m_macControl ) ; } else { @@ -1106,12 +1127,14 @@ void wxTextCtrl::Replace(long from, long to, const wxString& value) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; - TXNSetSelection( ((TXNObject) m_macTXN) , from , to ) ; - TXNClear( ((TXNObject) m_macTXN) ) ; - TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), - kTXNUseCurrentSelection, kTXNUseCurrentSelection); - SetEditable( formerEditable ) ; + if ( !formerEditable ) + SetEditable(true) ; + TXNSetSelection( ((TXNObject) m_macTXN) , from , to ) ; + TXNClear( ((TXNObject) m_macTXN) ) ; + TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*)value.c_str(), value.Length(), + kTXNUseCurrentSelection, kTXNUseCurrentSelection); + if ( !formerEditable ) + SetEditable( formerEditable ) ; } Refresh() ; } @@ -1130,10 +1153,12 @@ void wxTextCtrl::Remove(long from, long to) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; + if ( !formerEditable ) + SetEditable(true) ; TXNSetSelection( ((TXNObject) m_macTXN) , from , to ) ; TXNClear( ((TXNObject) m_macTXN) ) ; - SetEditable( formerEditable ) ; + if ( !formerEditable ) + SetEditable( formerEditable ) ; } Refresh() ; } @@ -1178,9 +1203,13 @@ void wxTextCtrl::WriteText(const wxString& text) { wxString value ; if( wxApp::s_macDefaultEncodingIsPC ) + { value = wxMacMakeMacStringFromPC( text ) ; + value.Replace( "\n", "\r" ); + } else value = text ; + if ( !m_macUsesTXN ) { TEInsert( value , value.Length() , ((TEHandle) m_macTE) ) ; @@ -1188,14 +1217,16 @@ void wxTextCtrl::WriteText(const wxString& text) else { bool formerEditable = IsEditable() ; - SetEditable(true) ; - long start , end , dummy ; - GetSelection( &start , &dummy ) ; + if ( !formerEditable ) + SetEditable(true) ; + long start , end , dummy ; + GetSelection( &start , &dummy ) ; TXNSetData( ((TXNObject) m_macTXN), kTXNTextData, (void*) (const char*)value, value.Length(), kTXNUseCurrentSelection, kTXNUseCurrentSelection); - GetSelection( &dummy , &end ) ; + GetSelection( &dummy , &end ) ; SetStyle( start , end , GetDefaultStyle() ) ; - SetEditable( formerEditable ) ; + if ( !formerEditable ) + SetEditable( formerEditable ) ; } MacRedrawControl() ; } @@ -1511,7 +1542,9 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) key == WXK_DELETE || key == WXK_BACK) { + long t1 = 0xDEADBEEF ; wxCommandEvent event1(wxEVT_COMMAND_TEXT_UPDATED, m_windowId); + long t2 = 0xDEADBEEF ; event1.SetString( GetValue() ) ; event1.SetEventObject( this ); wxPostEvent(GetEventHandler(),event1); @@ -1539,7 +1572,7 @@ bool wxTextCtrl::Show(bool show) bool retval = wxControl::Show( show ) ; - if ( former != m_macControlIsShown ) + if ( former != m_macControlIsShown && show ) { if ( m_macControlIsShown ) TXNSetFrameBounds( (TXNObject) m_macTXN, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.top, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.left, @@ -1606,7 +1639,13 @@ void wxTextCtrl::OnUpdateRedo(wxUpdateUIEvent& event) event.Enable( CanRedo() ); } - +bool wxTextCtrl::MacSetupCursor( const wxPoint& pt ) +{ + if ( m_macUsesTXN ) + return true ; + else + return wxWindow::MacSetupCursor( pt ) ; +} #endif // wxUSE_TEXTCTRL diff --git a/src/mac/toolbar.cpp b/src/mac/toolbar.cpp index 0ed2cc6b55..c1d36f4122 100644 --- a/src/mac/toolbar.cpp +++ b/src/mac/toolbar.cpp @@ -159,6 +159,13 @@ bool wxToolBar::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons wxToolBar::~wxToolBar() { + size_t index = 0 ; + for ( index = 0 ; index < m_macToolHandles.Count() ; ++index ) + { + // Delete the control as we get ghosts otherwise + ::DisposeControl( (ControlHandle) m_macToolHandles[index] ); + } + // we must refresh the frame size when the toolbar is deleted but the frame // is not - otherwise toolbar leaves a hole in the place it used to occupy } diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 5f71f00425..317fe723fd 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -287,16 +287,38 @@ void wxMacToolTip::Draw() m_rect.right += kTipBorder ; #endif m_rect.bottom = m_rect.top + height + 2 * kTipBorder; + Rect r ; + GetPortBounds( GetWindowPort( m_window ) , &r ) ; + if ( m_rect.top < 0 ) + { + m_rect.bottom += -m_rect.top ; + m_rect.top = 0 ; + } + if ( m_rect.left < 0 ) + { + m_rect.right += -m_rect.left ; + m_rect.left = 0 ; + } + if ( m_rect.right > r.right ) + { + m_rect.left -= (m_rect.right - r.right ) ; + m_rect.right = r.right ; + } + if ( m_rect.bottom > r.bottom ) + { + m_rect.top -= (m_rect.bottom - r.bottom) ; + m_rect.bottom = r.bottom ; + } ClipRect( &m_rect ) ; BackColor( whiteColor ) ; ForeColor(blackColor ) ; - GWorldPtr port ; - NewGWorld( &port , wxDisplayDepth() , &m_rect , NULL , NULL , 0 ) ; - CGrafPtr origPort ; - GDHandle origDevice ; - - GetGWorld( &origPort , &origDevice ) ; - SetGWorld( port , NULL ) ; + GWorldPtr port ; + NewGWorld( &port , wxDisplayDepth() , &m_rect , NULL , NULL , 0 ) ; + CGrafPtr origPort ; + GDHandle origDevice ; + + GetGWorld( &origPort , &origDevice ) ; + SetGWorld( port , NULL ) ; m_backpict = OpenPicture(&m_rect); diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index efcf1a737d..e074c7fb31 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -235,7 +235,7 @@ pascal OSStatus wxMacWindowEventHandler( EventHandlerCallRef handler , EventRef { wxTheApp->m_macCurrentEvent = &rec ; wxWindow* focus = wxWindow::FindFocus() ; - if ( (focus != NULL) && wxTheApp->MacSendKeyDownEvent( focus , rec.message , rec.modifiers , rec.when , rec.where.h , rec.where.v ) ) + if ( (focus != NULL) && !UMAMenuEvent(&rec) && wxTheApp->MacSendKeyDownEvent( focus , rec.message , rec.modifiers , rec.when , rec.where.h , rec.where.v ) ) { // was handled internally result = noErr ; @@ -322,7 +322,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, } else { +#if TARGET_CARBON wclass = kPlainWindowClass ; +#else + wclass = kFloatingWindowClass ; +#endif } } else if ( HasFlag( wxCAPTION ) ) @@ -345,7 +349,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, } else { +#if TARGET_CARBON wclass = kPlainWindowClass ; +#else + wclass = kModalWindowClass ; +#endif } } @@ -604,8 +612,8 @@ bool wxTopLevelWindowMac::Show(bool show) return FALSE; if (show) - { - ::ShowWindow( (WindowRef)m_macWindow ) ; + { + ::TransitionWindow((WindowRef)m_macWindow,kWindowZoomTransitionEffect,kWindowShowTransitionAction,nil); ::SelectWindow( (WindowRef)m_macWindow ) ; // no need to generate events here, they will get them triggered by macos // actually they should be , but apparently they are not @@ -616,7 +624,7 @@ bool wxTopLevelWindowMac::Show(bool show) } else { - ::HideWindow( (WindowRef)m_macWindow ) ; + ::TransitionWindow((WindowRef)m_macWindow,kWindowZoomTransitionEffect,kWindowHideTransitionAction,nil); } if ( !show ) @@ -675,9 +683,13 @@ void wxTopLevelWindowMac::DoMoveWindow(int x, int y, int width, int height) if ( doResize ) ::SizeWindow((WindowRef)m_macWindow, m_width, m_height , true); + + // the OS takes care of invalidating and erasing the new area so we only have to + // take care of refreshing for full repaints + + if ( doResize && !HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) ) + Refresh() ; - // the OS takes care of invalidating and erasing the new area - // we have erased the old one if ( IsKindOf( CLASSINFO( wxFrame ) ) ) { diff --git a/src/mac/uma.cpp b/src/mac/uma.cpp index 7f12124698..1c6afd4eb6 100644 --- a/src/mac/uma.cpp +++ b/src/mac/uma.cpp @@ -23,12 +23,14 @@ static bool sUMAHasAppearance = false ; static long sUMAAppearanceVersion = 0 ; +static long sUMASystemVersion = 0 ; static bool sUMAHasAquaLayout = false ; static bool sUMASystemInitialized = false ; extern int gAGABackgroundColor ; bool UMAHasAppearance() { return sUMAHasAppearance ; } long UMAGetAppearanceVersion() { return sUMAAppearanceVersion ; } +long UMAGetSystemVersion() { return sUMASystemVersion ; } static bool sUMAHasWindowManager = false ; static long sUMAWindowManagerAttr = 0 ; @@ -71,6 +73,9 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls ) InitCursor(); #endif + if ( Gestalt(gestaltSystemVersion, &sUMASystemVersion) != noErr) + sUMASystemVersion = 0x0000 ; + long theAppearance ; if ( Gestalt( gestaltAppearanceAttr, &theAppearance ) == noErr ) { @@ -232,33 +237,157 @@ void UMAInsertSubMenuItem( MenuRef menu , StringPtr l , MenuItemIndex item , SIn SetMenuItemHierarchicalID( menu , item , id ) ; } - -void UMAAppendMenuItem( MenuRef menu , StringPtr l , SInt16 key, UInt8 modifiers ) +void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , SInt16 key , UInt8 modifiers ) { - Str255 label ; - memcpy( label , l , l[0]+1 ) ; if ( key ) { - int pos = label[0] ; - label[++pos] = '/'; - label[++pos] = toupper( key ); - label[0] = pos ; + SInt16 glyph = 0 ; + SInt16 macKey = key ; + if ( key >= WXK_F1 && key <= WXK_F15 ) + { + macKey = kFunctionKeyCharCode ; + glyph = kMenuF1Glyph + ( key - WXK_F1 ) ; + if ( key >= WXK_F13 ) + glyph += 13 ; + switch( key ) + { + case WXK_F1 : + macKey += ( 0x7a << 8 ) ; + break ; + case WXK_F2 : + macKey += ( 0x78 << 8 ) ; + break ; + case WXK_F3 : + macKey += ( 0x63 << 8 ) ; + break ; + case WXK_F4 : + macKey += ( 0x76 << 8 ) ; + break ; + case WXK_F5 : + macKey += ( 0x60 << 8 ) ; + break ; + case WXK_F6 : + macKey += ( 0x61 << 8 ) ; + break ; + case WXK_F7 : + macKey += ( 0x62 << 8 ) ; + break ; + case WXK_F8 : + macKey += ( 0x64 << 8 ) ; + break ; + case WXK_F9 : + macKey += ( 0x65 << 8 ) ; + break ; + case WXK_F10 : + macKey += ( 0x6D << 8 ) ; + break ; + case WXK_F11 : + macKey += ( 0x67 << 8 ) ; + break ; + case WXK_F12 : + macKey += ( 0x6F << 8 ) ; + break ; + case WXK_F13 : + macKey += ( 0x69 << 8 ) ; + break ; + case WXK_F14 : + macKey += ( 0x6B << 8 ) ; + break ; + case WXK_F15 : + macKey += ( 0x71 << 8 ) ; + break ; + default : + break ; + } ; + // unfortunately this does not yet trigger the right key , + // for some reason mac justs picks the first function key menu + // defined, so we turn this off + macKey = 0 ; + glyph = 0 ; + } + else + { + switch( key ) + { + case WXK_BACK : + macKey = kBackspaceCharCode ; + glyph = kMenuDeleteLeftGlyph ; + break ; + case WXK_TAB : + macKey = kTabCharCode ; + glyph = kMenuTabRightGlyph ; + break ; + case kEnterCharCode : + macKey = kEnterCharCode ; + glyph = kMenuEnterGlyph ; + break ; + case WXK_RETURN : + macKey = kReturnCharCode ; + glyph = kMenuReturnGlyph ; + break ; + case WXK_ESCAPE : + macKey = kEscapeCharCode ; + glyph = kMenuEscapeGlyph ; + break ; + case WXK_SPACE : + macKey = ' ' ; + glyph = kMenuSpaceGlyph ; + break ; + case WXK_DELETE : + macKey = kDeleteCharCode ; + glyph = kMenuDeleteRightGlyph ; + break ; + case WXK_CLEAR : + macKey = kClearCharCode ; + glyph = kMenuClearGlyph ; + break ; + case WXK_PRIOR : // PAGE UP + macKey = kPageUpCharCode ; + glyph = kMenuPageUpGlyph ; + break ; + case WXK_NEXT : + macKey = kPageDownCharCode ; + glyph = kMenuPageDownGlyph ; + break ; + case WXK_LEFT : + macKey = kLeftArrowCharCode ; + glyph = kMenuLeftArrowGlyph ; + break ; + case WXK_UP : + macKey = kUpArrowCharCode ; + glyph = kMenuUpArrowGlyph ; + break ; + case WXK_RIGHT : + macKey = kRightArrowCharCode ; + glyph = kMenuRightArrowGlyph ; + break ; + case WXK_DOWN : + macKey = kDownArrowCharCode ; + glyph = kMenuDownArrowGlyph ; + break ; + } + } + + SetItemCmd( menu, item , macKey ); + SetMenuItemModifiers(menu, item , modifiers ) ; + + if ( glyph ) + SetMenuItemKeyGlyph(menu, item , glyph ) ; } - MacAppendMenu( menu , label ) ; +} + +void UMAAppendMenuItem( MenuRef menu , StringPtr l , SInt16 key, UInt8 modifiers ) +{ + MacAppendMenu(menu, "\pA"); + SetMenuItemText(menu, (SInt16) ::CountMenuItems(menu), l); + UMASetMenuItemShortcut( menu , (SInt16) ::CountMenuItems(menu), key , modifiers ) ; } void UMAInsertMenuItem( MenuRef menu , StringPtr l , MenuItemIndex item , SInt16 key, UInt8 modifiers ) { - Str255 label ; - memcpy( label , l , l[0]+1 ) ; - if ( key ) - { - int pos = label[0] ; - label[++pos] = '/'; - label[++pos] = toupper( key ); - label[0] = pos ; - } - MacInsertMenuItem( menu , label , item) ; + MacInsertMenuItem( menu , "\p" , item) ; + SetMenuItemText(menu, item , l); + UMASetMenuItemShortcut( menu , item , key , modifiers ) ; } // quickdraw diff --git a/src/mac/utils.cpp b/src/mac/utils.cpp index 1d0252c810..2ab9256cc5 100644 --- a/src/mac/utils.cpp +++ b/src/mac/utils.cpp @@ -461,7 +461,11 @@ int wxDisplayDepth() // Get size of display void wxDisplaySize(int *width, int *height) { - wxClientDisplayRect( NULL , NULL , width , height ) ; + BitMap screenBits; + GetQDGlobalsScreenBits( &screenBits ); + + *width = screenBits.bounds.right - screenBits.bounds.left ; + *height = screenBits.bounds.bottom - screenBits.bounds.top ; } void wxDisplaySizeMM(int *width, int *height) diff --git a/src/mac/window.cpp b/src/mac/window.cpp index bc83a282a2..26c54353c6 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -353,7 +353,17 @@ bool wxWindowMac::DoPopupMenu(wxMenu *menu, int x, int y) ::InsertMenu( (MenuHandle) menu->GetHMenu() , -1 ) ; long menuResult = ::PopUpMenuSelect((MenuHandle) menu->GetHMenu() ,y,x, 0) ; - menu->MacMenuSelect( this , TickCount() , HiWord(menuResult) , LoWord(menuResult) ) ; + if ( HiWord(menuResult) != 0 ) + { + MenuCommand id ; + GetMenuItemCommandID( GetMenuHandle(HiWord(menuResult)) , LoWord(menuResult) , &id ) ; + + wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, id ); + event.m_timeStamp = TickCount() ; + event.SetEventObject(this->GetEventHandler()); + event.SetInt( id ); + GetEventHandler()->ProcessEvent(event); + } ::DeleteMenu( menu->MacGetMenuId() ) ; menu->SetInvokingWindow(NULL); @@ -595,7 +605,35 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height) { // erase former position - Refresh() ; + bool partialRepaint = false ; + + if ( HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) ) + { + wxPoint oldPos( m_x , m_y ) ; + wxPoint newPos( actualX , actualY ) ; + MacWindowToRootWindow( &oldPos.x , &oldPos.y ) ; + MacWindowToRootWindow( &newPos.x , &newPos.y ) ; + if ( oldPos == newPos ) + { + partialRepaint = true ; + RgnHandle oldRgn,newRgn,diffRgn ; + oldRgn = NewRgn() ; + newRgn = NewRgn() ; + diffRgn = NewRgn() ; + SetRectRgn(oldRgn , oldPos.x , oldPos.y , oldPos.x + m_width , oldPos.y + m_height ) ; + SetRectRgn(newRgn , newPos.x , newPos.y , newPos.x + actualWidth , newPos.y + actualHeight ) ; + DiffRgn( newRgn , oldRgn , diffRgn ) ; + InvalWindowRgn( (WindowRef) MacGetRootWindow() , diffRgn ) ; + DiffRgn( oldRgn , newRgn , diffRgn ) ; + InvalWindowRgn( (WindowRef) MacGetRootWindow() , diffRgn ) ; + DisposeRgn(oldRgn) ; + DisposeRgn(newRgn) ; + DisposeRgn(diffRgn) ; + } + } + + if ( !partialRepaint ) + Refresh() ; m_x = actualX ; m_y = actualY ; @@ -607,7 +645,8 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height) MacUpdateDimensions() ; // erase new position - Refresh() ; + if ( !partialRepaint ) + Refresh() ; if ( doMove ) wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified diff --git a/src/make.env.in b/src/make.env.in index 2cc978aa50..94a973aeef 100644 --- a/src/make.env.in +++ b/src/make.env.in @@ -12,7 +12,7 @@ ####################### GENERAL SETTINGS ############################ # see comment near LDFLAGS at the end of file -EXTRALIBS = @LDFLAGS@ @LIBS@ @DMALLOC_LIBS@ +EXTRALIBS = @LDFLAGS@ @LDFLAGS_VERSIONING@ @LIBS@ @DMALLOC_LIBS@ OPENGLLIBS = @OPENGL_LIBS@ LDLIBS = ${APPEXTRALIBS} ${top_builddir}/lib/@WX_TARGET_LIBRARY@ ${EXTRALIBS} @@ -21,6 +21,7 @@ TOOLKITDIR = @TOOLKIT_DIR@ WXLIB = @WX_LIBRARY_NAME_STATIC@ WXSHLIB = @WX_LIBRARY_NAME_SHARED@ +WXLIBBASE = @WX_LIBRARY_BASENAME@ ########################### VERSION ################################# diff --git a/src/makeb32.env b/src/makeb32.env index 0f942ef87d..857e503f62 100644 --- a/src/makeb32.env +++ b/src/makeb32.env @@ -15,6 +15,8 @@ BCCDIR=$(MAKEDIR)\.. ARCHINCDIR=$(WXDIR)\lib\msw ARCHSETUPH=$(ARCHINCDIR)\wx\setup.h +#see below for SETUPSRCDIR + # Using a config file isn't compatible across all BC++ versions # LNKCFG=$(WXDIR)\src\msw\bclnk32.cfg @@ -81,6 +83,20 @@ WXLIBNAME=wx32 WXLIBNAME=wx32 !endif +## Use this if you want to use the UNIV controls set rather than the native ones +## make -f makefile.b32 WXUSINGUNIV=1 +!if "$(WXUSINGUNIV)" == "1" +USE_UNIV="UNIV" +CFG=$(CFG)v +WXLIBNAME=$(WXLIBNAME)v +ARCHINCDIR=$(ARCHINCDIR)v +SETUPSRCDIR=$(WXDIR)\include\wx\univ +PORT=__WXUNIVERSAL__ +!else +USE_UNIV="" +PORT=__WXMSW__ +SETUPSRCDIR=$(WXDIR)\include\wx\msw +!endif #not sure what to do with unicode builds - we need to define something ? #!if "$(UNICODE)" == "1" diff --git a/src/makeg95.env b/src/makeg95.env index 39f402da26..ce231cc18c 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -18,8 +18,14 @@ MINGW32=1 #MINGW32VERSION=2.95 MINGW32VERSION=3.0 +# If we're using MSYS, or other utilities that +# use forward slashes, we need to set this when +# invoking the makefile from DOS, or the wrong separators +# will be assumed. +#OSTYPE=msys + # If building DLL, the version -WXVERSION=233 +WXVERSION=234 ifndef UNICODE UNICODE=0 @@ -285,11 +291,14 @@ ifeq ($(wxUSE_GUI),1) endif LDFLAGS = $(WINDOWSLDFLAGS) $(COMMON_THREADFLAGS) -L$(WXDIR)/lib -L$(WXDIR)/contrib/lib $(EXTRALDFLAGS) -.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .cxx .c +.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .cxx .cc .c .c.o: $(CC) -c $(CFLAGS) -o $@ $*.c +.cc.o: + $(CC) -c $(CPPFLAGS) -o $@ $*.cc + .cxx.o: $(CC) -c $(CPPFLAGS) -o $@ $*.cxx diff --git a/src/makelib.env.in b/src/makelib.env.in index 3da9676922..daf3f6b710 100644 --- a/src/makelib.env.in +++ b/src/makelib.env.in @@ -41,6 +41,8 @@ TARGETLIB_LINK2 = $(TARGET_LIBNAME).so TARGETLIB_SONAME = @WX_TARGET_LIBRARY_SONAME@ +LDFLAGS_VERSIONING = @LDFLAGS_VERSIONING@ + # NB: see remark in Makefile.in as to why we don't use %.foo: %.bar rules .SUFFIXES: .o .c .cpp .cxx @@ -68,7 +70,7 @@ libtype_a: $(top_builddir)/lib/$(TARGETLIB_STATIC) $(top_builddir)/lib/$(TARGETLIB_SHARED): $(OBJECTS) @$(INSTALL) -d $(top_builddir)/lib - $(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS) + $(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS) $(LDFLAGS_VERSIONING) cd $(top_builddir)/lib \ && $(RM) $(TARGETLIB_LINK1) $(TARGETLIB_LINK2) \ && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK1) \ diff --git a/src/makelib.g95 b/src/makelib.g95 index 7fb95c9b3c..882d560429 100644 --- a/src/makelib.g95 +++ b/src/makelib.g95 @@ -7,8 +7,6 @@ # # Include file for Cygwin/Mingw32 libraries -WXDIR = $(WXWIN) - # All common UNIX compiler flags and options are now in # this central makefile. include $(WXDIR)/src/makeg95.env @@ -23,4 +21,4 @@ clean: -$(RM) $(OBJECTS) core *.rsc *.res cleanall: clean - -$(RM) $(LIBTARGET) \ No newline at end of file + -$(RM) $(LIBTARGET) diff --git a/src/makeprog.b32 b/src/makeprog.b32 index 67c9a6854d..2afd2304d6 100644 --- a/src/makeprog.b32 +++ b/src/makeprog.b32 @@ -14,10 +14,16 @@ WXDIR = $(WXWIN) !include $(WXDIR)\src\makeb32.env +!if "$(wxUSE_GUI)" == "0" +IMGLIBS= +!else +IMGLIBS= winpng jpeg tiff +!endif + !if "$(WXUSINGDLL)" == "1" -LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 winpng regex zlib jpeg tiff odbc32 +LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 regex zlib $(IMGLIBS) odbc32 !else -LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng regex zlib jpeg tiff odbc32 +LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 regex zlib $(IMGLIBS) odbc32 !endif # Note: you may need to remove some libraries for earlier versions of BC++, as below diff --git a/src/makeprog.vc b/src/makeprog.vc index 1a4c5ef2bf..e2c76535c4 100644 --- a/src/makeprog.vc +++ b/src/makeprog.vc @@ -13,7 +13,9 @@ # Set WXDIR for your system WXDIR = $(WXWIN) +!ifndef WXUSINGDLL WXUSINGDLL=0 +!endif !include $(WXDIR)\src\makevc.env @@ -69,7 +71,7 @@ $(LIBS) clean: - -$(RM) $(OBJECTS) + -$(RM) *.obj -$(RM) *.exe -$(RM) *.res -$(RM) *.map diff --git a/src/makeva.env b/src/makeva.env index eafd3a48a1..1fd0dc138f 100644 --- a/src/makeva.env +++ b/src/makeva.env @@ -116,17 +116,17 @@ D=DebugOS2 WXLIB=$(WXDIR)\lib\$(WXLIBNAME).lib -INC=-I$(WXINC) -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(WXDIR)/src/xpm -I$(WXDIR)/src/tiff -I$(WXDIR)/src/png -I$(EXTRAINC) +INC=-I$(WXINC) -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(WXDIR)/src/tiff -I$(WXDIR)/src/png -I$(EXTRAINC) !if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1" LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB $(TCPIP)\TCPIP32.LIB $(TCPIP)\R0LIB32.LIB -EXTRALIBS=$(WXDIR)\lib\os2pngd.lib $(WXDIR)\lib\os2zlibd.lib $(WXDIR)\lib\os2jpegd.lib $(WXDIR)\lib\os2xpmd.lib $(WXDIR)\lib\os2tiffd.lib +EXTRALIBS=$(WXDIR)\lib\os2pngd.lib $(WXDIR)\lib\os2zlibd.lib $(WXDIR)\lib\os2jpegd.lib $(WXDIR)\lib\os2tiffd.lib !if "$(WXUSINGDLL)" == "1" EXTRALIBS=$(EXTRALIBS) $(WXLIB) !endif LIBS=$(LINKLIBS) $(EXTRALIBS) !else LINKLIBS=CPPOM30.LIB CPPOOC3.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB $(TCPIP)\TCPIP32.LIB $(TCPIP)\R0LIB32.LIB -EXTRALIBS=$(WXDIR)\lib\os2png.lib $(WXDIR)\lib\os2zlib.lib $(WXDIR)\lib\os2jpeg.lib $(WXDIR)\lib\os2xpm.lib $(WXDIR)\lib\os2tiff.lib +EXTRALIBS=$(WXDIR)\lib\os2png.lib $(WXDIR)\lib\os2zlib.lib $(WXDIR)\lib\os2jpeg.lib $(WXDIR)\lib\os2tiff.lib LIBS=$(WXLIB) $(LINKLIBS) $(EXTRALIBS) !endif diff --git a/src/makevc.env b/src/makevc.env index b085f2fa8c..387ef57a73 100644 --- a/src/makevc.env +++ b/src/makevc.env @@ -12,7 +12,9 @@ RM= erase !endif -WXVERSION=233 +WXVERSION=234 + +# WIN95 means "all systems newer than Win95", i.e. Win9x and NT 4+ WIN95=1 !if "$(WIN95)" == "0" @@ -22,7 +24,7 @@ WIN95=1 APPVER=3.50 WINVERSION=-DWINVER=0x0350 # Generic WIN32 !else -APPVER=3.50 # 4.0 +APPVER=4.0 # This means 'enable Windows 95 features' (in wxWindows and in VC++ 4.0). WINVERSION=-DWINVER=0x0400 /D__WIN95__ !endif diff --git a/src/mgl/files.lst b/src/mgl/files.lst index ff689b82fe..083c26b21f 100644 --- a/src/mgl/files.lst +++ b/src/mgl/files.lst @@ -227,7 +227,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -474,6 +473,27 @@ ALL_HEADERS = \ xpmdecod.h \ zipstrm.h \ zstream.h \ + mgl/app.h \ + mgl/bitmap.h \ + mgl/brush.h \ + mgl/clipbrd.h \ + mgl/colour.h \ + mgl/cursor.h \ + mgl/dc.h \ + mgl/dcclient.h \ + mgl/dcmemory.h \ + mgl/dcscreen.h \ + mgl/font.h \ + mgl/fontutil.h \ + mgl/gdiobj.h \ + mgl/icon.h \ + mgl/palette.h \ + mgl/pen.h \ + mgl/popupwin.h \ + mgl/private.h \ + mgl/region.h \ + mgl/toplevel.h \ + mgl/window.h \ generic/accel.h \ generic/calctrl.h \ generic/caret.h \ @@ -494,7 +514,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -538,7 +558,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -773,7 +792,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/mgl/makefile.wat b/src/mgl/makefile.wat index 08f8c4e1ff..cbac28a96f 100644 --- a/src/mgl/makefile.wat +++ b/src/mgl/makefile.wat @@ -303,7 +303,6 @@ HTMLOBJS = helpctrl.obj & m_layout.obj & m_links.obj & m_list.obj & - m_meta.obj & m_pre.obj & m_style.obj & m_tables.obj & @@ -1140,9 +1139,6 @@ m_links.obj: $(HTMLDIR)\m_links.cpp m_list.obj: $(HTMLDIR)\m_list.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< -m_meta.obj: $(HTMLDIR)\m_meta.cpp - *$(CCC) $(CPPFLAGS) $(IFLAGS) $< - m_pre.obj: $(HTMLDIR)\m_pre.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index 1b6606e260..562756b248 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -129,7 +129,8 @@ static void wxCaptureScreenshot(bool activeWindowOnly) g_displayDC->savePNGFromDC(screenshot.mb_str(), r.x, r. y, r.x+r.width, r.y+r.height); - wxMessageBox(_("Screenshot captured: ") + wxString(screenshot)); + wxMessageBox(wxString::Format(_T("Screenshot captured: %s"), + screenshot.c_str())); } // --------------------------------------------------------------------------- diff --git a/src/microwin/files.lst b/src/microwin/files.lst index aeb212d346..15a375c000 100644 --- a/src/microwin/files.lst +++ b/src/microwin/files.lst @@ -227,7 +227,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -589,7 +588,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -868,7 +867,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/motif/checklst.cpp b/src/motif/checklst.cpp index 54e230848e..7546ec3927 100644 --- a/src/motif/checklst.cpp +++ b/src/motif/checklst.cpp @@ -57,16 +57,6 @@ static void CopyStringsAddingPrefix(const wxArrayString& orig, copy.Add( Prefix(FALSE) + orig[i] ); } -static wxString* CopyStringsAddingPrefix(size_t n, const wxString choices[]) -{ - wxString* copy = new wxString[n]; - - for(size_t i = 0; i < n; ++i ) - copy[i] = Prefix(FALSE) + choices[i]; - - return copy; -} - // def ctor: use Create() to really create the control wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { @@ -92,10 +82,9 @@ bool wxCheckListBox::Create(wxWindow *parent, wxWindowID id, const wxValidator& validator, const wxString& name) { - wxString* chs = CopyStringsAddingPrefix(n, choices); - bool retVal = wxListBox::Create(parent, id, pos, size, n, chs, + // wxListBox::Create calls set, which adds the prefixes + bool retVal = wxListBox::Create(parent, id, pos, size, n, choices, style, validator, name); - delete[] chs; return retVal; } diff --git a/src/motif/combobox.cpp b/src/motif/combobox.cpp index d1c470999e..e8e5fd66c7 100644 --- a/src/motif/combobox.cpp +++ b/src/motif/combobox.cpp @@ -44,8 +44,8 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id, SetValidator(validator); m_noStrings = n; m_windowStyle = style; - // m_backgroundColour = parent->GetBackgroundColour(); - m_backgroundColour = * wxWHITE; + m_backgroundColour = parent->GetBackgroundColour(); + // m_backgroundColour = * wxWHITE; m_foregroundColour = parent->GetForegroundColour(); if (parent) parent->AddChild(this); diff --git a/src/motif/files.lst b/src/motif/files.lst index 4e74793472..fe5504cee1 100644 --- a/src/motif/files.lst +++ b/src/motif/files.lst @@ -257,7 +257,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -583,7 +582,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -627,7 +626,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -893,7 +891,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index 5092f9fa1a..2d07cc18c0 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -383,6 +383,12 @@ wxFrame::~wxFrame() m_frameStatusBar = NULL; } + if (m_frameToolBar) + { + delete m_frameToolBar; + m_frameToolBar = NULL; + } + DestroyChildren(); if (m_workArea) @@ -392,6 +398,11 @@ wxFrame::~wxFrame() XtDestroyWidget ((Widget) m_workArea); } + // We need to destroy the base class icons here before we stop + // the event loop. This is a hack until we have a real top level + // window (which would be responsible for killing the event loop). + m_icons.m_icons.Empty(); + if (m_frameWidget) { wxDeleteWindowFromTable((Widget) m_frameWidget); diff --git a/src/motif/listbox.cpp b/src/motif/listbox.cpp index 2107f2e894..d8b12adf8a 100644 --- a/src/motif/listbox.cpp +++ b/src/motif/listbox.cpp @@ -617,7 +617,7 @@ void wxListBoxCallback (Widget WXUNUSED(w), XtPointer clientData, event.SetString( item->GetString( n ) ); int x = -1; - if( cbs->event->type == ButtonRelease ) + if( NULL != cbs->event && cbs->event->type == ButtonRelease ) { XButtonEvent* evt = (XButtonEvent*)cbs->event; diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index dbb71ac00c..b7e9194893 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -139,10 +139,10 @@ wxMenuItem *wxMenu::DoRemove(wxMenuItem *item) bool wxMenu::DoInsert(size_t pos, wxMenuItem *item) { - if ( !wxMenuBase::DoInsert(pos, item) ) - return FALSE; + if ( wxMenuBase::DoInsert(pos, item) ) + return TRUE; - wxFAIL_MSG(wxT("not implemented")); + wxFAIL_MSG(wxT("DoInsert not implemented; or error in wxMenuBase::DoInsert")); return FALSE; } diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 8598837d8d..9076292ca0 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -119,6 +119,8 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, // TODO: check this still looks OK for Motif 1.2. #if (XmVersion > 1200) XmNframeChildType, XmFRAME_TITLE_CHILD, +#else + XmNchildType, XmFRAME_TITLE_CHILD, #endif XmNchildVerticalAlignment, XmALIGNMENT_CENTER, NULL); diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index 4258f52c1c..46f69f1189 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -48,7 +48,6 @@ END_EVENT_TABLE() wxStaticBox::wxStaticBox() { - m_formWidget = (WXWidget) 0; m_labelWidget = (WXWidget) 0; } @@ -59,8 +58,6 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, long style, const wxString& name) { - m_formWidget = (WXWidget) 0; - m_labelWidget = (WXWidget) 0; m_backgroundColour = parent->GetBackgroundColour(); m_foregroundColour = parent->GetForegroundColour(); m_font = parent->GetFont(); @@ -76,59 +73,35 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, m_windowStyle = style; - bool hasLabel = (!label.IsNull() && !label.IsEmpty()) ; - Widget parentWidget = (Widget) parent->GetClientWidget(); - Widget formWidget = XtVaCreateManagedWidget ((char*) (const char*) name, - xmFormWidgetClass, parentWidget, - XmNmarginHeight, 0, - XmNmarginWidth, 0, + m_mainWidget = XtVaCreateManagedWidget ("staticboxframe", + xmFrameWidgetClass, parentWidget, + XmNshadowType, XmSHADOW_IN, + //XmNmarginHeight, 0, + //XmNmarginWidth, 0, NULL); - + bool hasLabel = (!label.IsNull() && !label.IsEmpty()) ; if (hasLabel) { XmFontList fontList = (XmFontList) m_font.GetFontList(1.0, XtDisplay(parentWidget)); - wxString label1(wxStripMenuCodes(label)); - XmString text = XmStringCreateSimple ((char*) (const char*) label1); - m_labelWidget = (WXWidget) XtVaCreateManagedWidget ((char*) (const char*) label1, - xmLabelWidgetClass, formWidget, + wxXmString text(label1); + m_labelWidget = (WXWidget) XtVaCreateManagedWidget (label1.c_str(), + xmLabelWidgetClass, (Widget)m_mainWidget, XmNfontList, fontList, - XmNlabelString, text, + XmNlabelString, text(), +#if (XmVersion > 1200) + XmNframeChildType, XmFRAME_TITLE_CHILD, +#else + XmNchildType, XmFRAME_TITLE_CHILD, +#endif NULL); - XmStringFree (text); } - - Widget frameWidget = XtVaCreateManagedWidget ("frame", - xmFrameWidgetClass, formWidget, - XmNshadowType, XmSHADOW_IN, - //XmNmarginHeight, 0, - //XmNmarginWidth, 0, - NULL); - - if (hasLabel) - XtVaSetValues ((Widget) m_labelWidget, - XmNtopAttachment, XmATTACH_FORM, - XmNleftAttachment, XmATTACH_FORM, - XmNrightAttachment, XmATTACH_FORM, - XmNalignment, XmALIGNMENT_BEGINNING, - NULL); - - XtVaSetValues (frameWidget, - XmNtopAttachment, hasLabel ? XmATTACH_WIDGET : XmATTACH_FORM, - XmNtopWidget, hasLabel ? (Widget) m_labelWidget : formWidget, - XmNbottomAttachment, XmATTACH_FORM, - XmNleftAttachment, XmATTACH_FORM, - XmNrightAttachment, XmATTACH_FORM, - NULL); - - m_mainWidget = (WXWidget) frameWidget; - m_formWidget = (WXWidget) formWidget; - + SetCanAddEventHandler(TRUE); - AttachWidget (parent, (WXWidget) frameWidget, (WXWidget) formWidget, pos.x, pos.y, size.x, size.y); + AttachWidget (parent, m_mainWidget, NULL, pos.x, pos.y, size.x, size.y); ChangeBackgroundColour(); return TRUE; @@ -136,16 +109,11 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, wxStaticBox::~wxStaticBox() { - DetachWidget(m_formWidget); DetachWidget(m_mainWidget); XtDestroyWidget((Widget) m_mainWidget); - if (m_labelWidget) - XtDestroyWidget((Widget) m_labelWidget); - XtDestroyWidget((Widget) m_formWidget); m_mainWidget = (WXWidget) 0; m_labelWidget = (WXWidget) 0; - m_formWidget = (WXWidget) 0; } void wxStaticBox::SetLabel(const wxString& label) @@ -157,12 +125,11 @@ void wxStaticBox::SetLabel(const wxString& label) { wxString label1(wxStripMenuCodes(label)); - XmString text = XmStringCreateSimple ((char*) (const char*) label1); + wxXmString text(label1); XtVaSetValues ((Widget) m_labelWidget, - XmNlabelString, text, + XmNlabelString, text(), XmNlabelType, XmSTRING, NULL); - XmStringFree (text); } } @@ -192,40 +159,9 @@ wxString wxStaticBox::GetLabel() const } } -void wxStaticBox::DoSetSize(int x, int y, int width, int height, int sizeFlags) -{ - wxControl::DoSetSize (x, y, width, height, sizeFlags); - - if (m_labelWidget) - { - Dimension xx, yy; - XtVaGetValues ((Widget) m_labelWidget, XmNwidth, &xx, XmNheight, &yy, NULL); - - if (width > -1) - XtVaSetValues ((Widget) m_mainWidget, XmNwidth, width, - NULL); - if (height > -1) - XtVaSetValues ((Widget) m_mainWidget, XmNheight, height - yy, - NULL); - } -} - void wxStaticBox::ChangeFont(bool keepOriginalSize) { wxWindow::ChangeFont(keepOriginalSize); } -void wxStaticBox::ChangeBackgroundColour() -{ - wxWindow::ChangeBackgroundColour(); - if (m_labelWidget) - DoChangeBackgroundColour(m_labelWidget, m_backgroundColour); -} - -void wxStaticBox::ChangeForegroundColour() -{ - wxWindow::ChangeForegroundColour(); - if (m_labelWidget) - DoChangeForegroundColour(m_labelWidget, m_foregroundColour); -} diff --git a/src/motif/toolbar.cpp b/src/motif/toolbar.cpp index f62b739ad0..5f920cc7a1 100644 --- a/src/motif/toolbar.cpp +++ b/src/motif/toolbar.cpp @@ -164,9 +164,8 @@ wxToolBarTool::~wxToolBarTool() { if ( m_widget ) XtDestroyWidget(m_widget); - if ( m_pixmap ) - XmDestroyPixmap(DefaultScreenOfDisplay((Display*)wxGetDisplay()), - m_pixmap); + // note: do not delete m_pixmap here because it will be deleted + // by the base class when the bitmap is destroyed. } // ---------------------------------------------------------------------------- diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index bf93a2a23f..179a3a43d6 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -17,14 +17,1241 @@ // headers // ---------------------------------------------------------------------------- -#include "wx/setup.h" - #ifdef __VMS #define XtDisplay XTDISPLAY -#include "[-.x11]utils.cpp" +#endif +#include "wx/setup.h" +#include "wx/utils.h" +#include "wx/app.h" +#include "wx/msgdlg.h" +#include "wx/cursor.h" +#include "wx/window.h" // for wxTopLevelWindows + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +// #include +#include + +#if (defined(__SUNCC__) || defined(__CLCC__)) + #include +#endif + +#ifdef __VMS__ +#pragma message disable nosimpint +#endif + +#include "wx/unix/execute.h" + +#ifdef __WXMOTIF__ +#include +#include "wx/motif/private.h" +#endif + +#ifdef __WXX11__ +#include "wx/x11/private.h" +#endif + +#if wxUSE_RESOURCES +#include "X11/Xresource.h" +#endif + +#include "X11/Xutil.h" + +#ifdef __VMS__ +#pragma message enable nosimpint +#endif + +// ---------------------------------------------------------------------------- +// private functions +// ---------------------------------------------------------------------------- + +// Yuck this is really BOTH site and platform dependent +// so we should use some other strategy! +#ifdef sun + #define DEFAULT_XRESOURCE_DIR "/usr/openwin/lib/app-defaults" #else + #define DEFAULT_XRESOURCE_DIR "/usr/lib/X11/app-defaults" +#endif + +static char *GetIniFile (char *dest, const char *filename); + +// ============================================================================ +// implementation +// ============================================================================ + +// ---------------------------------------------------------------------------- +// async event processing +// ---------------------------------------------------------------------------- + +// Consume all events until no more left +void wxFlushEvents() +{ + Display *display = (Display*) wxGetDisplay(); + + XSync (display, FALSE); + +#ifdef __WXMOTIF__ + // XtAppPending returns availability of events AND timers/inputs, which + // are processed via callbacks, so XtAppNextEvent will not return if + // there are no events. So added '& XtIMXEvent' - Sergey. + while (XtAppPending ((XtAppContext) wxTheApp->GetAppContext()) & XtIMXEvent) + { + XFlush (XtDisplay ((Widget) wxTheApp->GetTopLevelWidget())); + // Jan Lessner: works better when events are non-X events + XtAppProcessEvent((XtAppContext) wxTheApp->GetAppContext(), XtIMXEvent); + } +#endif +#ifdef __WXX11__ + // TODO for X11 + // ?? +#endif +} + +// Check whether this window wants to process messages, e.g. Stop button +// in long calculations. +bool wxCheckForInterrupt(wxWindow *wnd) +{ +#ifdef __WXMOTIF__ + wxCHECK_MSG( wnd, FALSE, "NULL window in wxCheckForInterrupt" ); + + Display *dpy=(Display*) wnd->GetXDisplay(); + Window win=(Window) wnd->GetXWindow(); + XEvent event; + XFlush(dpy); + if (wnd->GetMainWidget()) + { + XmUpdateDisplay((Widget)(wnd->GetMainWidget())); + } + + bool hadEvents = FALSE; + while( XCheckMaskEvent(dpy, + ButtonPressMask|ButtonReleaseMask|ButtonMotionMask| + PointerMotionMask|KeyPressMask|KeyReleaseMask, + &event) ) + { + if ( event.xany.window == win ) + { + hadEvents = TRUE; + + XtDispatchEvent(&event); + } + } + + return hadEvents; +#else + wxASSERT_MSG(FALSE, "wxCheckForInterrupt not yet implemented."); + return FALSE; +#endif +} + +// ---------------------------------------------------------------------------- +// wxExecute stuff +// ---------------------------------------------------------------------------- +#ifdef __WXMOTIF__ +static void xt_notify_end_process(XtPointer data, int *WXUNUSED(fid), + XtInputId *id) +{ + wxEndProcessData *proc_data = (wxEndProcessData *)data; + + wxHandleProcessTermination(proc_data); + + // VZ: I think they should be the same... + wxASSERT( (int)*id == proc_data->tag ); + + XtRemoveInput(*id); +} +#endif + +int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) +{ +#ifdef __WXMOTIF__ + XtInputId id = XtAppAddInput((XtAppContext) wxTheApp->GetAppContext(), + fd, + (XtPointer *) XtInputReadMask, + (XtInputCallbackProc) xt_notify_end_process, + (XtPointer) proc_data); -#include "../src/x11/utils.cpp" + return (int)id; #endif -//#error no longer needed - wxX11 utils.cpp used instead +#ifdef __WXX11__ + // TODO + return 0; +#endif +} + +// ---------------------------------------------------------------------------- +// misc +// ---------------------------------------------------------------------------- + +// Emit a beeeeeep +void wxBell() +{ + // Use current setting for the bell + XBell ((Display*) wxGetDisplay(), 0); +} + +int wxGetOsVersion(int *majorVsn, int *minorVsn) +{ +#ifdef __WXMOTIF__ + // FIXME TODO + // This code is WRONG!! Does NOT return the + // Motif version of the libs but the X protocol + // version! + Display *display = XtDisplay ((Widget) wxTheApp->GetTopLevelWidget()); + if (majorVsn) + *majorVsn = ProtocolVersion (display); + if (minorVsn) + *minorVsn = ProtocolRevision (display); + + return wxMOTIF_X; +#endif +#ifdef __WXX11__ + if (majorVsn) + *majorVsn = 0; + if (minorVsn) + *minorVsn = 0; + return wxX11; +#endif +} + +// ---------------------------------------------------------------------------- +// Reading and writing resources (eg WIN.INI, .Xdefaults) +// ---------------------------------------------------------------------------- + +// Read $HOME for what it says is home, if not +// read $USER or $LOGNAME for user name else determine +// the Real User, then determine the Real home dir. +static char * GetIniFile (char *dest, const char *filename) +{ + char *home = NULL; + if (filename && wxIsAbsolutePath(filename)) + { + strcpy(dest, filename); + } + else if ((home = wxGetUserHome("")) != NULL) + { + strcpy(dest, home); + if (dest[strlen(dest) - 1] != '/') + strcat (dest, "/"); + if (filename == NULL) + { + if ((filename = getenv ("XENVIRONMENT")) == NULL) + filename = ".Xdefaults"; + } + else if (*filename != '.') + strcat (dest, "."); + strcat (dest, filename); + } else + { + dest[0] = '\0'; + } + return dest; +} + +#if wxUSE_RESOURCES + +static char *GetResourcePath(char *buf, const char *name, bool create = FALSE) +{ + if (create && wxFileExists (name) ) { + strcpy(buf, name); + return buf; // Exists so ... + } + + if (*name == '/') + strcpy(buf, name); + else { + // Put in standard place for resource files if not absolute + strcpy (buf, DEFAULT_XRESOURCE_DIR); + strcat (buf, "/"); + strcat (buf, (const char*) wxFileNameFromPath (name)); + } + + if (create) { + // Touch the file to create it + FILE *fd = fopen (buf, "w"); + if (fd) fclose (fd); + } + return buf; +} + +/* +* We have a cache for writing different resource files, +* which will only get flushed when we call wxFlushResources(). +* Build up a list of resource databases waiting to be written. +* +*/ + +wxList wxResourceCache (wxKEY_STRING); + +void +wxFlushResources (void) +{ + char nameBuffer[512]; + + wxNode *node = wxResourceCache.First (); + while (node) + { + const char *file = node->GetKeyString(); + // If file doesn't exist, create it first. + (void)GetResourcePath(nameBuffer, file, TRUE); + + XrmDatabase database = (XrmDatabase) node->Data (); + XrmPutFileDatabase (database, nameBuffer); + XrmDestroyDatabase (database); + wxNode *next = node->Next (); + delete node; + node = next; + } +} + +static XrmDatabase wxResourceDatabase = 0; + +void wxXMergeDatabases (wxApp * theApp, Display * display); + +bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file) +{ + char buffer[500]; + + (void) GetIniFile (buffer, file); + + XrmDatabase database; + wxNode *node = wxResourceCache.Find (buffer); + if (node) + database = (XrmDatabase) node->Data (); + else + { + database = XrmGetFileDatabase (buffer); + wxResourceCache.Append (buffer, (wxObject *) database); + } + + char resName[300]; + strcpy (resName, (const char*) section); + strcat (resName, "."); + strcat (resName, (const char*) entry); + + XrmPutStringResource (&database, resName, value); + return TRUE; +} + +bool wxWriteResource(const wxString& section, const wxString& entry, float value, const wxString& file) +{ + char buf[50]; + sprintf(buf, "%.4f", value); + return wxWriteResource(section, entry, buf, file); +} + +bool wxWriteResource(const wxString& section, const wxString& entry, long value, const wxString& file) +{ + char buf[50]; + sprintf(buf, "%ld", value); + return wxWriteResource(section, entry, buf, file); +} + +bool wxWriteResource(const wxString& section, const wxString& entry, int value, const wxString& file) +{ + char buf[50]; + sprintf(buf, "%d", value); + return wxWriteResource(section, entry, buf, file); +} + +bool wxGetResource(const wxString& section, const wxString& entry, char **value, const wxString& file) +{ + if (!wxResourceDatabase) + { + Display *display = (Display*) wxGetDisplay(); + wxXMergeDatabases (wxTheApp, display); + } + + XrmDatabase database; + + if (file != "") + { + char buffer[500]; + + // Is this right? Trying to get it to look in the user's + // home directory instead of current directory -- JACS + (void) GetIniFile (buffer, file); + + wxNode *node = wxResourceCache.Find (buffer); + if (node) + database = (XrmDatabase) node->Data (); + else + { + database = XrmGetFileDatabase (buffer); + wxResourceCache.Append (buffer, (wxObject *) database); + } + } + else + database = wxResourceDatabase; + + XrmValue xvalue; + char *str_type[20]; + char buf[150]; + strcpy (buf, section); + strcat (buf, "."); + strcat (buf, entry); + + Bool success = XrmGetResource (database, buf, "*", str_type, + &xvalue); + // Try different combinations of upper/lower case, just in case... + if (!success) + { + buf[0] = (isupper (buf[0]) ? tolower (buf[0]) : toupper (buf[0])); + success = XrmGetResource (database, buf, "*", str_type, + &xvalue); + } + if (success) + { + if (*value) + delete[] *value; + + *value = new char[xvalue.size + 1]; + strncpy (*value, xvalue.addr, (int) xvalue.size); + return TRUE; + } + return FALSE; +} + +bool wxGetResource(const wxString& section, const wxString& entry, float *value, const wxString& file) +{ + char *s = NULL; + bool succ = wxGetResource(section, entry, (char **)&s, file); + if (succ) + { + *value = (float)strtod(s, NULL); + delete[] s; + return TRUE; + } + else return FALSE; +} + +bool wxGetResource(const wxString& section, const wxString& entry, long *value, const wxString& file) +{ + char *s = NULL; + bool succ = wxGetResource(section, entry, (char **)&s, file); + if (succ) + { + *value = strtol(s, NULL, 10); + delete[] s; + return TRUE; + } + else return FALSE; +} + +bool wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file) +{ + char *s = NULL; + bool succ = wxGetResource(section, entry, (char **)&s, file); + if (succ) + { + // Handle True, False here + // True, Yes, Enables, Set or Activated + if (*s == 'T' || *s == 'Y' || *s == 'E' || *s == 'S' || *s == 'A') + *value = TRUE; + // False, No, Disabled, Reset, Cleared, Deactivated + else if (*s == 'F' || *s == 'N' || *s == 'D' || *s == 'R' || *s == 'C') + *value = FALSE; + // Handle as Integer + else + *value = (int) strtol (s, NULL, 10); + delete[] s; + return TRUE; + } + else + return FALSE; +} + +void wxXMergeDatabases (wxApp * theApp, Display * display) +{ + XrmDatabase homeDB, serverDB, applicationDB; + char filenamebuf[1024]; + + char *filename = &filenamebuf[0]; + char *environment; + wxString classname = theApp->GetClassName(); + char name[256]; + (void) strcpy (name, "/usr/lib/X11/app-defaults/"); + (void) strcat (name, (const char*) classname); + + /* Get application defaults file, if any */ + applicationDB = XrmGetFileDatabase (name); + (void) XrmMergeDatabases (applicationDB, &wxResourceDatabase); + + /* Merge server defaults, created by xrdb, loaded as a property of the root + * window when the server initializes and loaded into the display + * structure on XOpenDisplay; + * if not defined, use .Xdefaults + */ + + if (XResourceManagerString (display) != NULL) + { + serverDB = XrmGetStringDatabase (XResourceManagerString (display)); + } + else + { + (void) GetIniFile (filename, NULL); + serverDB = XrmGetFileDatabase (filename); + } + XrmMergeDatabases (serverDB, &wxResourceDatabase); + + /* Open XENVIRONMENT file, or if not defined, the .Xdefaults, + * and merge into existing database + */ + + if ((environment = getenv ("XENVIRONMENT")) == NULL) + { + size_t len; + environment = GetIniFile (filename, NULL); + len = strlen (environment); + wxString hostname = wxGetHostName(); + if ( !!hostname ) + strncat(environment, hostname, 1024 - len); + } + homeDB = XrmGetFileDatabase (environment); + XrmMergeDatabases (homeDB, &wxResourceDatabase); +} + +#if 0 + +/* +* Not yet used but may be useful. +* +*/ +void +wxSetDefaultResources (const Widget w, const char **resourceSpec, const char *name) +{ + int i; + Display *dpy = XtDisplay (w); // Retrieve the display pointer + + XrmDatabase rdb = NULL; // A resource data base + + // Create an empty resource database + rdb = XrmGetStringDatabase (""); + + // Add the Component resources, prepending the name of the component + + i = 0; + while (resourceSpec[i] != NULL) + { + char buf[1000]; + + sprintf (buf, "*%s%s", name, resourceSpec[i++]); + XrmPutLineResource (&rdb, buf); + } + + // Merge them into the Xt database, with lowest precendence + + if (rdb) + { +#if (XlibSpecificationRelease>=5) + XrmDatabase db = XtDatabase (dpy); + XrmCombineDatabase (rdb, &db, FALSE); +#else + XrmMergeDatabases (dpy->db, &rdb); + dpy->db = rdb; +#endif + } +} +#endif +// 0 + +#endif // wxUSE_RESOURCES + +// ---------------------------------------------------------------------------- +// display info +// ---------------------------------------------------------------------------- + +void wxGetMousePosition( int* x, int* y ) +{ +#if wxUSE_NANOX + // TODO + *x = 0; + *y = 0; +#else + XMotionEvent xev; + Window root, child; + XQueryPointer((Display*) wxGetDisplay(), + DefaultRootWindow((Display*) wxGetDisplay()), + &root, &child, + &(xev.x_root), &(xev.y_root), + &(xev.x), &(xev.y), + &(xev.state)); + *x = xev.x_root; + *y = xev.y_root; +#endif +}; + +// Return TRUE if we have a colour display +bool wxColourDisplay() +{ + return wxDisplayDepth() > 1; +} + +// Returns depth of screen +int wxDisplayDepth() +{ + Display *dpy = (Display*) wxGetDisplay(); + + return DefaultDepth (dpy, DefaultScreen (dpy)); +} + +// Get size of display +void wxDisplaySize(int *width, int *height) +{ + Display *dpy = (Display*) wxGetDisplay(); + + if ( width ) + *width = DisplayWidth (dpy, DefaultScreen (dpy)); + if ( height ) + *height = DisplayHeight (dpy, DefaultScreen (dpy)); +} + +void wxDisplaySizeMM(int *width, int *height) +{ + Display *dpy = (Display*) wxGetDisplay(); + + if ( width ) + *width = DisplayWidthMM(dpy, DefaultScreen (dpy)); + if ( height ) + *height = DisplayHeightMM(dpy, DefaultScreen (dpy)); +} + +void wxClientDisplayRect(int *x, int *y, int *width, int *height) +{ + // This is supposed to return desktop dimensions minus any window + // manager panels, menus, taskbars, etc. If there is a way to do that + // for this platform please fix this function, otherwise it defaults + // to the entire desktop. + if (x) *x = 0; + if (y) *y = 0; + wxDisplaySize(width, height); +} + + +// Configurable display in wxX11 and wxMotif +static WXDisplay *gs_currentDisplay = NULL; +static wxString gs_displayName; + +WXDisplay *wxGetDisplay() +{ + if (gs_currentDisplay) + return gs_currentDisplay; +#ifdef __WXMOTIF__ + if (wxTheApp && wxTheApp->GetTopLevelWidget()) + return XtDisplay ((Widget) wxTheApp->GetTopLevelWidget()); + else if (wxTheApp) + return wxTheApp->GetInitialDisplay(); + return NULL; +#endif +#ifdef __WXX11__ + return wxApp::GetDisplay(); +#endif +} + +bool wxSetDisplay(const wxString& display_name) +{ + gs_displayName = display_name; + + if ( display_name.IsEmpty() ) + { + gs_currentDisplay = NULL; + + return TRUE; + } + else + { +#ifdef __WXMOTIF__ + Cardinal argc = 0; + + Display *display = XtOpenDisplay((XtAppContext) wxTheApp->GetAppContext(), + (const char*) display_name, + (const char*) wxTheApp->GetAppName(), + (const char*) wxTheApp->GetClassName(), + NULL, +#if XtSpecificationRelease < 5 + 0, &argc, +#else + 0, (int *)&argc, +#endif + NULL); + + if (display) + { + gs_currentDisplay = (WXDisplay*) display; + return TRUE; + } + else + return FALSE; +#endif +#ifdef __WXX11__ + Display* display = XOpenDisplay((char*) display_name.c_str()); + + if (display) + { + gs_currentDisplay = (WXDisplay*) display; + return TRUE; + } + else + return FALSE; +#endif + } +} + +wxString wxGetDisplayName() +{ + return gs_displayName; +} + +wxWindow* wxFindWindowAtPoint(const wxPoint& pt) +{ + return wxGenericFindWindowAtPoint(pt); +} + +// ---------------------------------------------------------------------------- +// keycode translations +// ---------------------------------------------------------------------------- + +#include + +// FIXME what about tables?? + +int wxCharCodeXToWX(KeySym keySym) +{ + int id; + switch (keySym) + { + case XK_Shift_L: + case XK_Shift_R: + id = WXK_SHIFT; break; + case XK_Control_L: + case XK_Control_R: + id = WXK_CONTROL; break; + case XK_BackSpace: + id = WXK_BACK; break; + case XK_Delete: + id = WXK_DELETE; break; + case XK_Clear: + id = WXK_CLEAR; break; + case XK_Tab: + id = WXK_TAB; break; + case XK_numbersign: + id = '#'; break; + case XK_Return: + id = WXK_RETURN; break; + case XK_Escape: + id = WXK_ESCAPE; break; + case XK_Pause: + case XK_Break: + id = WXK_PAUSE; break; + case XK_Num_Lock: + id = WXK_NUMLOCK; break; + case XK_Scroll_Lock: + id = WXK_SCROLL; break; + + case XK_Home: + id = WXK_HOME; break; + case XK_End: + id = WXK_END; break; + case XK_Left: + id = WXK_LEFT; break; + case XK_Right: + id = WXK_RIGHT; break; + case XK_Up: + id = WXK_UP; break; + case XK_Down: + id = WXK_DOWN; break; + case XK_Next: + id = WXK_NEXT; break; + case XK_Prior: + id = WXK_PRIOR; break; + case XK_Menu: + id = WXK_MENU; break; + case XK_Select: + id = WXK_SELECT; break; + case XK_Cancel: + id = WXK_CANCEL; break; + case XK_Print: + id = WXK_PRINT; break; + case XK_Execute: + id = WXK_EXECUTE; break; + case XK_Insert: + id = WXK_INSERT; break; + case XK_Help: + id = WXK_HELP; break; + + case XK_KP_Multiply: + id = WXK_MULTIPLY; break; + case XK_KP_Add: + id = WXK_ADD; break; + case XK_KP_Subtract: + id = WXK_SUBTRACT; break; + case XK_KP_Divide: + id = WXK_DIVIDE; break; + case XK_KP_Decimal: + id = WXK_DECIMAL; break; + case XK_KP_Equal: + id = '='; break; + case XK_KP_Space: + id = ' '; break; + case XK_KP_Tab: + id = WXK_TAB; break; + case XK_KP_Enter: + id = WXK_RETURN; break; + case XK_KP_0: + id = WXK_NUMPAD0; break; + case XK_KP_1: + id = WXK_NUMPAD1; break; + case XK_KP_2: + id = WXK_NUMPAD2; break; + case XK_KP_3: + id = WXK_NUMPAD3; break; + case XK_KP_4: + id = WXK_NUMPAD4; break; + case XK_KP_5: + id = WXK_NUMPAD5; break; + case XK_KP_6: + id = WXK_NUMPAD6; break; + case XK_KP_7: + id = WXK_NUMPAD7; break; + case XK_KP_8: + id = WXK_NUMPAD8; break; + case XK_KP_9: + id = WXK_NUMPAD9; break; + case XK_F1: + id = WXK_F1; break; + case XK_F2: + id = WXK_F2; break; + case XK_F3: + id = WXK_F3; break; + case XK_F4: + id = WXK_F4; break; + case XK_F5: + id = WXK_F5; break; + case XK_F6: + id = WXK_F6; break; + case XK_F7: + id = WXK_F7; break; + case XK_F8: + id = WXK_F8; break; + case XK_F9: + id = WXK_F9; break; + case XK_F10: + id = WXK_F10; break; + case XK_F11: + id = WXK_F11; break; + case XK_F12: + id = WXK_F12; break; + case XK_F13: + id = WXK_F13; break; + case XK_F14: + id = WXK_F14; break; + case XK_F15: + id = WXK_F15; break; + case XK_F16: + id = WXK_F16; break; + case XK_F17: + id = WXK_F17; break; + case XK_F18: + id = WXK_F18; break; + case XK_F19: + id = WXK_F19; break; + case XK_F20: + id = WXK_F20; break; + case XK_F21: + id = WXK_F21; break; + case XK_F22: + id = WXK_F22; break; + case XK_F23: + id = WXK_F23; break; + case XK_F24: + id = WXK_F24; break; + default: + id = (keySym <= 255) ? (int)keySym : -1; + } + + return id; +} + +KeySym wxCharCodeWXToX(int id) +{ + KeySym keySym; + + switch (id) + { + case WXK_CANCEL: keySym = XK_Cancel; break; + case WXK_BACK: keySym = XK_BackSpace; break; + case WXK_TAB: keySym = XK_Tab; break; + case WXK_CLEAR: keySym = XK_Clear; break; + case WXK_RETURN: keySym = XK_Return; break; + case WXK_SHIFT: keySym = XK_Shift_L; break; + case WXK_CONTROL: keySym = XK_Control_L; break; + case WXK_MENU : keySym = XK_Menu; break; + case WXK_PAUSE: keySym = XK_Pause; break; + case WXK_ESCAPE: keySym = XK_Escape; break; + case WXK_SPACE: keySym = ' '; break; + case WXK_PRIOR: keySym = XK_Prior; break; + case WXK_NEXT : keySym = XK_Next; break; + case WXK_END: keySym = XK_End; break; + case WXK_HOME : keySym = XK_Home; break; + case WXK_LEFT : keySym = XK_Left; break; + case WXK_UP: keySym = XK_Up; break; + case WXK_RIGHT: keySym = XK_Right; break; + case WXK_DOWN : keySym = XK_Down; break; + case WXK_SELECT: keySym = XK_Select; break; + case WXK_PRINT: keySym = XK_Print; break; + case WXK_EXECUTE: keySym = XK_Execute; break; + case WXK_INSERT: keySym = XK_Insert; break; + case WXK_DELETE: keySym = XK_Delete; break; + case WXK_HELP : keySym = XK_Help; break; + case WXK_NUMPAD0: keySym = XK_KP_0; break; + case WXK_NUMPAD1: keySym = XK_KP_1; break; + case WXK_NUMPAD2: keySym = XK_KP_2; break; + case WXK_NUMPAD3: keySym = XK_KP_3; break; + case WXK_NUMPAD4: keySym = XK_KP_4; break; + case WXK_NUMPAD5: keySym = XK_KP_5; break; + case WXK_NUMPAD6: keySym = XK_KP_6; break; + case WXK_NUMPAD7: keySym = XK_KP_7; break; + case WXK_NUMPAD8: keySym = XK_KP_8; break; + case WXK_NUMPAD9: keySym = XK_KP_9; break; + case WXK_MULTIPLY: keySym = XK_KP_Multiply; break; + case WXK_ADD: keySym = XK_KP_Add; break; + case WXK_SUBTRACT: keySym = XK_KP_Subtract; break; + case WXK_DECIMAL: keySym = XK_KP_Decimal; break; + case WXK_DIVIDE: keySym = XK_KP_Divide; break; + case WXK_F1: keySym = XK_F1; break; + case WXK_F2: keySym = XK_F2; break; + case WXK_F3: keySym = XK_F3; break; + case WXK_F4: keySym = XK_F4; break; + case WXK_F5: keySym = XK_F5; break; + case WXK_F6: keySym = XK_F6; break; + case WXK_F7: keySym = XK_F7; break; + case WXK_F8: keySym = XK_F8; break; + case WXK_F9: keySym = XK_F9; break; + case WXK_F10: keySym = XK_F10; break; + case WXK_F11: keySym = XK_F11; break; + case WXK_F12: keySym = XK_F12; break; + case WXK_F13: keySym = XK_F13; break; + case WXK_F14: keySym = XK_F14; break; + case WXK_F15: keySym = XK_F15; break; + case WXK_F16: keySym = XK_F16; break; + case WXK_F17: keySym = XK_F17; break; + case WXK_F18: keySym = XK_F18; break; + case WXK_F19: keySym = XK_F19; break; + case WXK_F20: keySym = XK_F20; break; + case WXK_F21: keySym = XK_F21; break; + case WXK_F22: keySym = XK_F22; break; + case WXK_F23: keySym = XK_F23; break; + case WXK_F24: keySym = XK_F24; break; + case WXK_NUMLOCK: keySym = XK_Num_Lock; break; + case WXK_SCROLL: keySym = XK_Scroll_Lock; break; + default: keySym = id <= 255 ? (KeySym)id : 0; + } + + return keySym; +} + +// ---------------------------------------------------------------------------- +// Some colour manipulation routines +// ---------------------------------------------------------------------------- + +void wxHSVToXColor(wxHSV *hsv,XColor *rgb) +{ + int h = hsv->h; + int s = hsv->s; + int v = hsv->v; + int r = 0, g = 0, b = 0; + int i, f; + int p, q, t; + s = (s * wxMAX_RGB) / wxMAX_SV; + v = (v * wxMAX_RGB) / wxMAX_SV; + if (h == 360) h = 0; + if (s == 0) { h = 0; r = g = b = v; } + i = h / 60; + f = h % 60; + p = v * (wxMAX_RGB - s) / wxMAX_RGB; + q = v * (wxMAX_RGB - s * f / 60) / wxMAX_RGB; + t = v * (wxMAX_RGB - s * (60 - f) / 60) / wxMAX_RGB; + switch (i) + { + case 0: r = v, g = t, b = p; break; + case 1: r = q, g = v, b = p; break; + case 2: r = p, g = v, b = t; break; + case 3: r = p, g = q, b = v; break; + case 4: r = t, g = p, b = v; break; + case 5: r = v, g = p, b = q; break; + } + rgb->red = r << 8; + rgb->green = g << 8; + rgb->blue = b << 8; +} + +void wxXColorToHSV(wxHSV *hsv,XColor *rgb) +{ + int r = rgb->red >> 8; + int g = rgb->green >> 8; + int b = rgb->blue >> 8; + int maxv = wxMax3(r, g, b); + int minv = wxMin3(r, g, b); + int h = 0, s, v; + v = maxv; + if (maxv) s = (maxv - minv) * wxMAX_RGB / maxv; + else s = 0; + if (s == 0) h = 0; + else + { + int rc, gc, bc, hex = 0; + rc = (maxv - r) * wxMAX_RGB / (maxv - minv); + gc = (maxv - g) * wxMAX_RGB / (maxv - minv); + bc = (maxv - b) * wxMAX_RGB / (maxv - minv); + if (r == maxv) { h = bc - gc, hex = 0; } + else if (g == maxv) { h = rc - bc, hex = 2; } + else if (b == maxv) { h = gc - rc, hex = 4; } + h = hex * 60 + (h * 60 / wxMAX_RGB); + if (h < 0) h += 360; + } + hsv->h = h; + hsv->s = (s * wxMAX_SV) / wxMAX_RGB; + hsv->v = (v * wxMAX_SV) / wxMAX_RGB; +} + +void wxAllocNearestColor(Display *d,Colormap cmp,XColor *xc) +{ +#if !wxUSE_NANOX + int llp; + + int screen = DefaultScreen(d); + int num_colors = DisplayCells(d,screen); + + XColor *color_defs = new XColor[num_colors]; + for(llp = 0;llp < num_colors;llp++) color_defs[llp].pixel = llp; + XQueryColors(d,cmp,color_defs,num_colors); + + wxHSV hsv_defs, hsv; + wxXColorToHSV(&hsv,xc); + + int diff, min_diff = 0, pixel = 0; + + for(llp = 0;llp < num_colors;llp++) + { + wxXColorToHSV(&hsv_defs,&color_defs[llp]); + diff = wxSIGN(wxH_WEIGHT * (hsv.h - hsv_defs.h)) + + wxSIGN(wxS_WEIGHT * (hsv.s - hsv_defs.s)) + + wxSIGN(wxV_WEIGHT * (hsv.v - hsv_defs.v)); + if (llp == 0) min_diff = diff; + if (min_diff > diff) { min_diff = diff; pixel = llp; } + if (min_diff == 0) break; + } + + xc -> red = color_defs[pixel].red; + xc -> green = color_defs[pixel].green; + xc -> blue = color_defs[pixel].blue; + xc -> flags = DoRed | DoGreen | DoBlue; + +/* FIXME, TODO + if (!XAllocColor(d,cmp,xc)) + cout << "wxAllocNearestColor : Warning : Cannot find nearest color !\n"; +*/ + + delete[] color_defs; +#endif +} + +void wxAllocColor(Display *d,Colormap cmp,XColor *xc) +{ + if (!XAllocColor(d,cmp,xc)) + { + // cout << "wxAllocColor : Warning : Can not allocate color, attempt find nearest !\n"; + wxAllocNearestColor(d,cmp,xc); + } +} + +#ifdef __WXDEBUG__ +wxString wxGetXEventName(XEvent& event) +{ +#if wxUSE_NANOX + wxString str(wxT("(some event)")); + return str; +#else + int type = event.xany.type; + static char* event_name[] = { + "", "unknown(-)", // 0-1 + "KeyPress", "KeyRelease", "ButtonPress", "ButtonRelease", // 2-5 + "MotionNotify", "EnterNotify", "LeaveNotify", "FocusIn", // 6-9 + "FocusOut", "KeymapNotify", "Expose", "GraphicsExpose", // 10-13 + "NoExpose", "VisibilityNotify", "CreateNotify", // 14-16 + "DestroyNotify", "UnmapNotify", "MapNotify", "MapRequest",// 17-20 + "ReparentNotify", "ConfigureNotify", "ConfigureRequest", // 21-23 + "GravityNotify", "ResizeRequest", "CirculateNotify", // 24-26 + "CirculateRequest", "PropertyNotify", "SelectionClear", // 27-29 + "SelectionRequest", "SelectionNotify", "ColormapNotify", // 30-32 + "ClientMessage", "MappingNotify", // 33-34 + "unknown(+)"}; // 35 + type = wxMin(35, type); type = wxMax(1, type); + wxString str(event_name[type]); + return str; +#endif +} +#endif + +#ifdef __WXMOTIF__ +// ---------------------------------------------------------------------------- +// accelerators +// ---------------------------------------------------------------------------- + +// Find the letter corresponding to the mnemonic, for Motif +char wxFindMnemonic (const char *s) +{ + char mnem = 0; + int len = strlen (s); + int i; + for (i = 0; i < len; i++) + { + if (s[i] == '&') + { + // Carefully handle && + if ((i + 1) <= len && s[i + 1] == '&') + i++; + else + { + mnem = s[i + 1]; + break; + } + } + } + return mnem; +} + +char * wxFindAccelerator (const char *s) +{ + // VZ: this function returns incorrect keysym which completely breaks kbd + // handling + return NULL; + +#if 0 + // The accelerator text is after the \t char. + while (*s && *s != '\t') + s++; + if (*s == '\0') + return (NULL); + s++; + /* + Now we need to format it as X standard: + + input output + + F7 --> F7 + Ctrl+N --> CtrlN + Alt+k --> Metak + Ctrl+Shift+A --> Ctrl ShiftA + + */ + + static char buf[256]; + buf[0] = '\0'; + char *tmp = copystring (s); + s = tmp; + char *p = tmp; + + while (1) + { + while (*p && *p != '+') + p++; + if (*p) + { + *p = '\0'; + if (buf[0]) + strcat (buf, " "); + if (strcmp (s, "Alt")) + strcat (buf, s); + else + strcat (buf, "Meta"); + s = p++; + } + else + { + strcat (buf, ""); + strcat (buf, s); + break; + } + } + delete[]tmp; + return buf; +#endif +} + +XmString wxFindAcceleratorText (const char *s) +{ + // VZ: this function returns incorrect keysym which completely breaks kbd + // handling + return NULL; + +#if 0 + // The accelerator text is after the \t char. + while (*s && *s != '\t') + s++; + if (*s == '\0') + return (NULL); + s++; + XmString text = XmStringCreateSimple ((char *)s); + return text; +#endif +} + + +// These functions duplicate those in wxWindow, but are needed +// for use outside of wxWindow (e.g. wxMenu, wxMenuBar). + +// Change a widget's foreground and background colours. + +void wxDoChangeForegroundColour(WXWidget widget, wxColour& foregroundColour) +{ + // When should we specify the foreground, if it's calculated + // by wxComputeColours? + // Solution: say we start with the default (computed) foreground colour. + // If we call SetForegroundColour explicitly for a control or window, + // then the foreground is changed. + // Therefore SetBackgroundColour computes the foreground colour, and + // SetForegroundColour changes the foreground colour. The ordering is + // important. + + XtVaSetValues ((Widget) widget, + XmNforeground, foregroundColour.AllocColour(XtDisplay((Widget) widget)), + NULL); +} + +void wxDoChangeBackgroundColour(WXWidget widget, wxColour& backgroundColour, bool changeArmColour) +{ + wxComputeColours (XtDisplay((Widget) widget), & backgroundColour, + (wxColour*) NULL); + + XtVaSetValues ((Widget) widget, + XmNbackground, g_itemColors[wxBACK_INDEX].pixel, + XmNtopShadowColor, g_itemColors[wxTOPS_INDEX].pixel, + XmNbottomShadowColor, g_itemColors[wxBOTS_INDEX].pixel, + XmNforeground, g_itemColors[wxFORE_INDEX].pixel, + NULL); + + if (changeArmColour) + XtVaSetValues ((Widget) widget, + XmNarmColor, g_itemColors[wxSELE_INDEX].pixel, + NULL); +} + +#endif + // __WXMOTIF__ + +bool wxWindowIsVisible(Window win) +{ + XWindowAttributes wa; + XGetWindowAttributes(wxGlobalDisplay(), win, &wa); + return (wa.map_state == IsViewable); +} diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 0314491eb7..15a5f5240f 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -404,7 +404,7 @@ bool wxWindow::Create(wxWindow *parent, wxWindowID id, wxWindow::~wxWindow() { if (g_captureWindow == this) - g_captureWindow = NULL; + g_captureWindow = NULL; m_isBeingDeleted = TRUE; @@ -437,7 +437,7 @@ wxWindow::~wxWindow() if (w) { XtDestroyWidget(w); - m_drawingArea = (WXWidget) 0; + m_drawingArea = (WXWidget) 0; } // Only if we're _really_ a canvas (not a dialog box/panel) @@ -449,18 +449,18 @@ wxWindow::~wxWindow() if (m_hScrollBar) { wxDeleteWindowFromTable((Widget) m_hScrollBar); - XtUnmanageChild((Widget) m_hScrollBar); + XtUnmanageChild((Widget) m_hScrollBar); } if (m_vScrollBar) { wxDeleteWindowFromTable((Widget) m_vScrollBar); - XtUnmanageChild((Widget) m_vScrollBar); + XtUnmanageChild((Widget) m_vScrollBar); } if (m_hScrollBar) - XtDestroyWidget((Widget) m_hScrollBar); + XtDestroyWidget((Widget) m_hScrollBar); if (m_vScrollBar) - XtDestroyWidget((Widget) m_vScrollBar); + XtDestroyWidget((Widget) m_vScrollBar); UnmanageAndDestroy(m_scrolledWindow); @@ -958,12 +958,12 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRect *rect) while (cnode) { wxWindow *child = (wxWindow*) cnode->Data(); - int sx = 0; - int sy = 0; - child->GetSize( &sx, &sy ); + int sx = 0; + int sy = 0; + child->GetSize( &sx, &sy ); wxPoint pos( child->GetPosition() ); - child->SetSize( pos.x + dx, pos.y + dy, sx, sy, wxSIZE_ALLOW_MINUS_ONE ); - cnode = cnode->Next(); + child->SetSize( pos.x + dx, pos.y + dy, sx, sy, wxSIZE_ALLOW_MINUS_ONE ); + cnode = cnode->Next(); } int x1 = (dx >= 0) ? x : x - dx; @@ -1207,15 +1207,15 @@ bool wxWindow::DoPopupMenu(wxMenu *menu, int x, int y) XmMenuPosition (menuWidget, &event); XtManageChild (menuWidget); - XEvent x_event; - // The ID of a pop-up menu is 1 when active, and is set to 0 by the + XEvent x_event; + // The ID of a pop-up menu is 1 when active, and is set to 0 by the // idle-time destroy routine. - // Waiting until this ID changes causes this function to block until + // Waiting until this ID changes causes this function to block until // the menu has been dismissed and the widgets cleaned up. // In other words, once this routine returns, it is safe to delete // the menu object. // Ian Brown - while (menu->GetId() == 1) + while (menu->GetId() == 1) { XtAppNextEvent( (XtAppContext) wxTheApp->GetAppContext(), &x_event); @@ -1732,7 +1732,7 @@ bool wxWindow::ProcessAccelerator(wxKeyEvent& event) if (entry->MatchesEvent(event)) { // Bingo, we have a match. Now find a control that matches the - // entry command id. + // entry command id. // Need to go up to the top of the window hierarchy, since it might // be e.g. a menu item @@ -2201,33 +2201,8 @@ static void wxCanvasInputEvent(Widget drawingArea, } case KeyPress: { - KeySym keySym; - static char buf[100]; -#if 0 - XComposeStatus compose; - (void) XLookupString ((XKeyEvent *) & local_event, buf, 20, &keySym, &compose); -#endif // 0 - - (void) XLookupString ((XKeyEvent *) & local_event, buf, 20, &keySym, NULL); - int id = wxCharCodeXToWX (keySym); - - wxEventType eventType = wxEVT_CHAR; - - wxKeyEvent event (eventType); - - if (local_event.xkey.state & ShiftMask) - event.m_shiftDown = TRUE; - if (local_event.xkey.state & ControlMask) - event.m_controlDown = TRUE; - if (local_event.xkey.state & Mod3Mask) - event.m_altDown = TRUE; - if (local_event.xkey.state & Mod1Mask) - event.m_metaDown = TRUE; - event.SetEventObject(canvas); - event.m_keyCode = id; - event.SetTimestamp(local_event.xkey.time); - - if (id > -1) + wxKeyEvent event (wxEVT_CHAR); + if (wxTranslateKeyEvent (event, canvas, (Widget) 0, &local_event)) { // Implement wxFrame::OnCharHook by checking ancestor. wxWindow *parent = canvas->GetParent(); @@ -2256,26 +2231,8 @@ static void wxCanvasInputEvent(Widget drawingArea, } case KeyRelease: { - static char buf[100]; - KeySym keySym; - (void) XLookupString ((XKeyEvent *) & local_event, buf, 20, &keySym, NULL); - int id = wxCharCodeXToWX (keySym); - wxKeyEvent event (wxEVT_KEY_UP); - - if (local_event.xkey.state & ShiftMask) - event.m_shiftDown = TRUE; - if (local_event.xkey.state & ControlMask) - event.m_controlDown = TRUE; - if (local_event.xkey.state & Mod3Mask) - event.m_altDown = TRUE; - if (local_event.xkey.state & Mod1Mask) - event.m_metaDown = TRUE; - event.SetEventObject(canvas); - event.m_keyCode = id; - event.SetTimestamp(local_event.xkey.time); - - if (id > -1) + if (wxTranslateKeyEvent (event, canvas, (Widget) 0, &local_event)) { canvas->GetEventHandler()->ProcessEvent (event); } @@ -2828,6 +2785,10 @@ bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, Widget WXUNUSED(wid #endif // 0 (void) XLookupString ((XKeyEvent *) xevent, buf, 20, &keySym, NULL); int id = wxCharCodeXToWX (keySym); + // id may be WXK_xxx code - these are outside ASCII range, so we + // can't just use toupper() on id + if (id >= 'a' && id <= 'z') + id = toupper(id); if (xevent->xkey.state & ShiftMask) wxevent.m_shiftDown = TRUE; @@ -3075,8 +3036,8 @@ wxPoint wxGetMousePosition() unsigned int maskReturn; XQueryPointer (display, - rootWindow, - &rootReturn, + rootWindow, + &rootReturn, &childReturn, &rootX, &rootY, &winX, &winY, &maskReturn); return wxPoint(rootX, rootY); diff --git a/src/motif/xmcombo/xmcombo.c b/src/motif/xmcombo/xmcombo.c index b5e148b629..6519996ac5 100644 --- a/src/motif/xmcombo/xmcombo.c +++ b/src/motif/xmcombo/xmcombo.c @@ -1268,24 +1268,32 @@ static struct { String Resource; int Flag; } static int UpdateColors(XmComboBoxWidget w, int flags) { - Pixel Color; + Pixel Color, White, Black, EditCol; int i, size = XtNumber(ColorResources); Widget ScrolledWin, ScrollBar; ScrolledWin = XtParent(w->combobox.ListCtrl); XtVaGetValues(ScrolledWin, XmNverticalScrollBar, &ScrollBar, NULL); + White = WhitePixel(XtDisplay(w), WidgetToScreen((Widget) w)); + Black = BlackPixel(XtDisplay(w), WidgetToScreen((Widget) w)); for ( i=0; icombobox.ListCtrl, - ColorResources[i].Resource, Color, NULL); - XtVaSetValues(ScrolledWin, - ColorResources[i].Resource, Color, NULL); XtVaSetValues(ScrollBar, ColorResources[i].Resource, Color, NULL); - XtVaSetValues(w->combobox.EditCtrl, - ColorResources[i].Resource, Color, NULL); + XtVaSetValues(w->combobox.ListCtrl, + ColorResources[i].Resource, EditCol, NULL); + XtVaSetValues(w->combobox.EditCtrl, + ColorResources[i].Resource, EditCol, NULL); + XtVaSetValues(ScrolledWin, + ColorResources[i].Resource, Color, NULL); XtVaSetValues(w->combobox.LabelCtrl, ColorResources[i].Resource, Color, NULL); XtVaSetValues(w->combobox.ArrowCtrl, diff --git a/src/msw/app.cpp b/src/msw/app.cpp index cfaf7b34e9..dbdba5bbe8 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -712,7 +712,7 @@ int wxEntry(WXHINSTANCE hInstance, if ( enterLoop ) { // run the main loop - retValue = wxTheApp->OnRun(); + wxTheApp->OnRun(); } else { @@ -739,7 +739,7 @@ int wxEntry(WXHINSTANCE hInstance, } } - wxTheApp->OnExit(); + retValue = wxTheApp->OnExit(); wxEntryCleanup(); @@ -1066,15 +1066,21 @@ bool wxApp::ProcessMessage(WXMSG *wxmsg) return FALSE; } +// this is a temporary hack and will be replaced by using wxEventLoop in the +// future +// +// it is needed to allow other event loops (currently only one: the modal +// dialog one) to reset the OnIdle() semaphore because otherwise OnIdle() +// wouldn't do anything while a modal dialog shown from OnIdle() call is shown. +bool wxIsInOnIdleFlag = FALSE; + void wxApp::OnIdle(wxIdleEvent& event) { - static bool s_inOnIdle = FALSE; - // Avoid recursion (via ProcessEvent default case) - if ( s_inOnIdle ) + if ( wxIsInOnIdleFlag ) return; - s_inOnIdle = TRUE; + wxIsInOnIdleFlag = TRUE; // If there are pending events, we must process them: pending events // are either events to the threads other than main or events posted @@ -1109,7 +1115,7 @@ void wxApp::OnIdle(wxIdleEvent& event) event.RequestMore(TRUE); } - s_inOnIdle = FALSE; + wxIsInOnIdleFlag = FALSE; } // Send idle event to all top-level windows diff --git a/src/msw/brush.cpp b/src/msw/brush.cpp index c201a55748..e47a77f3b1 100644 --- a/src/msw/brush.cpp +++ b/src/msw/brush.cpp @@ -293,11 +293,11 @@ wxBitmap *wxBrush::GetStipple() const return M_BRUSHDATA->GetStipple(); } -WXHBRUSH wxBrush::GetResourceHandle() const +WXHANDLE wxBrush::GetResourceHandle() const { wxCHECK_MSG( Ok(), FALSE, _T("invalid brush") ); - return (WXHBRUSH)M_BRUSHDATA->GetHBRUSH(); + return (WXHANDLE)M_BRUSHDATA->GetHBRUSH(); } // ---------------------------------------------------------------------------- diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index bc4e9e8393..f1e29a2395 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: checkbox.cpp +// Name: msw/checkbox.cpp // Purpose: wxCheckBox // Author: Julian Smart // Modified by: @@ -39,17 +39,16 @@ #include "wx/msw/private.h" -// ---------------------------------------------------------------------------- -// macros -// ---------------------------------------------------------------------------- - -IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl) -IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox) +#ifndef BST_CHECKED + #define BST_CHECKED 0x0001 +#endif // ============================================================================ // implementation // ============================================================================ +IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl) + // ---------------------------------------------------------------------------- // wxCheckBox // ---------------------------------------------------------------------------- @@ -123,87 +122,15 @@ void wxCheckBox::SetValue(bool val) SendMessage(GetHwnd(), BM_SETCHECK, val, 0); } -#ifndef BST_CHECKED -#define BST_CHECKED 0x0001 -#endif - bool wxCheckBox::GetValue() const { -#ifdef __WIN32__ - return (SendMessage(GetHwnd(), BM_GETCHECK, 0, 0) == BST_CHECKED); -#else - return ((0x001 & SendMessage(GetHwnd(), BM_GETCHECK, 0, 0)) == 0x001); -#endif -} - -void wxCheckBox::Command (wxCommandEvent & event) -{ - SetValue ((event.GetInt() != 0)); - ProcessCommand (event); -} - -// ---------------------------------------------------------------------------- -// wxBitmapCheckBox -// ---------------------------------------------------------------------------- - -bool wxBitmapCheckBox::Create(wxWindow *parent, wxWindowID id, const wxBitmap *WXUNUSED(label), - const wxPoint& pos, - const wxSize& size, long style, - const wxValidator& validator, - const wxString& name) -{ - SetName(name); -#if wxUSE_VALIDATORS - SetValidator(validator); -#endif // wxUSE_VALIDATORS - if (parent) parent->AddChild(this); - - SetBackgroundColour(parent->GetBackgroundColour()) ; - SetForegroundColour(parent->GetForegroundColour()) ; - m_windowStyle = style; - - if ( id == -1 ) - m_windowId = NewControlId(); - else - m_windowId = id; - - int x = pos.x; - int y = pos.y; - int width = size.x; - int height = size.y; - - checkWidth = -1 ; - checkHeight = -1 ; - long msStyle = CHECK_FLAGS; - - HWND wx_button = CreateWindowEx(MakeExtendedStyle(m_windowStyle), CHECK_CLASS, wxT("toggle"), - msStyle, - 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId, - wxGetInstance(), NULL); - -#if wxUSE_CTL3D - if (!(GetParent()->GetWindowStyleFlag() & wxUSER_COLOURS)) - { - Ctl3dSubclassCtl(wx_button); - m_useCtl3D = TRUE; - } -#endif - - m_hWnd = (WXHWND)wx_button; - - // Subclass again for purposes of dialog editing mode - SubclassWin((WXHWND)wx_button); - - SetSize(x, y, width, height); - - ShowWindow(wx_button, SW_SHOW); - - return TRUE; + return (SendMessage(GetHwnd(), BM_GETCHECK, 0, 0) & BST_CHECKED) != 0; } -void wxBitmapCheckBox::SetLabel(const wxBitmap& WXUNUSED(bitmap)) +void wxCheckBox::Command(wxCommandEvent& event) { - wxFAIL_MSG(wxT("not implemented")); + SetValue(event.GetInt() != 0); + ProcessCommand(event); } #endif // wxUSE_CHECKBOX diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index d72f1c609e..42ffa063a1 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -73,7 +73,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) class wxCheckListBoxItem : public wxOwnerDrawn { -friend class wxCheckListBox; +friend class WXDLLEXPORT wxCheckListBox; public: // ctor wxCheckListBoxItem(wxCheckListBox *pParent, size_t nIndex); @@ -93,7 +93,7 @@ private: }; wxCheckListBoxItem::wxCheckListBoxItem(wxCheckListBox *pParent, size_t nIndex) - : wxOwnerDrawn("", TRUE) // checkable + : wxOwnerDrawn(wxEmptyString, TRUE) // checkable { m_bChecked = FALSE; m_pParent = pParent; @@ -329,7 +329,7 @@ bool wxCheckListBox::SetFont( const wxFont &font ) // -------------------- // create a check list box item -wxOwnerDrawn *wxCheckListBox::CreateItem(size_t nIndex) +wxOwnerDrawn *wxCheckListBox::CreateLboxItem(size_t nIndex) { wxCheckListBoxItem *pItem = new wxCheckListBoxItem(this, nIndex); return pItem; diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index f57a180cac..58a2f6a17d 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -193,9 +193,31 @@ int wxChoice::FindString(const wxString& s) const void wxChoice::SetString(int n, const wxString& s) { - wxCHECK_RET( (n>=0)&&(n= 0 && n < GetCount(), + wxT("invalid item index in wxChoice::SetString") ); + + // we have to delete and add back the string as there is no way to change a + // string in place + + // we need to preserve the client data + void *data; + if ( m_clientDataItemsType != wxClientData_None ) + { + data = DoGetItemClientData(n); + } + else // no client data + { + data = NULL; + } + + ::SendMessage(GetHwnd(), CB_DELETESTRING, n, 0); + ::SendMessage(GetHwnd(), CB_INSERTSTRING, n, (LPARAM)s.c_str() ); + + if ( data ) + { + DoSetItemClientData(n, data); + } + //else: it's already NULL by default } wxString wxChoice::GetString(int n) const @@ -228,7 +250,8 @@ wxString wxChoice::GetString(int n) const void wxChoice::DoSetItemClientData( int n, void* clientData ) { - if ( SendMessage(GetHwnd(), CB_SETITEMDATA, n, (LPARAM)clientData) == CB_ERR ) + if ( ::SendMessage(GetHwnd(), CB_SETITEMDATA, + n, (LPARAM)clientData) == CB_ERR ) { wxLogLastError(wxT("CB_SETITEMDATA")); } diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 283eab16ac..4acd9c73bd 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -33,6 +33,8 @@ #ifndef WX_PRECOMP #include "wx/settings.h" #include "wx/log.h" + // for wxEVT_COMMAND_TEXT_ENTER + #include "wx/textctrl.h" #endif #include "wx/combobox.h" @@ -133,7 +135,7 @@ LRESULT APIENTRY _EXPORT wxComboEditWndProc(HWND hWnd, wxCHECK_MSG( win, 0, _T("should have a parent") ); NMHDR* hdr = (NMHDR *)lParam; - if ( (int)hdr->code == TTN_NEEDTEXT ) + if ( hdr->code == TTN_NEEDTEXT ) { wxToolTip *tooltip = win->GetToolTip(); if ( tooltip ) @@ -201,6 +203,17 @@ bool wxComboBox::MSWProcessEditMsg(WXUINT msg, WXWPARAM wParam, WXLPARAM lParam) switch ( msg ) { case WM_CHAR: + // for compatibility with wxTextCtrl, generate a special message + // when Enter is pressed + if ( wParam == VK_RETURN ) + { + wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, m_windowId); + InitCommandEvent(event); + event.SetString(GetValue()); + event.SetInt(GetSelection()); + ProcessCommand(event); + } + return HandleChar(wParam, lParam, TRUE /* isASCII */); case WM_KEYDOWN: @@ -371,63 +384,28 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id, return TRUE; } -// TODO: update and clear all this horrible mess (VZ) - void wxComboBox::SetValue(const wxString& value) { - // If newlines are denoted by just 10, must stick 13 in front. - size_t singletons = 0; - size_t len = value.Length(); - size_t i; - for (i = 0; i < len; i ++) - { - if ((i > 0) && (value[i] == 10) && (value[i-1] != 13)) - singletons ++; - } - if (singletons > 0) - { - wxString tmp; - tmp.Alloc(len + singletons); - size_t j = 0; - for (i = 0; i < len; i ++) - { - if ((i > 0) && (value[i] == 10) && (value[i-1] != 13)) - { - tmp[j] = 13; - j ++; - } - tmp[j] = value[i]; - j ++; - } - if (GetWindowStyle() & wxCB_READONLY) - SetStringSelection(tmp); - else - SetWindowText(GetHwnd(), tmp.c_str()); - } - else - if (GetWindowStyle() & wxCB_READONLY) - SetStringSelection(value); + if ( HasFlag(wxCB_READONLY) ) + SetStringSelection(value); else - SetWindowText(GetHwnd(), value.c_str()); + SetWindowText(GetHwnd(), value.c_str()); } // Clipboard operations void wxComboBox::Copy() { - HWND hWnd = GetHwnd(); - SendMessage(hWnd, WM_COPY, 0, 0L); + SendMessage(GetHwnd(), WM_COPY, 0, 0L); } void wxComboBox::Cut() { - HWND hWnd = GetHwnd(); - SendMessage(hWnd, WM_CUT, 0, 0L); + SendMessage(GetHwnd(), WM_CUT, 0, 0L); } void wxComboBox::Paste() { - HWND hWnd = GetHwnd(); - SendMessage(hWnd, WM_PASTE, 0, 0L); + SendMessage(GetHwnd(), WM_PASTE, 0, 0L); } void wxComboBox::SetEditable(bool WXUNUSED(editable)) diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index ed38d9fe64..e04d74c88d 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -435,7 +435,7 @@ void wxPrinterDC::DoDrawBitmap(const wxBitmap &bmp, memset( info, 0, sizeof( BITMAPINFOHEADER ) ); #if wxUSE_DRAWBITMAP_24BITS - int iBitsSize = ((width + 3 ) & ~3 ) * height * 3; + int iBitsSize = (((width * 3) + 3 ) & ~3 ) * height; #else int iBitsSize = ((width + 3 ) & ~3 ) * height ; #endif diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 748ef0595f..214bfb1dd4 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -247,6 +247,12 @@ void wxDialog::DoShowModal() m_windowDisabler = new wxWindowDisabler(this); + // before entering the modal loop, reset the "is in OnIdle()" flag (see + // comment in app.cpp) + extern bool wxIsInOnIdleFlag; + bool wasInOnIdle = wxIsInOnIdleFlag; + wxIsInOnIdleFlag = FALSE; + // enter the modal loop while ( IsModalShowing() ) { @@ -261,6 +267,8 @@ void wxDialog::DoShowModal() wxTheApp->DoMessage(); } + wxIsInOnIdleFlag = wasInOnIdle; + // and restore focus // Note that this code MUST NOT access the dialog object's data // in case the object has been deleted (which will be the case @@ -296,6 +304,14 @@ bool wxDialog::Show(bool show) if ( show ) { + // dialogs don't get WM_SIZE message after creation unlike most (all?) + // other windows and so could start their life non laid out correctly + // if we didn't call Layout() from here + // + // NB: normally we should call it just the first time but doing it + // every time is simpler than keeping a flag + Layout(); + // usually will result in TransferDataToWindow() being called InitDialog(); } diff --git a/src/msw/dir.cpp b/src/msw/dir.cpp index 7d505e56bc..6e51506f8b 100644 --- a/src/msw/dir.cpp +++ b/src/msw/dir.cpp @@ -458,3 +458,36 @@ bool wxDir::GetNext(wxString *filename) const return M_DIR->Read(filename); } + +// ---------------------------------------------------------------------------- +// wxGetDirectoryTimes: used by wxFileName::GetTimes() +// ---------------------------------------------------------------------------- + +#ifdef __WIN32__ + +extern bool +wxGetDirectoryTimes(const wxString& dirname, + FILETIME *ftAccess, FILETIME *ftCreate, FILETIME *ftMod) +{ + // FindFirst() is going to fail + wxASSERT_MSG( !dirname.empty() && dirname.Last() != _T('\\'), + _T("incorrect directory name format in wxGetDirectoryTimes") ); + + FIND_STRUCT fs; + FIND_DATA fd = FindFirst(dirname, &fs); + if ( !IsFindDataOk(fd) ) + { + return FALSE; + } + + *ftAccess = fs.ftLastAccessTime; + *ftCreate = fs.ftCreationTime; + *ftMod = fs.ftLastWriteTime; + + FindClose(fd); + + return TRUE; +} + +#endif // __WIN32__ + diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index b80fac16b7..ae349c83fd 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -129,8 +129,12 @@ bool wxDragImage::Create(const wxBitmap& image, const wxCursor& cursor) flags = ILC_COLOR32; bool mask = (image.GetMask() != 0); - if ( mask ) - flags |= ILC_MASK; + + // Curiously, even if the image doesn't have a mask, + // we still have to use ILC_MASK or the image won't show + // up when dragged. +// if ( mask ) + flags |= ILC_MASK; m_hImageList = (WXHIMAGELIST) ImageList_Create(image.GetWidth(), image.GetHeight(), flags, 1, 1); diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 94a4e60b58..7df3db8961 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -35,6 +35,7 @@ #include "wx/msgdlg.h" #include "wx/dialog.h" #include "wx/filedlg.h" + #include "wx/filefn.h" #include "wx/intl.h" #include "wx/log.h" #include "wx/app.h" @@ -61,7 +62,7 @@ // ---------------------------------------------------------------------------- #ifdef __WIN32__ -# define wxMAXPATH 4096 +# define wxMAXPATH 65534 #else # define wxMAXPATH 1024 #endif @@ -197,9 +198,13 @@ wxString wxFileSelectorEx(const wxChar *title, return filename; } -wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, - const wxString& defaultDir, const wxString& defaultFileName, const wxString& wildCard, - long style, const wxPoint& WXUNUSED(pos)) +wxFileDialog::wxFileDialog(wxWindow *parent, + const wxString& message, + const wxString& defaultDir, + const wxString& defaultFileName, + const wxString& wildCard, + long style, + const wxPoint& WXUNUSED(pos)) { m_message = message; m_dialogStyle = style; @@ -228,6 +233,14 @@ void wxFileDialog::GetPaths(wxArrayString& paths) const } } +void wxFileDialog::SetPath(const wxString& path) +{ + wxString ext; + wxSplitPath(path, &m_dir, &m_fileName, &ext); + if ( !ext.empty() ) + m_fileName << _T('.') << ext; +} + int wxFileDialog::ShowModal() { HWND hWnd = 0; diff --git a/src/msw/files.lst b/src/msw/files.lst index a4d6e527bf..345e849ab0 100644 --- a/src/msw/files.lst +++ b/src/msw/files.lst @@ -288,7 +288,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -658,7 +657,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -702,7 +701,6 @@ ALL_HEADERS = \ protocol/protocol.h COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -996,7 +994,6 @@ GUI_LOWLEVEL_OBJS = \ gdiimage.o \ gdiobj.o \ icon.o \ - imaglist.o \ main.o \ palette.o \ pen.o \ @@ -1030,7 +1027,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 4cd6532a0c..dc601f5af8 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -742,9 +742,9 @@ bool wxFont::FreeResource(bool WXUNUSED(force)) return FALSE; } -WXHANDLE wxFont::GetResourceHandle() +WXHANDLE wxFont::GetResourceHandle() const { - return GetHFONT(); + return (WXHANDLE)GetHFONT(); } WXHFONT wxFont::GetHFONT() const diff --git a/src/msw/gdiimage.cpp b/src/msw/gdiimage.cpp index 6f904e43d7..1b5000fa5e 100644 --- a/src/msw/gdiimage.cpp +++ b/src/msw/gdiimage.cpp @@ -208,7 +208,7 @@ bool wxGDIImage::FreeResource(bool WXUNUSED(force)) return TRUE; } -WXHANDLE wxGDIImage::GetResourceHandle() +WXHANDLE wxGDIImage::GetResourceHandle() const { return GetHandle(); } @@ -424,6 +424,27 @@ bool wxICOFileHandler::LoadIcon(wxIcon *icon, nameReal = name.BeforeLast(wxT(';')); } +#if 0 + // If we don't know what size icon we're looking for, + // try to find out what's there. + // Unfortunately this doesn't work, because ExtractIconEx + // will scale the icon to the 'desired' size, even if that + // size of icon isn't explicitly stored. So we would have + // to parse the icon file outselves. + if ( desiredWidth == -1 && + desiredHeight == -1) + { + // Try loading a large icon first + if ( ::ExtractIconEx(nameReal, iconIndex, &hicon, NULL, 1) == 1) + { + } + // Then try loading a small icon + else if ( ::ExtractIconEx(nameReal, iconIndex, NULL, &hicon, 1) == 1) + { + } + } + else +#endif // were we asked for a large icon? if ( desiredWidth == ::GetSystemMetrics(SM_CXICON) && desiredHeight == ::GetSystemMetrics(SM_CYICON) ) diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index 5cbfd68cfb..44ac48b0b9 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -104,7 +104,7 @@ void wxGLContext::SetCurrent() */ } -void wxGLContext::SetColour(const char *colour) +void wxGLContext::SetColour(const wxChar *colour) { float r = 0.0; float g = 0.0; @@ -522,7 +522,7 @@ void wxGLCanvas::SetCurrent() } } -void wxGLCanvas::SetColour(const char *colour) +void wxGLCanvas::SetColour(const wxChar *colour) { if (m_glContext) m_glContext->SetColour(colour); diff --git a/src/msw/helpbest.cpp b/src/msw/helpbest.cpp index 0efbdded53..6fb956a0d7 100644 --- a/src/msw/helpbest.cpp +++ b/src/msw/helpbest.cpp @@ -76,18 +76,18 @@ wxString wxBestHelpController::GetValidFilename( const wxString& filename ) cons switch( m_helpControllerType ) { case wxUseChmHelp: - if( ::wxFileExists( tmp + ".chm" ) ) - return tmp + ".chm"; + if( ::wxFileExists( tmp + wxT(".chm") ) ) + return tmp + wxT(".chm"); return filename; case wxUseHtmlHelp: - if( ::wxFileExists( tmp + ".htb" ) ) - return tmp + ".htb"; - if( ::wxFileExists( tmp + ".zip" ) ) - return tmp + ".zip"; - if( ::wxFileExists( tmp + ".hhp" ) ) - return tmp + ".hhp"; + if( ::wxFileExists( tmp + wxT(".htb") ) ) + return tmp + wxT(".htb"); + if( ::wxFileExists( tmp + wxT(".zip") ) ) + return tmp + wxT(".zip"); + if( ::wxFileExists( tmp + wxT(".hhp") ) ) + return tmp + wxT(".hhp"); return filename; diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index 20e0bbc27e..2871a9f782 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -42,10 +42,10 @@ #ifndef UNICODE typedef HWND ( WINAPI * HTMLHELP )( HWND, LPCSTR, UINT, DWORD ); - #define HTMLHELP_NAME "HtmlHelpA" + #define HTMLHELP_NAME wxT("HtmlHelpA") #else // ANSI typedef HWND ( WINAPI * HTMLHELP )( HWND, LPCWSTR, UINT, DWORD ); - #define HTMLHELP_NAME "HtmlHelpW" + #define HTMLHELP_NAME wxT("HtmlHelpW") #endif // dll symbol handle diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 1faaa0caf6..1cfed85842 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -306,7 +306,7 @@ wxString wxJoystick::GetProductName() const { JOYCAPS joyCaps; if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR) - return wxString(""); + return wxEmptyString; else return wxString(joyCaps.szPname); } diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 2eeafd8a78..d74a1e4acb 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -93,7 +93,7 @@ class wxListBoxItem : public wxOwnerDrawn { public: - wxListBoxItem(const wxString& str = ""); + wxListBoxItem(const wxString& str = wxEmptyString); }; wxListBoxItem::wxListBoxItem(const wxString& str) : wxOwnerDrawn(str, FALSE) @@ -102,7 +102,7 @@ wxListBoxItem::wxListBoxItem(const wxString& str) : wxOwnerDrawn(str, FALSE) SetMarginWidth(0); } -wxOwnerDrawn *wxListBox::CreateItem(size_t WXUNUSED(n)) +wxOwnerDrawn *wxListBox::CreateLboxItem(size_t WXUNUSED(n)) { return new wxListBoxItem(); } @@ -272,7 +272,7 @@ void wxListBox::Delete(int N) SendMessage(GetHwnd(), LB_DELETESTRING, N, 0); m_noItems--; - SetHorizontalExtent(""); + SetHorizontalExtent(wxEmptyString); } int wxListBox::DoAppend(const wxString& item) @@ -282,7 +282,7 @@ int wxListBox::DoAppend(const wxString& item) #if wxUSE_OWNER_DRAWN if ( m_windowStyle & wxLB_OWNERDRAW ) { - wxOwnerDrawn *pNewItem = CreateItem(index); // dummy argument + wxOwnerDrawn *pNewItem = CreateLboxItem(index); // dummy argument pNewItem->SetName(item); m_aItems.Insert(pNewItem, index); ListBox_SetItemData(GetHwnd(), index, pNewItem); @@ -313,16 +313,7 @@ void wxListBox::DoSetItems(const wxArrayString& choices, void** clientData) ListBox_AddString(GetHwnd(), choices[i]); if ( clientData ) { -#if wxUSE_OWNER_DRAWN - if ( m_windowStyle & wxLB_OWNERDRAW ) - { - wxASSERT_MSG(clientData[i] == NULL, - wxT("Can't use client data with owner-drawn listboxes")); - } - ListBox_SetItemData(GetHwnd(), i, clientData[i]); -#else // !wxUSE_OWNER_DRAWN - ListBox_SetItemData(GetHwnd(), i, clientData[i]); -#endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN + SetClientData(i, clientData[i]); } } @@ -333,7 +324,7 @@ void wxListBox::DoSetItems(const wxArrayString& choices, void** clientData) // then create new ones for ( size_t ui = 0; ui < (size_t)m_noItems; ui++ ) { - wxOwnerDrawn *pNewItem = CreateItem(ui); + wxOwnerDrawn *pNewItem = CreateLboxItem(ui); pNewItem->SetName(choices[ui]); m_aItems.Add(pNewItem); ListBox_SetItemData(GetHwnd(), ui, pNewItem); @@ -502,7 +493,7 @@ int wxListBox::GetSelection() const // Find string for position wxString wxListBox::GetString(int N) const { - wxCHECK_MSG( N >= 0 && N < m_noItems, "", + wxCHECK_MSG( N >= 0 && N < m_noItems, wxEmptyString, wxT("invalid index in wxListBox::GetClientData") ); int len = ListBox_GetTextLen(GetHwnd(), N); @@ -529,7 +520,7 @@ wxListBox::DoInsertItems(const wxArrayString& items, int pos) #if wxUSE_OWNER_DRAWN if ( m_windowStyle & wxLB_OWNERDRAW ) { - wxOwnerDrawn *pNewItem = CreateItem(idx); + wxOwnerDrawn *pNewItem = CreateLboxItem(idx); pNewItem->SetName(items[i]); pNewItem->SetFont(GetFont()); m_aItems.Insert(pNewItem, idx); diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 524a9413f4..4b6191aa84 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -104,10 +104,19 @@ public: private: wxMB2WXbuf *m_buf; -#else +#else // !wxUSE_UNICODE wxLV_ITEM(LV_ITEMW &item) { m_item = new LV_ITEM((LV_ITEM&)item); + + // the code below doesn't compile without wxUSE_WCHAR_T and as I don't + // know if it's useful to have it at all (do we ever get Unicode + // notifications in ANSI mode? I don't think so...) I'm not going to + // write alternative implementation right now + // + // but if it is indeed used, we should simply directly use + // ::WideCharToMultiByte() here +#if wxUSE_WCHAR_T if ( (item.mask & LVIF_TEXT) && item.pszText ) { #ifdef __WXWINE__ @@ -119,12 +128,13 @@ private: m_item->pszText = (wxChar*)m_buf->data(); } else +#endif // wxUSE_WCHAR_T m_buf = NULL; } wxLV_ITEM(LV_ITEMA &item) : m_buf(NULL), m_item(&item) {} private: wxWC2WXbuf *m_buf; -#endif +#endif // wxUSE_UNICODE/!wxUSE_UNICODE LV_ITEM *m_item; }; @@ -915,7 +925,7 @@ wxString wxListCtrl::GetItemText(long item) const info.m_itemId = item; if (!GetItem(info)) - return wxString(""); + return wxEmptyString; return info.m_text; } @@ -1270,20 +1280,33 @@ wxTextCtrl* wxListCtrl::EditLabel(long item, wxClassInfo* textControlClass) // ListView_EditLabel requires that the list has focus. SetFocus(); + WXHWND hWnd = (WXHWND) ListView_EditLabel(GetHwnd(), item); + if ( !hWnd ) + { + // failed to start editing + return NULL; + } - if (m_textCtrl) + // [re]create the text control wrapping the HWND we got + if ( m_textCtrl ) { m_textCtrl->SetHWND(0); m_textCtrl->UnsubclassWin(); delete m_textCtrl; } - m_textCtrl = (wxTextCtrl*) textControlClass->CreateObject(); + m_textCtrl = (wxTextCtrl *)textControlClass->CreateObject(); m_textCtrl->SetHWND(hWnd); m_textCtrl->SubclassWin(hWnd); m_textCtrl->SetParent(this); + // we must disallow TABbing away from the control while the edit contol is + // shown because this leaves it in some strange state (just try removing + // this line and then pressing TAB while editing an item in listctrl + // inside a panel) + m_textCtrl->SetWindowStyle(m_textCtrl->GetWindowStyle() | wxTE_PROCESS_TAB); + return m_textCtrl; } @@ -1522,14 +1545,18 @@ long wxListCtrl::InsertColumn(long col, return InsertColumn(col, item); } -// Scrolls the list control. If in icon, small icon or report view mode, -// x specifies the number of pixels to scroll. If in list view mode, x -// specifies the number of columns to scroll. -// If in icon, small icon or list view mode, y specifies the number of pixels -// to scroll. If in report view mode, y specifies the number of lines to scroll. +// scroll the control by the given number of pixels (exception: in list view, +// dx is interpreted as number of columns) bool wxListCtrl::ScrollList(int dx, int dy) { - return (ListView_Scroll(GetHwnd(), dx, dy) != 0); + if ( !ListView_Scroll(GetHwnd(), dx, dy) ) + { + wxLogDebug(_T("ListView_Scroll(%d, %d) failed"), dx, dy); + + return FALSE; + } + + return TRUE; } // Sort items. @@ -1649,6 +1676,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // work around is to simply catch both versions and hope that it // works (why should this message exist in ANSI and Unicode is // beyond me as it doesn't deal with strings at all...) + // + // note that fr HDN_TRACK another possibility could be to use + // HDN_ITEMCHANGING but it is sent even after HDN_ENDTRACK and when + // something other than the item width changes so we'd have to + // filter out the unwanted events then case HDN_BEGINTRACKA: case HDN_BEGINTRACKW: eventType = wxEVT_COMMAND_LIST_COL_BEGIN_DRAG; @@ -1664,6 +1696,8 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) case HDN_ENDTRACKW: if ( eventType == wxEVT_NULL ) eventType = wxEVT_COMMAND_LIST_COL_END_DRAG; + + event.m_item.m_width = nmHDR->pitem->cxy; event.m_col = nmHDR->iItem; break; @@ -1708,6 +1742,22 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) } break; + case HDN_GETDISPINFOW: + { + LPNMHDDISPINFOW info = (LPNMHDDISPINFOW) lParam; + // This is a fix for a strange bug under XP. + // Normally, info->iItem is a valid index, but + // sometimes this is a silly (large) number + // and when we return FALSE via wxControl::MSWOnNotify + // to indicate that it hasn't yet been processed, + // there's a GPF in Windows. + // By returning TRUE here, we avoid further processing + // of this strange message. + if (info->iItem > GetColumnCount()) + return TRUE; + } + // fall through + default: return wxControl::MSWOnNotify(idCtrl, lParam, result); } @@ -1719,8 +1769,30 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // almost all messages use NM_LISTVIEW NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr; - // this is true for almost all events - event.m_item.m_data = nmLV->lParam; + const int iItem = nmLV->iItem; + + // set the data event field for all messages for which the system gives + // us a valid NM_LISTVIEW::lParam + switch ( nmLV->hdr.code ) + { + case LVN_BEGINDRAG: + case LVN_BEGINRDRAG: + case LVN_COLUMNCLICK: + case LVN_ITEMCHANGED: + case LVN_ITEMCHANGING: + if ( iItem != -1 ) + { + wxListItemInternalData *internaldata = + (wxListItemInternalData *) nmLV->lParam; + + if ( internaldata ) + event.m_item.m_data = internaldata->lParam; + } + + default: + // fall through + ; + } switch ( nmhdr->code ) { @@ -1734,7 +1806,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) eventType = wxEVT_COMMAND_LIST_BEGIN_DRAG; } - event.m_itemIndex = nmLV->iItem; + event.m_itemIndex = iItem; event.m_pointDrag.x = nmLV->ptAction.x; event.m_pointDrag.y = nmLV->ptAction.y; break; @@ -1796,9 +1868,9 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) case LVN_DELETEITEM: eventType = wxEVT_COMMAND_LIST_DELETE_ITEM; - event.m_itemIndex = nmLV->iItem; + event.m_itemIndex = iItem; // delete the assoicated internal data - wxDeleteInternalData(this, nmLV->iItem); + wxDeleteInternalData(this, iItem); break; case LVN_SETDISPINFO: @@ -1811,25 +1883,33 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) case LVN_INSERTITEM: eventType = wxEVT_COMMAND_LIST_INSERT_ITEM; - event.m_itemIndex = nmLV->iItem; + event.m_itemIndex = iItem; break; case LVN_ITEMCHANGED: // we translate this catch all message into more interesting // (and more easy to process) wxWindows events - // first of all, we deal with the state change events only - if ( nmLV->uChanged & LVIF_STATE ) + // first of all, we deal with the state change events only and + // only for valid items (item == -1 for the virtual list + // control) + if ( nmLV->uChanged & LVIF_STATE && iItem != -1 ) { // temp vars for readability const UINT stOld = nmLV->uOldState; const UINT stNew = nmLV->uNewState; + event.m_item.SetId(iItem); + event.m_item.SetMask(wxLIST_MASK_TEXT | + wxLIST_MASK_IMAGE | + wxLIST_MASK_DATA); + GetItem(event.m_item); + // has the focus changed? if ( !(stOld & LVIS_FOCUSED) && (stNew & LVIS_FOCUSED) ) { eventType = wxEVT_COMMAND_LIST_ITEM_FOCUSED; - event.m_itemIndex = nmLV->iItem; + event.m_itemIndex = iItem; } if ( (stNew & LVIS_SELECTED) != (stOld & LVIS_SELECTED) ) @@ -1846,7 +1926,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) { // then need to set m_itemIndex as it wasn't done // above - event.m_itemIndex = nmLV->iItem; + event.m_itemIndex = iItem; } eventType = stNew & LVIS_SELECTED @@ -1914,16 +1994,16 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // else translate it into wxEVT_COMMAND_LIST_ITEM_ACTIVATED event // if it happened on an item (and not on empty place) - if ( nmLV->iItem == -1 ) + if ( iItem == -1 ) { // not on item return FALSE; } eventType = wxEVT_COMMAND_LIST_ITEM_ACTIVATED; - event.m_itemIndex = nmLV->iItem; - event.m_item.m_text = GetItemText(nmLV->iItem); - event.m_item.m_data = GetItemData(nmLV->iItem); + event.m_itemIndex = iItem; + event.m_item.m_text = GetItemText(iItem); + event.m_item.m_data = GetItemData(iItem); break; case NM_RCLICK: @@ -2051,6 +2131,17 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // logic here is inversed compared to all the other messages *result = event.IsAllowed(); + // don't keep a stale wxTextCtrl around + if ( m_textCtrl ) + { + // EDIT control will be deleted by the list control itself so + // prevent us from deleting it as well + m_textCtrl->SetHWND(0); + m_textCtrl->UnsubclassWin(); + delete m_textCtrl; + m_textCtrl = NULL; + } + return TRUE; } diff --git a/src/msw/makebase.b32 b/src/msw/makebase.b32 index a277518f99..5bbba8fbea 100644 --- a/src/msw/makebase.b32 +++ b/src/msw/makebase.b32 @@ -37,8 +37,8 @@ wxUSE_GUI=0 !include $(WXDIR)\src\makeb32.env PERIPH_LIBS= -PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET) +PERIPH_TARGET=zlib regex $(PERIPH_TARGET) +PERIPH_CLEAN_TARGET=clean_zlib clean_regex $(PERIPH_CLEAN_TARGET) !if "$(DLL)" == "0" DUMMY=dummy @@ -58,7 +58,6 @@ MSWDIR=. DOCDIR = $(WXDIR)\docs COMMONOBJS = \ - $(MSWDIR)\y_tab.obj \ $(MSWDIR)\appcmn.obj \ $(MSWDIR)\clntdata.obj \ $(MSWDIR)\cmdline.obj \ @@ -193,19 +192,6 @@ dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\includ version.res: brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc -$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c - -# cl @<< -# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ -# << - -$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c - copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c - -$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c - copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c - - $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) $(MSWDIR)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF) @@ -472,8 +458,6 @@ clean: $(PERIPH_CLEAN_TARGET) -erase *.pch -erase *.csm -erase "wx32.#??" - -erase ..\common\y_tab.c - -erase ..\common\lex_yy.c cleanall: clean diff --git a/src/msw/makefile.b32 b/src/msw/makefile.b32 index f8164b3a3f..c8e4e9116b 100644 --- a/src/msw/makefile.b32 +++ b/src/msw/makefile.b32 @@ -24,6 +24,7 @@ WXDIR = $(WXWIN) THISDIR = $(WXDIR)\src\msw + # Set all these to 1 if you want to build a dynamic library !if "$(DLL)" == "1" WXMAKINGDLL=1 @@ -65,6 +66,8 @@ GENDIR=..\generic COMMDIR=..\common HTMLDIR=..\html OLEDIR=.\ole +UNIVDIR=..\univ +UNIVTHEMEDIR=..\univ\themes MSWDIR=. DOCDIR = $(WXDIR)\docs @@ -101,149 +104,6 @@ GENERICOBJS= $(MSWDIR)\busyinfo.obj \ $(MSWDIR)\treelay.obj \ $(MSWDIR)\wizard.obj -# Not needed: -# $(MSWDIR)\colrdlgg.obj \ -# $(MSWDIR)\fontdlgg.obj \ -# $(MSWDIR)\msgdlgg.obj \ -# $(MSWDIR)\printps.obj \ -# $(MSWDIR)\prntdlgg.obj \ -# $(MSWDIR)\listctrl.obj \ -# $(MSWDIR)\notebook.obj \ -# $(MSWDIR)\treectrl.obj - -COMMONOBJS = \ - $(MSWDIR)\y_tab.obj \ - $(MSWDIR)\appcmn.obj \ - $(MSWDIR)\artprov.obj \ - $(MSWDIR)\artstd.obj \ - $(MSWDIR)\choiccmn.obj \ - $(MSWDIR)\clipcmn.obj \ - $(MSWDIR)\clntdata.obj \ - $(MSWDIR)\cmdline.obj \ - $(MSWDIR)\cmdproc.obj \ - $(MSWDIR)\cmndata.obj \ - $(MSWDIR)\config.obj \ - $(MSWDIR)\containr.obj \ - $(MSWDIR)\cshelp.obj \ - $(MSWDIR)\ctrlcmn.obj \ - $(MSWDIR)\ctrlsub.obj \ - $(MSWDIR)\datetime.obj \ - $(MSWDIR)\datstrm.obj \ - $(MSWDIR)\db.obj \ - $(MSWDIR)\dbgrid.obj \ - $(MSWDIR)\dbtable.obj \ - $(MSWDIR)\dcbase.obj \ - $(MSWDIR)\dircmn.obj \ - $(MSWDIR)\dlgcmn.obj \ - $(MSWDIR)\dndcmn.obj \ - $(MSWDIR)\dobjcmn.obj \ - $(MSWDIR)\docmdi.obj \ - $(MSWDIR)\docview.obj \ - $(MSWDIR)\dseldlg.obj \ - $(MSWDIR)\dynarray.obj \ - $(MSWDIR)\dynlib.obj \ - $(MSWDIR)\dynload.obj \ - $(MSWDIR)\effects.obj \ - $(MSWDIR)\encconv.obj \ - $(MSWDIR)\event.obj \ - $(MSWDIR)\extended.obj \ - $(MSWDIR)\fddlgcmn.obj \ - $(MSWDIR)\ffile.obj \ - $(MSWDIR)\file.obj \ - $(MSWDIR)\fileconf.obj \ - $(MSWDIR)\filefn.obj \ - $(MSWDIR)\filename.obj \ - $(MSWDIR)\filesys.obj \ - $(MSWDIR)\fontcmn.obj \ - $(MSWDIR)\fontmap.obj \ - $(MSWDIR)\framecmn.obj \ - $(MSWDIR)\fs_inet.obj \ - $(MSWDIR)\fs_mem.obj \ - $(MSWDIR)\fs_zip.obj \ - $(MSWDIR)\ftp.obj \ - $(MSWDIR)\gaugecmn.obj \ - $(MSWDIR)\gdicmn.obj \ - $(MSWDIR)\geometry.obj \ - $(MSWDIR)\gifdecod.obj \ - $(MSWDIR)\hash.obj \ - $(MSWDIR)\hashmap.obj \ - $(MSWDIR)\helpbase.obj \ - $(MSWDIR)\http.obj \ - $(MSWDIR)\iconbndl.obj \ - $(MSWDIR)\imagall.obj \ - $(MSWDIR)\imagbmp.obj \ - $(MSWDIR)\image.obj \ - $(MSWDIR)\imagfill.obj \ - $(MSWDIR)\imaggif.obj \ - $(MSWDIR)\imagiff.obj \ - $(MSWDIR)\imagjpeg.obj \ - $(MSWDIR)\imagpcx.obj \ - $(MSWDIR)\imagpng.obj \ - $(MSWDIR)\imagpnm.obj \ - $(MSWDIR)\imagtiff.obj \ - $(MSWDIR)\imagxpm.obj \ - $(MSWDIR)\intl.obj \ - $(MSWDIR)\ipcbase.obj \ - $(MSWDIR)\layout.obj \ - $(MSWDIR)\lboxcmn.obj \ - $(MSWDIR)\list.obj \ - $(MSWDIR)\log.obj \ - $(MSWDIR)\longlong.obj \ - $(MSWDIR)\matrix.obj \ - $(MSWDIR)\memory.obj \ - $(MSWDIR)\menucmn.obj \ - $(MSWDIR)\mimecmn.obj \ - $(MSWDIR)\module.obj \ - $(MSWDIR)\msgout.obj \ - $(MSWDIR)\mstream.obj \ - $(MSWDIR)\nbkbase.obj \ - $(MSWDIR)\object.obj \ - $(MSWDIR)\odbc.obj \ - $(MSWDIR)\paper.obj \ - $(MSWDIR)\popupcmn.obj \ - $(MSWDIR)\prntbase.obj \ - $(MSWDIR)\process.obj \ - $(MSWDIR)\protocol.obj \ - $(MSWDIR)\quantize.obj \ - $(MSWDIR)\radiocmn.obj \ - $(MSWDIR)\regex.obj \ - $(MSWDIR)\resource.obj \ - $(MSWDIR)\sckaddr.obj \ - $(MSWDIR)\sckfile.obj \ - $(MSWDIR)\sckipc.obj \ - $(MSWDIR)\sckstrm.obj \ - $(MSWDIR)\settcmn.obj \ - $(MSWDIR)\sizer.obj \ - $(MSWDIR)\socket.obj \ - $(MSWDIR)\statbar.obj \ - $(MSWDIR)\strconv.obj \ - $(MSWDIR)\stream.obj \ - $(MSWDIR)\string.obj \ - $(MSWDIR)\sysopt.obj \ - $(MSWDIR)\tbarbase.obj \ - $(MSWDIR)\textbuf.obj \ - $(MSWDIR)\textcmn.obj \ - $(MSWDIR)\textfile.obj \ - $(MSWDIR)\timercmn.obj \ - $(MSWDIR)\tokenzr.obj \ - $(MSWDIR)\toplvcmn.obj \ - $(MSWDIR)\treebase.obj \ - $(MSWDIR)\txtstrm.obj \ - $(MSWDIR)\unzip.obj \ - $(MSWDIR)\url.obj \ - $(MSWDIR)\utilscmn.obj \ - $(MSWDIR)\valgen.obj \ - $(MSWDIR)\validate.obj \ - $(MSWDIR)\valtext.obj \ - $(MSWDIR)\variant.obj \ - $(MSWDIR)\wfstream.obj \ - $(MSWDIR)\wincmn.obj \ - $(MSWDIR)\wxchar.obj \ - $(MSWDIR)\wxexpr.obj \ - $(MSWDIR)\xpmdecod.obj \ - $(MSWDIR)\zipstrm.obj \ - $(MSWDIR)\zstream.obj - MSWOBJS = $(MSWDIR)\accel.obj \ $(MSWDIR)\app.obj \ $(MSWDIR)\automtn.obj \ @@ -355,6 +215,134 @@ MSWOBJS = $(MSWDIR)\accel.obj \ $(MSWDIR)\wave.obj \ $(MSWDIR)\window.obj +GENERICUNIVOBJS= $(MSWDIR)\accel.obj \ + $(MSWDIR)\busyinfo.obj \ + $(MSWDIR)\calctrl.obj \ + $(MSWDIR)\choicdgg.obj \ + $(MSWDIR)\colrdlgg.obj \ + $(MSWDIR)\dcbuffer.obj \ + $(MSWDIR)\dcpsg.obj \ + $(MSWDIR)\dirctrlg.obj \ + $(MSWDIR)\dirdlgg.obj \ + $(MSWDIR)\dragimgg.obj \ + $(MSWDIR)\fdrepdlg.obj \ + $(MSWDIR)\filedlgg.obj \ + $(MSWDIR)\fontdlgg.obj \ + $(MSWDIR)\grid.obj \ + $(MSWDIR)\gridctrl.obj \ + $(MSWDIR)\gridsel.obj \ + $(MSWDIR)\helpext.obj \ + $(MSWDIR)\helphtml.obj \ + $(MSWDIR)\imaglist.obj \ + $(MSWDIR)\laywin.obj \ + $(MSWDIR)\listctrl.obj \ + $(MSWDIR)\logg.obj \ + $(MSWDIR)\mdig.obj \ + $(MSWDIR)\msgdlgg.obj \ + $(MSWDIR)\numdlgg.obj \ + $(MSWDIR)\panelg.obj \ + $(MSWDIR)\printps.obj \ + $(MSWDIR)\prntdlgg.obj \ + $(MSWDIR)\progdlgg.obj \ + $(MSWDIR)\prop.obj \ + $(MSWDIR)\propform.obj \ + $(MSWDIR)\proplist.obj \ + $(MSWDIR)\sashwin.obj \ + $(MSWDIR)\scrlwing.obj \ + $(MSWDIR)\spinctlg.obj \ + $(MSWDIR)\splash.obj \ + $(MSWDIR)\splitter.obj \ + $(MSWDIR)\tabg.obj \ + $(MSWDIR)\tbarsmpl.obj \ + $(MSWDIR)\textdlgg.obj \ + $(MSWDIR)\tipdlg.obj \ + $(MSWDIR)\tipwin.obj \ + $(MSWDIR)\treectlg.obj \ + $(MSWDIR)\treelay.obj \ + $(MSWDIR)\wizard.obj + +MSWUNIVOBJS = $(MSWDIR)\app.obj \ + $(MSWDIR)\bitmap.obj \ + $(MSWDIR)\brush.obj \ + $(MSWDIR)\caret.obj \ + $(MSWDIR)\clipbrd.obj \ + $(MSWDIR)\colour.obj \ + $(MSWDIR)\cursor.obj \ + $(MSWDIR)\data.obj \ + $(MSWDIR)\dc.obj \ + $(MSWDIR)\dcclient.obj \ + $(MSWDIR)\dcmemory.obj \ + $(MSWDIR)\dcprint.obj \ + $(MSWDIR)\dcscreen.obj \ + $(MSWDIR)\dde.obj \ + $(MSWDIR)\dib.obj \ + $(MSWDIR)\dir.obj \ + $(MSWDIR)\evtloop.obj \ + $(MSWDIR)\font.obj \ + $(MSWDIR)\fontenum.obj \ + $(MSWDIR)\fontutil.obj \ + $(MSWDIR)\gdiimage.obj \ + $(MSWDIR)\gdiobj.obj \ + $(MSWDIR)\gsocket.obj \ + $(MSWDIR)\gsockmsw.obj \ + $(MSWDIR)\icon.obj \ + $(MSWDIR)\main.obj \ + $(MSWDIR)\mimetype.obj \ + $(MSWDIR)\palette.obj \ + $(MSWDIR)\pen.obj \ + $(MSWDIR)\popupwin.obj \ + $(MSWDIR)\regconf.obj \ + $(MSWDIR)\region.obj \ + $(MSWDIR)\registry.obj \ + $(MSWDIR)\settings.obj \ + $(MSWDIR)\snglinst.obj \ + $(MSWDIR)\thread.obj \ + $(MSWDIR)\timer.obj \ + $(MSWDIR)\toplevel.obj \ + $(MSWDIR)\utils.obj \ + $(MSWDIR)\utilsexc.obj \ + $(MSWDIR)\volume.obj \ + $(MSWDIR)\window.obj + +UNIVOBJS = $(MSWDIR)\bmpbuttn.obj \ + $(MSWDIR)\button.obj \ + $(MSWDIR)\checkbox.obj \ + $(MSWDIR)\checklst.obj \ + $(MSWDIR)\choice.obj \ + $(MSWDIR)\colschem.obj \ + $(MSWDIR)\combobox.obj \ + $(MSWDIR)\control.obj \ + $(MSWDIR)\dialog.obj \ + $(MSWDIR)\framuniv.obj \ + $(MSWDIR)\gauge.obj \ + $(MSWDIR)\inpcons.obj \ + $(MSWDIR)\inphand.obj \ + $(MSWDIR)\listbox.obj \ + $(MSWDIR)\menu.obj \ + $(MSWDIR)\notebook.obj \ + $(MSWDIR)\radiobox.obj \ + $(MSWDIR)\radiobut.obj \ + $(MSWDIR)\renderer.obj \ + $(MSWDIR)\scrarrow.obj \ + $(MSWDIR)\scrolbar.obj \ + $(MSWDIR)\scrthumb.obj \ + $(MSWDIR)\slider.obj \ + $(MSWDIR)\spinbutt.obj \ + $(MSWDIR)\statbmp.obj \ + $(MSWDIR)\statbox.obj \ + $(MSWDIR)\statline.obj \ + $(MSWDIR)\stattext.obj \ + $(MSWDIR)\statusbr.obj \ + $(MSWDIR)\textctrl.obj \ + $(MSWDIR)\theme.obj \ + $(MSWDIR)\toolbar.obj \ + $(MSWDIR)\topluniv.obj \ + $(MSWDIR)\winuniv.obj + +UNIVTHEMEOBJS = $(MSWDIR)\gtk.obj \ + $(MSWDIR)\metal.obj \ + $(MSWDIR)\win32.obj + HTMLOBJS = $(MSWDIR)\helpctrl.obj \ $(MSWDIR)\helpdata.obj \ $(MSWDIR)\helpfrm.obj \ @@ -371,13 +359,149 @@ HTMLOBJS = $(MSWDIR)\helpctrl.obj \ $(MSWDIR)\m_layout.obj \ $(MSWDIR)\m_links.obj \ $(MSWDIR)\m_list.obj \ - $(MSWDIR)\m_meta.obj \ $(MSWDIR)\m_pre.obj \ $(MSWDIR)\m_style.obj \ $(MSWDIR)\m_tables.obj \ $(MSWDIR)\winpars.obj +COMMONOBJS = \ + $(MSWDIR)\y_tab.obj \ + $(MSWDIR)\appcmn.obj \ + $(MSWDIR)\artprov.obj \ + $(MSWDIR)\artstd.obj \ + $(MSWDIR)\choiccmn.obj \ + $(MSWDIR)\clipcmn.obj \ + $(MSWDIR)\clntdata.obj \ + $(MSWDIR)\cmdline.obj \ + $(MSWDIR)\cmdproc.obj \ + $(MSWDIR)\cmndata.obj \ + $(MSWDIR)\config.obj \ + $(MSWDIR)\containr.obj \ + $(MSWDIR)\cshelp.obj \ + $(MSWDIR)\ctrlcmn.obj \ + $(MSWDIR)\ctrlsub.obj \ + $(MSWDIR)\datetime.obj \ + $(MSWDIR)\datstrm.obj \ + $(MSWDIR)\db.obj \ + $(MSWDIR)\dbgrid.obj \ + $(MSWDIR)\dbtable.obj \ + $(MSWDIR)\dcbase.obj \ + $(MSWDIR)\dircmn.obj \ + $(MSWDIR)\dlgcmn.obj \ + $(MSWDIR)\dndcmn.obj \ + $(MSWDIR)\dobjcmn.obj \ + $(MSWDIR)\docmdi.obj \ + $(MSWDIR)\docview.obj \ + $(MSWDIR)\dseldlg.obj \ + $(MSWDIR)\dynarray.obj \ + $(MSWDIR)\dynlib.obj \ + $(MSWDIR)\dynload.obj \ + $(MSWDIR)\effects.obj \ + $(MSWDIR)\encconv.obj \ + $(MSWDIR)\event.obj \ + $(MSWDIR)\extended.obj \ + $(MSWDIR)\fddlgcmn.obj \ + $(MSWDIR)\ffile.obj \ + $(MSWDIR)\file.obj \ + $(MSWDIR)\fileconf.obj \ + $(MSWDIR)\filefn.obj \ + $(MSWDIR)\filename.obj \ + $(MSWDIR)\filesys.obj \ + $(MSWDIR)\fontcmn.obj \ + $(MSWDIR)\fontmap.obj \ + $(MSWDIR)\framecmn.obj \ + $(MSWDIR)\fs_inet.obj \ + $(MSWDIR)\fs_mem.obj \ + $(MSWDIR)\fs_zip.obj \ + $(MSWDIR)\ftp.obj \ + $(MSWDIR)\gaugecmn.obj \ + $(MSWDIR)\gdicmn.obj \ + $(MSWDIR)\geometry.obj \ + $(MSWDIR)\gifdecod.obj \ + $(MSWDIR)\hash.obj \ + $(MSWDIR)\hashmap.obj \ + $(MSWDIR)\helpbase.obj \ + $(MSWDIR)\http.obj \ + $(MSWDIR)\iconbndl.obj \ + $(MSWDIR)\imagall.obj \ + $(MSWDIR)\imagbmp.obj \ + $(MSWDIR)\image.obj \ + $(MSWDIR)\imagfill.obj \ + $(MSWDIR)\imaggif.obj \ + $(MSWDIR)\imagiff.obj \ + $(MSWDIR)\imagjpeg.obj \ + $(MSWDIR)\imagpcx.obj \ + $(MSWDIR)\imagpng.obj \ + $(MSWDIR)\imagpnm.obj \ + $(MSWDIR)\imagtiff.obj \ + $(MSWDIR)\imagxpm.obj \ + $(MSWDIR)\intl.obj \ + $(MSWDIR)\ipcbase.obj \ + $(MSWDIR)\layout.obj \ + $(MSWDIR)\lboxcmn.obj \ + $(MSWDIR)\list.obj \ + $(MSWDIR)\log.obj \ + $(MSWDIR)\longlong.obj \ + $(MSWDIR)\matrix.obj \ + $(MSWDIR)\memory.obj \ + $(MSWDIR)\menucmn.obj \ + $(MSWDIR)\mimecmn.obj \ + $(MSWDIR)\module.obj \ + $(MSWDIR)\msgout.obj \ + $(MSWDIR)\mstream.obj \ + $(MSWDIR)\nbkbase.obj \ + $(MSWDIR)\object.obj \ + $(MSWDIR)\odbc.obj \ + $(MSWDIR)\paper.obj \ + $(MSWDIR)\popupcmn.obj \ + $(MSWDIR)\prntbase.obj \ + $(MSWDIR)\process.obj \ + $(MSWDIR)\protocol.obj \ + $(MSWDIR)\quantize.obj \ + $(MSWDIR)\radiocmn.obj \ + $(MSWDIR)\regex.obj \ + $(MSWDIR)\resource.obj \ + $(MSWDIR)\sckaddr.obj \ + $(MSWDIR)\sckfile.obj \ + $(MSWDIR)\sckipc.obj \ + $(MSWDIR)\sckstrm.obj \ + $(MSWDIR)\settcmn.obj \ + $(MSWDIR)\sizer.obj \ + $(MSWDIR)\socket.obj \ + $(MSWDIR)\statbar.obj \ + $(MSWDIR)\strconv.obj \ + $(MSWDIR)\stream.obj \ + $(MSWDIR)\string.obj \ + $(MSWDIR)\sysopt.obj \ + $(MSWDIR)\tbarbase.obj \ + $(MSWDIR)\textbuf.obj \ + $(MSWDIR)\textcmn.obj \ + $(MSWDIR)\textfile.obj \ + $(MSWDIR)\timercmn.obj \ + $(MSWDIR)\tokenzr.obj \ + $(MSWDIR)\toplvcmn.obj \ + $(MSWDIR)\treebase.obj \ + $(MSWDIR)\txtstrm.obj \ + $(MSWDIR)\unzip.obj \ + $(MSWDIR)\url.obj \ + $(MSWDIR)\utilscmn.obj \ + $(MSWDIR)\valgen.obj \ + $(MSWDIR)\validate.obj \ + $(MSWDIR)\valtext.obj \ + $(MSWDIR)\variant.obj \ + $(MSWDIR)\wfstream.obj \ + $(MSWDIR)\wincmn.obj \ + $(MSWDIR)\wxchar.obj \ + $(MSWDIR)\wxexpr.obj \ + $(MSWDIR)\xpmdecod.obj \ + $(MSWDIR)\zipstrm.obj \ + $(MSWDIR)\zstream.obj + +!if "$(WXUSINGUNIV)" == "1" +OBJECTS = $(COMMONOBJS) $(GENERICUNIVOBJS) $(MSWUNIVOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS) +!else OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) +!endif default: wx @@ -393,7 +517,7 @@ makesetuph: # Copy include\wx\msw\setup.h to the architecture-specific location makearchsetuph: - copy $(WXDIR)\include\wx\msw\setup.h $(ARCHSETUPH) + copy $(SETUPSRCDIR)\setup.h $(ARCHSETUPH) cd $(WXDIR)\src\msw $(ARCHINCDIR)\wx: @@ -444,6 +568,101 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c # $(OBJECTS): $(WXDIR)\include\wx\setup.h +!if "$(WXUSINGUNIV)" == "1" +######################################################## +# MSW objects (compile Native or UNIV) - UNIV + +$(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) + +$(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) + +$(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) + +$(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF) + +$(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) + +$(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) + +$(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) + +$(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) + +$(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) + +$(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) + +$(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) + +$(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) + +$(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) + +$(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) + +$(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) + +$(MSWDIR)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF) + +$(MSWDIR)\evtloop.obj: $(MSWDIR)\evtloop.$(SRCSUFF) + +$(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) + +$(MSWDIR)\fontenum.obj: $(MSWDIR)\fontenum.$(SRCSUFF) + +$(MSWDIR)\fontutil.obj: $(MSWDIR)\fontutil.$(SRCSUFF) + +$(MSWDIR)\gdiimage.obj: $(MSWDIR)\gdiimage.$(SRCSUFF) + +$(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) + +$(MSWDIR)\gsocket.obj: $(MSWDIR)\gsocket.c + +$(MSWDIR)\gsockmsw.obj: $(MSWDIR)\gsockmsw.c + +$(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) + +$(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) + +$(MSWDIR)\mimetype.obj: $(MSWDIR)\mimetype.$(SRCSUFF) + +$(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) + +$(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) + +$(MSWDIR)\popupwin.obj: $(MSWDIR)\popupwin.$(SRCSUFF) + +$(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) + +$(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) + +$(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) + +$(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) + +$(MSWDIR)\snglinst.obj: $(MSWDIR)\snglinst.$(SRCSUFF) + +$(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) + +$(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) + +$(MSWDIR)\toplevel.obj: $(MSWDIR)\toplevel.$(SRCSUFF) + +$(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) + +$(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) + +$(MSWDIR)\volume.obj: $(MSWDIR)\volume.$(SRCSUFF) + +$(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) + + + + +!else +######################################################## +# MSW objects (compile Native or UNIV) - Native + $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) @@ -665,6 +884,94 @@ $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) +!endif + +!if "$(WXUSINGUNIV)" == "1" +######################################################## +# UNIV objects +$(MSWDIR)\bmpbuttn.obj: $(UNIVDIR)\bmpbuttn.$(SRCSUFF) + +$(MSWDIR)\button.obj: $(UNIVDIR)\button.$(SRCSUFF) + +$(MSWDIR)\checkbox.obj: $(UNIVDIR)\checkbox.$(SRCSUFF) + +$(MSWDIR)\checklst.obj: $(UNIVDIR)\checklst.$(SRCSUFF) + +$(MSWDIR)\choice.obj: $(UNIVDIR)\choice.$(SRCSUFF) + +$(MSWDIR)\colschem.obj: $(UNIVDIR)\colschem.$(SRCSUFF) + +$(MSWDIR)\combobox.obj: $(UNIVDIR)\combobox.$(SRCSUFF) + +$(MSWDIR)\control.obj: $(UNIVDIR)\control.$(SRCSUFF) + +$(MSWDIR)\dialog.obj: $(UNIVDIR)\dialog.$(SRCSUFF) + +$(MSWDIR)\framuniv.obj: $(UNIVDIR)\framuniv.$(SRCSUFF) + +$(MSWDIR)\gauge.obj: $(UNIVDIR)\gauge.$(SRCSUFF) + +$(MSWDIR)\inpcons.obj: $(UNIVDIR)\inpcons.$(SRCSUFF) + +$(MSWDIR)\inphand.obj: $(UNIVDIR)\inphand.$(SRCSUFF) + +$(MSWDIR)\listbox.obj: $(UNIVDIR)\listbox.$(SRCSUFF) + +$(MSWDIR)\menu.obj: $(UNIVDIR)\menu.$(SRCSUFF) + +$(MSWDIR)\notebook.obj: $(UNIVDIR)\notebook.$(SRCSUFF) + +$(MSWDIR)\radiobox.obj: $(UNIVDIR)\radiobox.$(SRCSUFF) + +$(MSWDIR)\radiobut.obj: $(UNIVDIR)\radiobut.$(SRCSUFF) + +$(MSWDIR)\renderer.obj: $(UNIVDIR)\renderer.$(SRCSUFF) + +$(MSWDIR)\scrarrow.obj: $(UNIVDIR)\scrarrow.$(SRCSUFF) + +$(MSWDIR)\scrolbar.obj: $(UNIVDIR)\scrolbar.$(SRCSUFF) + +$(MSWDIR)\scrthumb.obj: $(UNIVDIR)\scrthumb.$(SRCSUFF) + +$(MSWDIR)\slider.obj: $(UNIVDIR)\slider.$(SRCSUFF) + +$(MSWDIR)\spinbutt.obj: $(UNIVDIR)\spinbutt.$(SRCSUFF) + +$(MSWDIR)\statbmp.obj: $(UNIVDIR)\statbmp.$(SRCSUFF) + +$(MSWDIR)\statbox.obj: $(UNIVDIR)\statbox.$(SRCSUFF) + +$(MSWDIR)\statline.obj: $(UNIVDIR)\statline.$(SRCSUFF) + +$(MSWDIR)\stattext.obj: $(UNIVDIR)\stattext.$(SRCSUFF) + +$(MSWDIR)\statusbr.obj: $(UNIVDIR)\statusbr.$(SRCSUFF) + +$(MSWDIR)\textctrl.obj: $(UNIVDIR)\textctrl.$(SRCSUFF) + +$(MSWDIR)\theme.obj: $(UNIVDIR)\theme.$(SRCSUFF) + +$(MSWDIR)\toolbar.obj: $(UNIVDIR)\toolbar.$(SRCSUFF) + +$(MSWDIR)\topluniv.obj: $(UNIVDIR)\topluniv.$(SRCSUFF) + +$(MSWDIR)\winuniv.obj: $(UNIVDIR)\winuniv.$(SRCSUFF) + + + + +######################################################## +# UNIV THEME objects + +$(MSWDIR)\gtk.obj: $(UNIVTHEMEDIR)\gtk.$(SRCSUFF) + +$(MSWDIR)\metal.obj: $(UNIVTHEMEDIR)\metal.$(SRCSUFF) + +$(MSWDIR)\win32.obj: $(UNIVTHEMEDIR)\win32.$(SRCSUFF) + + + +!endif ######################################################## # Common objects (always compiled) @@ -931,9 +1238,110 @@ $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) +!if "$(WXUSINGUNIV)" == "1" +######################################################## +# Generic objects (not always compiled, depending on +# whether platforms have native implementations) +# Native + + +$(MSWDIR)\accel.obj: $(GENDIR)\accel.$(SRCSUFF) + +$(MSWDIR)\busyinfo.obj: $(GENDIR)\busyinfo.$(SRCSUFF) + +$(MSWDIR)\calctrl.obj: $(GENDIR)\calctrl.$(SRCSUFF) + +$(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) + +$(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) + +$(MSWDIR)\dcbuffer.obj: $(GENDIR)\dcbuffer.$(SRCSUFF) + +$(MSWDIR)\dcpsg.obj: $(GENDIR)\dcpsg.$(SRCSUFF) + +$(MSWDIR)\dirctrlg.obj: $(GENDIR)\dirctrlg.$(SRCSUFF) + +$(MSWDIR)\dirdlgg.obj: $(GENDIR)\dirdlgg.$(SRCSUFF) + +$(MSWDIR)\dragimgg.obj: $(GENDIR)\dragimgg.$(SRCSUFF) + +$(MSWDIR)\fdrepdlg.obj: $(GENDIR)\fdrepdlg.$(SRCSUFF) + +$(MSWDIR)\filedlgg.obj: $(GENDIR)\filedlgg.$(SRCSUFF) + +$(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) + +$(MSWDIR)\grid.obj: $(GENDIR)\grid.$(SRCSUFF) + +$(MSWDIR)\gridctrl.obj: $(GENDIR)\gridctrl.$(SRCSUFF) + +$(MSWDIR)\gridsel.obj: $(GENDIR)\gridsel.$(SRCSUFF) + +$(MSWDIR)\helpext.obj: $(GENDIR)\helpext.$(SRCSUFF) + +$(MSWDIR)\helphtml.obj: $(GENDIR)\helphtml.$(SRCSUFF) + +$(MSWDIR)\imaglist.obj: $(GENDIR)\imaglist.$(SRCSUFF) + +$(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) + +$(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF) + +$(MSWDIR)\logg.obj: $(GENDIR)\logg.$(SRCSUFF) + +$(MSWDIR)\mdig.obj: $(GENDIR)\mdig.$(SRCSUFF) + +$(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) + +$(MSWDIR)\numdlgg.obj: $(GENDIR)\numdlgg.$(SRCSUFF) + +$(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) + +$(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) + +$(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) + +$(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF) + +$(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) + +$(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) + +$(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) + +$(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) + +$(MSWDIR)\scrlwing.obj: $(GENDIR)\scrlwing.$(SRCSUFF) + +$(MSWDIR)\spinctlg.obj: $(GENDIR)\spinctlg.$(SRCSUFF) + +$(MSWDIR)\splash.obj: $(GENDIR)\splash.$(SRCSUFF) + +$(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) + +$(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) + +$(MSWDIR)\tbarsmpl.obj: $(GENDIR)\tbarsmpl.$(SRCSUFF) + +$(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) + +$(MSWDIR)\tipdlg.obj: $(GENDIR)\tipdlg.$(SRCSUFF) + +$(MSWDIR)\tipwin.obj: $(GENDIR)\tipwin.$(SRCSUFF) + +$(MSWDIR)\treectlg.obj: $(GENDIR)\treectlg.$(SRCSUFF) + +$(MSWDIR)\treelay.obj: $(GENDIR)\treelay.$(SRCSUFF) + +$(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF) + + + +!else ######################################################## # Generic objects (not always compiled, depending on # whether platforms have native implementations) +# Native $(MSWDIR)\busyinfo.obj: $(GENDIR)\busyinfo.$(SRCSUFF) @@ -998,6 +1406,7 @@ $(MSWDIR)\treelay.obj: $(GENDIR)\treelay.$(SRCSUFF) $(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF) +!endif ######################################################## # HTML objects (always compiled) @@ -1034,8 +1443,6 @@ $(MSWDIR)\m_links.obj: $(HTMLDIR)\m_links.$(SRCSUFF) $(MSWDIR)\m_list.obj: $(HTMLDIR)\m_list.$(SRCSUFF) -$(MSWDIR)\m_meta.obj: $(HTMLDIR)\m_meta.$(SRCSUFF) - $(MSWDIR)\m_pre.obj: $(HTMLDIR)\m_pre.$(SRCSUFF) $(MSWDIR)\m_style.obj: $(HTMLDIR)\m_style.$(SRCSUFF) @@ -1064,7 +1471,7 @@ all_execs: png: $(CFG) cd $(WXDIR)\src\png - ${MAKE} -f makefile.b32 + ${MAKE} -f makefile.b32 FINAL=$(FINAL) cd $(WXDIR)\src\msw clean_png: @@ -1074,7 +1481,7 @@ clean_png: zlib: $(CFG) cd $(WXDIR)\src\zlib - ${MAKE} -f makefile.b32 lib + ${MAKE} -f makefile.b32 FINAL=$(FINAL) lib cd $(WXDIR)\src\msw clean_zlib: @@ -1084,7 +1491,7 @@ clean_zlib: jpeg: $(CFG) cd $(WXDIR)\src\jpeg - ${MAKE} -f makefile.b32 + ${MAKE} -f makefile.b32 FINAL=$(FINAL) cd $(WXDIR)\src\msw clean_jpeg: @@ -1094,7 +1501,7 @@ clean_jpeg: regex: $(CFG) cd $(WXDIR)\src\regex - ${MAKE} -f makefile.b32 lib + ${MAKE} -f makefile.b32 FINAL=$(FINAL) lib cd $(WXDIR)\src\msw clean_regex: @@ -1104,7 +1511,7 @@ clean_regex: tiff: $(CFG) cd $(WXDIR)\src\tiff - ${MAKE} -f makefile.b32 lib + ${MAKE} -f makefile.b32 FINAL=$(FINAL) lib cd $(WXDIR)\src\msw clean_tiff: @@ -1131,7 +1538,7 @@ $(CFG): makefile.b32 -L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk -D__WXWIN__ --D__WXMSW__ +-D$(PORT) -D__WINDOWS__ -DWIN32 $(OPT) diff --git a/src/msw/makefile.g95 b/src/msw/makefile.g95 index 1043e14499..381a3c760f 100644 --- a/src/msw/makefile.g95 +++ b/src/msw/makefile.g95 @@ -266,7 +266,6 @@ HTMLOBJS = \ $(HTMLDIR)/m_layout.$(OBJSUFF) \ $(HTMLDIR)/m_links.$(OBJSUFF) \ $(HTMLDIR)/m_list.$(OBJSUFF) \ - $(HTMLDIR)/m_meta.$(OBJSUFF) \ $(HTMLDIR)/m_pre.$(OBJSUFF) \ $(HTMLDIR)/m_style.$(OBJSUFF) \ $(HTMLDIR)/m_tables.$(OBJSUFF) \ @@ -546,9 +545,12 @@ $(ARCHINCDIR)/wx: mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)) mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx) +# Copy ALWAYS uses forward slashes now. + $(SETUP_H): $(ARCHINCDIR)/wx - $(COPY) $(WXDIR)/include/wx/msw/setup.h $@ + $(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@) +# $(COPY) $(WXDIR)/include/wx/msw/setup.h $@ # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@) ifndef WXMAKINGDLL diff --git a/src/msw/makefile.vc b/src/msw/makefile.vc index dfca461644..b7aa85acca 100644 --- a/src/msw/makefile.vc +++ b/src/msw/makefile.vc @@ -394,7 +394,6 @@ HTMLOBJS = $(HTMLDIR)\$D\helpctrl.obj \ $(HTMLDIR)\$D\m_layout.obj \ $(HTMLDIR)\$D\m_links.obj \ $(HTMLDIR)\$D\m_list.obj \ - $(HTMLDIR)\$D\m_meta.obj \ $(HTMLDIR)\$D\m_pre.obj \ $(HTMLDIR)\$D\m_style.obj \ $(HTMLDIR)\$D\m_tables.obj \ @@ -830,19 +829,26 @@ $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/ -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf cd $(THISDIR) +# This target does two sets of HTML: one using a style sheet, for +# the purposes of the CHM file, and one without. $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex cd $(DOCDIR)\latex\wx -mkdir $(DOCDIR)\html\wx copy *.gif $(DOCDIR)\html\wx -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html + -mkdir $(DOCDIR)\mshtml + -mkdir $(DOCDIR)\mshtml\wx + copy *.gif $(DOCDIR)\mshtml\wx + -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini -erase $(DOCDIR)\html\wx\*.con -erase $(DOCDIR)\html\wx\*.ref -erase $(DOCDIR)\latex\wx\*.con -erase $(DOCDIR)\latex\wx\*.ref cd $(THISDIR) -$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp - cd $(DOCDIR)\html\wx +$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.hhp + cd $(DOCDIR)\mshtml\wx + copy $(DOCDIR)\latex\wx\wx.css . -hhc wx.hhp -mkdir ..\..\htmlhelp -erase $(DOCDIR)\htmlhelp\wx.chm diff --git a/src/msw/makefile.wat b/src/msw/makefile.wat index d3ccc4b0e0..c752958bfe 100644 --- a/src/msw/makefile.wat +++ b/src/msw/makefile.wat @@ -359,7 +359,6 @@ HTMLOBJS = helpctrl.obj & m_layout.obj & m_links.obj & m_list.obj & - m_meta.obj & m_pre.obj & m_style.obj & m_tables.obj & @@ -1298,9 +1297,6 @@ m_links.obj: $(HTMLDIR)\m_links.cpp m_list.obj: $(HTMLDIR)\m_list.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< -m_meta.obj: $(HTMLDIR)\m_meta.cpp - *$(CCC) $(CPPFLAGS) $(IFLAGS) $< - m_pre.obj: $(HTMLDIR)\m_pre.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< diff --git a/src/msw/makeuniv.b32 b/src/msw/makeuniv.b32 deleted file mode 100644 index 5fb75864a3..0000000000 --- a/src/msw/makeuniv.b32 +++ /dev/null @@ -1,1397 +0,0 @@ - - -# This file was automatically generated by tmake -# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T! - -# -# File: makefile.b32 -# Author: Julian Smart -# Created: 1998 -# Updated: -# Copyright: -# -# "%W% %G%" -# -# Makefile : Builds wxWindows library wx.lib for MS Windows, -# and Borland C++ (32-bit). - -# BCCDIR now defined in ../makeb32.env - -!if "$(WXWIN)" == "" -!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx -!endif - -WXDIR = $(WXWIN) -THISDIR = $(WXDIR)\src\msw - -# Set all these to 1 if you want to build a dynamic library -!if "$(DLL)" == "1" -WXMAKINGDLL=1 -WXBUILDDLL=1 -!endif - -!include $(WXDIR)\src\makeb32.env - -# Please set these according to the settings in wx_setup.h, so we can include -# the appropriate libraries in wx.lib -USE_CTL3D=0 - -PERIPH_LIBS= -PERIPH_TARGET= -PERIPH_CLEAN_TARGET= - -!if "$(USE_CTL3D)" == "1" -#Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman) -PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS) -PERIPH_TARGET=ctl3d $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET) -!endif - -#PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\jpeg.lib $(WXDIR)\lib\tiff.lib $(PERIPH_LIBS) -PERIPH_LIBS= -PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET) - -!if "$(DLL)" == "0" -DUMMY=dummy -!else -DUMMY=dummydll -LIBS= cw32mti import32 ole2w32 odbc32 zlib winpng jpeg tiff regex -!endif - -LIBTARGET=$(WXLIB) - -GENDIR=..\generic -COMMDIR=..\common -HTMLDIR=..\html -OLEDIR=.\ole -UNIVDIR=..\univ -UNIVTHEMEDIR=..\univ\themes -MSWDIR=. - -DOCDIR = $(WXDIR)\docs - -GENERICOBJS= $(MSWDIR)\accel.obj \ - $(MSWDIR)\busyinfo.obj \ - $(MSWDIR)\calctrl.obj \ - $(MSWDIR)\choicdgg.obj \ - $(MSWDIR)\colrdlgg.obj \ - $(MSWDIR)\dcbuffer.obj \ - $(MSWDIR)\dcpsg.obj \ - $(MSWDIR)\dirctrlg.obj \ - $(MSWDIR)\dirdlgg.obj \ - $(MSWDIR)\dragimgg.obj \ - $(MSWDIR)\fdrepdlg.obj \ - $(MSWDIR)\filedlgg.obj \ - $(MSWDIR)\fontdlgg.obj \ - $(MSWDIR)\grid.obj \ - $(MSWDIR)\gridctrl.obj \ - $(MSWDIR)\gridsel.obj \ - $(MSWDIR)\helpext.obj \ - $(MSWDIR)\helphtml.obj \ - $(MSWDIR)\laywin.obj \ - $(MSWDIR)\listctrl.obj \ - $(MSWDIR)\logg.obj \ - $(MSWDIR)\mdig.obj \ - $(MSWDIR)\msgdlgg.obj \ - $(MSWDIR)\numdlgg.obj \ - $(MSWDIR)\panelg.obj \ - $(MSWDIR)\printps.obj \ - $(MSWDIR)\prntdlgg.obj \ - $(MSWDIR)\progdlgg.obj \ - $(MSWDIR)\prop.obj \ - $(MSWDIR)\propform.obj \ - $(MSWDIR)\proplist.obj \ - $(MSWDIR)\sashwin.obj \ - $(MSWDIR)\scrlwing.obj \ - $(MSWDIR)\spinctlg.obj \ - $(MSWDIR)\splash.obj \ - $(MSWDIR)\splitter.obj \ - $(MSWDIR)\tabg.obj \ - $(MSWDIR)\tbarsmpl.obj \ - $(MSWDIR)\textdlgg.obj \ - $(MSWDIR)\tipdlg.obj \ - $(MSWDIR)\tipwin.obj \ - $(MSWDIR)\treectlg.obj \ - $(MSWDIR)\treelay.obj \ - $(MSWDIR)\wizard.obj - -# Not needed: -# $(MSWDIR)\colrdlgg.obj \ -# $(MSWDIR)\fontdlgg.obj \ -# $(MSWDIR)\msgdlgg.obj \ -# $(MSWDIR)\printps.obj \ -# $(MSWDIR)\prntdlgg.obj \ -# $(MSWDIR)\listctrl.obj \ -# $(MSWDIR)\notebook.obj \ -# $(MSWDIR)\treectrl.obj - -COMMONOBJS = \ - $(MSWDIR)\y_tab.obj \ - $(MSWDIR)\appcmn.obj \ - $(MSWDIR)\artprov.obj \ - $(MSWDIR)\artstd.obj \ - $(MSWDIR)\choiccmn.obj \ - $(MSWDIR)\clipcmn.obj \ - $(MSWDIR)\clntdata.obj \ - $(MSWDIR)\cmdline.obj \ - $(MSWDIR)\cmdproc.obj \ - $(MSWDIR)\cmndata.obj \ - $(MSWDIR)\config.obj \ - $(MSWDIR)\containr.obj \ - $(MSWDIR)\cshelp.obj \ - $(MSWDIR)\ctrlcmn.obj \ - $(MSWDIR)\ctrlsub.obj \ - $(MSWDIR)\datetime.obj \ - $(MSWDIR)\datstrm.obj \ - $(MSWDIR)\db.obj \ - $(MSWDIR)\dbgrid.obj \ - $(MSWDIR)\dbtable.obj \ - $(MSWDIR)\dcbase.obj \ - $(MSWDIR)\dircmn.obj \ - $(MSWDIR)\dlgcmn.obj \ - $(MSWDIR)\dndcmn.obj \ - $(MSWDIR)\dobjcmn.obj \ - $(MSWDIR)\docmdi.obj \ - $(MSWDIR)\docview.obj \ - $(MSWDIR)\dseldlg.obj \ - $(MSWDIR)\dynarray.obj \ - $(MSWDIR)\dynlib.obj \ - $(MSWDIR)\dynload.obj \ - $(MSWDIR)\effects.obj \ - $(MSWDIR)\encconv.obj \ - $(MSWDIR)\event.obj \ - $(MSWDIR)\extended.obj \ - $(MSWDIR)\fddlgcmn.obj \ - $(MSWDIR)\ffile.obj \ - $(MSWDIR)\file.obj \ - $(MSWDIR)\fileconf.obj \ - $(MSWDIR)\filefn.obj \ - $(MSWDIR)\filename.obj \ - $(MSWDIR)\filesys.obj \ - $(MSWDIR)\fontcmn.obj \ - $(MSWDIR)\fontmap.obj \ - $(MSWDIR)\framecmn.obj \ - $(MSWDIR)\fs_inet.obj \ - $(MSWDIR)\fs_mem.obj \ - $(MSWDIR)\fs_zip.obj \ - $(MSWDIR)\ftp.obj \ - $(MSWDIR)\gaugecmn.obj \ - $(MSWDIR)\gdicmn.obj \ - $(MSWDIR)\geometry.obj \ - $(MSWDIR)\gifdecod.obj \ - $(MSWDIR)\hash.obj \ - $(MSWDIR)\hashmap.obj \ - $(MSWDIR)\helpbase.obj \ - $(MSWDIR)\http.obj \ - $(MSWDIR)\iconbndl.obj \ - $(MSWDIR)\imagall.obj \ - $(MSWDIR)\imagbmp.obj \ - $(MSWDIR)\image.obj \ - $(MSWDIR)\imagfill.obj \ - $(MSWDIR)\imaggif.obj \ - $(MSWDIR)\imagiff.obj \ - $(MSWDIR)\imagjpeg.obj \ - $(MSWDIR)\imagpcx.obj \ - $(MSWDIR)\imagpng.obj \ - $(MSWDIR)\imagpnm.obj \ - $(MSWDIR)\imagtiff.obj \ - $(MSWDIR)\imagxpm.obj \ - $(MSWDIR)\intl.obj \ - $(MSWDIR)\ipcbase.obj \ - $(MSWDIR)\layout.obj \ - $(MSWDIR)\lboxcmn.obj \ - $(MSWDIR)\list.obj \ - $(MSWDIR)\log.obj \ - $(MSWDIR)\longlong.obj \ - $(MSWDIR)\matrix.obj \ - $(MSWDIR)\memory.obj \ - $(MSWDIR)\menucmn.obj \ - $(MSWDIR)\mimecmn.obj \ - $(MSWDIR)\module.obj \ - $(MSWDIR)\msgout.obj \ - $(MSWDIR)\mstream.obj \ - $(MSWDIR)\nbkbase.obj \ - $(MSWDIR)\object.obj \ - $(MSWDIR)\odbc.obj \ - $(MSWDIR)\paper.obj \ - $(MSWDIR)\popupcmn.obj \ - $(MSWDIR)\prntbase.obj \ - $(MSWDIR)\process.obj \ - $(MSWDIR)\protocol.obj \ - $(MSWDIR)\quantize.obj \ - $(MSWDIR)\radiocmn.obj \ - $(MSWDIR)\regex.obj \ - $(MSWDIR)\resource.obj \ - $(MSWDIR)\sckaddr.obj \ - $(MSWDIR)\sckfile.obj \ - $(MSWDIR)\sckipc.obj \ - $(MSWDIR)\sckstrm.obj \ - $(MSWDIR)\settcmn.obj \ - $(MSWDIR)\sizer.obj \ - $(MSWDIR)\socket.obj \ - $(MSWDIR)\statbar.obj \ - $(MSWDIR)\strconv.obj \ - $(MSWDIR)\stream.obj \ - $(MSWDIR)\string.obj \ - $(MSWDIR)\sysopt.obj \ - $(MSWDIR)\tbarbase.obj \ - $(MSWDIR)\textbuf.obj \ - $(MSWDIR)\textcmn.obj \ - $(MSWDIR)\textfile.obj \ - $(MSWDIR)\timercmn.obj \ - $(MSWDIR)\tokenzr.obj \ - $(MSWDIR)\toplvcmn.obj \ - $(MSWDIR)\treebase.obj \ - $(MSWDIR)\txtstrm.obj \ - $(MSWDIR)\unzip.obj \ - $(MSWDIR)\url.obj \ - $(MSWDIR)\utilscmn.obj \ - $(MSWDIR)\valgen.obj \ - $(MSWDIR)\validate.obj \ - $(MSWDIR)\valtext.obj \ - $(MSWDIR)\variant.obj \ - $(MSWDIR)\wfstream.obj \ - $(MSWDIR)\wincmn.obj \ - $(MSWDIR)\wxchar.obj \ - $(MSWDIR)\wxexpr.obj \ - $(MSWDIR)\xpmdecod.obj \ - $(MSWDIR)\zipstrm.obj \ - $(MSWDIR)\zstream.obj - -MSWOBJS = $(MSWDIR)\app.obj \ - $(MSWDIR)\bitmap.obj \ - $(MSWDIR)\brush.obj \ - $(MSWDIR)\caret.obj \ - $(MSWDIR)\clipbrd.obj \ - $(MSWDIR)\colour.obj \ - $(MSWDIR)\cursor.obj \ - $(MSWDIR)\data.obj \ - $(MSWDIR)\dc.obj \ - $(MSWDIR)\dcclient.obj \ - $(MSWDIR)\dcmemory.obj \ - $(MSWDIR)\dcprint.obj \ - $(MSWDIR)\dcscreen.obj \ - $(MSWDIR)\dde.obj \ - $(MSWDIR)\dib.obj \ - $(MSWDIR)\dir.obj \ - $(MSWDIR)\evtloop.obj \ - $(MSWDIR)\font.obj \ - $(MSWDIR)\fontenum.obj \ - $(MSWDIR)\fontutil.obj \ - $(MSWDIR)\gdiimage.obj \ - $(MSWDIR)\gdiobj.obj \ - $(MSWDIR)\gsocket.obj \ - $(MSWDIR)\gsockmsw.obj \ - $(MSWDIR)\icon.obj \ - $(MSWDIR)\imaglist.obj \ - $(MSWDIR)\main.obj \ - $(MSWDIR)\mimetype.obj \ - $(MSWDIR)\palette.obj \ - $(MSWDIR)\pen.obj \ - $(MSWDIR)\popupwin.obj \ - $(MSWDIR)\regconf.obj \ - $(MSWDIR)\region.obj \ - $(MSWDIR)\registry.obj \ - $(MSWDIR)\settings.obj \ - $(MSWDIR)\snglinst.obj \ - $(MSWDIR)\thread.obj \ - $(MSWDIR)\timer.obj \ - $(MSWDIR)\toplevel.obj \ - $(MSWDIR)\utils.obj \ - $(MSWDIR)\utilsexc.obj \ - $(MSWDIR)\volume.obj \ - $(MSWDIR)\window.obj - -HTMLOBJS = $(MSWDIR)\helpctrl.obj \ - $(MSWDIR)\helpdata.obj \ - $(MSWDIR)\helpfrm.obj \ - $(MSWDIR)\htmlcell.obj \ - $(MSWDIR)\htmlfilt.obj \ - $(MSWDIR)\htmlpars.obj \ - $(MSWDIR)\htmltag.obj \ - $(MSWDIR)\htmlwin.obj \ - $(MSWDIR)\htmprint.obj \ - $(MSWDIR)\m_dflist.obj \ - $(MSWDIR)\m_fonts.obj \ - $(MSWDIR)\m_hline.obj \ - $(MSWDIR)\m_image.obj \ - $(MSWDIR)\m_layout.obj \ - $(MSWDIR)\m_links.obj \ - $(MSWDIR)\m_list.obj \ - $(MSWDIR)\m_meta.obj \ - $(MSWDIR)\m_pre.obj \ - $(MSWDIR)\m_style.obj \ - $(MSWDIR)\m_tables.obj \ - $(MSWDIR)\winpars.obj - -UNIVOBJS = $(MSWDIR)\bmpbuttn.obj \ - $(MSWDIR)\button.obj \ - $(MSWDIR)\checkbox.obj \ - $(MSWDIR)\checklst.obj \ - $(MSWDIR)\choice.obj \ - $(MSWDIR)\colschem.obj \ - $(MSWDIR)\combobox.obj \ - $(MSWDIR)\control.obj \ - $(MSWDIR)\dialog.obj \ - $(MSWDIR)\framuniv.obj \ - $(MSWDIR)\gauge.obj \ - $(MSWDIR)\inpcons.obj \ - $(MSWDIR)\inphand.obj \ - $(MSWDIR)\listbox.obj \ - $(MSWDIR)\menu.obj \ - $(MSWDIR)\notebook.obj \ - $(MSWDIR)\radiobox.obj \ - $(MSWDIR)\radiobut.obj \ - $(MSWDIR)\renderer.obj \ - $(MSWDIR)\scrarrow.obj \ - $(MSWDIR)\scrolbar.obj \ - $(MSWDIR)\scrthumb.obj \ - $(MSWDIR)\slider.obj \ - $(MSWDIR)\spinbutt.obj \ - $(MSWDIR)\statbmp.obj \ - $(MSWDIR)\statbox.obj \ - $(MSWDIR)\statline.obj \ - $(MSWDIR)\stattext.obj \ - $(MSWDIR)\statusbr.obj \ - $(MSWDIR)\textctrl.obj \ - $(MSWDIR)\theme.obj \ - $(MSWDIR)\toolbar.obj \ - $(MSWDIR)\topluniv.obj \ - $(MSWDIR)\winuniv.obj - -UNIVTHEMEOBJS = $(MSWDIR)\gtk.obj \ - $(MSWDIR)\metal.obj \ - $(MSWDIR)\win32.obj - -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS) - -default: wx - -wx: $(ARCHINCDIR)\wx makesetuph makearchsetuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) - -all: wx - -# Copy the in-CVS setup0.h to setup.h if necessary -makesetuph: - cd $(WXDIR)\include\wx\msw - if not exist setup.h copy setup0.h setup.h - cd $(WXDIR)\src\msw - -# Copy include\wx\univ\setup.h to the architecture-specific location -makearchsetuph: - copy $(WXDIR)\include\wx\univ\setup.h $(ARCHSETUPH) - cd $(WXDIR)\src\msw - -$(ARCHINCDIR)\wx: - -mkdir $(ARCHINCDIR) - -mkdir $(ARCHINCDIR)\wx - -!if "$(DLL)" == "0" - -$(LIBTARGET): $(DUMMY).obj $(OBJECTS) - -erase $(LIBTARGET) - tlib "$(LIBTARGET)" /P1024 @&&! -+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) -! - -!else - -$(LIBTARGET): $(DUMMY).obj $(OBJECTS) - -erase $(LIBTARGET) - -erase $(WXLIBDIR)\wx.dll - $(LINK) $(LINK_FLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk /v @&&! -c0d32.obj $(OBJECTS) -$(WXLIBDIR)\wx -nul -$(PERIPH_LIBS) $(LIBS) -wxb32 -! - -erase $(WXLIBDIR)\version.res - brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc - implib -c $(LIBTARGET) $(WXLIBDIR)\wx.dll - -!endif - -dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h -dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res - -$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c - -# cl @<< -# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ -# << - -$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c - copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c - -$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c - copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c - -# $(OBJECTS): $(WXDIR)\include\wx\setup.h - -$(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) - -$(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) - -$(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) - -$(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF) - -$(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) - -$(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) - -$(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) - -$(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) - -$(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) - -$(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) - -$(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) - -$(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) - -$(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) - -$(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) - -$(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) - -$(MSWDIR)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF) - -$(MSWDIR)\evtloop.obj: $(MSWDIR)\evtloop.$(SRCSUFF) - -$(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) - -$(MSWDIR)\fontenum.obj: $(MSWDIR)\fontenum.$(SRCSUFF) - -$(MSWDIR)\fontutil.obj: $(MSWDIR)\fontutil.$(SRCSUFF) - -$(MSWDIR)\gdiimage.obj: $(MSWDIR)\gdiimage.$(SRCSUFF) - -$(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) - -$(MSWDIR)\gsocket.obj: $(MSWDIR)\gsocket.c - -$(MSWDIR)\gsockmsw.obj: $(MSWDIR)\gsockmsw.c - -$(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) - -$(MSWDIR)\imaglist.obj: $(MSWDIR)\imaglist.$(SRCSUFF) - -$(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) - -$(MSWDIR)\mimetype.obj: $(MSWDIR)\mimetype.$(SRCSUFF) - -$(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) - -$(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) - -$(MSWDIR)\popupwin.obj: $(MSWDIR)\popupwin.$(SRCSUFF) - -$(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) - -$(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) - -$(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) - -$(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) - -$(MSWDIR)\snglinst.obj: $(MSWDIR)\snglinst.$(SRCSUFF) - -$(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) - -$(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) - -$(MSWDIR)\toplevel.obj: $(MSWDIR)\toplevel.$(SRCSUFF) - -$(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) - -$(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) - -$(MSWDIR)\volume.obj: $(MSWDIR)\volume.$(SRCSUFF) - -$(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) - - - -######################################################## -# Common objects (always compiled) - -$(MSWDIR)\appcmn.obj: $(COMMDIR)\appcmn.$(SRCSUFF) - -$(MSWDIR)\artprov.obj: $(COMMDIR)\artprov.$(SRCSUFF) - -$(MSWDIR)\artstd.obj: $(COMMDIR)\artstd.$(SRCSUFF) - -$(MSWDIR)\choiccmn.obj: $(COMMDIR)\choiccmn.$(SRCSUFF) - -$(MSWDIR)\clipcmn.obj: $(COMMDIR)\clipcmn.$(SRCSUFF) - -$(MSWDIR)\clntdata.obj: $(COMMDIR)\clntdata.$(SRCSUFF) - -$(MSWDIR)\cmdline.obj: $(COMMDIR)\cmdline.$(SRCSUFF) - -$(MSWDIR)\cmdproc.obj: $(COMMDIR)\cmdproc.$(SRCSUFF) - -$(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) - -$(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) - -$(MSWDIR)\containr.obj: $(COMMDIR)\containr.$(SRCSUFF) - -$(MSWDIR)\cshelp.obj: $(COMMDIR)\cshelp.$(SRCSUFF) - -$(MSWDIR)\ctrlcmn.obj: $(COMMDIR)\ctrlcmn.$(SRCSUFF) - -$(MSWDIR)\ctrlsub.obj: $(COMMDIR)\ctrlsub.$(SRCSUFF) - -$(MSWDIR)\datetime.obj: $(COMMDIR)\datetime.$(SRCSUFF) - -$(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) - -$(MSWDIR)\db.obj: $(COMMDIR)\db.$(SRCSUFF) - -$(MSWDIR)\dbgrid.obj: $(COMMDIR)\dbgrid.$(SRCSUFF) - -$(MSWDIR)\dbtable.obj: $(COMMDIR)\dbtable.$(SRCSUFF) - -$(MSWDIR)\dcbase.obj: $(COMMDIR)\dcbase.$(SRCSUFF) - -$(MSWDIR)\dircmn.obj: $(COMMDIR)\dircmn.$(SRCSUFF) - -$(MSWDIR)\dlgcmn.obj: $(COMMDIR)\dlgcmn.$(SRCSUFF) - -$(MSWDIR)\dndcmn.obj: $(COMMDIR)\dndcmn.$(SRCSUFF) - -$(MSWDIR)\dobjcmn.obj: $(COMMDIR)\dobjcmn.$(SRCSUFF) - -$(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) - -$(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) - -$(MSWDIR)\dseldlg.obj: $(COMMDIR)\dseldlg.$(SRCSUFF) - -$(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) - -$(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) - -$(MSWDIR)\dynload.obj: $(COMMDIR)\dynload.$(SRCSUFF) - -$(MSWDIR)\effects.obj: $(COMMDIR)\effects.$(SRCSUFF) - -$(MSWDIR)\encconv.obj: $(COMMDIR)\encconv.$(SRCSUFF) - -$(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) - -$(MSWDIR)\extended.obj: $(COMMDIR)\extended.c - -$(MSWDIR)\fddlgcmn.obj: $(COMMDIR)\fddlgcmn.$(SRCSUFF) - -$(MSWDIR)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF) - -$(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) - -$(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) - -$(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) - -$(MSWDIR)\filename.obj: $(COMMDIR)\filename.$(SRCSUFF) - -$(MSWDIR)\filesys.obj: $(COMMDIR)\filesys.$(SRCSUFF) - -$(MSWDIR)\fontcmn.obj: $(COMMDIR)\fontcmn.$(SRCSUFF) - -$(MSWDIR)\fontmap.obj: $(COMMDIR)\fontmap.$(SRCSUFF) - -$(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) - -$(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF) - -$(MSWDIR)\fs_mem.obj: $(COMMDIR)\fs_mem.$(SRCSUFF) - -$(MSWDIR)\fs_zip.obj: $(COMMDIR)\fs_zip.$(SRCSUFF) - -$(MSWDIR)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF) - -$(MSWDIR)\gaugecmn.obj: $(COMMDIR)\gaugecmn.$(SRCSUFF) - -$(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) - -$(MSWDIR)\geometry.obj: $(COMMDIR)\geometry.$(SRCSUFF) - -$(MSWDIR)\gifdecod.obj: $(COMMDIR)\gifdecod.$(SRCSUFF) - -$(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) - -$(MSWDIR)\hashmap.obj: $(COMMDIR)\hashmap.$(SRCSUFF) - -$(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) - -$(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF) - -$(MSWDIR)\iconbndl.obj: $(COMMDIR)\iconbndl.$(SRCSUFF) - -$(MSWDIR)\imagall.obj: $(COMMDIR)\imagall.$(SRCSUFF) - -$(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF) - -$(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) - -$(MSWDIR)\imagfill.obj: $(COMMDIR)\imagfill.$(SRCSUFF) - -$(MSWDIR)\imaggif.obj: $(COMMDIR)\imaggif.$(SRCSUFF) - -$(MSWDIR)\imagiff.obj: $(COMMDIR)\imagiff.$(SRCSUFF) - -$(MSWDIR)\imagjpeg.obj: $(COMMDIR)\imagjpeg.$(SRCSUFF) - -$(MSWDIR)\imagpcx.obj: $(COMMDIR)\imagpcx.$(SRCSUFF) - -$(MSWDIR)\imagpng.obj: $(COMMDIR)\imagpng.$(SRCSUFF) - -$(MSWDIR)\imagpnm.obj: $(COMMDIR)\imagpnm.$(SRCSUFF) - -$(MSWDIR)\imagtiff.obj: $(COMMDIR)\imagtiff.$(SRCSUFF) - -$(MSWDIR)\imagxpm.obj: $(COMMDIR)\imagxpm.$(SRCSUFF) - -$(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) - -$(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) - -$(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) - -$(MSWDIR)\lboxcmn.obj: $(COMMDIR)\lboxcmn.$(SRCSUFF) - -$(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) - -$(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) - -$(MSWDIR)\longlong.obj: $(COMMDIR)\longlong.$(SRCSUFF) - -$(MSWDIR)\matrix.obj: $(COMMDIR)\matrix.$(SRCSUFF) - -$(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) - -$(MSWDIR)\menucmn.obj: $(COMMDIR)\menucmn.$(SRCSUFF) - -$(MSWDIR)\mimecmn.obj: $(COMMDIR)\mimecmn.$(SRCSUFF) - -$(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) - -$(MSWDIR)\msgout.obj: $(COMMDIR)\msgout.$(SRCSUFF) - -$(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) - -$(MSWDIR)\nbkbase.obj: $(COMMDIR)\nbkbase.$(SRCSUFF) - -$(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) - -$(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) - -$(MSWDIR)\paper.obj: $(COMMDIR)\paper.$(SRCSUFF) - -$(MSWDIR)\popupcmn.obj: $(COMMDIR)\popupcmn.$(SRCSUFF) - -$(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) - -$(MSWDIR)\process.obj: $(COMMDIR)\process.$(SRCSUFF) - -$(MSWDIR)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF) - -$(MSWDIR)\quantize.obj: $(COMMDIR)\quantize.$(SRCSUFF) - -$(MSWDIR)\radiocmn.obj: $(COMMDIR)\radiocmn.$(SRCSUFF) - -$(MSWDIR)\regex.obj: $(COMMDIR)\regex.$(SRCSUFF) - -$(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) - -$(MSWDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF) - -$(MSWDIR)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF) - -$(MSWDIR)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF) - -$(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) - -$(MSWDIR)\settcmn.obj: $(COMMDIR)\settcmn.$(SRCSUFF) - -$(MSWDIR)\sizer.obj: $(COMMDIR)\sizer.$(SRCSUFF) - -$(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) - -$(MSWDIR)\statbar.obj: $(COMMDIR)\statbar.$(SRCSUFF) - -$(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF) - -$(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) - -$(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) - -$(MSWDIR)\sysopt.obj: $(COMMDIR)\sysopt.$(SRCSUFF) - -$(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) - -$(MSWDIR)\textbuf.obj: $(COMMDIR)\textbuf.$(SRCSUFF) - -$(MSWDIR)\textcmn.obj: $(COMMDIR)\textcmn.$(SRCSUFF) - -$(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) - -$(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) - -$(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) - -$(MSWDIR)\toplvcmn.obj: $(COMMDIR)\toplvcmn.$(SRCSUFF) - -$(MSWDIR)\treebase.obj: $(COMMDIR)\treebase.$(SRCSUFF) - -$(MSWDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF) - -$(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.c - -$(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF) - -$(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) - -$(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF) - -$(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) - -$(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) - -$(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) - -$(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) - -$(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) - -$(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) - -$(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) - -$(MSWDIR)\xpmdecod.obj: $(COMMDIR)\xpmdecod.$(SRCSUFF) - -$(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF) - -$(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) - - - -######################################################## -# Generic objects (not always compiled, depending on -# whether platforms have native implementations) - -$(MSWDIR)\accel.obj: $(GENDIR)\accel.$(SRCSUFF) - -$(MSWDIR)\busyinfo.obj: $(GENDIR)\busyinfo.$(SRCSUFF) - -$(MSWDIR)\calctrl.obj: $(GENDIR)\calctrl.$(SRCSUFF) - -$(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) - -$(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) - -$(MSWDIR)\dcbuffer.obj: $(GENDIR)\dcbuffer.$(SRCSUFF) - -$(MSWDIR)\dcpsg.obj: $(GENDIR)\dcpsg.$(SRCSUFF) - -$(MSWDIR)\dirctrlg.obj: $(GENDIR)\dirctrlg.$(SRCSUFF) - -$(MSWDIR)\dirdlgg.obj: $(GENDIR)\dirdlgg.$(SRCSUFF) - -$(MSWDIR)\dragimgg.obj: $(GENDIR)\dragimgg.$(SRCSUFF) - -$(MSWDIR)\fdrepdlg.obj: $(GENDIR)\fdrepdlg.$(SRCSUFF) - -$(MSWDIR)\filedlgg.obj: $(GENDIR)\filedlgg.$(SRCSUFF) - -$(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) - -$(MSWDIR)\grid.obj: $(GENDIR)\grid.$(SRCSUFF) - -$(MSWDIR)\gridctrl.obj: $(GENDIR)\gridctrl.$(SRCSUFF) - -$(MSWDIR)\gridsel.obj: $(GENDIR)\gridsel.$(SRCSUFF) - -$(MSWDIR)\helpext.obj: $(GENDIR)\helpext.$(SRCSUFF) - -$(MSWDIR)\helphtml.obj: $(GENDIR)\helphtml.$(SRCSUFF) - -$(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) - -$(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF) - -$(MSWDIR)\logg.obj: $(GENDIR)\logg.$(SRCSUFF) - -$(MSWDIR)\mdig.obj: $(GENDIR)\mdig.$(SRCSUFF) - -$(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) - -$(MSWDIR)\numdlgg.obj: $(GENDIR)\numdlgg.$(SRCSUFF) - -$(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) - -$(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) - -$(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) - -$(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF) - -$(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) - -$(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) - -$(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) - -$(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) - -$(MSWDIR)\scrlwing.obj: $(GENDIR)\scrlwing.$(SRCSUFF) - -$(MSWDIR)\spinctlg.obj: $(GENDIR)\spinctlg.$(SRCSUFF) - -$(MSWDIR)\splash.obj: $(GENDIR)\splash.$(SRCSUFF) - -$(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) - -$(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) - -$(MSWDIR)\tbarsmpl.obj: $(GENDIR)\tbarsmpl.$(SRCSUFF) - -$(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) - -$(MSWDIR)\tipdlg.obj: $(GENDIR)\tipdlg.$(SRCSUFF) - -$(MSWDIR)\tipwin.obj: $(GENDIR)\tipwin.$(SRCSUFF) - -$(MSWDIR)\treectlg.obj: $(GENDIR)\treectlg.$(SRCSUFF) - -$(MSWDIR)\treelay.obj: $(GENDIR)\treelay.$(SRCSUFF) - -$(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF) - - - -######################################################## -# HTML objects (always compiled) - -$(MSWDIR)\helpctrl.obj: $(HTMLDIR)\helpctrl.$(SRCSUFF) - -$(MSWDIR)\helpdata.obj: $(HTMLDIR)\helpdata.$(SRCSUFF) - -$(MSWDIR)\helpfrm.obj: $(HTMLDIR)\helpfrm.$(SRCSUFF) - -$(MSWDIR)\htmlcell.obj: $(HTMLDIR)\htmlcell.$(SRCSUFF) - -$(MSWDIR)\htmlfilt.obj: $(HTMLDIR)\htmlfilt.$(SRCSUFF) - -$(MSWDIR)\htmlpars.obj: $(HTMLDIR)\htmlpars.$(SRCSUFF) - -$(MSWDIR)\htmltag.obj: $(HTMLDIR)\htmltag.$(SRCSUFF) - -$(MSWDIR)\htmlwin.obj: $(HTMLDIR)\htmlwin.$(SRCSUFF) - -$(MSWDIR)\htmprint.obj: $(HTMLDIR)\htmprint.$(SRCSUFF) - -$(MSWDIR)\m_dflist.obj: $(HTMLDIR)\m_dflist.$(SRCSUFF) - -$(MSWDIR)\m_fonts.obj: $(HTMLDIR)\m_fonts.$(SRCSUFF) - -$(MSWDIR)\m_hline.obj: $(HTMLDIR)\m_hline.$(SRCSUFF) - -$(MSWDIR)\m_image.obj: $(HTMLDIR)\m_image.$(SRCSUFF) - -$(MSWDIR)\m_layout.obj: $(HTMLDIR)\m_layout.$(SRCSUFF) - -$(MSWDIR)\m_links.obj: $(HTMLDIR)\m_links.$(SRCSUFF) - -$(MSWDIR)\m_list.obj: $(HTMLDIR)\m_list.$(SRCSUFF) - -$(MSWDIR)\m_meta.obj: $(HTMLDIR)\m_meta.$(SRCSUFF) - -$(MSWDIR)\m_pre.obj: $(HTMLDIR)\m_pre.$(SRCSUFF) - -$(MSWDIR)\m_style.obj: $(HTMLDIR)\m_style.$(SRCSUFF) - -$(MSWDIR)\m_tables.obj: $(HTMLDIR)\m_tables.$(SRCSUFF) - -$(MSWDIR)\winpars.obj: $(HTMLDIR)\winpars.$(SRCSUFF) - - - - -######################################################## -# UNIV objects (always compiled) - -$(MSWDIR)\bmpbuttn.obj: $(UNIVDIR)\bmpbuttn.$(SRCSUFF) - -$(MSWDIR)\button.obj: $(UNIVDIR)\button.$(SRCSUFF) - -$(MSWDIR)\checkbox.obj: $(UNIVDIR)\checkbox.$(SRCSUFF) - -$(MSWDIR)\checklst.obj: $(UNIVDIR)\checklst.$(SRCSUFF) - -$(MSWDIR)\choice.obj: $(UNIVDIR)\choice.$(SRCSUFF) - -$(MSWDIR)\colschem.obj: $(UNIVDIR)\colschem.$(SRCSUFF) - -$(MSWDIR)\combobox.obj: $(UNIVDIR)\combobox.$(SRCSUFF) - -$(MSWDIR)\control.obj: $(UNIVDIR)\control.$(SRCSUFF) - -$(MSWDIR)\dialog.obj: $(UNIVDIR)\dialog.$(SRCSUFF) - -$(MSWDIR)\framuniv.obj: $(UNIVDIR)\framuniv.$(SRCSUFF) - -$(MSWDIR)\gauge.obj: $(UNIVDIR)\gauge.$(SRCSUFF) - -$(MSWDIR)\inpcons.obj: $(UNIVDIR)\inpcons.$(SRCSUFF) - -$(MSWDIR)\inphand.obj: $(UNIVDIR)\inphand.$(SRCSUFF) - -$(MSWDIR)\listbox.obj: $(UNIVDIR)\listbox.$(SRCSUFF) - -$(MSWDIR)\menu.obj: $(UNIVDIR)\menu.$(SRCSUFF) - -$(MSWDIR)\notebook.obj: $(UNIVDIR)\notebook.$(SRCSUFF) - -$(MSWDIR)\radiobox.obj: $(UNIVDIR)\radiobox.$(SRCSUFF) - -$(MSWDIR)\radiobut.obj: $(UNIVDIR)\radiobut.$(SRCSUFF) - -$(MSWDIR)\renderer.obj: $(UNIVDIR)\renderer.$(SRCSUFF) - -$(MSWDIR)\scrarrow.obj: $(UNIVDIR)\scrarrow.$(SRCSUFF) - -$(MSWDIR)\scrolbar.obj: $(UNIVDIR)\scrolbar.$(SRCSUFF) - -$(MSWDIR)\scrthumb.obj: $(UNIVDIR)\scrthumb.$(SRCSUFF) - -$(MSWDIR)\slider.obj: $(UNIVDIR)\slider.$(SRCSUFF) - -$(MSWDIR)\spinbutt.obj: $(UNIVDIR)\spinbutt.$(SRCSUFF) - -$(MSWDIR)\statbmp.obj: $(UNIVDIR)\statbmp.$(SRCSUFF) - -$(MSWDIR)\statbox.obj: $(UNIVDIR)\statbox.$(SRCSUFF) - -$(MSWDIR)\statline.obj: $(UNIVDIR)\statline.$(SRCSUFF) - -$(MSWDIR)\stattext.obj: $(UNIVDIR)\stattext.$(SRCSUFF) - -$(MSWDIR)\statusbr.obj: $(UNIVDIR)\statusbr.$(SRCSUFF) - -$(MSWDIR)\textctrl.obj: $(UNIVDIR)\textctrl.$(SRCSUFF) - -$(MSWDIR)\theme.obj: $(UNIVDIR)\theme.$(SRCSUFF) - -$(MSWDIR)\toolbar.obj: $(UNIVDIR)\toolbar.$(SRCSUFF) - -$(MSWDIR)\topluniv.obj: $(UNIVDIR)\topluniv.$(SRCSUFF) - -$(MSWDIR)\winuniv.obj: $(UNIVDIR)\winuniv.$(SRCSUFF) - - - - -######################################################## -# UNIV THEME objects (always compiled) - -$(MSWDIR)\gtk.obj: $(UNIVTHEMEDIR)\gtk.$(SRCSUFF) - -$(MSWDIR)\metal.obj: $(UNIVTHEMEDIR)\metal.$(SRCSUFF) - -$(MSWDIR)\win32.obj: $(UNIVTHEMEDIR)\win32.$(SRCSUFF) - - - - -all_utils: - cd $(WXDIR)\utils - make -f makefile.b32 - cd $(WXDIR)\src\msw - -all_samples: - cd $(WXDIR)\samples - make -f makefile.b32 - cd $(WXDIR)\src\msw - -all_execs: - cd $(WXDIR)\utils - make -f makefile.b32 all_execs - cd $(WXDIR)\src\msw - -png: $(CFG) - cd $(WXDIR)\src\png - make -f makefile.b32 - cd $(WXDIR)\src\msw - -clean_png: - cd $(WXDIR)\src\png - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -zlib: $(CFG) - cd $(WXDIR)\src\zlib - make -f makefile.b32 lib - cd $(WXDIR)\src\msw - -clean_zlib: - cd $(WXDIR)\src\zlib - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -jpeg: $(CFG) - cd $(WXDIR)\src\jpeg - make -f makefile.b32 - cd $(WXDIR)\src\msw - -clean_jpeg: - cd $(WXDIR)\src\jpeg - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -regex: $(CFG) - cd $(WXDIR)\src\regex - make -f makefile.b32 lib - cd $(WXDIR)\src\msw - -clean_regex: - cd $(WXDIR)\src\regex - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -tiff: $(CFG) - cd $(WXDIR)\src\tiff - make -f makefile.b32 lib - cd $(WXDIR)\src\msw - -clean_tiff: - cd $(WXDIR)\src\tiff - make -f makefile.b32 clean - cd $(WXDIR)\src\msw - -$(CFG): makeuniv.b32 - copy &&! --Hc --H=$(WXDIR)\src\msw\wx32.csm --3 --d --a1 # byte alignment --R- --X --w-par --w-aus --w-hid # virtual function A hides virtual function B --tWM - --I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff --I$(WXDIR)\include\wx\msw\gnuwin32 - --L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk --D__WXWIN__ --D__WINDOWS__ --D__WXUNIVERSAL__ --D_WIN32 --DWIN32 -$(OPT) -$(DEBUG_FLAGS) -$(WIN95FLAG) -! $(CFG) - -clean: $(PERIPH_CLEAN_TARGET) - -erase $(LIBTARGET) - -erase $(WXLIBDIR)\wx.dll - -erase $(WXLIBDIR)\wx.tds - -erase $(WXLIBDIR)\wx.il? - -erase *.obj - -erase *.pch - -erase *.csm - -erase *.cfg - -erase "wx32.#??" - -erase ..\common\y_tab.c - -erase ..\common\lex_yy.c - -cleanall: clean - - -# Making documents -docs: allhlp allhtml allpdfrtf -alldocs: docs -hlp: wxhlp portinghlp -wxhlp: $(DOCDIR)/winhelp/wx.hlp -prophlp: $(DOCDIR)/winhelp/prop.hlp -refhlp: $(DOCDIR)/winhelp/techref.hlp -rtf: $(DOCDIR)/winhelp/wx.rtf -proprtf: $(DOCDIR)/winhelp/prop.rtf -pdfrtf: $(DOCDIR)/pdf/wx.rtf -proppdfrtf: $(DOCDIR)/pdf/prop.rtf -refpdfrtf: $(DOCDIR)/pdf/techref.rtf -html: wxhtml portinghtml -wxhtml: $(DOCDIR)\html\wx\wx.htm -htmlhelp: $(DOCDIR)\html\wx\wx.chm -prophtml: $(DOCDIR)\html\proplist\prop.htm -ps: wxps referencps -wxps: $(WXDIR)\docs\ps\wx.ps -propps: $(WXDIR)\docs\ps\prop.ps -referencps: $(WXDIR)\docs\ps\referenc.ps - -portinghtml: $(DOCDIR)\html\porting\port.htm -portingrtf: $(DOCDIR)/winhelp/porting.rtf -portinghlp: $(DOCDIR)/winhelp/porting.hlp -portingpdfrtf: $(DOCDIR)/pdf/porting.rtf -portingps: $(WXDIR)\docs\ps\porting.ps - -allhlp: wxhlp portinghlp prophlp - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 hlp - cd $(THISDIR) - -# cd $(WXDIR)\utils\wxhelp\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\tex2rtf\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxgraph\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxchart\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxtree\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxbuild\src -# make -f makefile.b32 hlp -# cd $(WXDIR)\utils\wxgrid\src -# make -f makefile.b32 hlp - -allhtml: wxhtml portinghtml prophtml - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 html - cd $(THISDIR) - -# make -f makefile.b32 html -# cd $(WXDIR)\utils\dialoged\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\hytext\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxhelp\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\tex2rtf\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxgraph\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxchart\src -# make -f makefile.b32 html -# cd $(WXDIR)\utils\wxtree\src -# make -f makefile.b32 html - -allps: wxps referencps portingps propps - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 ps - cd $(THISDIR) - -allpdfrtf: pdfrtf portingpdfrtf proppdfrtf - cd $(WXDIR)\utils\dialoged\src - make -f makefile.b32 pdfrtf - cd $(THISDIR) - -# cd $(WXDIR)\utils\wxhelp\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\tex2rtf\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\wxgraph\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\wxchart\src -# make -f makefile.b32 ps -# cd $(WXDIR)\utils\wxtree\src -# make -f makefile.b32 ps -# cd $(THISDIR) - -$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj - cd $(DOCDIR)/latex/wx - -erase wx.ph - hc wx - move wx.hlp $(DOCDIR)\winhelp\wx.hlp - move wx.cnt $(DOCDIR)\winhelp\wx.cnt - cd $(THISDIR) - -$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj - cd $(DOCDIR)/latex/porting - -erase porting.ph - hc porting - move porting.hlp $(DOCDIR)\winhelp\porting.hlp - move porting.cnt $(DOCDIR)\winhelp\porting.cnt - cd $(THISDIR) - -$(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj - cd $(DOCDIR)/latex/proplist - -erase prop.ph - hc prop - move prop.hlp $(DOCDIR)\winhelp\prop.hlp - move prop.cnt $(DOCDIR)\winhelp\prop.cnt - cd $(THISDIR) - -$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj - cd $(DOCDIR)/latex/techref - -erase techref.ph - hc techref - move techref.hlp $(DOCDIR)\winhelp\techref.hlp - move techref.cnt $(DOCDIR)\winhelp\techref.cnt - cd $(THISDIR) - -$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex - cd $(DOCDIR)\latex\wx - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex - cd $(DOCDIR)\latex\porting - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/latex/proplist/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex - cd $(DOCDIR)\latex\proplist - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex - cd $(DOCDIR)\latex\techref - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp - cd $(THISDIR) - -$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex - cd $(DOCDIR)\latex\wx - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex - cd $(DOCDIR)\latex\porting - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex - cd $(DOCDIR)\latex\proplist - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex - cd $(DOCDIR)\latex\techref - -copy *.wmf $(DOCDIR)\pdf - -copy *.bmp $(DOCDIR)\pdf - -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf - cd $(THISDIR) - -$(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex - cd $(DOCDIR)\latex\wx - -mkdir $(DOCDIR)\html\wx - -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html - -erase $(DOCDIR)\html\wx\*.con - -erase $(DOCDIR)\html\wx\*.ref - -erase $(DOCDIR)\latex\wx\*.con - -erase $(DOCDIR)\latex\wx\*.ref - cd $(THISDIR) - -$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp - cd $(DOCDIR)\html\wx - -hhc wx.hhp - cd $(THISDIR) - - -$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex - cd $(DOCDIR)\latex\porting - -mkdir $(DOCDIR)\html\porting - -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html - -erase $(DOCDIR)\html\porting\*.con - -erase $(DOCDIR)\html\porting\*.ref - -erase $(DOCDIR)\latex\porting\*.con - -erase $(DOCDIR)\latex\porting\*.ref - cd $(THISDIR) - -$(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex - cd $(DOCDIR)\latex\proplist - -mkdir $(DOCDIR)\html\proplist - -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html - -erase $(DOCDIR)\html\proplist\*.con - -erase $(DOCDIR)\html\proplist\*.ref - -erase $(DOCDIR)\latex\proplist\*.con - -erase $(DOCDIR)\latex\proplist\*.ref - cd $(THISDIR) - -$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex - cd $(WXDIR)\docs\latex\wx - -latex manual - -latex manual - -makeindx manual - -bibtex manual - -latex manual - -latex manual - cd $(THISDIR) - -$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex - cd $(WXDIR)\docs\latex\porting - -latex porting - -latex porting - -makeindx porting - -bibtex porting - -latex porting - -latex porting - cd $(THISDIR) - -$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi - cd $(WXDIR)\docs\latex\wx - -dvips32 -o wx.ps manual - move wx.ps $(WXDIR)\docs\ps\wx.ps - cd $(THISDIR) - -$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi - cd $(WXDIR)\docs\latex\porting - -dvips32 -o porting.ps porting - move porting.ps $(WXDIR)\docs\ps\porting.ps - cd $(THISDIR) - -$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex - cd $(WXDIR)\docs\latex\wx - -latex referenc - -latex referenc - -makeindx referenc - -bibtex referenc - -latex referenc - -latex referenc - cd $(THISDIR) - -$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi - cd $(WXDIR)\docs\latex\wx - -dvips32 -o referenc.ps referenc - move referenc.ps $(WXDIR)\docs\ps\referenc.ps - cd $(THISDIR) - -# In order to force document reprocessing -touchmanual: - -touch $(WXDIR)\docs\latex\wx\manual.tex - -updatedocs: touchmanual alldocs - -# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the -# Office StartUp folder, and PDFMaker should be installed. -updatepdf: # touchmanual pdfrtf - start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF" - - -MFTYPE=b32 -# Can't use this or we'll have to distribute all tmake files with wxWindows -# makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t - -self: - cd $(WXWIN)\distrib\msw\tmake - tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) - copy makefile.$(MFTYPE) $(WXWIN)\src\msw - diff --git a/src/msw/mimetype.cpp b/src/msw/mimetype.cpp index c5d5039212..a453c99079 100644 --- a/src/msw/mimetype.cpp +++ b/src/msw/mimetype.cpp @@ -88,7 +88,7 @@ void wxFileTypeImpl::Init(const wxString& strFileType, const wxString& ext) m_strFileType = strFileType; if ( !strFileType ) { - m_strFileType = m_ext.AfterFirst('.') + "_auto_file"; + m_strFileType = m_ext.AfterFirst('.') + _T("_auto_file"); } } @@ -237,6 +237,9 @@ wxString wxFileTypeImpl::GetCommand(const wxChar *verb) const wxRegKey(wxRegKey::HKCR, strKey + _T("\\Topic")). QueryValue(_T(""), ddeTopic); + if (ddeTopic.IsEmpty()) + ddeTopic = wxT("System"); + // HACK: we use a special feature of wxExecute which exists // just because we need it here: it will establish DDE // conversation with the program it just launched diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index 6975dc0ded..be480f683f 100644 --- a/src/msw/mslu.cpp +++ b/src/msw/mslu.cpp @@ -46,10 +46,6 @@ #include #include -#ifdef __GNUWIN32__ - #include -#endif - #ifdef __VISUALC__ #include #endif @@ -76,7 +72,7 @@ WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc, if ( wxUsingUnicowsDll() ) { - return DrawStateA((HDC)dc, (HBRUSH)br, (DRAWSTATEPROC)outputFunc, + return DrawStateA((HDC)dc, (HBRUSH)br, (DRAWSTATEPROC)outputFunc, (LPARAM)(const char*) wxConvLocal.cWX2MB((const wxChar*)lData), wData, x, y, cx, cy, flags); diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index d8a82f4809..d492f461cb 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -161,7 +161,7 @@ WXDWORD wxNotebook::MSWGetStyle(long style, WXDWORD *exstyle) const tabStyle |= WS_TABSTOP | TCS_TABS; - if ( style & wxTC_MULTILINE ) + if ( style & wxNB_MULTILINE ) tabStyle |= TCS_MULTILINE; if ( style & wxNB_FIXEDWIDTH ) tabStyle |= TCS_FIXEDWIDTH; @@ -205,9 +205,23 @@ int wxNotebook::SetSelection(int nPage) { wxCHECK_MSG( IS_VALID_PAGE(nPage), -1, wxT("notebook page out of range") ); - ChangePage(m_nSelection, nPage); + if ( nPage != m_nSelection ) + { + wxNotebookEvent event(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId); + event.SetSelection(nPage); + event.SetOldSelection(m_nSelection); + event.SetEventObject(this); + if ( !GetEventHandler()->ProcessEvent(event) || event.IsAllowed() ) + { + // program allows the page change + event.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED); + (void)GetEventHandler()->ProcessEvent(event); + + TabCtrl_SetCurSel(m_hwnd, nPage); + } + } - return TabCtrl_SetCurSel(m_hwnd, nPage); + return m_nSelection; } bool wxNotebook::SetPageText(int nPage, const wxString& strText) @@ -631,44 +645,4 @@ bool wxNotebook::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM* result) return processed; } -// ---------------------------------------------------------------------------- -// wxNotebook helper functions -// ---------------------------------------------------------------------------- - -// generate the page changing and changed events, hide the currently active -// panel and show the new one -void wxNotebook::ChangePage(int nOldSel, int nSel) -{ - // MT-FIXME should use a real semaphore - static bool s_bInsideChangePage = FALSE; - - // when we call ProcessEvent(), our own OnSelChange() is called which calls - // this function - break the infinite loop - if ( s_bInsideChangePage ) - return; - - // it's not an error (the message may be generated by the tab control itself) - // and it may happen - just do nothing - if ( nSel == nOldSel ) - return; - - s_bInsideChangePage = TRUE; - - wxNotebookEvent event(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId); - event.SetSelection(nSel); - event.SetOldSelection(nOldSel); - event.SetEventObject(this); - if ( GetEventHandler()->ProcessEvent(event) && !event.IsAllowed() ) - { - // program doesn't allow the page change - s_bInsideChangePage = FALSE; - return; - } - - event.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED); - GetEventHandler()->ProcessEvent(event); - - s_bInsideChangePage = FALSE; -} - #endif // wxUSE_NOTEBOOK diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index 826bfe2cb3..3870d96263 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -833,12 +833,15 @@ static BSTR ConvertStringToOle(const wxString& str) static wxString ConvertStringFromOle(BSTR bStr) { +#if wxUSE_UNICODE + wxString str(bStr); +#else int len = SysStringLen(bStr) + 1; char *buf = new char[len]; (void)wcstombs( buf, bStr, len); - - wxString str(buf); + wxString str(buf); delete[] buf; +#endif return str; } diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index a909b3e85e..3c66ba49e0 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -1098,7 +1098,7 @@ protected: // CFSTR_SHELLURL is _always_ ANSI! wxCharBuffer char_buffer( GetDataSize() ); wxCustomDataObject::GetDataHere( (void*)char_buffer.data() ); - wxString unicode_buffer( char_buffer ); + wxString unicode_buffer( char_buffer, wxConvLibc ); memcpy( buffer, unicode_buffer.c_str(), ( unicode_buffer.length() + 1 ) * sizeof(wxChar) ); diff --git a/src/msw/ownerdrw.cpp b/src/msw/ownerdrw.cpp index 40aad406ba..03519026bc 100644 --- a/src/msw/ownerdrw.cpp +++ b/src/msw/ownerdrw.cpp @@ -241,8 +241,6 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, FillRect(hdc, &rectFill, hbr); - DeleteObject(hbr); - // use default font if no font set HFONT hfont; if ( m_font.Ok() ) { @@ -278,6 +276,8 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, (void)SelectObject(hdc, hPrevBrush); (void)SelectObject(hdc, hPrevFont); (void)SetBkMode(hdc, nPrevMode); + + DeleteObject(hbr); #else dc.SetFont(GetFont()); dc.DrawText(wxStripMenuCodes(m_strName), x, rc.y); diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index 599d747603..993af83b62 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -278,7 +278,7 @@ bool wxPen::RealizeResource() return FALSE; } -WXHANDLE wxPen::GetResourceHandle() +WXHANDLE wxPen::GetResourceHandle() const { if ( !M_PENDATA ) return 0; diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index e125e57e59..f5bc5e6c6f 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -884,7 +884,7 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, case WM_NOTIFY: { NMHDR* hdr = (NMHDR *)lParam; - if ( (int)hdr->code == TTN_NEEDTEXT ) + if ( hdr->code == TTN_NEEDTEXT ) { wxRadioBox *radiobox = (wxRadioBox *) ::GetWindowLong(hwnd, GWL_USERDATA); diff --git a/src/msw/radiobut.cpp b/src/msw/radiobut.cpp index f038fd099a..d3729c2951 100644 --- a/src/msw/radiobut.cpp +++ b/src/msw/radiobut.cpp @@ -66,9 +66,22 @@ bool wxRadioButton::Create(wxWindow *parent, if ( !CreateControl(parent, id, pos, size, style, validator, name) ) return FALSE; - long msStyle = HasFlag(wxRB_GROUP) ? WS_GROUP : 0; + long msStyle = WS_TABSTOP; + if ( HasFlag(wxRB_GROUP) ) + msStyle |= WS_GROUP; + + /* + wxRB_SINGLE is a temporary workaround for the following problem: if you + have 2 radiobuttons in the same group but which are not consecutive in + the dialog, Windows can enter an infinite loop! The simplest way to + reproduce it is to create radio button, then a panel and then another + radio button: then checking the last button hangs the app. - msStyle |= BS_AUTORADIOBUTTON; + Ideally, we'd detect (and avoid) such situation automatically but for + now, as I don't know how to do it, just allow the user to create + BS_RADIOBUTTON buttons for such situations. + */ + msStyle |= HasFlag(wxRB_SINGLE) ? BS_RADIOBUTTON : BS_AUTORADIOBUTTON; if ( HasFlag(wxCLIP_SIBLINGS) ) msStyle |= WS_CLIPSIBLINGS; @@ -93,8 +106,58 @@ bool wxRadioButton::Create(wxWindow *parent, void wxRadioButton::SetValue(bool value) { // BST_CHECKED is defined as 1, BST_UNCHECKED as 0, so we can just pass - // value as is (we don't sue BST_XXX here as they're not defined for Win16) + // value as is (we don't use BST_XXX here as they're not defined for Win16) (void)::SendMessage(GetHwnd(), BM_SETCHECK, (WPARAM)value, 0L); + + // if we set the value of one radio button we also must clear all the other + // buttons in the same group: Windows doesn't do it automatically + if ( value ) + { + const wxWindowList& siblings = GetParent()->GetChildren(); + wxWindowList::Node *nodeThis = siblings.Find(this); + wxCHECK_RET( nodeThis, _T("radio button not a child of its parent?") ); + + // turn off all radio buttons before this one + for ( wxWindowList::Node *nodeBefore = nodeThis->GetPrevious(); + nodeBefore; + nodeBefore = nodeBefore->GetPrevious() ) + { + wxRadioButton *btn = wxDynamicCast(nodeBefore->GetData(), + wxRadioButton); + if ( !btn ) + { + // the radio buttons in a group must be consecutive, so there + // are no more of them + break; + } + + btn->SetValue(FALSE); + + if ( btn->HasFlag(wxRB_GROUP) ) + { + // even if there are other radio buttons before this one, + // they're not in the same group with us + break; + } + } + + // ... and all after this one + for ( wxWindowList::Node *nodeAfter = nodeThis->GetNext(); + nodeAfter; + nodeAfter = nodeAfter->GetNext() ) + { + wxRadioButton *btn = wxDynamicCast(nodeAfter->GetData(), + wxRadioButton); + + if ( !btn || btn->HasFlag(wxRB_GROUP) ) + { + // no more buttons or the first button of the next group + break; + } + + btn->SetValue(FALSE); + } + } } bool wxRadioButton::GetValue() const @@ -123,7 +186,7 @@ void wxRadioButton::SetFocus() // generates BN_CLICKED which leads to showing another dialog and so on // without end! // - // to aviod this, we drop the pseudo BN_CLICKED events generated when the + // to avoid this, we drop the pseudo BN_CLICKED events generated when the // button gains focus m_focusJustSet = TRUE; @@ -142,9 +205,20 @@ bool wxRadioButton::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) } else // a real clicked event { + bool isChecked = GetValue(); + + if ( HasFlag(wxRB_SINGLE) ) + { + // when we use a "manual" radio button, we have to check the button + // ourselves -- but it's reset to unchecked state by the user code + // (presumably when another button is pressed) + if ( !isChecked ) + SetValue(TRUE); + } + wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, GetId()); event.SetEventObject( this ); - event.SetInt( GetValue() ); + event.SetInt(isChecked); ProcessCommand(event); } @@ -200,7 +274,7 @@ long wxRadioButton::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) return ret; } - return wxControl::MSWWindowProc(nMsg, wParam, lParam); + return wxControl::MSWWindowProc(nMsg, wParam, lParam); } #endif // wxUSE_RADIOBTN diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 6494b321f7..d9c5fd5aae 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -43,7 +43,7 @@ // ---------------------------------------------------------------------------- // we put our data in HKLM\SOFTWARE_KEY\appname -#define SOFTWARE_KEY wxString("Software\\") +#define SOFTWARE_KEY wxString(wxT("Software\\")) // ---------------------------------------------------------------------------- // global functions @@ -696,7 +696,7 @@ bool wxRegConfig::DeleteEntry(const wxString& value, bool WXUNUSED(bGroupIfEmpty if ( m_keyLocal.IsEmpty() ) { wxString strKey = GetPath().AfterLast(wxCONFIG_PATH_SEPARATOR); - SetPath(".."); // changes m_keyLocal + SetPath(_T("..")); // changes m_keyLocal return LocalKey().DeleteKey(strKey); } } diff --git a/src/msw/region.cpp b/src/msw/region.cpp index dc33bc15a2..4da2054b10 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -1,16 +1,24 @@ ///////////////////////////////////////////////////////////////////////////// // Name: msw/region.cpp -// Purpose: Region handling for wxWindows/X11 -// Author: Markus Holzem +// Purpose: wxRegion implementation using Win32 API +// Author: Markus Holzem, Vadim Zeitlin // Modified by: // Created: Fri Oct 24 10:46:34 MET 1997 // RCS-ID: $Id$ -// Copyright: (c) 1997 Julian Smart and Markus Holzem +// Copyright: (c) 1997-2002 wxWindows team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// ============================================================================ +// declarations +// ============================================================================ + +// ---------------------------------------------------------------------------- +// headers +// ---------------------------------------------------------------------------- + #ifdef __GNUG__ -#pragma implementation "region.h" + #pragma implementation "region.h" #endif // For compilers that support precompilation, includes "wx.h". @@ -20,18 +28,17 @@ #pragma hdrstop #endif -#include "wx/msw/region.h" +#include "wx/region.h" #include "wx/gdicmn.h" -#include "wx/window.h" #include "wx/msw/private.h" IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject) IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator, wxObject) -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- // wxRegionRefData implementation -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- class WXDLLEXPORT wxRegionRefData : public wxGDIRefData { @@ -56,7 +63,7 @@ public: #endif } - ~wxRegionRefData() + virtual ~wxRegionRefData() { ::DeleteObject(m_region); m_region = 0; @@ -68,13 +75,14 @@ public: #define M_REGION (((wxRegionRefData*)m_refData)->m_region) #define M_REGION_OF(rgn) (((wxRegionRefData*)(rgn.m_refData))->m_region) -//----------------------------------------------------------------------------- -// wxRegion -//----------------------------------------------------------------------------- +// ============================================================================ +// wxRegion implementation +// ============================================================================ + +// ---------------------------------------------------------------------------- +// ctors and dtor +// ---------------------------------------------------------------------------- -/* - * Create an empty region. - */ wxRegion::wxRegion() { m_refData = (wxRegionRefData *)NULL; @@ -135,9 +143,9 @@ wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const return new wxRegionRefData(*(wxRegionRefData *)data); } -//----------------------------------------------------------------------------- -// Modify region -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- +// wxRegion operations +// ---------------------------------------------------------------------------- // Clear current region void wxRegion::Clear() @@ -195,6 +203,8 @@ bool wxRegion::Combine(const wxRegion& rgn, wxRegionOp op) } else // we have a valid region { + AllocExclusive(); + int mode; switch ( op ) { @@ -248,9 +258,9 @@ bool wxRegion::Combine(const wxRect& rect, wxRegionOp op) rect.GetWidth(), rect.GetHeight(), op); } -//----------------------------------------------------------------------------- -// Information on region -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- +// wxRegion bounding box +// ---------------------------------------------------------------------------- // Outer bounds of region void wxRegion::GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const @@ -286,9 +296,9 @@ bool wxRegion::Empty() const return (w == 0) && (h == 0); } -//----------------------------------------------------------------------------- -// Tests -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- +// wxRegion hit testing +// ---------------------------------------------------------------------------- // Does the region contain the point (x,y)? wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y) const @@ -296,26 +306,18 @@ wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y) const if (!m_refData) return wxOutRegion; - if (::PtInRegion(M_REGION, (int) x, (int) y)) - return wxInRegion; - else - return wxOutRegion; + return ::PtInRegion(M_REGION, (int) x, (int) y) ? wxInRegion : wxOutRegion; } // Does the region contain the point pt? wxRegionContain wxRegion::Contains(const wxPoint& pt) const { - if (!m_refData) - return wxOutRegion; - - if (::PtInRegion(M_REGION, (int) pt.x, (int) pt.y)) - return wxInRegion; - else - return wxOutRegion; + return Contains(pt.x, pt.y); } // Does the region contain the rectangle (x, y, w, h)? -wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y, wxCoord w, wxCoord h) const +wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y, + wxCoord w, wxCoord h) const { if (!m_refData) return wxOutRegion; @@ -326,56 +328,43 @@ wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y, wxCoord w, wxCoord h) c rect.right = x + w; rect.bottom = y + h; - if (::RectInRegion(M_REGION, & rect)) - return wxInRegion; - else - return wxOutRegion; + return ::RectInRegion(M_REGION, &rect) ? wxInRegion : wxOutRegion; } // Does the region contain the rectangle rect wxRegionContain wxRegion::Contains(const wxRect& rect) const { - if (!m_refData) - return wxOutRegion; - - wxCoord x, y, w, h; - x = rect.x; - y = rect.y; - w = rect.GetWidth(); - h = rect.GetHeight(); - return Contains(x, y, w, h); + return Contains(rect.x, rect.y, rect.width, rect.height); } // Get internal region handle WXHRGN wxRegion::GetHRGN() const { - if (!m_refData) - return (WXHRGN) 0; - return (WXHRGN) M_REGION; + return (WXHRGN)(m_refData ? M_REGION : 0); } -/////////////////////////////////////////////////////////////////////////////// -// // -// wxRegionIterator // -// // -/////////////////////////////////////////////////////////////////////////////// +// ============================================================================ +// wxRegionIterator implementation +// ============================================================================ + +// ---------------------------------------------------------------------------- +// wxRegionIterator ctors/dtor +// ---------------------------------------------------------------------------- -/* - * Initialize empty iterator - */ -wxRegionIterator::wxRegionIterator() : m_current(0), m_numRects(0), m_rects(NULL) +void wxRegionIterator::Init() { + m_current = + m_numRects = 0; + + m_rects = NULL; } wxRegionIterator::~wxRegionIterator() { - if (m_rects) - delete[] m_rects; + delete [] m_rects; } -/* - * Initialize iterator for region - */ +// Initialize iterator for region wxRegionIterator::wxRegionIterator(const wxRegion& region) { m_rects = NULL; @@ -383,18 +372,42 @@ wxRegionIterator::wxRegionIterator(const wxRegion& region) Reset(region); } -/* - * Reset iterator for a new /e region. - */ +wxRegionIterator& wxRegionIterator::operator=(const wxRegionIterator& ri) +{ + delete [] m_rects; + + m_current = ri.m_current; + m_numRects = ri.m_numRects; + if ( m_numRects ) + { + m_rects = new wxRect[m_numRects]; + for ( long n = 0; n < m_numRects; n++ ) + m_rects[n] = ri.m_rects[n]; + } + else + { + m_rects = NULL; + } + + return *this; +} + +// ---------------------------------------------------------------------------- +// wxRegionIterator operations +// ---------------------------------------------------------------------------- + +// Reset iterator for a new region. void wxRegionIterator::Reset(const wxRegion& region) { m_current = 0; m_region = region; if (m_rects) + { delete[] m_rects; - m_rects = NULL; + m_rects = NULL; + } if (m_region.Empty()) m_numRects = 0; @@ -421,7 +434,7 @@ void wxRegionIterator::Reset(const wxRegion& region) m_numRects = header->nCount; delete[] (char*) rgnData; -#else +#else // Win16 RECT rect; ::GetRgnBox(((wxRegionRefData*)region.m_refData)->m_region, &rect); m_rects = new wxRect[1]; @@ -431,55 +444,56 @@ void wxRegionIterator::Reset(const wxRegion& region) m_rects[0].height = rect.bottom - rect.top; m_numRects = 1; -#endif +#endif // Win32/16 } } -/* - * Increment iterator. The rectangle returned is the one after the - * incrementation. - */ -void wxRegionIterator::operator ++ () +wxRegionIterator& wxRegionIterator::operator++() { if (m_current < m_numRects) ++m_current; + + return *this; } -/* - * Increment iterator. The rectangle returned is the one before the - * incrementation. - */ -void wxRegionIterator::operator ++ (int) +wxRegionIterator wxRegionIterator::operator ++ (int) { + wxRegionIterator tmp = *this; if (m_current < m_numRects) ++m_current; + + return tmp; } +// ---------------------------------------------------------------------------- +// wxRegionIterator accessors +// ---------------------------------------------------------------------------- + wxCoord wxRegionIterator::GetX() const { - if (m_current < m_numRects) - return m_rects[m_current].x; - return 0; + wxCHECK_MSG( m_current < m_numRects, 0, _T("invalid wxRegionIterator") ); + + return m_rects[m_current].x; } wxCoord wxRegionIterator::GetY() const { - if (m_current < m_numRects) - return m_rects[m_current].y; - return 0; + wxCHECK_MSG( m_current < m_numRects, 0, _T("invalid wxRegionIterator") ); + + return m_rects[m_current].y; } wxCoord wxRegionIterator::GetW() const { - if (m_current < m_numRects) - return m_rects[m_current].width; - return 0; + wxCHECK_MSG( m_current < m_numRects, 0, _T("invalid wxRegionIterator") ); + + return m_rects[m_current].width; } wxCoord wxRegionIterator::GetH() const { - if (m_current < m_numRects) - return m_rects[m_current].height; - return 0; + wxCHECK_MSG( m_current < m_numRects, 0, _T("invalid wxRegionIterator") ); + + return m_rects[m_current].height; } diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index ca0f62ace8..75fb41f4aa 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -303,7 +303,7 @@ wxString wxRegKey::GetName(bool bShortPrefix) const wxString str = bShortPrefix ? aStdKeys[key].szShortName : aStdKeys[key].szName; if ( !m_strKey.IsEmpty() ) - str << "\\" << m_strKey; + str << _T("\\") << m_strKey; return str; } diff --git a/src/msw/scrolbar.cpp b/src/msw/scrolbar.cpp index 7c32db671e..d10d08daad 100644 --- a/src/msw/scrolbar.cpp +++ b/src/msw/scrolbar.cpp @@ -122,9 +122,40 @@ wxScrollBar::~wxScrollBar(void) bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, WXWORD pos, WXHWND control) { - int position = ::GetScrollPos((HWND) control, SB_CTL); - int minPos, maxPos; - ::GetScrollRange((HWND) control, SB_CTL, &minPos, &maxPos); + // current and max positions + int position, + maxPos, trackPos = pos; + +#ifdef __WIN32__ + // when we're dragging the scrollbar we can't use pos parameter because it + // is limited to 16 bits + if ( wParam == SB_THUMBPOSITION || wParam == SB_THUMBTRACK ) + { + SCROLLINFO scrollInfo; + wxZeroMemory(scrollInfo); + scrollInfo.cbSize = sizeof(SCROLLINFO); + + // also get the range if we call GetScrollInfo() anyhow -- this is less + // expensive than call it once here and then call GetScrollRange() + // below + scrollInfo.fMask = SIF_RANGE | SIF_POS | SIF_TRACKPOS; + + if ( !::GetScrollInfo(GetHwnd(), SB_CTL, &scrollInfo) ) + { + wxLogLastError(_T("GetScrollInfo")); + } + + trackPos = scrollInfo.nTrackPos; + position = scrollInfo.nPos; + maxPos = scrollInfo.nMax; + } + else +#endif // Win32 + { + position = ::GetScrollPos((HWND) control, SB_CTL); + int minPos; + ::GetScrollRange((HWND) control, SB_CTL, &minPos, &maxPos); + } #if defined(__WIN95__) // A page size greater than one has the effect of reducing the effective @@ -170,12 +201,12 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, break; case SB_THUMBPOSITION: - nScrollInc = pos - position; + nScrollInc = trackPos - position; scrollEvent = wxEVT_SCROLL_THUMBRELEASE; break; case SB_THUMBTRACK: - nScrollInc = pos - position; + nScrollInc = trackPos - position; scrollEvent = wxEVT_SCROLL_THUMBTRACK; break; @@ -217,16 +248,16 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, void wxScrollBar::SetThumbPosition(int viewStart) { #if defined(__WIN95__) - SCROLLINFO info; - info.cbSize = sizeof(SCROLLINFO); - info.nPage = 0; - info.nMin = 0; - info.nPos = viewStart; - info.fMask = SIF_POS ; - - ::SetScrollInfo((HWND) GetHWND(), SB_CTL, &info, TRUE); + SCROLLINFO info; + info.cbSize = sizeof(SCROLLINFO); + info.nPage = 0; + info.nMin = 0; + info.nPos = viewStart; + info.fMask = SIF_POS ; + + ::SetScrollInfo((HWND) GetHWND(), SB_CTL, &info, TRUE); #else - ::SetScrollPos((HWND) GetHWND(), SB_CTL, viewStart, TRUE); + ::SetScrollPos((HWND) GetHWND(), SB_CTL, viewStart, TRUE); #endif } diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index 213f6b0b67..61eb07927b 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -109,13 +109,14 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id, ); // Now create min static control - wxSprintf(wxBuffer, wxT("%d"), minValue); + wxString minLabel; + minLabel.Printf(wxT("%d"), minValue); wstyle = STATIC_FLAGS; if ( m_windowStyle & wxCLIP_SIBLINGS ) msStyle |= WS_CLIPSIBLINGS; m_staticMin = (WXHWND) CreateWindowEx ( - 0, wxT("STATIC"), wxBuffer, + 0, wxT("STATIC"), minLabel, wstyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(), wxGetInstance(), NULL @@ -153,7 +154,7 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id, HWND scroll_bar = CreateWindowEx ( - MakeExtendedStyle(m_windowStyle), TRACKBAR_CLASS, wxBuffer, + MakeExtendedStyle(m_windowStyle), TRACKBAR_CLASS, wxT(""), msStyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId, wxGetInstance(), NULL @@ -179,7 +180,8 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id, if ( m_windowStyle & wxSL_LABELS ) { // Finally, create max value static item - wxSprintf(wxBuffer, wxT("%d"), maxValue); + wxString maxLabel; + maxLabel.Printf(wxT("%d"), maxValue); wstyle = STATIC_FLAGS; if ( m_windowStyle & wxCLIP_SIBLINGS ) @@ -187,7 +189,7 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id, m_staticMax = (WXHWND) CreateWindowEx ( - 0, wxT("STATIC"), wxBuffer, + 0, wxT("STATIC"), maxLabel, wstyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(), wxGetInstance(), NULL @@ -319,8 +321,9 @@ void wxSlider95::SetValue(int value) if (m_staticValue) { - wxSprintf(wxBuffer, wxT("%d"), value); - ::SetWindowText((HWND) m_staticValue, wxBuffer); + wxString str; + str.Printf(wxT("%d"), value); + ::SetWindowText((HWND) m_staticValue, str); } } diff --git a/src/msw/slidrmsw.cpp b/src/msw/slidrmsw.cpp index 9824dafd2a..af096e87f3 100644 --- a/src/msw/slidrmsw.cpp +++ b/src/msw/slidrmsw.cpp @@ -92,11 +92,12 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id, wxGetInstance(), NULL); // Now create min static control - wxSprintf(wxBuffer, wxT("%d"), minValue); + wxString buf; + buf.Printf(wxT("%d"), minValue); DWORD wstyle = STATIC_FLAGS; if ( m_windowStyle & wxCLIP_SIBLINGS ) wstyle |= WS_CLIPSIBLINGS; - m_staticMin = (WXHWND) CreateWindowEx(0, wxT("STATIC"), wxBuffer, + m_staticMin = (WXHWND) CreateWindowEx(0, wxT("STATIC"), buf, wstyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(), wxGetInstance(), NULL); @@ -107,7 +108,7 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id, else msStyle = SBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP ; - HWND scroll_bar = CreateWindowEx(MakeExtendedStyle(m_windowStyle), wxT("SCROLLBAR"), wxBuffer, + HWND scroll_bar = CreateWindowEx(MakeExtendedStyle(m_windowStyle), wxT("SCROLLBAR"), wxT(""), msStyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId, wxGetInstance(), NULL); @@ -126,11 +127,11 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id, SubclassWin(GetHWND()); // Finally, create max value static item - wxSprintf(wxBuffer, wxT("%d"), maxValue); + buf.Printf(wxT("%d"), maxValue); wstyle = STATIC_FLAGS; if ( m_windowStyle & wxCLIP_SIBLINGS ) wstyle |= WS_CLIPSIBLINGS; - m_staticMax = (WXHWND) CreateWindowEx(0, wxT("STATIC"), wxBuffer, + m_staticMax = (WXHWND) CreateWindowEx(0, wxT("STATIC"), buf, wstyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(), wxGetInstance(), NULL); @@ -261,8 +262,9 @@ void wxSliderMSW::SetValue(int value) ::SetScrollPos(GetHwnd(), SB_CTL, value, TRUE); if (m_staticValue) { - wxSprintf(wxBuffer, wxT("%d"), value); - SetWindowText((HWND) m_staticValue, wxBuffer); + wxString buf; + buf.Printf(wxT("%d"), value); + SetWindowText((HWND) m_staticValue, buf); } } diff --git a/src/msw/stattext.cpp b/src/msw/stattext.cpp index 4b33ade2c9..1c0810694c 100644 --- a/src/msw/stattext.cpp +++ b/src/msw/stattext.cpp @@ -170,16 +170,4 @@ bool wxStaticText::SetFont(const wxFont& font) return ret; } -long wxStaticText::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) -{ - // Ensure that static items get messages. Some controls don't like this - // message to be intercepted (e.g. RichEdit), hence the tests. - // Messes up display with Windows XP, apparently, so have to - // do explicit hit-testing in wxWindowMSW. -#if 0 - if (nMsg == WM_NCHITTEST) - return (long)HTCLIENT; -#endif - return wxWindow::MSWWindowProc(nMsg, wParam, lParam); -} #endif // wxUSE_STATTEXT diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index 1e4e378ac0..c2553f2f2f 100644 --- a/src/msw/tabctrl.cpp +++ b/src/msw/tabctrl.cpp @@ -45,6 +45,7 @@ #include "wx/msw/imaglist.h" IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxNotifyEvent) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGED) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGING) @@ -76,15 +77,8 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons m_windowStyle = style; - SetFont(* (wxTheFontList->FindOrCreateFont(11, wxSWISS, wxNORMAL, wxNORMAL))); - SetParent(parent); - DWORD msflags = 0; - if (style & wxBORDER) - msflags |= WS_BORDER; - msflags |= WS_CHILD | WS_VISIBLE; - if (width <= 0) width = 100; if (height <= 0) @@ -105,6 +99,8 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons tabStyle |= TCS_FIXEDWIDTH; if (m_windowStyle & wxTC_OWNERDRAW) tabStyle |= TCS_OWNERDRAWFIXED; + if (m_windowStyle & wxBORDER) + tabStyle |= WS_BORDER; tabStyle |= TCS_TOOLTIPS; @@ -112,7 +108,7 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons HWND hWndTabCtrl = CreateWindowEx(0L, // No extended styles. WC_TABCONTROL, // Class name for the tab control wxT(""), // No default text. - WS_CHILD | WS_BORDER | WS_VISIBLE | tabStyle, // Styles and defaults. + tabStyle, // Styles and defaults. x, y, width, height, // Standard size and position. (HWND) parent->GetHWND(), // Parent window (HMENU)m_windowId, // ID. @@ -124,6 +120,8 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons SubclassWin((WXHWND) hWndTabCtrl); + SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); + return TRUE; } @@ -161,6 +159,7 @@ bool wxTabCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) event.SetEventObject( this ); event.SetEventType(eventType); event.SetInt(idCtrl) ; + event.SetSelection(idCtrl); return ProcessEvent(event); } @@ -442,14 +441,5 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height) } #endif -// Tab event -IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxCommandEvent) - -wxTabEvent::wxTabEvent(wxEventType commandType, int id): - wxCommandEvent(commandType, id) -{ -} - - #endif // __WIN95__ diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index f17654653b..d422b3c214 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -180,7 +180,7 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) //, int x, int y); wxGetMousePosition(&x, &y); // is wxFrame the best window type to use??? - win = new wxFrame(NULL, -1, "", wxPoint(x,y), wxSize(-1,-1), 0); + win = new wxFrame(NULL, -1, wxEmptyString, wxPoint(x,y), wxSize(-1,-1), 0); win->PushEventHandler(this); // Remove from record of top-level windows, or will confuse wxWindows diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 8777634b70..9fd39ade69 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -472,6 +472,15 @@ bool wxToolBar::Realize() const bool isVertical = HasFlag(wxTB_VERTICAL); + // delete all old buttons, if any + for ( size_t pos = 0; pos < m_nButtons; pos++ ) + { + if ( !::SendMessage(GetHwnd(), TB_DELETEBUTTON, 0, 0) ) + { + wxLogDebug(wxT("TB_DELETEBUTTON failed")); + } + } + // First, add the bitmap: we use one bitmap for all toolbar buttons // ---------------------------------------------------------------- @@ -612,15 +621,6 @@ bool wxToolBar::Realize() bitmapId = m_nButtons; } - - // Now delete all the buttons - for ( size_t pos = 0; pos < m_nButtons; pos++ ) - { - if ( !::SendMessage(GetHwnd(), TB_DELETEBUTTON, 0, 0) ) - { - wxLogDebug(wxT("TB_DELETEBUTTON failed")); - } - } } if ( addBitmap ) // no old bitmap or we can't replace it diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 9cb0a4f03a..34956b23ae 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -38,6 +38,7 @@ #include "wx/intl.h" #include "wx/log.h" #include "wx/app.h" + #include "wx/menu.h" #endif #include "wx/module.h" @@ -149,17 +150,25 @@ BEGIN_EVENT_TABLE(wxTextCtrl, wxControl) EVT_CHAR(wxTextCtrl::OnChar) EVT_DROP_FILES(wxTextCtrl::OnDropFiles) +#if wxUSE_RICHEDIT + EVT_RIGHT_UP(wxTextCtrl::OnRightClick) +#endif + EVT_MENU(wxID_CUT, wxTextCtrl::OnCut) EVT_MENU(wxID_COPY, wxTextCtrl::OnCopy) EVT_MENU(wxID_PASTE, wxTextCtrl::OnPaste) EVT_MENU(wxID_UNDO, wxTextCtrl::OnUndo) EVT_MENU(wxID_REDO, wxTextCtrl::OnRedo) + EVT_MENU(wxID_CLEAR, wxTextCtrl::OnDelete) + EVT_MENU(wxID_SELECTALL, wxTextCtrl::OnSelectAll) EVT_UPDATE_UI(wxID_CUT, wxTextCtrl::OnUpdateCut) EVT_UPDATE_UI(wxID_COPY, wxTextCtrl::OnUpdateCopy) EVT_UPDATE_UI(wxID_PASTE, wxTextCtrl::OnUpdatePaste) EVT_UPDATE_UI(wxID_UNDO, wxTextCtrl::OnUpdateUndo) EVT_UPDATE_UI(wxID_REDO, wxTextCtrl::OnUpdateRedo) + EVT_UPDATE_UI(wxID_CLEAR, wxTextCtrl::OnUpdateDelete) + EVT_UPDATE_UI(wxID_SELECTALL, wxTextCtrl::OnUpdateSelectAll) #ifdef __WIN16__ EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground) #endif @@ -177,9 +186,19 @@ void wxTextCtrl::Init() { #if wxUSE_RICHEDIT m_verRichEdit = 0; +#endif // wxUSE_RICHEDIT + m_privateContextMenu = NULL; m_suppressNextUpdate = FALSE; -#endif // wxUSE_RICHEDIT +} + +wxTextCtrl::~wxTextCtrl() +{ + if (m_privateContextMenu) + { + delete m_privateContextMenu; + m_privateContextMenu = NULL; + } } bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, @@ -570,7 +589,7 @@ bool wxTextCtrl::StreamIn(const wxString& value, { return FALSE; } -#else +#else // !__WXWINE__ #if wxUSE_UNICODE_MSLU bool wxTextCtrl::StreamIn(const wxString& value, @@ -584,7 +603,7 @@ bool wxTextCtrl::StreamIn(const wxString& value, bool selectionOnly) { // we have to use EM_STREAMIN to force richedit control 2.0+ to show any - // text in the non default charset - otherwise it thinks it knows better + // text in the non default charset -- otherwise it thinks it knows better // than we do and always shows it in the default one // first get the Windows code page for this encoding @@ -620,6 +639,14 @@ bool wxTextCtrl::StreamIn(const wxString& value, // the cast below is needed for broken (very) old mingw32 headers eds.pfnCallback = (EDITSTREAMCALLBACK)wxRichEditStreamIn; + // we're going to receive 2 EN_CHANGE notifications if we got any selection + // (same problem as in DoWriteText()) + if ( selectionOnly && HasSelection() ) + { + // so suppress one of them + m_suppressNextUpdate = TRUE; + } + if ( !::SendMessage(GetHwnd(), EM_STREAMIN, SF_TEXT | SF_UNICODE | @@ -636,8 +663,7 @@ bool wxTextCtrl::StreamIn(const wxString& value, return TRUE; } -#endif - // __WXWINE__ +#endif // __WXWINE__/!__WXWINE__ #endif // wxUSE_RICHEDIT @@ -700,18 +726,35 @@ void wxTextCtrl::DoWriteText(const wxString& value, bool selectionOnly) if ( !done ) #endif // wxUSE_RICHEDIT { + // in some cases we get 2 EN_CHANGE notifications after the SendMessage + // call below which is confusing for the client code and so should be + // avoided + // + // these cases are: (a) plain EDIT controls if EM_REPLACESEL is used + // and there is a non empty selection currently and (b) rich text + // controls in any case + if ( #if wxUSE_RICHEDIT - // rich edit text control sends us 2 EN_CHANGE events when we send - // WM_SETTEXT to it, we have to suppress one of them to make wxTextCtrl - // behaviour consistent - if ( IsRich() ) + IsRich() || +#endif // wxUSE_RICHEDIT + (selectionOnly && HasSelection()) ) { m_suppressNextUpdate = TRUE; } -#endif // wxUSE_RICHEDIT ::SendMessage(GetHwnd(), selectionOnly ? EM_REPLACESEL : WM_SETTEXT, 0, (LPARAM)valueDos.c_str()); + + // OTOH, non rich text controls don't generate any events at all when + // we use WM_SETTEXT -- have to emulate them here + if ( !selectionOnly +#if wxUSE_RICHEDIT + && !IsRich() +#endif // wxUSE_RICHEDIT + ) + { + SendUpdateEvent(); + } } AdjustSpaceLimit(); @@ -722,6 +765,15 @@ void wxTextCtrl::AppendText(const wxString& text) SetInsertionPointEnd(); WriteText(text); + +#if wxUSE_RICHEDIT + if ( IsMultiLine() && GetRichVersion() > 1 ) + { + // setting the caret to the end and showing it simply doesn't work for + // RichEdit 2.0 -- force it to still do what we want + ::SendMessage(GetHwnd(), EM_LINESCROLL, 0, GetNumberOfLines()); + } +#endif // wxUSE_RICHEDIT } void wxTextCtrl::Clear() @@ -786,14 +838,19 @@ void wxTextCtrl::Paste() } } -bool wxTextCtrl::CanCopy() const +bool wxTextCtrl::HasSelection() const { - // Can copy if there's a selection long from, to; GetSelection(&from, &to); return from != to; } +bool wxTextCtrl::CanCopy() const +{ + // Can copy if there's a selection + return HasSelection(); +} + bool wxTextCtrl::CanCut() const { return CanCopy() && IsEditable(); @@ -1286,11 +1343,13 @@ long wxTextCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) if ( nMsg == WM_GETDLGCODE ) { + // we always want the chars and the arrows: the arrows for navigation + // and the chars because we want Ctrl-C to work even in a read only + // control + long lDlgCode = DLGC_WANTCHARS | DLGC_WANTARROWS; + if ( IsEditable() ) { - // we always want the chars and the arrows - long lDlgCode = DLGC_WANTCHARS | DLGC_WANTARROWS; - // we may have several different cases: // 1. normal case: both TAB and ENTER are used for dlg navigation // 2. ctrl which wants TAB for itself: ENTER is used to pass to the @@ -1311,15 +1370,11 @@ long wxTextCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) } else // !editable { - // when the control can't be edited by user, it doesn't need any - // extra keys changing its contents at all -- but it still needs - // the arrows to allow navigating in it - // // NB: use "=", not "|=" as the base class version returns the // same flags is this state as usual (i.e. including // DLGC_WANTMESSAGE). This is strange (how does it work in the // native Win32 apps?) but for now live with it. - lRc = DLGC_WANTARROWS; + lRc = lDlgCode; } } @@ -1559,6 +1614,19 @@ void wxTextCtrl::OnRedo(wxCommandEvent& WXUNUSED(event)) Redo(); } +void wxTextCtrl::OnDelete(wxCommandEvent& event) +{ + long from, to; + GetSelection(& from, & to); + if (from != -1 && to != -1) + Remove(from, to); +} + +void wxTextCtrl::OnSelectAll(wxCommandEvent& event) +{ + SetSelection(-1, -1); +} + void wxTextCtrl::OnUpdateCut(wxUpdateUIEvent& event) { event.Enable( CanCut() ); @@ -1584,6 +1652,44 @@ void wxTextCtrl::OnUpdateRedo(wxUpdateUIEvent& event) event.Enable( CanRedo() ); } +void wxTextCtrl::OnUpdateDelete(wxUpdateUIEvent& event) +{ + long from, to; + GetSelection(& from, & to); + event.Enable(from != -1 && to != -1 && from != to && IsEditable()) ; +} + +void wxTextCtrl::OnUpdateSelectAll(wxUpdateUIEvent& event) +{ + event.Enable(GetLastPosition() > 0); +} + +void wxTextCtrl::OnRightClick(wxMouseEvent& event) +{ +#if wxUSE_RICHEDIT + if (IsRich()) + { + if (!m_privateContextMenu) + { + m_privateContextMenu = new wxMenu; + m_privateContextMenu->Append(wxID_UNDO, _("&Undo")); + m_privateContextMenu->Append(wxID_REDO, _("&Redo")); + m_privateContextMenu->AppendSeparator(); + m_privateContextMenu->Append(wxID_CUT, _("Cu&t")); + m_privateContextMenu->Append(wxID_COPY, _("&Copy")); + m_privateContextMenu->Append(wxID_PASTE, _("&Paste")); + m_privateContextMenu->Append(wxID_CLEAR, _("&Delete")); + m_privateContextMenu->AppendSeparator(); + m_privateContextMenu->Append(wxID_SELECTALL, _("Select &All")); + } + PopupMenu(m_privateContextMenu, event.GetPosition()); + return; + } + else +#endif + event.Skip(); +} + // the rest of the file only deals with the rich edit controls #if wxUSE_RICHEDIT diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index d93d017704..4cbf5710d5 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -243,7 +243,7 @@ wxMutexError wxMutexInternal::Unlock() { if ( !::ReleaseMutex(m_mutex) ) { - wxLogLastError(_("ReleaseMutex()")); + wxLogLastError(_T("ReleaseMutex()")); return wxMUTEX_MISC_ERROR; } diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index 930748cdbf..7ed9b614e1 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -77,7 +77,7 @@ static WNDPROC gs_wndprocToolTip = (WNDPROC)NULL; class wxToolInfo : public TOOLINFO { public: - wxToolInfo(HWND hwnd) + wxToolInfo(HWND hwndOwner) { // initialize all members ::ZeroMemory(this, sizeof(TOOLINFO)); @@ -95,8 +95,9 @@ public: cbSize = sizeof(TOOLINFO); #endif // compile-time comctl32.dll version + hwnd = hwndOwner; uFlags = TTF_IDISHWND; - uId = (UINT)hwnd; + uId = (UINT)hwndOwner; } }; @@ -274,12 +275,14 @@ void wxToolTip::Add(WXHWND hWnd) wxToolInfo ti(hwnd); - // as we store our text anyhow, it seems useless to waste system memory - // by asking the tooltip ctrl to remember it too - instead it will send - // us TTN_NEEDTEXT (via WM_NOTIFY) when it is about to be shown + // another possibility would be to specify LPSTR_TEXTCALLBACK here as we + // store the tooltip text ourselves anyhow, and provide it in response to + // TTN_NEEDTEXT (sent via WM_NOTIFY), but then we would be limited to 79 + // character tooltips as this is the size of the szText buffer in + // NMTTDISPINFO struct -- and setting the tooltip here we can have tooltips + // of any length ti.hwnd = hwnd; - ti.lpszText = LPSTR_TEXTCALLBACK; - // instead of: ti.lpszText = (char *)m_text.c_str(); + ti.lpszText = (wxChar *)m_text.c_str(); // const_cast if ( !SendTooltipMessage(GetToolTipCtrl(), TTM_ADDTOOL, 0, &ti) ) { @@ -309,7 +312,7 @@ void wxToolTip::Add(WXHWND hWnd) } } - HDC hdc = CreateCompatibleDC(NULL); + MemoryHDC hdc; if ( !hdc ) { wxLogLastError(wxT("CreateCompatibleDC(NULL)")); @@ -326,8 +329,6 @@ void wxToolTip::Add(WXHWND hWnd) wxLogLastError(wxT("GetTextExtentPoint")); } - DeleteDC(hdc); - SendTooltipMessage(GetToolTipCtrl(), TTM_SETMAXTIPWIDTH, 0, (void *)sz.cx); } @@ -400,7 +401,7 @@ void wxToolTip::SetTip(const wxString& tip) if ( m_window ) { - // update it immediately + // update the tip text shown by the control wxToolInfo ti(GetHwndOf(m_window)); ti.lpszText = (wxChar *)m_text.c_str(); diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 6d5605551f..bd65405e7f 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -38,6 +38,8 @@ #include "wx/containr.h" // wxSetFocusToChild() #endif //WX_PRECOMP +#include "wx/module.h" + #include "wx/msw/private.h" #include "wx/popupwin.h" @@ -76,8 +78,32 @@ wxWindowList wxModelessWindows; // the name of the default wxWindows class extern const wxChar *wxCanvasClassName; -// the hidden parent for wxFRAME_NO_TASKBAR unowned frames -wxWindow *wxTopLevelWindowMSW::ms_hiddenParent = NULL; +// ---------------------------------------------------------------------------- +// wxTLWHiddenParentModule: used to manage the hidden parent window (we need a +// module to ensure that the window is always deleted) +// ---------------------------------------------------------------------------- + +class wxTLWHiddenParentModule : public wxModule +{ +public: + // module init/finalize + virtual bool OnInit(); + virtual void OnExit(); + + // get the hidden window (creates on demand) + static HWND GetHWND(); + +private: + // the HWND of the hidden parent + static HWND ms_hwnd; + + // the class used to create it + static const wxChar *ms_className; + + DECLARE_DYNAMIC_CLASS(wxTLWHiddenParentModule) +}; + +IMPLEMENT_DYNAMIC_CLASS(wxTLWHiddenParentModule, wxModule) // ============================================================================ // wxTopLevelWindowMSW implementation @@ -213,38 +239,32 @@ WXHWND wxTopLevelWindowMSW::MSWGetParent() const // parent HWND or it would be always on top of its parent which is not what // we usually want (in fact, we only want it for frames with the // wxFRAME_FLOAT_ON_PARENT flag) - wxWindow *parent; + HWND hwndParent = NULL; if ( HasFlag(wxFRAME_FLOAT_ON_PARENT) ) { - parent = GetParent(); + const wxWindow *parent = GetParent(); - // this flag doesn't make sense then and will be ignored - wxASSERT_MSG( parent, - _T("wxFRAME_FLOAT_ON_PARENT but no parent?") ); - } - else // don't float on parent, must not be owned - { - parent = NULL; + if ( !parent ) + { + // this flag doesn't make sense then and will be ignored + wxFAIL_MSG( _T("wxFRAME_FLOAT_ON_PARENT but no parent?") ); + } + else + { + hwndParent = GetHwndOf(parent); + } } + //else: don't float on parent, must not be owned // now deal with the 2nd taskbar-related problem (see comments above in // MSWGetStyle()) - if ( HasFlag(wxFRAME_NO_TASKBAR) && !parent ) + if ( HasFlag(wxFRAME_NO_TASKBAR) && !hwndParent ) { - if ( !ms_hiddenParent ) - { - ms_hiddenParent = new wxTopLevelWindowMSW(NULL, -1, _T("")); - - // we shouldn't leave it in wxTopLevelWindows or we wouldn't - // terminate the app when the last user-created frame is deleted -- - // see ~wxTopLevelWindowMSW - wxTopLevelWindows.DeleteObject(ms_hiddenParent); - } - - parent = ms_hiddenParent; + // use hidden parent + hwndParent = wxTLWHiddenParentModule::GetHWND(); } - return parent ? parent->GetHWND() : WXHWND(NULL); + return (WXHWND)hwndParent; } bool wxTopLevelWindowMSW::CreateDialog(const void *dlgTemplate, @@ -451,15 +471,6 @@ bool wxTopLevelWindowMSW::Create(wxWindow *parent, wxTopLevelWindowMSW::~wxTopLevelWindowMSW() { - if ( this == ms_hiddenParent ) - { - // stop [infinite] recursion which would otherwise happen when we do - // "delete ms_hiddenParent" below -- and we're not interested in doing - // anything of the rest below for that window because the rest of - // wxWindows doesn't even know about it - return; - } - if ( wxModelessWindows.Find(this) ) wxModelessWindows.DeleteObject(this); @@ -475,17 +486,6 @@ wxTopLevelWindowMSW::~wxTopLevelWindowMSW() ::BringWindowToTop(GetHwndOf(parent)); } } - - // if this is the last top-level window, we're going to exit and we should - // delete ms_hiddenParent now to avoid leaking it - if ( IsLastBeforeExit() ) - { - if ( ms_hiddenParent ) - { - delete ms_hiddenParent; - ms_hiddenParent = NULL; - } - } } // ---------------------------------------------------------------------------- @@ -796,3 +796,79 @@ wxDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) } } +// ============================================================================ +// wxTLWHiddenParentModule implementation +// ============================================================================ + +HWND wxTLWHiddenParentModule::ms_hwnd = NULL; + +const wxChar *wxTLWHiddenParentModule::ms_className = NULL; + +bool wxTLWHiddenParentModule::OnInit() +{ + ms_hwnd = NULL; + ms_className = NULL; + + return TRUE; +} + +void wxTLWHiddenParentModule::OnExit() +{ + if ( ms_hwnd ) + { + if ( !::DestroyWindow(ms_hwnd) ) + { + wxLogLastError(_T("DestroyWindow(hidden TLW parent)")); + } + + ms_hwnd = NULL; + } + + if ( ms_className ) + { + if ( !::UnregisterClass(ms_className, wxGetInstance()) ) + { + wxLogLastError(_T("UnregisterClass(\"wxTLWHiddenParent\")")); + } + + ms_className = NULL; + } +} + +/* static */ +HWND wxTLWHiddenParentModule::GetHWND() +{ + if ( !ms_hwnd ) + { + if ( !ms_className ) + { + static const wxChar *HIDDEN_PARENT_CLASS = _T("wxTLWHiddenParent"); + + WNDCLASS wndclass; + wxZeroMemory(wndclass); + + wndclass.lpfnWndProc = DefWindowProc; + wndclass.hInstance = wxGetInstance(); + wndclass.lpszClassName = HIDDEN_PARENT_CLASS; + + if ( !::RegisterClass(&wndclass) ) + { + wxLogLastError(_T("RegisterClass(\"wxTLWHiddenParent\")")); + } + else + { + ms_className = HIDDEN_PARENT_CLASS; + } + } + + ms_hwnd = ::CreateWindow(ms_className, _T(""), 0, 0, 0, 0, 0, NULL, + (HMENU)NULL, wxGetInstance(), NULL); + if ( !ms_hwnd ) + { + wxLogLastError(_T("CreateWindow(hidden TLW parent)")); + } + } + + return ms_hwnd; +} + diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 97348c58ff..75813b5bfb 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -1181,6 +1181,42 @@ void wxTreeCtrl::RefreshItem(const wxTreeItemId& item) } } +wxColour wxTreeCtrl::GetItemTextColour(const wxTreeItemId& item) const +{ + long id = (long)(WXHTREEITEM)item; + wxTreeItemAttr *attr = (wxTreeItemAttr *)m_attrs.Get(id); + if ( !attr ) + { + return wxNullColour; + } + + return attr->GetTextColour(); +} + +wxColour wxTreeCtrl::GetItemBackgroundColour(const wxTreeItemId& item) const +{ + long id = (long)(WXHTREEITEM)item; + wxTreeItemAttr *attr = (wxTreeItemAttr *)m_attrs.Get(id); + if ( !attr ) + { + return wxNullColour; + } + + return attr->GetBackgroundColour(); +} + +wxFont wxTreeCtrl::GetItemFont(const wxTreeItemId& item) const +{ + long id = (long)(WXHTREEITEM)item; + wxTreeItemAttr *attr = (wxTreeItemAttr *)m_attrs.Get(id); + if ( !attr ) + { + return wxNullFont; + } + + return attr->GetFont(); +} + void wxTreeCtrl::SetItemTextColour(const wxTreeItemId& item, const wxColour& col) { @@ -1240,6 +1276,12 @@ void wxTreeCtrl::SetItemFont(const wxTreeItemId& item, const wxFont& font) bool wxTreeCtrl::IsVisible(const wxTreeItemId& item) const { + if ( item == wxTreeItemId(TVI_ROOT) ) + { + // virtual (hidden) root is never visible + return FALSE; + } + // Bug in Gnu-Win32 headers, so don't use the macro TreeView_GetItemRect RECT rect; @@ -2302,8 +2344,8 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) break; } - int how = (int)hdr->code == TVN_ITEMEXPANDING ? IDX_DOING - : IDX_DONE; + int how = hdr->code == TVN_ITEMEXPANDING ? IDX_DOING + : IDX_DONE; eventType = gs_expandEvents[what][how]; diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 047ef9a22e..4556f6fa97 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -199,7 +199,7 @@ bool wxGetFullHostName(wxChar *buf, int maxSize) if ( pHostEnt ) { - host = pHostEnt->h_name; + host = wxString::FromAscii(pHostEnt->h_name); } } } diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 58b26f2c07..ae26542774 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -139,7 +139,7 @@ public: bool IsOpened() const { return m_hInput != INVALID_HANDLE_VALUE; } // returns TRUE if there is any data to be read from the pipe - bool IsAvailable() const; + virtual bool CanRead() const; protected: size_t OnSysRead(void *buffer, size_t len); @@ -341,12 +341,12 @@ wxPipeInputStream::~wxPipeInputStream() ::CloseHandle(m_hInput); } -bool wxPipeInputStream::IsAvailable() const +bool wxPipeInputStream::CanRead() const { // FIXME #ifdef __WXWINE__ return FALSE; -#else +#else // !Wine if ( !IsOpened() ) return FALSE; @@ -374,37 +374,36 @@ bool wxPipeInputStream::IsAvailable() const // it had been closed ::CloseHandle(m_hInput); - wxConstCast(this, wxPipeInputStream)->m_hInput = INVALID_HANDLE_VALUE; + wxPipeInputStream *self = wxConstCast(this, wxPipeInputStream); - return FALSE; + self->m_hInput = INVALID_HANDLE_VALUE; + self->m_lasterror = wxSTREAM_EOF; + + nAvailable = 0; } return nAvailable != 0; -#endif +#endif // Wine/!Wine } size_t wxPipeInputStream::OnSysRead(void *buffer, size_t len) { - // reading from a pipe may block if there is no more data, always check for - // EOF first - if ( !IsAvailable() ) + if ( !IsOpened() ) { m_lasterror = wxSTREAM_EOF; return 0; } - m_lasterror = wxSTREAM_NOERROR; - DWORD bytesRead; if ( !::ReadFile(m_hInput, buffer, len, &bytesRead, NULL) ) { - if ( ::GetLastError() == ERROR_BROKEN_PIPE ) - m_lasterror = wxSTREAM_EOF; - else - m_lasterror = wxSTREAM_READ_ERROR; + m_lasterror = ::GetLastError() == ERROR_BROKEN_PIPE + ? wxSTREAM_EOF + : wxSTREAM_READ_ERROR; } + // bytesRead is set to 0, as desired, if an error occured return bytesRead; } @@ -424,18 +423,17 @@ wxPipeOutputStream::~wxPipeOutputStream() size_t wxPipeOutputStream::OnSysWrite(const void *buffer, size_t len) { - DWORD bytesRead; + DWORD bytesWritten; - m_lasterror = wxSTREAM_NOERROR; - if ( !::WriteFile(m_hOutput, buffer, len, &bytesRead, NULL) ) + m_lasterror = wxSTREAM_NO_ERROR; + if ( !::WriteFile(m_hOutput, buffer, len, &bytesWritten, NULL) ) { - if ( ::GetLastError() == ERROR_BROKEN_PIPE ) - m_lasterror = wxSTREAM_EOF; - else - m_lasterror = wxSTREAM_READ_ERROR; + m_lasterror = ::GetLastError() == ERROR_BROKEN_PIPE + ? wxSTREAM_EOF + : wxSTREAM_WRITE_ERROR; } - return bytesRead; + return bytesWritten; } #endif // wxUSE_STREAMS @@ -453,7 +451,7 @@ static bool wxExecuteDDE(const wxString& ddeServer, const wxString& ddeTopic, const wxString& ddeCommand) { - bool ok; + bool ok = FALSE; wxDDEClient client; wxConnectionBase *conn = client.MakeConnection(_T(""), @@ -470,17 +468,17 @@ static bool wxExecuteDDE(const wxString& ddeServer, // important ones - like IE and other MS stuff - use // XTYP_REQUEST! // - // so we try it first and then the other one if it + // so we try one first and then the other one if it // failed { wxLogNull noErrors; - ok = conn->Request(ddeCommand) != NULL; + ok = conn->Execute(ddeCommand); } if ( !ok ) { - // now try execute - but show the errors - ok = conn->Execute(ddeCommand); + // now try request - but show the errors + ok = conn->Request(ddeCommand) != NULL; } } diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index e1b4db737d..6f4ada640d 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -422,7 +422,7 @@ wxArrayString wxFSVolume::GetVolumes(int flagsSet, int flagsUnset) { #ifdef UNICODE s_pWNetOpenEnum = (WNetOpenEnumPtr)s_mprLib.GetSymbol(_T("WNetOpenEnumW")); - s_pWNetEnumResource = (WNetEnumResourcePtr)s_mprLib.GetSymbol("WNetEnumResourceW"); + s_pWNetEnumResource = (WNetEnumResourcePtr)s_mprLib.GetSymbol(_T("WNetEnumResourceW")); #else s_pWNetOpenEnum = (WNetOpenEnumPtr)s_mprLib.GetSymbol(_T("WNetOpenEnumA")); s_pWNetEnumResource = (WNetEnumResourcePtr)s_mprLib.GetSymbol(_T("WNetEnumResourceA")); diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 07d4a17190..890bd089c3 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1471,7 +1471,7 @@ void wxWindowMSW::Update() wxLogLastError(_T("UpdateWindow")); } #endif - + #if defined(__WIN32__) && !defined(__WXMICROWIN__) // just calling UpdateWindow() is not enough, what we did in our WM_PAINT // handler needs to be really drawn right now @@ -1891,6 +1891,10 @@ static void wxYieldForCommandsOnly() { wxTheApp->DoMessage((WXMSG *)&msg); } + + // If we retrieved a WM_QUIT, insert back into the message queue. + if (msg.message == WM_QUIT) + ::PostQuitMessage(0); } bool wxWindowMSW::DoPopupMenu(wxMenu *menu, int x, int y) @@ -1961,6 +1965,14 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg) if ( !bCtrlDown ) { lDlgCode = ::SendMessage(msg->hwnd, WM_GETDLGCODE, 0, 0); + + // surprizingly, DLGC_WANTALLKEYS bit mask doesn't contain the + // DLGC_WANTTAB nor DLGC_WANTARROWS bits although, logically, + // it, of course, implies them + if ( lDlgCode & DLGC_WANTALLKEYS ) + { + lDlgCode |= DLGC_WANTTAB | DLGC_WANTARROWS; + } } bool bForward = TRUE, @@ -2050,6 +2062,12 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg) // eat the Enter events sometimes return FALSE; } + else if (!IsTopLevel()) + { + // if not a top level window, let parent + // handle it + return FALSE; + } //else: treat Enter as TAB: pass to the next // control as this is the best thing to do // if the text doesn't handle Enter itself @@ -2483,14 +2501,6 @@ long wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam break; #endif // __WXMICROWIN__ - // VZ: if you find a situation when this is needed, tell - // me about it, do *not* uncomment this code as it - // causes other strange problems -#if 0 - if ( message == WM_LBUTTONDOWN && AcceptsFocus() ) - SetFocus(); -#endif // 0 - int x = GET_X_LPARAM(lParam), y = GET_Y_LPARAM(lParam); @@ -2506,6 +2516,20 @@ long wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam else { win = FindWindowForMouseEvent(this, &x, &y); + + // this should never happen + wxCHECK_MSG( win, 0, + _T("FindWindowForMouseEvent() returned NULL") ); + + // for the standard classes their WndProc sets the focus to + // them anyhow and doing it from here results in some weird + // problems, but for our windows we want them to acquire + // focus when clicked + if ( !win->IsOfStandardClass() ) + { + if ( message == WM_LBUTTONDOWN && win->AcceptsFocus() ) + win->SetFocus(); + } } processed = win->HandleMouseEvent(message, x, y, wParam); @@ -2598,71 +2622,73 @@ long wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam if ( m_lastKeydownProcessed ) { processed = TRUE; - break; } - switch ( wParam ) + if ( !processed ) { - // we consider these message "not interesting" to OnChar, so - // just don't do anything more with them - case VK_SHIFT: - case VK_CONTROL: - case VK_MENU: - case VK_CAPITAL: - case VK_NUMLOCK: - case VK_SCROLL: - processed = TRUE; - break; - - // avoid duplicate messages to OnChar for these ASCII keys: - // they will be translated by TranslateMessage() and received - // in WM_CHAR - case VK_ESCAPE: - case VK_SPACE: - case VK_RETURN: - case VK_BACK: - case VK_TAB: - case VK_ADD: - case VK_SUBTRACT: - case VK_MULTIPLY: - case VK_DIVIDE: - case VK_OEM_1: - case VK_OEM_2: - case VK_OEM_3: - case VK_OEM_4: - case VK_OEM_5: - case VK_OEM_6: - case VK_OEM_7: - case VK_OEM_PLUS: - case VK_OEM_COMMA: - case VK_OEM_MINUS: - case VK_OEM_PERIOD: - // but set processed to FALSE, not TRUE to still pass them - // to the control's default window proc - otherwise - // built-in keyboard handling won't work - processed = FALSE; + switch ( wParam ) + { + // we consider these message "not interesting" to OnChar, so + // just don't do anything more with them + case VK_SHIFT: + case VK_CONTROL: + case VK_MENU: + case VK_CAPITAL: + case VK_NUMLOCK: + case VK_SCROLL: + processed = TRUE; + break; - break; + // avoid duplicate messages to OnChar for these ASCII keys: + // they will be translated by TranslateMessage() and received + // in WM_CHAR + case VK_ESCAPE: + case VK_SPACE: + case VK_RETURN: + case VK_BACK: + case VK_TAB: + case VK_ADD: + case VK_SUBTRACT: + case VK_MULTIPLY: + case VK_DIVIDE: + case VK_OEM_1: + case VK_OEM_2: + case VK_OEM_3: + case VK_OEM_4: + case VK_OEM_5: + case VK_OEM_6: + case VK_OEM_7: + case VK_OEM_PLUS: + case VK_OEM_COMMA: + case VK_OEM_MINUS: + case VK_OEM_PERIOD: + // but set processed to FALSE, not TRUE to still pass them + // to the control's default window proc - otherwise + // built-in keyboard handling won't work + processed = FALSE; + break; #ifdef VK_APPS - // special case of VK_APPS: treat it the same as right mouse - // click because both usually pop up a context menu - case VK_APPS: - { - WPARAM flags; - int x, y; + // special case of VK_APPS: treat it the same as right mouse + // click because both usually pop up a context menu + case VK_APPS: + { + WPARAM flags; + int x, y; - TranslateKbdEventToMouse(this, &x, &y, &flags); - processed = HandleMouseEvent(WM_RBUTTONDOWN, x, y, flags); - } - break; + TranslateKbdEventToMouse(this, &x, &y, &flags); + processed = HandleMouseEvent(WM_RBUTTONDOWN, x, y, flags); + } + break; #endif // VK_APPS - default: - // do generate a CHAR event - processed = HandleChar((WORD)wParam, lParam); - + default: + // do generate a CHAR event + processed = HandleChar((WORD)wParam, lParam); + } } + if (message == WM_SYSKEYDOWN) // Let Windows still handle the SYSKEYs + processed = FALSE; break; case WM_SYSKEYUP: @@ -3116,16 +3142,22 @@ bool wxWindowMSW::HandleTooltipNotify(WXUINT code, LPTOOLTIPTEXT ttText = (LPTOOLTIPTEXT)lParam; +#if !wxUSE_UNICODE if ( code == (WXUINT) TTN_NEEDTEXTA ) { - ttText->lpszText = (wxChar *)ttip.c_str(); + // we pass just the pointer as we store the string internally anyhow + ttText->lpszText = (char *)ttip.c_str(); } - else + else // TTN_NEEDTEXTW +#endif // !Unicode { #if wxUSE_UNICODE + // in Unicode mode this is just what we need ttText->lpszText = (wxChar *)ttip.c_str(); #else // !Unicode - size_t lenAnsi = ttip.length(); + // in ANSI mode we have to convert the string and put it into the + // provided buffer: be careful not to overrun it + const size_t lenAnsi = ttip.length(); // some compilers (MetroWerks and Cygwin) don't like calling mbstowcs // with NULL argument @@ -3140,6 +3172,13 @@ bool wxWindowMSW::HandleTooltipNotify(WXUINT code, wchar_t *dst = (wchar_t *)ttText->szText, *pwz = new wchar_t[lenUnicode + 1]; mbstowcs(pwz, ttip, lenAnsi + 1); + + // stay inside the buffer (-1 because it must be NUL-terminated) + if ( lenUnicode > WXSIZEOF(ttText->szText) - 1 ) + { + lenUnicode = WXSIZEOF(ttText->szText) - 1; + } + memcpy(dst, pwz, lenUnicode*sizeof(wchar_t)); // put the terminating wide NUL @@ -3499,6 +3538,8 @@ bool wxWindowMSW::HandleSetCursor(WXHWND WXUNUSED(hWnd), if ( hcursor ) { +// wxLogDebug("HandleSetCursor: Setting cursor %ld", (long) hcursor); + ::SetCursor(hcursor); // cursor set, stop here @@ -4378,9 +4419,18 @@ bool wxWindowMSW::HandleChar(WXWPARAM wParam, WXLPARAM lParam, bool isASCII) } wxKeyEvent event(CreateKeyEvent(wxEVT_CHAR, id, lParam, wParam)); - if ( ctrlDown ) + + // the alphanumeric keys produced by pressing AltGr+something on European + // keyboards have both Ctrl and Alt modifiers which may confuse the user + // code as, normally, keys with Ctrl and/or Alt don't result in anything + // alphanumeric, so pretend that there are no modifiers at all (the + // KEY_DOWN event would still have the correct modifiers if they're really + // needed) + if ( event.m_controlDown && event.m_altDown && + (id >= 32 && id < 256) ) { - event.m_controlDown = TRUE; + event.m_controlDown = + event.m_altDown = FALSE; } return GetEventHandler()->ProcessEvent(event); @@ -5434,9 +5484,10 @@ static TEXTMETRIC wxGetTextMetrics(const wxWindowMSW *win) // Find the wxWindow at the current mouse position, returning the mouse // position. -wxWindow* wxFindWindowAtPointer(wxPoint& WXUNUSED(pt)) +wxWindow* wxFindWindowAtPointer(wxPoint& pt) { - return wxFindWindowAtPoint(wxGetMousePosition()); + pt = wxGetMousePosition(); + return wxFindWindowAtPoint(pt); } wxWindow* wxFindWindowAtPoint(const wxPoint& pt) diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 31c1d49629..4d47ed1550 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -613,7 +613,7 @@ int wxEntry( { if (wxTheApp->OnInit()) { - nRetValue = wxTheApp->OnRun(); + wxTheApp->OnRun(); } // Normal exit wxWindow* pTopWindow = wxTheApp->GetTopWindow(); @@ -641,7 +641,7 @@ int wxEntry( printf("wxTheApp->OnExit "); fflush(stdout); #endif - wxTheApp->OnExit(); + nRetValue = wxTheApp->OnExit(); #if wxUSE_CONSOLEDEBUG printf("wxApp::CleanUp "); fflush(stdout); @@ -965,19 +965,20 @@ bool wxApp::ProcessMessage( return FALSE; } // end of wxApp::ProcessMessage +bool gbInOnIdle = FALSE; + void wxApp::OnIdle( wxIdleEvent& rEvent ) { - static bool sbInOnIdle = FALSE; // // Avoid recursion (via ProcessEvent default case) // - if (sbInOnIdle) + if (gbInOnIdle) return; - sbInOnIdle = TRUE; + gbInOnIdle = TRUE; // // If there are pending events, we must process them: pending events @@ -1019,7 +1020,7 @@ void wxApp::OnIdle( // rEvent.RequestMore(TRUE); } - sbInOnIdle = FALSE; + gbInOnIdle = FALSE; } // end of wxApp::OnIdle // Send idle event to all top-level windows diff --git a/src/os2/bitmap.cpp b/src/os2/bitmap.cpp index 8727225de8..76b31572f2 100644 --- a/src/os2/bitmap.cpp +++ b/src/os2/bitmap.cpp @@ -508,7 +508,7 @@ bool wxBitmap::SaveFile( // ---------------------------------------------------------------------------- -// wxImage-wxBitmap convertion +// wxImage-wxBitmap conversion // ---------------------------------------------------------------------------- bool wxBitmap::CreateFromImage ( diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index 038fa35ec5..867815ccdf 100644 --- a/src/os2/combobox.cpp +++ b/src/os2/combobox.cpp @@ -173,37 +173,8 @@ void wxComboBox::SetValue( const wxString& rsValue ) { - // - // If newlines are denoted by just 10, must stick 13 in front. - // - int nSingletons = 0; - int nLen = rsValue.Length(); - int i; - - for (i = 0; i < nLen; i ++) - { - if ((i > 0) && (rsValue[i] == 10) && (rsValue[i - 1] != 13)) - nSingletons ++; - } - if (nSingletons > 0) - { - wxChar* zTmp = new wxChar[nLen + nSingletons + 1]; - int j = 0; - - for (i = 0; i < nLen; i ++) - { - if ((i > 0) && (rsValue[i] == 10) && (rsValue[i - 1] != 13)) - { - zTmp[j] = 13; - j++; - } - zTmp[j] = rsValue[i]; - j++; - } - zTmp[j] = 0; - ::WinSetWindowText(GetHwnd(), zTmp); - delete[] zTmp; - } + if ( HasFlag(wxCB_READONLY) ) + SetStringSelection(rsValue); else ::WinSetWindowText(GetHwnd(), rsValue.c_str()); } // end of wxComboBox::SetValue diff --git a/src/os2/dialog.cpp b/src/os2/dialog.cpp index eb635379c9..1ab046a28e 100644 --- a/src/os2/dialog.cpp +++ b/src/os2/dialog.cpp @@ -206,6 +206,15 @@ void wxDialog::DoShowModal() // ::WinProcessDlg((HWND)GetHwnd()); + // + // Before entering the modal loop, reset the "is in OnIdle()" flag (see + // comment in app.cpp) + // + extern bool gbInOnIdle; + bool bWasInOnIdle = gbInOnIdle; + + gbInOnIdle = FALSE; + // // Enter the modal loop // @@ -221,6 +230,7 @@ void wxDialog::DoShowModal() // a message came or no more idle processing to do wxTheApp->DoMessage(); } + gbInOnIdle = bWasInOnIdle; // // Snd restore focus diff --git a/src/os2/files.lst b/src/os2/files.lst index 475e44ca76..53eb780483 100644 --- a/src/os2/files.lst +++ b/src/os2/files.lst @@ -20,6 +20,7 @@ ALL_SOURCES = \ generic/laywin.cpp \ generic/listctrl.cpp \ generic/logg.cpp \ + generic/mdig.cpp \ generic/msgdlgg.cpp \ generic/numdlgg.cpp \ generic/panelg.cpp \ @@ -212,12 +213,10 @@ ALL_SOURCES = \ os2/joystick.cpp \ os2/listbox.cpp \ os2/main.cpp \ - os2/mdi.cpp \ os2/menu.cpp \ os2/menuitem.cpp \ os2/metafile.cpp \ os2/mimetype.cpp \ - os2/minifram.cpp \ os2/msgdlg.cpp \ os2/nativdlg.cpp \ os2/notebook.cpp \ @@ -265,7 +264,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -336,6 +334,7 @@ ALL_HEADERS = \ dynarray.h \ dynlib.h \ dynload.h \ + effects.h \ encconv.h \ event.h \ expr.h \ @@ -548,7 +547,6 @@ ALL_HEADERS = \ os2/iniconf.h \ os2/joystick.h \ os2/listbox.h \ - os2/mdi.h \ os2/menu.h \ os2/menuitem.h \ os2/metafile.h \ @@ -603,7 +601,7 @@ ALL_HEADERS = \ generic/imaglist.h \ generic/laywin.h \ generic/listctrl.h \ - generic/mdig.cpp \ + generic/mdig.h \ generic/msgdlgg.h \ generic/notebook.h \ generic/paletteg.h \ @@ -793,6 +791,7 @@ GENERICOBJS = \ laywin.o \ listctrl.o \ logg.o \ + mdig.o \ msgdlgg.o \ numdlgg.o \ panelg.o \ @@ -858,12 +857,10 @@ GUIOBJS = \ joystick.o \ listbox.o \ main.o \ - mdi.o \ menu.o \ menuitem.o \ metafile.o \ mimetype.o \ - minifram.o \ msgdlg.o \ nativdlg.o \ notebook.o \ @@ -915,7 +912,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/os2/makefile.va b/src/os2/makefile.va index 514668cd37..e5001f5cfc 100644 --- a/src/os2/makefile.va +++ b/src/os2/makefile.va @@ -646,7 +646,6 @@ HTMLOBJS = \ ..\html\$D\m_layout.obj \ ..\html\$D\m_links.obj \ ..\html\$D\m_list.obj \ - ..\html\$D\m_meta.obj \ ..\html\$D\m_pre.obj \ ..\html\$D\m_style.obj \ ..\html\$D\m_tables.obj \ @@ -669,7 +668,6 @@ HTMLLIBOBJS = \ m_layout.obj \ m_links.obj \ m_list.obj \ - m_meta.obj \ m_pre.obj \ m_style.obj \ m_tables.obj \ @@ -900,7 +898,6 @@ $(HTMLLIBOBJS): copy ..\html\$D\m_layout.obj copy ..\html\$D\m_links.obj copy ..\html\$D\m_list.obj - copy ..\html\$D\m_meta.obj copy ..\html\$D\m_pre.obj copy ..\html\$D\m_style.obj copy ..\html\$D\m_tables.obj diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index dbf582f6d4..fe64de1281 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -212,19 +212,34 @@ int wxNotebook::SetSelection( ) { wxCHECK_MSG( IS_VALID_PAGE(nPage), -1, wxT("notebook page out of range") ); - int nOldPage = GetSelection(); - ChangePage( m_nSelection - ,nPage - ); + if (nPage != m_nSelection) + { + wxNotebookEvent vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING + ,m_windowId + ); - ULONG ulPageId = (ULONG)m_alPageId[nPage]; + vEvent.SetSelection(nPage); + vEvent.SetOldSelection(m_nSelection); + vEvent.SetEventObject(this); + if (!GetEventHandler()->ProcessEvent(vEvent) || vEvent.IsAllowed()) + { - ::WinSendMsg( GetHWND() - ,BKM_TURNTOPAGE - ,MPFROMLONG((ULONG)m_alPageId[nPage]) - ,(MPARAM)0 - ); + // + // Program allows the page change + // + vEvent.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED); + GetEventHandler()->ProcessEvent(vEvent); + + ULONG ulPageId = (ULONG)m_alPageId[nPage]; + + ::WinSendMsg( GetHWND() + ,BKM_TURNTOPAGE + ,MPFROMLONG((ULONG)m_alPageId[nPage]) + ,(MPARAM)0 + ); + } + } m_nSelection = nPage; return nPage; } // end of wxNotebook::SetSelection @@ -891,56 +906,5 @@ bool wxNotebook::OS2OnScroll ( ); } // end of wxNotebook::OS2OnScroll -// ---------------------------------------------------------------------------- -// wxNotebook helper functions -// ---------------------------------------------------------------------------- - -// -// Generate the page changing and changed events, hide the currently active -// panel and show the new one -// -void wxNotebook::ChangePage ( - int nOldSel -, int nSel -) -{ - static bool sbInsideChangePage = FALSE; - - // - // When we call ProcessEvent(), our own OnSelChange() is called which calls - // this function - break the infinite loop - // - if (sbInsideChangePage) - return; - - // - // It's not an error (the message may be generated by the tab control itself) - // and it may happen - just do nothing - // - if (nSel == nOldSel) - return; - - sbInsideChangePage = TRUE; - - wxNotebookEvent rEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING - ,m_windowId - ); - - rEvent.SetSelection(nSel); - rEvent.SetOldSelection(nOldSel); - rEvent.SetEventObject(this); - if (GetEventHandler()->ProcessEvent(rEvent) && !rEvent.IsAllowed()) - { - // - // Program doesn't allow the page change - // - sbInsideChangePage = FALSE; - return; - } - rEvent.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED); - GetEventHandler()->ProcessEvent(rEvent); - sbInsideChangePage = FALSE; -} // end of wxNotebook::ChangePage - #endif // wxUSE_NOTEBOOK diff --git a/src/os2/os2jpeg.def b/src/os2/os2jpeg.def index e8a935a8ad..6a6f7aa7cc 100644 --- a/src/os2/os2jpeg.def +++ b/src/os2/os2jpeg.def @@ -4,7 +4,7 @@ DATA MULTIPLE NONSHARED READWRITE LOADONCALL CODE LOADONCALL EXPORTS -;From library: H:\DEV\WX24\WXWINDOWS\LIB\os2jpeg.lib +;From library: H:\Dev\wx24\WxWindows\lib\os2jpeg.lib ;From object file: ..\jpeg\jcomapi.c ;PUBDEFs (Symbols available from object file): jpeg_destroy diff --git a/src/os2/os2png.def b/src/os2/os2png.def index 396c76832b..fee334e465 100644 --- a/src/os2/os2png.def +++ b/src/os2/os2png.def @@ -4,7 +4,7 @@ DATA MULTIPLE NONSHARED READWRITE LOADONCALL CODE LOADONCALL EXPORTS -;From library: H:\DEV\WX24\WXWINDOWS\LIB\os2png.lib +;From library: H:\Dev\wx24\WxWindows\lib\os2png.lib ;From object file: ..\png\png.c ;PUBDEFs (Symbols available from object file): png_free_data @@ -20,7 +20,6 @@ EXPORTS png_info_init png_destroy_info_struct png_get_io_ptr - png_libpng_ver png_get_libpng_ver png_set_sig_bytes png_check_sig diff --git a/src/os2/ownerdrw.cpp b/src/os2/ownerdrw.cpp index 9e9dd6568d..2cfddaec1b 100644 --- a/src/os2/ownerdrw.cpp +++ b/src/os2/ownerdrw.cpp @@ -18,7 +18,7 @@ #ifndef WX_PRECOMP #include "wx/window.h" - #include "wx/msw/private.h" + #include "wx/os2/private.h" #include "wx/font.h" #include "wx/bitmap.h" #include "wx/dcmemory.h" diff --git a/src/os2/radiobut.cpp b/src/os2/radiobut.cpp index 0b8784621c..76e9a65dde 100644 --- a/src/os2/radiobut.cpp +++ b/src/os2/radiobut.cpp @@ -70,9 +70,23 @@ bool wxRadioButton::Create( ,rsName)) return FALSE; - long lSstyle = HasFlag(wxRB_GROUP) ? WS_GROUP : 0; + long lSstyle = WS_TABSTOP; - lSstyle |= BS_AUTORADIOBUTTON; + if (HasFlag(wxRB_GROUP)) + lSstyle |= WS_GROUP; + + // + // wxRB_SINGLE is a temporary workaround for the following problem: if you + // have 2 radiobuttons in the same group but which are not consecutive in + // the dialog, Windows can enter an infinite loop! The simplest way to + // reproduce it is to create radio button, then a panel and then another + // radio button: then checking the last button hangs the app. + // + // Ideally, we'd detect (and avoid) such situation automatically but for + // now, as I don't know how to do it, just allow the user to create + // BS_RADIOBUTTON buttons for such situations. + // + lSstyle |= HasFlag(wxRB_SINGLE) ? BS_RADIOBUTTON : BS_AUTORADIOBUTTON; if (HasFlag(wxCLIP_SIBLINGS)) lSstyle |= WS_CLIPSIBLINGS; @@ -148,18 +162,38 @@ bool wxRadioButton::OS2Command( , WXWORD wId ) { - if (wParam == BN_CLICKED) + if (wParam != BN_CLICKED) + return FALSE; + + if (m_bFocusJustSet) + { + // + // See above: we want to ignore this event + // + m_bFocusJustSet = FALSE; + } + else { + bool bIsChecked = GetValue(); + + if (HasFlag(wxRB_SINGLE)) + { + // + // When we use a "manual" radio button, we have to check the button + // ourselves -- but it's reset to unchecked state by the user code + // (presumably when another button is pressed) + // + if (!bIsChecked ) + SetValue(TRUE); + } wxCommandEvent rEvent( wxEVT_COMMAND_RADIOBUTTON_SELECTED ,m_windowId ); rEvent.SetEventObject(this); ProcessCommand(rEvent); - return TRUE; } - else - return FALSE; + return TRUE; } // end of wxRadioButton::OS2Command void wxRadioButton::SetFocus() @@ -190,6 +224,63 @@ void wxRadioButton::SetValue( ) { ::WinSendMsg((HWND)GetHWND(), BM_SETCHECK, (MPARAM)bValue, (MPARAM)0); + if (bValue) + { + const wxWindowList& rSiblings = GetParent()->GetChildren(); + wxWindowList::Node* pNodeThis = rSiblings.Find(this); + + wxCHECK_RET(pNodeThis, _T("radio button not a child of its parent?")); + + // + // Turn off all radio buttons before this one + // + for ( wxWindowList::Node* pNodeBefore = pNodeThis->GetPrevious(); + pNodeBefore; + pNodeBefore = pNodeBefore->GetPrevious() ) + { + wxRadioButton* pBtn = wxDynamicCast( pNodeBefore->GetData() + ,wxRadioButton + ); + if (!pBtn) + { + // + // The radio buttons in a group must be consecutive, so there + // are no more of them + // + break; + } + pBtn->SetValue(FALSE); + if (pBtn->HasFlag(wxRB_GROUP)) + { + // + // Even if there are other radio buttons before this one, + // they're not in the same group with us + // + break; + } + } + + // + // ... and all after this one + // + for (wxWindowList::Node* pNodeAfter = pNodeThis->GetNext(); + pNodeAfter; + pNodeAfter = pNodeAfter->GetNext()) + { + wxRadioButton* pBtn = wxDynamicCast( pNodeAfter->GetData() + ,wxRadioButton + ); + + if (!pBtn || pBtn->HasFlag(wxRB_GROUP) ) + { + // + // No more buttons or the first button of the next group + // + break; + } + pBtn->SetValue(FALSE); + } + } } // end of wxRadioButton::SetValue MRESULT wxRadioButton::OS2WindowProc( diff --git a/src/os2/textctrl.cpp b/src/os2/textctrl.cpp index 9d38365087..c567806c24 100644 --- a/src/os2/textctrl.cpp +++ b/src/os2/textctrl.cpp @@ -86,6 +86,10 @@ wxTextCtrl::wxTextCtrl() { } +wxTextCtrl::~wxTextCtrl() +{ +} + bool wxTextCtrl::Create( wxWindow* pParent , wxWindowID vId @@ -1233,6 +1237,29 @@ void wxTextCtrl::OnRedo( Redo(); } // end of wxTextCtrl::OnRedo +void wxTextCtrl::OnDelete( + wxCommandEvent& rEvent +) +{ + long lFrom; + long lTo; + + GetSelection( &lFrom + ,&lTo + ); + if (lFrom != -1 && lTo != -1) + Remove( lFrom + ,lTo + ); +} // end of wxTextCtrl::OnDelete + +void wxTextCtrl::OnSelectAll( + wxCommandEvent& rEvent +) +{ + SetSelection(-1, -1); +} // end of wxTextCtrl::OnSelectAll + void wxTextCtrl::OnUpdateCut( wxUpdateUIEvent& rEvent ) @@ -1268,6 +1295,26 @@ void wxTextCtrl::OnUpdateRedo( rEvent.Enable(CanRedo()); } // end of wxTextCtrl::OnUpdateRedo +void wxTextCtrl::OnUpdateDelete( + wxUpdateUIEvent& rEvent +) +{ + long lFrom; + long lTo; + + GetSelection( &lFrom + ,&lTo + ); + rEvent.Enable( lFrom != -1L && lTo != -1L && lFrom != lTo && IsEditable()) ; +} // end of wxTextCtrl::OnUpdateDelete + +void wxTextCtrl::OnUpdateSelectAll( + wxUpdateUIEvent& rEvent +) +{ + rEvent.Enable(GetLastPosition() > 0); +} // end of wxTextCtrl::OnUpdateSelectAll + bool wxTextCtrl::SetBackgroundColour( const wxColour& rColour ) diff --git a/src/os2/thread.cpp b/src/os2/thread.cpp index db6ba06510..ad67a34b11 100644 --- a/src/os2/thread.cpp +++ b/src/os2/thread.cpp @@ -9,6 +9,10 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ + #pragma implementation "thread.h" +#endif + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -30,8 +34,9 @@ #define INCL_DOSPROCESS #define INCL_ERRORS #include +#ifndef __EMX__ #include - +#endif // the possible states of the thread ("=>" shows all possible transitions from // this state) enum wxThreadState diff --git a/src/os2/toplevel.cpp b/src/os2/toplevel.cpp index 3f5d41eeba..252b601bd0 100644 --- a/src/os2/toplevel.cpp +++ b/src/os2/toplevel.cpp @@ -37,6 +37,7 @@ #include "wx/frame.h" #include "wx/control.h" #include "wx/containr.h" // wxSetFocusToChild() + #include "wx/module.h" // wxSetFocusToChild() #endif //WX_PRECOMP #include "wx/os2/private.h" diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 4ff213b9de..c60c92419b 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -710,7 +710,7 @@ wxChar* wxGetUserHome ( if ((zHome = wxGetenv(_T("HOME"))) != NULL) { wxStrcpy(wxBuffer, zHome); - Unix2DosFilename(wxBuffer); + wxUnix2DosFilename(wxBuffer); wxStrcpy(zHome, wxBuffer); delete[] wxBuffer; return zHome; diff --git a/src/os2/window.cpp b/src/os2/window.cpp index d88927fcae..4ab8890da9 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -2427,6 +2427,14 @@ bool wxWindowOS2::OS2ProcessMessage( pBtn->OS2Command(BN_CLICKED, 0 /* unused */); return TRUE; } + else if (!IsTopLevel()) + { + // + // if not a top level window, let parent + // handle it + // + return FALSE; + } // else: but if it does not it makes sense to make // it work like a TAB - and that's what we do. // Note that Ctrl-Enter always works this way. diff --git a/src/os2/wx23.def b/src/os2/wx23.def index 1c249fb752..fa63bc9b47 100644 --- a/src/os2/wx23.def +++ b/src/os2/wx23.def @@ -4,7 +4,7 @@ DATA MULTIPLE NONSHARED READWRITE LOADONCALL CODE LOADONCALL EXPORTS -;From library: H:\DEV\WX24\WXWINDOWS\LIB\wx.lib +;From library: H:\Dev\Wx24\WxWindows\lib\wx.lib ;From object file: dummy.cpp ;PUBDEFs (Symbols available from object file): wxDummyChar @@ -44,13 +44,11 @@ EXPORTS ;From object file: ..\common\artstd.cpp ;PUBDEFs (Symbols available from object file): g_ArtProviderModule - ;wxDefaultArtProviderModule::sm_classwxDefaultArtProviderModule - sm_classwxDefaultArtProviderModule__26wxDefaultArtProviderModule __vft20wxDefaultArtProvider8wxObject ;wxDefaultArtProvider::CreateBitmap(const wxString&,const wxString&,const wxSize&) CreateBitmap__20wxDefaultArtProviderFRC8wxStringT1RC6wxSize - ;wxConstructorForwxDefaultArtProviderModule() - wxConstructorForwxDefaultArtProviderModule__Fv + ;wxArtProvider::InitStdProvider() + InitStdProvider__13wxArtProviderFv ;From object file: ..\common\appcmn.cpp ;PUBDEFs (Symbols available from object file): ;wxAssert(int,const char*,int,const char*,const char*) @@ -608,10 +606,12 @@ EXPORTS DoEmpty__15wxDateTimeArrayFv ;wxDateTime::Add(const wxTimeSpan&) const Add__10wxDateTimeCFRC10wxTimeSpan - ;wxDateTime::SetMinute(unsigned short) - SetMinute__10wxDateTimeFUs + ;wxDateTime::SetToWeekDayInSameWeek(wxDateTime::WeekDay,wxDateTime::WeekFlags) + SetToWeekDayInSameWeek__10wxDateTimeFQ2_10wxDateTime7WeekDayQ2_10wxDateTime9WeekFlags ;wxDateTime::SetSecond(unsigned short) SetSecond__10wxDateTimeFUs + ;wxDateTime::SetMinute(unsigned short) + SetMinute__10wxDateTimeFUs ;wxDateTime::MakeTimezone(const wxDateTime::TimeZone&,unsigned long) MakeTimezone__10wxDateTimeFRCQ2_10wxDateTime8TimeZoneUl ;wxTimeSpan::wxTimeSpan(long,long,long,long) @@ -648,10 +648,12 @@ EXPORTS GetCurrentYear__10wxDateTimeFQ2_10wxDateTime8Calendar ;wxDateSpan::Add(const wxDateSpan&) Add__10wxDateSpanFRC10wxDateSpan - ;wxDateTime::SetDay(unsigned short) - SetDay__10wxDateTimeFUs + ;wxDateTime::SetToTheWeek(unsigned short,wxDateTime::WeekDay,wxDateTime::WeekFlags) + SetToTheWeek__10wxDateTimeFUsQ2_10wxDateTime7WeekDayQ2_10wxDateTime9WeekFlags ;wxDateTime::SetHour(unsigned short) SetHour__10wxDateTimeFUs + ;wxDateTime::SetDay(unsigned short) + SetDay__10wxDateTimeFUs ;wxDateTime::wxDateTime(long) __ct__10wxDateTimeFl ;wxDateTime::Set(double) @@ -684,8 +686,6 @@ EXPORTS IsEqualTo__10wxDateTimeCFRC10wxDateTime ;wxDateTime::IsBetween(const wxDateTime&,const wxDateTime&) const IsBetween__10wxDateTimeCFRC10wxDateTimeT1 - ;wxDateTime::GetWeek(unsigned short,wxDateTime::WeekDay) const - GetWeek__10wxDateTimeCFUsQ2_10wxDateTime7WeekDay ;wxDateTime::GetLastWeekDay(wxDateTime::WeekDay,wxDateTime::Month,int) GetLastWeekDay__10wxDateTimeFQ2_10wxDateTime7WeekDayQ2_10wxDateTime5Monthi ;wxDateTime::GetEndDST(int,wxDateTime::Country) @@ -733,10 +733,6 @@ EXPORTS TIME_T_FACTOR__10wxDateTime ;wxDateTime::Subtract(const wxDateTime&) const Subtract__10wxDateTimeCFRC10wxDateTime - ;wxDateTime::SetToWeekDayInSameWeek(wxDateTime::WeekDay) - SetToWeekDayInSameWeek__10wxDateTimeFQ2_10wxDateTime7WeekDay - ;wxDateTime::SetToTheWeek(unsigned short,wxDateTime::WeekDay) - SetToTheWeek__10wxDateTimeFUsQ2_10wxDateTime7WeekDay ;wxDateTime::SetToPrevWeekDay(wxDateTime::WeekDay) SetToPrevWeekDay__10wxDateTimeFQ2_10wxDateTime7WeekDay ;wxDateTime::IsSameTime(const wxDateTime&) const @@ -777,8 +773,8 @@ EXPORTS Add__10wxDateTimeFRC10wxTimeSpan ;wxDateTime::Add(const wxDateSpan&) const Add__10wxDateTimeCFRC10wxDateSpan - ;wxDateTime::GetMonthName(wxDateTime::Month,wxDateTime::NameFlags) - GetMonthName__10wxDateTimeFQ2_10wxDateTime5MonthQ2_10wxDateTime9NameFlags + ;wxDateTime::GetWeek(unsigned short,wxDateTime::WeekDay,wxDateTime::WeekFlags) const + GetWeek__10wxDateTimeCFUsQ2_10wxDateTime7WeekDayQ2_10wxDateTime9WeekFlags ;wxDateTime::SetMillisecond(unsigned short) SetMillisecond__10wxDateTimeFUs ;wxDateTime::ParseDate(const char*) @@ -787,10 +783,14 @@ EXPORTS ParseDateTime__10wxDateTimeFPCc ;wxDateTime::GetWeekDayName(wxDateTime::WeekDay,wxDateTime::NameFlags) GetWeekDayName__10wxDateTimeFQ2_10wxDateTime7WeekDayQ2_10wxDateTime9NameFlags + ;wxDateTime::GetMonthName(wxDateTime::Month,wxDateTime::NameFlags) + GetMonthName__10wxDateTimeFQ2_10wxDateTime5MonthQ2_10wxDateTime9NameFlags ;wxDateTime::Set(long) Set__10wxDateTimeFl ;wxDateTime::ToTimezone(const wxDateTime::TimeZone&,unsigned long) const ToTimezone__10wxDateTimeCFRCQ2_10wxDateTime8TimeZoneUl + ;wxDateTime::SetFromDOS(unsigned long) + SetFromDOS__10wxDateTimeFUl ;wxDateTimeArray::Index(const wxDateTime&,unsigned long) const Index__15wxDateTimeArrayCFRC10wxDateTimeUl ;wxDateTime::wxDateTime(unsigned short,wxDateTime::Month,int,unsigned short,unsigned short,unsigned short,unsigned short) @@ -810,8 +810,6 @@ EXPORTS IsEarlierThan__10wxDateTimeCFRC10wxDateTime ;wxDateTime::GetWeekOfMonth(wxDateTime::WeekFlags,const wxDateTime::TimeZone&) const GetWeekOfMonth__10wxDateTimeCFQ2_10wxDateTime9WeekFlagsRCQ2_10wxDateTime8TimeZone - ;wxDateTime::GetWeekDayInSameWeek(wxDateTime::WeekDay) const - GetWeekDayInSameWeek__10wxDateTimeCFQ2_10wxDateTime7WeekDay ;wxDateTimeArray::DoCopy(const wxDateTimeArray&) DoCopy__15wxDateTimeArrayFRC15wxDateTimeArray ;wxDateTime::IsInStdRange() const @@ -838,16 +836,20 @@ EXPORTS GetValue__10wxDateTimeCFv ;wxDateTime::GetRataDie() const GetRataDie__10wxDateTimeCFv + ;wxDateTime::GetAsDOS() const + GetAsDOS__10wxDateTimeCFv ;wxTimeSpan::Add(const wxTimeSpan&) const Add__10wxTimeSpanCFRC10wxTimeSpan ;wxDateTime::Add(const wxDateSpan&) Add__10wxDateTimeFRC10wxDateSpan ;wxTimeSpan::Abs() const Abs__10wxTimeSpanCFv - ;wxDateTime::GetYearDay(unsigned short) const - GetYearDay__10wxDateTimeCFUs + ;wxDateTime::GetWeekDayInSameWeek(wxDateTime::WeekDay,wxDateTime::WeekFlags) const + GetWeekDayInSameWeek__10wxDateTimeCFQ2_10wxDateTime7WeekDayQ2_10wxDateTime9WeekFlags ;wxDateTime::SetToYearDay(unsigned short) SetToYearDay__10wxDateTimeFUs + ;wxDateTime::GetYearDay(unsigned short) const + GetYearDay__10wxDateTimeCFUs ;wxTimeSpan::Format(const char*) const Format__10wxTimeSpanCFPCc ;From object file: ..\common\datstrm.cpp @@ -1848,6 +1850,8 @@ EXPORTS sm_classwxEvent__7wxEvent ;wxEraseEvent::sm_classwxEraseEvent sm_classwxEraseEvent__12wxEraseEvent + ;wxKeyEvent::wxKeyEvent(const wxKeyEvent&) + __ct__10wxKeyEventFRC10wxKeyEvent ;wxEvtHandler::SearchEventTable(wxEventTable&,wxEvent&) SearchEventTable__12wxEvtHandlerFR12wxEventTableR7wxEvent ;wxEvtHandler::ProcessEvent(wxEvent&) @@ -2256,10 +2260,10 @@ EXPORTS GetTimes__10wxFileNameCFP10wxDateTimeN21 ;wxFileName::Clear() Clear__10wxFileNameFv - ;wxFileName::wxFileExists() - wxFileExists__10wxFileNameFv ;wxFileName::GetFullName() const GetFullName__10wxFileNameCFv + ;wxFileName::DirExists() + DirExists__10wxFileNameFv ;wxFileName::AssignHomeDir() AssignHomeDir__10wxFileNameFv ;wxFileName::PrependDir(const wxString&) @@ -2276,26 +2280,26 @@ EXPORTS Touch__10wxFileNameFv ;wxFileName::FileName(const wxString&) FileName__10wxFileNameFRC8wxString - ;wxFileName::wxPathExists(const wxString&) - wxPathExists__10wxFileNameFRC8wxString ;wxFileName::SetFullName(const wxString&) SetFullName__10wxFileNameFRC8wxString ;wxFileName::GetCwd(const wxString&) GetCwd__10wxFileNameFRC8wxString + ;wxFileName::DirExists(const wxString&) + DirExists__10wxFileNameFRC8wxString ;wxFileName::AssignCwd(const wxString&) AssignCwd__10wxFileNameFRC8wxString ;wxFileName::Assign(const wxString&,const wxString&,const wxString&,const wxString&,wxPathFormat) Assign__10wxFileNameFRC8wxStringN3112wxPathFormat - ;wxFileName::SameAs(const wxFileName&,wxPathFormat) - SameAs__10wxFileNameFRC10wxFileName12wxPathFormat + ;wxFileName::SameAs(const wxFileName&,wxPathFormat) const + SameAs__10wxFileNameCFRC10wxFileName12wxPathFormat ;wxFileName::IsAbsolute(wxPathFormat) const IsAbsolute__10wxFileNameCF12wxPathFormat ;wxFileName::GetVolumeSeparator(wxPathFormat) GetVolumeSeparator__10wxFileNameF12wxPathFormat ;wxFileName::RemoveDir(int) RemoveDir__10wxFileNameFi - ;wxFileName::wxPathExists() - wxPathExists__10wxFileNameFv + ;wxFileName::FileExists() + FileExists__10wxFileNameFv ;wxFileName::SetCwd() SetCwd__10wxFileNameFv ;wxFileName::GetShortPath() const @@ -2320,8 +2324,6 @@ EXPORTS Rmdir__10wxFileNameFv ;wxFileName::GetLongPath() const GetLongPath__10wxFileNameCFv - ;wxFileName::wxFileExists(const wxString&) - wxFileExists__10wxFileNameFRC8wxString ;wxFileName::InsertDir(int,const wxString&) InsertDir__10wxFileNameFiRC8wxString ;wxFileName::Assign(const wxString&,const wxString&,wxPathFormat) @@ -2346,6 +2348,8 @@ EXPORTS SetCwd__10wxFileNameFRC8wxString ;wxFileName::Rmdir(const wxString&) Rmdir__10wxFileNameFRC8wxString + ;wxFileName::FileExists(const wxString&) + FileExists__10wxFileNameFRC8wxString ;From object file: ..\common\filesys.cpp ;PUBDEFs (Symbols available from object file): __vft19wxFileSystemHandler8wxObject @@ -2623,8 +2627,8 @@ EXPORTS Close__5wxFTPFv ;wxFTP::MkDir(const wxString&) MkDir__5wxFTPFRC8wxString - ;wxFTP::wxFileExists(const wxString&) - wxFileExists__5wxFTPFRC8wxString + ;wxFTP::FileExists(const wxString&) + FileExists__5wxFTPFRC8wxString ;wxFTP::Rename(const wxString&,const wxString&) Rename__5wxFTPFRC8wxStringT1 ;wxFTP::wxFTP() @@ -2813,6 +2817,8 @@ EXPORTS Union__14wxRect2DDoubleFRC14wxRect2DDoubleT1P14wxRect2DDouble ;wxRect2DDouble::Intersects(const wxRect2DDouble&) const Intersects__14wxRect2DDoubleCFRC14wxRect2DDouble + ;wxPoint2DInt::GetVectorAngle() const + GetVectorAngle__12wxPoint2DIntCFv ;wxRect2DInt::Union(const wxRect2DInt&,const wxRect2DInt&,wxRect2DInt*) Union__11wxRect2DIntFRC11wxRect2DIntT1P11wxRect2DInt ;wxPoint2DInt::SetVectorAngle(double) @@ -2827,8 +2833,6 @@ EXPORTS Intersects__11wxRect2DIntCFRC11wxRect2DInt ;wxPoint2DInt::WriteTo(wxDataOutputStream&) const WriteTo__12wxPoint2DIntCFR18wxDataOutputStream - ;wxPoint2DInt::GetVectorAngle() - GetVectorAngle__12wxPoint2DIntFv ;From object file: ..\common\gifdecod.cpp ;PUBDEFs (Symbols available from object file): ;wxGIFDecoder::wxGIFDecoder(wxInputStream*,unsigned long) @@ -5125,9 +5129,11 @@ EXPORTS SetScreenType__16wxSystemSettingsF18wxSystemScreenType ;From object file: ..\common\sizer.cpp ;PUBDEFs (Symbols available from object file): + ;wxSizer::Show(wxSizer*,unsigned long) + Show__7wxSizerFP7wxSizerUl + __vft11wxGridSizer8wxObject ;wxSizerItem::wxSizerItem(int,int,int,int,int,wxObject*) __ct__11wxSizerItemFiN41P8wxObject - __vft11wxGridSizer8wxObject ;wxSizerItem::wxSizerItem(wxSizer*,int,int,int,wxObject*) __ct__11wxSizerItemFP7wxSizeriN22P8wxObject ;wxSizer::Insert(int,wxSizer*,int,int,int,wxObject*) @@ -5198,6 +5204,8 @@ EXPORTS RecalcSizes__16wxStaticBoxSizerFv ;wxSizerItem::IsWindow() IsWindow__11wxSizerItemFv + ;wxSizer::IsShown(wxSizer*) + IsShown__7wxSizerFP7wxSizer ;wxSizerItem::GetSize() GetSize__11wxSizerItemFv ;wxNotebookSizer::CalcMin() @@ -5208,10 +5216,14 @@ EXPORTS Remove__7wxSizerFP8wxWindow ;wxSizer::FitSize(wxWindow*) FitSize__7wxSizerFP8wxWindow - ;wxSizer::Clear(unsigned long) - Clear__7wxSizerFUl + ;wxSizer::Show(wxWindow*,unsigned long) + Show__7wxSizerFP8wxWindowUl __vft7wxSizer8wxObject __vft15wxNotebookSizer8wxObject + ;wxSizer::ShowItems(unsigned long) + ShowItems__7wxSizerFUl + ;wxSizer::Clear(unsigned long) + Clear__7wxSizerFUl ;wxSizer::Remove(int) Remove__7wxSizerFi ;wxSizer::GetMinSize() @@ -5258,6 +5270,8 @@ EXPORTS DeleteWindows__11wxSizerItemFv ;wxSizer::GetMinClientSize(wxWindow*) GetMinClientSize__7wxSizerFP8wxWindow + ;wxSizer::IsShown(wxWindow*) + IsShown__7wxSizerFP8wxWindow ;wxSizer::GetMaxClientSize(wxWindow*) GetMaxClientSize__7wxSizerFP8wxWindow ;wxSizerItem::wxSizerItem(wxWindow*,int,int,int,wxObject*) @@ -5453,12 +5467,15 @@ EXPORTS SetName__8wxCSConvFPCc ;wxMBConvUTF7::MB2WC(wchar_t*,const char*,unsigned int) const MB2WC__12wxMBConvUTF7CFPwPCcUi + wxConvISO8859_1 ;wxStrConvModule::sm_classwxStrConvModule sm_classwxStrConvModule__15wxStrConvModule ;wxMBConvUTF8::WC2MB(char*,const wchar_t*,unsigned int) const WC2MB__12wxMBConvUTF8CFPcPCwUi ;wxMBConvUTF8::MB2WC(wchar_t*,const char*,unsigned int) const MB2WC__12wxMBConvUTF8CFPwPCcUi + ;wxMBConv::~wxMBConv() + __dt__8wxMBConvFv __vft12wxMBConvUTF88wxMBConv wxConvCurrent ;wxMBConv::WC2MB(char*,const wchar_t*,unsigned int) const @@ -5494,22 +5511,20 @@ EXPORTS ;PUBDEFs (Symbols available from object file): ;wxStreamBuffer::SetBufferIO(void*,unsigned int,unsigned long) SetBufferIO__14wxStreamBufferFPvUiUl - ;wxStreamBuffer::wxStreamBuffer(wxStreamBase&,wxStreamBuffer::BufMode) - __ct__14wxStreamBufferFR12wxStreamBaseQ2_14wxStreamBuffer7BufMode + ;wxStreamBuffer::wxStreamBuffer(wxStreamBuffer::BufMode) + __ct__14wxStreamBufferFQ2_14wxStreamBuffer7BufMode ;wxEndL(wxOutputStream&) wxEndL__FR14wxOutputStream __vft22wxBufferedOutputStream12wxStreamBase __vft14wxOutputStream12wxStreamBase - ;wxStreamBuffer::wxStreamBuffer(wxStreamBuffer::BufMode) - __ct__14wxStreamBufferFQ2_14wxStreamBuffer7BufMode + ;wxStreamBuffer::wxStreamBuffer(wxStreamBase&,wxStreamBuffer::BufMode) + __ct__14wxStreamBufferFR12wxStreamBaseQ2_14wxStreamBuffer7BufMode ;wxStreamBuffer::Write(const void*,unsigned int) Write__14wxStreamBufferFPCvUi ;wxInputStream::SeekI(long,wxSeekMode) SeekI__13wxInputStreamFl10wxSeekMode ;wxBufferedInputStream::OnSysRead(void*,unsigned int) OnSysRead__21wxBufferedInputStreamFPvUi - ;wxInputStream::OnSysRead(void*,unsigned int) - OnSysRead__13wxInputStreamFPvUi ;wxOutputStream::~wxOutputStream() __dt__14wxOutputStreamFv ;wxInputStream::~wxInputStream() @@ -5636,6 +5651,8 @@ EXPORTS Init__14wxStreamBufferFv ;wxStreamBuffer::GetInputStream() const GetInputStream__14wxStreamBufferCFv + ;wxInputStream::CanRead() const + CanRead__13wxInputStreamCFv ;wxStreamBuffer::PutChar(char) PutChar__14wxStreamBufferFc ;wxInputStream::Read(wxOutputStream&) @@ -5657,14 +5674,14 @@ EXPORTS GetFromBuffer__14wxStreamBufferFPvUi ;wxInputStream::AllocSpaceWBack(unsigned int) AllocSpaceWBack__13wxInputStreamFUi + ;wxStreamBuffer::ResetBuffer() + ResetBuffer__14wxStreamBufferFv ;wxOutputStream::wxOutputStream() __ct__14wxOutputStreamFv ;wxBufferedInputStream::TellI() const TellI__21wxBufferedInputStreamCFv ;wxBufferedOutputStream::Sync() Sync__22wxBufferedOutputStreamFv - ;wxStreamBuffer::ResetBuffer() - ResetBuffer__14wxStreamBufferFv ;wxStreamBuffer::Read(wxStreamBuffer*) Read__14wxStreamBufferFP14wxStreamBuffer ;wxBufferedInputStream::Peek() @@ -6405,8 +6422,6 @@ EXPORTS wxStripMenuCodes__FPCcPc ;wxSafeYield(wxWindow*) wxSafeYield__FP8wxWindow - ;StringMatch(const char*,const char*,unsigned long,unsigned long) - StringMatch__FPCcT1UlT3 ;wxFindMenuItemId(wxFrame*,const wxString&,const wxString&) wxFindMenuItemId__FP7wxFrameRC8wxStringT2 ;wxGetUserName() @@ -7167,8 +7182,8 @@ EXPORTS DoSetVirtualSize__12wxWindowBaseFiT1 ;wxWindowBase::DoHitTest(int,int) const DoHitTest__12wxWindowBaseCFiT1 - ;wxWindowBase::DoGetBestSize() const - DoGetBestSize__12wxWindowBaseCFv + ;wxWindowBase::FitInside() + FitInside__12wxWindowBaseFv ;wxWindowBase::TransferDataFromWindow() TransferDataFromWindow__12wxWindowBaseFv ;wxWindowBase::IsTopLevel() const @@ -7179,6 +7194,8 @@ EXPORTS GetHelpText__12wxWindowBaseCFv ;wxWindowBase::GetAncestorWithCustomPalette() const GetAncestorWithCustomPalette__12wxWindowBaseCFv + ;wxWindowBase::DoGetBestSize() const + DoGetBestSize__12wxWindowBaseCFv ;wxWindowBase::FindWindowByLabel(const wxString&,const wxWindow*) FindWindowByLabel__12wxWindowBaseFRC8wxStringPC8wxWindow ;wxWindowBase::FindWindowByName(const wxString&,const wxWindow*) @@ -7531,6 +7548,8 @@ EXPORTS HitTest__14wxCalendarCtrlFRC7wxPointP10wxDateTimePQ2_10wxDateTime7WeekDay ;wxCalendarCtrl::DoGetPosition(int*,int*) const DoGetPosition__14wxCalendarCtrlCFPiT1 + ;wxCalendarCtrl::wxCalendarCtrl(wxWindow*,int,const wxDateTime&,const wxPoint&,const wxSize&,long,const wxString&) + __ct__14wxCalendarCtrlFP8wxWindowiRC10wxDateTimeRC7wxPointRC6wxSizelRC8wxString ;wxCalendarCtrl::Enable(unsigned long) Enable__14wxCalendarCtrlFUl wxEVT_CALENDAR_WEEKDAY_CLICKED @@ -7903,13 +7922,13 @@ EXPORTS ;wxGenericDirCtrl::OnEndEditItem(wxTreeEvent&) OnEndEditItem__16wxGenericDirCtrlFR11wxTreeEvent __vft13wxDirItemData12wxClientData - ;wxGenericDirCtrl::Init() - Init__16wxGenericDirCtrlFv - __vft19wxDirFilterListCtrl15wxItemContainer ;wxDirItemData::~wxDirItemData() __dt__13wxDirItemDataFv + __vft19wxDirFilterListCtrl15wxItemContainer ;wxGenericDirCtrl::ParseFilter(const wxString&,wxArrayString&,wxArrayString&) ParseFilter__16wxGenericDirCtrlFRC8wxStringR13wxArrayStringT2 + ;wxGenericDirCtrl::Init() + Init__16wxGenericDirCtrlFv ;wxDirFilterListCtrl::GetEventTable() const GetEventTable__19wxDirFilterListCtrlCFv ;wxGenericDirCtrl::ExpandDir(wxTreeItemId) @@ -7918,14 +7937,14 @@ EXPORTS sm_eventTableEntries__19wxDirFilterListCtrl ;wxDirFilterListCtrl::OnSelFilter(wxCommandEvent&) OnSelFilter__19wxDirFilterListCtrlFR14wxCommandEvent - ;wxGenericDirCtrl::SetFilterIndex(int) - SetFilterIndex__16wxGenericDirCtrlFi ;wxDirFilterListCtrl::FillFilterList(const wxString&,int) FillFilterList__19wxDirFilterListCtrlFRC8wxStringi - ;wxGenericDirCtrl::ReCreateTree() - ReCreateTree__16wxGenericDirCtrlFv + ;wxGenericDirCtrl::SetFilterIndex(int) + SetFilterIndex__16wxGenericDirCtrlFi ;wxGenericDirCtrl::SetupSections() SetupSections__16wxGenericDirCtrlFv + ;wxGenericDirCtrl::ReCreateTree() + ReCreateTree__16wxGenericDirCtrlFv ;wxGenericDirCtrl::ShowHidden(unsigned long) ShowHidden__16wxGenericDirCtrlFUl ;wxGenericDirCtrl::OnCollapseItem(wxTreeEvent&) @@ -9144,9 +9163,9 @@ EXPORTS LayoutFrame__17wxLayoutAlgorithmFP7wxFrameP8wxWindow ;wxSashLayoutWindow::sm_classwxSashLayoutWindow sm_classwxSashLayoutWindow__18wxSashLayoutWindow + wxEVT_CALCULATE_LAYOUT ;wxCalculateLayoutEvent::sm_classwxCalculateLayoutEvent sm_classwxCalculateLayoutEvent__22wxCalculateLayoutEvent - wxEVT_CALCULATE_LAYOUT ;wxConstructorForwxQueryLayoutInfoEvent() wxConstructorForwxQueryLayoutInfoEvent__Fv wxEVT_QUERY_LAYOUT_INFO @@ -9366,6 +9385,8 @@ EXPORTS __ct__17wxListRenameTimerFP16wxListMainWindow ;wxGenericListCtrl::InsertColumn(long,const wxString&,int,int) InsertColumn__17wxGenericListCtrlFlRC8wxStringiT3 + ;wxListLineData::DrawTextFormatted(wxDC*,const wxString&,int,int,int,int) + DrawTextFormatted__14wxListLineDataFP4wxDCRC8wxStringiN33 ;wxListLineDataArray::Index(const wxListLineData&,unsigned long) const Index__19wxListLineDataArrayCFRC14wxListLineDataUl ;wxGenericListCtrl::sm_eventTableEntries @@ -9670,8 +9691,6 @@ EXPORTS GetColumnWidth__16wxListMainWindowCFi ;wxListLineDataArray::Add(const wxListLineData&,unsigned int) Add__19wxListLineDataArrayFRC14wxListLineDataUi - ;wxListLineDataArray::DoEmpty() - DoEmpty__19wxListLineDataArrayFv ;wxConstructorForwxListView() wxConstructorForwxListView__Fv ;wxConstructorForwxListHeaderWindow() @@ -9700,6 +9719,8 @@ EXPORTS GetCountPerPage__16wxListMainWindowCFv ;wxListHeaderWindow::DrawCurrent() DrawCurrent__18wxListHeaderWindowFv + ;wxListLineDataArray::DoEmpty() + DoEmpty__19wxListLineDataArrayFv ;wxListItemData::wxListItemData(wxListMainWindow*) __ct__14wxListItemDataFP16wxListMainWindow wxEVT_COMMAND_LIST_COL_END_DRAG @@ -10193,6 +10214,8 @@ EXPORTS GetScrollPixelsPerUnit__14wxScrollHelperCFPiT1 ;wxScrollHelper::Scroll(int,int) Scroll__14wxScrollHelperFiT1 + ;wxGenericScrolledWindow::DoSetVirtualSize(int,int) + DoSetVirtualSize__23wxGenericScrolledWindowFiT1 ;wxScrollHelper::~wxScrollHelper() __dt__14wxScrollHelperFv ;wxConstructorForwxGenericScrolledWindow() @@ -10352,8 +10375,12 @@ EXPORTS OnUnsplit__16wxSplitterWindowFP8wxWindow ;From object file: ..\generic\statusbr.cpp ;PUBDEFs (Symbols available from object file): + ;wxStatusBar::OnRightDown(wxMouseEvent&) + OnRightDown__11wxStatusBarFR12wxMouseEvent ;wxStatusBar::GetFieldRect(int,wxRect&) const GetFieldRect__11wxStatusBarCFiR6wxRect + ;wxStatusBar::OnLeftDown(wxMouseEvent&) + OnLeftDown__11wxStatusBarFR12wxMouseEvent ;wxStatusBar::SetStatusWidths(int,const int*) SetStatusWidths__11wxStatusBarFiPCi ;wxStatusBar::DrawField(wxDC&,int) @@ -10368,8 +10395,6 @@ EXPORTS Create__11wxStatusBarFP8wxWindowilRC8wxString ;wxStatusBar::OnPaint(wxPaintEvent&) OnPaint__11wxStatusBarFR12wxPaintEvent - ;wxStatusBar::OnSize(wxSizeEvent&) - OnSize__11wxStatusBarFR11wxSizeEvent ;wxStatusBar::GetStatusText(int) const GetStatusText__11wxStatusBarCFi ;wxStatusBar::SetFieldsCount(int,const int*) @@ -10711,6 +10736,8 @@ EXPORTS GetNextChild__17wxGenericTreeCtrlCFRC12wxTreeItemIdRl ;wxGenericTreeCtrl::GetItemText(const wxTreeItemId&) const GetItemText__17wxGenericTreeCtrlCFRC12wxTreeItemId + ;wxGenericTreeCtrl::GetItemBackgroundColour(const wxTreeItemId&) const + GetItemBackgroundColour__17wxGenericTreeCtrlCFRC12wxTreeItemId ;wxGenericTreeCtrl::GetFirstChild(const wxTreeItemId&,long&) const GetFirstChild__17wxGenericTreeCtrlCFRC12wxTreeItemIdRl ;wxGenericTreeCtrl::GetChildrenCount(const wxTreeItemId&,unsigned long) @@ -10772,6 +10799,8 @@ EXPORTS GetPrevSibling__17wxGenericTreeCtrlCFRC12wxTreeItemId ;wxGenericTreeCtrl::GetLastChild(const wxTreeItemId&) const GetLastChild__17wxGenericTreeCtrlCFRC12wxTreeItemId + ;wxGenericTreeCtrl::GetItemTextColour(const wxTreeItemId&) const + GetItemTextColour__17wxGenericTreeCtrlCFRC12wxTreeItemId ;wxGenericTreeCtrl::Expand(const wxTreeItemId&) Expand__17wxGenericTreeCtrlFRC12wxTreeItemId ;wxGenericTreeItem::DeleteChildren(wxGenericTreeCtrl*) @@ -10821,6 +10850,8 @@ EXPORTS SetWindowStyle__17wxGenericTreeCtrlFCl ;wxGenericTreeCtrl::GetNextVisible(const wxTreeItemId&) const GetNextVisible__17wxGenericTreeCtrlCFRC12wxTreeItemId + ;wxGenericTreeCtrl::GetItemFont(const wxTreeItemId&) const + GetItemFont__17wxGenericTreeCtrlCFRC12wxTreeItemId ;wxGenericTreeCtrl::GetItemData(const wxTreeItemId&) const GetItemData__17wxGenericTreeCtrlCFRC12wxTreeItemId ;wxGenericTreeCtrl::EnsureVisible(const wxTreeItemId&) @@ -10911,14 +10942,15 @@ EXPORTS LoadFile__20wxHtmlHelpControllerFRC8wxString ;From object file: ..\html\helpdata.cpp ;PUBDEFs (Symbols available from object file): + __vft18wxHtmlSearchEngine8wxObject ;wxHtmlBookRecArray::Add(const wxHtmlBookRecord&,unsigned int) Add__18wxHtmlBookRecArrayFRC16wxHtmlBookRecordUi ;wxHtmlBookRecArray::RemoveAt(unsigned int,unsigned int) RemoveAt__18wxHtmlBookRecArrayFUiT1 ;wxHtmlHelpData::wxHtmlHelpData() __ct__14wxHtmlHelpDataFv - ;wxSearchEngine::LookFor(const wxString&,unsigned long,unsigned long) - LookFor__14wxSearchEngineFRC8wxStringUlT2 + ;wxHtmlSearchEngine::LookFor(const wxString&,unsigned long,unsigned long) + LookFor__18wxHtmlSearchEngineFRC8wxStringUlT2 ;HP_TagHandler::HandleTag(const wxHtmlTag&) HandleTag__13HP_TagHandlerFRC9wxHtmlTag ;wxHtmlBookRecArray::Index(const wxHtmlBookRecord&,unsigned long) const @@ -10933,14 +10965,14 @@ EXPORTS __ct__18wxHtmlBookRecArrayFRC18wxHtmlBookRecArray ;HP_TagHandler::WriteOut(wxHtmlContentsItem*&,int&) WriteOut__13HP_TagHandlerFRP18wxHtmlContentsItemRi + ;wxHtmlSearchEngine::Scan(const wxFSFile&) + Scan__18wxHtmlSearchEngineFRC8wxFSFile ;wxHtmlBookRecArray::DoEmpty() DoEmpty__18wxHtmlBookRecArrayFv ;wxHtmlBookRecArray::Insert(const wxHtmlBookRecord&,unsigned int,unsigned int) Insert__18wxHtmlBookRecArrayFRC16wxHtmlBookRecordUiT2 ;wxHtmlHelpData::SaveCachedBook(wxHtmlBookRecord*,wxOutputStream*) SaveCachedBook__14wxHtmlHelpDataFP16wxHtmlBookRecordP14wxOutputStream - ;wxSearchEngine::Scan(wxInputStream*) - Scan__14wxSearchEngineFP13wxInputStream ;wxHtmlHelpData::FindPageById(int) FindPageById__14wxHtmlHelpDataFi ;wxConstructorForwxHtmlHelpData() @@ -10951,7 +10983,6 @@ EXPORTS GetFullPath__16wxHtmlBookRecordCFRC8wxString ;wxHtmlHelpData::LoadMSProject(wxHtmlBookRecord*,wxFileSystem&,const wxString&,const wxString&) LoadMSProject__14wxHtmlHelpDataFP16wxHtmlBookRecordR12wxFileSystemRC8wxStringT3 - __vft14wxSearchEngine8wxObject ;wxHtmlBookRecArray::DoCopy(const wxHtmlBookRecArray&) DoCopy__18wxHtmlBookRecArrayFRC18wxHtmlBookRecArray ;wxHtmlBookRecArray::~wxHtmlBookRecArray() @@ -11099,6 +11130,8 @@ EXPORTS FindCellByPos__10wxHtmlCellCFiT1 ;wxHtmlWordCell::Draw(wxDC&,int,int,int,int) Draw__14wxHtmlWordCellFR4wxDCiN32 + ;wxHtmlContainerCell::GetBackgroundColour() + GetBackgroundColour__19wxHtmlContainerCellFv ;wxHtmlContainerCell::Draw(wxDC&,int,int,int,int) Draw__19wxHtmlContainerCellFR4wxDCiN32 ;wxHtmlWidgetCell::Draw(wxDC&,int,int,int,int) @@ -11146,8 +11179,6 @@ EXPORTS wxConstructorForwxHtmlFilterHTML__Fv ;wxHtmlFilterHTML::sm_classwxHtmlFilterHTML sm_classwxHtmlFilterHTML__16wxHtmlFilterHTML - ;wxPrivate_ReadString(wxString&,wxInputStream*) - wxPrivate_ReadString__FR8wxStringP13wxInputStream ;wxHtmlFilterPlainText::ReadFile(const wxFSFile&) const ReadFile__21wxHtmlFilterPlainTextCFRC8wxFSFile ;wxHtmlFilterHTML::ReadFile(const wxFSFile&) const @@ -11182,9 +11213,12 @@ EXPORTS DoCopy__16wxHtmlTextPiecesFRC16wxHtmlTextPieces ;wxHtmlEntitiesParser::GetEntityChar(const wxString&) GetEntityChar__20wxHtmlEntitiesParserFRC8wxString + ;wxHtmlParser::ExtractCharsetInformation(const wxString&) + ExtractCharsetInformation__12wxHtmlParserFRC8wxString ;wxHtmlTextPieces::Index(const wxHtmlTextPiece&,unsigned long) const Index__16wxHtmlTextPiecesCFRC15wxHtmlTextPieceUl __vft20wxHtmlEntitiesParser8wxObject + __vft16wxMetaTagHandler8wxObject ;wxHtmlParser::DoParsing() DoParsing__12wxHtmlParserFv ;wxHtmlParser::RestoreState() @@ -11195,6 +11229,8 @@ EXPORTS __ct__16wxHtmlTextPiecesFRC16wxHtmlTextPieces ;wxHtmlParser::SetSource(const wxString&) SetSource__12wxHtmlParserFRC8wxString + ;wxMetaTagHandler::HandleTag(const wxHtmlTag&) + HandleTag__16wxMetaTagHandlerFRC9wxHtmlTag ;wxHtmlTextPieces::RemoveAt(unsigned int,unsigned int) RemoveAt__16wxHtmlTextPiecesFUiT1 ;wxHtmlTextPieces::DoEmpty() @@ -11573,14 +11609,6 @@ EXPORTS __ct__18wxHtmlListmarkCellFP4wxDCRC8wxColour ;wxHtmlListmarkCell::Draw(wxDC&,int,int,int,int) Draw__18wxHtmlListmarkCellFR4wxDCiN32 - ;From object file: ..\html\m_meta.cpp - ;PUBDEFs (Symbols available from object file): - ;wxConstructorForHTML_ModuleMetaTag() - wxConstructorForHTML_ModuleMetaTag__Fv - ;HTML_ModuleMetaTag::sm_classHTML_ModuleMetaTag - sm_classHTML_ModuleMetaTag__18HTML_ModuleMetaTag - ;_link_dummy_func_m_meta() - _link_dummy_func_m_meta__Fv ;From object file: ..\html\m_pre.cpp ;PUBDEFs (Symbols available from object file): ;HTML_ModulePre::sm_classHTML_ModulePre @@ -11730,6 +11758,7 @@ EXPORTS sm_classwxApp__5wxApp ;wxAppRemoveSocketHandler(int) wxAppRemoveSocketHandler__Fi + gbInOnIdle ;wxAppAddSocketHandler(int,int,void(*)(void*),void*) wxAppAddSocketHandler__FiT1PFPv_vPv ;wxWakeUpIdle() @@ -13733,12 +13762,10 @@ EXPORTS ;wxNotebook::SetPageText(int,const wxString&) SetPageText__10wxNotebookFiRC8wxString wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED - ;wxNotebook::ChangePage(int,int) - ChangePage__10wxNotebookFiT1 - ;wxNotebook::SetTabSize(const wxSize&) - SetTabSize__10wxNotebookFRC6wxSize ;wxNotebook::SetPageSize(const wxSize&) SetPageSize__10wxNotebookFRC6wxSize + ;wxNotebook::SetTabSize(const wxSize&) + SetTabSize__10wxNotebookFRC6wxSize ;wxNotebook::AddPage(wxWindow*,const wxString&,unsigned long,int) AddPage__10wxNotebookFP8wxWindowRC8wxStringUli ;wxNotebook::OS2GetStyle(long,unsigned long*) const @@ -14537,6 +14564,8 @@ EXPORTS OnRedo__10wxTextCtrlFR14wxCommandEvent ;wxTextCtrl::OnPaste(wxCommandEvent&) OnPaste__10wxTextCtrlFR14wxCommandEvent + ;wxTextCtrl::OnDelete(wxCommandEvent&) + OnDelete__10wxTextCtrlFR14wxCommandEvent ;wxTextCtrl::OnChar(wxKeyEvent&) OnChar__10wxTextCtrlFR10wxKeyEvent ;wxTextCtrl::Remove(long,long) @@ -14553,13 +14582,14 @@ EXPORTS OS2GetStyle__10wxTextCtrlCFlPUl ;wxTextCtrl::sm_classwxTextCtrl sm_classwxTextCtrl__10wxTextCtrl - __vft10wxTextCtrl8wxObject ;wxTextCtrl::ShowPosition(long) ShowPosition__10wxTextCtrlFl ;wxTextCtrl::SetWindowStyleFlag(long) SetWindowStyleFlag__10wxTextCtrlFl ;wxTextCtrl::SetEditable(unsigned long) SetEditable__10wxTextCtrlFUl + ;wxTextCtrl::OnUpdateSelectAll(wxUpdateUIEvent&) + OnUpdateSelectAll__10wxTextCtrlFR15wxUpdateUIEvent ;wxTextCtrl::OnUpdateCopy(wxUpdateUIEvent&) OnUpdateCopy__10wxTextCtrlFR15wxUpdateUIEvent ;wxTextCtrl::OnCut(wxCommandEvent&) @@ -14592,6 +14622,8 @@ EXPORTS Create__10wxTextCtrlFP8wxWindowiRC8wxStringRC7wxPointRC6wxSizelRC11wxValidatorT3 ;wxTextCtrl::SetInsertionPoint(long) SetInsertionPoint__10wxTextCtrlFl + ;wxTextCtrl::OnUpdateDelete(wxUpdateUIEvent&) + OnUpdateDelete__10wxTextCtrlFR15wxUpdateUIEvent ;wxTextCtrl::GetLineLength(long) const GetLineLength__10wxTextCtrlCFl ;wxTextCtrl::Cut() @@ -14622,6 +14654,8 @@ EXPORTS sm_eventTableEntries__10wxTextCtrl ;wxTextCtrl::OnUpdateRedo(wxUpdateUIEvent&) OnUpdateRedo__10wxTextCtrlFR15wxUpdateUIEvent + ;wxTextCtrl::OnSelectAll(wxCommandEvent&) + OnSelectAll__10wxTextCtrlFR14wxCommandEvent ;wxTextCtrl::OnDropFiles(wxDropFilesEvent&) OnDropFiles__10wxTextCtrlFR16wxDropFilesEvent ;wxTextCtrl::OnCtlColor(unsigned long,unsigned long,unsigned int,unsigned int,void*,void*) diff --git a/src/png/ANNOUNCE b/src/png/ANNOUNCE index 425cdeed6b..91c7ab01be 100644 --- a/src/png/ANNOUNCE +++ b/src/png/ANNOUNCE @@ -1,28 +1,35 @@ -Libpng 1.2.4 - July 8, 2002 +Libpng 1.2.5rc3 - September 18, 2002 -This is a public release of libpng, intended for use in production codes. +This is not intended to be a public release. It will be replaced +within a few weeks by a public version or by another test version. -Changes since the last public release (1.2.3): +Changes since the last public release (1.2.4): - Added libpng.pc and libpng-config to "all:" target in 16 makefiles. - Fixed bug in 16 makefiles: $(DESTDIR)/$(LIBPATH) to $(DESTDIR)$(LIBPATH) - Added missing "\" before closing double quote in makefile.gcmmx. - Plugged various memory leaks; added png_malloc_warn() and png_set_text_2() - functions. - Plugged memory leak of png_ptr->current_text (Matt Holgate). - Check for buffer overflow before reading CRC in pngpread.c (Warwick Allison) - Added -soname to the loader flags in makefile.dec, makefile.sgi, and - makefile.sggcc. - Added "test-installed" targets to makefile.linux, makefile.gcmmx, - makefile.sgi, makefile.sggcc, makefile.32sunu, makefile.64sunu, - makefile.beos, makefile.darwin, makefile.dec, makefile.macosx, - makefile.solaris, makefile.sco, makefile.cygwin, makefile.hpux, - makefile.hpgcc, and makefile.so9. - Plugged memory leak of row_buf in pngtest.c when there is a png_error(). - Detect buffer overflow in pngpread.c when IDAT is corrupted with extra data. - Revised pnggccrd.c to be able to back out version 1.0.x via PNG_1_0_X macro. - Changed png_warning() to png_error() when width is too large to process. +version 1.2.4patch01 [July 20, 2002] + Revised makefile.cygwin to use DLL number 12 instead of 13. +version 1.2.5beta1 [August 6, 2002] + Added code to contrib/gregbook/readpng2.c to ignore unused chunks. + Replaced toucan.png in contrib/gregbook (it has been corrupt since 1.0.11) + Removed some stray *.o files from contrib/gregbook. + Changed png_error() to png_warning() about "Too much data" in pngpread.c + and about "Extra compressed data" in pngrutil.c. + Prevent png_ptr->pass from exceeding 7 in png_push_finish_row(). + Updated makefile.hggcc + Updated png.c and pnggccrd.c handling of return from png_mmx_support() +version 1.2.5beta2 [August 15, 2002] + Only issue png_warning() about "Too much data" in pngpread.c when avail_in + is nonzero. + Updated makefiles to install a separate libpng.so.3 with its own rpath. +version 1.2.5rc1 and 1.0.15rc1 [August 24, 2002] + Revised makefiles to not remove previous minor versions of shared libraries. +version 1.2.5rc2 and 1.0.15rc2 [September 16, 2002] + Revised 13 makefiles to remove "-lz" and "-L$(ZLIBLIB)", etc., from shared + library loader directive. + Added missing "$OBJSDLL" line to makefile.gcmmx. + Added missing "; fi" to makefile.32sunu. +version 1.2.5rc3 and 1.0.15rc3 [September 18, 2002] + Revised libpng-config script. Send comments/corrections/commendations to png-implement@ccrc.wustl.edu or to randeg@alum.rpi.edu diff --git a/src/png/CHANGES b/src/png/CHANGES index 7cebe0e803..d526aee119 100644 --- a/src/png/CHANGES +++ b/src/png/CHANGES @@ -1144,11 +1144,35 @@ version 1.2.4beta3 [June 28, 2002] Added "test-installed" target to makefile.32sunu, makefile.64sunu, makefile.beos, makefile.darwin, makefile.dec, makefile.macosx, makefile.solaris, makefile.hpux, makefile.hpgcc, and makefile.so9. -version 1.2.4rc1 [July 2, 2002] +version 1.2.4rc1 and 1.0.14rc1 [July 2, 2002] Added "test-installed" target to makefile.cygwin and makefile.sco. Revised pnggccrd.c to be able to back out version 1.0.x via PNG_1_0_X macro. -version 1.2.4 [July 8, 2002] +version 1.2.4 and 1.0.14 [July 8, 2002] Changed png_warning() to png_error() when width is too large to process. +version 1.2.4patch01 [July 20, 2002] + Revised makefile.cygwin to use DLL number 12 instead of 13. +version 1.2.5beta1 [August 6, 2002] + Added code to contrib/gregbook/readpng2.c to ignore unused chunks. + Replaced toucan.png in contrib/gregbook (it has been corrupt since 1.0.11) + Removed some stray *.o files from contrib/gregbook. + Changed png_error() to png_warning() about "Too much data" in pngpread.c + and about "Extra compressed data" in pngrutil.c. + Prevent png_ptr->pass from exceeding 7 in png_push_finish_row(). + Updated makefile.hpgcc + Updated png.c and pnggccrd.c handling of return from png_mmx_support() +version 1.2.5beta2 [August 15, 2002] + Only issue png_warning() about "Too much data" in pngpread.c when avail_in + is nonzero. + Updated makefiles to install a separate libpng.so.3 with its own rpath. +version 1.2.5rc1 and 1.0.15rc1 [August 24, 2002] + Revised makefiles to not remove previous minor versions of shared libraries. +version 1.2.5rc2 and 1.0.15rc2 [September 16, 2002] + Revised 13 makefiles to remove "-lz" and "-L$(ZLIBLIB)", etc., from shared + library loader directive. + Added missing "$OBJSDLL" line to makefile.gcmmx. + Added missing "; fi" to makefile.32sunu. +version 1.2.5rc3 and 1.0.15rc3 [September 18, 2002] + Revised libpng-config script. Send comments/corrections/commendations to png-implement@ccrc.wustl.edu or to randeg@alum.rpi.edu diff --git a/src/png/INSTALL b/src/png/INSTALL index 9dde2fe7b1..08e54b133d 100644 --- a/src/png/INSTALL +++ b/src/png/INSTALL @@ -1,5 +1,5 @@ -Installing libpng version 1.2.4 - July 8, 2002 +Installing libpng version 1.2.5rc3 - September 18, 2002 Before installing libpng, you must first install zlib. zlib can usually be found wherever you got libpng. zlib can be @@ -10,7 +10,7 @@ zlib.h and zconf.h include files that correspond to the version of zlib that's installed. You can rename the directories that you downloaded (they -might be called "libpng-1.2.4" or "lpng109" and "zlib-1.1.4" +might be called "libpng-1.2.5rc3" or "lpng109" and "zlib-1.1.4" or "zlib114") so that you have directories called "zlib" and "libpng". Your directory structure should look like this: @@ -68,8 +68,8 @@ The files that are presently available in the scripts directory include makefile.std => Generic UNIX makefile (cc, creates static libpng.a) - makefile.linux => Linux/ELF makefile (gcc, creates libpng12.so.0.1.2.4) - makefile.gcmmx => Linux/ELF makefile (gcc, creates libpng12.so.0.1.2.4, + makefile.linux => Linux/ELF makefile (gcc, creates libpng12.so.0.1.2.5rc3) + makefile.gcmmx => Linux/ELF makefile (gcc, creates libpng12.so.0.1.2.5rc3, uses assembler code tuned for Intel MMX platform) makefile.gcc => Generic makefile (gcc, creates static libpng.a) makefile.knr => Archaic UNIX Makefile that converts files with @@ -90,10 +90,10 @@ include makefile.ne0bsd => NetBSD/cc makefile, uses PNGGCCRD, makes libpng0.so makefile.openbsd => OpenBSD makefile makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib) - makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.4) + makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.5rc3) makefile.sunos => Sun makefile - makefile.solaris => Solaris 2.X makefile (gcc, creates libpng12.so.0.1.2.4) - makefile.so9 => Solaris 9 makefile (gcc, creates libpng12.so.0.1.2.4) + makefile.solaris => Solaris 2.X makefile (gcc, creates libpng12.so.0.1.2.5rc3) + makefile.so9 => Solaris 9 makefile (gcc, creates libpng12.so.0.1.2.5rc3) makefile.32sunu => Sun Ultra 32-bit makefile makefile.64sunu => Sun Ultra 64-bit makefile makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc @@ -158,9 +158,9 @@ in the scripts directory when you run "make", "make install", or mangle.in => Function-decoration macros added to png.h by the makefiles. makefile.linux => Linux/ELF makefile - (gcc, creates libpng12m.so.0.1.2.4) + (gcc, creates libpng12m.so.0.1.2.5rc3) makefile.gcmmx => Linux/ELF makefile (gcc, creates - libpng12.so.0m.1.2.4, uses assembler code + libpng12.so.0m.1.2.5rc3, uses assembler code tuned for Intel MMX platform) makefile.sgi => Silicon Graphics (cc, creates libpng12m.so) makefile.sggcc => Silicon Graphics (gcc, creates libpng12m.so) diff --git a/src/png/KNOWNBUG b/src/png/KNOWNBUG index e5b7510287..1bce9c9c05 100644 --- a/src/png/KNOWNBUG +++ b/src/png/KNOWNBUG @@ -1,5 +1,5 @@ -Known bugs in libpng version 1.2.4 +Known bugs in libpng version 1.2.5rc3 1. April 22, 2001: pnggccrd.c has been reported to crash on NetBSD when reading interlaced PNG files, when assembler code is enabled but running diff --git a/src/png/LICENSE b/src/png/LICENSE index 84e459435b..1f3a2537e4 100644 --- a/src/png/LICENSE +++ b/src/png/LICENSE @@ -8,7 +8,7 @@ COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: If you modify libpng you may insert additional notices immediately following this sentence. -libpng versions 1.0.7, July 1, 2000, through 1.2.4, July 8, 2002, are +libpng versions 1.0.7, July 1, 2000, through 1.2.5rc3, September 18, 2002, are Copyright (c) 2000-2002 Glenn Randers-Pehrson and are distributed according to the same disclaimer and license as libpng-1.0.6 with the following individuals added to the list of Contributing Authors @@ -99,4 +99,4 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson randeg@alum.rpi.edu -July 8, 2002 +September 18, 2002 diff --git a/src/png/README b/src/png/README index 56f2d5e2bd..101a75a4af 100644 --- a/src/png/README +++ b/src/png/README @@ -1,4 +1,4 @@ -README for libpng 1.2.4 - July 8, 2002 (shared library 12.0) +README for libpng 1.2.5rc3 - September 18, 2002 (shared library 12.0) See the note about version numbers near the top of png.h See INSTALL for instructions on how to install libpng. @@ -187,9 +187,9 @@ Files in this distribution: descrip.mms => VMS makefile for MMS or MMK makefile.std => Generic UNIX makefile (cc, creates static libpng.a) makefile.linux => Linux/ELF makefile - (gcc, creates libpng12.so.0.1.2.4) + (gcc, creates libpng12.so.0.1.2.5rc3) makefile.gcmmx => Linux/ELF makefile (gcc, creates - libpng12.so.0.1.2.4, uses assembler code + libpng12.so.0.1.2.5rc3, uses assembler code tuned for Intel MMX platform) makefile.gcc => Generic makefile (gcc, creates static libpng.a) makefile.knr => Archaic UNIX Makefile that converts files with @@ -210,12 +210,12 @@ Files in this distribution: makefile.ne0bsd => NetBSD/cc makefile, PNGGCCRD, makes libpng0.so makefile.openbsd => OpenBSD makefile makefile.sgi => Silicon Graphics IRIX (cc, creates static lib) - makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.4) + makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.5rc3) makefile.sunos => Sun makefile makefile.solaris => Solaris 2.X makefile - (gcc, creates libpng12.so.0.1.2.4) + (gcc, creates libpng12.so.0.1.2.5rc3) makefile.so9 => Solaris 9 makefile - (gcc, creates libpng12.so.0.1.2.4) + (gcc, creates libpng12.so.0.1.2.5rc3) makefile.32sunu => Sun Ultra 32-bit makefile makefile.64sunu => Sun Ultra 64-bit makefile makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc @@ -248,9 +248,9 @@ Files in this distribution: mangle.in => Function-decoration macros added to png.h by the makefiles. makefile.linux => Linux/ELF makefile - (gcc, creates libpng12m.so.0.1.2.4) + (gcc, creates libpng12m.so.0.1.2.5rc3) makefile.gcmmx => Linux/ELF makefile (gcc, creates - libpng12.so.0m.1.2.4, uses assembler code + libpng12.so.0m.1.2.5rc3, uses assembler code tuned for Intel MMX platform) makefile.sgi => Silicon Graphics (cc, creates libpng12m.so) makefile.sggcc => Silicon Graphics (gcc, creates libpng12m.so) diff --git a/src/png/Y2KINFO b/src/png/Y2KINFO index f550bc09b7..0615d559b0 100644 --- a/src/png/Y2KINFO +++ b/src/png/Y2KINFO @@ -1,13 +1,13 @@ Y2K compliance in libpng: ========================= - July 8, 2002 + September 18, 2002 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and - upward through 1.2.4 are Y2K compliant. It is my belief that earlier + upward through 1.2.5rc3 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer diff --git a/src/png/configure b/src/png/configure index ac209826a4..4621afffdc 100755 --- a/src/png/configure +++ b/src/png/configure @@ -1,5 +1,5 @@ echo " - There is no \"configure\" script for Libpng-1.2.4. Instead, please + There is no \"configure\" script for Libpng-1.2.5rc3. Instead, please copy the appropriate makefile for your system from the \"scripts\" directory. Read the INSTALL file for more details. " diff --git a/src/png/example.c b/src/png/example.c index 1cc450f80e..7956cf7abd 100644 --- a/src/png/example.c +++ b/src/png/example.c @@ -282,7 +282,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */ /* This reduces the image to the palette supplied in the file */ else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) { - png_uint_16p histogram; + png_uint_16p histogram = NULL; png_get_hIST(png_ptr, info_ptr, &histogram); diff --git a/src/png/libpng.3 b/src/png/libpng.3 index 3451612f4b..c9e96ab6a4 100644 --- a/src/png/libpng.3 +++ b/src/png/libpng.3 @@ -1,6 +1,6 @@ -.TH LIBPNG 3 "July 8, 2002" +.TH LIBPNG 3 "September 18, 2002" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.2.4 +libpng \- Portable Network Graphics (PNG) Reference Library 1.2.5rc3 .SH SYNOPSIS \fI\fB @@ -791,7 +791,7 @@ Following is a copy of the libpng.txt file that accompanies libpng. .SH LIBPNG.TXT libpng.txt - A description on how to use and modify libpng - libpng version 1.2.4 - July 8, 2002 + libpng version 1.2.5rc3 - September 18, 2002 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2002 Glenn Randers-Pehrson @@ -1774,7 +1774,7 @@ histogram, it may not do as good a job. if (png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) { - png_uint_16p histogram; + png_uint_16p histogram = NULL; png_get_hIST(png_ptr, info_ptr, &histogram); @@ -3641,13 +3641,13 @@ application: .SH IX. Y2K Compliance in libpng -July 8, 2002 +September 18, 2002 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.2.4 are Y2K compliant. It is my belief that earlier +upward through 1.2.5rc3 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that @@ -3782,6 +3782,9 @@ the first widely used release: 1.2.4rc1 13 10204 12.so.0.1.2.4rc1 1.0.14 10 10014 10.so.0.1.0.14 1.2.4 13 10204 12.so.0.1.2.4 + 1.2.5beta1,2 13 10205 12.so.0.1.2.5beta1,2 + 1.2.5rc1,3 13 10205 12.so.0.1.2.5rc1,3 + 1.0.15rc1,3 10 10015 10.so.0.1.0.15rc1,3 Henceforth the source version will match the shared-library minor and patch numbers; the shared-library major version number will be @@ -3839,7 +3842,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.2.4 - July 8, 2002: +Libpng version 1.2.5rc3 - September 18, 2002: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (randeg@alum.rpi.edu). @@ -3856,7 +3859,7 @@ included in the libpng distribution, the latter shall prevail.) If you modify libpng you may insert additional notices immediately following this sentence. -libpng versions 1.0.7, July 1, 2000, through 1.2.4, July 8, 2002, are +libpng versions 1.0.7, July 1, 2000, through 1.2.5rc3, September 18, 2002, are Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.0.6 with the following individuals added to the list of Contributing Authors @@ -3948,7 +3951,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson randeg@alum.rpi.edu -July 8, 2002 +September 18, 2002 .\" end of man page diff --git a/src/png/libpng.txt b/src/png/libpng.txt index 66c89dc51d..07fc3cd287 100644 --- a/src/png/libpng.txt +++ b/src/png/libpng.txt @@ -1,6 +1,6 @@ libpng.txt - A description on how to use and modify libpng - libpng version 1.2.4 - July 8, 2002 + libpng version 1.2.5rc3 - September 18, 2002 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2002 Glenn Randers-Pehrson @@ -983,7 +983,7 @@ histogram, it may not do as good a job. if (png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) { - png_uint_16p histogram; + png_uint_16p histogram = NULL; png_get_hIST(png_ptr, info_ptr, &histogram); @@ -2850,13 +2850,13 @@ application: IX. Y2K Compliance in libpng -July 8, 2002 +September 18, 2002 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.2.4 are Y2K compliant. It is my belief that earlier +upward through 1.2.5rc3 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that diff --git a/src/png/libpngpf.3 b/src/png/libpngpf.3 index d4037d596e..4f6d3d6ed6 100644 --- a/src/png/libpngpf.3 +++ b/src/png/libpngpf.3 @@ -1,6 +1,6 @@ -.TH LIBPNGPF 3 "July 8, 2002" +.TH LIBPNGPF 3 "September 18, 2002" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.2.4 +libpng \- Portable Network Graphics (PNG) Reference Library 1.2.5rc3 (private functions) .SH SYNOPSIS \fB#include \fP diff --git a/src/png/png.5 b/src/png/png.5 index 70e8cd0865..c5bb09c5ff 100644 --- a/src/png/png.5 +++ b/src/png/png.5 @@ -1,4 +1,4 @@ -.TH PNG 5 "July 8, 2002" +.TH PNG 5 "September 18, 2002" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION diff --git a/src/png/png.c b/src/png/png.c index 68c7d1adb8..74b3032d7d 100644 --- a/src/png/png.c +++ b/src/png/png.c @@ -1,7 +1,7 @@ /* png.c - location for general purpose libpng functions * - * libpng version 1.2.4 - July 8, 2002 + * libpng version 1.2.5rc3 - September 18, 2002 * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -13,14 +13,14 @@ #include "png.h" /* Generate a compiler error if there is an old png.h in the search path. */ -typedef version_1_2_4 Your_png_h_is_not_version_1_2_4; +typedef version_1_2_5rc3 Your_png_h_is_not_version_1_2_5rc3; /* Version information for C files. This had better match the version * string defined in png.h. */ #ifdef PNG_USE_GLOBAL_ARRAYS /* png_libpng_ver was changed to a function in version 1.0.5c */ -const char png_libpng_ver[18] = "1.2.4"; +const char png_libpng_ver[18] = "1.2.5rc3"; /* png_sig was changed to a function in version 1.0.5c */ /* Place to hold the signature string for a PNG file. */ @@ -82,10 +82,6 @@ const int FARDATA png_pass_dsp_mask[] #endif -#ifdef __VISAGECPP__ -const char png_libpng_ver[18] = "1.2.4"; -#endif - /* Tells libpng that we have already handled the first "num_bytes" bytes * of the PNG file signature. If the PNG data is embedded into another * stream we can set num_bytes = 8 so that libpng will not attempt to read @@ -140,7 +136,7 @@ png_check_sig(png_bytep sig, int num) /* Function to allocate memory for zlib and clear it to 0. */ #ifdef PNG_1_0_X -void PNGAPI +voidpf PNGAPI #else voidpf /* private */ #endif @@ -148,7 +144,7 @@ png_zalloc(voidpf png_ptr, uInt items, uInt size) { png_uint_32 num_bytes = (png_uint_32)items * size; png_voidp ptr; - png_structp p=(png_structp)png_ptr; + png_structp p=(png_struct*)png_ptr; png_uint_32 save_flags=p->flags; p->flags|=PNG_FLAG_MALLOC_NULL_MEM_OK; @@ -675,7 +671,7 @@ png_charp PNGAPI png_get_copyright(png_structp png_ptr) { if (png_ptr != NULL || png_ptr == NULL) /* silence compiler warning */ - return ((png_charp) "\n libpng version 1.2.4 - July 8, 2002\n\ + return ((png_charp) "\n libpng version 1.2.5rc3 - September 18, 2002\n\ Copyright (c) 1998-2002 Glenn Randers-Pehrson\n\ Copyright (c) 1996-1997 Andreas Dilger\n\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.\n"); @@ -693,8 +689,8 @@ png_get_libpng_ver(png_structp png_ptr) { /* Version of *.c files used when building libpng */ if(png_ptr != NULL) /* silence compiler warning about unused png_ptr */ - return((png_charp) "1.2.4"); - return((png_charp) "1.2.4"); + return((png_charp) "1.2.5rc3"); + return((png_charp) "1.2.5rc3"); } png_charp PNGAPI @@ -744,7 +740,7 @@ png_uint_32 PNGAPI png_access_version_number(void) { /* Version of *.c files used when building libpng */ - return((png_uint_32) 10204L); + return((png_uint_32) 10205L); } @@ -762,7 +758,7 @@ png_init_mmx_flags (png_structp png_ptr) png_ptr->asm_flags |= PNG_ASM_FLAG_MMX_SUPPORT_COMPILED; - if (png_mmx_support()) { + if (png_mmx_support() > 0) { png_ptr->asm_flags |= PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU # ifdef PNG_HAVE_ASSEMBLER_COMBINE_ROW | PNG_ASM_FLAG_MMX_READ_COMBINE_ROW diff --git a/src/png/png.h b/src/png/png.h index 365c80b392..a570d9a29a 100644 --- a/src/png/png.h +++ b/src/png/png.h @@ -1,6 +1,6 @@ /* png.h - header file for PNG reference library * - * libpng version 1.2.4 - July 8, 2002 + * libpng version 1.2.5rc3 - September 18, 2002 * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -8,7 +8,7 @@ * Authors and maintainers: * libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat * libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger - * libpng versions 0.97, January 1998, through 1.2.4 - July 8, 2002: Glenn + * libpng versions 0.97, January 1998, through 1.2.5rc3 - September 18, 2002: Glenn * See also "Contributing Authors", below. * * Note about libpng version numbers: @@ -93,6 +93,9 @@ * 1.2.4rc1 13 10204 12.so.0.1.2.4rc1 * 1.0.14 10 10014 10.so.0.1.0.14 * 1.2.4 13 10204 12.so.0.1.2.4 + * 1.2.5beta1-2 13 10205 12.so.0.1.2.5beta1-2 + * 1.2.5rc1-3 13 10205 12.so.0.1.2.5rc1-3 + * 1.0.15rc1-3 10 10015 10.so.0.1.0.15rc1-3 * * Henceforth the source version will match the shared-library major * and minor numbers; the shared-library major version number will be @@ -122,7 +125,7 @@ * If you modify libpng you may insert additional notices immediately following * this sentence. * - * libpng versions 1.0.7, July 1, 2000, through 1.2.4, July 8, 2002, are + * libpng versions 1.0.7, July 1, 2000, through 1.2.5rc3, September 18, 2002, are * Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are * distributed according to the same disclaimer and license as libpng-1.0.6 * with the following individuals added to the list of Contributing Authors @@ -227,13 +230,13 @@ * Y2K compliance in libpng: * ========================= * - * July 8, 2002 + * September 18, 2002 * * Since the PNG Development group is an ad-hoc body, we can't make * an official declaration. * * This is your unofficial assurance that libpng from version 0.71 and - * upward through 1.2.4 are Y2K compliant. It is my belief that earlier + * upward through 1.2.5rc3 are Y2K compliant. It is my belief that earlier * versions were also Y2K compliant. * * Libpng only has three year fields. One is a 2-byte unsigned integer @@ -289,7 +292,7 @@ */ /* Version information for png.h - this should match the version in png.c */ -#define PNG_LIBPNG_VER_STRING "1.2.4" +#define PNG_LIBPNG_VER_STRING "1.2.5rc3" #define PNG_LIBPNG_VER_SONUM 0 #define PNG_LIBPNG_VER_DLLNUM %DLLNUM% @@ -297,11 +300,11 @@ /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */ #define PNG_LIBPNG_VER_MAJOR 1 #define PNG_LIBPNG_VER_MINOR 2 -#define PNG_LIBPNG_VER_RELEASE 4 +#define PNG_LIBPNG_VER_RELEASE 5 /* This should match the numeric part of the final component of * PNG_LIBPNG_VER_STRING, omitting any leading zero: */ -#define PNG_LIBPNG_VER_BUILD 0 +#define PNG_LIBPNG_VER_BUILD 3 #define PNG_LIBPNG_BUILD_ALPHA 1 #define PNG_LIBPNG_BUILD_BETA 2 @@ -309,14 +312,14 @@ #define PNG_LIBPNG_BUILD_STABLE 4 #define PNG_LIBPNG_BUILD_TYPEMASK 7 #define PNG_LIBPNG_BUILD_PATCH 8 /* Can be OR'ed with STABLE only */ -#define PNG_LIBPNG_BUILD_TYPE 4 +#define PNG_LIBPNG_BUILD_TYPE 3 /* Careful here. At one time, Guy wanted to use 082, but that would be octal. * We must not include leading zeros. * Versions 0.7 through 1.0.0 were in the range 0 to 100 here (only * version 1.0.0 was mis-numbered 100 instead of 10000). From * version 1.0.1 it's xxyyzz, where x=major, y=minor, z=release */ -#define PNG_LIBPNG_VER 10204 /* 1.2.4 */ +#define PNG_LIBPNG_VER 10205 /* 1.2.5 */ #ifndef PNG_VERSION_INFO_ONLY @@ -1279,9 +1282,9 @@ struct png_struct_def /* This prevents a compiler error in png.c if png.c and png.h are both at - version 1.2.4 + version 1.2.5rc3 */ -typedef png_structp version_1_2_4; +typedef png_structp version_1_2_5rc3; typedef png_struct FAR * FAR * png_structpp; @@ -2421,7 +2424,7 @@ extern PNG_EXPORT(void,png_set_strip_error_numbers) PNGARG((png_structp /* Maintainer: Put new public prototypes here ^, in libpng.3, and project defs */ #define PNG_HEADER_VERSION_STRING \ - " libpng version 1.2.4 - July 8, 2002 (header)\n" + " libpng version 1.2.5rc3 - September 18, 2002 (header)\n" #ifdef PNG_READ_COMPOSITE_NODIV_SUPPORTED /* With these routines we avoid an integer divide, which will be slower on diff --git a/src/png/pngasmrd.h b/src/png/pngasmrd.h index a19d4ae5ac..a2bf8f29ca 100644 --- a/src/png/pngasmrd.h +++ b/src/png/pngasmrd.h @@ -1,6 +1,6 @@ /* pngasmrd.h - assembler version of utilities to read a PNG file * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 2002 Glenn Randers-Pehrson * diff --git a/src/png/pngconf.h b/src/png/pngconf.h index 46fc4d8114..738a43a44c 100644 --- a/src/png/pngconf.h +++ b/src/png/pngconf.h @@ -1,6 +1,6 @@ /* pngconf.h - machine configurable file for libpng * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -1228,7 +1228,7 @@ typedef z_stream FAR * png_zstreamp; # endif # endif /* PNG_IMPEXP */ #else /* !(DLL || non-cygwin WINDOWS) */ -# if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__) +# if (defined(__IBMC__) || defined(IBMCPP__)) && defined(__OS2__) # define PNGAPI _System # define PNG_IMPEXP # else @@ -1242,7 +1242,7 @@ typedef z_stream FAR * png_zstreamp; #endif #if defined(__VISAGECPP__) -/* I don't compile with _System linkage, ever! */ +/* I don't compile with this _System linkage for wxWindows */ # ifdef PNGAPI # undef PNGAPI # endif diff --git a/src/png/pngerror.c b/src/png/pngerror.c index e6c197357f..38938a66d8 100644 --- a/src/png/pngerror.c +++ b/src/png/pngerror.c @@ -1,7 +1,7 @@ /* pngerror.c - stub functions for i/o and memory allocation * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pnggccrd.c b/src/png/pnggccrd.c index 2d1d1d3b36..5dbe52568e 100644 --- a/src/png/pnggccrd.c +++ b/src/png/pnggccrd.c @@ -6,7 +6,7 @@ * and http://www.intel.com/drg/pentiumII/appnotes/923/923.htm * for Intel's performance analysis of the MMX vs. non-MMX code. * - * libpng version 1.2.4 - July 8, 2002 + * libpng version 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * Copyright (c) 1998, Intel Corporation @@ -5075,7 +5075,9 @@ png_read_filter_row(png_structp png_ptr, png_row_infop row_info, png_bytep if (_mmx_supported == 2) { /* this should have happened in png_init_mmx_flags() already */ +#if !defined(PNG_1_0_X) png_warning(png_ptr, "asm_flags may not have been initialized"); +#endif png_mmx_support(); } #endif /* PNG_ASSEMBLER_CODE_SUPPORTED */ @@ -5345,13 +5347,13 @@ png_mmx_support(void) "pushl %%ecx \n\t" // save original Eflag to stack "popfl \n\t" // restore original Eflag "xorl %%ecx, %%eax \n\t" // compare new Eflag with original Eflag - "jz .NOT_SUPPORTED \n\t" // if same, CPUID instr. is not supported + "jz 0f \n\t" // if same, CPUID instr. is not supported "xorl %%eax, %%eax \n\t" // set eax to zero // ".byte 0x0f, 0xa2 \n\t" // CPUID instruction (two-byte opcode) "cpuid \n\t" // get the CPU identification info "cmpl $1, %%eax \n\t" // make sure eax return non-zero value - "jl .NOT_SUPPORTED \n\t" // if eax is zero, MMX is not supported + "jl 0f \n\t" // if eax is zero, MMX is not supported "xorl %%eax, %%eax \n\t" // set eax to zero and... "incl %%eax \n\t" // ...increment eax to 1. This pair is @@ -5359,14 +5361,14 @@ png_mmx_support(void) "cpuid \n\t" // get the CPU identification info again "andl $0x800000, %%edx \n\t" // mask out all bits but MMX bit (23) "cmpl $0, %%edx \n\t" // 0 = MMX not supported - "jz .NOT_SUPPORTED \n\t" // non-zero = yes, MMX IS supported + "jz 0f \n\t" // non-zero = yes, MMX IS supported "movl $1, %%eax \n\t" // set return value to 1 - "jmp .RETURN \n\t" // DONE: have MMX support + "jmp 1f \n\t" // DONE: have MMX support - ".NOT_SUPPORTED: \n\t" // target label for jump instructions + "0: \n\t" // .NOT_SUPPORTED: target label for jump instructions "movl $0, %%eax \n\t" // set return value to 0 - ".RETURN: \n\t" // target label for jump instructions + "1: \n\t" // .RETURN: target label for jump instructions "movl %%eax, _mmx_supported \n\t" // save in global static variable, too "popl %%edx \n\t" // restore edx "popl %%ecx \n\t" // restore ecx diff --git a/src/png/pngget.c b/src/png/pngget.c index d3805a6e06..46ca030e69 100644 --- a/src/png/pngget.c +++ b/src/png/pngget.c @@ -1,7 +1,7 @@ /* pngget.c - retrieval of values from info struct * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngmem.c b/src/png/pngmem.c index feb8a5dfc5..02a8e337d1 100644 --- a/src/png/pngmem.c +++ b/src/png/pngmem.c @@ -1,7 +1,7 @@ /* pngmem.c - stub functions for memory allocation * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngpread.c b/src/png/pngpread.c index 9a5b54dfb0..cadbc922d4 100644 --- a/src/png/pngpread.c +++ b/src/png/pngpread.c @@ -1,7 +1,7 @@ /* pngpread.c - read a png file in push mode * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -668,8 +668,8 @@ png_push_read_IDAT(png_structp png_ptr) save_size = png_ptr->save_buffer_size; png_calculate_crc(png_ptr, png_ptr->save_buffer_ptr, save_size); - png_process_IDAT_data(png_ptr, png_ptr->save_buffer_ptr, save_size); - + if (!(png_ptr->flags & PNG_FLAG_ZLIB_FINISHED)) + png_process_IDAT_data(png_ptr, png_ptr->save_buffer_ptr, save_size); png_ptr->idat_size -= save_size; png_ptr->buffer_size -= save_size; png_ptr->save_buffer_size -= save_size; @@ -690,7 +690,8 @@ png_push_read_IDAT(png_structp png_ptr) save_size = png_ptr->current_buffer_size; png_calculate_crc(png_ptr, png_ptr->current_buffer_ptr, save_size); - png_process_IDAT_data(png_ptr, png_ptr->current_buffer_ptr, save_size); + if (!(png_ptr->flags & PNG_FLAG_ZLIB_FINISHED)) + png_process_IDAT_data(png_ptr, png_ptr->current_buffer_ptr, save_size); png_ptr->idat_size -= save_size; png_ptr->buffer_size -= save_size; @@ -707,6 +708,7 @@ png_push_read_IDAT(png_structp png_ptr) png_crc_finish(png_ptr, 0); png_ptr->mode &= ~PNG_HAVE_CHUNK_HEADER; + png_ptr->mode |= PNG_AFTER_IDAT; } } @@ -752,7 +754,12 @@ png_process_IDAT_data(png_structp png_ptr, png_bytep buffer, (!png_ptr->interlaced && #endif png_ptr->row_number == png_ptr->num_rows-1)) - png_error(png_ptr, "Too much data in IDAT chunks"); + { + if (png_ptr->zstream.avail_in) + png_warning(png_ptr, "Too much data in IDAT chunks"); + png_ptr->flags |= PNG_FLAG_ZLIB_FINISHED; + break; + } png_push_process_row(png_ptr); png_ptr->zstream.avail_out = (uInt)png_ptr->irowbytes; png_ptr->zstream.next_out = png_ptr->row_buf; @@ -987,6 +994,8 @@ png_read_push_finish_row(png_structp png_ptr) (png_ptr->pass == 5 && png_ptr->width < 2)) png_ptr->pass++; + if (png_ptr->pass > 7) + png_ptr->pass--; if (png_ptr->pass >= 7) break; diff --git a/src/png/pngread.c b/src/png/pngread.c index 24ddeb5c7b..31019304c0 100644 --- a/src/png/pngread.c +++ b/src/png/pngread.c @@ -1,7 +1,7 @@ /* pngread.c - read a PNG file * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -789,7 +789,7 @@ png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row) * not called png_set_interlace_handling(), the display_row buffer will * be ignored, so pass NULL to it. * - * [*] png_handle_alpha() does not exist yet, as of libpng version 1.2.4 + * [*] png_handle_alpha() does not exist yet, as of libpng version 1.2.5rc3 */ void PNGAPI @@ -837,7 +837,7 @@ png_read_rows(png_structp png_ptr, png_bytepp row, * only call this function once. If you desire to have an image for * each pass of a interlaced image, use png_read_rows() instead. * - * [*] png_handle_alpha() does not exist yet, as of libpng version 1.2.4 + * [*] png_handle_alpha() does not exist yet, as of libpng version 1.2.5rc3 */ void PNGAPI png_read_image(png_structp png_ptr, png_bytepp image) diff --git a/src/png/pngrio.c b/src/png/pngrio.c index bb4197d2ba..d88324a49b 100644 --- a/src/png/pngrio.c +++ b/src/png/pngrio.c @@ -1,7 +1,7 @@ /* pngrio.c - functions for data input * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngrtran.c b/src/png/pngrtran.c index 5ec3ee524a..ed02e10fe5 100644 --- a/src/png/pngrtran.c +++ b/src/png/pngrtran.c @@ -1,7 +1,7 @@ /* pngrtran.c - transforms the data in a row for PNG readers * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -16,15 +16,6 @@ #define PNG_INTERNAL #include "png.h" -#if defined(_MSC_VER) && !defined(__MWERKS__) -#define __VISUALC__ _MSC_VER -#endif -#ifdef __VISUALC__ -#ifndef WIN32 -#pragma warning(disable:4135) -#endif -#endif - /* Set the action on getting a CRC error for an ancillary or critical chunk. */ void PNGAPI png_set_crc_action(png_structp png_ptr, int crit_action, int ancil_action) diff --git a/src/png/pngrutil.c b/src/png/pngrutil.c index 9740063112..d0a4964cd1 100644 --- a/src/png/pngrutil.c +++ b/src/png/pngrutil.c @@ -1,7 +1,7 @@ /* pngrutil.c - utilities to read a PNG file * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -2883,7 +2883,7 @@ png_read_finish_row(png_structp png_ptr) { if (!(png_ptr->zstream.avail_out) || png_ptr->zstream.avail_in || png_ptr->idat_size) - png_error(png_ptr, "Extra compressed data"); + png_warning(png_ptr, "Extra compressed data"); png_ptr->mode |= PNG_AFTER_IDAT; png_ptr->flags |= PNG_FLAG_ZLIB_FINISHED; break; @@ -2893,14 +2893,19 @@ png_read_finish_row(png_structp png_ptr) "Decompression Error"); if (!(png_ptr->zstream.avail_out)) - png_error(png_ptr, "Extra compressed data"); + { + png_warning(png_ptr, "Extra compressed data."); + png_ptr->mode |= PNG_AFTER_IDAT; + png_ptr->flags |= PNG_FLAG_ZLIB_FINISHED; + break; + } } png_ptr->zstream.avail_out = 0; } if (png_ptr->idat_size || png_ptr->zstream.avail_in) - png_error(png_ptr, "Extra compression data"); + png_warning(png_ptr, "Extra compression data"); inflateReset(&png_ptr->zstream); diff --git a/src/png/pngset.c b/src/png/pngset.c index c691f9e60f..bc3465ed5d 100644 --- a/src/png/pngset.c +++ b/src/png/pngset.c @@ -1,7 +1,7 @@ /* pngset.c - storage of image information into info struct * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngtest.c b/src/png/pngtest.c index 3b0519ab40..1430f0f395 100644 --- a/src/png/pngtest.c +++ b/src/png/pngtest.c @@ -1,7 +1,7 @@ /* pngtest.c - a simple test program to test libpng * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -1538,4 +1538,4 @@ main(int argc, char *argv[]) } /* Generate a compiler error if there is an old png.h in the search path. */ -typedef version_1_2_4 your_png_h_is_not_version_1_2_4; +typedef version_1_2_5rc3 your_png_h_is_not_version_1_2_5rc3; diff --git a/src/png/pngtrans.c b/src/png/pngtrans.c index d850ee7ac2..59bd606b3b 100644 --- a/src/png/pngtrans.c +++ b/src/png/pngtrans.c @@ -1,7 +1,7 @@ /* pngtrans.c - transforms the data in a row (used by both readers and writers) * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngvcrd.c b/src/png/pngvcrd.c index 72c4412131..cab9aa4791 100644 --- a/src/png/pngvcrd.c +++ b/src/png/pngvcrd.c @@ -2,7 +2,7 @@ * * For Intel x86 CPU and Microsoft Visual C++ compiler * - * libpng version 1.2.4 - July 8, 2002 + * libpng version 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * Copyright (c) 1998, Intel Corporation diff --git a/src/png/pngwio.c b/src/png/pngwio.c index f356b7d4a7..e4f5e11336 100644 --- a/src/png/pngwio.c +++ b/src/png/pngwio.c @@ -1,7 +1,7 @@ /* pngwio.c - functions for data output * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngwrite.c b/src/png/pngwrite.c index ff62395cf4..17444bbe3e 100644 --- a/src/png/pngwrite.c +++ b/src/png/pngwrite.c @@ -1,7 +1,7 @@ /* pngwrite.c - general routines to write a PNG file * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngwtran.c b/src/png/pngwtran.c index d15c0c55ca..1ce2a6d447 100644 --- a/src/png/pngwtran.c +++ b/src/png/pngwtran.c @@ -1,7 +1,7 @@ /* pngwtran.c - transforms the data in a row for PNG writers * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/png/pngwutil.c b/src/png/pngwutil.c index 22155e93f9..0ecaae5a23 100644 --- a/src/png/pngwutil.c +++ b/src/png/pngwutil.c @@ -1,7 +1,7 @@ /* pngwutil.c - utilities to write a PNG file * - * libpng 1.2.4 - July 8, 2002 + * libpng 1.2.5rc3 - September 18, 2002 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2002 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/src/stc/Makefile.in b/src/stc/Makefile.in index 01b2877cb8..042da17f87 100644 --- a/src/stc/Makefile.in +++ b/src/stc/Makefile.in @@ -9,13 +9,13 @@ top_srcdir = @top_srcdir@/.. top_builddir = ../../.. scintilla_dir = $(top_srcdir)/contrib/src/stc/scintilla -libsrc_dir = contrib/src/stc@PATH_IFS@$(scintilla_dir)/src +libsrc_dir = contrib/src/stc/scintilla/src:$(top_srcdir)/contrib/src/stc -TARGET_LIBNAME=libstc +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_stc-@WX_RELEASE@ -LIBVERSION_CURRENT=1 -LIBVERSION_REVISION=0 -LIBVERSION_AGE=0 +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=stc diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 8abff4b97d..eaf9899f03 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -804,7 +804,7 @@ void ListBox::Clear() { } void ListBox::Append(char *s) { - GETLB(id)->Append(s); + GETLB(id)->Append(stc2wx(s)); } int ListBox::Length() { diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index f1c0e43a0a..e389534c80 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -338,7 +338,7 @@ void ScintillaWX::Copy() { SelectionText st; CopySelectionRange(&st); if (wxTheClipboard->Open()) { - wxTheClipboard->UsePrimarySelection(); + wxTheClipboard->UsePrimarySelection(FALSE); wxString text = stc2wx(st.s, st.len); wxTheClipboard->SetData(new wxTextDataObject(text)); wxTheClipboard->Close(); @@ -355,7 +355,7 @@ void ScintillaWX::Paste() { bool gotData = FALSE; if (wxTheClipboard->Open()) { - wxTheClipboard->UsePrimarySelection(); + wxTheClipboard->UsePrimarySelection(FALSE); gotData = wxTheClipboard->GetData(data); wxTheClipboard->Close(); } @@ -380,7 +380,7 @@ bool ScintillaWX::CanPaste() { wxTheClipboard->Open(); if (wxTheClipboard->IsOpened()) { - wxTheClipboard->UsePrimarySelection(); + wxTheClipboard->UsePrimarySelection(FALSE); canPaste = wxTheClipboard->IsSupported(wxUSE_UNICODE ? wxDF_UNICODETEXT : wxDF_TEXT); if (didOpen) wxTheClipboard->Close(); @@ -405,8 +405,22 @@ void ScintillaWX::AddToPopUp(const char *label, int cmd, bool enabled) { } +// This is called by the Editor base class whenever something is selected void ScintillaWX::ClaimSelection() { - +#ifdef __WXGTK__ + // Put the selected text in the PRIMARY selection + if (currentPos != anchor) { + SelectionText st; + CopySelectionRange(&st); + if (wxTheClipboard->Open()) { + wxTheClipboard->UsePrimarySelection(TRUE); + wxString text = stc2wx(st.s, st.len); + wxTheClipboard->SetData(new wxTextDataObject(text)); + wxTheClipboard->UsePrimarySelection(FALSE); + wxTheClipboard->Close(); + } + } +#endif } @@ -547,23 +561,64 @@ void ScintillaWX::DoSysColourChange() { InvalidateStyleData(); } -void ScintillaWX::DoButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt) { +void ScintillaWX::DoLeftButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt) { ButtonDown(pt, curTime, shift, ctrl, alt); } -void ScintillaWX::DoButtonUp(Point pt, unsigned int curTime, bool ctrl) { +void ScintillaWX::DoLeftButtonUp(Point pt, unsigned int curTime, bool ctrl) { ButtonUp(pt, curTime, ctrl); } -void ScintillaWX::DoButtonMove(Point pt) { +void ScintillaWX::DoLeftButtonMove(Point pt) { ButtonMove(pt); } +void ScintillaWX::DoMiddleButtonUp(Point pt) { +#ifdef __WXGTK__ + // Set the current position to the mouse click point and + // then paste in the PRIMARY selection, if any. wxGTK only. + int newPos = PositionFromLocation(pt); + MovePositionTo(newPos, 0, 1); + + pdoc->BeginUndoAction(); + wxTextDataObject data; + bool gotData = FALSE; + if (wxTheClipboard->Open()) { + wxTheClipboard->UsePrimarySelection(TRUE); + gotData = wxTheClipboard->GetData(data); + wxTheClipboard->UsePrimarySelection(FALSE); + wxTheClipboard->Close(); + } + if (gotData) { + wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(data.GetText()); + int len = strlen(buf); + pdoc->InsertString(currentPos, buf, len); + SetEmptySelection(currentPos + len); + } + pdoc->EndUndoAction(); + NotifyChange(); + Redraw(); + + ShowCaretAtCurrentPosition(); + EnsureCaretVisible(); +#endif +} + void ScintillaWX::DoAddChar(int key) { +#if wxUSE_UNICODE + char ansiChars[3]; + ansiChars[0] = key; + ansiChars[1] = 0; + wxString uniChar(ansiChars, wxConvLocal); + wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(uniChar); + AddCharUTF((char*)buf.data(), strlen(buf)); +#else AddChar(key); +#endif } + int ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed) { #if defined(__WXGTK__) || defined(__WXMAC__) // Ctrl chars (A-Z) end up with the wrong keycode on wxGTK... diff --git a/src/stc/ScintillaWX.h b/src/stc/ScintillaWX.h index 5f87911952..d904fc3c18 100644 --- a/src/stc/ScintillaWX.h +++ b/src/stc/ScintillaWX.h @@ -122,9 +122,10 @@ public: void DoLoseFocus(); void DoGainFocus(); void DoSysColourChange(); - void DoButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt); - void DoButtonUp(Point pt, unsigned int curTime, bool ctrl); - void DoButtonMove(Point pt); + void DoLeftButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt); + void DoLeftButtonUp(Point pt, unsigned int curTime, bool ctrl); + void DoLeftButtonMove(Point pt); + void DoMiddleButtonUp(Point pt); void DoMouseWheel(int rotation, int delta, int linesPerAction, int ctrlDown, bool isPageScroll); void DoAddChar(int key); int DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed); diff --git a/src/stc/gen_iface.py b/src/stc/gen_iface.py index b5342b73e6..6689380466 100644 --- a/src/stc/gen_iface.py +++ b/src/stc/gen_iface.py @@ -36,7 +36,13 @@ valPrefixes = [('SCI_', ''), ] # Message function values that should have a CMD_ constant as well -cmdValues = [ (2300, 2350), 2011, 2013, (2176, 2180) ] +cmdValues = [ (2300, 2349), + 2011, + 2013, + (2176, 2180), + (2390, 2393), + (2395, 2396), + ] # Map some generic typenames to wx types, using return value syntax @@ -420,6 +426,54 @@ methodOverrideMap = { 0), + 'GetDocPointer' : (0, + 'void* %s();', + '''void* %s() { + return (void*)SendMsg(%s);''', + 0), + + 'SetDocPointer' : (0, + 'void %s(void* docPointer);', + '''void %s(void* docPointer) { + SendMsg(%s, 0, (long)docPointer);''', + 0), + + 'CreateDocument' : (0, + 'void* %s();', + '''void* %s() { + return (void*)SendMsg(%s);''', + 0), + + 'AddRefDocument' : (0, + 'void %s(void* docPointer);', + '''void %s(void* docPointer) { + SendMsg(%s, 0, (long)docPointer);''', + 0), + + 'ReleaseDocument' : (0, + 'void %s(void* docPointer);', + '''void %s(void* docPointer) { + SendMsg(%s, 0, (long)docPointer);''', + 0), + 'SetCodePage' : (0, + 0, + '''void %s(int codePage) { +#if wxUSE_UNICODE + wxASSERT_MSG(codePage == wxSTC_CP_UTF8, + wxT("Only wxSTC_CP_UTF8 may be used when wxUSE_UNICODE is on.")); +#else + wxASSERT_MSG(codePage != wxSTC_CP_UTF8, + wxT("wxSTC_CP_UTF8 may not be used when wxUSE_UNICODE is off.")); +#endif + SendMsg(%s, codePage);''', + ("Set the code page used to interpret the bytes of the document as characters.",) ), + + + 'GrabFocus' : (None, 0, 0, 0), + 'SetFocus' : ('SetSTCFocus', 0, 0, 0), + 'GetFocus' : ('GetSTCFocus', 0, 0, 0), + + # Remove all methods that are key commands since they can be # executed with CmdKeyExecute @@ -470,53 +524,6 @@ methodOverrideMap = { 'DeleteBackNotLine' : (None, 0, 0, 0), - 'GetDocPointer' : (0, - 'void* %s();', - '''void* %s() { - return (void*)SendMsg(%s);''', - 0), - - 'SetDocPointer' : (0, - 'void %s(void* docPointer);', - '''void %s(void* docPointer) { - SendMsg(%s, 0, (long)docPointer);''', - 0), - - 'CreateDocument' : (0, - 'void* %s();', - '''void* %s() { - return (void*)SendMsg(%s);''', - 0), - - 'AddRefDocument' : (0, - 'void %s(void* docPointer);', - '''void %s(void* docPointer) { - SendMsg(%s, 0, (long)docPointer);''', - 0), - - 'ReleaseDocument' : (0, - 'void %s(void* docPointer);', - '''void %s(void* docPointer) { - SendMsg(%s, 0, (long)docPointer);''', - 0), - 'SetCodePage' : (0, - 0, - '''void %s(int codePage) { -#if wxUSE_UNICODE - wxASSERT_MSG(codePage == wxSTC_CP_UTF8, - wxT("Only wxSTC_CP_UTF8 may be used when wxUSE_UNICODE is on.")); -#else - wxASSERT_MSG(codePage != wxSTC_CP_UTF8, - wxT("wxSTC_CP_UTF8 may not be used when wxUSE_UNICODE is off.")); -#endif - SendMsg(%s, codePage);''', - ("Set the code page used to interpret the bytes of the document as characters.",) ), - - - 'GrabFocus' : (None, 0, 0, 0), - 'SetFocus' : ('SetSTCFocus', 0, 0, 0), - 'GetFocus' : ('GetSTCFocus', 0, 0, 0), - '' : ('', 0, 0, 0), @@ -529,6 +536,7 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest): curDocStrings = [] values = [] methods = [] + cmds = [] # parse iface file fi = FileInput(iface) @@ -547,7 +555,7 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest): curDocStrings = [] elif op == 'fun ' or op == 'set ' or op == 'get ': - parseFun(line[4:], methods, curDocStrings, values) + parseFun(line[4:], methods, curDocStrings, cmds) curDocStrings = [] elif op == 'cat ': @@ -570,6 +578,7 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest): # process templates data = {} data['VALUES'] = processVals(values) + data['CMDS'] = processVals(cmds) defs, imps = processMethods(methods) data['METHOD_DEFS'] = defs data['METHOD_IMPS'] = imps @@ -747,10 +756,10 @@ def parseFun(line, methods, docs, values): param1 = parseParam(param1) param2 = parseParam(param2) - # Special case. For the key command functionss we want a value defined too + # Special case. For the key command functions we want a value defined too num = string.atoi(number) for v in cmdValues: - if (type(v) == type(()) and v[0] <= num < v[1]) or v == num: + if (type(v) == type(()) and v[0] <= num <= v[1]) or v == num: parseVal('CMD_%s=%s' % (string.upper(name), number), values, docs) #if retType == 'void' and not param1 and not param2: diff --git a/src/stc/scintilla/include/SString.h b/src/stc/scintilla/include/SString.h index 6bfe50fccd..3c7ccc33a5 100644 --- a/src/stc/scintilla/include/SString.h +++ b/src/stc/scintilla/include/SString.h @@ -369,7 +369,11 @@ public: */ inline char *StringDup( const char *s, ///< The string to duplicate - SString::lenpos_t len=SString::measure_length) ///< The length of memory to allocate. Optional. + /* gcc 2.96 doesn't seem to like this syntax: gives + 'non-local function uses anonymous type' + SString::lenpos_t len=SString::measure_length) ///< The length of memory to allocate. Optional. + */ + SString::lenpos_t len=0xffffffffU) ///< The length of memory to allocate. Optional. { return SString::StringAllocate(s, len); } diff --git a/src/stc/scintilla/include/Scintilla.iface b/src/stc/scintilla/include/Scintilla.iface index 776fe8f2b7..d6383b103b 100644 --- a/src/stc/scintilla/include/Scintilla.iface +++ b/src/stc/scintilla/include/Scintilla.iface @@ -1130,14 +1130,14 @@ fun void DeleteBackNotLine=2344(,) # Move caret to first position on display line. fun void HomeDisplay=2345(,) -# Move caret to first position on display line extending selection to +# Move caret to first position on display line extending selection to # new caret position. fun void HomeDisplayExtend=2346(,) # Move caret to last position on display line. fun void LineEndDisplay=2347(,) -# Move caret to last position on display line extending selection to new +# Move caret to last position on display line extending selection to new # caret position. fun void LineEndDisplayExtend=2348(,) diff --git a/src/stc/scintilla/src/ScintillaBase.cxx b/src/stc/scintilla/src/ScintillaBase.cxx index a5e5a065d1..ab6e9a19b4 100644 --- a/src/stc/scintilla/src/ScintillaBase.cxx +++ b/src/stc/scintilla/src/ScintillaBase.cxx @@ -70,7 +70,7 @@ void ScintillaBase::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { } if (ac.Active()) { AutoCompleteCharacterAdded(s[0]); - // For fill ups add the character after the autocompletion has + // For fill ups add the character after the autocompletion has // triggered so containers see the key so can display a calltip. if (isFillUp) { Editor::AddCharUTF(s, len, treatAsDBCS); @@ -317,6 +317,7 @@ void ScintillaBase::AutoCompleteCompleted() { scn.nmhdr.code = SCN_USERLISTSELECTION; scn.message = 0; scn.wParam = listType; + scn.listType = listType; scn.lParam = 0; scn.text = userListSelected.c_str(); NotifyParent(scn); diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index d675e8da9d..17cf6ee406 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -90,10 +90,8 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_SCROLL (wxStyledTextCtrl::OnScroll) EVT_SIZE (wxStyledTextCtrl::OnSize) EVT_LEFT_DOWN (wxStyledTextCtrl::OnMouseLeftDown) -#if defined(__WXMSW__) || defined(__WXMAC__) // Let Scintilla see the double click as a second click EVT_LEFT_DCLICK (wxStyledTextCtrl::OnMouseLeftDown) -#endif EVT_MOTION (wxStyledTextCtrl::OnMouseMove) EVT_LEFT_UP (wxStyledTextCtrl::OnMouseLeftUp) #if defined(__WXGTK__) || defined(__WXMAC__) @@ -102,6 +100,7 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_CONTEXT_MENU (wxStyledTextCtrl::OnContextMenu) #endif EVT_MOUSEWHEEL (wxStyledTextCtrl::OnMouseWheel) + EVT_MIDDLE_UP (wxStyledTextCtrl::OnMouseMiddleUp) EVT_CHAR (wxStyledTextCtrl::OnChar) EVT_KEY_DOWN (wxStyledTextCtrl::OnKeyDown) EVT_KILL_FOCUS (wxStyledTextCtrl::OnLoseFocus) @@ -1478,7 +1477,7 @@ void wxStyledTextCtrl::HomeDisplay() { SendMsg(2345, 0, 0); } -// Move caret to first position on display line extending selection to +// Move caret to first position on display line extending selection to // new caret position. void wxStyledTextCtrl::HomeDisplayExtend() { SendMsg(2346, 0, 0); @@ -1489,7 +1488,7 @@ void wxStyledTextCtrl::LineEndDisplay() { SendMsg(2347, 0, 0); } -// Move caret to last position on display line extending selection to new +// Move caret to last position on display line extending selection to new // caret position. void wxStyledTextCtrl::LineEndDisplayExtend() { SendMsg(2348, 0, 0); @@ -1959,18 +1958,18 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { SetFocus(); wxPoint pt = evt.GetPosition(); - m_swx->DoButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ShiftDown(), evt.ControlDown(), evt.AltDown()); } void wxStyledTextCtrl::OnMouseMove(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonMove(Point(pt.x, pt.y)); + m_swx->DoLeftButtonMove(Point(pt.x, pt.y)); } void wxStyledTextCtrl::OnMouseLeftUp(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ControlDown()); } @@ -1981,6 +1980,11 @@ void wxStyledTextCtrl::OnMouseRightUp(wxMouseEvent& evt) { } +void wxStyledTextCtrl::OnMouseMiddleUp(wxMouseEvent& evt) { + wxPoint pt = evt.GetPosition(); + m_swx->DoMiddleButtonUp(Point(pt.x, pt.y)); +} + void wxStyledTextCtrl::OnContextMenu(wxContextMenuEvent& evt) { wxPoint pt = evt.GetPosition(); ScreenToClient(&pt.x, &pt.y); @@ -1998,8 +2002,6 @@ void wxStyledTextCtrl::OnMouseWheel(wxMouseEvent& evt) { void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { - int key = evt.GetKeyCode(); - // On (some?) non-US keyboards the AltGr key is required to enter some // common characters. It comes to us as both Alt and Ctrl down so we need // to let the char through in that case, otherwise if only ctrl or only @@ -2008,10 +2010,13 @@ void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { bool alt = evt.AltDown(); bool skip = ((ctrl || alt) && ! (ctrl && alt)); + int key = evt.GetKeyCode(); + // printf("OnChar key:%d consumed:%d ctrl:%d alt:%d skip:%d\n", // key, m_lastKeyDownConsumed, ctrl, alt, skip); - if (key <= WXK_START && /*key >= 32 &&*/ !m_lastKeyDownConsumed && !skip) { + if ( (key <= WXK_START || key > WXK_NUMPAD_DIVIDE) && + !m_lastKeyDownConsumed && !skip) { m_swx->DoAddChar(key); return; } @@ -2076,6 +2081,20 @@ void wxStyledTextCtrl::NotifyChange() { GetEventHandler()->ProcessEvent(evt); } + +static void SetEventText(wxStyledTextEvent& evt, const char* text, + size_t length) { + if(!text) return; + + // The unicode conversion MUST have a null byte to terminate the + // string so move it into a buffer first and give it one. + wxMemoryBuffer buf(length+1); + buf.AppendData((void*)text, length); + buf.AppendByte(0); + evt.SetText(stc2wx(buf)); +} + + void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { SCNotification& scn = *_scn; wxStyledTextEvent evt(0, GetId()); @@ -2121,14 +2140,7 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_MODIFIED: evt.SetEventType(wxEVT_STC_MODIFIED); evt.SetModificationType(scn.modificationType); - if (scn.text) { - // The unicode conversion MUST have a null byte to terminate the - // string so move it into a buffer first and give it one. - wxMemoryBuffer buf(scn.length+1); - buf.AppendData((void*)scn.text, scn.length); - buf.AppendByte(0); - evt.SetText(stc2wx(buf)); - } + SetEventText(evt, scn.text, scn.length); evt.SetLength(scn.length); evt.SetLinesAdded(scn.linesAdded); evt.SetLine(scn.line); @@ -2160,12 +2172,12 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_USERLISTSELECTION: evt.SetEventType(wxEVT_STC_USERLISTSELECTION); evt.SetListType(scn.listType); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_URIDROPPED: evt.SetEventType(wxEVT_STC_URIDROPPED); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_DWELLSTART: diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index 3e1b761faf..0ab9afdc5e 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -90,10 +90,8 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_SCROLL (wxStyledTextCtrl::OnScroll) EVT_SIZE (wxStyledTextCtrl::OnSize) EVT_LEFT_DOWN (wxStyledTextCtrl::OnMouseLeftDown) -#if defined(__WXMSW__) || defined(__WXMAC__) // Let Scintilla see the double click as a second click EVT_LEFT_DCLICK (wxStyledTextCtrl::OnMouseLeftDown) -#endif EVT_MOTION (wxStyledTextCtrl::OnMouseMove) EVT_LEFT_UP (wxStyledTextCtrl::OnMouseLeftUp) #if defined(__WXGTK__) || defined(__WXMAC__) @@ -102,6 +100,7 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl) EVT_CONTEXT_MENU (wxStyledTextCtrl::OnContextMenu) #endif EVT_MOUSEWHEEL (wxStyledTextCtrl::OnMouseWheel) + EVT_MIDDLE_UP (wxStyledTextCtrl::OnMouseMiddleUp) EVT_CHAR (wxStyledTextCtrl::OnChar) EVT_KEY_DOWN (wxStyledTextCtrl::OnKeyDown) EVT_KILL_FOCUS (wxStyledTextCtrl::OnLoseFocus) @@ -337,18 +336,18 @@ void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { SetFocus(); wxPoint pt = evt.GetPosition(); - m_swx->DoButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonDown(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ShiftDown(), evt.ControlDown(), evt.AltDown()); } void wxStyledTextCtrl::OnMouseMove(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonMove(Point(pt.x, pt.y)); + m_swx->DoLeftButtonMove(Point(pt.x, pt.y)); } void wxStyledTextCtrl::OnMouseLeftUp(wxMouseEvent& evt) { wxPoint pt = evt.GetPosition(); - m_swx->DoButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), + m_swx->DoLeftButtonUp(Point(pt.x, pt.y), m_stopWatch.Time(), evt.ControlDown()); } @@ -359,6 +358,11 @@ void wxStyledTextCtrl::OnMouseRightUp(wxMouseEvent& evt) { } +void wxStyledTextCtrl::OnMouseMiddleUp(wxMouseEvent& evt) { + wxPoint pt = evt.GetPosition(); + m_swx->DoMiddleButtonUp(Point(pt.x, pt.y)); +} + void wxStyledTextCtrl::OnContextMenu(wxContextMenuEvent& evt) { wxPoint pt = evt.GetPosition(); ScreenToClient(&pt.x, &pt.y); @@ -376,8 +380,6 @@ void wxStyledTextCtrl::OnMouseWheel(wxMouseEvent& evt) { void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { - int key = evt.GetKeyCode(); - // On (some?) non-US keyboards the AltGr key is required to enter some // common characters. It comes to us as both Alt and Ctrl down so we need // to let the char through in that case, otherwise if only ctrl or only @@ -386,10 +388,13 @@ void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) { bool alt = evt.AltDown(); bool skip = ((ctrl || alt) && ! (ctrl && alt)); + int key = evt.GetKeyCode(); + // printf("OnChar key:%%d consumed:%%d ctrl:%%d alt:%%d skip:%%d\n", // key, m_lastKeyDownConsumed, ctrl, alt, skip); - if (key <= WXK_START && /*key >= 32 &&*/ !m_lastKeyDownConsumed && !skip) { + if ( (key <= WXK_START || key > WXK_NUMPAD_DIVIDE) && + !m_lastKeyDownConsumed && !skip) { m_swx->DoAddChar(key); return; } @@ -454,6 +459,20 @@ void wxStyledTextCtrl::NotifyChange() { GetEventHandler()->ProcessEvent(evt); } + +static void SetEventText(wxStyledTextEvent& evt, const char* text, + size_t length) { + if(!text) return; + + // The unicode conversion MUST have a null byte to terminate the + // string so move it into a buffer first and give it one. + wxMemoryBuffer buf(length+1); + buf.AppendData((void*)text, length); + buf.AppendByte(0); + evt.SetText(stc2wx(buf)); +} + + void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { SCNotification& scn = *_scn; wxStyledTextEvent evt(0, GetId()); @@ -499,14 +518,7 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_MODIFIED: evt.SetEventType(wxEVT_STC_MODIFIED); evt.SetModificationType(scn.modificationType); - if (scn.text) { - // The unicode conversion MUST have a null byte to terminate the - // string so move it into a buffer first and give it one. - wxMemoryBuffer buf(scn.length+1); - buf.AppendData((void*)scn.text, scn.length); - buf.AppendByte(0); - evt.SetText(stc2wx(buf)); - } + SetEventText(evt, scn.text, scn.length); evt.SetLength(scn.length); evt.SetLinesAdded(scn.linesAdded); evt.SetLine(scn.line); @@ -538,12 +550,12 @@ void wxStyledTextCtrl::NotifyParent(SCNotification* _scn) { case SCN_USERLISTSELECTION: evt.SetEventType(wxEVT_STC_USERLISTSELECTION); evt.SetListType(scn.listType); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_URIDROPPED: evt.SetEventType(wxEVT_STC_URIDROPPED); - evt.SetText(scn.text); + SetEventText(evt, scn.text, strlen(scn.text)); break; case SCN_DWELLSTART: diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 157a7bfc23..0a3360359e 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -24,6 +24,12 @@ #include #include +#ifdef STCISDLL +#define STCDLLEXPORT WXDLLEXPORT +#else +#define STCDLLEXPORT +#endif + //---------------------------------------------------------------------- // Should a wxPopupWindow be used for the call tips and autocomplete windows? @@ -38,6 +44,12 @@ %(VALUES)s + +//----------------------------------------- +// Commands that can be bound to keystrokes +%(CMDS)s + + // END of generated section //---------------------------------------------------------------------- @@ -45,8 +57,11 @@ class ScintillaWX; // forward declare class WordList; struct SCNotification; - -extern const wxChar* wxSTCNameStr; +#ifndef SWIG +extern STCDLLEXPORT const wxChar* wxSTCNameStr; +class STCDLLEXPORT wxStyledTextCtrl; +class STCDLLEXPORT wxStyledTextEvent; +#endif //---------------------------------------------------------------------- @@ -175,6 +190,7 @@ private: void OnMouseMove(wxMouseEvent& evt); void OnMouseLeftUp(wxMouseEvent& evt); void OnMouseRightUp(wxMouseEvent& evt); + void OnMouseMiddleUp(wxMouseEvent& evt); void OnContextMenu(wxContextMenuEvent& evt); void OnMouseWheel(wxMouseEvent& evt); void OnChar(wxKeyEvent& evt); @@ -210,7 +226,7 @@ private: //---------------------------------------------------------------------- -// SWIG can't handle "#if" type of conditionals, onlu "#ifdef" +// SWIG can't handle "#if" type of conditionals, only "#ifdef" #ifdef SWIG #define STC_USE_DND 1 #else diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 725eafa5ec..f0f783992a 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -1007,7 +1007,7 @@ void wxListBox::ExtendSelection(int itemTo) } } -void wxListBox::Select(bool sel, int item) +void wxListBox::DoSelect(int item, bool sel) { if ( item != -1 ) { @@ -1027,7 +1027,7 @@ void wxListBox::Select(bool sel, int item) void wxListBox::SelectAndNotify(int item) { - Select(TRUE, item); + DoSelect(item); SendEvent(wxEVT_COMMAND_LISTBOX_SELECTED); } @@ -1046,7 +1046,7 @@ void wxListBox::Activate(int item) if ( item != -1 ) { - Select(TRUE, item); + DoSelect(item); SendEvent(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED); } @@ -1089,7 +1089,7 @@ bool wxListBox::PerformAction(const wxControlAction& action, item = m_current; if ( IsSelected(item) ) - Unselect(item); + DoUnselect(item); else SelectAndNotify(item); } @@ -1100,12 +1100,12 @@ bool wxListBox::PerformAction(const wxControlAction& action, if ( strArg.empty() ) SelectAndNotify(item); else - Select(TRUE, item); + DoSelect(item); } else if ( action == wxACTION_LISTBOX_SELECTADD ) - Select(TRUE, item); + DoSelect(item); else if ( action == wxACTION_LISTBOX_UNSELECT ) - Select(FALSE, item); + DoUnselect(item); else if ( action == wxACTION_LISTBOX_MOVEDOWN ) ChangeCurrent(1); else if ( action == wxACTION_LISTBOX_MOVEUP ) diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index 4c19121069..da6d4b486f 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -330,6 +330,7 @@ bool wxNotebook::InsertPage(int nPage, bSelect = TRUE; Relayout(); + Refresh(); } else // not the first tab { @@ -518,10 +519,20 @@ void wxNotebook::DoDraw(wxControlRenderer *renderer) wxSize sizeSpinBtn = m_spinbtn->GetSize(); if ( IsVertical() ) + { rectTabs.height -= sizeSpinBtn.y; + + // Allow for erasing the line under selected tab + rectTabs.width += 2; + } else + { rectTabs.width -= sizeSpinBtn.x; + // Allow for erasing the line under selected tab + rectTabs.height += 2; + } + dc.SetClippingRegion(rectTabs); } @@ -566,6 +577,8 @@ void wxNotebook::DoDraw(wxControlRenderer *renderer) { DoDrawTab(dc, rectSel, m_sel); } + + dc.DestroyClippingRegion(); } // ---------------------------------------------------------------------------- diff --git a/src/univ/slider.cpp b/src/univ/slider.cpp index 8361ab7d54..8381f531a6 100644 --- a/src/univ/slider.cpp +++ b/src/univ/slider.cpp @@ -787,14 +787,15 @@ bool wxSlider::PerformAction(const wxControlAction& action, wxScrollThumb::Shaft wxSlider::HitTest(const wxPoint& pt) const { wxRect rectShaft = GetShaftRect(); - if ( !rectShaft.Inside(pt) ) + wxRect rectThumb; + CalcThumbRect(&rectShaft, &rectThumb, NULL); + + // check for possible shaft or thumb hit + if (!rectShaft.Inside(pt) && !rectThumb.Inside(pt)) { return wxScrollThumb::Shaft_None; } - // inside the shaft, where is it relatively to the thumb? - wxRect rectThumb; - CalcThumbRect(&rectShaft, &rectThumb, NULL); // the position to test and the start and end of the thumb wxCoord x, x1, x2; diff --git a/src/univ/themes/gtk.cpp b/src/univ/themes/gtk.cpp index ab9a0db5b4..5c4f87e74c 100644 --- a/src/univ/themes/gtk.cpp +++ b/src/univ/themes/gtk.cpp @@ -2810,7 +2810,7 @@ int wxGTKRenderer::HitTestFrame(const wxRect& rect, const wxPoint& pt, int flags // standard icons // ---------------------------------------------------------------------------- -static char *error_xpm[] = { +static const char *error_xpm[] = { /* columns rows colors chars-per-pixel */ "48 48 537 2", " c Gray0", @@ -3401,7 +3401,7 @@ static char *error_xpm[] = { "W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+W+" }; -static char *info_xpm[] = { +static const char *info_xpm[] = { /* columns rows colors chars-per-pixel */ "48 48 478 2", " c Gray0", @@ -3934,7 +3934,7 @@ static char *info_xpm[] = { }; /* XPM */ -static char *warning_xpm[] = { +static const char *warning_xpm[] = { /* columns rows colors chars-per-pixel */ "48 48 270 2", " c Gray0", @@ -4259,7 +4259,7 @@ static char *warning_xpm[] = { }; /* XPM */ -static char *question_xpm[] = { +static const char *question_xpm[] = { /* columns rows colors chars-per-pixel */ "48 48 101 2", " c Gray0", diff --git a/src/univ/themes/metal.cpp b/src/univ/themes/metal.cpp index dc580faaf0..3e78e38391 100644 --- a/src/univ/themes/metal.cpp +++ b/src/univ/themes/metal.cpp @@ -157,7 +157,7 @@ private: bool GetOrCreateTheme() { if ( !m_win32Theme ) - m_win32Theme = wxTheme::Create("win32"); + m_win32Theme = wxTheme::Create( wxT("win32") ); return m_win32Theme != NULL; } private: diff --git a/src/univ/toolbar.cpp b/src/univ/toolbar.cpp index 1d68c60857..1745a900fd 100644 --- a/src/univ/toolbar.cpp +++ b/src/univ/toolbar.cpp @@ -663,10 +663,13 @@ bool wxStdToolbarInputHandler::HandleMouse(wxInputConsumer *consumer, m_winCapture = NULL; } - if ( tool == m_toolCapture ) - consumer->PerformAction( wxACTION_BUTTON_TOGGLE, m_toolCapture->GetId() ); - else - consumer->PerformAction( wxACTION_TOOLBAR_LEAVE, m_toolCapture->GetId() ); + if (m_toolCapture) + { + if ( tool == m_toolCapture ) + consumer->PerformAction( wxACTION_BUTTON_TOGGLE, m_toolCapture->GetId() ); + else + consumer->PerformAction( wxACTION_TOOLBAR_LEAVE, m_toolCapture->GetId() ); + } m_toolCapture = NULL; diff --git a/src/univ/winuniv.cpp b/src/univ/winuniv.cpp index 3b0a025004..afc1a6efbd 100644 --- a/src/univ/winuniv.cpp +++ b/src/univ/winuniv.cpp @@ -109,7 +109,7 @@ void wxWindow::Init() m_isCurrent = FALSE; m_renderer = wxTheme::Get()->GetRenderer(); - + m_oldSize.x = -1; m_oldSize.y = -1; } @@ -240,7 +240,7 @@ void wxWindow::OnErase(wxEraseEvent& event) return; } - + DoDrawBackground(*event.GetDC()); // if we have both scrollbars, we also have a square in the corner between @@ -267,41 +267,42 @@ void wxWindow::OnErase(wxEraseEvent& event) bool wxWindow::DoDrawBackground(wxDC& dc) { wxRect rect; - + wxSize size = GetSize(); // Why not GetClientSize() ? rect.x = 0; rect.y = 0; rect.width = size.x; rect.height = size.y; - - if (HasTransparentBackground() && GetParent() && GetParent()->ProvidesBackground()) + + wxWindow * const parent = GetParent(); + if ( HasTransparentBackground() && parent && parent->ProvidesBackground() ) { wxASSERT( !IsTopLevel() ); - + wxPoint pos = GetPosition(); - + AdjustForParentClientOrigin( pos.x, pos.y, 0 ); - + // Adjust DC logical origin wxCoord x,y; dc.GetLogicalOrigin( &x, &y ); x += pos.x; y += pos.y; dc.SetLogicalOrigin( x, y ); - + // Adjust draw rect rect.x = pos.x; rect.y = pos.y; - + // Let parent draw the background - GetParent()->EraseBackground( dc, rect ); + parent->EraseBackground( dc, rect ); } else { // Draw background ouselves - EraseBackground( dc, rect ); + EraseBackground( dc, rect ); } - + return TRUE; } @@ -315,10 +316,10 @@ void wxWindow::EraseBackground(wxDC& dc, const wxRect& rect) wxBitmap bmp = GetBackgroundBitmap(&alignment, &stretch); wxControlRenderer::DrawBitmap(dc, bmp, rect, alignment, stretch); } - else + else { // Just fill it with bg colour if no bitmap - + m_renderer->DrawBackground(dc, wxTHEME_BG_COLOUR(this), rect, GetStateFlags()); } @@ -478,28 +479,28 @@ int wxWindow::GetStateFlags() const void wxWindow::OnSize(wxSizeEvent& event) { event.Skip(); - + if ( m_scrollbarVert || m_scrollbarHorz ) { PositionScrollbars(); } - + #if 0 // ndef __WXMSW__ // Refresh the area (strip) previously occupied by the border - + if (HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ) && IsShown()) { // This code assumes that wxSizeEvent.GetSize() returns // the area of the entire window, not just the client // area. wxSize newSize = event.GetSize(); - + if (m_oldSize.x == -1 && m_oldSize.y == -1) { m_oldSize = newSize; return; } - + if (HasFlag( wxSIMPLE_BORDER )) { if (newSize.y > m_oldSize.y) @@ -520,7 +521,7 @@ void wxWindow::OnSize(wxSizeEvent& event) rect.width = newSize.x; wxWindowNative::Refresh( TRUE, &rect ); } - + if (newSize.x > m_oldSize.x) { wxRect rect; @@ -561,7 +562,7 @@ void wxWindow::OnSize(wxSizeEvent& event) rect.width = newSize.x; wxWindowNative::Refresh( TRUE, &rect ); } - + if (newSize.x > m_oldSize.x) { wxRect rect; @@ -581,7 +582,7 @@ void wxWindow::OnSize(wxSizeEvent& event) wxWindowNative::Refresh( TRUE, &rect ); } } - + m_oldSize = newSize; } #endif @@ -915,7 +916,7 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRect *rect) wxWindowNative::ScrollWindow(dx, dy, rect); -#else +#else // !wxX11 // before scrolling it, ensure that we don't have any unpainted areas Update(); @@ -933,11 +934,11 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRect *rect) r = ScrollNoRefresh(0, dy, rect); Refresh(TRUE /* erase bkgnd */, &r); } - - // scroll children accordingly: + + // scroll children accordingly: wxPoint offset(dx, dy); - - for (wxWindowList::Node *node = GetChildren().GetFirst(); + + for (wxWindowList::Node *node = GetChildren().GetFirst(); node; node = node->GetNext()) { wxWindow *child = node->GetData(); @@ -945,13 +946,13 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRect *rect) continue; // VS: Scrolling children has non-trivial semantics. If rect=NULL then - // it is easy: we scroll all children. Otherwise it gets + // it is easy: we scroll all children. Otherwise it gets // complicated: // 1. if scrolling in one direction only, scroll only // those children that intersect shaft defined by the rectangle // and scrolling direction // 2. if scrolling in both axes, scroll all children - + if ( rect && (dx * dy == 0 /* moving in only one of x, y axis */) ) { wxRect childRect = child->GetRect(); @@ -970,8 +971,8 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRect *rect) { child->Move(child->GetPosition() + offset); } - } -#endif + } +#endif // wxX11/!wxX11 } wxRect wxWindow::ScrollNoRefresh(int dx, int dy, const wxRect *rectTotal) diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 8d6a76058e..f0bb49e961 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -676,26 +676,26 @@ wxDialUpManagerImpl::CheckIfconfig() wxASSERT_MSG( m_IfconfigPath.length(), _T("can't use ifconfig if it wasn't found") ); - wxString tmpfile = wxGetTempFileName("_wxdialuptest"); - wxString cmd = "/bin/sh -c \'"; + wxString tmpfile = wxGetTempFileName( wxT("_wxdialuptest") ); + wxString cmd = wxT("/bin/sh -c \'"); cmd << m_IfconfigPath; #if defined(__SOLARIS__) || defined (__SUNOS__) // need to add -a flag - cmd << " -a"; + cmd << wxT(" -a"); #elif defined(__LINUX__) || defined(__SGI__) // nothing to be added to ifconfig #elif defined(__FREEBSD__) || defined(__DARWIN__) // add -l flag - cmd << " -l"; + cmd << wxT(" -l"); #elif defined(__HPUX__) // VZ: a wild guess (but without it, ifconfig fails completely) - cmd << _T(" ppp0"); + cmd << wxT(" ppp0"); #else # pragma warning "No ifconfig information for this OS." m_CanUseIfconfig = 0; return -1; #endif - cmd << " >" << tmpfile << '\''; + cmd << wxT(" >") << tmpfile << wxT('\''); /* I tried to add an option to wxExecute() to not close stdout, so we could let ifconfig write directly to the tmpfile, but this does not work. That should be faster, as it doesn´t call @@ -754,41 +754,41 @@ wxDialUpManagerImpl::CheckIfconfig() wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing() { - // First time check for ping location. We only use the variant - // which does not take arguments, a la GNU. - if(m_CanUsePing == -1) // unknown - { + // First time check for ping location. We only use the variant + // which does not take arguments, a la GNU. + if(m_CanUsePing == -1) // unknown + { #ifdef __VMS - if(wxFileExists("SYS$SYSTEM:TCPIP$PING.EXE")) - m_PingPath = "$SYS$SYSTEM:TCPIP$PING"; + if (wxFileExists( wxT("SYS$SYSTEM:TCPIP$PING.EXE") )) + m_PingPath = wxT("$SYS$SYSTEM:TCPIP$PING"); #else - if(wxFileExists("/bin/ping")) - m_PingPath = "/bin/ping"; - else if(wxFileExists("/usr/sbin/ping")) - m_PingPath = "/usr/sbin/ping"; + if (wxFileExists( wxT("/bin/ping") )) + m_PingPath = wxT("/bin/ping"); + else if (wxFileExists( wxT("/usr/sbin/ping") )) + m_PingPath = wxT("/usr/sbin/ping"); #endif - if(! m_PingPath) - { - m_CanUsePing = 0; - } - } + if (!m_PingPath) + { + m_CanUsePing = 0; + } + } - if(! m_CanUsePing) - { + if(! m_CanUsePing) + { // we didn't find ping return Net_Unknown; - } + } wxLogNull ln; // suppress all error messages wxASSERT(m_PingPath.length()); wxString cmd; - cmd << m_PingPath << ' '; + cmd << m_PingPath << wxT(' '); #if defined(__SOLARIS__) || defined (__SUNOS__) // nothing to add to ping command -#elif defined(__LINUX__) || defined ( __FREEBSD__) || defined(__DARWIN__) || defined( __VMS ) - cmd << "-c 1 "; // only ping once +#elif defined(__LINUX__) || defined (__BSD__) || defined( __VMS ) + cmd << wxT("-c 1 "); // only ping once #elif defined(__HPUX__) - cmd << "64 1 "; // only ping once (need also specify the packet size) + cmd << wxT("64 1 "); // only ping once (need also specify the packet size) #else # pragma warning "No Ping information for this OS." m_CanUsePing = 0; diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index 4680a338ce..2e283dfc4d 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -172,13 +172,9 @@ bool wxDirData::Read(wxString *filename) } else { -#if wxUSE_UNICODE - matches = TRUE; // FIXME -#else // test against the pattern matches = wxMatchWild(m_filespec, de_d_name, !(m_flags & wxDIR_HIDDEN)); -#endif } } diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index 5ce2b4e93d..f1181a4aa7 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -26,20 +26,23 @@ #include "wx/string.h" #include "wx/regex.h" #include "wx/utils.h" - +#include "wx/app.h" #include "wx/fontmap.h" #include "wx/fontenum.h" #include "wx/fontutil.h" // ---------------------------------------------------------------------------- -// GTK 2.0 +// Pango // ---------------------------------------------------------------------------- -#ifdef __WXGTK20__ +#if wxUSE_PANGO -#include "wx/gtk/private.h" +#include "pango/pango.h" +#ifdef __WXGTK20__ +#include "gtk/gtk.h" extern GtkWidget *wxGetRootWindow(); +#endif static int cmp_families (const void *a, const void *b) @@ -63,7 +66,11 @@ bool wxFontEnumerator::EnumerateFacenames(wxFontEncoding encoding, PangoFontFamily **families = NULL; gint n_families = 0; pango_context_list_families ( +#ifdef __WXGTK20__ gtk_widget_get_pango_context( wxGetRootWindow() ), +#else + wxTheApp->GetPangoContext(), +#endif &families, &n_families ); qsort (families, n_families, sizeof (PangoFontFamily *), cmp_families); @@ -86,7 +93,7 @@ bool wxFontEnumerator::EnumerateEncodings(const wxString& family) #else - // GTK 2.0 + // Pango #ifdef __VMS__ // Xlib.h for VMS is not (yet) compatible with C++ // The resulting warnings are switched off here diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index e826a295a2..5cb5e28a95 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -37,9 +37,15 @@ #include "wx/hash.h" #include "wx/module.h" -#ifdef __WXGTK20__ +#if wxUSE_PANGO + +#include "pango/pango.h" +#ifdef __WXGTK20__ #include "wx/gtk/private.h" +#else +#include "wx/x11/private.h" +#endif // ---------------------------------------------------------------------------- // wxNativeFontInfo @@ -71,7 +77,7 @@ wxFontStyle wxNativeFontInfo::GetStyle() const m_style = wxFONTSTYLE_SLANT; break; } - + return m_style; } @@ -100,7 +106,7 @@ wxFontWeight wxNativeFontInfo::GetWeight() const m_weight = wxFONTWEIGHT_BOLD; break; } - + return m_weight; } @@ -112,7 +118,7 @@ bool wxNativeFontInfo::GetUnderlined() const wxString wxNativeFontInfo::GetFaceName() const { wxString tmp = wxGTK_CONV_BACK( pango_font_description_get_family( description ) ); - + return tmp; } @@ -178,8 +184,7 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding, return FALSE; } -#else - // __WXGTK20__ +#else // GTK+ 1.x #ifdef __X__ #ifdef __VMS__ @@ -452,6 +457,164 @@ void wxNativeFontInfo::SetXFontName(const wxString& xFontName_) m_isDefault = FALSE; } +int wxNativeFontInfo::GetPointSize() const +{ + const wxString s = GetXFontComponent(wxXLFD_POINTSIZE); + + // return -1 to indicate that the size is unknown + long l; + return s.ToLong(&l) ? l : -1; +} + +wxFontStyle wxNativeFontInfo::GetStyle() const +{ + const wxString s = GetXFontComponent(wxXLFD_SLANT); + + if ( s.length() != 1 ) + { + // it is really unknown but we don't have any way to return it from + // here + return wxFONTSTYLE_NORMAL; + } + + switch ( s[0] ) + { + default: + // again, unknown but consider normal by default + + case _T('r'): + return wxFONTSTYLE_NORMAL; + + case _T('i'): + return wxFONTSTYLE_ITALIC; + + case _T('o'): + return wxFONTSTYLE_SLANT; + } +} + +wxFontWeight wxNativeFontInfo::GetWeight() const +{ + const wxString s = GetXFontComponent(wxXLFD_WEIGHT).MakeLower(); + if ( s.find(_T("bold")) != wxString::npos || s == _T("black") ) + return wxFONTWEIGHT_BOLD; + else if ( s == _T("light") ) + return wxFONTWEIGHT_LIGHT; + + return wxFONTWEIGHT_NORMAL; +} + +bool wxNativeFontInfo::GetUnderlined() const +{ + // X fonts are never underlined + return FALSE; +} + +wxString wxNativeFontInfo::GetFaceName() const +{ + // wxWindows facename probably more accurately corresponds to X family + return GetXFontComponent(wxXLFD_FAMILY); +} + +wxFontFamily wxNativeFontInfo::GetFamily() const +{ + // and wxWindows family -- to X foundry, but we have to translate it to + // wxFontFamily somehow... + wxFAIL_MSG(_T("not implemented")); // GetXFontComponent(wxXLFD_FOUNDRY); + + return wxFONTFAMILY_DEFAULT; +} + +wxFontEncoding wxNativeFontInfo::GetEncoding() const +{ + // we already have the code for this but need to refactor it first + wxFAIL_MSG( _T("not implemented") ); + + return wxFONTENCODING_MAX; +} + +void wxNativeFontInfo::SetPointSize(int pointsize) +{ + SetXFontComponent(wxXLFD_POINTSIZE, wxString::Format(_T("%d"), pointsize)); +} + +void wxNativeFontInfo::SetStyle(wxFontStyle style) +{ + wxString s; + switch ( style ) + { + case wxFONTSTYLE_ITALIC: + s = _T('i'); + break; + + case wxFONTSTYLE_SLANT: + s = _T('o'); + break; + + case wxFONTSTYLE_NORMAL: + s = _T('r'); + + default: + wxFAIL_MSG( _T("unknown wxFontStyle in wxNativeFontInfo::SetStyle") ); + return; + } + + SetXFontComponent(wxXLFD_SLANT, s); +} + +void wxNativeFontInfo::SetWeight(wxFontWeight weight) +{ + wxString s; + switch ( weight ) + { + case wxFONTWEIGHT_BOLD: + s = _T("bold"); + break; + + case wxFONTWEIGHT_LIGHT: + s = _T("light"); + break; + + case wxFONTWEIGHT_NORMAL: + s = _T("medium"); + break; + + default: + wxFAIL_MSG( _T("unknown wxFontWeight in wxNativeFontInfo::SetWeight") ); + return; + } + + SetXFontComponent(wxXLFD_WEIGHT, s); +} + +void wxNativeFontInfo::SetUnderlined(bool WXUNUSED(underlined)) +{ + // can't do this under X +} + +void wxNativeFontInfo::SetFaceName(wxString facename) +{ + SetXFontComponent(wxXLFD_FAMILY, facename); +} + +void wxNativeFontInfo::SetFamily(wxFontFamily family) +{ + // wxFontFamily -> X foundry, anyone? + wxFAIL_MSG( _T("not implemented") ); + + // SetXFontComponent(wxXLFD_FOUNDRY, ...); +} + +void wxNativeFontInfo::SetEncoding(wxFontEncoding encoding) +{ + wxNativeEncodingInfo info; + if ( wxGetNativeFontEncoding(encoding, &info) ) + { + SetXFontComponent(wxXLFD_ENCODING, info.xencoding); + SetXFontComponent(wxXLFD_REGISTRY, info.xregistry); + } +} + // ---------------------------------------------------------------------------- // common functions // ---------------------------------------------------------------------------- @@ -495,6 +658,11 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding, info->xencoding = wxT("*"); break; + case wxFONTENCODING_GB2312: + info->xregistry = wxT("GB2312"); // or the otherway round? + info->xencoding = wxT("*"); + break; + case wxFONTENCODING_KOI8: info->xregistry = wxT("koi8"); @@ -806,7 +974,7 @@ static wxNativeFont wxLoadQueryFont(int pointSize, // An alternative: assume that the screen is 72 dpi. //int pixelHeight = (int) (((float)pointSize / 720.0) * 72.0) ; //int pixelHeight = (int) ((float)pointSize / 10.0) ; - + GR_LOGFONT logFont; logFont.lfHeight = pixelHeight; logFont.lfWidth = 0; @@ -833,7 +1001,7 @@ static wxNativeFont wxLoadQueryFont(int pointSize, fontInfo->fid = GrCreateFont((GR_CHAR*) facename.c_str(), pixelHeight, & logFont); GrGetFontInfo(fontInfo->fid, & fontInfo->info); return (wxNativeFont) fontInfo; - + #else wxString fontSpec; if (!facename.IsEmpty()) @@ -1044,5 +1212,5 @@ void wxFontModule::OnExit() g_fontHash = (wxHashTable *)NULL; } -#endif - // not GTK 2.0 +#endif // GTK 2.0/1.x + diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index faf0bd2d6c..23c23a983e 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -364,21 +364,21 @@ bool wxMimeTypesManagerImpl::CheckGnomeDirsExist () wxString gnomedir; wxGetHomeDir( &gnomedir ); wxString sTmp = gnomedir; - sTmp = sTmp + "/.gnome"; + sTmp = sTmp + wxT("/.gnome"); if (! wxDir::Exists ( sTmp ) ) { if (!wxMkdir ( sTmp )) { - wxFAIL_MSG (wxString ("Failed to create directory\n.gnome in \nCheckGnomeDirsExist") + sTmp ); + wxLogError(_("Failed to create directory %s/.gnome."), sTmp.c_str()); return FALSE; } } - sTmp = sTmp + "/mime-info"; + sTmp = sTmp + wxT("/mime-info"); if (! wxDir::Exists ( sTmp ) ) { if (!wxMkdir ( sTmp )) { - wxFAIL_MSG (wxString ("Failed to create directory\nmime-info in \nCheckGnomeDirsExist") + sTmp ); + wxLogError(_("Failed to create directory %s/mime-info."), sTmp.c_str()); return FALSE; } } @@ -393,11 +393,15 @@ bool wxMimeTypesManagerImpl::WriteGnomeKeyFile(int index, bool delete_index) wxString gnomedir; wxGetHomeDir( &gnomedir ); - wxMimeTextFile outfile ( gnomedir + "/.gnome/mime-info/user.keys"); + wxMimeTextFile outfile ( gnomedir + wxT("/.gnome/mime-info/user.keys")); // if this fails probably Gnome is not installed ?? // create it anyway as a private mime store +#if defined(__WXGTK20__) && wxUSE_UNICODE + if (! outfile.Open ( wxConvUTF8) ) +#else if (! outfile.Open () ) +#endif { if (delete_index) return FALSE; if (!CheckGnomeDirsExist() ) return FALSE; @@ -462,13 +466,13 @@ bool wxMimeTypesManagerImpl::WriteGnomeKeyFile(int index, bool delete_index) } //sOld should also contain the icon if ( !m_aIcons[index].empty() ) - sOld.AddOrReplaceVerb ( wxT( "icon-filename"), m_aIcons[index] ); + sOld.AddOrReplaceVerb ( wxT("icon-filename"), m_aIcons[index] ); for (i=0; i < sOld.GetCount(); i++) { sTmp = sOld.GetVerbCmd(i); sTmp.Replace( wxT("%s"), wxT("%f") ); - sTmp = wxT ( "\t") + sTmp; + sTmp = wxT("\t") + sTmp; nIndex ++; outfile.InsertLine ( sTmp, nIndex ); } @@ -484,7 +488,7 @@ bool wxMimeTypesManagerImpl::WriteGnomeMimeFile(int index, bool delete_index) wxString gnomedir; wxGetHomeDir( &gnomedir ); - wxMimeTextFile outfile ( gnomedir + "/.gnome/mime-info/user.mime"); + wxMimeTextFile outfile ( gnomedir + wxT("/.gnome/mime-info/user.mime")); // if this fails probably Gnome is not installed ?? // create it anyway as a private mime store if (! outfile.Open () ) @@ -498,7 +502,7 @@ bool wxMimeTypesManagerImpl::WriteGnomeMimeFile(int index, bool delete_index) if ( nIndex == wxNOT_FOUND ) { outfile.AddLine ( strType ); - outfile.AddLine ( wxT( "\text:") + m_aExtensions.Item(index) ); + outfile.AddLine ( wxT("\text:") + m_aExtensions.Item(index) ); } else { @@ -510,13 +514,13 @@ bool wxMimeTypesManagerImpl::WriteGnomeMimeFile(int index, bool delete_index) else {// check for next line being the right one to replace ?? wxString sOld = outfile.GetLine(nIndex+1); - if (sOld.Contains(wxT("\text: "))) + if (sOld.Contains( wxT("\text: "))) { - outfile.GetLine(nIndex+1) = wxT( "\text: ") + m_aExtensions.Item(index); + outfile.GetLine(nIndex+1) = wxT("\text: ") + m_aExtensions.Item(index); } else { - outfile.InsertLine(wxT( "\text: ") + m_aExtensions.Item(index), nIndex + 1 ); + outfile.InsertLine( wxT("\text: ") + m_aExtensions.Item(index), nIndex + 1 ); } } } @@ -528,7 +532,11 @@ bool wxMimeTypesManagerImpl::WriteGnomeMimeFile(int index, bool delete_index) void wxMimeTypesManagerImpl::LoadGnomeDataFromKeyFile(const wxString& filename) { wxTextFile textfile(filename); +#if defined(__WXGTK20__) && wxUSE_UNICODE + if ( !textfile.Open( wxConvUTF8) ) +#else if ( !textfile.Open() ) +#endif return; wxLogTrace(TRACE_MIME, wxT("--- Opened Gnome file %s ---"), filename.c_str()); @@ -615,7 +623,11 @@ void wxMimeTypesManagerImpl::LoadGnomeDataFromKeyFile(const wxString& filename) void wxMimeTypesManagerImpl::LoadGnomeMimeTypesFromMimeFile(const wxString& filename) { wxTextFile textfile(filename); +#if defined(__WXGTK20__) && wxUSE_UNICODE + if ( !textfile.Open( wxConvUTF8) ) +#else if ( !textfile.Open() ) +#endif return; wxLogTrace(TRACE_MIME, wxT("--- Opened Gnome file %s ---"), filename.c_str()); @@ -630,7 +642,7 @@ void wxMimeTypesManagerImpl::LoadGnomeMimeTypesFromMimeFile(const wxString& file if ( nLine < nLineCount ) { pc = textfile[nLine].c_str(); - if ( *pc == _T('#') ) + if ( *pc == wxT('#') ) { // skip comments continue; @@ -665,13 +677,13 @@ void wxMimeTypesManagerImpl::LoadGnomeMimeTypesFromMimeFile(const wxString& file } // what do we have here? - if ( *pc == _T('\t') ) + if ( *pc == wxT('\t') ) { // this is a field=value ling pc++; // skip leading TAB static const int lenField = 4; // strlen("ext:") - if ( wxStrncmp(pc, _T("ext:"), lenField) == 0 ) + if ( wxStrncmp(pc, wxT("ext:"), lenField) == 0 ) { // skip ' ' which follows and take everything left until the end // of line @@ -690,7 +702,7 @@ void wxMimeTypesManagerImpl::LoadGnomeMimeTypesFromMimeFile(const wxString& file curMimeType.Empty(); - while ( *pc != _T(':') && *pc != _T('\0') ) + while ( *pc != wxT(':') && *pc != wxT('\0') ) { curMimeType += *pc++; } @@ -705,7 +717,7 @@ void wxMimeTypesManagerImpl::LoadGnomeMimeFilesFromDir(const wxString& dirbase) _T("base directory shouldn't end with a slash") ); wxString dirname = dirbase; - dirname << _T("/mime-info"); + dirname << wxT("/mime-info"); if ( !wxDir::Exists(dirname) ) return; @@ -715,7 +727,7 @@ void wxMimeTypesManagerImpl::LoadGnomeMimeFilesFromDir(const wxString& dirbase) return; // we will concatenate it with filename to get the full path below - dirname += _T('/'); + dirname += wxT('/'); wxString filename; bool cont = dir.GetFirst(&filename, _T("*.mime"), wxDIR_FILES); @@ -742,12 +754,12 @@ void wxMimeTypesManagerImpl::GetGnomeMimeInfo(const wxString& sExtraDir) { wxArrayString dirs; - dirs.Add(_T("/usr/share")); - dirs.Add(_T("/usr/local/share")); + dirs.Add(wxT("/usr/share")); + dirs.Add(wxT("/usr/local/share")); wxString gnomedir; wxGetHomeDir( &gnomedir ); - gnomedir += _T("/.gnome"); + gnomedir += wxT("/.gnome"); dirs.Add( gnomedir ); if (!sExtraDir.empty()) dirs.Add( sExtraDir ); @@ -913,12 +925,12 @@ void wxMimeTypesManagerImpl::LoadKDELinksForMimeSubtype(const wxString& dirbase, wxArrayString sExts; wxString mimetype, mime_desc, strIcon; - int nIndex = file.pIndexOf ("MimeType="); + int nIndex = file.pIndexOf( wxT("MimeType=") ); if (nIndex == wxNOT_FOUND) { // construct mimetype from the directory name and the basename of the // file (it always has .kdelnk extension) - mimetype << subdir << _T('/') << filename.BeforeLast(_T('.')); + mimetype << subdir << wxT('/') << filename.BeforeLast( wxT('.') ); } else mimetype = file.GetCmd (nIndex); @@ -1085,15 +1097,15 @@ void wxMimeTypesManagerImpl::GetKDEMimeInfo(const wxString& sExtraDir) wxArrayString icondirs; // settings in ~/.kde have maximal priority - dirs.Add(wxGetHomeDir() + _T("/.kde/share")); - icondirs.Add(wxGetHomeDir() + _T("/.kde/share/icons/")); + dirs.Add(wxGetHomeDir() + wxT("/.kde/share")); + icondirs.Add(wxGetHomeDir() + wxT("/.kde/share/icons/")); // the variable KDEDIR is set when KDE is running - const char *kdedir = getenv("KDEDIR"); + const wxChar *kdedir = wxGetenv( wxT("KDEDIR") ); if ( kdedir ) { - dirs.Add(wxString(kdedir) + _T("/share")); - icondirs.Add(wxString(kdedir) + _T("/share/icons/")); + dirs.Add( wxString(kdedir) + wxT("/share") ); + icondirs.Add( wxString(kdedir) + wxT("/share/icons/") ); } else { @@ -1346,6 +1358,7 @@ void wxMimeTypesManagerImpl::ClearData() m_aExtensions.Clear (); m_aDescriptions.Clear (); + WX_CLEAR_ARRAY(m_aEntries); m_aEntries.Empty(); m_mailcapStylesInited = 0; @@ -1354,8 +1367,6 @@ void wxMimeTypesManagerImpl::ClearData() wxMimeTypesManagerImpl::~wxMimeTypesManagerImpl() { ClearData(); - - WX_CLEAR_ARRAY(m_aEntries); } @@ -2033,7 +2044,11 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName) strFileName.c_str()); wxTextFile file(strFileName); +#if defined(__WXGTK20__) && wxUSE_UNICODE + if ( !file.Open( wxConvUTF8) ) +#else if ( !file.Open() ) +#endif return FALSE; // the information we extract @@ -2041,7 +2056,8 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName) size_t nLineCount = file.GetLineCount(); const wxChar *pc = NULL; - for ( size_t nLine = 0; nLine < nLineCount; nLine++ ) { + for ( size_t nLine = 0; nLine < nLineCount; nLine++ ) + { if ( pc == NULL ) { // now we're at the start of the line pc = file[nLine].c_str(); @@ -2307,7 +2323,11 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName, strFileName.c_str()); wxTextFile file(strFileName); +#if defined(__WXGTK20__) && wxUSE_UNICODE + if ( !file.Open( wxConvUTF8) ) +#else if ( !file.Open() ) +#endif return FALSE; // indices of MIME types (in m_aTypes) we already found in this file @@ -2367,11 +2387,11 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName, // something is wrong, bail out cont = FALSE; - wxLogDebug(wxT("Mailcap file %s, line %d: " + wxLogDebug(wxT("Mailcap file %s, line %lu: " "'\\' on the end of the last line " "ignored."), strFileName.c_str(), - nLine + 1); + (unsigned long)nLine + 1); } else { @@ -2433,11 +2453,11 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName, // this might be useful for the programmer wxLogDebug ( - wxT("Mailcap file %s, line %d: " + wxT("Mailcap file %s, line %lu: " "unknown field '%s' for the " "MIME type '%s' ignored."), strFileName.c_str(), - nLine + 1, + (unsigned long)nLine + 1, curField.c_str(), data.type.c_str() ); @@ -2504,7 +2524,8 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName, if ( data.needsterminal ) { - data.cmdOpen.Printf(_T("xterm -e sh -c '%s'"), data.cmdOpen.c_str()); + data.cmdOpen = wxString::Format(_T("xterm -e sh -c '%s'"), + data.cmdOpen.c_str()); } if ( !data.cmdOpen.empty() ) diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 47e9a41e62..b4b91685b9 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -495,8 +495,8 @@ wxSemaError wxSemaphoreInternal::Wait() return wxSEMA_MISC_ERROR; wxLogTrace(TRACE_SEMA, - "Thread %ld finished waiting for semaphore, count = %u", - wxThread::GetCurrentId(), m_count); + "Thread %ld finished waiting for semaphore, count = %lu", + wxThread::GetCurrentId(), (unsigned long)m_count); } m_count--; @@ -553,9 +553,9 @@ wxSemaError wxSemaphoreInternal::Post() m_count++; wxLogTrace(TRACE_SEMA, - "Thread %ld about to signal semaphore, count = %u", - wxThread::GetCurrentId(), m_count); - + "Thread %ld about to signal semaphore, count = %lu", + wxThread::GetCurrentId(), (unsigned long)m_count); + return m_cond.Signal() == wxCOND_NO_ERROR ? wxSEMA_NO_ERROR : wxSEMA_MISC_ERROR; } @@ -620,7 +620,7 @@ public: }; wxLogTrace(TRACE_THREADS, _T("Thread %ld: %s => %s."), - GetId(), stateNames[m_state], stateNames[state]); + (long)GetId(), stateNames[m_state], stateNames[state]); #endif // __WXDEBUG__ m_state = state; @@ -696,8 +696,12 @@ void *wxThreadInternal::PthreadStart(wxThread *thread) { wxThreadInternal *pthread = thread->m_internal; - wxLogTrace(TRACE_THREADS, _T("Thread %ld started."), pthread->GetId()); - +#ifdef __VMS + wxLogTrace(TRACE_THREADS, _T("Thread %ld started."), (long long)pthread->GetId()); +#else + wxLogTrace(TRACE_THREADS, _T("Thread %ld started."), (long)pthread->GetId()); +#endif + // associate the thread pointer with the newly created thread so that // wxThread::This() will work int rc = pthread_setspecific(gs_keySelf, thread); @@ -734,13 +738,21 @@ void *wxThreadInternal::PthreadStart(wxThread *thread) { // call the main entry wxLogTrace(TRACE_THREADS, _T("Thread %ld about to enter its Entry()."), - pthread->GetId()); - +#ifdef __VMS + (long long)pthread->GetId()); +#else + (long)pthread->GetId()); +#endif + pthread->m_exitcode = thread->Entry(); wxLogTrace(TRACE_THREADS, _T("Thread %ld Entry() returned %lu."), - pthread->GetId(), (unsigned long)pthread->m_exitcode); - +#ifdef __VMS + (long long)pthread->GetId(), (unsigned long)pthread->m_exitcode); +#else + (long)pthread->GetId(), (unsigned long)pthread->m_exitcode); +#endif + { wxCriticalSectionLocker lock(thread->m_critsect); @@ -849,8 +861,12 @@ void wxThreadInternal::Wait() wxMutexGuiLeave(); wxLogTrace(TRACE_THREADS, - _T("Starting to wait for thread %ld to exit."), GetId()); - +#ifdef __VMS + _T("Starting to wait for thread %ld to exit."), (long long)GetId()); +#else + _T("Starting to wait for thread %ld to exit."), (long)GetId()); +#endif + // to avoid memory leaks we should call pthread_join(), but it must only be // done once so use a critical section to serialize the code below { @@ -862,7 +878,7 @@ void wxThreadInternal::Wait() // we're cancelled inside pthread_join(), things will almost // certainly break - but if we disable the cancellation, we // might deadlock - if ( pthread_join((pthread_t)GetId(), &m_exitcode) != 0 ) + if ( pthread_join(GetId(), &m_exitcode) != 0 ) { // this is a serious problem, so use wxLogError and not // wxLogDebug: it is possible to bring the system to its knees @@ -888,8 +904,12 @@ void wxThreadInternal::Pause() wxCHECK_RET( m_state == STATE_PAUSED, wxT("thread must first be paused with wxThread::Pause().") ); - wxLogTrace(TRACE_THREADS, _T("Thread %ld goes to sleep."), GetId()); - +#ifdef __VMS + wxLogTrace(TRACE_THREADS, _T("Thread %ld goes to sleep."), (long long)GetId()); +#else + wxLogTrace(TRACE_THREADS, _T("Thread %ld goes to sleep."), (long)GetId()); +#endif + // wait until the semaphore is Post()ed from Resume() m_semSuspend.Wait(); } @@ -903,8 +923,12 @@ void wxThreadInternal::Resume() // TestDestroy() since the last call to Pause() for example if ( IsReallyPaused() ) { - wxLogTrace(TRACE_THREADS, _T("Waking up thread %ld"), GetId()); - +#ifdef __VMS + wxLogTrace(TRACE_THREADS, _T("Waking up thread %ld"), (long long)GetId()); +#else + wxLogTrace(TRACE_THREADS, _T("Waking up thread %ld"), (long)GetId()); +#endif + // wake up Pause() m_semSuspend.Post(); @@ -914,7 +938,11 @@ void wxThreadInternal::Resume() else { wxLogTrace(TRACE_THREADS, _T("Thread %ld is not yet really paused"), - GetId()); +#ifdef __VMS + (long long)GetId()); +#else + (long)GetId()); +#endif } SetState(STATE_RUNNING); @@ -1598,8 +1626,9 @@ void wxThreadModule::OnExit() if ( nThreadsBeingDeleted > 0 ) { - wxLogTrace(TRACE_THREADS, _T("Waiting for %u threads to disappear"), - nThreadsBeingDeleted); + wxLogTrace(TRACE_THREADS, + _T("Waiting for %lu threads to disappear"), + (unsigned long)nThreadsBeingDeleted); // have to wait until all of them disappear gs_condAllDeleted->Wait(); @@ -1610,8 +1639,8 @@ void wxThreadModule::OnExit() size_t count = gs_allThreads.GetCount(); if ( count != 0u ) { - wxLogDebug(wxT("%u threads were not terminated by the application."), - count); + wxLogDebug(wxT("%lu threads were not terminated by the application."), + (unsigned long)count); } for ( size_t n = 0u; n < count; n++ ) @@ -1645,8 +1674,8 @@ static void ScheduleThreadForDeletion() gs_nThreadsBeingDeleted++; - wxLogTrace(TRACE_THREADS, _T("%u thread%s waiting to be deleted"), - gs_nThreadsBeingDeleted, + wxLogTrace(TRACE_THREADS, _T("%lu thread%s waiting to be deleted"), + (unsigned long)gs_nThreadsBeingDeleted, gs_nThreadsBeingDeleted == 1 ? "" : "s"); } @@ -1663,8 +1692,8 @@ static void DeleteThread(wxThread *This) wxCHECK_RET( gs_nThreadsBeingDeleted > 0, _T("no threads scheduled for deletion, yet we delete one?") ); - wxLogTrace(TRACE_THREADS, _T("%u scheduled for deletion threads left."), - gs_nThreadsBeingDeleted - 1); + wxLogTrace(TRACE_THREADS, _T("%lu scheduled for deletion threads left."), + (unsigned long)gs_nThreadsBeingDeleted - 1); if ( !--gs_nThreadsBeingDeleted ) { diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 445f88b9fa..59fb259624 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -44,7 +44,11 @@ #include #define statfs statvfs +# ifdef __HPUX__ + #define wxStatFs struct statvfs +# else #define wxStatFs statvfs_t +# endif #elif HAVE_STATFS #define wxStatFs struct statfs #endif // HAVE_STAT[V]FS @@ -362,10 +366,10 @@ public: bool IsOpened() const { return !Eof(); } // return TRUE if we have anything to read, don't block - bool IsAvailable() const; + virtual bool CanRead() const; }; -bool wxPipeInputStream::IsAvailable() const +bool wxPipeInputStream::CanRead() const { if ( m_lasterror == wxSTREAM_EOF ) return FALSE; @@ -800,7 +804,12 @@ char *wxGetUserHome( const wxString &user ) if ((ptr = wxGetenv(wxT("HOME"))) != NULL) { +#if wxUSE_UNICODE + wxWCharBuffer buffer( ptr ); + return buffer; +#else return ptr; +#endif } if ((ptr = wxGetenv(wxT("USER"))) != NULL || (ptr = wxGetenv(wxT("LOGNAME"))) != NULL) { @@ -947,7 +956,7 @@ wxString wxGetOsDescription() #ifndef WXWIN_OS_DESCRIPTION #error WXWIN_OS_DESCRIPTION should be defined in config.h by configure #else - return WXWIN_OS_DESCRIPTION; + return wxString::FromAscii( WXWIN_OS_DESCRIPTION ); #endif } #endif diff --git a/src/wxBase.dsp b/src/wxBase.dsp index bcc38cda8e..63e859cd9c 100644 --- a/src/wxBase.dsp +++ b/src/wxBase.dsp @@ -2,8 +2,8 @@ # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 # TARGTYPE "Win32 (x86) Static Library" 0x0104 +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 CFG=wxBase - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, @@ -32,6 +32,8 @@ CFG=wxBase - Win32 Debug # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe !IF "$(CFG)" == "wxBase - Win32 Release Unicode DLL" @@ -46,13 +48,10 @@ CFG=wxBase - Win32 Debug # PROP Intermediate_Dir "../BaseReleaseUnicodeDll" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c # ADD CPP /nologo /MD /W4 /O2 /I "../lib/basedllu" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c -MTL=midl.exe # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /i "../include" /d "NDEBUG" BSC32=bscmake.exe @@ -60,7 +59,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/wxbase233u.dll" -# ADD LINK32 ../lib/zlib.lib ../lib/regex.lib kernel32.lib user32.lib advapi32.lib wsock32.lib shell32.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxbase233u.dll" +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlib.lib ../lib/regex.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxbase233u.dll" !ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode DLL" @@ -75,21 +74,18 @@ LINK32=link.exe # PROP Intermediate_Dir "../BaseDebugUnicodeDll" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c # ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/basedllud" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c -MTL=midl.exe # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /i "../include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../lib/wxbase233ud.dll" /pdbtype:sept -# ADD LINK32 ../lib/zlibd.lib ../lib/regexd.lib kernel32.lib user32.lib advapi32.lib wsock32.lib shell32.lib /nologo /version:2.2 /dll /debug /machine:I386 /out:"../lib/wxbase233ud.dll" /pdbtype:sept +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxbase233ud.dll" +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlibd.lib ../lib/regexd.lib /nologo /version:2.2 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxbase233ud.dll" !ELSEIF "$(CFG)" == "wxBase - Win32 Release Unicode" @@ -103,10 +99,8 @@ LINK32=link.exe # PROP Output_Dir "..\lib" # PROP Intermediate_Dir "..\BaseReleaseUnicode" # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c # ADD CPP /nologo /MD /W4 /O2 /I "../lib/baseu" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c -RSC=rc.exe # ADD BASE RSC /l 0x409 # ADD RSC /l 0x409 BSC32=bscmake.exe @@ -128,15 +122,13 @@ LIB32=link.exe -lib # PROP Output_Dir "..\lib" # PROP Intermediate_Dir "..\BaseDebugUnicode" # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c # ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/baseud" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D "__WXDEBUG__" /D WINVER=0x400 /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c -RSC=rc.exe # ADD BASE RSC /l 0x409 # ADD RSC /l 0x409 BSC32=bscmake.exe # ADD BASE BSC32 /nologo -# ADD BSC32 /nologo +# ADD BSC32 /nologo /o"../lib/wxbase.bsc" LIB32=link.exe -lib # ADD BASE LIB32 /nologo # ADD LIB32 /nologo /out:"..\lib\wxbaseud.lib" @@ -154,13 +146,10 @@ LIB32=link.exe -lib # PROP Intermediate_Dir "../BaseReleaseDll" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c # ADD CPP /nologo /MD /W4 /O2 /I "../lib/basedll" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c -MTL=midl.exe # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /i "../include" /d "NDEBUG" BSC32=bscmake.exe @@ -168,7 +157,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/wxbase233.dll" -# ADD LINK32 ../lib/zlib.lib ../lib/regex.lib kernel32.lib user32.lib advapi32.lib wsock32.lib shell32.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxbase233.dll" +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlib.lib ../lib/regex.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxbase233.dll" !ELSEIF "$(CFG)" == "wxBase - Win32 Debug DLL" @@ -183,21 +172,18 @@ LINK32=link.exe # PROP Intermediate_Dir "../BaseDebugDll" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c # ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/basedlld" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c -MTL=midl.exe # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /i "../include" /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../lib/wxbase233d.dll" /pdbtype:sept -# ADD LINK32 ../lib/zlibd.lib ../lib/regexd.lib kernel32.lib user32.lib advapi32.lib wsock32.lib shell32.lib /nologo /version:2.2 /dll /debug /machine:I386 /out:"../lib/wxbase233d.dll" /pdbtype:sept +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxbase233d.dll" +# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlibd.lib ../lib/regexd.lib /nologo /version:2.2 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxbase233d.dll" !ELSEIF "$(CFG)" == "wxBase - Win32 Release" @@ -211,10 +197,8 @@ LINK32=link.exe # PROP Output_Dir "..\lib" # PROP Intermediate_Dir "..\BaseRelease" # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c # ADD CPP /nologo /MD /W4 /O2 /I "../lib/base" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /Yu"wx/wxprec.h" /FD /c -RSC=rc.exe # ADD BASE RSC /l 0x409 # ADD RSC /l 0x409 BSC32=bscmake.exe @@ -222,7 +206,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LIB32=link.exe -lib # ADD BASE LIB32 /nologo -# ADD LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\wxbase.lib" !ELSEIF "$(CFG)" == "wxBase - Win32 Debug" @@ -236,15 +220,13 @@ LIB32=link.exe -lib # PROP Output_Dir "..\lib" # PROP Intermediate_Dir "..\BaseDebug" # PROP Target_Dir "" -CPP=cl.exe # ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c # ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/based" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D "__WXDEBUG__" /D WINVER=0x400 /Yu"wx/wxprec.h" /FD /c -RSC=rc.exe # ADD BASE RSC /l 0x409 # ADD RSC /l 0x409 BSC32=bscmake.exe # ADD BASE BSC32 /nologo -# ADD BSC32 /nologo +# ADD BSC32 /nologo /o"../lib/wxbase.bsc" LIB32=link.exe -lib # ADD BASE LIB32 /nologo # ADD LIB32 /nologo /out:"..\lib\wxbased.lib" @@ -261,6 +243,7 @@ LIB32=link.exe -lib # Name "wxBase - Win32 Debug DLL" # Name "wxBase - Win32 Release" # Name "wxBase - Win32 Debug" + # Begin Group "Common Files" # PROP Default_Filter "" @@ -322,11 +305,6 @@ SOURCE=.\common\event.cpp # End Source File # Begin Source File -SOURCE=.\common\extended.c -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - SOURCE=.\common\ffile.cpp # End Source File # Begin Source File @@ -383,10 +361,6 @@ SOURCE=.\common\http.cpp # End Source File # Begin Source File -SOURCE=.\common\init.cpp -# End Source File -# Begin Source File - SOURCE=.\common\intl.cpp # End Source File # Begin Source File @@ -499,11 +473,6 @@ SOURCE=.\common\txtstrm.cpp # End Source File # Begin Source File -SOURCE=.\common\unzip.c -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - SOURCE=.\common\url.cpp # End Source File # Begin Source File @@ -530,18 +499,26 @@ SOURCE=.\common\zipstrm.cpp SOURCE=.\common\zstream.cpp # End Source File -# End Group -# Begin Group "MSW Files" +# Begin Source File + +SOURCE=.\common\init.cpp +# End Source File -# PROP Default_Filter "" # Begin Source File -SOURCE=.\msw\dde.cpp +SOURCE=.\common\extended.c +# SUBTRACT CPP /YX /Yc /Yu # End Source File # Begin Source File -SOURCE=.\msw\dir.cpp +SOURCE=.\common\unzip.c +# SUBTRACT CPP /YX /Yc /Yu # End Source File + +# End Group +# Begin Group "MSW Files" + +# PROP Default_Filter "" # Begin Source File SOURCE=.\msw\dummy.cpp @@ -549,13 +526,11 @@ SOURCE=.\msw\dummy.cpp # End Source File # Begin Source File -SOURCE=.\msw\gsocket.c -# SUBTRACT CPP /YX /Yc /Yu +SOURCE=.\msw\dde.cpp # End Source File # Begin Source File -SOURCE=.\msw\gsockmsw.c -# SUBTRACT CPP /YX /Yc /Yu +SOURCE=.\msw\dir.cpp # End Source File # Begin Source File @@ -593,6 +568,18 @@ SOURCE=.\msw\utilsexc.cpp SOURCE=.\msw\volume.cpp # End Source File + +# Begin Source File + +SOURCE=.\msw\gsocket.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=.\msw\gsockmsw.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File + # End Group # Begin Group "Headers" @@ -603,9 +590,7 @@ SOURCE=.\msw\volume.cpp # Begin Source File SOURCE=..\include\wx\msw\setup.h - !IF "$(CFG)" == "wxBase - Win32 Release Unicode DLL" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h @@ -613,19 +598,14 @@ InputPath=..\include\wx\msw\setup.h copy "$(InputPath)" ..\lib\basedllu\wx\setup.h # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode DLL" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h "../lib/basedllud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" copy "$(InputPath)" ..\lib\basedllud\wx\setup.h - # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Release Unicode" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h @@ -633,9 +613,7 @@ InputPath=..\include\wx\msw\setup.h copy "$(InputPath)" ..\lib\baseu\wx\setup.h # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h @@ -643,9 +621,7 @@ InputPath=..\include\wx\msw\setup.h copy "$(InputPath)" ..\lib\baseud\wx\setup.h # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Release DLL" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h @@ -653,19 +629,14 @@ InputPath=..\include\wx\msw\setup.h copy "$(InputPath)" ..\lib\basedll\wx\setup.h # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Debug DLL" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h "../lib/basedlld/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" copy "$(InputPath)" ..\lib\basedlld\wx\setup.h - # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Release" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h @@ -673,9 +644,7 @@ InputPath=..\include\wx\msw\setup.h copy "$(InputPath)" ..\lib\base\wx\setup.h # End Custom Build - !ELSEIF "$(CFG)" == "wxBase - Win32 Debug" - # Begin Custom Build - Copying $(InputPath) to $(TargetDir) InputPath=..\include\wx\msw\setup.h @@ -683,7 +652,6 @@ InputPath=..\include\wx\msw\setup.h copy "$(InputPath)" ..\lib\based\wx\setup.h # End Custom Build - !ENDIF # End Source File @@ -1035,6 +1003,7 @@ SOURCE=..\include\wx\zipstrm.h SOURCE=..\include\wx\zstream.h # End Source File + # End Group # Begin Group "MSW" @@ -1051,6 +1020,7 @@ SOURCE=..\include\wx\msw\mimetype.h SOURCE=..\include\wx\msw\winundef.h # End Source File + # End Group # End Group # End Target diff --git a/src/wxUniv.dsp b/src/wxUniv.dsp index b168384a27..3852dba726 100644 --- a/src/wxUniv.dsp +++ b/src/wxUniv.dsp @@ -49,7 +49,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LIB32=link.exe -lib # ADD BASE LIB32 /nologo -# ADD LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\wxuniv.lib" !ELSEIF "$(CFG)" == "wxUniv - Win32 Debug" @@ -221,11 +221,6 @@ SOURCE=.\common\event.cpp # End Source File # Begin Source File -SOURCE=.\common\extended.c -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - SOURCE=.\common\fddlgcmn.cpp # End Source File # Begin Source File @@ -554,11 +549,6 @@ SOURCE=.\common\txtstrm.cpp # End Source File # Begin Source File -SOURCE=.\common\unzip.c -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - SOURCE=.\common\url.cpp # End Source File # Begin Source File @@ -609,6 +599,18 @@ SOURCE=.\common\zipstrm.cpp SOURCE=.\common\zstream.cpp # End Source File + +# Begin Source File + +SOURCE=.\common\extended.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=.\common\unzip.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File + # End Group # Begin Group "Generic Files" @@ -659,10 +661,6 @@ SOURCE=.\generic\fdrepdlg.cpp # End Source File # Begin Source File -SOURCE=.\generic\filedlgg.cpp -# End Source File -# Begin Source File - SOURCE=.\generic\fontdlgg.cpp # End Source File # Begin Source File @@ -793,6 +791,7 @@ SOURCE=.\generic\treelay.cpp SOURCE=.\generic\wizard.cpp # End Source File + # End Group # Begin Group "wxHTML Files" @@ -863,10 +862,6 @@ SOURCE=.\html\m_list.cpp # End Source File # Begin Source File -SOURCE=.\html\m_meta.cpp -# End Source File -# Begin Source File - SOURCE=.\html\m_pre.cpp # End Source File # Begin Source File @@ -881,12 +876,18 @@ SOURCE=.\html\m_tables.cpp SOURCE=.\html\winpars.cpp # End Source File + # End Group # Begin Group "MSW Files" # PROP Default_Filter "" # Begin Source File +SOURCE=.\msw\dummy.cpp +# ADD CPP /Yc"wx/wxprec.h" +# End Source File +# Begin Source File + SOURCE=.\msw\app.cpp # End Source File # Begin Source File @@ -951,12 +952,11 @@ SOURCE=.\msw\dir.cpp # End Source File # Begin Source File -SOURCE=.\msw\dummy.cpp -# ADD CPP /Yc"wx/wxprec.h" +SOURCE=.\msw\evtloop.cpp # End Source File # Begin Source File -SOURCE=.\msw\evtloop.cpp +SOURCE=.\msw\filedlg.cpp # End Source File # Begin Source File @@ -980,16 +980,6 @@ SOURCE=.\msw\gdiobj.cpp # End Source File # Begin Source File -SOURCE=.\msw\gsocket.c -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - -SOURCE=.\msw\gsockmsw.c -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - SOURCE=.\msw\icon.cpp # End Source File # Begin Source File @@ -1060,26 +1050,22 @@ SOURCE=.\msw\volume.cpp SOURCE=.\msw\window.cpp # End Source File -# End Group -# Begin Group "Universal Files" - -# PROP Default_Filter "" -# Begin Group "Theme Files" -# PROP Default_Filter "" # Begin Source File -SOURCE=.\univ\themes\gtk.cpp +SOURCE=.\msw\gsocket.c +# SUBTRACT CPP /YX /Yc /Yu # End Source File # Begin Source File -SOURCE=.\univ\themes\metal.cpp +SOURCE=.\msw\gsockmsw.c +# SUBTRACT CPP /YX /Yc /Yu # End Source File -# Begin Source File -SOURCE=.\univ\themes\win32.cpp -# End Source File # End Group +# Begin Group "Universal Files" + +# PROP Default_Filter "" # Begin Source File SOURCE=.\univ\bmpbuttn.cpp @@ -1216,6 +1202,24 @@ SOURCE=.\univ\topluniv.cpp SOURCE=.\univ\winuniv.cpp # End Source File + +# Begin Group "Theme Files" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\univ\themes\gtk.cpp +# End Source File +# Begin Source File + +SOURCE=.\univ\themes\metal.cpp +# End Source File +# Begin Source File + +SOURCE=.\univ\themes\win32.cpp +# End Source File + +# End Group # End Group # Begin Group "Headers" @@ -1226,9 +1230,7 @@ SOURCE=.\univ\winuniv.cpp # Begin Source File SOURCE=..\include\wx\univ\setup.h - !IF "$(CFG)" == "wxUniv - Win32 Release" - # Begin Custom Build - Creating lib\univ\wx\setup.h from $(InputPath) InputPath=..\include\wx\univ\setup.h @@ -1236,9 +1238,7 @@ InputPath=..\include\wx\univ\setup.h copy "$(InputPath)" ..\lib\univ\wx\setup.h # End Custom Build - !ELSEIF "$(CFG)" == "wxUniv - Win32 Debug" - # Begin Custom Build - Creating lib\univd\wx\setup.h from $(InputPath) InputPath=..\include\wx\univ\setup.h @@ -1246,9 +1246,7 @@ InputPath=..\include\wx\univ\setup.h copy "$(InputPath)" ..\lib\univd\wx\setup.h # End Custom Build - !ENDIF - # End Source File # End Group # Begin Group "Common" @@ -2202,6 +2200,7 @@ SOURCE=..\include\wx\zipstrm.h SOURCE=..\include\wx\zstream.h # End Source File + # End Group # Begin Group "MSW" @@ -2292,6 +2291,10 @@ SOURCE=..\include\wx\generic\listctrl.h # End Source File # Begin Source File +SOURCE=..\include\wx\generic\mdig.h +# End Source File +# Begin Source File + SOURCE=..\include\wx\generic\msgdlgg.h # End Source File # Begin Source File @@ -2366,6 +2369,7 @@ SOURCE=..\include\wx\generic\treectlg.h SOURCE=..\include\wx\generic\wizard.h # End Source File + # End Group # Begin Group "HTML" @@ -2422,6 +2426,7 @@ SOURCE=..\include\wx\html\m_templ.h SOURCE=..\include\wx\html\winpars.h # End Source File + # End Group # Begin Group "Universal" diff --git a/src/wxWindows.dsp b/src/wxWindows.dsp index c4c81f4046..163db8eb74 100644 --- a/src/wxWindows.dsp +++ b/src/wxWindows.dsp @@ -58,8 +58,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw233u.dll" -# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxmsw233u.dll" +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw234u.dll" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxmsw234u.dll" !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL" @@ -84,8 +84,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw233ud.dll" -# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw233ud.dll" +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw234ud.dll" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw234ud.dll" !ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode" @@ -156,8 +156,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw233.dll" -# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxmsw233.dll" +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw234.dll" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxmsw234.dll" !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL" @@ -182,8 +182,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw233d.dll" -# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw233d.dll" +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw234d.dll" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw234d.dll" !ELSEIF "$(CFG)" == "wxWindows - Win32 Release" @@ -975,10 +975,6 @@ SOURCE=.\html\m_list.cpp # End Source File # Begin Source File -SOURCE=.\html\m_meta.cpp -# End Source File -# Begin Source File - SOURCE=.\html\m_pre.cpp # End Source File # Begin Source File @@ -2948,6 +2944,10 @@ SOURCE=..\include\wx\generic\listctrl.h # End Source File # Begin Source File +SOURCE=..\include\wx\generic\mdig.h +# End Source File +# Begin Source File + SOURCE=..\include\wx\generic\msgdlgg.h # End Source File # Begin Source File diff --git a/src/wxWindows.pbproj/project.pbxproj b/src/wxWindows.pbproj/project.pbxproj index 203a80f71b..0af29a650c 100644 --- a/src/wxWindows.pbproj/project.pbxproj +++ b/src/wxWindows.pbproj/project.pbxproj @@ -147,8 +147,9 @@ isa = PBXShellScriptBuildPhase; neededFileNames = ( ); + runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# Create wx include directory if necessary\nif [ ! -d \"$SYMROOT/include/wx\" ]; then\n mkdir -p \"$SYMROOT/include/wx\" || exit 1\nfi\n# Copy setup0.h to setup.h\nif [ ! -f \"$SYMROOT/include/wx/setup.h\" ]; then\n cp \"$SRCROOT/../include/wx/mac/setup0.h\" \"$SYMROOT/include/wx/setup.h\" || exit 1\nfi\n# Generate lexer\nif [ ! -f \"$SYMROOT/lexer.c\" -o \"$SYMROOT/lexer.c\" -ot \"$SRCROOT/common/lexer.l\" ]; then\n flex \"$SRCROOT/common/lexer.l\" || exit 1\n sed -e \"s;$SRCROOT/common/lex.yy.c;lexer.l;g\" < lex.yy.c | \\\n sed -e \"s/yy/PROIO_yy/g\" | \\\n sed -e \"s/input/PROIO_input/g\" | \\\n sed -e \"s/unput/PROIO_unput/g\" > \"$SYMROOT/lexer.c\" || exit 1\n rm -f lex.yy.c\nfi\n# Generate parser\nif [ ! -f \"$SYMROOT/parser.c\" -o \"$SYMROOT/parser.c\" -ot \"$SRCROOT/common/parser.y\" ]; then\n bison -y \"$SRCROOT/common/parser.y\" || exit 1\n sed -e \"s;$SRCROOT/common/y.tab.c;parser.y;g\" < y.tab.c | \\\n sed -e \"s/BUFSIZ/5000/g\" | \\\n sed -e \"s/YYLMAX 200/YYLMAX 5000/g\" | \\\n sed -e \"s/yy/PROIO_yy/g\" | \\\n sed -e \"s/input/PROIO_input/g\" | \\\n sed -e \"s/unput/PROIO_unput/g\" > \"$SYMROOT/parser.c\" || exit 1\n rm -f y.tab.c\nfi"; + shellScript = "# Create wx include directory if necessary\nif [ ! -d \"$SYMROOT/include/wx\" ]; then\n mkdir -p \"$SYMROOT/include/wx\" || exit 1\nfi\n# Copy setup0.h to setup.h\nif [ ! -f \"$SYMROOT/include/wx/setup.h\" ]; then\n cp \"$SRCROOT/../include/wx/mac/setup0.h\" \"$SYMROOT/include/wx/setup.h\" || exit 1\nfi\n# Generate lexer\nif [ ! -f \"$SYMROOT/lexer.c\" -o \"$SYMROOT/lexer.c\" -ot \"$SRCROOT/common/lexer.l\" ]; then\n flex \"$SRCROOT/common/lexer.l\" || exit 1\n sed -e \"s;$SRCROOT/common/lex.yy.c;lexer.l;g\" < lex.yy.c | \\\n sed -e \"s/yy/PROIO_yy/g\" | \\\n sed -e \"s/input/PROIO_input/g\" | \\\n sed -e \"s/unput/PROIO_unput/g\" > \"$SYMROOT/lexer.c\" || exit 1\n rm -f lex.yy.c\nfi\n# Generate parser\nif [ ! -f \"$SYMROOT/parser.c\" -o \"$SYMROOT/parser.c\" -ot \"$SRCROOT/common/parser.y\" ]; then\n bison -y \"$SRCROOT/common/parser.y\" || exit 1\n sed -e \"s;$SRCROOT/common/y.tab.c;parser.y;g\" < y.tab.c | \\\n sed -e \"s/BUFSIZ/5000/g\" | \\\n sed -e \"s/YYLMAX 200/YYLMAX 5000/g\" | \\\n sed -e \"s/yy/PROIO_yy/g\" | \\\n sed -e \"s/input/PROIO_input/g\" | \\\n sed -e \"s/unput/PROIO_unput/g\" > \"$SYMROOT/parser.c\" || exit 1\n rm -f y.tab.c\nfi"; }; F5955E9D02CBA8B501000133 = { fileRef = F5A8619E01FA022C0175ACA7; @@ -1248,12 +1249,6 @@ settings = { }; }; - F5955F5D02CBAB2701000133 = { - fileRef = F5A8611401FA022C0175ACA7; - isa = PBXBuildFile; - settings = { - }; - }; F5955F5E02CBAB2701000133 = { fileRef = F5A8611301FA022C0175ACA7; isa = PBXBuildFile; @@ -3534,12 +3529,6 @@ settings = { }; }; - F5A0C5E802CF70D701000133 = { - fileRef = F5A8611401FA022C0175ACA7; - isa = PBXBuildFile; - settings = { - }; - }; F5A0C5E902CF70D701000133 = { fileRef = F5A8611301FA022C0175ACA7; isa = PBXBuildFile; @@ -4666,10 +4655,12 @@ F5A85C1E01FA022A0175ACA7, F5A85C1F01FA022A0175ACA7, F5A85C2001FA022A0175ACA7, + F5CC83D90379C17C01000133, F5A85C2101FA022A0175ACA7, F5A85C2201FA022A0175ACA7, F5A85C2301FA022A0175ACA7, F5A85C2401FA022A0175ACA7, + F5CC83DA0379C17C01000133, F5A85C2501FA022A0175ACA7, F5A85C2601FA022A0175ACA7, F5A85C2701FA022A0175ACA7, @@ -4703,6 +4694,7 @@ F5A85C4401FA022A0175ACA7, F5A85C4501FA022A0175ACA7, F5A85C4601FA022A0175ACA7, + F5CC83DF0379C20901000133, F5A85C4701FA022A0175ACA7, F5A85C4801FA022A0175ACA7, F5A85C4901FA022A0175ACA7, @@ -4716,6 +4708,7 @@ F5A85C5101FA022A0175ACA7, F5A85C5201FA022A0175ACA7, F5A85C5301FA022A0175ACA7, + F5CC83E00379C20901000133, F5A85C5401FA022A0175ACA7, F5A85C5501FA022A0175ACA7, F5A85C5601FA022A0175ACA7, @@ -4729,6 +4722,7 @@ F5A85C5E01FA022A0175ACA7, F5A85C5F01FA022A0175ACA7, F5A85C6001FA022A0175ACA7, + F5CC83E10379C20901000133, F5A85C6101FA022A0175ACA7, F5A85C6201FA022A0175ACA7, F5A85C6301FA022A0175ACA7, @@ -4756,12 +4750,14 @@ F5A85CB301FA022A0175ACA7, F5A85CB401FA022A0175ACA7, F5A85CF901FA022B0175ACA7, + F5CC83E20379C20901000133, F5A85CFA01FA022B0175ACA7, F5A85CFB01FA022B0175ACA7, F5A85CFC01FA022B0175ACA7, F5A85CFD01FA022B0175ACA7, F5A85CFF01FA022B0175ACA7, F5A85D2101FA022B0175ACA7, + F5CC83E30379C20901000133, F5A85D2201FA022B0175ACA7, F5A85D2301FA022B0175ACA7, F5A85D2401FA022B0175ACA7, @@ -4775,6 +4771,7 @@ F5A85D2C01FA022B0175ACA7, F5A85D2D01FA022B0175ACA7, F5A85D2E01FA022B0175ACA7, + F5CC83E40379C20901000133, F5A85D2F01FA022B0175ACA7, F5A85D3001FA022B0175ACA7, F5A85D3101FA022B0175ACA7, @@ -4782,6 +4779,7 @@ F5A85D3301FA022B0175ACA7, F5A85D3401FA022B0175ACA7, F5A85D3501FA022B0175ACA7, + F5CC83E50379C20901000133, F5A85D3601FA022B0175ACA7, F5A85D3701FA022B0175ACA7, F5A8703A01FA0B7F0175ACA7, @@ -4800,6 +4798,7 @@ F5A85DAE01FA022B0175ACA7, F5A85DAF01FA022B0175ACA7, F5A85DF101FA022B0175ACA7, + F5CC83E60379C20901000133, F5A85DF201FA022B0175ACA7, F5A85E9701FA022B0175ACA7, F5A85E9801FA022B0175ACA7, @@ -4820,6 +4819,7 @@ F5A85F0C01FA022B0175ACA7, F5A85F0D01FA022B0175ACA7, F5A85F0E01FA022B0175ACA7, + F5CC83E70379C20901000133, F5A85F1401FA022B0175ACA7, F5A85F1501FA022B0175ACA7, F5A85F1601FA022B0175ACA7, @@ -4863,6 +4863,7 @@ F5A85F3D01FA022B0175ACA7, F5A85F3E01FA022B0175ACA7, F5A85F3F01FA022B0175ACA7, + F5CC83E80379C20901000133, F5A85F4001FA022B0175ACA7, F5A85F4101FA022B0175ACA7, F5A85F4201FA022B0175ACA7, @@ -4885,6 +4886,7 @@ F5A85F7E01FA022B0175ACA7, F5A85F7F01FA022B0175ACA7, F5A85F8001FA022B0175ACA7, + F5CC83E90379C20901000133, F5A85F8201FA022B0175ACA7, F5A85F8301FA022B0175ACA7, F5A85F8401FA022B0175ACA7, @@ -7004,6 +7006,7 @@ F5A8600201FA022B0175ACA7, F5A8600301FA022B0175ACA7, F5A8600401FA022B0175ACA7, + F5AC2EDC03803A3601000133, F5A8600501FA022B0175ACA7, F5A8600601FA022B0175ACA7, F5A8600701FA022B0175ACA7, @@ -7063,12 +7066,14 @@ F5A8603F01FA022C0175ACA7, F5A8604001FA022C0175ACA7, F5A8604101FA022C0175ACA7, + F5AC2EDD03803A3601000133, F5A8604301FA022C0175ACA7, F5A8604501FA022C0175ACA7, F5A8604601FA022C0175ACA7, F5A8604701FA022C0175ACA7, F5A8604801FA022C0175ACA7, F5A8604901FA022C0175ACA7, + F5AC2EDE03803A3601000133, F5A8604A01FA022C0175ACA7, F5A8604B01FA022C0175ACA7, F5A8604C01FA022C0175ACA7, @@ -8102,7 +8107,6 @@ F5A8611101FA022C0175ACA7, F5A8611201FA022C0175ACA7, F5A8611301FA022C0175ACA7, - F5A8611401FA022C0175ACA7, F5A8611501FA022C0175ACA7, F5A8611601FA022C0175ACA7, F5A8611701FA022C0175ACA7, @@ -8191,11 +8195,6 @@ path = m_list.cpp; refType = 4; }; - F5A8611401FA022C0175ACA7 = { - isa = PBXFileReference; - path = m_meta.cpp; - refType = 4; - }; F5A8611501FA022C0175ACA7 = { isa = PBXFileReference; path = m_pre.cpp; @@ -9388,6 +9387,51 @@ path = ../include/wx/listimpl.cpp; refType = 2; }; + F5AC2EDC03803A3601000133 = { + isa = PBXFileReference; + path = execcmn.cpp; + refType = 4; + }; + F5AC2EDD03803A3601000133 = { + isa = PBXFileReference; + path = radiocmn.cpp; + refType = 4; + }; + F5AC2EDE03803A3601000133 = { + isa = PBXFileReference; + path = settcmn.cpp; + refType = 4; + }; + F5AC2EE003803A3601000133 = { + fileRef = F5AC2EDD03803A3601000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5AC2EE103803A3601000133 = { + fileRef = F5AC2EDE03803A3601000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5AC2EE203803A3601000133 = { + fileRef = F5AC2EDC03803A3601000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5AC2EE303803A3601000133 = { + fileRef = F5AC2EDD03803A3601000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5AC2EE403803A3601000133 = { + fileRef = F5AC2EDE03803A3601000133; + isa = PBXBuildFile; + settings = { + }; + }; F5C5D3DF01FA2D0A01D0F0BA = { isa = PBXFrameworkReference; name = System.framework; @@ -9417,7 +9461,6 @@ OTHER_LDFLAGS = ""; OTHER_LIBTOOL_FLAGS = ""; OTHER_REZFLAGS = "-d __UNIX__"; - PRECOMPILE_PREFIX_HEADER = YES; PREFIX_HEADER = ../include/wx_pb.h; PRODUCT_NAME = libwx_macd.a; REZ_EXECUTABLE = NO; @@ -9438,6 +9481,7 @@ F5FD822202CCECE601000133, ); isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5C6AC4A020C2B1001000133 = { buildActionMask = 2147483647; @@ -9622,7 +9666,6 @@ F5955F5A02CBAB2501000133, F5955F5B02CBAB2601000133, F5955F5C02CBAB2601000133, - F5955F5D02CBAB2701000133, F5955F5E02CBAB2701000133, F5955F5F02CBAB2801000133, F5955F6002CBAB2801000133, @@ -9810,7 +9853,6 @@ F595601602CBAB9801000133, F595601702CBAB9801000133, F595601802CBAB9901000133, - F5D0E30A02CCEA1D01000133, F5F5A6A002CDB27401000133, F5F5A6A502CDB6CA01000133, F5F5A6A602CDB6CA01000133, @@ -9819,14 +9861,18 @@ F5F5A6A902CDB91E01000133, F5F5A6AA02CDB92001000133, F58E04FE02F11FA701A8020C, + F5AC2EE003803A3601000133, + F5AC2EE103803A3601000133, ); isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5C6AC4B020C2B1001000133 = { buildActionMask = 2147483647; files = ( ); isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5C6AC4C020C2B1001000133 = { buildActionMask = 2147483647; @@ -9836,6 +9882,178 @@ F5955E9F02CBA8B901000133, ); isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F5CC83C20379B1A901000133 = { + buildActionMask = 2147483647; + files = ( + ); + generatedFileNames = ( + ); + isa = PBXShellScriptBuildPhase; + neededFileNames = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Create wx include directory if necessary\nif [ ! -d \"$SYMROOT/include/wx\" ]; then\n mkdir -p \"$SYMROOT/include/wx\" || exit 1\nfi\n# Copy setup0.h to setup.h\nif [ ! -f \"$SYMROOT/include/wx/setup.h\" ]; then\n cp \"$SRCROOT/../include/wx/mac/setup0.h\" \"$SYMROOT/include/wx/setup.h\" || exit 1\nfi\n# Generate lexer\nif [ ! -f \"$SYMROOT/lexer.c\" -o \"$SYMROOT/lexer.c\" -ot \"$SRCROOT/common/lexer.l\" ]; then\n flex \"$SRCROOT/common/lexer.l\" || exit 1\n sed -e \"s;$SRCROOT/common/lex.yy.c;lexer.l;g\" < lex.yy.c | \\\n sed -e \"s/yy/PROIO_yy/g\" | \\\n sed -e \"s/input/PROIO_input/g\" | \\\n sed -e \"s/unput/PROIO_unput/g\" > \"$SYMROOT/lexer.c\" || exit 1\n rm -f lex.yy.c\nfi\n# Generate parser\nif [ ! -f \"$SYMROOT/parser.c\" -o \"$SYMROOT/parser.c\" -ot \"$SRCROOT/common/parser.y\" ]; then\n bison -y \"$SRCROOT/common/parser.y\" || exit 1\n sed -e \"s;$SRCROOT/common/y.tab.c;parser.y;g\" < y.tab.c | \\\n sed -e \"s/BUFSIZ/5000/g\" | \\\n sed -e \"s/YYLMAX 200/YYLMAX 5000/g\" | \\\n sed -e \"s/yy/PROIO_yy/g\" | \\\n sed -e \"s/input/PROIO_input/g\" | \\\n sed -e \"s/unput/PROIO_unput/g\" > \"$SYMROOT/parser.c\" || exit 1\n rm -f y.tab.c\nfi"; + }; + F5CC83C30379B20901000133 = { + fileRef = F5A8604501FA022C0175ACA7; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83D90379C17C01000133 = { + isa = PBXFileReference; + path = artprov.h; + refType = 4; + }; + F5CC83DA0379C17C01000133 = { + isa = PBXFileReference; + path = build.h; + refType = 4; + }; + F5CC83DD0379C17C01000133 = { + fileRef = F5CC83D90379C17C01000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83DE0379C17C01000133 = { + fileRef = F5CC83DA0379C17C01000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83DF0379C20901000133 = { + isa = PBXFileReference; + name = dcbuffer.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/dcbuffer.h; + refType = 0; + }; + F5CC83E00379C20901000133 = { + isa = PBXFileReference; + name = display.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/display.h; + refType = 0; + }; + F5CC83E10379C20901000133 = { + isa = PBXFileReference; + name = features.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/features.h; + refType = 0; + }; + F5CC83E20379C20901000133 = { + isa = PBXFileReference; + name = hashmap.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/hashmap.h; + refType = 0; + }; + F5CC83E30379C20901000133 = { + isa = PBXFileReference; + name = iconbndl.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/iconbndl.h; + refType = 0; + }; + F5CC83E40379C20901000133 = { + isa = PBXFileReference; + name = ipc.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/ipc.h; + refType = 0; + }; + F5CC83E50379C20901000133 = { + isa = PBXFileReference; + name = listbase.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/listbase.h; + refType = 0; + }; + F5CC83E60379C20901000133 = { + isa = PBXFileReference; + name = msgout.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/msgout.h; + refType = 0; + }; + F5CC83E70379C20901000133 = { + isa = PBXFileReference; + name = ptr_scpd.h; + path = /Volumes/Users/gilles/cvs/wxWindows/include/wx/ptr_scpd.h; + refType = 0; + }; + F5CC83E80379C20901000133 = { + isa = PBXFileReference; + path = thrimpl.cpp; + refType = 4; + }; + F5CC83E90379C20901000133 = { + isa = PBXFileReference; + path = volume.h; + refType = 4; + }; + F5CC83F50379C20901000133 = { + fileRef = F5CC83DF0379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83F60379C20901000133 = { + fileRef = F5CC83E00379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83F70379C20901000133 = { + fileRef = F5CC83E10379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83F80379C20901000133 = { + fileRef = F5CC83E20379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83F90379C20901000133 = { + fileRef = F5CC83E30379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83FA0379C20901000133 = { + fileRef = F5CC83E40379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83FB0379C20901000133 = { + fileRef = F5CC83E50379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83FC0379C20901000133 = { + fileRef = F5CC83E60379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83FD0379C20901000133 = { + fileRef = F5CC83E70379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83FE0379C20901000133 = { + fileRef = F5CC83E80379C20901000133; + isa = PBXBuildFile; + settings = { + }; + }; + F5CC83FF0379C20901000133 = { + fileRef = F5CC83E90379C20901000133; + isa = PBXBuildFile; + settings = { + }; }; F5D00F2901FDFB8401000133 = { isa = PBXFileReference; @@ -9854,12 +10072,6 @@ path = build/parser.c; refType = 2; }; - F5D0E30A02CCEA1D01000133 = { - fileRef = F5D0E30802CCEA1D01000133; - isa = PBXBuildFile; - settings = { - }; - }; F5F5A69F02CDB27401000133 = { isa = PBXFileReference; name = hashmap.cpp; @@ -9935,8 +10147,21 @@ F5F5A6B602CDD62501000133 = { buildActionMask = 2147483647; files = ( + F5CC83DD0379C17C01000133, + F5CC83DE0379C17C01000133, + F5CC83F50379C20901000133, + F5CC83F60379C20901000133, + F5CC83F70379C20901000133, + F5CC83F80379C20901000133, + F5CC83F90379C20901000133, + F5CC83FA0379C20901000133, + F5CC83FB0379C20901000133, + F5CC83FC0379C20901000133, + F5CC83FD0379C20901000133, + F5CC83FF0379C20901000133, ); isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5F5A6B702CDD62501000133 = { buildActionMask = 2147483647; @@ -10134,7 +10359,6 @@ F5A0C5E502CF70D501000133, F5A0C5E602CF70D601000133, F5A0C5E702CF70D601000133, - F5A0C5E802CF70D701000133, F5A0C5E902CF70D701000133, F5A0C5EA02CF70D701000133, F5A0C5EB02CF70D801000133, @@ -10318,14 +10542,21 @@ F5A0C6A102CF714801000133, F5A0C6A202CF714801000133, F58E04FF02F11FA701A8020C, + F5CC83C30379B20901000133, + F5CC83FE0379C20901000133, + F5AC2EE203803A3601000133, + F5AC2EE303803A3601000133, + F5AC2EE403803A3601000133, ); isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5F5A6B802CDD62501000133 = { buildActionMask = 2147483647; files = ( ); isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5F5A6B902CDD62501000133 = { buildActionMask = 2147483647; @@ -10335,9 +10566,11 @@ F5A0C69F02CF714701000133, ); isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; }; F5F5A6BA02CDD62501000133 = { buildPhases = ( + F5CC83C20379B1A901000133, F5F5A6B602CDD62501000133, F5F5A6B702CDD62501000133, F5F5A6B802CDD62501000133, @@ -10354,7 +10587,6 @@ OTHER_LDFLAGS = ""; OTHER_LIBTOOL_FLAGS = ""; OTHER_REZFLAGS = "-d __UNIX__"; - PRECOMPILE_PREFIX_HEADER = YES; PREFIX_HEADER = ../include/wx_pb.h; PRODUCT_NAME = libwx_mac.a; REZ_EXECUTABLE = NO; diff --git a/src/wxWindowsM7.mcp b/src/wxWindowsM7.mcp index c88d91f436a5cdbabc3e14a3e21389e7c1435e4c..7e0453d73d5b556c4a2401c02c281e104f80ee3e 100644 GIT binary patch delta 12522 zcmcIpcYM^vw%_@c?YsGHdN!Mo&}&G*zy%Qq5So+(Q4}x`iULwX@nHc2&+=4MSbxH? zpc17BdN0IPMikT_QbGxcG(~CB6d`~G5aE4iew(20-Ov5wUElBXImyhNGiT16Iy3wG z7v0Wn?Git7(xmY=n@zRZSYw;fXPM3DTU8#P#QML8!9_M(n<|^_Z-U@O+q5ZTC*Ir9 z?ZVfg<*2bEr*(8=RzBbk9Td7vIc;MMU1q~y8|x0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Ud5ZgD z2hr`H(}TO5e5~m(;5hUj!)XhkpbYj5}@o zak_IE{@yefKjlk7c+Wv}=ZkLbKr&5RjuYov+H1L)TkOAgGAv_ft+}s4uCI`DbQpWn zLFi84cT4;XpVoGe`P^9WeiZ-xaE8jHHHsVM9)T+xzeH;*WquGin8?dUIG~bf)3YZQ zXY?1ivWe#en?6~O0Uu!F;C7{TU)ctHpunAA2A zJ82!d7x-|2`vyU#(vSAQM~o3NEBdE_L$)JD#`i|YNIB3~)owac!5rZ585Hdxk73e} zBBR#=A0=>Q)17Fgs>6FCz>)G%v}bJf`) m>%kv^j}^Fc(#L3RKYC~%@Noh+z8HdbjEn@=k-ClX9REM9nypX( diff --git a/src/wxWindowsW7.xml b/src/wxWindowsW7.xml index c18136deb3..bb7a6a2cc9 100644 --- a/src/wxWindowsW7.xml +++ b/src/wxWindowsW7.xml @@ -2484,15 +2484,6 @@ Text Debug - - PathRelative - Project - html - m_meta.cpp - Windows - Text - Debug - PathRelative Project @@ -3560,6 +3551,15 @@ Text Debug + + PathRelative + Project + common + settcmn.cpp + Windows + Text + Debug + @@ -4269,6 +4269,13 @@ sckstrm.cpp Windows + + PathRelative + Project + common + settcmn.cpp + Windows + PathRelative Project @@ -4815,13 +4822,6 @@ m_list.cpp Windows - - PathRelative - Project - html - m_meta.cpp - Windows - PathRelative Project @@ -12795,15 +12795,6 @@ Text Debug - - PathRelative - Project - html - m_meta.cpp - Windows - Text - Debug - PathRelative Project @@ -13889,6 +13880,15 @@ Text Debug + + PathRelative + Project + common + settcmn.cpp + Windows + Text + Debug + @@ -14598,6 +14598,13 @@ sckstrm.cpp Windows + + PathRelative + Project + common + settcmn.cpp + Windows + PathRelative Project @@ -15144,13 +15151,6 @@ m_list.cpp Windows - - PathRelative - Project - html - m_meta.cpp - Windows - PathRelative Project @@ -17900,6 +17900,14 @@ sckstrm.cpp Windows + + wxlib Win32 debug + PathRelative + Project + common + settcmn.cpp + Windows + wxlib Win32 debug PathRelative @@ -18563,14 +18571,6 @@ m_list.cpp Windows - - wxlib Win32 debug - PathRelative - Project - html - m_meta.cpp - Windows - wxlib Win32 debug PathRelative diff --git a/src/wxwindowsM5.xml b/src/wxwindowsM5.xml index 84e65c1e06..b8ed6d1d98 100644 --- a/src/wxwindowsM5.xml +++ b/src/wxwindowsM5.xml @@ -153,6 +153,15 @@ Recursivetrue HostFlagsAll + + SearchPath + Path:regex: + PathFormatMacOS + PathRootProject + + Recursivetrue + HostFlagsAll + SearchPath Path:tiff: @@ -606,9 +615,9 @@ MWMerge_MacOS_copyResources1 MWMerge_MacOS_skipResources - ‡þÀ - %#H - %8* + + ñ + @@ -2643,15 +2652,6 @@ Text Debug - - PathRelative - Project - :html: - :m_meta.cpp - MacOS - Text - Debug - PathRelative Project @@ -4806,13 +4806,6 @@ :treectlg.cpp MacOS - - PathRelative - Project - :html: - :m_meta.cpp - MacOS - PathRelative Project @@ -5440,6 +5433,15 @@ Recursivetrue HostFlagsAll + + SearchPath + Path:regex: + PathFormatMacOS + PathRootProject + + Recursivetrue + HostFlagsAll + SearchPath Path:tiff: @@ -5875,9 +5877,9 @@ MWMerge_MacOS_copyResources1 MWMerge_MacOS_skipResources - ‡þÀ - %#H - %8* + + ñ + @@ -8303,13 +8305,6 @@ Text Debug - - Name - m_meta.cpp - MacOS - Text - Debug - Name m_pre.cpp @@ -10332,11 +10327,6 @@ m_list.cpp MacOS - - Name - m_meta.cpp - MacOS - Name m_pre.cpp @@ -10700,9 +10690,9 @@ MWMerge_MacOS_copyResources1 MWMerge_MacOS_skipResources - ‡þÀ - %#H - %8* + + ñ + @@ -11332,6 +11322,15 @@ Recursivetrue HostFlagsAll + + SearchPath + Path:regex: + PathFormatMacOS + PathRootProject + + Recursivetrue + HostFlagsAll + SearchPath Path:tiff: @@ -11776,9 +11775,9 @@ MWMerge_MacOS_copyResources1 MWMerge_MacOS_skipResources - ‡þÀ - %#H - %8* + + ñ + @@ -13804,15 +13803,6 @@ Text Debug - - PathRelative - Project - :html: - :m_meta.cpp - MacOS - Text - Debug - PathRelative Project @@ -15967,13 +15957,6 @@ :treectlg.cpp MacOS - - PathRelative - Project - :html: - :m_meta.cpp - MacOS - PathRelative Project @@ -16597,6 +16580,15 @@ Recursivetrue HostFlagsAll + + SearchPath + Path:regex: + PathFormatMacOS + PathRootProject + + Recursivetrue + HostFlagsAll + SearchPath Path:tiff: @@ -17041,9 +17033,9 @@ MWMerge_MacOS_copyResources1 MWMerge_MacOS_skipResources - ‡þÀ - %#H - %8* + + ñ + @@ -19073,15 +19065,6 @@ Text Debug - - PathRelative - Project - :html: - :m_meta.cpp - MacOS - Text - Debug - PathRelative Project @@ -21238,13 +21221,6 @@ :treectlg.cpp MacOS - - PathRelative - Project - :html: - :m_meta.cpp - MacOS - PathRelative Project @@ -23695,14 +23671,6 @@ :m_list.cpp MacOS - - Classic Debug - PathRelative - Project - :html: - :m_meta.cpp - MacOS - Classic Debug PathRelative diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 74fb19c9af..fbbbdd1d50 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -26,6 +26,7 @@ #include "wx/intl.h" #include "wx/evtloop.h" #include "wx/timer.h" +#include "wx/filename.h" #include "wx/univ/theme.h" #include "wx/univ/renderer.h" @@ -57,8 +58,6 @@ wxApp *wxTheApp = NULL; // This is set within wxEntryStart -- too early on // to put these in wxTheApp -static int g_newArgc = 0; -static wxChar** g_newArgv = NULL; static bool g_showIconic = FALSE; static wxSize g_initialSize = wxDefaultSize; @@ -136,10 +135,6 @@ bool wxApp::Initialize() void wxApp::CleanUp() { - if (g_newArgv) - delete[] g_newArgv; - g_newArgv = NULL; - delete wxWidgetHashTable; wxWidgetHashTable = NULL; delete wxClientWidgetHashTable; @@ -197,20 +192,13 @@ int wxEntryStart( int& argc, char *argv[] ) #endif #endif // __WXDEBUG__ - wxString displayName; + char *displayName = NULL; bool syncDisplay = FALSE; - // Parse the arguments. - // We can't use wxCmdLineParser or OnInitCmdLine and friends because - // we have to create the Display earlier. If we can find a way to - // use the wxAppBase API then I'll be quite happy to change it. - g_newArgv = new wxChar*[argc + 1]; - g_newArgc = 0; int i; for (i = 0; i < argc; i++) { - wxString arg(argv[i]); - if (arg == wxT("-display")) + if (strcmp( argv[i], "-display") == 0) { if (i < (argc - 1)) { @@ -219,16 +207,15 @@ int wxEntryStart( int& argc, char *argv[] ) continue; } } - else if (arg == wxT("-geometry")) + else if (strcmp( argv[i], "-geometry") == 0) { if (i < (argc - 1)) { i ++; - wxString windowGeometry = argv[i]; int w, h; - if (wxSscanf(windowGeometry.c_str(), _T("%dx%d"), &w, &h) != 2) + if (sscanf(argv[i], "%dx%d", &w, &h) != 2) { - wxLogError(_("Invalid geometry specification '%s'"), windowGeometry.c_str()); + wxLogError( _("Invalid geometry specification '%s'"), wxString::FromAscii(argv[i]).c_str() ); } else { @@ -237,30 +224,22 @@ int wxEntryStart( int& argc, char *argv[] ) continue; } } - else if (arg == wxT("-sync")) + else if (strcmp( argv[i], "-sync") == 0) { syncDisplay = TRUE; continue; } - else if (arg == wxT("-iconic")) + else if (strcmp( argv[i], "-iconic") == 0) { g_showIconic = TRUE; continue; } - // Not eaten by wxWindows, so pass through - g_newArgv[g_newArgc] = argv[i]; - g_newArgc ++; } - g_newArgv[g_newArgc] = NULL; - - Display* xdisplay = NULL; - if (displayName.IsEmpty()) - xdisplay = XOpenDisplay(NULL); - else - xdisplay = XOpenDisplay((char*) displayName.c_str()); + // X11 display stuff + Display* xdisplay = XOpenDisplay( displayName ); if (!xdisplay) { wxLogError( _("wxWindows could not open display. Exiting.") ); @@ -268,16 +247,20 @@ int wxEntryStart( int& argc, char *argv[] ) } if (syncDisplay) - { XSynchronize(xdisplay, True); - } wxApp::ms_display = (WXDisplay*) xdisplay; - + XSelectInput( xdisplay, XDefaultRootWindow(xdisplay), PropertyChangeMask); + // Misc. wxSetDetectableAutoRepeat( TRUE ); +#if wxUSE_UNICODE + // Glib's type system required by Pango + g_type_init(); +#endif + if (!wxApp::Initialize()) return -1; @@ -316,32 +299,39 @@ int wxEntry( int argc, char *argv[] ) { printf( "wxWindows error: No initializer - use IMPLEMENT_APP macro.\n" ); return 0; - }; + } wxTheApp = (wxApp*) (* wxApp::GetInitializerFunction()) (); - }; + } if (!wxTheApp) { printf( "wxWindows error: wxTheApp == NULL\n" ); return 0; - }; - - wxTheApp->SetClassName(wxFileNameFromPath(argv[0])); - wxTheApp->SetAppName(wxFileNameFromPath(argv[0])); + } - // The command line may have been changed - // by stripping out -display etc. - if (g_newArgc > 0) + // Command line argument stuff + wxTheApp->argc = argc; +#if wxUSE_UNICODE + wxTheApp->argv = new wxChar*[argc+1]; + int mb_argc = 0; + while (mb_argc < argc) { - wxTheApp->argc = g_newArgc; - wxTheApp->argv = g_newArgv; + wxString tmp = wxString::FromAscii( argv[mb_argc] ); + wxTheApp->argv[mb_argc] = wxStrdup( tmp.c_str() ); + mb_argc++; } - else + wxTheApp->argv[mb_argc] = (wxChar *)NULL; +#else + wxTheApp->argv = argv; +#endif + + if (wxTheApp->argc > 0) { - wxTheApp->argc = argc; - wxTheApp->argv = argv; + wxFileName fname( wxTheApp->argv[0] ); + wxTheApp->SetAppName( fname.GetName() ); } + wxTheApp->m_showIconic = g_showIconic; wxTheApp->m_initialSize = g_initialSize; @@ -603,6 +593,9 @@ bool wxApp::ProcessXEvent(WXEvent* _event) return TRUE; keyEvent.SetEventType(wxEVT_CHAR); + // Do the translation again, retaining the ASCII + // code. + wxTranslateKeyEvent(keyEvent, win, window, event, TRUE); if (win->GetEventHandler()->ProcessEvent( keyEvent )) return TRUE; @@ -1112,6 +1105,42 @@ bool wxApp::OnInitGui() return TRUE; } +#if wxUSE_UNICODE + +#include +#include +#include + +PangoContext* wxApp::GetPangoContext() +{ + static PangoContext *ret = NULL; + if (ret) + return ret; + + Display *xdisplay = (Display*) wxApp::GetDisplay(); + +#if 1 + int xscreen = DefaultScreen(xdisplay); + static int use_xft = -1; + if (use_xft == -1) + { + wxString val = wxGetenv( L"GDK_USE_XFT" ); + use_xft = (val == L"1"); + } + + if (use_xft) + ret = pango_xft_get_context( xdisplay, xscreen ); + else +#endif + ret = pango_x_get_context( xdisplay ); + + if (!PANGO_IS_CONTEXT(ret)) + wxLogError( wxT("No pango context.") ); + + return ret; +} +#endif + WXColormap wxApp::GetMainColormap(WXDisplay* display) { if (!display) /* Must be called first with non-NULL display */ @@ -1205,6 +1234,10 @@ bool wxApp::Yield(bool onlyIfNeeded) wxEventLoop::SetActive(newEventLoop); } + // Call dispatch at least once so that sockets + // can be tested + wxTheApp->Dispatch(); + while (wxTheApp && wxTheApp->Pending()) wxTheApp->Dispatch(); diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index 38f8aba90a..8663744e46 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -91,7 +91,7 @@ bool wxMask::Create( const wxBitmap& bitmap, m_display = bitmap.GetDisplay(); - wxImage image( bitmap ); + wxImage image = bitmap.ConvertToImage(); if (!image.Ok()) return FALSE; m_display = bitmap.GetDisplay(); @@ -1022,7 +1022,7 @@ bool wxBitmap::SaveFile( const wxString &name, int type, wxPalette *WXUNUSED(pal // Try to save the bitmap via wxImage handlers: { - wxImage image( *this ); + wxImage image(this->ConvertToImage()) ; if (image.Ok()) return image.SaveFile( name, type ); } @@ -1111,7 +1111,7 @@ bool wxBitmap::LoadFile( const wxString &name, int type ) { wxImage image; if (!image.LoadFile( name, type )) return FALSE; - if (image.Ok()) *this = image.ConvertToBitmap(); + if (image.Ok()) *this = wxBitmap(image); else return FALSE; } diff --git a/src/x11/data.cpp b/src/x11/data.cpp index 3cbdf91ef4..ffd29c7587 100644 --- a/src/x11/data.cpp +++ b/src/x11/data.cpp @@ -85,46 +85,46 @@ wxPalette wxNullPalette; wxFont wxNullFont; wxColour wxNullColour; -// Default window names -const char *wxControlNameStr = "control"; -const char *wxButtonNameStr = "button"; -const char *wxCanvasNameStr = "canvas"; -const char *wxCheckBoxNameStr = "check"; -const char *wxChoiceNameStr = "choice"; -const char *wxComboBoxNameStr = "comboBox"; -const char *wxDialogNameStr = "dialog"; -const char *wxFrameNameStr = "frame"; -const char *wxGaugeNameStr = "gauge"; -const char *wxStaticBoxNameStr = "groupBox"; -const char *wxListBoxNameStr = "listBox"; -const char *wxStaticTextNameStr = "message"; -const char *wxStaticBitmapNameStr = "message"; -const char *wxMultiTextNameStr = "multitext"; -const char *wxPanelNameStr = "panel"; -const char *wxRadioBoxNameStr = "radioBox"; -const char *wxRadioButtonNameStr = "radioButton"; -const char *wxBitmapRadioButtonNameStr = "radioButton"; -const char *wxScrollBarNameStr = "scrollBar"; -const char *wxSliderNameStr = "slider"; -const char *wxStaticNameStr = "static"; -const char *wxTextCtrlWindowNameStr = "textWindow"; -const char *wxTextCtrlNameStr = "text"; -const char *wxVirtListBoxNameStr = "virtListBox"; -const char *wxButtonBarNameStr = "buttonbar"; -const char *wxEnhDialogNameStr = "Shell"; -const char *wxToolBarNameStr = "toolbar"; -const char *wxStatusLineNameStr = "status_line"; -const char *wxGetTextFromUserPromptStr = "Input Text"; -const char *wxMessageBoxCaptionStr = "Message"; -const char *wxFileSelectorPromptStr = "Select a file"; -const char *wxFileSelectorDefaultWildcardStr = "*.*"; -const char *wxDirDialogNameStr = "wxDirCtrl"; -const char *wxDirDialogDefaultFolderStr = "/"; +/* Default window names */ +const wxChar *wxControlNameStr = wxT("control"); +const wxChar *wxButtonNameStr = wxT("button"); +const wxChar *wxCanvasNameStr = wxT("canvas"); +const wxChar *wxCheckBoxNameStr = wxT("check"); +const wxChar *wxChoiceNameStr = wxT("choice"); +const wxChar *wxComboBoxNameStr = wxT("comboBox"); +const wxChar *wxDialogNameStr = wxT("dialog"); +const wxChar *wxFrameNameStr = wxT("frame"); +const wxChar *wxGaugeNameStr = wxT("gauge"); +const wxChar *wxStaticBoxNameStr = wxT("groupBox"); +const wxChar *wxListBoxNameStr = wxT("listBox"); +const wxChar *wxStaticTextNameStr = wxT("message"); +const wxChar *wxStaticBitmapNameStr = wxT("message"); +const wxChar *wxMultiTextNameStr = wxT("multitext"); +const wxChar *wxPanelNameStr = wxT("panel"); +const wxChar *wxRadioBoxNameStr = wxT("radioBox"); +const wxChar *wxRadioButtonNameStr = wxT("radioButton"); +const wxChar *wxBitmapRadioButtonNameStr = wxT("radioButton"); +const wxChar *wxScrollBarNameStr = wxT("scrollBar"); +const wxChar *wxSliderNameStr = wxT("slider"); +const wxChar *wxStaticNameStr = wxT("static"); +const wxChar *wxTextCtrlWindowNameStr = wxT("textWindow"); +const wxChar *wxTextCtrlNameStr = wxT("text"); +const wxChar *wxVirtListBoxNameStr = wxT("virtListBox"); +const wxChar *wxButtonBarNameStr = wxT("buttonbar"); +const wxChar *wxEnhDialogNameStr = wxT("Shell"); +const wxChar *wxToolBarNameStr = wxT("toolbar"); +const wxChar *wxStatusLineNameStr = wxT("status_line"); +const wxChar *wxGetTextFromUserPromptStr = wxT("Input Text"); +const wxChar *wxMessageBoxCaptionStr = wxT("Message"); +const wxChar *wxFileSelectorPromptStr = wxT("Select a file"); +const wxChar *wxFileSelectorDefaultWildcardStr = wxT("*"); +const wxChar *wxDirDialogNameStr = wxT("wxDirCtrl"); +const wxChar *wxDirDialogDefaultFolderStr = wxT("/"); const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl"); -// See wx/utils.h -const char *wxFloatToStringStr = "%.2f"; -const char *wxDoubleToStringStr = "%.2f"; +/* See wx/utils.h */ +const wxChar *wxFloatToStringStr = wxT("%.2f"); +const wxChar *wxDoubleToStringStr = wxT("%.2f"); const wxSize wxDefaultSize(-1, -1); diff --git a/src/x11/dataobj.cpp b/src/x11/dataobj.cpp index 21e8776a29..548bbe151f 100644 --- a/src/x11/dataobj.cpp +++ b/src/x11/dataobj.cpp @@ -102,7 +102,7 @@ wxString wxDataFormat::GetId() const return wxEmptyString; #else char *t = XGetAtomName ((Display*) wxGetDisplay(), m_format); - wxString ret( t ); // this will convert from ascii to Unicode + wxString ret = wxString::FromAscii( t ); if (t) XFree( t ); return ret; @@ -132,7 +132,7 @@ void wxDataFormat::SetId( const wxChar *id ) PrepareFormats(); m_type = wxDF_PRIVATE; wxString tmp( id ); - m_format = XInternAtom( (Display*) wxGetDisplay(), wxMBSTRINGCAST tmp.mbc_str(), FALSE ); // what is the string cast for? + m_format = XInternAtom( (Display*) wxGetDisplay(), tmp.ToAscii(), FALSE ); #endif } @@ -351,7 +351,7 @@ bool wxBitmapDataObject::SetData(size_t size, const void *buf) return FALSE; } - m_bitmap = image.ConvertToBitmap(); + m_bitmap = image; return m_bitmap.Ok(); #else @@ -365,7 +365,7 @@ void wxBitmapDataObject::DoConvertToPng() if (!m_bitmap.Ok()) return; - wxImage image( m_bitmap ); + wxImage image = m_bitmap.ConvertToImage(); wxPNGHandler handler; wxCountingOutputStream count; diff --git a/src/x11/dcclient.cpp b/src/x11/dcclient.cpp index 1eb072f8aa..162a8c7153 100644 --- a/src/x11/dcclient.cpp +++ b/src/x11/dcclient.cpp @@ -19,11 +19,20 @@ #include "wx/app.h" #include "wx/image.h" #include "wx/module.h" +#include "wx/fontutil.h" #include "wx/x11/private.h" #include +#if wxUSE_UNICODE +#include "glib.h" +#include "pango/pangox.h" +#include "pango/pangoxft.h" + +#include "pango_x.cpp" +#endif + //----------------------------------------------------------------------------- // local defines //----------------------------------------------------------------------------- @@ -163,6 +172,11 @@ wxWindowDC::wxWindowDC() m_isMemDC = FALSE; m_isScreenDC = FALSE; m_owner = (wxWindow *)NULL; + +#if wxUSE_UNICODE + m_context = (PangoContext *)NULL; + m_fontdesc = (PangoFontDescription *)NULL; +#endif } wxWindowDC::wxWindowDC( wxWindow *window ) @@ -193,6 +207,11 @@ wxWindowDC::wxWindowDC( wxWindow *window ) m_display = (WXDisplay *) wxGlobalDisplay(); +#if wxUSE_UNICODE + m_context = wxTheApp->GetPangoContext(); + m_fontdesc = window->GetFont().GetNativeFontInfo()->description; +#endif + int screen = DefaultScreen( (Display*) m_display ); m_cmap = (WXColormap) DefaultColormap( (Display*) m_display, screen ); @@ -332,7 +351,7 @@ bool wxWindowDC::DoGetPixel( wxCoord x1, wxCoord y1, wxColour *col ) const memdc.SelectObject(bitmap); memdc.Blit(0, 0, 1, 1, (wxDC*) this, x1, y1); memdc.SelectObject(wxNullBitmap); - wxImage image(bitmap); + wxImage image(bitmap.ConvertToImage()); col->Set(image.GetRed(0, 0), image.GetGreen(0, 0), image.GetBlue(0, 0)); return TRUE; } @@ -344,8 +363,19 @@ void wxWindowDC::DoDrawLine( wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2 ) if (m_pen.GetStyle() != wxTRANSPARENT) { if (m_window) - XDrawLine( (Display*) m_display, (Window) m_window, - (GC) m_penGC, XLOG2DEV(x1), YLOG2DEV(y1), XLOG2DEV(x2), YLOG2DEV(y2) ); + { + // This hack is for the iPaq: XDrawLine draws + // nothing, whereas XDrawLines works... + wxPoint points[2]; + points[0].x = x1; + points[0].y = y1; + points[1].x = x2; + points[1].y = y2; + DrawLines( 2, points, 0, 0 ); + + // XDrawLine( (Display*) m_display, (Window) m_window, + // (GC) m_penGC, XLOG2DEV(x1), YLOG2DEV(y1), XLOG2DEV(x2), YLOG2DEV(y2) ); + } CalcBoundingBox(x1, y1); CalcBoundingBox(x2, y2); @@ -884,14 +914,14 @@ void wxWindowDC::DoDrawBitmap( const wxBitmap &bitmap, wxBitmap use_bitmap; if ((w != ww) || (h != hh)) { - wxImage image( bitmap ); + wxImage image( bitmap.ConvertToImage() ); image.Rescale( ww, hh ); #if 0 if (is_mono) use_bitmap = image.ConvertToMonoBitmap(255,255,255); else #endif - use_bitmap = image.ConvertToBitmap(); + use_bitmap = image; } else { @@ -1003,14 +1033,14 @@ void wxWindowDC::DoDrawBitmap( const wxBitmap &bitmap, wxBitmap use_bitmap; if ((w != ww) || (h != hh)) { - wxImage image( bitmap ); + wxImage image( bitmap.ConvertToImage() ); image.Rescale( ww, hh ); #if 0 if (is_mono) use_bitmap = image.ConvertToMonoBitmap(255,255,255); else #endif - use_bitmap = image.ConvertToBitmap(); + use_bitmap = image; } else { @@ -1206,7 +1236,7 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord he if ((bm_width != bm_ww) || (bm_height != bm_hh)) { - wxImage image( memDC->m_selected ); + wxImage image( memDC->m_selected.ConvertToImage() ); image = image.Scale( bm_ww, bm_hh ); #if 0 @@ -1214,7 +1244,7 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord he use_bitmap = image.ConvertToMonoBitmap(255,255,255); else #endif - use_bitmap = image.ConvertToBitmap(); + use_bitmap = image; } else { @@ -1325,11 +1355,11 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord he XSetSubwindowMode( (Display*) m_display, (GC) m_penGC, ClipByChildren ); // scale image - wxImage image( bitmap ); + wxImage image( bitmap.ConvertToImage() ); image = image.Scale( ww, hh ); // convert to bitmap - bitmap = image.ConvertToBitmap(); + bitmap = image; // draw scaled bitmap XCopyArea( (Display*) m_display, (Window) bitmap.GetPixmap(), (Window) m_window, @@ -1358,13 +1388,34 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) if (!m_window) return; - XFontStruct *xfont = (XFontStruct*) m_font.GetFontStruct( m_scaleY, m_display ); - - wxCHECK_RET( xfont, wxT("invalid font") ); - x = XLOG2DEV(x); y = YLOG2DEV(y); +#if wxUSE_UNICODE + PangoLayout *layout = pango_layout_new(m_context); + pango_layout_set_font_description(layout, m_fontdesc); + + const wxCharBuffer data = wxConvUTF8.cWC2MB( text ); + pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); + + // Measure layout. + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + wxCoord width = w; + wxCoord height = h; + + // Draw layout. + x11_draw_layout( (Drawable) m_window, (GC) m_textGC, x, y, layout, m_textForegroundColour ); + + g_object_unref( G_OBJECT( layout ) ); + + CalcBoundingBox (x + width, y + height); + CalcBoundingBox (x, y); +#else + XFontStruct *xfont = (XFontStruct*) m_font.GetFontStruct( m_scaleY, m_display ); + + wxCHECK_RET( xfont, wxT("invalid font") ); + // First draw a rectangle representing the text background, if a text // background is specified if (m_textBackgroundColour.Ok () && (m_backgroundMode != wxTRANSPARENT)) @@ -1415,6 +1466,7 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y ) CalcBoundingBox (x + width, y + height); CalcBoundingBox (x, y); #endif +#endif } void wxWindowDC::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord y, double angle ) @@ -1428,6 +1480,39 @@ void wxWindowDC::DoGetTextExtent( const wxString &string, wxCoord *width, wxCoor { wxCHECK_RET( Ok(), "invalid dc" ); + if (string.IsEmpty()) + { + if (width) (*width) = 0; + if (height) (*height) = 0; + return; + } + +#if wxUSE_UNICODE + PangoLayout *layout = pango_layout_new( m_context ); + + if (font) + pango_layout_set_font_description( layout, font->GetNativeFontInfo()->description ); + else + pango_layout_set_font_description(layout, m_fontdesc); + + const wxCharBuffer data = wxConvUTF8.cWC2MB( string ); + pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); + + // Measure text. + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + + if (width) (*width) = (wxCoord) w; + if (height) (*height) = (wxCoord) h; + if (descent) + { + // Do something about metrics here. TODO. + (*descent) = 0; + } + if (externalLeading) (*externalLeading) = 0; // ?? + + g_object_unref( G_OBJECT( layout ) ); +#else wxFont fontToUse = m_font; if (font) fontToUse = *font; @@ -1451,12 +1536,30 @@ void wxWindowDC::DoGetTextExtent( const wxString &string, wxCoord *width, wxCoor *descent = (wxCoord)(descent2 / m_scaleY ); if (externalLeading) *externalLeading = 0; // ?? +#endif } wxCoord wxWindowDC::GetCharWidth() const { wxCHECK_MSG( Ok(), 0, "invalid dc" ); +#if wxUSE_UNICODE + PangoLayout *layout = pango_layout_new( m_context ); + + if (!m_fontdesc) + { + char *crash = NULL; + *crash = 0; + } + + pango_layout_set_font_description(layout, m_fontdesc); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + + return w; +#else wxCHECK_MSG( m_font.Ok(), 0, "invalid font" ); XFontStruct *xfont = (XFontStruct*) m_font.GetFontStruct( m_scaleY, m_display ); @@ -1469,12 +1572,31 @@ wxCoord wxWindowDC::GetCharWidth() const XTextExtents( xfont, "H", 1, &direction, &ascent, &descent, &overall ); return (wxCoord)(overall.width / m_scaleX); +#endif } wxCoord wxWindowDC::GetCharHeight() const { wxCHECK_MSG( Ok(), 0, "invalid dc" ); +#if wxUSE_UNICODE + PangoLayout *layout = pango_layout_new( m_context ); + + if (!m_fontdesc) + { + char *crash = NULL; + *crash = 0; + } + + pango_layout_set_font_description(layout, m_fontdesc); + + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + + return h; +#else wxCHECK_MSG( m_font.Ok(), 0, "invalid font" ); XFontStruct *xfont = (XFontStruct*) m_font.GetFontStruct( m_scaleY, m_display ); @@ -1487,6 +1609,7 @@ wxCoord wxWindowDC::GetCharHeight() const XTextExtents( xfont, "H", 1, &direction, &ascent, &descent, &overall ); return (wxCoord)((ascent+descent) / m_scaleY); +#endif } void wxWindowDC::Clear() @@ -2047,7 +2170,7 @@ wxClientDC::wxClientDC( wxWindow *window ) m_window = (WXWindow*) window->GetClientAreaWindow(); - // Adjust the client area when the wxWindow is not using 2 X windows. + // Adjust the client area when the wxWindow is not using 2 X11 windows. if (m_window == (WXWindow*) window->GetMainWindow()) { wxPoint ptOrigin = window->GetClientAreaOrigin(); diff --git a/src/x11/dcscreen.cpp b/src/x11/dcscreen.cpp index 0efabc519c..58f24d50ca 100644 --- a/src/x11/dcscreen.cpp +++ b/src/x11/dcscreen.cpp @@ -17,6 +17,8 @@ #include "wx/frame.h" #include "wx/dcscreen.h" #include "wx/utils.h" +#include "wx/app.h" +#include "wx/fontutil.h" #include "wx/x11/private.h" @@ -47,6 +49,11 @@ wxScreenDC::wxScreenDC() m_isScreenDC = TRUE; +#if wxUSE_UNICODE + m_context = wxTheApp->GetPangoContext(); + m_fontdesc = wxNORMAL_FONT->GetNativeFontInfo()->description; +#endif + SetUpDC(); XSetSubwindowMode( (Display*) m_display, (GC) m_penGC, IncludeInferiors ); @@ -86,24 +93,23 @@ bool wxScreenDC::StartDrawingOnTop( wxWindow *window ) return StartDrawingOnTop( &rect ); } -bool wxScreenDC::StartDrawingOnTop( wxRect *rect ) +bool wxScreenDC::StartDrawingOnTop( wxRect *rectIn ) { - int x = 0; - int y = 0; + // VZ: should we do the same thing that wxMotif wxScreenDC does here? #if 0 - int width = gdk_screen_width(); - int height = gdk_screen_height(); -#else - int width = 1024; - int height = 768; -#endif - if (rect) + wxRect rect; + if ( rectIn ) + { + rect = *rectIn; + } + else { - x = rect->x; - y = rect->y; - width = rect->width; - height = rect->height; + rect.x = + rect.y = 0; + + DoGetSize(&rect.width, &rect.height); } +#endif // 0 return TRUE; } diff --git a/src/x11/evtloop.cpp b/src/x11/evtloop.cpp index f15fe04516..aaf03464a3 100644 --- a/src/x11/evtloop.cpp +++ b/src/x11/evtloop.cpp @@ -175,7 +175,7 @@ void wxSocketTable::FillSets(fd_set* readset, fd_set* writeset, int* highest) while (node) { wxSocketTableEntry* entry = (wxSocketTableEntry*) node->Data(); - + if (entry->m_fdInput != -1) { FD_SET(entry->m_fdInput, readset); @@ -201,7 +201,7 @@ void wxSocketTable::ProcessEvents(fd_set* readset, fd_set* writeset) while (node) { wxSocketTableEntry* entry = (wxSocketTableEntry*) node->Data(); - + if (entry->m_fdInput != -1 && FD_ISSET(entry->m_fdInput, readset)) { (entry->m_callbackInput) (entry->m_fdInput, entry->m_dataInput); @@ -375,7 +375,7 @@ int wxEventLoop::Run() while ( m_impl->m_keepGoing ) { #if 0 // wxUSE_THREADS - wxMutexGuiLeaveOrEnter(); + wxMutexGuiLeaveOrEnter(); #endif // wxUSE_THREADS // generate and process idle events for as long as we don't have @@ -387,7 +387,7 @@ int wxEventLoop::Run() #endif if (!m_impl->SendIdleEvent()) { -#if wxUSE_THREADS +#if 0 // wxUSE_THREADS // leave the main loop to give other threads a chance to // perform their GUI work wxMutexGuiLeave(); @@ -430,8 +430,8 @@ void wxEventLoop::Exit(int rc) bool wxEventLoop::Pending() const { - XFlush((Display*) wxGetDisplay()); - return (XPending((Display*) wxGetDisplay()) > 0); + XFlush( wxGlobalDisplay() ); + return (XPending( wxGlobalDisplay() ) > 0); } bool wxEventLoop::Dispatch() @@ -447,7 +447,7 @@ bool wxEventLoop::Dispatch() // often, so we should probably limit idle processing to // not be repeated more than every N milliseconds. - if (XPending((Display*) wxGetDisplay()) == 0) + if (XPending( wxGlobalDisplay() ) == 0) { #if wxUSE_NANOX GR_TIMEOUT timeout = 10; // Milliseconds @@ -462,7 +462,8 @@ bool wxEventLoop::Dispatch() struct timeval tv; tv.tv_sec=0; tv.tv_usec=10000; // TODO make this configurable - int fd = ConnectionNumber((Display*) wxGetDisplay()); + int fd = ConnectionNumber( wxGlobalDisplay() ); + fd_set readset; fd_set writeset; int highest = fd; @@ -473,10 +474,10 @@ bool wxEventLoop::Dispatch() #if wxUSE_SOCKETS if (wxTheSocketTable) - wxTheSocketTable->FillSets(& readset, & writeset, & highest); + wxTheSocketTable->FillSets( &readset, &writeset, &highest ); #endif - if (select(highest+1, &readset, &writeset, NULL, & tv) == 0) + if (select( highest+1, &readset, &writeset, NULL, &tv ) == 0) { // Timed out, so no event to process return TRUE; @@ -484,23 +485,25 @@ bool wxEventLoop::Dispatch() else { // An X11 event was pending, so get it - if (FD_ISSET(fd, & readset)) - XNextEvent((Display*) wxGetDisplay(), & event); + if (FD_ISSET( fd, &readset )) + XNextEvent( wxGlobalDisplay(), &event ); #if wxUSE_SOCKETS // Check if any socket events were pending, // and if so, call their callbacks if (wxTheSocketTable) - wxTheSocketTable->ProcessEvents(& readset, & writeset); + wxTheSocketTable->ProcessEvents( &readset, &writeset ); #endif } #endif - } else + } + else { - XNextEvent((Display*) wxGetDisplay(), & event); + XNextEvent( wxGlobalDisplay(), &event ); } - (void) m_impl->ProcessEvent(& event); + + (void) m_impl->ProcessEvent( &event ); return TRUE; } diff --git a/src/x11/files.lst b/src/x11/files.lst index b9d0947941..0db08379b8 100644 --- a/src/x11/files.lst +++ b/src/x11/files.lst @@ -236,7 +236,6 @@ ALL_SOURCES = \ html/m_layout.cpp \ html/m_links.cpp \ html/m_list.cpp \ - html/m_meta.cpp \ html/m_pre.cpp \ html/m_style.cpp \ html/m_tables.cpp \ @@ -648,7 +647,6 @@ GUI_LOWLEVEL_OBJS = \ window.o COMMONOBJS = \ - parser.o \ appcmn.o \ artprov.o \ artstd.o \ @@ -859,7 +857,6 @@ HTMLOBJS = \ m_layout.o \ m_links.o \ m_list.o \ - m_meta.o \ m_pre.o \ m_style.o \ m_tables.o \ diff --git a/src/x11/font.cpp b/src/x11/font.cpp index 6f6db81d0c..8cd3bba65c 100644 --- a/src/x11/font.cpp +++ b/src/x11/font.cpp @@ -38,12 +38,23 @@ #include "wx/fontutil.h" // for wxNativeFontInfo #include "wx/tokenzr.h" #include "wx/settings.h" + #include "wx/x11/private.h" IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject) // ---------------------------------------------------------------------------- -// private classes +// constants +// ---------------------------------------------------------------------------- + +// the default size (in points) for the fonts +static const int wxDEFAULT_FONT_SIZE = 12; + + +#if wxUSE_UNICODE +#else +// ---------------------------------------------------------------------------- +// wxXFont // ---------------------------------------------------------------------------- // For every wxFont, there must be a font for each display and scale requested. @@ -59,7 +70,27 @@ public: int m_scale; // Scale * 100 }; -class wxFontRefData: public wxGDIRefData +wxXFont::wxXFont() +{ + m_fontStruct = (WXFontStructPtr) 0; + m_display = (WXDisplay*) 0; + m_scale = 100; +} + +wxXFont::~wxXFont() +{ + // TODO: why does freeing the font produce a segv??? + // Note that XFreeFont wasn't called in wxWin 1.68 either. + // XFontStruct* fontStruct = (XFontStruct*) m_fontStruct; + // XFreeFont((Display*) m_display, fontStruct); +} +#endif + +// ---------------------------------------------------------------------------- +// wxFontRefData +// ---------------------------------------------------------------------------- + +class wxFontRefData: public wxObjectRefData { friend class wxFont; @@ -70,19 +101,33 @@ public: int weight = wxDEFAULT, bool underlined = FALSE, const wxString& faceName = wxEmptyString, - wxFontEncoding encoding = wxFONTENCODING_DEFAULT) - { - Init(size, family, style, weight, underlined, faceName, encoding); - } - - wxFontRefData(const wxFontRefData& data) - { - Init(data.m_pointSize, data.m_family, data.m_style, data.m_weight, - data.m_underlined, data.m_faceName, data.m_encoding); - } - - ~wxFontRefData(); + wxFontEncoding encoding = wxFONTENCODING_DEFAULT); + // copy cstr + wxFontRefData(const wxFontRefData& data); + + // from XFLD + wxFontRefData(const wxString& fontname); + + // dstr + virtual ~wxFontRefData(); + + // setters: all of them also take care to modify m_nativeFontInfo if we + // have it so as to not lose the information not carried by our fields + void SetPointSize(int pointSize); + void SetFamily(int family); + void SetStyle(int style); + void SetWeight(int weight); + void SetUnderlined(bool underlined); + void SetFaceName(const wxString& facename); + void SetEncoding(wxFontEncoding encoding); + + void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; } + bool GetNoAntiAliasing() { return m_noAA; } + + // and this one also modifies all the other font data fields + void SetNativeFontInfo(const wxNativeFontInfo& info); + protected: // common part of all ctors void Init(int size, @@ -93,6 +138,9 @@ protected: const wxString& faceName, wxFontEncoding encoding); + // set all fields from (already initialized and valid) m_nativeFontInfo + void InitFromNative(); + // font attributes int m_pointSize; int m_family; @@ -100,37 +148,20 @@ protected: int m_weight; bool m_underlined; wxString m_faceName; - wxFontEncoding m_encoding; + wxFontEncoding m_encoding; // Unused in Unicode mode + bool m_noAA; // No anti-aliasing wxNativeFontInfo m_nativeFontInfo; + void ClearX11Fonts(); + +#if wxUSE_UNICODE +#else // A list of wxXFonts wxList m_fonts; +#endif }; -// ============================================================================ -// implementation -// ============================================================================ - -// ---------------------------------------------------------------------------- -// wxXFont -// ---------------------------------------------------------------------------- - -wxXFont::wxXFont() -{ - m_fontStruct = (WXFontStructPtr) 0; - m_display = (WXDisplay*) 0; - m_scale = 100; -} - -wxXFont::~wxXFont() -{ - // TODO: why does freeing the font produce a segv??? - // Note that XFreeFont wasn't called in wxWin 1.68 either. - // XFontStruct* fontStruct = (XFontStruct*) m_fontStruct; - // XFreeFont((Display*) m_display, fontStruct); -} - // ---------------------------------------------------------------------------- // wxFontRefData // ---------------------------------------------------------------------------- @@ -143,34 +174,256 @@ void wxFontRefData::Init(int pointSize, const wxString& faceName, wxFontEncoding encoding) { - if (family == wxDEFAULT) - m_family = wxSWISS; - else - m_family = family; + m_family = family == wxFONTFAMILY_DEFAULT ? wxFONTFAMILY_SWISS : family; m_faceName = faceName; - if (style == wxDEFAULT) - m_style = wxNORMAL; - else - m_style = style; + // we accept both wxDEFAULT and wxNORMAL here - should we? + m_style = style == wxDEFAULT ? wxFONTSTYLE_NORMAL : style; + m_weight = weight == wxDEFAULT ? wxFONTWEIGHT_NORMAL : weight; + + // and here, do we really want to forbid creation of the font of the size + // 90 (the value of wxDEFAULT)?? + m_pointSize = pointSize == wxDEFAULT || pointSize == -1 + ? wxDEFAULT_FONT_SIZE + : pointSize; + + m_underlined = underlined; + m_encoding = encoding; + +#if wxUSE_UNICODE + // Create native font info + m_nativeFontInfo.description = pango_font_description_new(); + + // And set its values + switch (m_family) + { + case wxFONTFAMILY_MODERN: + case wxFONTFAMILY_TELETYPE: + pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); + break; + case wxFONTFAMILY_SWISS: + pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); + break; + default: + pango_font_description_set_family( m_nativeFontInfo.description, "sans" ); + break; + } + SetStyle( m_style ); + SetPointSize( m_pointSize ); + SetWeight( m_weight ); +#endif +} + +void wxFontRefData::InitFromNative() +{ + m_noAA = FALSE; + +#if wxUSE_UNICODE + // Get native info + PangoFontDescription *desc = m_nativeFontInfo.description; + + // init fields + m_faceName = wxGTK_CONV_BACK( pango_font_description_get_family( desc ) ); - if (weight == wxDEFAULT) - m_weight = wxNORMAL; + m_pointSize = pango_font_description_get_size( desc ) / PANGO_SCALE; + + switch (pango_font_description_get_style( desc )) + { + case PANGO_STYLE_NORMAL: + m_style = wxFONTSTYLE_NORMAL; + break; + case PANGO_STYLE_ITALIC: + m_style = wxFONTSTYLE_ITALIC; + break; + case PANGO_STYLE_OBLIQUE: + m_style = wxFONTSTYLE_SLANT; + break; + } + + switch (pango_font_description_get_weight( desc )) + { + case PANGO_WEIGHT_ULTRALIGHT: + m_weight = wxFONTWEIGHT_LIGHT; + break; + case PANGO_WEIGHT_LIGHT: + m_weight = wxFONTWEIGHT_LIGHT; + break; + case PANGO_WEIGHT_NORMAL: + m_weight = wxFONTWEIGHT_NORMAL; + break; + case PANGO_WEIGHT_BOLD: + m_weight = wxFONTWEIGHT_BOLD; + break; + case PANGO_WEIGHT_ULTRABOLD: + m_weight = wxFONTWEIGHT_BOLD; + break; + case PANGO_WEIGHT_HEAVY: + m_weight = wxFONTWEIGHT_BOLD; + break; + } + + if (m_faceName == wxT("monospace")) + { + m_family = wxFONTFAMILY_TELETYPE; + } + else if (m_faceName == wxT("sans")) + { + m_family = wxFONTFAMILY_SWISS; + } else - m_weight = weight; + { + m_family = wxFONTFAMILY_UNKNOWN; + } + + // Pango description are never underlined (?) + m_underlined = FALSE; + + // Cannot we choose that + m_encoding = wxFONTENCODING_SYSTEM; +#else // X11 + // get the font parameters from the XLFD + // ------------------------------------- + + m_faceName = m_nativeFontInfo.GetXFontComponent(wxXLFD_FAMILY); + + m_weight = wxFONTWEIGHT_NORMAL; + + wxString w = m_nativeFontInfo.GetXFontComponent(wxXLFD_WEIGHT).Upper(); + if ( !w.empty() && w != _T('*') ) + { + // the test below catches all of BOLD, EXTRABOLD, DEMIBOLD, ULTRABOLD + // and BLACK + if ( ((w[0u] == _T('B') && (!wxStrcmp(w.c_str() + 1, wxT("OLD")) || + !wxStrcmp(w.c_str() + 1, wxT("LACK"))))) || + wxStrstr(w.c_str() + 1, _T("BOLD")) ) + { + m_weight = wxFONTWEIGHT_BOLD; + } + else if ( w == _T("LIGHT") || w == _T("THIN") ) + { + m_weight = wxFONTWEIGHT_LIGHT; + } + } + + switch ( wxToupper(*m_nativeFontInfo. + GetXFontComponent(wxXLFD_SLANT).c_str()) ) + { + case _T('I'): // italique + m_style = wxFONTSTYLE_ITALIC; + break; + + case _T('O'): // oblique + m_style = wxFONTSTYLE_SLANT; + break; - if (pointSize == wxDEFAULT) - m_pointSize = 12; + default: + m_style = wxFONTSTYLE_NORMAL; + } + + long ptSize; + if ( m_nativeFontInfo.GetXFontComponent(wxXLFD_POINTSIZE).ToLong(&ptSize) ) + { + // size in XLFD is in 10 point units + m_pointSize = (int)(ptSize / 10); + } else - m_pointSize = pointSize; + { + m_pointSize = wxDEFAULT_FONT_SIZE; + } - m_underlined = underlined; - m_encoding = encoding; + // examine the spacing: if the font is monospaced, assume wxTELETYPE + // family for compatibility with the old code which used it instead of + // IsFixedWidth() + if ( m_nativeFontInfo.GetXFontComponent(wxXLFD_SPACING).Upper() == _T('M') ) + { + m_family = wxFONTFAMILY_TELETYPE; + } + else // not monospaceed + { + // don't even try guessing it, it doesn't work for too many fonts + // anyhow + m_family = wxFONTFAMILY_UNKNOWN; + } + + // X fonts are never underlined... + m_underlined = FALSE; + + // deal with font encoding + wxString + registry = m_nativeFontInfo.GetXFontComponent(wxXLFD_REGISTRY).Upper(), + encoding = m_nativeFontInfo.GetXFontComponent(wxXLFD_ENCODING).Upper(); + + if ( registry == _T("ISO8859") ) + { + int cp; + if ( wxSscanf(encoding, wxT("%d"), &cp) == 1 ) + { + m_encoding = (wxFontEncoding)(wxFONTENCODING_ISO8859_1 + cp - 1); + } + } + else if ( registry == _T("MICROSOFT") ) + { + int cp; + if ( wxSscanf(encoding, wxT("cp125%d"), &cp) == 1 ) + { + m_encoding = (wxFontEncoding)(wxFONTENCODING_CP1250 + cp); + } + } + else if ( registry == _T("KOI8") ) + { + m_encoding = wxFONTENCODING_KOI8; + } + else // unknown encoding + { + // may be give a warning here? or use wxFontMapper? + m_encoding = wxFONTENCODING_SYSTEM; + } +#endif // Pango/X11 } -wxFontRefData::~wxFontRefData() +wxFontRefData::wxFontRefData( const wxFontRefData& data ) + : wxObjectRefData() { + m_pointSize = data.m_pointSize; + m_family = data.m_family; + m_style = data.m_style; + m_weight = data.m_weight; + + m_underlined = data.m_underlined; + + m_faceName = data.m_faceName; + m_encoding = data.m_encoding; + + m_noAA = data.m_noAA; + + m_nativeFontInfo = data.m_nativeFontInfo; +} + +wxFontRefData::wxFontRefData(int size, int family, int style, + int weight, bool underlined, + const wxString& faceName, + wxFontEncoding encoding) +{ + Init(size, family, style, weight, underlined, faceName, encoding); +} + +wxFontRefData::wxFontRefData(const wxString& fontname) +{ + // VZ: FromString() should really work in both cases, doesn't it? +#if wxUSE_UNICODE + m_nativeFontInfo.FromString( fontname ); +#else + m_nativeFontInfo.SetXFontName(fontname); +#endif + + InitFromNative(); +} + +void wxFontRefData::ClearX11Fonts() +{ +#if wxUSE_UNICODE +#else wxNode* node = m_fonts.First(); while (node) { @@ -179,23 +432,121 @@ wxFontRefData::~wxFontRefData() node = node->Next(); } m_fonts.Clear(); +#endif +} + +wxFontRefData::~wxFontRefData() +{ + ClearX11Fonts(); } // ---------------------------------------------------------------------------- -// wxFont +// wxFontRefData SetXXX() // ---------------------------------------------------------------------------- -wxFont::wxFont(const wxNativeFontInfo& info) +void wxFontRefData::SetPointSize(int pointSize) { - Init(); + m_pointSize = pointSize; + +#if wxUSE_UNICODE + // Get native info + PangoFontDescription *desc = m_nativeFontInfo.description; + + pango_font_description_set_size( desc, m_pointSize * PANGO_SCALE ); +#endif +} + +void wxFontRefData::SetFamily(int family) +{ + m_family = family; + + // TODO: what are we supposed to do with m_nativeFontInfo here? +} + +void wxFontRefData::SetStyle(int style) +{ + m_style = style; + +#if wxUSE_UNICODE + // Get native info + PangoFontDescription *desc = m_nativeFontInfo.description; + + switch ( style ) + { + case wxFONTSTYLE_ITALIC: + pango_font_description_set_style( desc, PANGO_STYLE_ITALIC ); + break; + case wxFONTSTYLE_SLANT: + pango_font_description_set_style( desc, PANGO_STYLE_OBLIQUE ); + break; + default: + wxFAIL_MSG( _T("unknown font style") ); + // fall through + case wxFONTSTYLE_NORMAL: + pango_font_description_set_style( desc, PANGO_STYLE_NORMAL ); + break; + } +#endif +} + +void wxFontRefData::SetWeight(int weight) +{ + m_weight = weight; +} + +void wxFontRefData::SetUnderlined(bool underlined) +{ + m_underlined = underlined; - (void)Create(info.GetXFontName()); + // the XLFD doesn't have "underlined" field anyhow } +void wxFontRefData::SetFaceName(const wxString& facename) +{ + m_faceName = facename; +} + +void wxFontRefData::SetEncoding(wxFontEncoding encoding) +{ + m_encoding = encoding; +} + +void wxFontRefData::SetNativeFontInfo(const wxNativeFontInfo& info) +{ + // previously cached fonts shouldn't be used + ClearX11Fonts(); + + m_nativeFontInfo = info; + + // set all the other font parameters from the native font info + InitFromNative(); +} + +// ---------------------------------------------------------------------------- +// wxFont +// ---------------------------------------------------------------------------- + void wxFont::Init() { } +wxFont::wxFont(const wxNativeFontInfo& info) +{ + Init(); + +#if wxUSE_UNICODE + Create( info.GetPointSize(), + info.GetFamily(), + info.GetStyle(), + info.GetWeight(), + info.GetUnderlined(), + info.GetFaceName(), + info.GetEncoding() ); +#else + (void) Create(info.GetXFontName()); +#endif +} + bool wxFont::Create(int pointSize, int family, int style, @@ -205,14 +556,15 @@ bool wxFont::Create(int pointSize, wxFontEncoding encoding) { UnRef(); + m_refData = new wxFontRefData(pointSize, family, style, weight, underlined, faceName, encoding); - RealizeResource(); - return TRUE; } +#if wxUSE_UNICODE +#else bool wxFont::Create(const wxString& fontname, wxFontEncoding enc) { if( !fontname ) @@ -315,6 +667,7 @@ bool wxFont::Create(const wxString& fontname, wxFontEncoding enc) } return TRUE; } +#endif wxFont::~wxFont() { @@ -339,147 +692,172 @@ void wxFont::Unshare() } } -void wxFont::SetPointSize(int pointSize) +// ---------------------------------------------------------------------------- +// accessors +// ---------------------------------------------------------------------------- + +int wxFont::GetPointSize() const { - Unshare(); + wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); - M_FONTDATA->m_pointSize = pointSize; - M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now - - RealizeResource(); + return M_FONTDATA->m_pointSize; } -void wxFont::SetFamily(int family) +wxString wxFont::GetFaceName() const { - Unshare(); + wxCHECK_MSG( Ok(), wxT(""), wxT("invalid font") ); - M_FONTDATA->m_family = family; - M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now - - RealizeResource(); + return M_FONTDATA->m_faceName; } -void wxFont::SetStyle(int style) +int wxFont::GetFamily() const { - Unshare(); + wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); - M_FONTDATA->m_style = style; - M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now - - RealizeResource(); + return M_FONTDATA->m_family; } -void wxFont::SetWeight(int weight) +int wxFont::GetStyle() const { - Unshare(); + wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); - M_FONTDATA->m_weight = weight; - M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now - - RealizeResource(); + return M_FONTDATA->m_style; } -void wxFont::SetFaceName(const wxString& faceName) +int wxFont::GetWeight() const { - Unshare(); + wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); - M_FONTDATA->m_faceName = faceName; - M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now - - RealizeResource(); + return M_FONTDATA->m_weight; } -void wxFont::SetUnderlined(bool underlined) +bool wxFont::GetUnderlined() const { - Unshare(); + wxCHECK_MSG( Ok(), FALSE, wxT("invalid font") ); - M_FONTDATA->m_underlined = underlined; - - RealizeResource(); + return M_FONTDATA->m_underlined; } -void wxFont::SetEncoding(wxFontEncoding encoding) +wxFontEncoding wxFont::GetEncoding() const { - Unshare(); + wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") ); - M_FONTDATA->m_encoding = encoding; - M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now - - RealizeResource(); + return M_FONTDATA->m_encoding; } -void wxFont::SetNativeFontInfo(const wxNativeFontInfo& info) +bool wxFont::GetNoAntiAliasing() { - Unshare(); + wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") ); + + return M_FONTDATA->m_noAA; +} + +wxNativeFontInfo *wxFont::GetNativeFontInfo() const +{ + wxCHECK_MSG( Ok(), (wxNativeFontInfo *)NULL, wxT("invalid font") ); + +#if wxUSE_UNICODE +#else + if ( M_FONTDATA->m_nativeFontInfo.GetXFontName().empty() ) + GetInternalFont(); +#endif + + return new wxNativeFontInfo(M_FONTDATA->m_nativeFontInfo); +} + +bool wxFont::IsFixedWidth() const +{ + wxCHECK_MSG( Ok(), FALSE, wxT("invalid font") ); + +#if wxUSE_UNICODE +#else + // Robert, is this right? HasNativeFont doesn't exist. + if ( TRUE ) + // if ( M_FONTDATA->HasNativeFont() ) + { + // the monospace fonts are supposed to have "M" in the spacing field + wxString spacing = M_FONTDATA-> + m_nativeFontInfo.GetXFontComponent(wxXLFD_SPACING); + + return spacing.Upper() == _T('M'); + } +#endif - M_FONTDATA->m_nativeFontInfo = info; + return wxFontBase::IsFixedWidth(); } // ---------------------------------------------------------------------------- -// query font attributes +// change font attributes // ---------------------------------------------------------------------------- -int wxFont::GetPointSize() const +void wxFont::SetPointSize(int pointSize) { - wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); - - return M_FONTDATA->m_pointSize; + Unshare(); + + M_FONTDATA->SetPointSize(pointSize); } -wxString wxFont::GetFaceName() const +void wxFont::SetFamily(int family) { - wxCHECK_MSG( Ok(), wxT(""), wxT("invalid font") ); + Unshare(); - return M_FONTDATA->m_faceName ; + M_FONTDATA->SetFamily(family); } -int wxFont::GetFamily() const +void wxFont::SetStyle(int style) { - wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); + Unshare(); - return M_FONTDATA->m_family; + M_FONTDATA->SetStyle(style); } -int wxFont::GetStyle() const +void wxFont::SetWeight(int weight) { - wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); + Unshare(); - return M_FONTDATA->m_style; + M_FONTDATA->SetWeight(weight); } -int wxFont::GetWeight() const +void wxFont::SetFaceName(const wxString& faceName) { - wxCHECK_MSG( Ok(), 0, wxT("invalid font") ); + Unshare(); - return M_FONTDATA->m_weight; + M_FONTDATA->SetFaceName(faceName); } -bool wxFont::GetUnderlined() const +void wxFont::SetUnderlined(bool underlined) { - wxCHECK_MSG( Ok(), FALSE, wxT("invalid font") ); + Unshare(); - return M_FONTDATA->m_underlined; + M_FONTDATA->SetUnderlined(underlined); } -wxFontEncoding wxFont::GetEncoding() const +void wxFont::SetEncoding(wxFontEncoding encoding) { - wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") ); + Unshare(); - return M_FONTDATA->m_encoding; + M_FONTDATA->SetEncoding(encoding); } -wxNativeFontInfo *wxFont::GetNativeFontInfo() const +void wxFont::SetNativeFontInfo( const wxNativeFontInfo& info ) { - wxCHECK_MSG( Ok(), (wxNativeFontInfo *)NULL, wxT("invalid font") ); + Unshare(); - if(M_FONTDATA->m_nativeFontInfo.GetXFontName().IsEmpty()) - GetInternalFont(); + M_FONTDATA->SetNativeFontInfo( info ); +} - return new wxNativeFontInfo(M_FONTDATA->m_nativeFontInfo); +void wxFont::SetNoAntiAliasing( bool no ) +{ + Unshare(); + + M_FONTDATA->SetNoAntiAliasing( no ); } +#if wxUSE_UNICODE +#else + // ---------------------------------------------------------------------------- -// real implementation +// X11 implementation // ---------------------------------------------------------------------------- // Find an existing, or create a new, XFontStruct @@ -536,3 +914,4 @@ WXFontStructPtr wxFont::GetFontStruct(double scale, WXDisplay* display) const return (f ? f->m_fontStruct : (WXFontStructPtr) 0); } +#endif diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index f45784eeab..cac1674d9f 100644 --- a/src/x11/glcanvas.cpp +++ b/src/x11/glcanvas.cpp @@ -238,8 +238,8 @@ bool wxGLCanvas::Create( wxWindow *parent, // Check for the presence of the GLX extension if(!glXQueryExtension(display, NULL, NULL)) { - wxDebugMsg("wxGLCanvas: GLX extension is missing\n"); - return false; + wxLogDebug("wxGLCanvas: GLX extension is missing\n"); + return FALSE; } if(attribList) { @@ -287,7 +287,7 @@ bool wxGLCanvas::Create( wxWindow *parent, attribList = (int*) data; // Get an appropriate visual vi = glXChooseVisual(display, DefaultScreen(display), attribList); - if(!vi) return false; + if(!vi) return FALSE; // Here we should make sure that vi is the same visual as the // one used by the xwindow drawable in wxCanvas. However, @@ -298,9 +298,9 @@ bool wxGLCanvas::Create( wxWindow *parent, XGetWindowAttributes(display, (Window) GetClientAreaWindow(), &xwa); vi_templ.visualid = XVisualIDFromVisual(xwa.visual); vi = XGetVisualInfo(display, VisualIDMask, &vi_templ, &n); - if(!vi) return false; + if(!vi) return FALSE; glXGetConfig(display, vi, GLX_USE_GL, &val); - if(!val) return false; + if(!val) return FALSE; // Basically, this is it. It should be possible to use vi // in glXCreateContext() below. But this fails with Mesa. // I notified the Mesa author about it; there may be a fix. @@ -327,7 +327,7 @@ bool wxGLCanvas::Create( wxWindow *parent, a_list[n] = None; // XFree(vi); vi = glXChooseVisual(display, DefaultScreen(display), a_list); - if(!vi) return false; + if(!vi) return FALSE; #endif /* OLD_MESA */ } @@ -348,7 +348,7 @@ bool wxGLCanvas::Create( wxWindow *parent, #endif SetCurrent(); - return true; + return TRUE; } wxGLCanvas::~wxGLCanvas(void) diff --git a/src/x11/gsockx11.c b/src/x11/gsockx11.c index 1eabbedac9..6fc3464ec7 100644 --- a/src/x11/gsockx11.c +++ b/src/x11/gsockx11.c @@ -30,7 +30,7 @@ void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType); static void _GSocket_X11_Input(int *fid, void* data) { GSocket *socket = (GSocket *)data; - + _GSocket_Detected_Read(socket); } @@ -76,8 +76,10 @@ void _GSocket_Install_Callback(GSocket *socket, GSocketEvent event) default: return; } - // if (m_id[c] != -1) - // XtRemoveInput(m_id[c]); +#if 0 + if (m_id[c] != -1) + XtRemoveInput(m_id[c]); +#endif /* 0 */ if (c == 0) { diff --git a/src/x11/pango_x.cpp b/src/x11/pango_x.cpp new file mode 100644 index 0000000000..e3e12e3dec --- /dev/null +++ b/src/x11/pango_x.cpp @@ -0,0 +1,290 @@ +/** + * This file gets included from dcclient.cpp and implements + * the X11 interface to Pango. + * Copyright (C) Owen Taylor and Robert Roebling. + */ + +/* Declaration */ + +void +x11_draw_glyphs( Drawable drawable, + GC gc, + PangoFont *font, + int x, + int y, + PangoGlyphString *glyphs, + wxColour &colour ); + +void +x11_draw_layout_line_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayoutLine *line, + wxColour &colour ); + +void +x11_draw_layout_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout, + wxColour &colour ); + +void +x11_draw_layout( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout, + wxColour &colour); + +void +x11_pango_get_item_properties( PangoItem *item, + PangoUnderline *uline, + gboolean *strikethrough, + gint *rise, + PangoColor *fg_color, + gboolean *fg_set, + PangoColor *bg_color, + gboolean *bg_set, + gboolean *shape_set, + PangoRectangle *ink_rect, + PangoRectangle *logical_rect); + +/* Implementation */ + +void +x11_draw_glyphs( Drawable drawable, + GC gc, + PangoFont *font, + int x, + int y, + PangoGlyphString *glyphs, + wxColour &colour ) +{ + if (PANGO_XFT_IS_FONT (font)) + { + Display* xdisplay = wxGlobalDisplay(); + int xscreen = DefaultScreen( xdisplay ); + Visual* xvisual = DefaultVisual( xdisplay, xscreen ); + + Colormap xcolormap = DefaultColormapOfScreen( XScreenOfDisplay( xdisplay, xscreen ) ); + + XftDraw *draw = XftDrawCreate( xdisplay, drawable, xvisual, xcolormap ); + XftColor color; + color.pixel = 0; + color.color.red = colour.Red() << 8; + color.color.green = colour.Green() << 8; + color.color.blue = colour.Blue() << 8; + color.color.alpha = 65000; + pango_xft_render( draw, &color, font, glyphs, x, y ); + + XftDrawDestroy( draw ); + } + else + { + pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y ); + } +} + +void +x11_draw_layout_line_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayoutLine *line, + wxColour &colour ) +{ + PangoRectangle overall_rect; + PangoRectangle logical_rect; + PangoRectangle ink_rect; + PangoContext *context; + gint x_off = 0; + gint rise = 0; + + context = pango_layout_get_context (line->layout); + + pango_layout_line_get_extents (line,NULL, &overall_rect); + + GSList *tmp_list = line->runs; + while (tmp_list) + { + PangoUnderline uline = PANGO_UNDERLINE_NONE; + PangoLayoutRun *run = (PangoLayoutRun *) tmp_list->data; + PangoColor fg_color, bg_color; + gboolean strike, fg_set, bg_set, shape_set; + gint risen_y; + + tmp_list = tmp_list->next; + + x11_pango_get_item_properties (run->item, &uline, + &strike, &rise, &fg_color, &fg_set, &bg_color, &bg_set, + &shape_set, &ink_rect, &logical_rect); + + /* we subtract the rise because X coordinates are upside down */ + risen_y = y - rise / PANGO_SCALE; + + if (!shape_set) + { + if (uline == PANGO_UNDERLINE_NONE) + pango_glyph_string_extents (run->glyphs, run->item->analysis.font, NULL, &logical_rect); + else + pango_glyph_string_extents (run->glyphs, run->item->analysis.font, &ink_rect, &logical_rect); + } + +#if 0 + XDrawRectangle( drawable, gc, TRUE, + x + (x_off + logical_rect.x) / PANGO_SCALE, + risen_y + overall_rect.y / PANGO_SCALE, + logical_rect.width / PANGO_SCALE, + overall_rect.height / PANGO_SCALE); +#endif + + if (!shape_set) + { + int gx = x + x_off / PANGO_SCALE; + int gy = risen_y; + + x11_draw_glyphs( drawable, gc, run->item->analysis.font, gx, gy, run->glyphs, colour ); + } + + if (uline == PANGO_UNDERLINE_SINGLE) + { + XDrawLine( wxGlobalDisplay(), drawable, gc, + x + (x_off + ink_rect.x) / PANGO_SCALE - 1, + risen_y + 1, + x + (x_off + ink_rect.x + ink_rect.width) / PANGO_SCALE, + risen_y + 1); + } + + x_off += logical_rect.width; + } +} + +void +x11_draw_layout_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout, + wxColour &colour ) +{ + PangoLayoutIter *iter = pango_layout_get_iter (layout); + + do + { + PangoLayoutLine *line = pango_layout_iter_get_line (iter); + + PangoRectangle logical_rect; + pango_layout_iter_get_line_extents (iter, NULL, &logical_rect); + + int baseline = pango_layout_iter_get_baseline (iter); + + x11_draw_layout_line_with_colors( drawable, gc, + x + logical_rect.x / PANGO_SCALE, + y + baseline / PANGO_SCALE, + line, + colour ); + + } while (pango_layout_iter_next_line (iter)); + + pango_layout_iter_free (iter); +} + +void +x11_draw_layout( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout, + wxColour &colour) +{ + wxCHECK_RET( layout, wxT("No layout") ); + + x11_draw_layout_with_colors (drawable, gc, x, y, layout, colour ); +} + +void +x11_pango_get_item_properties( PangoItem *item, + PangoUnderline *uline, + gboolean *strikethrough, + gint *rise, + PangoColor *fg_color, + gboolean *fg_set, + PangoColor *bg_color, + gboolean *bg_set, + gboolean *shape_set, + PangoRectangle *ink_rect, + PangoRectangle *logical_rect) +{ + GSList *tmp_list = item->analysis.extra_attrs; + + if (strikethrough) + *strikethrough = FALSE; + + if (fg_set) + *fg_set = FALSE; + + if (bg_set) + *bg_set = FALSE; + + if (shape_set) + *shape_set = FALSE; + + if (rise) + *rise = 0; + + while (tmp_list) + { + PangoAttribute *attr = (PangoAttribute *) tmp_list->data; + + switch (attr->klass->type) + { + case PANGO_ATTR_UNDERLINE: + if (uline) + *uline = (PangoUnderline) ((PangoAttrInt *)attr)->value; + break; + + case PANGO_ATTR_STRIKETHROUGH: + if (strikethrough) + *strikethrough = ((PangoAttrInt *)attr)->value; + break; + + case PANGO_ATTR_FOREGROUND: + if (fg_color) + *fg_color = ((PangoAttrColor *)attr)->color; + if (fg_set) + *fg_set = TRUE; + + break; + + case PANGO_ATTR_BACKGROUND: + if (bg_color) + *bg_color = ((PangoAttrColor *)attr)->color; + if (bg_set) + *bg_set = TRUE; + + break; + + case PANGO_ATTR_SHAPE: + if (shape_set) + *shape_set = TRUE; + if (logical_rect) + *logical_rect = ((PangoAttrShape *)attr)->logical_rect; + if (ink_rect) + *ink_rect = ((PangoAttrShape *)attr)->ink_rect; + break; + + case PANGO_ATTR_RISE: + if (rise) + *rise = ((PangoAttrInt *)attr)->value; + break; + + default: + break; + } + tmp_list = tmp_list->next; + } +} + diff --git a/src/x11/pangox11.cpp b/src/x11/pangox11.cpp new file mode 100644 index 0000000000..17108cf60b --- /dev/null +++ b/src/x11/pangox11.cpp @@ -0,0 +1,276 @@ +/** + * This file gets included from dcclient.cpp and implements + * the X11 interface to Pango. + * Copyright (C) Owen Taylor and Robert Roebling. + */ + +/* Declaration */ + +void +x11_draw_glyphs( Drawable drawable, + GC gc, + PangoFont *font, + int x, + int y, + PangoGlyphString *glyphs); + +void +x11_draw_layout_line_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayoutLine *line, + XColor *foreground, + XColor *background); + +void +x11_draw_layout_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout, + XColor *foreground, + XColor *background); + +void +x11_draw_layout( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout); + +void +x11_pango_get_item_properties( PangoItem *item, + PangoUnderline *uline, + gboolean *strikethrough, + gint *rise, + PangoColor *fg_color, + gboolean *fg_set, + PangoColor *bg_color, + gboolean *bg_set, + gboolean *shape_set, + PangoRectangle *ink_rect, + PangoRectangle *logical_rect); + +/* Implementation */ + +void +x11_draw_glyphs( Drawable drawable, + GC gc, + PangoFont *font, + int x, + int y, + PangoGlyphString *glyphs) +{ + if (PANGO_XFT_IS_FONT (font)) + { + pango_xft_picture_render( wxGlobalDisplay(), drawable, drawable, font, glyphs, x, y ); + } + else + { + pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y ); + } +} + +void +x11_draw_layout_line_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayoutLine *line, + XColor *foreground, + XColor *background) +{ + PangoRectangle overall_rect; + PangoRectangle logical_rect; + PangoRectangle ink_rect; + PangoContext *context; + gint x_off = 0; + gint rise = 0; + + context = pango_layout_get_context (line->layout); + + pango_layout_line_get_extents (line,NULL, &overall_rect); + + GSList *tmp_list = line->runs; + while (tmp_list) + { + PangoUnderline uline = PANGO_UNDERLINE_NONE; + PangoLayoutRun *run = (PangoLayoutRun *) tmp_list->data; + PangoColor fg_color, bg_color; + gboolean strike, fg_set, bg_set, shape_set; + gint risen_y; + + tmp_list = tmp_list->next; + + x11_pango_get_item_properties (run->item, &uline, + &strike, &rise, &fg_color, &fg_set, &bg_color, &bg_set, + &shape_set, &ink_rect, &logical_rect); + + /* we subtract the rise because X coordinates are upside down */ + risen_y = y - rise / PANGO_SCALE; + + if (!shape_set) + { + if (uline == PANGO_UNDERLINE_NONE) + pango_glyph_string_extents (run->glyphs, run->item->analysis.font, NULL, &logical_rect); + else + pango_glyph_string_extents (run->glyphs, run->item->analysis.font, &ink_rect, &logical_rect); + } + +#if 0 + XDrawRectangle( drawable, gc, TRUE, + x + (x_off + logical_rect.x) / PANGO_SCALE, + risen_y + overall_rect.y / PANGO_SCALE, + logical_rect.width / PANGO_SCALE, + overall_rect.height / PANGO_SCALE); +#endif + + if (!shape_set) + { + int gx = x + x_off / PANGO_SCALE; + int gy = risen_y; + + x11_draw_glyphs( drawable, gc, run->item->analysis.font, gx, gy, run->glyphs); + } + + if (uline == PANGO_UNDERLINE_SINGLE) + { + XDrawLine( wxGlobalDisplay(), drawable, gc, + x + (x_off + ink_rect.x) / PANGO_SCALE - 1, + risen_y + 1, + x + (x_off + ink_rect.x + ink_rect.width) / PANGO_SCALE, + risen_y + 1); + } + + x_off += logical_rect.width; + } +} + +void +x11_draw_layout_with_colors( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout, + XColor *foreground, + XColor *background) +{ + PangoLayoutIter *iter = pango_layout_get_iter (layout); + + do + { + PangoLayoutLine *line = pango_layout_iter_get_line (iter); + + PangoRectangle logical_rect; + pango_layout_iter_get_line_extents (iter, NULL, &logical_rect); + + int baseline = pango_layout_iter_get_baseline (iter); + + x11_draw_layout_line_with_colors( drawable, gc, + x + logical_rect.x / PANGO_SCALE, + y + baseline / PANGO_SCALE, + line, + foreground, + background); + + } while (pango_layout_iter_next_line (iter)); + + pango_layout_iter_free (iter); +} + +void +x11_draw_layout( Drawable drawable, + GC gc, + int x, + int y, + PangoLayout *layout) +{ + wxCHECK_RET( layout, wxT("No layout") ); + + x11_draw_layout_with_colors (drawable, gc, x, y, layout, NULL, NULL); +} + +void +x11_pango_get_item_properties( PangoItem *item, + PangoUnderline *uline, + gboolean *strikethrough, + gint *rise, + PangoColor *fg_color, + gboolean *fg_set, + PangoColor *bg_color, + gboolean *bg_set, + gboolean *shape_set, + PangoRectangle *ink_rect, + PangoRectangle *logical_rect) +{ + GSList *tmp_list = item->analysis.extra_attrs; + + if (strikethrough) + *strikethrough = FALSE; + + if (fg_set) + *fg_set = FALSE; + + if (bg_set) + *bg_set = FALSE; + + if (shape_set) + *shape_set = FALSE; + + if (rise) + *rise = 0; + + while (tmp_list) + { + PangoAttribute *attr = (PangoAttribute *) tmp_list->data; + + switch (attr->klass->type) + { + case PANGO_ATTR_UNDERLINE: + if (uline) + *uline = (PangoUnderline) ((PangoAttrInt *)attr)->value; + break; + + case PANGO_ATTR_STRIKETHROUGH: + if (strikethrough) + *strikethrough = ((PangoAttrInt *)attr)->value; + break; + + case PANGO_ATTR_FOREGROUND: + if (fg_color) + *fg_color = ((PangoAttrColor *)attr)->color; + if (fg_set) + *fg_set = TRUE; + + break; + + case PANGO_ATTR_BACKGROUND: + if (bg_color) + *bg_color = ((PangoAttrColor *)attr)->color; + if (bg_set) + *bg_set = TRUE; + + break; + + case PANGO_ATTR_SHAPE: + if (shape_set) + *shape_set = TRUE; + if (logical_rect) + *logical_rect = ((PangoAttrShape *)attr)->logical_rect; + if (ink_rect) + *ink_rect = ((PangoAttrShape *)attr)->ink_rect; + break; + + case PANGO_ATTR_RISE: + if (rise) + *rise = ((PangoAttrInt *)attr)->value; + break; + + default: + break; + } + tmp_list = tmp_list->next; + } +} + diff --git a/src/x11/popupwin.cpp b/src/x11/popupwin.cpp index 2fbf352a72..89991df729 100644 --- a/src/x11/popupwin.cpp +++ b/src/x11/popupwin.cpp @@ -17,6 +17,7 @@ #include "wx/popupwin.h" #include "wx/app.h" +#include "wx/settings.h" #include "wx/x11/private.h" #include "X11/Xatom.h" @@ -33,7 +34,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow) bool wxPopupWindow::Create( wxWindow *parent, int style ) { - if (!CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, "popup" )) + if (!CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, wxT("popup") )) { wxFAIL_MSG( wxT("wxPopupWindow creation failed") ); return FALSE; diff --git a/src/x11/reparent.cpp b/src/x11/reparent.cpp index bbeedaea5d..50eb66f560 100644 --- a/src/x11/reparent.cpp +++ b/src/x11/reparent.cpp @@ -21,10 +21,11 @@ #pragma implementation "reparent.h" #endif -#include "wx/x11/reparent.h" +#include "wx/setup.h" #if !wxUSE_NANOX +#include "wx/x11/reparent.h" #include "wx/evtloop.h" #include "wx/log.h" #include "wx/app.h" @@ -295,13 +296,13 @@ WXWindow wxReparenter::FindAClientWindow(WXWindow window, const wxString& name) XFetchName((Display*) wxGetDisplay(), (Window) window, &clientName); wxString str1(name); - wxString str2(clientName); + wxString str2 = wxString::FromAscii(clientName); str1.Lower(); str2.Lower(); bool matches; if (sm_exactMatch) - matches = (name == clientName); + matches = (name == wxString::FromAscii(clientName)); else matches = (str1.Contains(str2) || str2.Contains(str1)); @@ -315,7 +316,8 @@ WXWindow wxReparenter::FindAClientWindow(WXWindow window, const wxString& name) old = XSetErrorHandler(ErrorHandler); if (!XQueryTree((Display*) wxGetDisplay(), (Window) window, &returnroot, &returnparent, - &children, &numchildren) || Xerror) { + &children, &numchildren) || Xerror) + { XSetErrorHandler(old); return NULL; } diff --git a/src/x11/settings.cpp b/src/x11/settings.cpp index f7d484b3d6..6a4d646d8f 100644 --- a/src/x11/settings.cpp +++ b/src/x11/settings.cpp @@ -19,6 +19,7 @@ #include "wx/settings.h" #include "wx/gdicmn.h" +#include "wx/x11/private.h" wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) { @@ -49,7 +50,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index) case wxSYS_DEFAULT_GUI_FONT: default: { - return wxFont(12, wxSWISS, wxNORMAL, wxNORMAL, FALSE); + return wxFont(12, wxNORMAL, wxNORMAL, wxNORMAL, FALSE); break; } } @@ -123,11 +124,11 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) // TODO return 0; case wxSYS_SCREEN_X: - // TODO - return 0; + return DisplayWidth( wxGlobalDisplay(), 0 ); + case wxSYS_SCREEN_Y: - // TODO - return 0; + return DisplayHeight( wxGlobalDisplay(), 0 ); + case wxSYS_FRAMESIZE_X: // TODO return 0; diff --git a/src/x11/textctrl.cpp b/src/x11/textctrl.cpp index c65341d997..c3b1b6411f 100644 --- a/src/x11/textctrl.cpp +++ b/src/x11/textctrl.cpp @@ -52,7 +52,7 @@ wxSourceUndoStep::wxSourceUndoStep( wxSourceUndo type, int y1, int y2, wxTextCtr for (int i = m_y1; i < m_y2+2; i++) { if (i >= (int)m_owner->m_lines.GetCount()) - m_lines.Add( "" ); + m_lines.Add( wxT("") ); else m_lines.Add( m_owner->m_lines[i].m_text ); } @@ -469,184 +469,6 @@ void wxTextCtrl::SetLanguage( wxSourceLanguage lang ) m_lang = lang; m_keywords.Clear(); - - if (m_lang == wxSOURCE_LANG_PYTHON) - { - m_keywords.Add( "class" ); - m_keywords.Add( "__init__" ); - m_keywords.Add( "return" ); - m_keywords.Add( "def" ); - m_keywords.Add( "try" ); - m_keywords.Add( "except" ); - m_keywords.Add( "if" ); - m_keywords.Add( "else" ); - m_keywords.Add( "finally" ); - m_keywords.Add( "for" ); - m_keywords.Add( "if" ); - m_keywords.Add( "elif" ); - m_keywords.Add( "in" ); - m_keywords.Add( "and" ); - m_keywords.Add( "del" ); - m_keywords.Add( "is" ); - m_keywords.Add( "raise" ); - m_keywords.Add( "assert" ); - m_keywords.Add( "lambda" ); - m_keywords.Add( "break" ); - m_keywords.Add( "global" ); - m_keywords.Add( "not" ); - m_keywords.Add( "or" ); - m_keywords.Add( "while" ); - m_keywords.Add( "continue" ); - m_keywords.Add( "exec" ); - m_keywords.Add( "pass" ); - m_keywords.Add( "print" ); - } else - if (m_lang == wxSOURCE_LANG_PERL) - { - m_keywords.Add( "main" ); - m_keywords.Add( "sub" ); - m_keywords.Add( "shift" ); - m_keywords.Add( "push" ); - m_keywords.Add( "split" ); - m_keywords.Add( "join" ); - m_keywords.Add( "chop" ); - m_keywords.Add( "grep" ); - m_keywords.Add( "open" ); - m_keywords.Add( "print" ); - m_keywords.Add( "sprint" ); - m_keywords.Add( "printf" ); - m_keywords.Add( "sprintf" ); - m_keywords.Add( "my" ); - m_keywords.Add( "local" ); - m_keywords.Add( "exit" ); - m_keywords.Add( "die" ); - m_keywords.Add( "return" ); - m_keywords.Add( "for" ); - m_keywords.Add( "foreach" ); - m_keywords.Add( "while" ); - m_keywords.Add( "unless" ); - m_keywords.Add( "if" ); - m_keywords.Add( "next" ); - m_keywords.Add( "last" ); - m_keywords.Add( "else" ); - m_keywords.Add( "elsif" ); - m_keywords.Add( "ne" ); - m_keywords.Add( "qe" ); - } - else - if (m_lang == wxSOURCE_LANG_CPP) - { - m_keywords.Add( "class" ); - m_keywords.Add( "return" ); - m_keywords.Add( "if" ); - m_keywords.Add( "then" ); - m_keywords.Add( "else" ); - m_keywords.Add( "struct" ); - m_keywords.Add( "enum" ); - m_keywords.Add( "while" ); - m_keywords.Add( "do" ); - m_keywords.Add( "for" ); - m_keywords.Add( "continue" ); - m_keywords.Add( "break" ); - m_keywords.Add( "switch" ); - m_keywords.Add( "case" ); - m_keywords.Add( "goto" ); - m_keywords.Add( "label" ); - m_keywords.Add( "inline" ); - m_keywords.Add( "operator" ); - m_keywords.Add( "virtual" ); - m_keywords.Add( "private" ); - m_keywords.Add( "public" ); - m_keywords.Add( "protected" ); - m_keywords.Add( "friend" ); - m_keywords.Add( "exception" ); - m_keywords.Add( "throw" ); - m_keywords.Add( "catch" ); - m_keywords.Add( "delete" ); - m_keywords.Add( "new" ); - m_keywords.Add( "default" ); - m_keywords.Add( "overload" ); - m_keywords.Add( "using" ); - m_keywords.Add( "template" ); - m_keywords.Add( "try" ); - m_keywords.Add( "typedef" ); - m_keywords.Add( "union" ); - m_keywords.Add( "volatile" ); - m_keywords.Add( "asm" ); - } - - m_defines.Clear(); - - if (m_lang == wxSOURCE_LANG_PYTHON) - { - m_defines.Add( "from" ); - m_defines.Add( "import" ); - } else - if (m_lang == wxSOURCE_LANG_PERL) - { - m_defines.Add( "use" ); - m_defines.Add( "do" ); - m_defines.Add( "package" ); - m_defines.Add( "defined" ); - } else - if (m_lang == wxSOURCE_LANG_CPP) - { - m_defines.Add( "#define" ); - m_defines.Add( "#if" ); - m_defines.Add( "#ifndef" ); - m_defines.Add( "#ifdef" ); - m_defines.Add( "#else" ); - m_defines.Add( "#elif" ); - m_defines.Add( "#endif" ); - m_defines.Add( "#pragma" ); - m_defines.Add( "#include" ); - } - - m_variables.Clear(); - - if (m_lang == wxSOURCE_LANG_PYTHON) - { - m_variables.Add( "nil" ); - m_variables.Add( "None" ); - m_variables.Add( "self" ); - m_variables.Add( "false" ); - m_variables.Add( "true" ); - } else - if (m_lang == wxSOURCE_LANG_PERL) - { - m_variables.Add( "undef" ); - m_variables.Add( "class" ); - m_variables.Add( "this" ); - m_variables.Add( "IN" ); - m_variables.Add( "OUT" ); - m_variables.Add( "STDIN" ); - m_variables.Add( "STDOUT" ); - m_variables.Add( "STDERR" ); - } else - if (m_lang == wxSOURCE_LANG_CPP) - { - m_variables.Add( "int" ); - m_variables.Add( "bool" ); - m_variables.Add( "void" ); - m_variables.Add( "long" ); - m_variables.Add( "short" ); - m_variables.Add( "const" ); - m_variables.Add( "signed" ); - m_variables.Add( "unsigned" ); - m_variables.Add( "char" ); - m_variables.Add( "size_t" ); - m_variables.Add( "wchar_t" ); - m_variables.Add( "NULL" ); - m_variables.Add( "this" ); - m_variables.Add( "TRUE" ); - m_variables.Add( "FALSE" ); - m_variables.Add( "float" ); - m_variables.Add( "double" ); - m_variables.Add( "register" ); - m_variables.Add( "extern" ); - m_variables.Add( "static" ); - m_variables.Add( "sizeof" ); - } } void wxTextCtrl::WriteText(const wxString& text2) @@ -862,12 +684,12 @@ void wxTextCtrl::Copy() { tmp.Remove( 0, selStartX ); sel = tmp; - sel.Append( "\n" ); + sel.Append( wxT("\n") ); } for (int i = selStartY+1; i < selEndY; i++) { sel.Append( m_lines[i].m_text ); - sel.Append( "\n" ); + sel.Append( wxT("\n") ); } tmp = m_lines[selEndY].m_text; if (selEndX > (int)tmp.Len()) @@ -2169,7 +1991,7 @@ void wxTextCtrl::Indent() for (int i = startY; i <= endY; i++) { - m_lines[i].m_text.insert( 0u, " " ); + m_lines[i].m_text.insert( 0u, wxT(" ") ); RefreshLine( i ); } } @@ -2196,7 +2018,7 @@ void wxTextCtrl::Unindent() { for (int n = 0; n < 4; n++) { - if (m_lines[i].m_text[0u] == ' ') + if (m_lines[i].m_text[0u] == wxT(' ')) m_lines[i].m_text.erase(0u,1u); } RefreshLine( i ); diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index c9babe3825..fdcf28a869 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -410,10 +410,18 @@ void wxTopLevelWindowX11::SetTitle(const wxString& title) if (GetMainWindow()) { +#if wxUSE_UNICODE + // I wonder of e.g. Metacity takes UTF-8 here + XStoreName(wxGlobalDisplay(), (Window) GetMainWindow(), + (const char*) title.ToAscii() ); + XSetIconName(wxGlobalDisplay(), (Window) GetMainWindow(), + (const char*) title.ToAscii() ); +#else XStoreName(wxGlobalDisplay(), (Window) GetMainWindow(), (const char*) title); XSetIconName(wxGlobalDisplay(), (Window) GetMainWindow(), (const char*) title); +#endif } } diff --git a/src/x11/utils.cpp b/src/x11/utils.cpp index fc15ff0ce1..d0360712e4 100644 --- a/src/x11/utils.cpp +++ b/src/x11/utils.cpp @@ -34,7 +34,7 @@ #include #include #include -#include +// #include #include #if (defined(__SUNCC__) || defined(__CLCC__)) @@ -47,18 +47,7 @@ #include "wx/unix/execute.h" -#ifdef __WXMOTIF__ -#include -#include "wx/motif/private.h" -#endif - -#ifdef __WXX11__ #include "wx/x11/private.h" -#endif - -#if wxUSE_RESOURCES -#include "X11/Xresource.h" -#endif #include "X11/Xutil.h" @@ -66,24 +55,6 @@ #pragma message enable nosimpint #endif -// ---------------------------------------------------------------------------- -// private functions -// ---------------------------------------------------------------------------- - -// Yuck this is really BOTH site and platform dependent -// so we should use some other strategy! -#ifdef sun - #define DEFAULT_XRESOURCE_DIR "/usr/openwin/lib/app-defaults" -#else - #define DEFAULT_XRESOURCE_DIR "/usr/lib/X11/app-defaults" -#endif - -static char *GetIniFile (char *dest, const char *filename); - -// ============================================================================ -// implementation -// ============================================================================ - // ---------------------------------------------------------------------------- // async event processing // ---------------------------------------------------------------------------- @@ -112,8 +83,6 @@ void wxFlushEvents() #endif } -// Check whether this window wants to process messages, e.g. Stop button -// in long calculations. bool wxCheckForInterrupt(wxWindow *wnd) { #ifdef __WXMOTIF__ @@ -152,20 +121,6 @@ bool wxCheckForInterrupt(wxWindow *wnd) // ---------------------------------------------------------------------------- // wxExecute stuff // ---------------------------------------------------------------------------- -#ifdef __WXMOTIF__ -static void xt_notify_end_process(XtPointer data, int *WXUNUSED(fid), - XtInputId *id) -{ - wxEndProcessData *proc_data = (wxEndProcessData *)data; - - wxHandleProcessTermination(proc_data); - - // VZ: I think they should be the same... - wxASSERT( (int)*id == proc_data->tag ); - - XtRemoveInput(*id); -} -#endif int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) { @@ -197,371 +152,17 @@ void wxBell() int wxGetOsVersion(int *majorVsn, int *minorVsn) { -#ifdef __WXMOTIF__ - // FIXME TODO - // This code is WRONG!! Does NOT return the - // Motif version of the libs but the X protocol - // version! - Display *display = XtDisplay ((Widget) wxTheApp->GetTopLevelWidget()); - if (majorVsn) - *majorVsn = ProtocolVersion (display); - if (minorVsn) - *minorVsn = ProtocolRevision (display); - - return wxMOTIF_X; -#endif #ifdef __WXX11__ if (majorVsn) *majorVsn = 0; + if (minorVsn) *minorVsn = 0; + return wxX11; #endif } -// ---------------------------------------------------------------------------- -// Reading and writing resources (eg WIN.INI, .Xdefaults) -// ---------------------------------------------------------------------------- - -// Read $HOME for what it says is home, if not -// read $USER or $LOGNAME for user name else determine -// the Real User, then determine the Real home dir. -static char * GetIniFile (char *dest, const char *filename) -{ - char *home = NULL; - if (filename && wxIsAbsolutePath(filename)) - { - strcpy(dest, filename); - } - else if ((home = wxGetUserHome("")) != NULL) - { - strcpy(dest, home); - if (dest[strlen(dest) - 1] != '/') - strcat (dest, "/"); - if (filename == NULL) - { - if ((filename = getenv ("XENVIRONMENT")) == NULL) - filename = ".Xdefaults"; - } - else if (*filename != '.') - strcat (dest, "."); - strcat (dest, filename); - } else - { - dest[0] = '\0'; - } - return dest; -} - -#if wxUSE_RESOURCES - -static char *GetResourcePath(char *buf, const char *name, bool create = FALSE) -{ - if (create && wxFileExists (name) ) { - strcpy(buf, name); - return buf; // Exists so ... - } - - if (*name == '/') - strcpy(buf, name); - else { - // Put in standard place for resource files if not absolute - strcpy (buf, DEFAULT_XRESOURCE_DIR); - strcat (buf, "/"); - strcat (buf, (const char*) wxFileNameFromPath (name)); - } - - if (create) { - // Touch the file to create it - FILE *fd = fopen (buf, "w"); - if (fd) fclose (fd); - } - return buf; -} - -/* -* We have a cache for writing different resource files, -* which will only get flushed when we call wxFlushResources(). -* Build up a list of resource databases waiting to be written. -* -*/ - -wxList wxResourceCache (wxKEY_STRING); - -void -wxFlushResources (void) -{ - char nameBuffer[512]; - - wxNode *node = wxResourceCache.First (); - while (node) - { - const char *file = node->GetKeyString(); - // If file doesn't exist, create it first. - (void)GetResourcePath(nameBuffer, file, TRUE); - - XrmDatabase database = (XrmDatabase) node->Data (); - XrmPutFileDatabase (database, nameBuffer); - XrmDestroyDatabase (database); - wxNode *next = node->Next (); - delete node; - node = next; - } -} - -static XrmDatabase wxResourceDatabase = 0; - -void wxXMergeDatabases (wxApp * theApp, Display * display); - -bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file) -{ - char buffer[500]; - - (void) GetIniFile (buffer, file); - - XrmDatabase database; - wxNode *node = wxResourceCache.Find (buffer); - if (node) - database = (XrmDatabase) node->Data (); - else - { - database = XrmGetFileDatabase (buffer); - wxResourceCache.Append (buffer, (wxObject *) database); - } - - char resName[300]; - strcpy (resName, (const char*) section); - strcat (resName, "."); - strcat (resName, (const char*) entry); - - XrmPutStringResource (&database, resName, value); - return TRUE; -} - -bool wxWriteResource(const wxString& section, const wxString& entry, float value, const wxString& file) -{ - char buf[50]; - sprintf(buf, "%.4f", value); - return wxWriteResource(section, entry, buf, file); -} - -bool wxWriteResource(const wxString& section, const wxString& entry, long value, const wxString& file) -{ - char buf[50]; - sprintf(buf, "%ld", value); - return wxWriteResource(section, entry, buf, file); -} - -bool wxWriteResource(const wxString& section, const wxString& entry, int value, const wxString& file) -{ - char buf[50]; - sprintf(buf, "%d", value); - return wxWriteResource(section, entry, buf, file); -} - -bool wxGetResource(const wxString& section, const wxString& entry, char **value, const wxString& file) -{ - if (!wxResourceDatabase) - { - Display *display = (Display*) wxGetDisplay(); - wxXMergeDatabases (wxTheApp, display); - } - - XrmDatabase database; - - if (file != "") - { - char buffer[500]; - - // Is this right? Trying to get it to look in the user's - // home directory instead of current directory -- JACS - (void) GetIniFile (buffer, file); - - wxNode *node = wxResourceCache.Find (buffer); - if (node) - database = (XrmDatabase) node->Data (); - else - { - database = XrmGetFileDatabase (buffer); - wxResourceCache.Append (buffer, (wxObject *) database); - } - } - else - database = wxResourceDatabase; - - XrmValue xvalue; - char *str_type[20]; - char buf[150]; - strcpy (buf, section); - strcat (buf, "."); - strcat (buf, entry); - - Bool success = XrmGetResource (database, buf, "*", str_type, - &xvalue); - // Try different combinations of upper/lower case, just in case... - if (!success) - { - buf[0] = (isupper (buf[0]) ? tolower (buf[0]) : toupper (buf[0])); - success = XrmGetResource (database, buf, "*", str_type, - &xvalue); - } - if (success) - { - if (*value) - delete[] *value; - - *value = new char[xvalue.size + 1]; - strncpy (*value, xvalue.addr, (int) xvalue.size); - return TRUE; - } - return FALSE; -} - -bool wxGetResource(const wxString& section, const wxString& entry, float *value, const wxString& file) -{ - char *s = NULL; - bool succ = wxGetResource(section, entry, (char **)&s, file); - if (succ) - { - *value = (float)strtod(s, NULL); - delete[] s; - return TRUE; - } - else return FALSE; -} - -bool wxGetResource(const wxString& section, const wxString& entry, long *value, const wxString& file) -{ - char *s = NULL; - bool succ = wxGetResource(section, entry, (char **)&s, file); - if (succ) - { - *value = strtol(s, NULL, 10); - delete[] s; - return TRUE; - } - else return FALSE; -} - -bool wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file) -{ - char *s = NULL; - bool succ = wxGetResource(section, entry, (char **)&s, file); - if (succ) - { - // Handle True, False here - // True, Yes, Enables, Set or Activated - if (*s == 'T' || *s == 'Y' || *s == 'E' || *s == 'S' || *s == 'A') - *value = TRUE; - // False, No, Disabled, Reset, Cleared, Deactivated - else if (*s == 'F' || *s == 'N' || *s == 'D' || *s == 'R' || *s == 'C') - *value = FALSE; - // Handle as Integer - else - *value = (int) strtol (s, NULL, 10); - delete[] s; - return TRUE; - } - else - return FALSE; -} - -void wxXMergeDatabases (wxApp * theApp, Display * display) -{ - XrmDatabase homeDB, serverDB, applicationDB; - char filenamebuf[1024]; - - char *filename = &filenamebuf[0]; - char *environment; - wxString classname = theApp->GetClassName(); - char name[256]; - (void) strcpy (name, "/usr/lib/X11/app-defaults/"); - (void) strcat (name, (const char*) classname); - - /* Get application defaults file, if any */ - applicationDB = XrmGetFileDatabase (name); - (void) XrmMergeDatabases (applicationDB, &wxResourceDatabase); - - /* Merge server defaults, created by xrdb, loaded as a property of the root - * window when the server initializes and loaded into the display - * structure on XOpenDisplay; - * if not defined, use .Xdefaults - */ - - if (XResourceManagerString (display) != NULL) - { - serverDB = XrmGetStringDatabase (XResourceManagerString (display)); - } - else - { - (void) GetIniFile (filename, NULL); - serverDB = XrmGetFileDatabase (filename); - } - XrmMergeDatabases (serverDB, &wxResourceDatabase); - - /* Open XENVIRONMENT file, or if not defined, the .Xdefaults, - * and merge into existing database - */ - - if ((environment = getenv ("XENVIRONMENT")) == NULL) - { - size_t len; - environment = GetIniFile (filename, NULL); - len = strlen (environment); - wxString hostname = wxGetHostName(); - if ( !!hostname ) - strncat(environment, hostname, 1024 - len); - } - homeDB = XrmGetFileDatabase (environment); - XrmMergeDatabases (homeDB, &wxResourceDatabase); -} - -#if 0 - -/* -* Not yet used but may be useful. -* -*/ -void -wxSetDefaultResources (const Widget w, const char **resourceSpec, const char *name) -{ - int i; - Display *dpy = XtDisplay (w); // Retrieve the display pointer - - XrmDatabase rdb = NULL; // A resource data base - - // Create an empty resource database - rdb = XrmGetStringDatabase (""); - - // Add the Component resources, prepending the name of the component - - i = 0; - while (resourceSpec[i] != NULL) - { - char buf[1000]; - - sprintf (buf, "*%s%s", name, resourceSpec[i++]); - XrmPutLineResource (&rdb, buf); - } - - // Merge them into the Xt database, with lowest precendence - - if (rdb) - { -#if (XlibSpecificationRelease>=5) - XrmDatabase db = XtDatabase (dpy); - XrmCombineDatabase (rdb, &db, FALSE); -#else - XrmMergeDatabases (dpy->db, &rdb); - dpy->db = rdb; -#endif - } -} -#endif -// 0 - -#endif // wxUSE_RESOURCES - // ---------------------------------------------------------------------------- // display info // ---------------------------------------------------------------------------- @@ -665,30 +266,6 @@ bool wxSetDisplay(const wxString& display_name) } else { -#ifdef __WXMOTIF__ - Cardinal argc = 0; - - Display *display = XtOpenDisplay((XtAppContext) wxTheApp->GetAppContext(), - (const char*) display_name, - (const char*) wxTheApp->GetAppName(), - (const char*) wxTheApp->GetClassName(), - NULL, -#if XtSpecificationRelease < 5 - 0, &argc, -#else - 0, (int *)&argc, -#endif - NULL); - - if (display) - { - gs_currentDisplay = (WXDisplay*) display; - return TRUE; - } - else - return FALSE; -#endif -#ifdef __WXX11__ Display* display = XOpenDisplay((char*) display_name.c_str()); if (display) @@ -698,7 +275,6 @@ bool wxSetDisplay(const wxString& display_name) } else return FALSE; -#endif } } @@ -1098,153 +674,6 @@ wxString wxGetXEventName(XEvent& event) } #endif -#ifdef __WXMOTIF__ -// ---------------------------------------------------------------------------- -// accelerators -// ---------------------------------------------------------------------------- - -// Find the letter corresponding to the mnemonic, for Motif -char wxFindMnemonic (const char *s) -{ - char mnem = 0; - int len = strlen (s); - int i; - for (i = 0; i < len; i++) - { - if (s[i] == '&') - { - // Carefully handle && - if ((i + 1) <= len && s[i + 1] == '&') - i++; - else - { - mnem = s[i + 1]; - break; - } - } - } - return mnem; -} - -char * wxFindAccelerator (const char *s) -{ - // VZ: this function returns incorrect keysym which completely breaks kbd - // handling - return NULL; - -#if 0 - // The accelerator text is after the \t char. - while (*s && *s != '\t') - s++; - if (*s == '\0') - return (NULL); - s++; - /* - Now we need to format it as X standard: - - input output - - F7 --> F7 - Ctrl+N --> CtrlN - Alt+k --> Metak - Ctrl+Shift+A --> Ctrl ShiftA - - */ - - static char buf[256]; - buf[0] = '\0'; - char *tmp = copystring (s); - s = tmp; - char *p = tmp; - - while (1) - { - while (*p && *p != '+') - p++; - if (*p) - { - *p = '\0'; - if (buf[0]) - strcat (buf, " "); - if (strcmp (s, "Alt")) - strcat (buf, s); - else - strcat (buf, "Meta"); - s = p++; - } - else - { - strcat (buf, ""); - strcat (buf, s); - break; - } - } - delete[]tmp; - return buf; -#endif -} - -XmString wxFindAcceleratorText (const char *s) -{ - // VZ: this function returns incorrect keysym which completely breaks kbd - // handling - return NULL; - -#if 0 - // The accelerator text is after the \t char. - while (*s && *s != '\t') - s++; - if (*s == '\0') - return (NULL); - s++; - XmString text = XmStringCreateSimple ((char *)s); - return text; -#endif -} - - -// These functions duplicate those in wxWindow, but are needed -// for use outside of wxWindow (e.g. wxMenu, wxMenuBar). - -// Change a widget's foreground and background colours. - -void wxDoChangeForegroundColour(WXWidget widget, wxColour& foregroundColour) -{ - // When should we specify the foreground, if it's calculated - // by wxComputeColours? - // Solution: say we start with the default (computed) foreground colour. - // If we call SetForegroundColour explicitly for a control or window, - // then the foreground is changed. - // Therefore SetBackgroundColour computes the foreground colour, and - // SetForegroundColour changes the foreground colour. The ordering is - // important. - - XtVaSetValues ((Widget) widget, - XmNforeground, foregroundColour.AllocColour(XtDisplay((Widget) widget)), - NULL); -} - -void wxDoChangeBackgroundColour(WXWidget widget, wxColour& backgroundColour, bool changeArmColour) -{ - wxComputeColours (XtDisplay((Widget) widget), & backgroundColour, - (wxColour*) NULL); - - XtVaSetValues ((Widget) widget, - XmNbackground, g_itemColors[wxBACK_INDEX].pixel, - XmNtopShadowColor, g_itemColors[wxTOPS_INDEX].pixel, - XmNbottomShadowColor, g_itemColors[wxBOTS_INDEX].pixel, - XmNforeground, g_itemColors[wxFORE_INDEX].pixel, - NULL); - - if (changeArmColour) - XtVaSetValues ((Widget) widget, - XmNarmColor, g_itemColors[wxSELE_INDEX].pixel, - NULL); -} - -#endif - // __WXMOTIF__ - bool wxWindowIsVisible(Window win) { XWindowAttributes wa; diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 1df4868f14..8ee15a5f5d 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -40,6 +40,7 @@ #include "wx/module.h" #include "wx/menuitem.h" #include "wx/log.h" +#include "wx/fontutil.h" #include "wx/univ/renderer.h" #if wxUSE_DRAG_AND_DROP @@ -151,18 +152,18 @@ bool wxWindowX11::Create(wxWindow *parent, wxWindowID id, // Note: The Xlib manual doesn't mention this restriction of XCreateWindow. wxSize size2(size); if (size2.x <= 0) - size2.x = 20; + size2.x = 20; if (size2.y <= 0) - size2.y = 20; + size2.y = 20; wxPoint pos2(pos); if (pos2.x == -1) - pos2.x = 0; + pos2.x = 0; if (pos2.y == -1) - pos2.y = 0; - + pos2.y = 0; + #if wxUSE_TWO_WINDOWS - bool need_two_windows = + bool need_two_windows = ((( wxSUNKEN_BORDER | wxRAISED_BORDER | wxSIMPLE_BORDER | wxHSCROLL | wxVSCROLL ) & m_windowStyle) != 0); #else bool need_two_windows = FALSE; @@ -307,7 +308,7 @@ bool wxWindowX11::Create(wxWindow *parent, wxWindowID id, xattributes_mask |= CWBitGravity; xattributes.bit_gravity = NorthWestGravity; } - + Window xwindow = XCreateWindow( xdisplay, xparent, pos2.x, pos2.y, size2.x, size2.y, 0, DefaultDepth(xdisplay,xscreen), InputOutput, xvisual, xattributes_mask, &xattributes ); #endif @@ -340,7 +341,7 @@ bool wxWindowX11::Create(wxWindow *parent, wxWindowID id, wxWindowX11::~wxWindowX11() { if (g_captureWindow == this) - g_captureWindow = NULL; + g_captureWindow = NULL; m_isBeingDeleted = TRUE; @@ -490,7 +491,7 @@ void wxWindowX11::DoCaptureMouse() FALSE, ButtonPressMask | ButtonReleaseMask | ButtonMotionMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask, GrabModeAsync, - GrabModeAsync, + GrabModeAsync, None, None, /* cursor */ // TODO: This may need to be set to the cursor of this window CurrentTime ); @@ -498,12 +499,11 @@ void wxWindowX11::DoCaptureMouse() if (res != GrabSuccess) { wxString msg; - msg.Printf("Failed to grab pointer for window %s", this->GetClassInfo()->GetClassName()); + msg.Printf(wxT("Failed to grab pointer for window %s"), this->GetClassInfo()->GetClassName()); wxLogDebug(msg); if (res == GrabNotViewable) - { - wxLogDebug("This is not a viewable window - perhaps not shown yet?"); - } + wxLogDebug( wxT("This is not a viewable window - perhaps not shown yet?") ); + g_captureWindow = NULL; return; } @@ -988,6 +988,17 @@ int wxWindowX11::GetCharHeight() const { wxCHECK_MSG( m_font.Ok(), 0, "valid window font needed" ); +#if wxUSE_UNICODE + // There should be an easier way. + PangoLayout *layout = pango_layout_new( wxTheApp->GetPangoContext() ); + pango_layout_set_font_description( layout, GetFont().GetNativeFontInfo()->description ); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + + return h; +#else WXFontStructPtr pFontStruct = m_font.GetFontStruct(1.0, wxGlobalDisplay()); int direction, ascent, descent; @@ -997,12 +1008,24 @@ int wxWindowX11::GetCharHeight() const // return (overall.ascent + overall.descent); return (ascent + descent); +#endif } int wxWindowX11::GetCharWidth() const { wxCHECK_MSG( m_font.Ok(), 0, "valid window font needed" ); +#if wxUSE_UNICODE + // There should be an easier way. + PangoLayout *layout = pango_layout_new( wxTheApp->GetPangoContext() ); + pango_layout_set_font_description( layout, GetFont().GetNativeFontInfo()->description ); + pango_layout_set_text(layout, "H", 1 ); + int w,h; + pango_layout_get_pixel_size(layout, &w, &h); + g_object_unref( G_OBJECT( layout ) ); + + return w; +#else WXFontStructPtr pFontStruct = m_font.GetFontStruct(1.0, wxGlobalDisplay()); int direction, ascent, descent; @@ -1011,6 +1034,7 @@ int wxWindowX11::GetCharWidth() const &descent, &overall); return overall.width; +#endif } void wxWindowX11::GetTextExtent(const wxString& string, @@ -1023,18 +1047,45 @@ void wxWindowX11::GetTextExtent(const wxString& string, wxCHECK_RET( fontToUse.Ok(), wxT("invalid font") ); + if (string.IsEmpty()) + { + if (x) (*x) = 0; + if (y) (*y) = 0; + return; + } + +#if wxUSE_UNICODE + PangoLayout *layout = pango_layout_new( wxTheApp->GetPangoContext() ); + + PangoFontDescription *desc = fontToUse.GetNativeFontInfo()->description; + pango_layout_set_font_description(layout, desc); + + const wxCharBuffer data = wxConvUTF8.cWC2MB( string ); + pango_layout_set_text(layout, (const char*) data, strlen( (const char*) data )); + + PangoLayoutLine *line = (PangoLayoutLine *)pango_layout_get_lines(layout)->data; + + + PangoRectangle rect; + pango_layout_line_get_extents(line, NULL, &rect); + + if (x) (*x) = (wxCoord) (rect.width / PANGO_SCALE); + if (y) (*y) = (wxCoord) (rect.height / PANGO_SCALE); + if (descent) + { + // Do something about metrics here + (*descent) = 0; + } + if (externalLeading) (*externalLeading) = 0; // ?? + + g_object_unref( G_OBJECT( layout ) ); +#else WXFontStructPtr pFontStruct = fontToUse.GetFontStruct(1.0, wxGlobalDisplay()); int direction, ascent, descent2; XCharStruct overall; int slen = string.Len(); -#if 0 - if (use16) - XTextExtents16((XFontStruct*) pFontStruct, (XChar2b *) (char*) (const char*) string, slen, &direction, - &ascent, &descent2, &overall); -#endif - XTextExtents((XFontStruct*) pFontStruct, (char*) string.c_str(), slen, &direction, &ascent, &descent2, &overall); @@ -1046,7 +1097,7 @@ void wxWindowX11::GetTextExtent(const wxString& string, *descent = descent2; if (externalLeading) *externalLeading = 0; - +#endif } // ---------------------------------------------------------------------------- @@ -1242,8 +1293,9 @@ void wxWindowX11::OnInternalIdle() wxString msg; msg.Printf("Setting focus for %s from OnInternalIdle\n", GetClassInfo()->GetClassName()); printf(msg.c_str()); -#endif - SetFocus(); +#endif + SetFocus(); + // If it couldn't set the focus now, there's // no point in trying again. m_needsInputFocus = FALSE; @@ -1260,15 +1312,15 @@ bool wxAddWindowToTable(Window w, wxWindow *win) wxWindow *oldItem = NULL; if ((oldItem = (wxWindow *)wxWidgetHashTable->Get ((long) w))) { - wxLogDebug("Widget table clash: new widget is %ld, %s", - (long)w, win->GetClassInfo()->GetClassName()); + wxLogDebug( wxT("Widget table clash: new widget is %ld, %s"), + (long)w, win->GetClassInfo()->GetClassName()); return FALSE; } wxWidgetHashTable->Put((long) w, win); - wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)", - (unsigned int) w, win, win->GetClassInfo()->GetClassName()); + wxLogTrace( wxT("widget"), wxT("XWindow 0x%08x <-> window %p (%s)"), + (unsigned int) w, win, win->GetClassInfo()->GetClassName()); return TRUE; } @@ -1292,15 +1344,15 @@ bool wxAddClientWindowToTable(Window w, wxWindow *win) wxWindow *oldItem = NULL; if ((oldItem = (wxWindow *)wxClientWidgetHashTable->Get ((long) w))) { - wxLogDebug("Client window table clash: new window is %ld, %s", - (long)w, win->GetClassInfo()->GetClassName()); + wxLogDebug( wxT("Client window table clash: new window is %ld, %s"), + (long)w, win->GetClassInfo()->GetClassName()); return FALSE; } wxClientWidgetHashTable->Put((long) w, win); - wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)", - (unsigned int) w, win, win->GetClassInfo()->GetClassName()); + wxLogTrace( wxT("widget"), wxT("XWindow 0x%08x <-> window %p (%s)"), + (unsigned int) w, win, win->GetClassInfo()->GetClassName()); return TRUE; } @@ -1462,7 +1514,7 @@ bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win, Window window, return FALSE; } -bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, Window WXUNUSED(win), XEvent *xevent) +bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, Window WXUNUSED(win), XEvent *xevent, bool isAscii) { switch (XEventGetType(xevent)) { @@ -1474,23 +1526,27 @@ bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, Window WXUNUSED(win KeySym keySym; (void) XLookupString ((XKeyEvent *) xevent, buf, 20, &keySym, NULL); int id = wxCharCodeXToWX (keySym); + // id may be WXK_xxx code - these are outside ASCII range, so we + // can't just use toupper() on id. + // Only change this if we want the raw key that was pressed, + // and don't change it if we want an ASCII value. + if (!isAscii && (id >= 'a' && id <= 'z')) + { + id = id + 'A' - 'a'; + } wxevent.m_shiftDown = XKeyEventShiftIsDown(xevent); wxevent.m_controlDown = XKeyEventCtrlIsDown(xevent); wxevent.m_altDown = XKeyEventAltIsDown(xevent); wxevent.m_metaDown = XKeyEventMetaIsDown(xevent); wxevent.SetEventObject(win); - wxevent.m_keyCode = toupper(id); + wxevent.m_keyCode = id; wxevent.SetTimestamp(XKeyEventGetTime(xevent)); wxevent.m_x = XKeyEventGetX(xevent); wxevent.m_y = XKeyEventGetY(xevent); - if (id > -1) - return TRUE; - else - return FALSE; - break; + return id > -1; } default: break; @@ -1566,8 +1622,8 @@ wxPoint wxGetMousePosition() unsigned int maskReturn; XQueryPointer (display, - rootWindow, - &rootReturn, + rootWindow, + &rootReturn, &childReturn, &rootX, &rootY, &winX, &winY, &maskReturn); return wxPoint(rootX, rootY); diff --git a/src/xrc/Makefile.in b/src/xrc/Makefile.in index f645274010..ca0f650ca8 100644 --- a/src/xrc/Makefile.in +++ b/src/xrc/Makefile.in @@ -7,11 +7,11 @@ expat_dir = $(top_srcdir)/contrib/src/xrc/expat libsrc_dir = contrib/src/xrc@PATH_IFS@$(expat_dir)/xmlparse@PATH_IFS@$(expat_dir)/xmltok -TARGET_LIBNAME=libwxxrc +TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@ -LIBVERSION_CURRENT=0 -LIBVERSION_REVISION=1 -LIBVERSION_AGE=0 +LIBVERSION_CURRENT=@WX_CURRENT@ +LIBVERSION_REVISION=@WX_REVISION@ +LIBVERSION_AGE=@WX_AGE@ HEADER_PATH=$(top_srcdir)/contrib/include/wx HEADER_SUBDIR=xrc @@ -22,9 +22,9 @@ EXPAT_OBJECTS=xmltok.o xmlrole.o xmlparse.o HEADERS=xh_all.h xh_bttn.h xh_chckb.h xh_chckl.h xh_choic.h xh_combo.h \ xh_dlg.h xh_gauge.h xh_html.h xh_menu.h xh_notbk.h xh_panel.h \ xh_radbt.h xh_radbx.h xh_sizer.h xh_slidr.h xh_spin.h xh_stbmp.h \ - xh_sttxt.h xh_text.h xh_listb.h xml.h xmlio.h xmlres.h xh_toolb.h \ + xh_sttxt.h xh_text.h xh_listb.h xml.h xmlres.h xh_toolb.h \ xh_bmpbt.h xh_cald.h xh_listc.h xh_scrol.h xh_stbox.h xh_tree.h \ - xh_stlin.h xh_bmp.h xh_unkwn.h xh_frame.h xh_gdctl.h + xh_stlin.h xh_bmp.h xh_unkwn.h xh_frame.h xh_gdctl.h xh_scwin.h OBJECTS=$(EXPAT_OBJECTS) \ xml.o xmlres.o xmlrsall.o \ @@ -33,7 +33,7 @@ OBJECTS=$(EXPAT_OBJECTS) \ xh_radbx.o xh_sizer.o xh_slidr.o xh_spin.o xh_stbmp.o xh_sttxt.o \ xh_text.o xh_listb.o xh_toolb.o xh_stlin.o xh_bmp.o xh_unkwn.o \ xh_bmpbt.o xh_cald.o xh_listc.o xh_scrol.o xh_stbox.o xh_tree.o \ - xh_frame.o xh_gdctl.o + xh_frame.o xh_gdctl.o xh_scwin.o DEPFILES=$(OBJECTS:.o=.d) APPEXTRADEFS=-I$(top_srcdir)/contrib/include $(EXPAT_DEFS) diff --git a/src/xrc/XrcVC.dsp b/src/xrc/XrcVC.dsp index 44c9ba9a78..174c339711 100644 --- a/src/xrc/XrcVC.dsp +++ b/src/xrc/XrcVC.dsp @@ -184,6 +184,10 @@ SOURCE=.\xh_scrol.cpp # End Source File # Begin Source File +SOURCE=.\xh_scwin.cpp +# End Source File +# Begin Source File + SOURCE=.\xh_sizer.cpp # End Source File # Begin Source File diff --git a/src/xrc/makefile.b32 b/src/xrc/makefile.b32 index dc7d4fa68a..2024abb133 100644 --- a/src/xrc/makefile.b32 +++ b/src/xrc/makefile.b32 @@ -27,7 +27,7 @@ OBJECTS=$(EXPAT_OBJECTS) \ xh_radbx.obj xh_sizer.obj xh_slidr.obj xh_spin.obj xh_stbmp.obj xh_sttxt.obj \ xh_text.obj xh_listb.obj xh_toolb.obj xh_stlin.obj xh_bmp.obj \ xh_bmpbt.obj xh_cald.obj xh_listc.obj xh_scrol.obj xh_stbox.obj \ - xh_tree.obj xh_unkwn.obj xh_frame.obj xh_gdctl.obj + xh_tree.obj xh_unkwn.obj xh_frame.obj xh_gdctl.obj xh_scwin.obj !include $(WXDIR)\src\makelib.b32 diff --git a/src/xrc/makefile.g95 b/src/xrc/makefile.g95 index 8a4bfb322f..00b31580dc 100644 --- a/src/xrc/makefile.g95 +++ b/src/xrc/makefile.g95 @@ -28,7 +28,7 @@ OBJECTS= $(XMLPARSEDIR_OBJECTS) $(XMLTOKDIR_OBJECTS) \ xh_radbx.o xh_sizer.o xh_slidr.o xh_spin.o xh_stbmp.o xh_sttxt.o \ xh_text.o xh_listb.o xh_toolb.o xh_stlin.o xh_bmp.o xh_unkwn.o \ xh_bmpbt.o xh_cald.o xh_listc.o xh_scrol.o xh_stbox.o xh_tree.o \ - xh_frame.o xh_gdctl.o + xh_frame.o xh_gdctl.o xh_scwin.o include $(WXDIR)/src/makelib.g95 diff --git a/src/xrc/makefile.vc b/src/xrc/makefile.vc index 51bf90f9b4..6065d42e49 100644 --- a/src/xrc/makefile.vc +++ b/src/xrc/makefile.vc @@ -57,7 +57,7 @@ OBJECTS=$(EXPAT_OBJS) \ $(D)\xh_text.obj $(D)\xh_listb.obj $(D)\xh_toolb.obj \ $(D)\xh_bmpbt.obj $(D)\xh_cald.obj $(D)\xh_listc.obj $(D)\xh_scrol.obj \ $(D)\xh_stbox.obj $(D)\xh_tree.obj $(D)\xh_stlin.obj $(D)\xh_bmp.obj \ - $(D)\xh_unkwn.obj $(D)\xh_gdctl.obj + $(D)\xh_unkwn.obj $(D)\xh_gdctl.obj $(D)\xh_scwin.obj !include $(WXDIR)\src\makelib.vc diff --git a/src/xrc/makefile.wat b/src/xrc/makefile.wat index 43cfc46647..d4069fc0f6 100644 --- a/src/xrc/makefile.wat +++ b/src/xrc/makefile.wat @@ -18,7 +18,7 @@ OBJECTS=xml.obj xmlres.obj xmlrsall.obj & xh_radbx.obj xh_sizer.obj xh_slidr.obj xh_spin.obj xh_stbmp.obj xh_sttxt.obj & xh_text.obj xh_listb.obj xh_toolb.obj xh_stlin.obj xh_bmp.obj & xh_bmpbt.obj xh_cald.obj xh_listc.obj xh_scrol.obj xh_stbox.obj & - xh_tree.obj xh_unkwn.obj xh_frame.obj + xh_tree.obj xh_unkwn.obj xh_frame.obj xh_scwin.obj all: $(WXXMLLIB) diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index d44ad16a91..3c916a9e1d 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -41,6 +41,8 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxTAB_TRAVERSAL); XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY); XRC_ADD_STYLE(wxCLIP_CHILDREN); + XRC_ADD_STYLE(wxMAXIMIZE_BOX); + XRC_ADD_STYLE(wxMINIMIZE_BOX); AddWindowStyles(); } diff --git a/src/xrc/xh_scwin.cpp b/src/xrc/xh_scwin.cpp new file mode 100644 index 0000000000..9aedfefe57 --- /dev/null +++ b/src/xrc/xh_scwin.cpp @@ -0,0 +1,52 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: xh_scwin.cpp +// Purpose: XRC resource for wxScrolledWindow +// Author: Vaclav Slavik +// Created: 2002/10/18 +// RCS-ID: $Id$ +// Copyright: (c) 2002 Vaclav Slavik +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifdef __GNUG__ +#pragma implementation "xh_scwin.h" +#endif + +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#include "wx/xrc/xh_scwin.h" +#include "wx/scrolwin.h" + + +wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler() +: wxXmlResourceHandler() +{ + XRC_ADD_STYLE(wxHSCROLL); + XRC_ADD_STYLE(wxVSCROLL); + AddWindowStyles(); +} + +wxObject *wxScrolledWindowXmlHandler::DoCreateResource() +{ + XRC_MAKE_INSTANCE(control, wxScrolledWindow) + + control->Create(m_parentAsWindow, + GetID(), + GetPosition(), GetSize(), + GetStyle(wxT("style"), wxHSCROLL | wxVSCROLL), + GetName()); + + SetupWindow(control); + + return control; +} + +bool wxScrolledWindowXmlHandler::CanHandle(wxXmlNode *node) +{ + return IsOfClass(node, wxT("wxScrolledWindow")); +} diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index 0a1b72cd3a..859a9eaa10 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -146,7 +146,6 @@ void wxXmlResource::ClearHandlers() } - wxMenu *wxXmlResource::LoadMenu(const wxString& name) { return (wxMenu*)CreateResFromNode(FindResource(name, wxT("wxMenu")), NULL, NULL); @@ -261,7 +260,7 @@ static void ProcessPlatformProperty(wxXmlNode *node) isok = TRUE; else { - wxStringTokenizer tkn(s, " |"); + wxStringTokenizer tkn(s, wxT(" |")); while (tkn.HasMoreTokens()) { @@ -408,10 +407,25 @@ wxXmlNode *wxXmlResource::DoFindResource(wxXmlNode *parent, if ( node->GetType() == wxXML_ELEMENT_NODE && (node->GetName() == wxT("object") || node->GetName() == wxT("object_ref")) && - (!classname || - node->GetPropVal(wxT("class"), wxEmptyString) == classname) && - node->GetPropVal(wxT("name"), &dummy) && dummy == name ) - return node; + node->GetPropVal(wxT("name"), &dummy) && dummy == name ) + { + wxString cls(node->GetPropVal(wxT("class"), wxEmptyString)); + if (!classname || cls == classname) + return node; + // object_ref may not have 'class' property: + if (cls.empty() && node->GetName() == wxT("object_ref")) + { + wxString refName = node->GetPropVal(wxT("ref"), wxEmptyString); + if (refName.empty()) + continue; + wxXmlNode* refNode = FindResource(refName, wxEmptyString, TRUE); + if (refNode && + refNode->GetPropVal(wxT("class"), wxEmptyString) == classname) + { + return node; + } + } + } } if ( recursive ) @@ -487,7 +501,7 @@ static void MergeNodes(wxXmlNode& dest, wxXmlNode& with) for (dnode = dest.GetChildren(); dnode; dnode = dnode->GetNext() ) { if ( dnode->GetName() == node->GetName() && - dnode->GetPropVal("name", wxEmptyString) == name && + dnode->GetPropVal(wxT("name"), wxEmptyString) == name && dnode->GetType() == node->GetType() ) { MergeNodes(*dnode, *node); @@ -547,6 +561,40 @@ wxObject *wxXmlResource::CreateResFromNode(wxXmlNode *node, wxObject *parent, wx } +#include "wx/listimpl.cpp" +WX_DECLARE_LIST(wxXmlSubclassFactory, wxXmlSubclassFactoriesList); +WX_DEFINE_LIST(wxXmlSubclassFactoriesList); + +wxXmlSubclassFactoriesList *wxXmlResource::ms_subclassFactories = NULL; + +/*static*/ void wxXmlResource::AddSubclassFactory(wxXmlSubclassFactory *factory) +{ + if (!ms_subclassFactories) + { + ms_subclassFactories = new wxXmlSubclassFactoriesList; + ms_subclassFactories->DeleteContents(TRUE); + } + ms_subclassFactories->Append(factory); +} + +class wxXmlSubclassFactoryCXX : public wxXmlSubclassFactory +{ +public: + ~wxXmlSubclassFactoryCXX() {} + + wxObject *Create(const wxString& className) + { + wxClassInfo* classInfo = wxClassInfo::FindClass(className); + + if (classInfo) + return classInfo->CreateObject(); + else + return NULL; + } +}; + + + wxXmlResourceHandler::wxXmlResourceHandler() @@ -568,18 +616,23 @@ wxObject *wxXmlResourceHandler::CreateResource(wxXmlNode *node, wxObject *parent !(m_resource->GetFlags() & wxXRC_NO_SUBCLASSING)) { wxString subclass = node->GetPropVal(wxT("subclass"), wxEmptyString); - wxClassInfo* classInfo = wxClassInfo::FindClass(subclass); - - if (classInfo) - m_instance = classInfo->CreateObject(); - - if (!m_instance) + if (!subclass.empty()) { - wxLogError(_("Subclass '%s' not found for resource '%s', not subclassing!"), - subclass.c_str(), node->GetPropVal(wxT("name"), wxEmptyString).c_str()); - } + for (wxXmlSubclassFactoriesList::Node *i = wxXmlResource::ms_subclassFactories->GetFirst(); + i; i = i->GetNext()) + { + m_instance = i->GetData()->Create(subclass); + if (m_instance) + break; + } - m_instance = classInfo->CreateObject(); + if (!m_instance) + { + wxString name = node->GetPropVal(wxT("name"), wxEmptyString); + wxLogError(_("Subclass '%s' not found for resource '%s', not subclassing!"), + subclass.c_str(), name.c_str()); + } + } } m_node = node; @@ -634,7 +687,7 @@ int wxXmlResourceHandler::GetStyle(const wxString& param, int defaults) if (!s) return defaults; - wxStringTokenizer tkn(s, wxT("| "), wxTOKEN_STRTOK); + wxStringTokenizer tkn(s, wxT("| \t\n"), wxTOKEN_STRTOK); int style = 0; int index; wxString fl; @@ -733,6 +786,7 @@ int wxXmlResourceHandler::GetID() stdID(wxID_STATIC); stdID(wxID_FORWARD); stdID(wxID_BACKWARD); stdID(wxID_DEFAULT); stdID(wxID_MORE); stdID(wxID_SETUP); stdID(wxID_RESET); stdID(wxID_HELP_CONTEXT); + stdID(wxID_CLOSE_ALL); #undef stdID else return wxXmlResource::GetXRCID(sid); } @@ -845,6 +899,8 @@ wxIcon wxXmlResourceHandler::GetIcon(const wxString& param, wxXmlNode *wxXmlResourceHandler::GetParamNode(const wxString& param) { + wxCHECK_MSG(m_node, NULL, wxT("You can't access handler data before it was initialized!")); + wxXmlNode *n = m_node->GetChildren(); while (n) @@ -1166,11 +1222,13 @@ public: wxXmlResourceModule() {} bool OnInit() { + wxXmlResource::AddSubclassFactory(new wxXmlSubclassFactoryCXX); return TRUE; } void OnExit() { delete wxXmlResource::Set(NULL); + wxDELETE(wxXmlResource::ms_subclassFactories); CleanXRCID_Records(); } }; diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index b55badc9f9..5d933f9490 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -94,4 +94,5 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxGenericDirCtrlXmlHandler); #endif AddHandler(new wxFrameXmlHandler); + AddHandler(new wxScrolledWindowXmlHandler); } diff --git a/utils/HelpGen/src/HelpGenVC.dsp b/utils/HelpGen/src/HelpGenVC.dsp index 447a4b5833..835014deb9 100644 --- a/utils/HelpGen/src/HelpGenVC.dsp +++ b/utils/HelpGen/src/HelpGenVC.dsp @@ -110,7 +110,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/helpgen.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/helpgen.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "HelpGenVC - Win32 Release DLL" @@ -137,7 +137,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/helpgen.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/helpgen.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/utils/HelpGen/src/markup.h b/utils/HelpGen/src/markup.h index 13e43a0a8c..7e1ccc6c7c 100644 --- a/utils/HelpGen/src/markup.h +++ b/utils/HelpGen/src/markup.h @@ -48,4 +48,4 @@ MarkupTagsT get_HTML_markup_tags(); // MarkupTagsT get_PostScript_markup_tags(); // MarkupTagsT get_Latex_markup_tags(); -#endif \ No newline at end of file +#endif diff --git a/utils/dialoged/src/DialogEdVC.dsp b/utils/dialoged/src/DialogEdVC.dsp index b91aa17a67..2f0e844558 100644 --- a/utils/dialoged/src/DialogEdVC.dsp +++ b/utils/dialoged/src/DialogEdVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/dialoged.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/dialoged.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "DialogEdVC - Win32 Release DLL" @@ -135,7 +135,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/dialoged.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/dialoged.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ENDIF diff --git a/utils/helpview/src/client.cpp b/utils/helpview/src/client.cpp new file mode 100644 index 0000000000..f4ff1e72f1 --- /dev/null +++ b/utils/helpview/src/client.cpp @@ -0,0 +1,298 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: client.cpp +// Purpose: Remote help sample client +// Author: Julian Smart +// Modified by: Eric Dowty +// Created: 25/01/99 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +// ============================================================================ +// declarations +// ============================================================================ + +// ---------------------------------------------------------------------------- +// headers +// ---------------------------------------------------------------------------- + +#define USE_REMOTE 1 + +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/wx.h" +#endif + +#include + +#include "wx/process.h" +#include "wx/helpbase.h" +#include "wx/html/helpfrm.h" +#include "wx/html/helpctrl.h" +#include "wx/config.h" + +// Settings common to both executables: determines whether +// we're using TCP/IP or real DDE. + +//#include "ddesetup.h" +//#define wxUSE_DDE_FOR_IPC 0 +#include + +#if defined(__WXGTK__) || defined(__WXMOTIF__) +#include "mondrian.xpm" +#endif + +#include "remhelp.h" +#include "client.h" + +// ---------------------------------------------------------------------------- +// wxWin macros +// ---------------------------------------------------------------------------- + +IMPLEMENT_APP(MyApp) + +BEGIN_EVENT_TABLE(MyFrame, wxFrame) +EVT_MENU(CLIENT_QUIT, MyFrame::OnExit) +EVT_MENU(CLIENT_HELPMAIN, MyFrame::OnHelp_Main) +EVT_MENU(CLIENT_HELPBOOK1, MyFrame::OnHelp_Book1) +EVT_MENU(CLIENT_HELPBOOK2, MyFrame::OnHelp_Book2) + +EVT_MENU(CLIENT_HELPINDEX, MyFrame::OnHelp_Index) +EVT_MENU(CLIENT_HELPCONTENTS, MyFrame::OnHelp_Contents) +EVT_MENU(CLIENT_HELPSEARCH, MyFrame::OnHelp_Search) +EVT_MENU(CLIENT_HELPTITLE, MyFrame::OnHelp_Title) +EVT_MENU(CLIENT_HELPADDBOOK, MyFrame::OnHelp_Addbook) +EVT_MENU(CLIENT_HELPTEMPDIR, MyFrame::OnHelp_Tempdir) +EVT_MENU(CLIENT_HELPQUIT, MyFrame::OnHelp_Quitserver) + +EVT_MENU(DIALOG_MODAL, MyFrame::ModalDlg) +EVT_BUTTON(BUTTON_MODAL, MyFrame::ModalDlg) +END_EVENT_TABLE() + +// ---------------------------------------------------------------------------- +// globals +// ---------------------------------------------------------------------------- + +wxListBox *the_list = NULL; + +// ============================================================================ +// implementation +// ============================================================================ + +// ---------------------------------------------------------------------------- +// MyApp +// ---------------------------------------------------------------------------- + +// The `main program' equivalent, creating the windows and returning the +// main frame +bool MyApp::OnInit() +{ + wxString a_appname, a_service, a_windowname, a_book; + + m_help = NULL; + + // for MSW (DDE classes), a_service is 'service name', apparently an arbitrary string + // for Unix, should be a valid file name (for a nonexistent file) + // for nonMSW, nonUnix, must be port number, for example "4242" (TCP/IP based classes) + // should be unique to the client app + a_service = "/tmp/wxWindows-helpconnection"; + //a_service = "4242"; + a_windowname = "HTML Help Test: %s"; + +#if defined(__WXMSW__) + a_appname = "helpview.exe"; +#else + a_appname = "./helpview"; +#endif + + //a_book = "helpfiles/testing.hhp"; + a_book = "test.zip"; + + wxConfig *conf = (wxConfig*) wxConfig::Get(); + +#if defined(USE_REMOTE) + m_help = new wxRemoteHtmlHelpController(); + m_help->SetServer( a_appname ); + m_help->SetService( a_service ); +#else + m_help = new wxHtmlHelpController(); +#endif + + //this is a dummy for wxRemoteHtmlHelpController + m_help->UseConfig(conf); + + m_help->AddBook( a_book ); + m_help->SetTitleFormat( a_windowname ); + + // Create the main frame window + MyFrame* frame = new MyFrame(NULL, "Help Client"); + frame->Show(TRUE); + + return TRUE; +} + +int MyApp::OnExit() +{ + delete m_help; + delete wxConfig::Set(NULL); + return 0; +} + +// Define my frame constructor +MyFrame::MyFrame(wxFrame *frame, const wxString& title) +: wxFrame(frame, -1, title, wxDefaultPosition, wxSize( 200, 100 ) ) +{ + m_panel = NULL; + + // Give it an icon + SetIcon(wxICON(mondrian)); + + // Make a menubar + wxMenu *file_menu = new wxMenu; + + file_menu->Append(CLIENT_HELPMAIN, "Help - Main"); + file_menu->Append(CLIENT_HELPBOOK1, "Help - Book1"); + file_menu->Append(CLIENT_HELPBOOK2, "Help - Book2"); + + file_menu->Append(CLIENT_HELPINDEX, "Help - DisplayIndex"); + file_menu->Append(CLIENT_HELPCONTENTS, "Help - DisplayContents"); + file_menu->Append(CLIENT_HELPSEARCH, "Help - KeywordSearch"); + file_menu->Append(CLIENT_HELPTITLE, "Help - SetTitleFormat"); + file_menu->Append(CLIENT_HELPADDBOOK, "Help - AddBook"); + file_menu->Append(CLIENT_HELPTEMPDIR, "Help - SetTempDir"); + file_menu->Append(CLIENT_HELPQUIT, "Help - Kill Server"); + + file_menu->Append(DIALOG_MODAL, "Modal dialog"); + file_menu->Append(CLIENT_QUIT, "Quit"); + + wxMenuBar *menu_bar = new wxMenuBar; + + menu_bar->Append(file_menu, "File"); + + // Associate the menu bar with the frame + SetMenuBar(menu_bar); + + // Make a panel + m_panel = new wxPanel(this ); + + m_modalbutton = new wxButton( this, BUTTON_MODAL, "Modal Dialog", + wxPoint(10,10), wxSize(-1, -1) ); +} + +void MyFrame::OnHelp_Book1(wxCommandEvent& event) +{ + wxGetApp().m_help->Display( "book1.htm" ); +} + +void MyFrame::OnHelp_Book2(wxCommandEvent& event) +{ + wxGetApp().m_help->Display( "book2.htm" ); +} + +void MyFrame::OnHelp_Main(wxCommandEvent& event) +{ + wxGetApp().m_help->Display( "main.htm" ); +} + +void MyFrame::OnHelp_Index(wxCommandEvent& event) +{ + wxGetApp().m_help->DisplayIndex( ); +} +void MyFrame::OnHelp_Contents(wxCommandEvent& event) +{ + wxGetApp().m_help->DisplayContents( ); +} + +void MyFrame::OnHelp_Search(wxCommandEvent& event) +{ + wxGetApp().m_help->KeywordSearch( "enjoy" ); +} +void MyFrame::OnHelp_Title(wxCommandEvent& event) +{ + wxGetApp().m_help->SetTitleFormat( "Another_Title: %s" ); +} +void MyFrame::OnHelp_Addbook(wxCommandEvent& event) +{ + wxGetApp().m_help->AddBook("helpfiles/another.hhp" ); +} +void MyFrame::OnHelp_Tempdir(wxCommandEvent& event) +{ + wxGetApp().m_help->SetTempDir( "tempdir" ); +} + +void MyFrame::OnHelp_Quitserver(wxCommandEvent& event) +{ + // if (!wxGetApp().m_help->m_connection->Poke( wxT("--YouAreDead"), wxT("") ) ) + // wxLogError(wxT("wxRemoteHtmlHelpController - YouAreDead Failed")); + + wxGetApp().m_help->Quit(); +} + +void MyFrame::OnExit(wxCommandEvent& event) +{ + Close(); +} + +void MyFrame::ModalDlg(wxCommandEvent& WXUNUSED(event)) +{ + MyModalDialog dlg(this); + dlg.ShowModal(); +} + +BEGIN_EVENT_TABLE(MyModalDialog, wxDialog) +EVT_BUTTON(-1, MyModalDialog::OnButton) +END_EVENT_TABLE() + +// ---------------------------------------------------------------------------- +// MyModalDialog +// ---------------------------------------------------------------------------- + +MyModalDialog::MyModalDialog(wxWindow *parent) +: wxDialog(parent, -1, wxString("Modal dialog")) +{ + wxBoxSizer *sizerTop = new wxBoxSizer(wxHORIZONTAL); + + m_main = new wxButton(this, -1, "Main"); + m_book1 = new wxButton(this, -1, "Book1"); + m_book2 = new wxButton(this, -1, "Book2"); + sizerTop->Add(m_main, 0, wxALIGN_CENTER | wxALL, 5); + sizerTop->Add(m_book1, 0, wxALIGN_CENTER | wxALL, 5); + sizerTop->Add(m_book2, 0, wxALIGN_CENTER | wxALL, 5); + + SetAutoLayout(TRUE); + SetSizer(sizerTop); + + sizerTop->SetSizeHints(this); + sizerTop->Fit(this); + + m_main->SetFocus(); + m_main->SetDefault(); +} + +void MyModalDialog::OnButton(wxCommandEvent& event) +{ + if ( event.GetEventObject() == m_main ) + { + wxGetApp().m_help->Display( "main.htm" ); + } + else if ( event.GetEventObject() == m_book1 ) + { + wxGetApp().m_help->Display( "book1.htm" ); + } + else if ( event.GetEventObject() == m_book2 ) + { + wxGetApp().m_help->Display( "book2.htm" ); + } + else + { + event.Skip(); + } +} + diff --git a/utils/helpview/src/client.dsp b/utils/helpview/src/client.dsp new file mode 100644 index 0000000000..699c9969f2 --- /dev/null +++ b/utils/helpview/src/client.dsp @@ -0,0 +1,167 @@ +# Microsoft Developer Studio Project File - Name="htmlclient" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=htmlclient - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "client.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "client.mak" CFG="htmlclient - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "htmlclient - Win32 Release DLL" (based on "Win32 (x86) Application") +!MESSAGE "htmlclient - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "htmlclient - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "htmlclient - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "htmlclient - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDll" +# PROP BASE Intermediate_Dir "ReleaseDll" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDll" +# PROP Intermediate_Dir "ReleaseDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c +# ADD CPP /nologo /MD /W4 /O2 /I "../../../include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdll /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "htmlclient - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "DebugDll" +# PROP BASE Intermediate_Dir "DebugDll" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDll" +# PROP Intermediate_Dir "DebugDll" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../../include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /D "WXUSINGDLL" /YX /FD /I../../..\lib\mswdlld /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ELSEIF "$(CFG)" == "htmlclient - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c +# ADD CPP /nologo /MD /W4 /O2 /I "../../../include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /YX /FD /I../../..\lib\msw /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x409 /i "../../../include" /d "NDEBUG" +# ADD RSC /l 0x409 /i "../../../include" /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\zlib.lib ../../..\lib\regex.lib ../../..\lib\png.lib ../../..\lib\jpeg.lib ../../..\lib\tiff.lib ../../..\lib\wxmsw.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "htmlclient - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /YX /FD /c +# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../../../include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /YX /FD /I../../..\lib\mswd /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x409 /i "../../../include" /d "_DEBUG" +# ADD RSC /l 0x409 /i "../../../include" /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\zlibd.lib ../../..\lib\regexd.lib ../../..\lib\pngd.lib ../../..\lib\jpegd.lib ../../..\lib\tiffd.lib ../../..\lib\wxmswd.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "htmlclient - Win32 Release DLL" +# Name "htmlclient - Win32 Debug DLL" +# Name "htmlclient - Win32 Release" +# Name "htmlclient - Win32 Debug" +# Begin Source File + +SOURCE=.\client.cpp +# End Source File +# Begin Source File + +SOURCE=.\client.h +# End Source File +# Begin Source File + +SOURCE=.\client.rc +# End Source File +# Begin Source File + +SOURCE=.\remhelp.cpp +# End Source File +# Begin Source File + +SOURCE=.\remhelp.h +# End Source File +# End Target +# End Project diff --git a/utils/helpview/src/client.h b/utils/helpview/src/client.h new file mode 100644 index 0000000000..e5b919adb4 --- /dev/null +++ b/utils/helpview/src/client.h @@ -0,0 +1,87 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: client.h +// Purpose: Remote help sample client +// Author: Julian Smart +// Modified by: Eric Dowty +// Created: 2002-11-18 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +// Define a new application +class MyApp: public wxApp +{ +public: + virtual bool OnInit(); + virtual int OnExit(); + +#if defined(USE_REMOTE) + wxRemoteHtmlHelpController *m_help; +#else + wxHtmlHelpController *m_help; +#endif +}; + +DECLARE_APP(MyApp) + +// Define a new frame +class MyFrame: public wxFrame +{ +public: + MyFrame(wxFrame *frame, const wxString& title); + +private: + void OnExit(wxCommandEvent& event); + + void OnHelp_Main(wxCommandEvent& event); + void OnHelp_Book1(wxCommandEvent& event); + void OnHelp_Book2(wxCommandEvent& event); + void OnHelp_Index(wxCommandEvent& event); + void OnHelp_Contents(wxCommandEvent& event); + void OnHelp_Search(wxCommandEvent& event); + void OnHelp_Title(wxCommandEvent& event); + void OnHelp_Addbook(wxCommandEvent& event); + void OnHelp_Tempdir(wxCommandEvent& event); + void OnHelp_Quitserver(wxCommandEvent& event); + + void ModalDlg(wxCommandEvent& event); + + wxPanel *m_panel; + wxButton *m_modalbutton; + + DECLARE_EVENT_TABLE() +}; + +class MyModalDialog : public wxDialog +{ +public: + MyModalDialog(wxWindow *parent); + +private: + void OnButton(wxCommandEvent& event); + + wxButton *m_main; + wxButton *m_book1; + wxButton *m_book2; + + DECLARE_EVENT_TABLE() +}; + + +#define CLIENT_QUIT wxID_EXIT +#define CLIENT_EXECUTE 2 +#define CLIENT_REQUEST 3 +#define CLIENT_POKE 4 +#define CLIENT_HELPMAIN 5 +#define CLIENT_HELPBOOK1 6 +#define CLIENT_HELPBOOK2 7 +#define DIALOG_MODAL 8 +#define BUTTON_MODAL 9 +#define CLIENT_HELPINDEX 10 +#define CLIENT_HELPCONTENTS 11 +#define CLIENT_HELPSEARCH 12 +#define CLIENT_HELPTITLE 13 +#define CLIENT_HELPADDBOOK 14 +#define CLIENT_HELPTEMPDIR 15 +#define CLIENT_HELPQUIT 16 diff --git a/utils/helpview/src/client.rc b/utils/helpview/src/client.rc new file mode 100644 index 0000000000..b86c4e2265 --- /dev/null +++ b/utils/helpview/src/client.rc @@ -0,0 +1 @@ +#include "wx/msw/wx.rc" diff --git a/utils/helpview/src/helpview.cpp b/utils/helpview/src/helpview.cpp index a3ab521e75..d16e92f0ff 100644 --- a/utils/helpview/src/helpview.cpp +++ b/utils/helpview/src/helpview.cpp @@ -43,57 +43,200 @@ protected: const wxSize& size); }; -// ---------------------------------------------------------------------------- -// private classes -// ---------------------------------------------------------------------------- - - IMPLEMENT_APP(hvApp) +hvApp::hvApp() +{ +#if hvUSE_IPC + m_server = NULL; +#endif +} bool hvApp::OnInit() { #ifdef __WXMOTIF__ delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used #endif - + + wxArtProvider::PushProvider(new AlternateArtProvider); + + int istyle = wxHF_DEFAULT_STYLE; + wxArtProvider::PushProvider(new AlternateArtProvider); - + + wxString service, windowName, book[10], titleFormat, argStr; + int bookCount = 0; + int i; + bool hasService = FALSE; + bool hasWindowName = FALSE; + bool createServer = FALSE; + + m_server = NULL; + + // Help books are recognized by extension ".hhp" ".htb" or ".zip". + // Service and window_name can occur anywhere in arguments, + // but service must be first + // Other arguments (topic?) could be added + + // modes of operation: + // 1) no arguments - stand alone, prompt user for book + // 2) books only - stand alone, open books + // 3) "--server" as (any) arg - start connection with default service; + // also open any books passed as other arguments + // 4) at least one argument which is not book, and not "--server" - take first + // such argument as service, second (if present) as window name, + // start service, open any books + + for( i=1; i < argc; i++ ) + { + argStr = argv[i]; + + if ( argStr.Find( wxT(".hhp") ) >= 0 || + argStr.Find( wxT(".htb") ) >= 0 || + argStr.Find( wxT(".zip") ) >= 0 ) { + book[bookCount] = argStr; + bookCount++; + } + else if ( argStr == wxT("--server") ) + { + createServer = TRUE; +#if defined(__WXMSW__) + service = wxT("generic_helpservice"); +#elif defined(__UNIX__) + service = wxT("/tmp/") + wxString(wxT("generic_helpservice")); +#else + service = wxT("4242"); +#endif + } + else if ( !hasService ) + { + service = argStr; + hasService = TRUE; + createServer = TRUE; + } + else if ( !hasWindowName ) + { + windowName = argStr; + hasWindowName = TRUE; + } + else if ( argStr.Find( wxT("--Style") ) >= 0 ) + { + long i; + wxString numb = argStr.AfterLast(wxT('e')); + if ( !(numb.ToLong(&i) ) ) + { + wxLogError( wxT("Integer conversion failed for --Style") ); + } + else + { + istyle = i; + } + } + else + { + //unknown - could be topic? + } + } + + //no book - query user + if ( bookCount < 1 ) + { + wxString s = wxFileSelector( wxT("Open help file"), + wxGetCwd(), + wxEmptyString, + wxEmptyString, + wxT( + "Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|\ + HTML Help Project (*.hhp)|*.hhp"), + wxOPEN | wxFILE_MUST_EXIST, + NULL); + + if (!s.IsEmpty()) + { + book[0] = s; + bookCount = 1; + } + } + +#if hvUSE_IPC + + if ( createServer ) { + // Create a new server + m_server = new hvServer; + + if ( !m_server->Create(service) ) { + wxString wxm = wxT("Server Create failed - service: "); + wxString xxm = wxm << service; + wxLogError( xxm ); + //if MSW quits here, probably another copy already exists + return FALSE; + + } + createServer = FALSE; + } + +#endif // hvUSE_IPC + + //now add help wxInitAllImageHandlers(); - wxFileSystem::AddHandler(new wxZipFSHandler); - - SetVendorName("wxWindows"); - SetAppName("wxHTMLHelp"); + wxFileSystem::AddHandler(new wxZipFSHandler); + + SetVendorName(wxT("wxWindows") ); + SetAppName(wxT("wxHTMLHelpServer") ); wxConfig::Get(); // create an instance - - help = new wxHtmlHelpController( - wxHF_DEFAULT_STYLE|wxHF_FLAT_TOOLBAR|wxHF_OPEN_FILES - ); - - help->SetTitleFormat(wxT("%s")); - if (argc < 2) { - if (!OpenBook(help)) - return FALSE; + + m_helpController = new wxHtmlHelpController( istyle ); + + if ( !hasWindowName ) + titleFormat = wxT("Help: %s") ; + else + { + //remove underscores + windowName.Replace( wxT("_"), wxT(" ") ); + titleFormat = windowName; } - - for (int i = 1; i < argc; i++) - help -> AddBook(argv[i]); - + + m_helpController->SetTitleFormat( titleFormat ); + + for( i=0; i < bookCount; i++ ) + { + m_helpController->AddBook(book[i]); + } + #ifdef __WXMOTIF__ delete wxLog::SetActiveTarget(new wxLogGui); #endif - - help -> DisplayContents(); - + + m_helpController -> DisplayContents(); + return TRUE; } int hvApp::OnExit() { - delete help; +#if hvUSE_IPC + wxNode* node = m_connections.First(); + while (node) + { + wxNode* next = node->Next(); + hvConnection* connection = (hvConnection*) node->Data(); + connection->Disconnect(); + delete connection; + node = next; + } + m_connections.Clear(); + + if (m_server) + { + delete m_server; + m_server = NULL; + } +#endif + + delete m_helpController; delete wxConfig::Set(NULL); - + return 0; } @@ -104,11 +247,11 @@ bool hvApp::OpenBook(wxHtmlHelpController* controller) wxEmptyString, wxEmptyString, _( -"Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|\ -HTML Help Project (*.hhp)|*.hhp"), - wxOPEN | wxFILE_MUST_EXIST, - NULL); - + "Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|\ + HTML Help Project (*.hhp)|*.hhp"), + wxOPEN | wxFILE_MUST_EXIST, + NULL); + if (!s.IsEmpty()) { wxString ext = s.Right(4).Lower(); @@ -123,8 +266,8 @@ HTML Help Project (*.hhp)|*.hhp"), } /* - * Art provider class - */ +* Art provider class +*/ // --------------------------------------------------------------------- // helper macros @@ -132,48 +275,48 @@ HTML Help Project (*.hhp)|*.hhp"), // Standard macro for getting a resource from XPM file: #define ART(artId, xpmRc) \ - if ( id == artId ) return wxBitmap(xpmRc##_xpm); +if ( id == artId ) return wxBitmap(xpmRc##_xpm); // Compatibility hack to use wxApp::GetStdIcon of overriden by the user #if WXWIN_COMPATIBILITY_2_2 - #define GET_STD_ICON_FROM_APP(iconId) \ - if ( client == wxART_MESSAGE_BOX ) \ - { \ - wxIcon icon = wxTheApp->GetStdIcon(iconId); \ - if ( icon.Ok() ) \ - { \ - wxBitmap bmp; \ - bmp.CopyFromIcon(icon); \ - return bmp; \ - } \ - } +#define GET_STD_ICON_FROM_APP(iconId) \ + if ( client == wxART_MESSAGE_BOX ) \ +{ \ + wxIcon icon = wxTheApp->GetStdIcon(iconId); \ + if ( icon.Ok() ) \ +{ \ + wxBitmap bmp; \ + bmp.CopyFromIcon(icon); \ + return bmp; \ +} \ +} #else - #define GET_STD_ICON_FROM_APP(iconId) +#define GET_STD_ICON_FROM_APP(iconId) #endif // There are two ways of getting the standard icon: either via XPMs or via // wxIcon ctor. This depends on the platform: #if defined(__WXUNIVERSAL__) - #define CREATE_STD_ICON(iconId, xpmRc) return wxNullBitmap; +#define CREATE_STD_ICON(iconId, xpmRc) return wxNullBitmap; #elif defined(__WXGTK__) || defined(__WXMOTIF__) - #define CREATE_STD_ICON(iconId, xpmRc) return wxBitmap(xpmRc##_xpm); +#define CREATE_STD_ICON(iconId, xpmRc) return wxBitmap(xpmRc##_xpm); #else - #define CREATE_STD_ICON(iconId, xpmRc) \ - { \ - wxIcon icon(_T(iconId)); \ - wxBitmap bmp; \ - bmp.CopyFromIcon(icon); \ - return bmp; \ - } +#define CREATE_STD_ICON(iconId, xpmRc) \ +{ \ + wxIcon icon(_T(iconId)); \ + wxBitmap bmp; \ + bmp.CopyFromIcon(icon); \ + return bmp; \ +} #endif // Macro used in CreateBitmap to get wxICON_FOO icons: #define ART_MSGBOX(artId, iconId, xpmRc) \ if ( id == artId ) \ - { \ - GET_STD_ICON_FROM_APP(iconId) \ - CREATE_STD_ICON(#iconId, xpmRc) \ - } +{ \ + GET_STD_ICON_FROM_APP(iconId) \ + CREATE_STD_ICON(#iconId, xpmRc) \ +} // --------------------------------------------------------------------- // XPMs with the art @@ -205,26 +348,148 @@ wxBitmap AlternateArtProvider::CreateBitmap(const wxArtID& id, const wxSize& WXUNUSED(size)) { ART(wxART_HELP_SIDE_PANEL, helpsidepanel) - ART(wxART_HELP_SETTINGS, helpoptions) - ART(wxART_HELP_BOOK, helpbook) - ART(wxART_HELP_FOLDER, helpbook) - ART(wxART_HELP_PAGE, helppage) - //ART(wxART_ADD_BOOKMARK, addbookm) - //ART(wxART_DEL_BOOKMARK, delbookm) - ART(wxART_GO_BACK, helpback) - ART(wxART_GO_FORWARD, helpforward) - ART(wxART_GO_UP, helpup) - ART(wxART_GO_DOWN, helpdown) - ART(wxART_GO_TO_PARENT, helpuplevel) - ART(wxART_FILE_OPEN, helpopen) - if (client == wxART_HELP_BROWSER) - { - ART(wxART_FRAME_ICON, helpicon) - } + ART(wxART_HELP_SETTINGS, helpoptions) + ART(wxART_HELP_BOOK, helpbook) + ART(wxART_HELP_FOLDER, helpbook) + ART(wxART_HELP_PAGE, helppage) + //ART(wxART_ADD_BOOKMARK, addbookm) + //ART(wxART_DEL_BOOKMARK, delbookm) + ART(wxART_GO_BACK, helpback) + ART(wxART_GO_FORWARD, helpforward) + ART(wxART_GO_UP, helpup) + ART(wxART_GO_DOWN, helpdown) + ART(wxART_GO_TO_PARENT, helpuplevel) + ART(wxART_FILE_OPEN, helpopen) + if (client == wxART_HELP_BROWSER) + { + //ART(wxART_FRAME_ICON, helpicon) + ART(wxART_HELP, helpicon) + } + + //ART(wxART_GO_HOME, home) + + // Any wxWindows icons not implemented here + // will be provided by the default art provider. + return wxNullBitmap; +} + +#if hvUSE_IPC + +wxConnectionBase *hvServer::OnAcceptConnection(const wxString& topic) +{ + if (topic == wxT("HELP")) + return new hvConnection(); + else + return NULL; +} + +// ---------------------------------------------------------------------------- +// hvConnection +// ---------------------------------------------------------------------------- + +hvConnection::hvConnection() +: wxConnection() +{ + wxGetApp().GetConnections().Append(this); +} + +hvConnection::~hvConnection() +{ + wxGetApp().GetConnections().DeleteObject(this); +} - //ART(wxART_GO_HOME, home) +bool hvConnection::OnExecute(const wxString& WXUNUSED(topic), + wxChar *data, + int WXUNUSED(size), + wxIPCFormat WXUNUSED(format)) +{ + // wxLogStatus("Execute command: %s", data); + + if ( !wxStrncmp( data, wxT("--intstring"), 11 ) ) + { + long i; + wxString argStr = data; + wxString numb = argStr.AfterLast(wxT('g')); + if ( !(numb.ToLong(&i) ) ) { + wxLogError( wxT("Integer conversion failed for --intstring") ); + } + else { + wxGetApp().GetHelpController()->Display(int(i)); + } + } + else + { + wxGetApp().GetHelpController()->Display(data); + } + + return TRUE; +} - // Any wxWindows icons not implemented here - // will be provided by the default art provider. - return wxNullBitmap; +bool hvConnection::OnPoke(const wxString& WXUNUSED(topic), + const wxString& item, + wxChar *data, + int WXUNUSED(size), + wxIPCFormat WXUNUSED(format)) +{ + // wxLogStatus("Poke command: %s = %s", item.c_str(), data); + //topic is not tested + + if ( wxGetApp().GetHelpController() ) + { + if ( item == wxT("--AddBook") ) + { + wxGetApp().GetHelpController()->AddBook(data); + } + else if ( item == wxT("--DisplayContents") ) + { + wxGetApp().GetHelpController()->DisplayContents(); + } + else if ( item == wxT("--DisplayIndex") ) + { + wxGetApp().GetHelpController()->DisplayIndex(); + } + else if ( item == wxT("--KeywordSearch") ) + { + wxGetApp().GetHelpController()->KeywordSearch(data); + } + else if ( item == wxT("--SetTitleFormat") ) + { + wxString newname = data; + newname.Replace( wxT("_"), wxT(" ") ); + wxGetApp().GetHelpController()->SetTitleFormat(newname); + //does not redraw title bar? + //wxGetApp().GetHelpController()->ReFresh(); - or something + } + else if ( item == wxT("--SetTempDir") ) + { + wxGetApp().GetHelpController()->SetTempDir(data); + } + else if ( item == wxT("--YouAreDead") ) + { + // don't really know how to kill app from down here... + // use wxKill from client instead + //wxWindow *win = wxTheApp->GetTopWindow(); + //if ( win ) + // win->Destroy(); + } + } + + return TRUE; } + +wxChar *hvConnection::OnRequest(const wxString& WXUNUSED(topic), + const wxString& WXUNUSED(item), + int * WXUNUSED(size), + wxIPCFormat WXUNUSED(format)) +{ + return NULL; +} + +bool hvConnection::OnStartAdvise(const wxString& WXUNUSED(topic), + const wxString& WXUNUSED(item)) +{ + return TRUE; +} + +#endif + // hvUSE_IPC \ No newline at end of file diff --git a/utils/helpview/src/helpview.dsp b/utils/helpview/src/helpview.dsp index 9300b9df44..1cd5f9bfad 100644 --- a/utils/helpview/src/helpview.dsp +++ b/utils/helpview/src/helpview.dsp @@ -55,7 +55,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\wxmsw233.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\wxmsw234.lib /nologo /subsystem:windows /machine:I386 !ELSEIF "$(CFG)" == "htmlhelpview - Win32 Debug DLL" @@ -81,7 +81,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib ../../..\lib\wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept !ELSEIF "$(CFG)" == "htmlhelpview - Win32 Release" diff --git a/utils/helpview/src/helpview.h b/utils/helpview/src/helpview.h index d4f90414ce..0395f58dd5 100644 --- a/utils/helpview/src/helpview.h +++ b/utils/helpview/src/helpview.h @@ -16,27 +16,79 @@ #pragma interface "help.cpp" #endif -// Define a new application type, each program should derive a class from wxApp +#define hvVERSION 1.02 + +// If 1, start a server to allow this to be used +// as an external help viewer. +#define hvUSE_IPC 1 + +#if hvUSE_IPC +#include + +class hvConnection; +class hvServer; +#endif + +/*! + * The helpview application class. + */ + class hvApp : public wxApp { - public: - // override base class virtuals - // ---------------------------- +public: + hvApp(); + + /// Initialise the application. + virtual bool OnInit(); + + /// Clean up the application's data. + virtual int OnExit(); + + /// Prompt the user for a book to open + bool OpenBook(wxHtmlHelpController* controller); + + /// Returns the help controller. + wxHtmlHelpController* GetHelpController() { return m_helpController; } + +#if hvUSE_IPC + /// Returns the list of connections. + wxList& GetConnections() { return m_connections; } +#endif - // this one is called on application startup and is a good place for the app - // initialization (doing it here and not in the ctor allows to have an error - // return: if OnInit() returns false, the application terminates) +private: + wxHtmlHelpController* m_helpController; + +#if hvUSE_IPC + wxList m_connections; + hvServer* m_server; +#endif + +}; + +#if hvUSE_IPC +class hvConnection : public wxConnection +{ +public: + hvConnection(); + ~hvConnection(); - virtual bool OnInit(); - virtual int OnExit(); + bool OnExecute(const wxString& topic, wxChar*data, int size, wxIPCFormat format); + wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format); + bool OnPoke(const wxString& topic, const wxString& item, wxChar *data, int size, wxIPCFormat format); + bool OnStartAdvise(const wxString& topic, const wxString& item); - // Prompt the user for a book to open - bool OpenBook(wxHtmlHelpController* controller); +private: +}; - private: - wxHtmlHelpController *help; +class hvServer: public wxServer +{ +public: + wxConnectionBase *OnAcceptConnection(const wxString& topic); }; + +#endif + #endif // _WX_HELPVIEW_H_ diff --git a/utils/helpview/src/readme.txt b/utils/helpview/src/readme.txt new file mode 100644 index 0000000000..45a5b724c3 --- /dev/null +++ b/utils/helpview/src/readme.txt @@ -0,0 +1,35 @@ +The HTML help client-server pair sample consists of three parts: + +1) The Client, derived from Client from the IPC samples and now containing wxRemoteHtmlHelpController +2) The Server, derived from helpview - the app is called helpview +3) The sample help files, specifically called by the Client, which are from the HTML/Help sample + +Normally, the Client is started first, and it will in turn start up the Server (helpview) the first time help is requested with Display. If the Server is to be started first, the default service name ("generic_helpservice" for MSW, "/tmp/generic_helpservice" for Unix or "4242" otherwise) should be used for the connection in the client. + +It is assumed that there will be one copy of the server for each app which uses help. Depending on the OS, it may be possible to use different instances of the same server, or even to use one instance of the server (probably not a good idea) to service more than one app requesting help. + +At the moment, if a connection has been established and if the client is killed, the server is also killed. If the client is started up again, it will use the same connection. + +If USE_REMOTE in client.cpp is undefined, the "client" app will use wxHtmlHelpController instead of wxRemoteHtmlHelpController, that is the remote server will not be used. In MSW, this results in freezing of the help window when called from a modal dialog. In GTK, the window is not frozen, but it must be closed before you can return to the app itself. + +------------------------------------------------ +wxRemoteHtmlHelpController Class + +This class can be added to an application (the client) to provide wxWindows HTML help. It will start up the remote help controller (helpview) the first time the Display member function is called, passing the server the connection name or port number, the name of the help window and the help book (.hhp, .htb, .zip). This class will only work with a particular server app, helpview. + +Most of the functions of wxHtmlHelpController are available - the relevant arguments are just passed to wxHtmlHelpController in the server. The functions involving wxConfig are not implemented - the config parameters (font, windows size and position) are kept in the server. + +Use the members SetServer and SetService to pass the name of the server app and service name or port. This must be done before the first call to the Display member function, or defaults will be used. The default server app is "helpview" and default service depends on the platform: for MSW it is "appname_helpservice" (a service name string); for UNIX platforms it is "/tmp/appname_helpservice" (a file name) and otherwise it is "4242" (a TCP/IP port number), where "appname" is the name of the application without extension. + +A wxRemoteHtmlHelpController can be created in wxApp::OnInit, or some high level window like a mainframe. It should be deleted explicitly, for example in wxApp::OnExit, or else the various connection objects are deleted in the wrong order. Using a wxRemoteHtmlHelpController member of wxApp does not work because of problems on exit. + +This has been tested on wxMSW and wxGTK. It does not work on wxMac because the connection classes, as well as wxExecute, are not fully supported. + +---------------------------------------------- + +Changes to helpview sample + +The constructor now tests the command-line arguments, looking first for help books (containing .hhp, .htb, .zip). Then it looks for "--server". If arguments not falling in these categories are present, they are taken to be 1) the service name or 2) the window name (see wxRemoteHtmlHelpController for the meaning of service name). + +The client passes most functions of wxHtmlHelpController, with argument, to helpview using wxConnection::Poke. The string for the Display function is passed with wxConnection::Execute. + diff --git a/utils/helpview/src/remhelp.cpp b/utils/helpview/src/remhelp.cpp new file mode 100644 index 0000000000..a1d7f23630 --- /dev/null +++ b/utils/helpview/src/remhelp.cpp @@ -0,0 +1,409 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: remhelp.cpp +// Purpose: Remote help controller class +// Author: Eric Dowty +// Modified by: +// Created: 2002-11-18 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma implementation remhelp.h +#endif + +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/wx.h" +#endif + +#include + +#include "wx/process.h" +#include "wx/confbase.h" + +// Settings common to both executables: determines whether +// we're using TCP/IP or real DDE. + +//#include "ddesetup.h" +//#define wxUSE_DDE_FOR_IPC 0 + +#if defined(__WXGTK__) || defined(__WXMOTIF__) +#include "mondrian.xpm" +#endif + +#include "remhelp.h" +#include "client.h" + +#if !defined(USE_REMOTE) +#include +#endif + +////////////////// +////////////////// +// helper classes + +rhhcClient::rhhcClient( bool *isconn_a ) +{ + isconn_2 = isconn_a; +} + +wxConnectionBase *rhhcClient::OnMakeConnection() +{ + return new rhhcConnection( isconn_2 ); +} + +rhhcConnection::rhhcConnection( bool *isconn_a ) +: wxConnection() +{ + isconn_3 = isconn_a; + *isconn_3 = TRUE; +} + +rhhcConnection::~rhhcConnection() +{ + *isconn_3 = FALSE; +} + +bool rhhcConnection::OnAdvise(const wxString& topic, const wxString& item, char *data, int size, wxIPCFormat format) +{ + return TRUE; +} + +bool rhhcConnection::OnDisconnect() +{ + *isconn_3 = FALSE; + + return wxConnection::OnDisconnect(); +} + +////////////////////////////////////////// +///////////////////////////////////////// + +// wxRemoteHtmlHelpController class + +IMPLEMENT_CLASS(wxRemoteHtmlHelpController, wxHelpControllerBase) + +wxRemoteHtmlHelpController::wxRemoteHtmlHelpController(int style ) +{ + m_style = style; + m_connection = NULL; + m_client = NULL; + m_pid = 0; + isconn_1 = FALSE; + m_process = NULL; + + // defaults + // + // server app is assumed to be local + // + // for MSW (DDE classes), a_service is 'service name', apparently an arbitrary string + // for Unix, should be a valid file name (for a nonexistent file) + // for nonMSW, nonUnix, must be port number, for example "4242" (TCP/IP based classes) + // should be unique to the client app + + wxString thename = wxGetApp().GetAppName(); +#if defined(__WXMSW__) + m_appname = wxT("helpview.exe"); + m_service = thename + wxString(wxT("_helpservice")); +#elif defined(__UNIX__) + m_appname = wxT("./helpview"); + m_service = wxT("/tmp/") + thename + wxString(wxT("_helpservice")); +#else + m_appname = wxT("./helpview"); + m_service = wxT("4242"); +#endif + + m_book = thename + wxT(".hhp"); // or .htb or .zip + m_windowname = thename + wxT(" Help: %s"); + //underscores for spaces + m_windowname.Replace( wxT(" "), wxT("_") ); +} + +void wxRemoteHtmlHelpController::SetService(wxString& a_service) +{ + m_service = a_service; +} +void wxRemoteHtmlHelpController::SetServer(wxString& a_appname) +{ + m_appname = a_appname; +} + +void wxRemoteHtmlHelpController::OnQuit() +{ + //kill the Server here? + //this function is not called ? +} + +wxRemoteHtmlHelpController::~wxRemoteHtmlHelpController() +{ + if ( isconn_1 ) + { + //if (!m_connection->Poke( wxT("--YouAreDead"), wxT("") ) ) + // wxLogError(wxT("wxRemoteHtmlHelpController - YouAreDead Failed")); + + // Kill the server. This could be an option. + Quit(); + + m_connection->Disconnect(); + delete m_connection; + + delete m_process; + m_process = NULL; + } + if( m_client ) + delete m_client; //should be automatic? + +} + +bool wxRemoteHtmlHelpController::DoConnection() +{ + wxString cmd, blank; + int nsleep; + + blank = wxT(" "); + + // ignored under DDE, host name in TCP/IP based classes + wxString hostName = wxT("localhost"); + + // Create a new client + if( !m_client ) m_client = new rhhcClient(&isconn_1); + + nsleep = 0; + + // suppress the log messages from MakeConnection() + { + wxLogNull nolog; + + //first try to connect assuming server is running + if( !isconn_1 ) + m_connection = (rhhcConnection *)m_client->MakeConnection(hostName, m_service, wxT("HELP") ); + + //if not, start server + if( !isconn_1 ) { + + wxString stylestr; + stylestr.Printf( wxT("--Style%d"), m_style ); + + cmd = m_appname + blank + m_service + blank + m_windowname + blank + m_book + blank + stylestr; + + m_process = new wxProcess(NULL); + m_pid = wxExecute( cmd, FALSE, m_process ); + // leaks - wxExecute itself (if not deleted) and in wxExecute at + // wxExecuteData *data = new wxExecuteData; + if( m_pid <= 0 ) { + wxLogError( wxT("wxRemoteHtmlHelpController - Failed to start Help server") ); + return FALSE; + } + } + + while ( !isconn_1 ) + { + //try every second for a while, then leave it to user + wxSleep(1); + if( nsleep > 4 ) { + if ( wxMessageBox( wxT("Failed to make connection to Help server.\nRetry?") , + wxT("wxRemoteHtmlHelpController Error"), + wxICON_ERROR | wxYES_NO | wxCANCEL ) != wxYES ) + { + // no server + return FALSE; + } + } + nsleep++; + + m_connection = (rhhcConnection *)m_client->MakeConnection(hostName, m_service, wxT("HELP") ); + } + } + + if (!m_connection->StartAdvise(wxT("Item"))) { + wxLogError(wxT("wxRemoteHtmlHelpController - StartAdvise failed") ); + return FALSE; + } + + return TRUE; +} + +bool wxRemoteHtmlHelpController::LoadFile(const wxString& WXUNUSED(file)) +{ + return TRUE; +} +bool wxRemoteHtmlHelpController::DisplaySection(int sectionNo) +{ + Display(sectionNo); + return TRUE; +} +bool wxRemoteHtmlHelpController::DisplayBlock(long blockNo) +{ + return DisplaySection((int)blockNo); +} + +bool wxRemoteHtmlHelpController::Quit() +{ + //this code from exec sample - branches left in for testing + // sig = 3, 6, 9 or 12 all kill server with no apparent problem + // but give error message on MSW - timout? + int sig = 15; //3 = quit; 6 = abort; 9 = kill; 15 = terminate + + /* + switch ( sig ) + { + default: + wxFAIL_MSG( _T("unexpected return value") ); + // fall through + + case -1: + // cancelled + return FALSE; + + case wxSIGNONE: + case wxSIGHUP: + case wxSIGINT: + case wxSIGQUIT: + case wxSIGILL: + case wxSIGTRAP: + case wxSIGABRT: + case wxSIGEMT: + case wxSIGFPE: + case wxSIGKILL: + case wxSIGBUS: + case wxSIGSEGV: + case wxSIGSYS: + case wxSIGPIPE: + case wxSIGALRM: + case wxSIGTERM: + break; + } + */ + + if ( sig == 0 ) + { + if ( wxProcess::Exists(m_pid) ) + wxLogStatus(_T("Process %ld is running."), m_pid); + else + wxLogStatus(_T("No process with pid = %ld."), m_pid); + } + else // not SIGNONE + { + wxKillError rc = wxProcess::Kill(m_pid, (wxSignal)sig); + if ( rc == wxKILL_OK ) + { + wxLogStatus(_T("Process %ld killed with signal %d."), m_pid, sig); + } + else + { + static const wxChar *errorText[] = + { + _T(""), // no error + _T("signal not supported"), + _T("permission denied"), + _T("no such process"), + _T("unspecified error"), + }; + + // sig = 3, 6, 9 or 12 all kill server with no apparent problem + // but give error message on MSW - timout? + // + //wxLogError(_T("Failed to kill process %ld with signal %d: %s"), + // m_pid, sig, errorText[rc]); + } + } + + + return TRUE; +} + +void wxRemoteHtmlHelpController::Display(const wxString& helpfile) +{ + if( !isconn_1 ) { + if( !DoConnection() ) return; + } + + if (!m_connection->Execute( helpfile, -1 ) ) + wxLogError(wxT("wxRemoteHtmlHelpController - Display Failed")); + +} + +void wxRemoteHtmlHelpController::Display(const int id) +{ + if( !isconn_1 ) { + if( !DoConnection() ) return; + } + + wxString intstring; + intstring.Printf( "--intstring%d", id ); + + if (!m_connection->Execute( intstring, -1 ) ) + wxLogError(wxT("wxRemoteHtmlHelpController - Display Failed")); + +} + +bool wxRemoteHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg) +{ + //ignore show_wait_msg - there shouldn't be a delay in this step + //show_wait_msg = TRUE could be transmitted with ++AddBook + m_book = book; + + if( isconn_1 ) { + if (!m_connection->Poke( wxT("--AddBook"), (char*)book.c_str() ) ) + wxLogError(wxT("wxRemoteHtmlHelpController - AddBook Failed")); + return FALSE; + } + + return TRUE; +} + +bool wxRemoteHtmlHelpController::DisplayContents() +{ + if( isconn_1 ) { + if (!m_connection->Poke( wxT("--DisplayContents"), wxT("") ) ) { + wxLogError(wxT("wxRemoteHtmlHelpController - DisplayContents Failed")); + return FALSE; + } + } + return TRUE; +} +void wxRemoteHtmlHelpController::DisplayIndex() +{ + if( isconn_1 ) { + if (!m_connection->Poke( wxT("--DisplayIndex"), wxT("") ) ) + wxLogError(wxT("wxRemoteHtmlHelpController - DisplayIndex Failed")); + } +} +bool wxRemoteHtmlHelpController::KeywordSearch(const wxString& keyword) +{ + if( isconn_1 ) { + if (!m_connection->Poke( wxT("--KeywordSearch"), (char*)keyword.c_str() ) ) { + wxLogError(wxT("wxRemoteHtmlHelpController - KeywordSearch Failed")); + return FALSE; + } + } + return TRUE; +} + +void wxRemoteHtmlHelpController::SetTitleFormat(const wxString& format) +{ + m_windowname = format; + m_windowname.Replace( wxT(" "), wxT("_") ); + + if( isconn_1 ) { + if (!m_connection->Poke( wxT("--SetTitleFormat"), (char*)format.c_str() ) ) + wxLogError(wxT("wxRemoteHtmlHelpController - SetTitleFormat Failed")); + } +} + +void wxRemoteHtmlHelpController::SetTempDir(const wxString& path) +{ + if( isconn_1 ) { + if (!m_connection->Poke( wxT("--SetTempDir"), (char*)path.c_str() ) ) + wxLogError(wxT("wxRemoteHtmlHelpController - SetTempDir Failed")); + } +} + diff --git a/utils/helpview/src/remhelp.h b/utils/helpview/src/remhelp.h new file mode 100644 index 0000000000..b5cdd853fa --- /dev/null +++ b/utils/helpview/src/remhelp.h @@ -0,0 +1,97 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: remhelp.h +// Purpose: Remote help controller class +// Author: Eric Dowty +// Modified by: +// Created: 2002-11-18 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface remhelp.h +#endif + +#ifndef _WX_REMHELP_H_ +#define _WX_REMHELP_H_ + +#include +#include +#include + +class WXDLLEXPORT wxConfigBase; + +class rhhcConnection : public wxConnection +{ +public: + rhhcConnection(bool *isconn_a); + ~rhhcConnection(); + + bool OnAdvise(const wxString& topic, const wxString& item, char *data, int size, wxIPCFormat format); + bool OnDisconnect(); + bool *isconn_3; + +}; + +class rhhcClient: public wxClient +{ +public: + rhhcClient(bool *isconn_a); + //~rhhcClient( ); + wxConnectionBase *OnMakeConnection(); + bool *isconn_2; +}; + +class wxRemoteHtmlHelpController : public wxHelpControllerBase +{ + DECLARE_CLASS(wxRemoteHtmlHelpController) +public: + wxRemoteHtmlHelpController(int style = wxHF_DEFAULT_STYLE); + ~wxRemoteHtmlHelpController(); + void OnQuit(void); + + void SetService(wxString& a_service); + void SetServer(wxString& a_appname); //could be wxHelpController::SetViewer + + //standard wxHtmlHelpController functions + bool AddBook(const wxString& book, bool show_wait_msg = FALSE); + void Display(const wxString& x); + void Display(const int id); + bool DisplayContents(); + void DisplayIndex(); + bool KeywordSearch(const wxString& keyword); + void SetTempDir(const wxString& path); + void SetTitleFormat(const wxString& format); + + //dummies - config is in server + void UseConfig(wxConfigBase* config, const wxString& rootpath = wxEmptyString) {}; + void ReadCustomization(wxConfigBase* cfg, wxString path = wxEmptyString) {}; + void WriteCustomization(wxConfigBase* cfg, wxString path = wxEmptyString) {}; + + //virtuals from wxHelpControllerBase - not in wxHtmlHelpController + //won't compile without these + bool LoadFile(const class wxString &); //dummy + bool DisplaySection(int); + bool DisplayBlock(long); + bool Quit(void); + +private: + void OnExit(wxCommandEvent& event); + bool DoConnection(); + + rhhcConnection *m_connection; + rhhcClient *m_client; + wxProcess *m_process; + + int m_pid; + int m_style; + wxString m_appname; + wxString m_service; + wxString m_windowname; + wxString m_book; + bool isconn_1; +}; + +#endif + // _WX_REMHELP_H_ diff --git a/utils/tex2rtf/docs/tex2rtf.hpj b/utils/tex2rtf/docs/tex2rtf.hpj index 29fcd8b21b..4c6c663509 100644 --- a/utils/tex2rtf/docs/tex2rtf.hpj +++ b/utils/tex2rtf/docs/tex2rtf.hpj @@ -1,5 +1,5 @@ [OPTIONS] -BMROOT=c:\wx2dev\wxWind~1\utils\tex2rtf\docs ; Assume that bitmaps are where the source is +BMROOT=c:\wx24\wxwind~1\utils\tex2rtf\docs ; Assume that bitmaps are where the source is TITLE=Tex2RTF CONTENTS=Contents COMPRESS=HIGH diff --git a/utils/tex2rtf/src/Tex2RTFVC.dsp b/utils/tex2rtf/src/Tex2RTFVC.dsp index 18b448e46b..6dac0843bf 100644 --- a/utils/tex2rtf/src/Tex2RTFVC.dsp +++ b/utils/tex2rtf/src/Tex2RTFVC.dsp @@ -108,7 +108,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/tex2rtf.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/tex2rtf.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" !ELSEIF "$(CFG)" == "Tex2RTFVC - Win32 Release DLL" diff --git a/utils/tex2rtf/src/htmlutil.cpp b/utils/tex2rtf/src/htmlutil.cpp index ea8b6efc2e..1029c30603 100644 --- a/utils/tex2rtf/src/htmlutil.cpp +++ b/utils/tex2rtf/src/htmlutil.cpp @@ -191,7 +191,7 @@ void ReopenFile(FILE **fd, char **fileName) else sprintf(buf, "%s%d.html", FileRoot, fileId); if (*fileName) delete[] *fileName; - *fileName = copystring(FileNameFromPath(buf)); + *fileName = copystring(wxFileNameFromPath(buf)); *fd = fopen(buf, "w"); fprintf(*fd, "\n"); } @@ -426,13 +426,13 @@ void AddBrowseButtons(char *upLabel, char *upFilename, if (truncateFilenames) { char buf1[80]; - strcpy(buf1, ConvertCase(FileNameFromPath(FileRoot))); + strcpy(buf1, ConvertCase(wxFileNameFromPath(FileRoot))); sprintf(buf, "\n%s ", buf1, ConvertCase("htm"), contentsReference); } else { char buf1[80]; - strcpy(buf1, ConvertCase(FileNameFromPath(FileRoot))); + strcpy(buf1, ConvertCase(wxFileNameFromPath(FileRoot))); sprintf(buf, "\n%s ", buf1, ConvertCase("_contents.html"), contentsReference); } // TexOutput(""); @@ -585,13 +585,16 @@ char *ParseColourString(char *bkStr, bool *isPicture) void OutputFont(void) { - // Output <FONT FACE=...> - TexOutput("<FONT FACE=\""); + // Only output <font face> if explicitly requested by htmlFaceName= directive in + // tex2rtf.ini. Otherwise do NOT set the font because we want to use browser's + // default font: if (htmlFaceName) - TexOutput(htmlFaceName); - else - TexOutput("Times New Roman"); - TexOutput("\">\n"); + { + // Output <FONT FACE=...> + TexOutput("<FONT FACE=\""); + TexOutput(htmlFaceName); + TexOutput("\">\n"); + } } // Output start of <BODY> block @@ -708,9 +711,9 @@ void HTMLOnMacro(int macroId, int no_args, bool start) char titleBuf[200]; if (truncateFilenames) - sprintf(titleBuf, "%s.htm", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s.htm", wxFileNameFromPath(FileRoot)); else - sprintf(titleBuf, "%s_contents.html", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s_contents.html", wxFileNameFromPath(FileRoot)); fprintf(Chapters, "<A NAME=\"%s\"></A>", topicName); @@ -2708,9 +2711,9 @@ bool HTMLOnArgument(int macroId, int arg_no, bool start) char titleBuf[150]; if (truncateFilenames) - sprintf(titleBuf, "%s.htm", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s.htm", wxFileNameFromPath(FileRoot)); else - sprintf(titleBuf, "%s_contents.html", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s_contents.html", wxFileNameFromPath(FileRoot)); HTMLHead(); TexOutput("<title>"); @@ -2919,7 +2922,7 @@ bool HTMLGo(void) OnError("Cannot open output file!"); return FALSE; } - AddTexRef("contents", FileNameFromPath(TitlepageName), ContentsNameString); + AddTexRef("contents", wxFileNameFromPath(TitlepageName), ContentsNameString); fprintf(Contents, "<P><P><H2>%s</H2><P><P>\n", ContentsNameString); @@ -3003,7 +3006,7 @@ bool HTMLGo(void) if (contentsString) fprintf(tmpTitle, "<TITLE>%s</TITLE></HEAD>\n\n", contentsString); else - fprintf(tmpTitle, "<TITLE>%s</TITLE></HEAD>\n\n", FileNameFromPath(FileRoot)); + fprintf(tmpTitle, "<TITLE>%s</TITLE></HEAD>\n\n", wxFileNameFromPath(FileRoot)); } // Output frame information @@ -3017,8 +3020,8 @@ bool HTMLGo(void) fprintf(tmpTitle, "<FRAMESET COLS=\"30%%,70%%\">\n"); - fprintf(tmpTitle, "<FRAME SRC=\"%s\">\n", ConvertCase(FileNameFromPath(contentsFrameName))); - fprintf(tmpTitle, "<FRAME SRC=\"%s\" NAME=\"mainwindow\">\n", ConvertCase(FileNameFromPath(firstFileName))); + fprintf(tmpTitle, "<FRAME SRC=\"%s\">\n", ConvertCase(wxFileNameFromPath(contentsFrameName))); + fprintf(tmpTitle, "<FRAME SRC=\"%s\" NAME=\"mainwindow\">\n", ConvertCase(wxFileNameFromPath(firstFileName))); fprintf(tmpTitle, "</FRAMESET>\n"); fprintf(tmpTitle, "<NOFRAMES>\n"); @@ -3049,7 +3052,7 @@ bool HTMLGo(void) fprintf(tmpTitle, "\n</HTML>\n"); fclose(tmpTitle); - if (FileExists(TitlepageName)) wxRemoveFile(TitlepageName); + if (wxFileExists(TitlepageName)) wxRemoveFile(TitlepageName); if (!wxRenameFile("title.tmp", TitlepageName)) { wxCopyFile("title.tmp", TitlepageName); @@ -3062,7 +3065,7 @@ bool HTMLGo(void) if (lastTopic) delete[] lastTopic; lastTopic = NULL; - if (FileExists(ContentsName)) wxRemoveFile(ContentsName); + if (wxFileExists(ContentsName)) wxRemoveFile(ContentsName); if (!wxRenameFile(TmpContentsName, ContentsName)) { @@ -3147,11 +3150,11 @@ void GenerateHTMLWorkshopFiles(char *fname) "Default topic=%s\n" "Index file=%s.hhk\n" "Title=", - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(TitlepageName), - FileNameFromPath(fname) + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(TitlepageName), + wxFileNameFromPath(fname) ); if (DocumentTitle) { @@ -3162,19 +3165,19 @@ void GenerateHTMLWorkshopFiles(char *fname) fprintf(f, "\n\n[WINDOWS]\n" "%sHelp=,\"%s.hhc\",\"%s.hhk\",\"%s\",,,,,,0x2420,,0x380e,,,,,0,,,", - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(TitlepageName)); + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(TitlepageName)); fprintf(f, "\n\n[FILES]\n"); - fprintf(f, "%s\n", FileNameFromPath(TitlepageName)); + fprintf(f, "%s\n", wxFileNameFromPath(TitlepageName)); for (int i = 1; i <= fileId; i++) { if (truncateFilenames) - sprintf(buf, "%s%d.htm", FileNameFromPath(FileRoot), i); + sprintf(buf, "%s%d.htm", wxFileNameFromPath(FileRoot), i); else - sprintf(buf, "%s%d.html", FileNameFromPath(FileRoot), i); + sprintf(buf, "%s%d.html", wxFileNameFromPath(FileRoot), i); fprintf(f, "%s\n", buf); } fclose(f); @@ -3278,7 +3281,7 @@ void HTMLWorkshopStartContents() "<LI> <OBJECT type=\"text/sitemap\">\n" "<param name=\"Local\" value=\"%s\">\n" "<param name=\"Name\" value=\"Contents\">\n</OBJECT>\n", - FileNameFromPath(TitlepageName) + wxFileNameFromPath(TitlepageName) ); } diff --git a/utils/tex2rtf/src/makengui.nt b/utils/tex2rtf/src/makengui.nt index a4de8c23ca..4526561d62 100644 --- a/utils/tex2rtf/src/makengui.nt +++ b/utils/tex2rtf/src/makengui.nt @@ -11,7 +11,7 @@ # of Tex2RTF, so I set off to give it a try... I found out it would crash # when submitted to a certain LaTeX file I created. I wanted to find out why, # so I went on and worked on compiling on my PC: Windows NT 4.0 beta, Visual -# C++ 4.1a. Since all I was interested on was the convertion utility, I tried +# C++ 4.1a. Since all I was interested on was the conversion utility, I tried # to make it work without a GUI. It didn't compile immediately, but after a # few small changes it now works like a charm. Unfortunately it doesn't crash # anymore, so I can't tell why it used to... Anyway, I wanted to contribute diff --git a/utils/tex2rtf/src/rtfutils.cpp b/utils/tex2rtf/src/rtfutils.cpp index d475d96931..e4e08c30bb 100644 --- a/utils/tex2rtf/src/rtfutils.cpp +++ b/utils/tex2rtf/src/rtfutils.cpp @@ -527,7 +527,7 @@ bool WriteHPJ(char *filename) StripExtension(hpjFilename); strcat(hpjFilename, ".hpj"); - strcpy(helpFile, FileNameFromPath(filename)); + strcpy(helpFile, wxFileNameFromPath(filename)); StripExtension(helpFile); strcpy(rtfFile, helpFile); strcat(helpFile, ".hlp"); @@ -1195,7 +1195,7 @@ void RTFOnMacro(int macroId, int no_args, bool start) fprintf(Chapters, "!{\\footnote DisableButton(\"Up\")}\n"); else fprintf(Chapters, "!{\\footnote EnableButton(\"Up\");ChangeButtonBinding(\"Up\", \"JumpId(`%s.hlp', `%s')\")}\n", - FileNameFromPath(FileRoot), "Contents"); + wxFileNameFromPath(FileRoot), "Contents"); } } @@ -1350,12 +1350,12 @@ void RTFOnMacro(int macroId, int no_args, bool start) if (DocumentStyle == LATEX_ARTICLE) { fprintf(Sections, "!{\\footnote EnableButton(\"Up\");ChangeButtonBinding(\"Up\", \"JumpId(`%s.hlp', `%s')\")}\n", - FileNameFromPath(FileRoot), "Contents"); + wxFileNameFromPath(FileRoot), "Contents"); } else if (CurrentChapterName) { fprintf(Sections, "!{\\footnote EnableButton(\"Up\");ChangeButtonBinding(\"Up\", \"JumpId(`%s.hlp', `%s')\")}\n", - FileNameFromPath(FileRoot), CurrentChapterName); + wxFileNameFromPath(FileRoot), CurrentChapterName); } } } @@ -1501,7 +1501,7 @@ void RTFOnMacro(int macroId, int no_args, bool start) if (useUpButton && CurrentSectionName) { fprintf(Subsections, "!{\\footnote EnableButton(\"Up\");ChangeButtonBinding(\"Up\", \"JumpId(`%s.hlp', `%s')\")}\n", - FileNameFromPath(FileRoot), CurrentSectionName); + wxFileNameFromPath(FileRoot), CurrentSectionName); } } if (!winHelp && indexSubsections && useWord) @@ -1647,7 +1647,7 @@ void RTFOnMacro(int macroId, int no_args, bool start) if (useUpButton && CurrentSubsectionName) { fprintf(Subsubsections, "!{\\footnote EnableButton(\"Up\");ChangeButtonBinding(\"Up\", \"JumpId(`%s.hlp', `%s')\")}\n", - FileNameFromPath(FileRoot), CurrentSubsectionName); + wxFileNameFromPath(FileRoot), CurrentSubsectionName); } } if (!winHelp && indexSubsections && useWord) @@ -4897,7 +4897,7 @@ bool RTFOnArgument(int macroId, int arg_no, bool start) if (useUpButton) { fprintf(Chapters, "!{\\footnote EnableButton(\"Up\");ChangeButtonBinding(\"Up\", \"JumpId(`%s.hlp', `%s')\")}\n", - FileNameFromPath(FileRoot), "Contents"); + wxFileNameFromPath(FileRoot), "Contents"); } } @@ -5247,7 +5247,7 @@ bool RTFGo(void) { wxConcatFiles("header.rtf", "chapters.rtf", "tmp1.rtf"); Tex2RTFYield(TRUE); - if (FileExists(OutputFile)) + if (wxFileExists(OutputFile)) wxRemoveFile(OutputFile); char *cwdStr; @@ -5273,7 +5273,7 @@ bool RTFGo(void) wxRemoveFile("tmp1.rtf"); } - if (FileExists(ContentsName)) wxRemoveFile(ContentsName); + if (wxFileExists(ContentsName)) wxRemoveFile(ContentsName); if (!wxRenameFile(TmpContentsName, ContentsName)) { diff --git a/utils/tex2rtf/src/tex2any.cpp b/utils/tex2rtf/src/tex2any.cpp index 2fcb1d64ef..64fee2941b 100644 --- a/utils/tex2rtf/src/tex2any.cpp +++ b/utils/tex2rtf/src/tex2any.cpp @@ -146,7 +146,7 @@ char *followedLinkColourString = NULL; bool combineSubSections = FALSE; bool htmlWorkshopFiles = FALSE; bool ignoreBadRefs = FALSE; -char *htmlFaceName = copystring("Times New Roman"); +char *htmlFaceName = NULL; extern int passNumber; @@ -750,7 +750,7 @@ bool read_a_line(char *buf) fileNameStr.Replace("\\", ""); // Ignore some types of input files (e.g. macro definition files) - char *fileOnly = FileNameFromPath((char*) (const char*) fileNameStr); + char *fileOnly = wxFileNameFromPath((char*) (const char*) fileNameStr); currentFileName = fileOnly; if (IgnorableInputFiles.Member(fileOnly)) return read_a_line(buf); diff --git a/utils/tex2rtf/src/tex2any.h b/utils/tex2rtf/src/tex2any.h index 102dd98508..d194288402 100644 --- a/utils/tex2rtf/src/tex2any.h +++ b/utils/tex2rtf/src/tex2any.h @@ -173,6 +173,10 @@ int GetCurrentColumn(void); // number of characters on current line char *ConvertCase(char *s); // Convert case, according to upperCaseNames setting. extern wxPathList TexPathList; // Path list, can be used for file searching. +#if !WXWIN_COMPATIBILITY_2 +extern bool StringMatch(const wxChar *one, const wxChar *two, bool subString = TRUE, bool exact = FALSE); +#endif + // Define a variable value from the .ini file char *RegisterSetting(char *settingName, char *settingValue, bool interactive = TRUE); diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index ba4c550700..281acafa0c 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -330,7 +330,7 @@ bool MyApp::OnInit() if (InputFile) { - sprintf(buf, "Tex2RTF [%s]", FileNameFromPath(InputFile)); + sprintf(buf, "Tex2RTF [%s]", wxFileNameFromPath(InputFile)); frame->SetTitle(buf); } @@ -967,7 +967,7 @@ bool Go(void) if (InputFile && OutputFile) { - if (!FileExists(InputFile)) + if (!wxFileExists(InputFile)) { OnError("Cannot open input file!"); TexCleanUp(); diff --git a/utils/tex2rtf/src/texutils.cpp b/utils/tex2rtf/src/texutils.cpp index 3c159839a9..be0c83a28c 100644 --- a/utils/tex2rtf/src/texutils.cpp +++ b/utils/tex2rtf/src/texutils.cpp @@ -36,6 +36,7 @@ #else #include <iostream> #include <fstream> +using namespace std; #endif #include <ctype.h> @@ -1143,7 +1144,7 @@ char *RegisterSetting(char *settingName, char *settingValue, bool interactive) else if (StringMatch(settingName, "authorFontSize", FALSE, TRUE)) StringToInt(settingValue, &authorFont); else if (StringMatch(settingName, "ignoreInput", FALSE, TRUE)) - IgnorableInputFiles.Add(FileNameFromPath(settingValue)); + IgnorableInputFiles.Add(wxFileNameFromPath(settingValue)); else if (StringMatch(settingName, "mirrorMargins", FALSE, TRUE)) mirrorMargins = StringTobool(settingValue); else if (StringMatch(settingName, "runTwice", FALSE, TRUE)) @@ -1671,3 +1672,25 @@ char *ConvertCase(char *s) buf[i] = 0; return buf; } + +#if !WXWIN_COMPATIBILITY_2 +// if substring is TRUE, search for str1 in str2 +bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString, + bool exact) +{ + if (subString) + { + wxString Sstr1(str1); + wxString Sstr2(str2); + if (!exact) + { + Sstr1.MakeUpper(); + Sstr2.MakeUpper(); + } + return Sstr2.Index(Sstr1) != wxNOT_FOUND; + } + else + return exact ? wxString(str2).Cmp(str1) == 0 : + wxString(str2).CmpNoCase(str1) == 0; +} +#endif diff --git a/utils/tex2rtf/src/xlputils.cpp b/utils/tex2rtf/src/xlputils.cpp index 8b82f5ac7a..217f0416c9 100644 --- a/utils/tex2rtf/src/xlputils.cpp +++ b/utils/tex2rtf/src/xlputils.cpp @@ -1195,7 +1195,7 @@ bool XLPGo(void) fclose(Subsubsections); Subsubsections = NULL; fclose(Index); Index = NULL; - if (FileExists(ContentsName)) wxRemoveFile(ContentsName); + if (wxFileExists(ContentsName)) wxRemoveFile(ContentsName); if (!wxRenameFile(TmpContentsName, ContentsName)) { diff --git a/utils/tex2rtf/tools/suppresswarnings.sh b/utils/tex2rtf/tools/suppresswarnings.sh new file mode 100644 index 0000000000..07078c807b --- /dev/null +++ b/utils/tex2rtf/tools/suppresswarnings.sh @@ -0,0 +1,3 @@ +# Suppresses some of the more common warnings + +lacheck $1 | sed -e "/possible unwanted/d;/you may need/d;/TAB characyer/d;/Use \`/d;/missing \`\\\/d;/Dots/d;/Whitespace/d" diff --git a/utils/wxrc/Makefile.in b/utils/wxrc/Makefile.in index 9685e6f172..b20802bbb0 100644 --- a/utils/wxrc/Makefile.in +++ b/utils/wxrc/Makefile.in @@ -9,7 +9,7 @@ PROGRAM=wxrc OBJECTS=wxrc.o -APPEXTRALIBS=$(top_builddir)/lib/libwxxrc.@WX_TARGET_LIBRARY_TYPE@ +APPEXTRALIBS=$(top_builddir)/lib/lib@WX_LIBRARY_BASENAME@_xrc-@WX_RELEASE@.@WX_TARGET_LIBRARY_TYPE@ APPEXTRADEFS=-I$(top_srcdir)/contrib/include include $(top_builddir)/src/makeprog.env diff --git a/utils/wxrc/wxRcVC.dsp b/utils/wxrc/wxRcVC.dsp index 24ae29e1e7..4d62151234 100644 --- a/utils/wxrc/wxRcVC.dsp +++ b/utils/wxrc/wxRcVC.dsp @@ -110,7 +110,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib" !ELSEIF "$(CFG)" == "wxRcVC - Win32 Release DLL" @@ -137,7 +137,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrc.exe" /libpath:"..\..\..\lib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrc.exe" /libpath:"..\..\..\lib" !ENDIF diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 23b27952a7..ff536b0ef8 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -84,18 +84,18 @@ int XmlResApp::OnRun() { static const wxCmdLineEntryDesc cmdLineDesc[] = { - { wxCMD_LINE_SWITCH, "h", "help", "show help message", + { wxCMD_LINE_SWITCH, _T("h"), _T("help"), _T("show help message"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP }, - { wxCMD_LINE_SWITCH, "v", "verbose", "be verbose" }, - { wxCMD_LINE_SWITCH, "c", "cpp-code", "output C++ source rather than .rsc file" }, - { wxCMD_LINE_SWITCH, "p", "python-code", "output wxPython source rather than .rsc file" }, - { wxCMD_LINE_SWITCH, "g", "gettext", "output list of translatable strings (to stdout or file if -o used)" }, - { wxCMD_LINE_OPTION, "n", "function", "C++/Python function name (with -c or -p) [InitXmlResource]" }, - { wxCMD_LINE_OPTION, "o", "output", "output file [resource.xrs/cpp]" }, + { wxCMD_LINE_SWITCH, _T("v"), _T("verbose"), _T("be verbose") }, + { wxCMD_LINE_SWITCH, _T("c"), _T("cpp-code"), _T("output C++ source rather than .rsc file") }, + { wxCMD_LINE_SWITCH, _T("p"), _T("python-code"), _T("output wxPython source rather than .rsc file") }, + { wxCMD_LINE_SWITCH, _T("g"), _T("gettext"), _T("output list of translatable strings (to stdout or file if -o used)") }, + { wxCMD_LINE_OPTION, _T("n"), _T("function"), _T("C++/Python function name (with -c or -p) [InitXmlResource]") }, + { wxCMD_LINE_OPTION, _T("o"), _T("output"), _T("output file [resource.xrs/cpp]") }, #if 0 // not yet implemented - { wxCMD_LINE_OPTION, "l", "list-of-handlers", "output list of neccessary handlers to this file" }, + { wxCMD_LINE_OPTION, _T("l"), _T("list-of-handlers", _T("output list of neccessary handlers to this file" }, #endif - { wxCMD_LINE_PARAM, NULL, NULL, "input file(s)", + { wxCMD_LINE_PARAM, NULL, NULL, _T("input file(s)"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE | wxCMD_LINE_OPTION_MANDATORY }, @@ -139,30 +139,30 @@ int XmlResApp::OnRun() void XmlResApp::ParseParams(const wxCmdLineParser& cmdline) { - flagGettext = cmdline.Found("g"); - flagVerbose = cmdline.Found("v"); - flagCPP = cmdline.Found("c"); - flagPython = cmdline.Found("p"); + flagGettext = cmdline.Found(_T("g")); + flagVerbose = cmdline.Found(_T("v")); + flagCPP = cmdline.Found(_T("c")); + flagPython = cmdline.Found(_T("p")); - if (!cmdline.Found("o", &parOutput)) + if (!cmdline.Found(_T("o"), &parOutput)) { if (flagGettext) parOutput = wxEmptyString; else { if (flagCPP) - parOutput = "resource.cpp"; + parOutput = _T("resource.cpp"); else if (flagPython) - parOutput = "resource.py"; + parOutput = _T("resource.py"); else - parOutput = "resource.xrs"; + parOutput = _T("resource.xrs"); } } parOutputPath = wxPathOnly(parOutput); - if (!parOutputPath) parOutputPath = "."; + if (!parOutputPath) parOutputPath = _T("."); - if (!cmdline.Found("n", &parFuncname)) - parFuncname = "InitXmlResource"; + if (!cmdline.Found(_T("n"), &parFuncname)) + parFuncname = _T("InitXmlResource"); for (size_t i = 0; i < cmdline.GetParamCount(); i++) parFiles.Add(cmdline.GetParam(i)); @@ -194,19 +194,19 @@ void XmlResApp::CompileRes() wxString XmlResApp::GetInternalFileName(const wxString& name, const wxArrayString& flist) { wxString name2 = name; - name2.Replace(":", "_"); - name2.Replace("/", "_"); - name2.Replace("\\", "_"); - name2.Replace("*", "_"); - name2.Replace("?", "_"); + name2.Replace(_T(":"), _T("_")); + name2.Replace(_T("/"), _T("_")); + name2.Replace(_T("\\"), _T("_")); + name2.Replace(_T("*"), _T("_")); + name2.Replace(_T("?"), _T("_")); - wxString s = wxFileNameFromPath(parOutput) + "$" + name2; + wxString s = wxFileNameFromPath(parOutput) + _T("$") + name2; if (wxFileExists(s) && flist.Index(s) == wxNOT_FOUND) { for (int i = 0;; i++) { - s.Printf(wxFileNameFromPath(parOutput) + "$%03i-" + name2, i); + s.Printf(wxFileNameFromPath(parOutput) + _T("$%03i-") + name2, i); if (!wxFileExists(s) || flist.Index(s) != wxNOT_FOUND) break; } @@ -221,13 +221,13 @@ wxArrayString XmlResApp::PrepareTempFiles() for (size_t i = 0; i < parFiles.Count(); i++) { if (flagVerbose) - wxPrintf("processing " + parFiles[i] + "...\n"); + wxPrintf(_T("processing ") + parFiles[i] + _T("...\n")); wxXmlDocument doc; if (!doc.Load(parFiles[i])) { - wxLogError("Error parsing file " + parFiles[i]); + wxLogError(_T("Error parsing file ") + parFiles[i]); retCode = 1; continue; } @@ -239,7 +239,7 @@ wxArrayString XmlResApp::PrepareTempFiles() wxString internalName = GetInternalFileName(parFiles[i], flist); - doc.Save(parOutputPath + "/" + internalName); + doc.Save(parOutputPath + _T("/") + internalName); flist.Add(internalName); } @@ -251,42 +251,55 @@ wxArrayString XmlResApp::PrepareTempFiles() // find all files mentioned in structure, e.g. <bitmap>filename</bitmap> void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxString& inputPath) { - wxXmlNode *n = node; - if (n == NULL) return; - n = n->GetChildren(); - + // Is 'node' XML node element? + if (node == NULL) return; + if (node->GetType() != wxXML_ELEMENT_NODE) return; + + // Does 'node' contain filename information at all? + bool containsFilename = ( + // Any bitmaps: + (node->GetName() == _T("bitmap")) || + // URLs in wxHtmlWindow: + (node->GetName() == _T("url")) || + // wxBitmapButton: + (node->GetParent() != NULL && + node->GetParent()->GetPropVal(_T("class"), _T("")) == _T("wxBitmapButton") && + (node->GetName() == _T("focus") || + node->GetName() == _T("disabled") || + node->GetName() == _T("selected"))) + ); + + wxXmlNode *n = node->GetChildren(); while (n) { - if ((node->GetType() == wxXML_ELEMENT_NODE) && - // parent is an element, i.e. has subnodes... + if (containsFilename && (n->GetType() == wxXML_TEXT_NODE || - n->GetType() == wxXML_CDATA_SECTION_NODE) && - // ...it is textnode... - ((node/*not n!*/->GetName() == "bitmap") || - (node/*not n!*/->GetName() == "url"))) - // ...and known to contain filename + n->GetType() == wxXML_CDATA_SECTION_NODE)) { wxString fullname; - if (wxIsAbsolutePath(n->GetContent()) || inputPath == "") fullname = n->GetContent(); - else fullname = inputPath + "/" + n->GetContent(); + if (wxIsAbsolutePath(n->GetContent()) || inputPath.empty()) + fullname = n->GetContent(); + else + fullname = inputPath + _T("/") + n->GetContent(); if (flagVerbose) - wxPrintf("adding " + fullname + "...\n"); - + wxPrintf(_T("adding ") + fullname + _T("...\n")); + wxString filename = GetInternalFileName(n->GetContent(), flist); n->SetContent(filename); - flist.Add(filename); + if (flist.Index(filename) == wxNOT_FOUND) + flist.Add(filename); wxFileInputStream sin(fullname); - wxFileOutputStream sout(parOutputPath + "/" + filename); + wxFileOutputStream sout(parOutputPath + _T("/") + filename); sin.Read(sout); // copy the stream } - + // subnodes: if (n->GetType() == wxXML_ELEMENT_NODE) FindFilesInXML(n, flist, inputPath); - + n = n->GetNext(); } } @@ -296,7 +309,7 @@ void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxSt void XmlResApp::DeleteTempFiles(const wxArrayString& flist) { for (size_t i = 0; i < flist.Count(); i++) - wxRemoveFile(parOutputPath + "/" + flist[i]); + wxRemoveFile(parOutputPath + _T("/") + flist[i]); } @@ -306,17 +319,17 @@ void XmlResApp::MakePackageZIP(const wxArrayString& flist) wxString files; for (size_t i = 0; i < flist.Count(); i++) - files += flist[i] + " "; + files += flist[i] + _T(" "); files.RemoveLast(); if (flagVerbose) - wxPrintf("compressing " + parOutput + "...\n"); + wxPrintf(_T("compressing ") + parOutput + _T("...\n")); - if (wxExecute("zip -9 -j " + wxString(flagVerbose ? "" : "-q ") + - parOutput + " " + files, TRUE) == -1) + if (wxExecute(_T("zip -9 -j ") + wxString(flagVerbose ? _T("") : _T("-q ")) + + parOutput + _T(" ") + files, TRUE) == -1) { - wxLogError("Unable to execute zip program. Make sure it is in the path."); - wxLogError("You can download it at http://www.cdrom.com/pub/infozip/"); + wxLogError(_T("Unable to execute zip program. Make sure it is in the path.")); + wxLogError(_T("You can download it at http://www.cdrom.com/pub/infozip/")); retCode = 1; return; } @@ -333,9 +346,9 @@ static wxString FileToCppArray(wxString filename, int num) wxFFile file(filename, "rb"); size_t lng = file.Length(); - snum.Printf("%i", num); - output.Printf("static size_t xml_res_size_" + snum + " = %i;\n", lng); - output += "static unsigned char xml_res_file_" + snum + "[] = {\n"; + snum.Printf(_T("%i"), num); + output.Printf(_T("static size_t xml_res_size_") + snum + _T(" = %i;\n"), lng); + output += _T("static unsigned char xml_res_file_") + snum + _T("[] = {\n"); // we cannot use string literals because MSVC is dumb wannabe compiler // with arbitrary limitation to 2048 strings :( @@ -344,12 +357,12 @@ static wxString FileToCppArray(wxString filename, int num) for (size_t i = 0, linelng = 0; i < lng; i++) { - tmp.Printf("%i", buffer[i]); - if (i != 0) output << ','; + tmp.Printf(_T("%i"), buffer[i]); + if (i != 0) output << _T(','); if (linelng > 70) { linelng = 0; - output << "\n"; + output << _T("\n"); } output << tmp; linelng += tmp.Length()+1; @@ -357,7 +370,7 @@ static wxString FileToCppArray(wxString filename, int num) delete[] buffer; - output += "};\n\n"; + output += _T("};\n\n"); return output; } @@ -369,61 +382,61 @@ void XmlResApp::MakePackageCPP(const wxArrayString& flist) size_t i; if (flagVerbose) - wxPrintf("creating C++ source file " + parOutput + "...\n"); + wxPrintf(_T("creating C++ source file ") + parOutput + _T("...\n")); - file.Write("\ -//\n\ -// This file was automatically generated by wxrc, do not edit by hand.\n\ -//\n\n\ -#include <wx/wxprec.h>\n\ -\n\ -#ifdef __BORLANDC__\n\ - #pragma hdrstop\n\ -#endif\n\ -\n\ -#ifndef WX_PRECOMP\n\ - #include <wx/wx.h>\n\ -#endif\n\ -\ -#include <wx/filesys.h>\n\ -#include <wx/fs_mem.h>\n\ -#include <wx/xrc/xmlres.h>\n\ -#include <wx/xrc/xh_all.h>\n\ -\n"); + file.Write(_T("") +_T("//\n") +_T("// This file was automatically generated by wxrc, do not edit by hand.\n") +_T("//\n\n") +_T("#include <wx/wxprec.h>\n") +_T("\n") +_T("#ifdef __BORLANDC__\n") +_T(" #pragma hdrstop\n") +_T("#endif\n") +_T("\n") +_T("#ifndef WX_PRECOMP\n") +_T(" #include <wx/wx.h>\n") +_T("#endif\n") +_T("") +_T("#include <wx/filesys.h>\n") +_T("#include <wx/fs_mem.h>\n") +_T("#include <wx/xrc/xmlres.h>\n") +_T("#include <wx/xrc/xh_all.h>\n") +_T("\n")); for (i = 0; i < flist.Count(); i++) file.Write(FileToCppArray(flist[i], i)); - file.Write("\ -void " + parFuncname + "()\n\ -{\n\ -\n\ - // Check for memory FS. If not present, load the handler:\n\ - {\n\ - wxMemoryFSHandler::AddFile(\"XRC_resource/dummy_file\", \"dummy one\");\n\ - wxFileSystem fsys;\n\ - wxFSFile *f = fsys.OpenFile(\"memory:XRC_resource/dummy_file\");\n\ - wxMemoryFSHandler::RemoveFile(\"XRC_resource/dummy_file\");\n\ - if (f) delete f;\n\ - else wxFileSystem::AddHandler(new wxMemoryFSHandler);\n\ - }\n\ -\n"); + file.Write(_T("") +_T("void " + parFuncname + "()\n") +_T("{\n") +_T("\n") +_T(" // Check for memory FS. If not present, load the handler:\n") +_T(" {\n") +_T(" wxMemoryFSHandler::AddFile(\"XRC_resource/dummy_file\", \"dummy one\");\n") +_T(" wxFileSystem fsys;\n") +_T(" wxFSFile *f = fsys.OpenFile(\"memory:XRC_resource/dummy_file\");\n") +_T(" wxMemoryFSHandler::RemoveFile(\"XRC_resource/dummy_file\");\n") +_T(" if (f) delete f;\n") +_T(" else wxFileSystem::AddHandler(new wxMemoryFSHandler);\n") +_T(" }\n") +_T("\n")); for (i = 0; i < flist.Count(); i++) { wxString s; - s.Printf(" wxMemoryFSHandler::AddFile(\"XRC_resource/" + flist[i] + - "\", xml_res_file_%i, xml_res_size_%i);\n", i, i); + s.Printf(_T(" wxMemoryFSHandler::AddFile(\"XRC_resource/") + flist[i] + + _T("\", xml_res_file_%i, xml_res_size_%i);\n"), i, i); file.Write(s); } for (i = 0; i < parFiles.Count(); i++) { - file.Write(" wxXmlResource::Get()->Load(\"memory:XRC_resource/" + - GetInternalFileName(parFiles[i], flist) + "\");\n"); + file.Write(_T(" wxXmlResource::Get()->Load(\"memory:XRC_resource/") + + GetInternalFileName(parFiles[i], flist) + _T("\");\n")); } - file.Write("}\n"); + file.Write(_T("}\n")); } @@ -436,8 +449,8 @@ static wxString FileToPythonArray(wxString filename, int num) wxFFile file(filename, "rb"); size_t lng = file.Length(); - snum.Printf("%i", num); - output = " xml_res_file_" + snum + " = \"\"\"\\\n"; + snum.Printf(_T("%i"), num); + output = _T(" xml_res_file_") + snum + _T(" = \"\"\"\\\n"); unsigned char *buffer = new unsigned char[lng]; file.Read(buffer, lng); @@ -451,15 +464,15 @@ static wxString FileToPythonArray(wxString filename, int num) linelng = 0; } else if (c < 32 || c > 127) - tmp.Printf("\\x%02x", c); + tmp.Printf(_T("\\x%02x"), c); else if (c == '\\') - tmp = "\\\\"; + tmp = _T("\\\\"); else tmp = (wxChar)c; if (linelng > 70) { linelng = 0; - output << "\\\n"; + output << _T("\\\n"); } output << tmp; linelng += tmp.Length(); @@ -467,7 +480,7 @@ static wxString FileToPythonArray(wxString filename, int num) delete[] buffer; - output += "\"\"\"\n\n"; + output += _T("\"\"\"\n\n"); return output; } @@ -479,18 +492,18 @@ void XmlResApp::MakePackagePython(const wxArrayString& flist) size_t i; if (flagVerbose) - wxPrintf("creating Python source file " + parOutput + "...\n"); + wxPrintf(_T("creating Python source file ") + parOutput + _T("...\n")); file.Write( - "#\n" - "# This file was automatically generated by wxrc, do not edit by hand.\n" - "#\n\n" - "from wxPython.wx import *\n" - "from wxPython.xrc import *\n\n" + _T("#\n") + _T("# This file was automatically generated by wxrc, do not edit by hand.\n") + _T("#\n\n") + _T("from wxPython.wx import *\n") + _T("from wxPython.xrc import *\n\n") ); - file.Write("def " + parFuncname + "():\n"); + file.Write(_T("def ") + parFuncname + _T("():\n")); for (i = 0; i < flist.Count(); i++) file.Write(FileToPythonArray(flist[i], i)); @@ -498,7 +511,7 @@ void XmlResApp::MakePackagePython(const wxArrayString& flist) for (i = 0; i < flist.Count(); i++) { wxString s; - s.Printf(" wxXmlResource_Get().LoadFromString(xml_res_file_%i)\n", i); + s.Printf(_T(" wxXmlResource_Get().LoadFromString(xml_res_file_%i)\n"), i); file.Write(s); } } @@ -511,7 +524,7 @@ void XmlResApp::OutputGettext() wxFFile fout; if (!parOutput) fout.Attach(stdout); - else fout.Open(parOutput, _T("wt")); + else fout.Open(parOutput, "wt"); for (size_t i = 0; i < str.GetCount(); i++) fout.Write(_T("_(\"") + str[i] + _T("\");\n")); @@ -528,12 +541,12 @@ wxArrayString XmlResApp::FindStrings() for (size_t i = 0; i < parFiles.Count(); i++) { if (flagVerbose) - wxPrintf("processing " + parFiles[i] + "...\n"); + wxPrintf(_T("processing ") + parFiles[i] + _T("...\n")); wxXmlDocument doc; if (!doc.Load(parFiles[i])) { - wxLogError("Error parsing file " + parFiles[i]); + wxLogError(_T("Error parsing file ") + parFiles[i]); retCode = 1; continue; } @@ -567,7 +580,13 @@ static wxString ConvertText(const wxString& str) case wxT('\n') : str2 << wxT("\\n"); break; case wxT('\t') : str2 << wxT("\\t"); break; case wxT('\r') : str2 << wxT("\\r"); break; - case wxT('\\') : str2 << wxT("\\\\"); break; + case wxT('\\') : if ((*(dt+1) != 'n') && + (*(dt+1) != 't') && + (*(dt+1) != 'r')) + str2 << wxT("\\\\"); + else + str2 << wxT("\\"); + break; case wxT('"') : str2 << wxT("\\\""); break; default : str2 << *dt; break; } diff --git a/version-script.in b/version-script.in new file mode 100644 index 0000000000..e10ecc0835 --- /dev/null +++ b/version-script.in @@ -0,0 +1,3 @@ +@WX_VERSION_TAG@ { + *; +}; diff --git a/wx-config.in b/wx-config.in index d6e090754c..2a4f02956f 100755 --- a/wx-config.in +++ b/wx-config.in @@ -4,11 +4,13 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ exec_prefix_set=no CC="@CC@" +GCC="@GCC@" CXX="@CXX@" LD="@SHARED_LD@" cross_compiling=@cross_compiling@ target=@host_alias@ static_flag=@STATIC_FLAG@ +inplace_flag=no usage() { @@ -17,12 +19,18 @@ Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--static] [--libs] [--gl-libs] [--cppflags] [--cflags] [--cxxflags] [--ldflags] [--rezflags] [--cc] [--cxx] [--ld] + [--inplace] wx-config returns configuration information about the installed version of wxWindows. It may be used to query its version and installation directories and also retrieve the C and C++ compilers and linker which were used for its building and the corresponding flags. + +The --inplace flag allows wx-config to be used from the wxWindows +build directory and output flags to use the uninstalled version of +the headers and libs in the build directory. (Currently configure +must be invoked via a full path name for this to work correctly.) EOF exit $1 @@ -30,16 +38,36 @@ EOF cppflags() { + # we should never specify -I/usr/include on the compiler command line: this + # is at best useless and at worst breaks compilation on the systems where + # the system headers are non-ANSI because gcc works around this by storing + # the ANSI-fied versions of them in its private directory which is searched + # after all the directories on the cmd line. + # + # the situation is a bit more complicated with -I/usr/local/include: again, + # it shouldn't be specified with gcc which looks there by default anyhow + # and gives warnings (at least 3.1 does) if it is specified explicitly -- + # but this -I switch *is* needed for the other compilers + # + # note that we assume that if we use GNU cc we also use GNU c++ and vice + # versa, i.e. this won't work (either for --cflags or --cxxflags) if GNU C + # compiler and non-GNU C++ compiler are used or vice versa -- we'll fix + # this when/if anybody complains about it if test "@includedir@" != "/usr/include" \ -a "@includedir@" != "/usr/include/c++" \ - -a "@includedir@" != "/usr/local/include" \ + -a \( "${GCC}" != "yes" \ + -o "@includedir@" != "/usr/local/include" \) \ -a \( "${cross_compiling}" != "yes" \ -o "@includedir@" != "/usr/${target}/include" \) ; then - includes=-I@includedir@ + includes=" -I@includedir@" fi - includes="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes" + if test $inplace_flag = yes ; then + includes="-I$inplace_builddir/lib/wx/include/@TOOLCHAIN_NAME@ -I$inplace_include" + else + includes="-I@libdir@/wx/include/@TOOLCHAIN_NAME@$includes" + fi if test $static_flag = yes ; then echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@ @WX_LARGEFILE_FLAGS@ @@ -104,6 +132,10 @@ while test $# -gt 0; do libs="-L@libdir@" fi + if test $inplace_flag = yes ; then + libs="-L$inplace_builddir/lib" + fi + if test $static_flag = yes ; then echo "$libs @LDFLAGS@ @WXCONFIG_RPATH@ @libdir@/@WXCONFIG_LIBS_STATIC@ @LIBS@ @DMALLOC_LIBS@" else @@ -117,7 +149,10 @@ while test $# -gt 0; do else gllibs="@WXCONFIG_LIBS_GL@" fi - echo @LDFLAGS_GL@ "$gllibs" + if test $inplace_flag = yes ; then + libdir="-L$inplace_builddir/lib" + fi + echo @LDFLAGS_GL@ $libdir $gllibs ;; --cc) echo $CC @@ -128,6 +163,11 @@ while test $# -gt 0; do --ld) echo $LD ;; + --inplace) + inplace_flag=yes + inplace_builddir=`dirname $0` + inplace_include=@top_srcdir@/include + ;; *) usage 1 1>&2 ;; diff --git a/wxBase.spec b/wxBase.spec index d30e17d1f5..db67dfc5b2 100644 --- a/wxBase.spec +++ b/wxBase.spec @@ -1,5 +1,5 @@ %define pref /usr -%define ver 2.3.3 +%define ver 2.3.4 %define ver2 2.3 %define rel 1 diff --git a/wxGTK.spec b/wxGTK.spec index 6fbae7bb96..a1e9534733 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -1,5 +1,5 @@ %define pref /usr -%define ver 2.3.3 +%define ver 2.3.4 %define ver2 2.3 %define rel 1 diff --git a/wxMGL.spec b/wxMGL.spec new file mode 100644 index 0000000000..5dcd4f4eec --- /dev/null +++ b/wxMGL.spec @@ -0,0 +1,123 @@ +%define pref /usr +%define ver 2.3.4 +%define ver2 2.3 +%define rel 1 + +Summary: The SciTech MGL port of the wxWindows library +Name: wxMGL +Version: %{ver} +Release: %{rel} +Copyright: wxWindows Licence +Group: System/Libraries +Source: wxMGL-%{ver}.tar.bz2 +URL: http://www.wxwindows.org +Packager: Vaclav Slavik <vaclav@wxwindows.org> +Prefix: %{pref} +BuildRoot: /var/tmp/%{name}-root + +# all packages providing an implementation of wxWindows library (regardless of +# the toolkit used) should provide the (virtual) wxwin package, this makes it +# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxuniv..." +Provides: wxwin + +Provides: libwx_mgl.so +Provides: libwx_mgl-%{ver2}.so + +Requires: mgl +BuildRequires: mgl-devel + +%description +wxWindows is a free C++ library for cross-platform GUI development. +With wxWindows, you can create applications for different GUIs (GTK+, +Motif/LessTif, MS Windows, Mac) from the same source code. + +%package devel +Summary: The SciTech MGL port of the wxWindows library +Group: Development/Libraries +Requires: wxMGL = %{ver} + +%description devel +Header files for wxMGL, the SciTech MGL port of the wxWindows library. + +%package static +Summary: wxMGL static libraries +Group: Development/Libraries + +%description static +Static libraries for wxMGL. You need them if you want to link statically against wxMGL. + +%prep +%setup -n wxMGL-%{ver} + +%build +if [ "$SMP" != "" ]; then + export MAKE="make -j$SMP" +else + export MAKE="make" +fi + +mkdir obj-shared +cd obj-shared +../configure --prefix=%{pref} --enable-soname --with-mgl +$MAKE +cd .. + +mkdir obj-static +cd obj-static +../configure --prefix=%{pref} --disable-shared --with-mgl +$MAKE +cd .. + +%install +rm -rf $RPM_BUILD_ROOT +(cd obj-static; make prefix=$RPM_BUILD_ROOT%{pref} install) +(cd obj-shared; make prefix=$RPM_BUILD_ROOT%{pref} install) + +%find_lang wxstd + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%post devel +# Install wx-config if there isn't any +if test ! -f %{_bindir}/wx-config ; then + ln -sf wxmgl-%{ver2}-config %{_bindir}/wx-config +fi + +%preun devel +# Remove wx-config if it points to this package +if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then + SUM1=`md5sum %{_bindir}/wxmgl-%{ver2}-config | cut -c 0-32` + SUM2=`md5sum %{_bindir}/wx-config | cut -c 0-32` + if test "x$SUM1" = "x$SUM2" ; then + rm -f %{_bindir}/wx-config + fi +fi + + +%files -f wxstd.lang +%defattr(-,root,root) +%doc COPYING.LIB *.txt +%dir %{_datadir}/wx +%{_datadir}/wx/* +%{_libdir}/libwx_mgl*-%{ver2}*.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/libwx_mgl*-%{ver2}*.so +%dir %{_includedir}/wx +%{_includedir}/wx/* +%dir %{_libdir}/wx +%{_libdir}/wx/* +%{_bindir}/wxmgl*-config +%{_datadir}/aclocal/*.m4 + +%files static +%defattr (-,root,root) +%{_libdir}/lib*.a diff --git a/wxMotif.spec b/wxMotif.spec index 2ddead5b12..97f3a04239 100644 --- a/wxMotif.spec +++ b/wxMotif.spec @@ -3,7 +3,7 @@ # Note that this is NOT a relocatable package %define pref /usr -%define ver 2.3.3 +%define ver 2.3.4 %define ver2 2.3 %define rel 1 diff --git a/wxWINE.spec b/wxWINE.spec index 6f7aad9d63..df40e0c978 100644 --- a/wxWINE.spec +++ b/wxWINE.spec @@ -1,6 +1,6 @@ # Note that this is NOT a relocatable package %define pref /usr -%define ver 2.3.3 +%define ver 2.3.4 %define rel 1 Summary: The WINE port of the wxWindows library diff --git a/wxX11.spec b/wxX11.spec index bc3210d0e8..d987a06e68 100644 --- a/wxX11.spec +++ b/wxX11.spec @@ -1,5 +1,5 @@ %define pref /usr -%define ver 2.3.3 +%define ver 2.3.4 %define ver2 2.3 %define rel 1 diff --git a/wxwin.m4 b/wxwin.m4 index b5959a3383..e567af0914 100644 --- a/wxwin.m4 +++ b/wxwin.m4 @@ -7,7 +7,7 @@ dnl ... dnl AM_OPTIONS_WXCONFIG dnl ... dnl ... -dnl AM_PATH_WXCONFIG(2.3.3, wxWin=1) +dnl AM_PATH_WXCONFIG(2.3.4, wxWin=1) dnl if test "$wxWin" != 1; then dnl AC_MSG_ERROR([ dnl wxWindows must be installed on your system @@ -16,7 +16,7 @@ dnl dnl Please check that wx-config is in path, the directory dnl where wxWindows libraries are installed (returned by dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or -dnl equivalent variable and wxWindows version is 2.3.3 or above. +dnl equivalent variable and wxWindows version is 2.3.4 or above. dnl ]) dnl fi dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" -- 2.45.2