From 103ce3a260eedad2516d7d45d63bd87c4dfad24a Mon Sep 17 00:00:00 2001 From: Bryan Petty Date: Thu, 3 Sep 1998 15:38:49 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create tag 'PRE_REWRITE'. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/PRE_REWRITE@658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- .cvsignore | 7 - Makefile | 173 - TODO.txt | 52 - config.guess | 599 -- config.sub | 927 --- configure | 7190 ----------------- configure.in | 1552 ---- distrib/msw/docsrc.rsp | 85 - distrib/msw/generic.rsp | 565 -- distrib/msw/gtk.rsp | 69 - distrib/msw/msw.rsp | 130 - distrib/msw/tardist.bat | 117 - distrib/msw/wx_hlp.rsp | 2 - distrib/msw/wx_html.rsp | 38 - distrib/msw/wx_pdf.rsp | 1 - distrib/msw/zipdist.bat | 36 - docs/changes.txt | 232 - docs/gtk/install.txt | 420 - docs/latex/porting/back.gif | Bin 225 -> 0 bytes docs/latex/porting/books.bmp | Bin 1222 -> 0 bytes docs/latex/porting/books.gif | Bin 242 -> 0 bytes docs/latex/porting/bullet.bmp | Bin 198 -> 0 bytes docs/latex/porting/contents.gif | Bin 231 -> 0 bytes docs/latex/porting/forward.gif | Bin 109 -> 0 bytes docs/latex/porting/porting.hpj | 16 - docs/latex/porting/porting.tex | 390 - docs/latex/porting/tex2rtf.ini | 28 - docs/latex/porting/texhelp.sty | 289 - docs/latex/porting/up.gif | 1 - docs/latex/wx/activevt.tex | 56 - docs/latex/wx/app.tex | 395 - docs/latex/wx/back.gif | Bin 225 -> 0 bytes docs/latex/wx/bbutton.tex | 231 - docs/latex/wx/bitmap.tex | 683 -- docs/latex/wx/body.tex | 814 -- docs/latex/wx/book1.bmp | Bin 566 -> 0 bytes docs/latex/wx/books.bmp | Bin 1222 -> 0 bytes docs/latex/wx/books.gif | Bin 242 -> 0 bytes docs/latex/wx/brush.tex | 343 - docs/latex/wx/bullet.bmp | Bin 198 -> 0 bytes docs/latex/wx/button.tex | 134 - docs/latex/wx/category.tex | 325 - docs/latex/wx/checkbox.tex | 104 - docs/latex/wx/choice.tex | 202 - docs/latex/wx/clasinfo.tex | 75 - docs/latex/wx/classes.tex | 183 - docs/latex/wx/clientdc.tex | 31 - docs/latex/wx/clipbrd.tex | 103 - docs/latex/wx/closeevt.tex | 57 - docs/latex/wx/cmdevent.tex | 188 - docs/latex/wx/cmdproc.tex | 106 - docs/latex/wx/colordlg.tex | 48 - docs/latex/wx/colour.tex | 266 - docs/latex/wx/combobox.tex | 314 - docs/latex/wx/command.tex | 85 - docs/latex/wx/conditn.tex | 61 - docs/latex/wx/config.tex | 612 -- docs/latex/wx/contents.gif | Bin 231 -> 0 bytes docs/latex/wx/control.tex | 37 - docs/latex/wx/cpp.bmp | Bin 630 -> 0 bytes docs/latex/wx/cursor.tex | 169 - docs/latex/wx/database.tex | 272 - docs/latex/wx/date.tex | 348 - docs/latex/wx/datstrm.tex | 114 - docs/latex/wx/dc.tex | 698 -- docs/latex/wx/ddeclint.tex | 67 - docs/latex/wx/ddeconn.tex | 166 - docs/latex/wx/ddeservr.tex | 45 - docs/latex/wx/debugcxt.tex | 251 - docs/latex/wx/dialog.tex | 311 - docs/latex/wx/dirdlg.tex | 86 - docs/latex/wx/docchfrm.tex | 88 - docs/latex/wx/docmanag.tex | 335 - docs/latex/wx/docmdich.tex | 89 - docs/latex/wx/docmdipr.tex | 79 - docs/latex/wx/docprfrm.tex | 78 - docs/latex/wx/doctempl.tex | 233 - docs/latex/wx/document.tex | 327 - docs/latex/wx/dropevt.tex | 72 - docs/latex/wx/eraseevt.tex | 48 - docs/latex/wx/event.tex | 141 - docs/latex/wx/evthand.tex | 269 - docs/latex/wx/expr.tex | 505 -- docs/latex/wx/file.tex | 169 - docs/latex/wx/filedlg.tex | 179 - docs/latex/wx/filehist.tex | 93 - docs/latex/wx/focusevt.tex | 34 - docs/latex/wx/font.tex | 277 - docs/latex/wx/fontdlg.tex | 187 - docs/latex/wx/fontlist.tex | 48 - docs/latex/wx/forward.gif | Bin 109 -> 0 bytes docs/latex/wx/frame.tex | 571 -- docs/latex/wx/function.tex | 1562 ---- docs/latex/wx/gauge.tex | 182 - docs/latex/wx/gdiobj.tex | 26 - docs/latex/wx/grid.tex | 517 -- docs/latex/wx/grid1.bmp | Bin 68518 -> 0 bytes docs/latex/wx/grid1.eps | 771 -- docs/latex/wx/grid1.gif | Bin 485 -> 0 bytes docs/latex/wx/hand1.bmp | Bin 454 -> 0 bytes docs/latex/wx/hash.tex | 118 - docs/latex/wx/hellow.bmp | Bin 55918 -> 0 bytes docs/latex/wx/hellow.gif | Bin 112 -> 0 bytes docs/latex/wx/hellox.bmp | Bin 64118 -> 0 bytes docs/latex/wx/hellox.gif | Bin 112 -> 0 bytes docs/latex/wx/helpinst.tex | 122 - docs/latex/wx/icon.tex | 397 - docs/latex/wx/idleevt.tex | 59 - docs/latex/wx/ilayout.tex | 133 - docs/latex/wx/imaglist.tex | 160 - docs/latex/wx/indlgevt.tex | 34 - docs/latex/wx/joyevent.tex | 118 - docs/latex/wx/joystick.tex | 294 - docs/latex/wx/keyevent.tex | 197 - docs/latex/wx/layout.tex | 94 - docs/latex/wx/list.tex | 217 - docs/latex/wx/listbox.tex | 356 - docs/latex/wx/listctrl.tex | 545 -- docs/latex/wx/listevt.tex | 87 - docs/latex/wx/manual.tex | 137 - docs/latex/wx/mask.tex | 76 - docs/latex/wx/mdi.tex | 515 -- docs/latex/wx/memorydc.tex | 57 - docs/latex/wx/menu.tex | 611 -- docs/latex/wx/menuevt.tex | 53 - docs/latex/wx/menuitem.tex | 191 - docs/latex/wx/metafile.tex | 125 - docs/latex/wx/minifram.tex | 108 - docs/latex/wx/mltchdlg.tex | 21 - docs/latex/wx/module.tex | 85 - docs/latex/wx/mouseevt.tex | 327 - docs/latex/wx/moveevt.tex | 38 - docs/latex/wx/msgdlg.tex | 63 - docs/latex/wx/mutex.tex | 86 - docs/latex/wx/node.tex | 41 - docs/latex/wx/object.tex | 213 - docs/latex/wx/pagedlg.tex | 242 - docs/latex/wx/paintdc.tex | 35 - docs/latex/wx/paintevt.tex | 31 - docs/latex/wx/palette.tex | 164 - docs/latex/wx/panel.tex | 118 - docs/latex/wx/pantabv.tex | 69 - docs/latex/wx/pathlist.tex | 75 - docs/latex/wx/pen.tex | 380 - docs/latex/wx/plug.bmp | Bin 384 -> 0 bytes docs/latex/wx/point.tex | 37 - docs/latex/wx/postscpt.tex | 34 - docs/latex/wx/prevwin.tex | 177 - docs/latex/wx/print.tex | 650 -- docs/latex/wx/process.tex | 39 - docs/latex/wx/psbox.tex | 520 -- docs/latex/wx/query.tex | 206 - docs/latex/wx/radiobox.tex | 226 - docs/latex/wx/radiobut.tex | 103 - docs/latex/wx/realpoin.tex | 31 - docs/latex/wx/recrdset.tex | 599 -- docs/latex/wx/rect.tex | 159 - docs/latex/wx/referenc.tex | 82 - docs/latex/wx/refs.bib | 59 - docs/latex/wx/region.tex | 182 - docs/latex/wx/screendc.tex | 55 - docs/latex/wx/scrolbar.tex | 295 - docs/latex/wx/scrolevt.tex | 71 - docs/latex/wx/scrolwin.tex | 335 - docs/latex/wx/settings.tex | 141 - docs/latex/wx/shelves.bmp | Bin 630 -> 0 bytes docs/latex/wx/size.tex | 60 - docs/latex/wx/sizeevt.tex | 37 - docs/latex/wx/slider.tex | 371 - docs/latex/wx/sngchdlg.tex | 94 - docs/latex/wx/spinbutt.tex | 164 - docs/latex/wx/splitter.bmp | Bin 22 -> 0 bytes docs/latex/wx/splitter.eps | 301 - docs/latex/wx/splitter.gif | 1 - docs/latex/wx/splitter.tex | 340 - docs/latex/wx/statbmp.tex | 92 - docs/latex/wx/statbox.tex | 72 - docs/latex/wx/stattext.tex | 84 - docs/latex/wx/statusbr.tex | 245 - docs/latex/wx/strlist.tex | 68 - docs/latex/wx/sysclevt.tex | 40 - docs/latex/wx/tab.tex | 568 -- docs/latex/wx/tabctrl.tex | 232 - docs/latex/wx/tabevent.tex | 37 - docs/latex/wx/tapp.tex | 56 - docs/latex/wx/taskbar.tex | 90 - docs/latex/wx/tbitmap.tex | 85 - docs/latex/wx/tcommdlg.tex | 212 - docs/latex/wx/tconstr.tex | 160 - docs/latex/wx/tdb.tex | 240 - docs/latex/wx/tdc.tex | 42 - docs/latex/wx/tdebug.tex | 104 - docs/latex/wx/tdelwin.tex | 130 - docs/latex/wx/tdialog.tex | 31 - docs/latex/wx/tdocview.tex | 305 - docs/latex/wx/tevent.tex | 188 - docs/latex/wx/tex2rtf.ini | 28 - docs/latex/wx/texhelp.sty | 298 - docs/latex/wx/texpr.tex | 203 - docs/latex/wx/text.tex | 440 - docs/latex/wx/textdlg.tex | 64 - docs/latex/wx/tfont.tex | 36 - docs/latex/wx/tgrid.tex | 40 - docs/latex/wx/tguide.tex | 56 - docs/latex/wx/thread.tex | 131 - docs/latex/wx/timaglst.tex | 6 - docs/latex/wx/time.tex | 17 - docs/latex/wx/timer.tex | 59 - docs/latex/wx/tipc.tex | 177 - docs/latex/wx/tlistctl.tex | 6 - docs/latex/wx/toolbar.tex | 656 -- docs/latex/wx/topics.tex | 37 - docs/latex/wx/tprint.tex | 59 - docs/latex/wx/treectrl.tex | 431 - docs/latex/wx/treeevt.tex | 67 - docs/latex/wx/tresourc.tex | 337 - docs/latex/wx/truntime.tex | 93 - docs/latex/wx/tscroll.tex | 90 - docs/latex/wx/tsplittr.tex | 63 - docs/latex/wx/tstring.tex | 6 - docs/latex/wx/tstyles.tex | 14 - docs/latex/wx/ttab.tex | 219 - docs/latex/wx/ttoolbar.tex | 284 - docs/latex/wx/ttreectl.tex | 6 - docs/latex/wx/tusage.tex | 22 - docs/latex/wx/tvalidat.tex | 116 - docs/latex/wx/up.gif | 1 - docs/latex/wx/upditer.tex | 56 - docs/latex/wx/upduievt.tex | 141 - docs/latex/wx/validatr.tex | 90 - docs/latex/wx/valtext.tex | 125 - docs/latex/wx/view.tex | 178 - docs/latex/wx/wave.tex | 64 - docs/latex/wx/window.tex | 1886 ----- docs/latex/wx/windowdc.tex | 33 - docs/latex/wx/winhelp.tex | 107 - docs/latex/wx/wx.hpj | 13 - docs/latex/wx/wxstring.tex | 525 -- docs/latex/wx/wxtab1.bmp | Bin 73718 -> 0 bytes docs/latex/wx/wxtab1.eps | 1086 --- docs/latex/wx/wxtab1.gif | Bin 112 -> 0 bytes docs/licence.txt | 224 - docs/msw/changes.txt | 316 - docs/msw/install.txt | 127 - docs/msw/issues.txt | 74 - docs/msw/readme.txt | 5 - docs/msw/todo.txt | 183 - docs/readme.txt | 10 - docs/symbols.txt | 61 - docs/word/odbc.doc | Bin 233472 -> 0 bytes docs/wxQt.html | 70 - include/wx/accel.h | 19 - include/wx/app.h | 78 - include/wx/bitmap.h | 19 - include/wx/bmpbuttn.h | 18 - include/wx/brush.h | 19 - include/wx/button.h | 19 - include/wx/checkbox.h | 19 - include/wx/checklst.h | 19 - include/wx/choicdlg.h | 7 - include/wx/choice.h | 19 - include/wx/clipbrd.h | 19 - include/wx/cmndata.h | 226 - include/wx/colordlg.h | 19 - include/wx/colour.h | 19 - include/wx/combobox.h | 19 - include/wx/confbase.h | 292 - include/wx/config.h | 17 - include/wx/control.h | 19 - include/wx/cursor.h | 19 - include/wx/date.h | 131 - include/wx/datstrm.h | 48 - include/wx/db.h | 362 - include/wx/dbtable.h | 165 - include/wx/dc.h | 19 - include/wx/dcclient.h | 19 - include/wx/dcmemory.h | 19 - include/wx/dcprint.h | 9 - include/wx/dcscreen.h | 19 - include/wx/dde.h | 19 - include/wx/debug.h | 103 - include/wx/defs.h | 883 -- include/wx/dialog.h | 19 - include/wx/dirdlg.h | 19 - include/wx/dnd.h | 20 - include/wx/docmdi.h | 83 - include/wx/docview.h | 519 -- include/wx/dynarray.h | 407 - include/wx/dynlib.h | 69 - include/wx/event.h | 1272 --- include/wx/expr.h | 129 - include/wx/file.h | 178 - include/wx/fileconf.h | 350 - include/wx/filedlg.h | 19 - include/wx/filefn.h | 208 - include/wx/font.h | 19 - include/wx/fontdlg.h | 29 - include/wx/frame.h | 19 - include/wx/fstream.h | 65 - include/wx/gauge.h | 19 - include/wx/gdicmn.h | 356 - include/wx/gdiobj.h | 19 - include/wx/generic/choicdgg.h | 102 - include/wx/generic/colrdlgg.h | 123 - include/wx/generic/fontdlgg.h | 95 - include/wx/generic/gridg.h | 324 - include/wx/generic/helpxlp.h | 127 - include/wx/generic/imaglist.h | 78 - include/wx/generic/listctrl.h | 630 -- include/wx/generic/msgdlgg.h | 52 - include/wx/generic/panelg.h | 76 - include/wx/generic/printps.h | 57 - include/wx/generic/prntdlgg.h | 145 - include/wx/generic/scrolwin.h | 138 - include/wx/generic/splitter.h | 180 - include/wx/generic/statusbr.h | 92 - include/wx/generic/tabg.h | 343 - include/wx/generic/textdlgg.h | 51 - include/wx/generic/treectrl.h | 351 - include/wx/grid.h | 11 - include/wx/gtk/accel.h | 106 - include/wx/gtk/app.h | 134 - include/wx/gtk/bitmap.h | 142 - include/wx/gtk/bmpbuttn.h | 72 - include/wx/gtk/brush.h | 60 - include/wx/gtk/button.h | 65 - include/wx/gtk/checkbox.h | 64 - include/wx/gtk/choice.h | 78 - include/wx/gtk/colour.h | 77 - include/wx/gtk/combobox.h | 108 - include/wx/gtk/control.h | 60 - include/wx/gtk/cursor.h | 61 - include/wx/gtk/dc.h | 301 - include/wx/gtk/dcclient.h | 109 - include/wx/gtk/dcmemory.h | 50 - include/wx/gtk/dcscreen.h | 32 - include/wx/gtk/dialog.h | 107 - include/wx/gtk/dirdlg.h | 35 - include/wx/gtk/dnd.h | 254 - include/wx/gtk/filedlg.h | 96 - include/wx/gtk/font.h | 120 - include/wx/gtk/frame.h | 125 - include/wx/gtk/gauge.h | 83 - include/wx/gtk/gdiobj.h | 37 - include/wx/gtk/icon.h | 50 - include/wx/gtk/joystick.h | 102 - include/wx/gtk/listbox.h | 98 - include/wx/gtk/mdi.h | 186 - include/wx/gtk/menu.h | 181 - include/wx/gtk/notebook.h | 185 - include/wx/gtk/palette.h | 60 - include/wx/gtk/pen.h | 68 - include/wx/gtk/radiobox.h | 92 - include/wx/gtk/radiobut.h | 66 - include/wx/gtk/region.h | 134 - include/wx/gtk/scrolbar.h | 87 - include/wx/gtk/settings.h | 43 - include/wx/gtk/slider.h | 94 - include/wx/gtk/statbmp.h | 60 - include/wx/gtk/statbox.h | 55 - include/wx/gtk/stattext.h | 57 - include/wx/gtk/tbargtk.h | 140 - include/wx/gtk/textctrl.h | 115 - include/wx/gtk/timer.h | 53 - include/wx/gtk/treectrl.h | 334 - include/wx/gtk/win_gtk.h | 69 - include/wx/gtk/window.h | 318 - include/wx/gtk1/accel.h | 106 - include/wx/gtk1/app.h | 134 - include/wx/gtk1/bitmap.h | 142 - include/wx/gtk1/bmpbuttn.h | 72 - include/wx/gtk1/brush.h | 60 - include/wx/gtk1/button.h | 65 - include/wx/gtk1/checkbox.h | 64 - include/wx/gtk1/choice.h | 78 - include/wx/gtk1/colour.h | 77 - include/wx/gtk1/combobox.h | 108 - include/wx/gtk1/control.h | 60 - include/wx/gtk1/cursor.h | 61 - include/wx/gtk1/dc.h | 301 - include/wx/gtk1/dcclient.h | 109 - include/wx/gtk1/dcmemory.h | 50 - include/wx/gtk1/dcscreen.h | 32 - include/wx/gtk1/dialog.h | 107 - include/wx/gtk1/dirdlg.h | 35 - include/wx/gtk1/dnd.h | 254 - include/wx/gtk1/filedlg.h | 96 - include/wx/gtk1/font.h | 120 - include/wx/gtk1/frame.h | 125 - include/wx/gtk1/gauge.h | 83 - include/wx/gtk1/gdiobj.h | 37 - include/wx/gtk1/icon.h | 50 - include/wx/gtk1/joystick.h | 102 - include/wx/gtk1/listbox.h | 98 - include/wx/gtk1/mdi.h | 186 - include/wx/gtk1/menu.h | 181 - include/wx/gtk1/notebook.h | 185 - include/wx/gtk1/palette.h | 60 - include/wx/gtk1/pen.h | 68 - include/wx/gtk1/radiobox.h | 92 - include/wx/gtk1/radiobut.h | 66 - include/wx/gtk1/region.h | 134 - include/wx/gtk1/scrolbar.h | 87 - include/wx/gtk1/settings.h | 43 - include/wx/gtk1/slider.h | 94 - include/wx/gtk1/statbmp.h | 60 - include/wx/gtk1/statbox.h | 55 - include/wx/gtk1/stattext.h | 57 - include/wx/gtk1/tbargtk.h | 140 - include/wx/gtk1/textctrl.h | 115 - include/wx/gtk1/timer.h | 53 - include/wx/gtk1/treectrl.h | 334 - include/wx/gtk1/win_gtk.h | 69 - include/wx/gtk1/window.h | 318 - include/wx/hash.h | 98 - include/wx/help.h | 24 - include/wx/helpbase.h | 51 - include/wx/helphtml.h | 7 - include/wx/helpwin.h | 7 - include/wx/helpxlp.h | 7 - include/wx/icon.h | 19 - include/wx/imaglist.h | 19 - include/wx/intl.h | 128 - include/wx/ipcbase.h | 97 - include/wx/joystick.h | 17 - include/wx/layout.h | 312 - include/wx/list.h | 143 - include/wx/listbox.h | 19 - include/wx/listctrl.h | 19 - include/wx/listimpl.cpp | 111 - include/wx/log.h | 380 - include/wx/matrix.h | 144 - include/wx/mdi.h | 19 - include/wx/memory.h | 279 - include/wx/menu.h | 19 - include/wx/menuitem.h | 95 - include/wx/metafile.h | 9 - include/wx/minifram.h | 17 - include/wx/module.h | 49 - include/wx/msgdlg.h | 19 - include/wx/mstream.h | 71 - include/wx/msw/accel.h | 81 - include/wx/msw/app.h | 166 - include/wx/msw/bitmap.h | 215 - include/wx/msw/blank.cur | Bin 326 -> 0 bytes include/wx/msw/bmpbuttn.h | 85 - include/wx/msw/brush.h | 81 - include/wx/msw/bullseye.cur | Bin 326 -> 0 bytes include/wx/msw/button.h | 56 - include/wx/msw/checkbox.h | 84 - include/wx/msw/checklst.h | 66 - include/wx/msw/choice.h | 80 - include/wx/msw/clipbrd.h | 111 - include/wx/msw/clock.cur | Bin 326 -> 0 bytes include/wx/msw/colordlg.h | 45 - include/wx/msw/colour.h | 71 - include/wx/msw/combobox.h | 83 - include/wx/msw/control.h | 86 - include/wx/msw/ctl3d/ctl3d.h | 61 - include/wx/msw/curico.h | 22 - include/wx/msw/curicop.h | 63 - include/wx/msw/cursor.h | 69 - include/wx/msw/dc.h | 419 - include/wx/msw/dcclient.h | 65 - include/wx/msw/dcmemory.h | 35 - include/wx/msw/dcprint.h | 38 - include/wx/msw/dcscreen.h | 39 - include/wx/msw/dde.h | 162 - include/wx/msw/dialog.h | 121 - include/wx/msw/dib.h | 26 - include/wx/msw/dibutils.h | 131 - include/wx/msw/dirdlg.h | 47 - include/wx/msw/disable.bmp | Bin 630 -> 0 bytes include/wx/msw/filedlg.h | 89 - include/wx/msw/font.h | 102 - include/wx/msw/fontdlg.h | 46 - include/wx/msw/frame.h | 172 - include/wx/msw/gauge.h | 30 - include/wx/msw/gauge95.h | 77 - include/wx/msw/gaugemsw.h | 77 - include/wx/msw/gdiobj.h | 67 - include/wx/msw/hand.cur | Bin 326 -> 0 bytes include/wx/msw/heart.cur | Bin 326 -> 0 bytes include/wx/msw/helpwin.h | 54 - include/wx/msw/icon.h | 102 - include/wx/msw/imaglist.h | 226 - include/wx/msw/iniconf.h | 104 - include/wx/msw/joystick.h | 93 - include/wx/msw/listbox.h | 136 - include/wx/msw/listctrl.h | 479 -- include/wx/msw/magnif1.cur | Bin 326 -> 0 bytes include/wx/msw/mdi.h | 209 - include/wx/msw/menu.h | 180 - include/wx/msw/metafile.h | 104 - include/wx/msw/minifram.h | 46 - include/wx/msw/msgdlg.h | 49 - include/wx/msw/noentry.cur | Bin 326 -> 0 bytes include/wx/msw/notebook.h | 209 - include/wx/msw/ole/dataobj.h | 109 - include/wx/msw/ole/dropsrc.h | 73 - include/wx/msw/ole/droptgt.h | 111 - include/wx/msw/ole/oleutils.h | 146 - include/wx/msw/ole/uuid.h | 91 - include/wx/msw/palette.h | 66 - include/wx/msw/pbrush.cur | Bin 326 -> 0 bytes include/wx/msw/pen.h | 100 - include/wx/msw/pencil.cur | Bin 326 -> 0 bytes include/wx/msw/pnghand.h | 31 - include/wx/msw/pngread.h | 294 - include/wx/msw/pntleft.cur | Bin 326 -> 0 bytes include/wx/msw/pntright.cur | Bin 326 -> 0 bytes include/wx/msw/printdlg.h | 71 - include/wx/msw/printwin.h | 59 - include/wx/msw/private.h | 155 - include/wx/msw/query.cur | Bin 326 -> 0 bytes include/wx/msw/radiobox.h | 139 - include/wx/msw/radiobut.h | 92 - include/wx/msw/regconf.h | 98 - include/wx/msw/region.h | 137 - include/wx/msw/registry.h | 214 - include/wx/msw/roller.cur | Bin 326 -> 0 bytes include/wx/msw/scrolbar.h | 91 - include/wx/msw/settings.h | 129 - include/wx/msw/setup.h | 283 - include/wx/msw/size.cur | Bin 326 -> 0 bytes include/wx/msw/slider.h | 30 - include/wx/msw/slider95.h | 110 - include/wx/msw/slidrmsw.h | 110 - include/wx/msw/spinbutt.h | 107 - include/wx/msw/statbmp.h | 67 - include/wx/msw/statbox.h | 63 - include/wx/msw/statbr95.h | 55 - include/wx/msw/stattext.h | 64 - include/wx/msw/tabctrl.h | 153 - include/wx/msw/taskbar.h | 66 - include/wx/msw/tbar95.h | 98 - include/wx/msw/tbarmsw.h | 123 - include/wx/msw/textctrl.h | 156 - include/wx/msw/timer.h | 52 - include/wx/msw/treectrl.h | 298 - include/wx/msw/watch1.cur | Bin 326 -> 0 bytes include/wx/msw/wave.h | 43 - include/wx/msw/window.h | 747 -- include/wx/msw/wx.rc | 110 - include/wx/notebook.h | 19 - include/wx/object.h | 234 - include/wx/objstrm.h | 83 - include/wx/odbc.h | 334 - include/wx/ownerdrw.h | 135 - include/wx/palette.h | 19 - include/wx/panel.h | 7 - include/wx/pen.h | 19 - include/wx/pnghand.h | 17 - include/wx/postscrp.h | 299 - include/wx/print.h | 28 - include/wx/printdlg.h | 19 - include/wx/prntbase.h | 342 - include/wx/process.h | 58 - include/wx/qt/app.h | 153 - include/wx/qt/bitmap.h | 198 - include/wx/qt/bmpbuttn.h | 83 - include/wx/qt/brush.h | 86 - include/wx/qt/button.h | 53 - include/wx/qt/checkbox.h | 81 - include/wx/qt/choice.h | 72 - include/wx/qt/colour.h | 68 - include/wx/qt/combobox.h | 78 - include/wx/qt/control.h | 50 - include/wx/qt/cursor.h | 75 - include/wx/qt/dc.h | 375 - include/wx/qt/dcclient.h | 100 - include/wx/qt/dcmemory.h | 38 - include/wx/qt/dcscreen.h | 39 - include/wx/qt/dialog.h | 98 - include/wx/qt/dirdlg.h | 47 - include/wx/qt/dnd.h | 239 - include/wx/qt/filedlg.h | 89 - include/wx/qt/font.h | 88 - include/wx/qt/frame.h | 156 - include/wx/qt/gauge.h | 69 - include/wx/qt/gdiobj.h | 48 - include/wx/qt/icon.h | 107 - include/wx/qt/joystick.h | 93 - include/wx/qt/listbox.h | 97 - include/wx/qt/mdi.h | 160 - include/wx/qt/menu.h | 157 - include/wx/qt/notebook.h | 202 - include/wx/qt/palette.h | 66 - include/wx/qt/pen.h | 102 - include/wx/qt/radiobox.h | 88 - include/wx/qt/radiobut.h | 92 - include/wx/qt/region.h | 140 - include/wx/qt/scrolbar.h | 68 - include/wx/qt/settings.h | 129 - include/wx/qt/slider.h | 91 - include/wx/qt/statbmp.h | 64 - include/wx/qt/statbox.h | 57 - include/wx/qt/stattext.h | 56 - include/wx/qt/tbargtk.h | 139 - include/wx/qt/textctrl.h | 139 - include/wx/qt/timer.h | 57 - include/wx/qt/window.h | 547 -- include/wx/radiobox.h | 19 - include/wx/radiobut.h | 19 - include/wx/region.h | 19 - include/wx/resource.h | 174 - include/wx/scrolbar.h | 19 - include/wx/scrolwin.h | 7 - include/wx/serbase.h | 57 - include/wx/settings.h | 123 - include/wx/setup.h | 26 - include/wx/slider.h | 19 - include/wx/spinbutt.h | 19 - include/wx/splitter.h | 7 - include/wx/statbmp.h | 19 - include/wx/statbox.h | 19 - include/wx/stattext.h | 19 - include/wx/statusbr.h | 7 - include/wx/stream.h | 215 - include/wx/string.h | 930 --- include/wx/stubs/accel.h | 80 - include/wx/stubs/app.h | 155 - include/wx/stubs/bitmap.h | 198 - include/wx/stubs/bmpbuttn.h | 83 - include/wx/stubs/brush.h | 86 - include/wx/stubs/button.h | 53 - include/wx/stubs/checkbox.h | 81 - include/wx/stubs/checklst.h | 47 - include/wx/stubs/choice.h | 72 - include/wx/stubs/clipbrd.h | 104 - include/wx/stubs/colordlg.h | 46 - include/wx/stubs/colour.h | 73 - include/wx/stubs/combobox.h | 78 - include/wx/stubs/control.h | 50 - include/wx/stubs/cursor.h | 76 - include/wx/stubs/dc.h | 376 - include/wx/stubs/dcclient.h | 101 - include/wx/stubs/dcmemory.h | 38 - include/wx/stubs/dcprint.h | 34 - include/wx/stubs/dcscreen.h | 39 - include/wx/stubs/dialog.h | 98 - include/wx/stubs/dirdlg.h | 49 - include/wx/stubs/dnd.h | 238 - include/wx/stubs/filedlg.h | 89 - include/wx/stubs/font.h | 90 - include/wx/stubs/fontdlg.h | 46 - include/wx/stubs/frame.h | 156 - include/wx/stubs/gauge.h | 69 - include/wx/stubs/gdiobj.h | 48 - include/wx/stubs/helpxxxx.h | 52 - include/wx/stubs/icon.h | 107 - include/wx/stubs/imaglist.h | 145 - include/wx/stubs/joystick.h | 93 - include/wx/stubs/listbox.h | 97 - include/wx/stubs/listctrl.h | 451 -- include/wx/stubs/mdi.h | 164 - include/wx/stubs/menu.h | 157 - include/wx/stubs/metafile.h | 101 - include/wx/stubs/minifram.h | 46 - include/wx/stubs/msgdlg.h | 50 - include/wx/stubs/notebook.h | 204 - include/wx/stubs/palette.h | 65 - include/wx/stubs/pen.h | 104 - include/wx/stubs/print.h | 56 - include/wx/stubs/printdlg.h | 70 - include/wx/stubs/private.h | 21 - include/wx/stubs/radiobox.h | 88 - include/wx/stubs/radiobut.h | 90 - include/wx/stubs/region.h | 135 - include/wx/stubs/scrolbar.h | 68 - include/wx/stubs/settings.h | 133 - include/wx/stubs/setup.h | 118 - include/wx/stubs/slider.h | 91 - include/wx/stubs/spinbutt.h | 97 - include/wx/stubs/statbmp.h | 64 - include/wx/stubs/statbox.h | 57 - include/wx/stubs/stattext.h | 56 - include/wx/stubs/statusbr.h | 54 - include/wx/stubs/tabctrl.h | 138 - include/wx/stubs/taskbar.h | 49 - include/wx/stubs/textctrl.h | 139 - include/wx/stubs/timer.h | 57 - include/wx/stubs/toolbar.h | 77 - include/wx/stubs/treectrl.h | 295 - include/wx/stubs/wave.h | 44 - include/wx/stubs/window.h | 543 -- include/wx/tab.h | 7 - include/wx/tabctrl.h | 16 - include/wx/taskbar.h | 15 - include/wx/tbar95.h | 13 - include/wx/tbarbase.h | 243 - include/wx/tbarmsw.h | 13 - include/wx/tbarsmpl.h | 79 - include/wx/textctrl.h | 19 - include/wx/textdlg.h | 7 - include/wx/textfile.h | 123 - include/wx/thread.h | 158 - include/wx/time.h | 97 - include/wx/timer.h | 19 - include/wx/toolbar.h | 25 - include/wx/treectrl.h | 19 - include/wx/types.h | 97 - include/wx/utils.h | 312 - include/wx/validate.h | 70 - include/wx/valtext.h | 77 - include/wx/version.h | 25 - include/wx/window.h | 19 - include/wx/wx.h | 74 - include/wx/wxexpr.h | 281 - include/wx/wxprec.h | 61 - include/wx/zstream.h | 59 - install-sh | 250 - install/unix/.cvsignore | 6 - lib/.cvsignore | 2 - lib/dummy | 1 - misc/afm/Cour.afm | 341 - misc/afm/CourBo.afm | 341 - misc/afm/CourBoO.afm | 341 - misc/afm/CourO.afm | 341 - misc/afm/Helv.afm | 435 - misc/afm/HelvBo.afm | 431 - misc/afm/HelvBoO.afm | 429 - misc/afm/HelvO.afm | 428 - misc/afm/TimesBo.afm | 454 -- misc/afm/TimesBoO.afm | 438 - misc/afm/TimesO.afm | 450 -- misc/afm/TimesRo.afm | 443 - misc/gs_afm/Cour.afm | 255 - misc/gs_afm/CourBo.afm | 255 - misc/gs_afm/CourBoO.afm | 255 - misc/gs_afm/CourO.afm | 255 - misc/gs_afm/Helv.afm | 1257 --- misc/gs_afm/HelvBo.afm | 1257 --- misc/gs_afm/HelvBoO.afm | 1257 --- misc/gs_afm/HelvO.afm | 1257 --- misc/gs_afm/TimesBo.afm | 1257 --- misc/gs_afm/TimesBoO.afm | 1253 --- misc/gs_afm/TimesO.afm | 1253 --- misc/gs_afm/TimesRo.afm | 1257 --- misc/imlib/im_palette.pal | 64 - misc/imlib/imrc | 99 - mkinstalldirs | 36 - samples/Makefile | 1 - samples/checklst/bell.bmp | Bin 370 -> 0 bytes samples/checklst/checklst.cpp | 185 - samples/checklst/checklst.def | 8 - samples/checklst/checklst.rc | 6 - samples/checklst/makefile.b32 | 64 - samples/checklst/makefile.dos | 65 - samples/checklst/makefile.g95 | 37 - samples/checklst/makefile.nt | 64 - samples/checklst/mondrian.ico | Bin 766 -> 0 bytes samples/checklst/nosound.bmp | Bin 370 -> 0 bytes samples/checklst/sound.bmp | Bin 370 -> 0 bytes samples/config/.cvsignore | 3 - samples/config/Makefile | 1 - samples/config/Makefile.in | 24 - samples/config/conftest.cpp | 232 - samples/config/conftest.rc | 2 - samples/config/makefile.nt | 64 - samples/controls/.cvsignore | 3 - samples/controls/Makefile | 1 - samples/controls/Makefile.in | 26 - samples/controls/controls.cpp | 416 - samples/controls/controls.def | 8 - samples/controls/controls.rc | 3 - samples/controls/makefile.b32 | 64 - samples/controls/makefile.dos | 65 - samples/controls/makefile.g95 | 37 - samples/controls/makefile.nt | 64 - samples/controls/mondrian.ico | Bin 766 -> 0 bytes samples/controls/mondrian.xpm | 44 - samples/db/dbtest.cpp | 2041 ----- samples/db/dbtest.def | 8 - samples/db/dbtest.h | 286 - samples/db/dbtest.ico | Bin 766 -> 0 bytes samples/db/dbtest.rc | 3 - samples/db/listdb.cpp | 412 - samples/db/listdb.h | 125 - samples/db/makefile.nt | 97 - samples/db/makefile.unx | 71 - samples/dialogs/.cvsignore | 3 - samples/dialogs/Makefile | 1 - samples/dialogs/Makefile.in | 26 - samples/dialogs/dialogs.cpp | 301 - samples/dialogs/dialogs.def | 8 - samples/dialogs/dialogs.h | 73 - samples/dialogs/dialogs.rc | 2 - samples/dialogs/makefile.b32 | 62 - samples/dialogs/makefile.dos | 81 - samples/dialogs/makefile.g95 | 35 - samples/dialogs/makefile.nt | 63 - samples/dnd/.cvsignore | 3 - samples/dnd/Makefile | 1 - samples/dnd/Makefile.in | 26 - samples/dnd/d_and_d.txt | 167 - samples/dnd/dnd.cpp | 359 - samples/dnd/dnd.def | 8 - samples/dnd/dnd.rc | 3 - samples/dnd/makefile.b32 | 64 - samples/dnd/makefile.dos | 65 - samples/dnd/makefile.g95 | 37 - samples/dnd/makefile.nt | 64 - samples/dnd/mondrian.ico | Bin 766 -> 0 bytes samples/dnd/mondrian.xpm | 44 - samples/docview/.cvsignore | 3 - samples/docview/Makefile | 1 - samples/docview/Makefile.in | 26 - samples/docview/aiai.ico | Bin 766 -> 0 bytes samples/docview/chart.ico | Bin 766 -> 0 bytes samples/docview/doc.cpp | 275 - samples/docview/doc.h | 98 - samples/docview/doc.ico | Bin 766 -> 0 bytes samples/docview/docview.cpp | 268 - samples/docview/docview.def | 8 - samples/docview/docview.h | 66 - samples/docview/docview.rc | 5 - samples/docview/makefile.b32 | 67 - samples/docview/makefile.bcc | 77 - samples/docview/makefile.dos | 74 - samples/docview/makefile.g95 | 43 - samples/docview/makefile.nt | 75 - samples/docview/makefile.sc | 38 - samples/docview/makefile.unx | 64 - samples/docview/makefile.vms | 44 - samples/docview/makefile.wat | 43 - samples/docview/mondrian.ico | Bin 766 -> 0 bytes samples/docview/mondrian.xpm | 44 - samples/docview/notepad.ico | Bin 766 -> 0 bytes samples/docview/view.cpp | 286 - samples/docview/view.h | 79 - samples/docvwmdi/.cvsignore | 3 - samples/docvwmdi/Makefile | 1 - samples/docvwmdi/Makefile.in | 26 - samples/docvwmdi/chart.ico | Bin 766 -> 0 bytes samples/docvwmdi/doc.cpp | 275 - samples/docvwmdi/doc.h | 98 - samples/docvwmdi/doc.ico | Bin 766 -> 0 bytes samples/docvwmdi/docview.cpp | 221 - samples/docvwmdi/docview.def | 8 - samples/docvwmdi/docview.h | 63 - samples/docvwmdi/docview.rc | 6 - samples/docvwmdi/makefile.b32 | 67 - samples/docvwmdi/makefile.dos | 74 - samples/docvwmdi/makefile.g95 | 43 - samples/docvwmdi/makefile.nt | 75 - samples/docvwmdi/makefile.unx | 64 - samples/docvwmdi/notepad.ico | Bin 766 -> 0 bytes samples/docvwmdi/view.cpp | 264 - samples/docvwmdi/view.h | 79 - samples/dynamic/.cvsignore | 3 - samples/dynamic/Makefile | 1 - samples/dynamic/Makefile.in | 26 - samples/dynamic/dynamic.cpp | 113 - samples/dynamic/dynamic.def | 8 - samples/dynamic/dynamic.rc | 3 - samples/dynamic/makefile.b32 | 64 - samples/dynamic/makefile.dos | 65 - samples/dynamic/makefile.g95 | 37 - samples/dynamic/makefile.nt | 64 - samples/dynamic/minimal.cpp | 113 - samples/dynamic/mondrian.ico | Bin 766 -> 0 bytes samples/dynamic/mondrian.xpm | 44 - samples/forty/.cvsignore | 3 - samples/forty/Makefile | 1 - samples/forty/Makefile.in | 40 - samples/forty/canvas.cpp | 254 - samples/forty/canvas.h | 56 - samples/forty/card.cpp | 358 - samples/forty/card.h | 65 - samples/forty/cards.ico | Bin 766 -> 0 bytes samples/forty/forty.cpp | 258 - samples/forty/forty.h | 31 - samples/forty/forty.rc | 6 - samples/forty/game.cpp | 943 --- samples/forty/game.h | 135 - samples/forty/makefile.nt | 98 - samples/forty/pictures.bmp | Bin 2818 -> 0 bytes samples/forty/pictures.xpm | 60 - samples/forty/pile.cpp | 305 - samples/forty/pile.h | 80 - samples/forty/playerdg.cpp | 192 - samples/forty/playerdg.h | 41 - samples/forty/scoredg.cpp | 187 - samples/forty/scoredg.h | 32 - samples/forty/scorefil.cpp | 183 - samples/forty/scorefil.h | 37 - samples/forty/symbols.bmp | Bin 662 -> 0 bytes samples/forty/symbols.xbm | 37 - samples/forty/symbols.xpm | 60 - samples/grid/.cvsignore | 3 - samples/grid/Makefile | 1 - samples/grid/Makefile.in | 26 - samples/grid/bitmap1.bmp | Bin 406 -> 0 bytes samples/grid/bitmap2.bmp | Bin 238 -> 0 bytes samples/grid/makefile.b32 | 63 - samples/grid/makefile.dos | 66 - samples/grid/makefile.g95 | 37 - samples/grid/makefile.nt | 64 - samples/grid/test.cpp | 315 - samples/grid/test.def | 8 - samples/grid/test.rc | 5 - samples/internat/.cvsignore | 3 - samples/internat/Makefile | 1 - samples/internat/Makefile.in | 26 - samples/internat/internat.cpp | 174 - samples/internat/internat.def | 8 - samples/internat/internat.po | 74 - samples/internat/internat.rc | 3 - samples/internat/makefile.b32 | 64 - samples/internat/makefile.bcc | 73 - samples/internat/makefile.dos | 65 - samples/internat/makefile.g95 | 36 - samples/internat/makefile.nt | 64 - samples/internat/makefile.sc | 35 - samples/internat/makefile.unx | 58 - samples/internat/makefile.vms | 38 - samples/internat/makefile.wat | 43 - samples/internat/mondrian.ico | Bin 766 -> 0 bytes samples/internat/mondrian.xpm | 44 - samples/internat/wxstd.po | 131 - samples/joytest/chart.ico | Bin 766 -> 0 bytes samples/joytest/gun.wav | Bin 26838 -> 0 bytes samples/joytest/joytest.cpp | 171 - samples/joytest/joytest.def | 8 - samples/joytest/joytest.h | 51 - samples/joytest/joytest.ico | Bin 766 -> 0 bytes samples/joytest/joytest.rc | 5 - samples/joytest/makefile.b32 | 64 - samples/joytest/makefile.bcc | 75 - samples/joytest/makefile.dos | 63 - samples/joytest/makefile.g95 | 35 - samples/joytest/makefile.nt | 63 - samples/joytest/makefile.sc | 37 - samples/joytest/makefile.unx | 55 - samples/joytest/makefile.wat | 43 - samples/joytest/mondrian.ico | Bin 766 -> 0 bytes samples/layout/.cvsignore | 3 - samples/layout/Makefile | 1 - samples/layout/Makefile.in | 26 - samples/layout/expt.cpp | 161 - samples/layout/fload.xbm | 11 - samples/layout/layout.cpp | 355 - samples/layout/layout.def | 9 - samples/layout/layout.h | 79 - samples/layout/layout.rc | 1 - samples/layout/makefile.b32 | 63 - samples/layout/makefile.bcc | 76 - samples/layout/makefile.dos | 85 - samples/layout/makefile.g95 | 35 - samples/layout/makefile.nt | 63 - samples/layout/makefile.sc | 37 - samples/layout/makefile.unx | 76 - samples/layout/makefile.vms | 41 - samples/layout/makefile.wat | 44 - samples/listctrl/.cvsignore | 3 - samples/listctrl/Makefile | 1 - samples/listctrl/Makefile.in | 26 - samples/listctrl/bitmaps/small1.ico | Bin 1078 -> 0 bytes samples/listctrl/bitmaps/small1.xpm | 27 - samples/listctrl/bitmaps/toolbrai.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/toolbrai.xpm | 42 - samples/listctrl/bitmaps/toolchar.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/toolchar.xpm | 42 - samples/listctrl/bitmaps/toolchec.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/toolchec.xpm | 40 - samples/listctrl/bitmaps/tooldata.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/tooldata.xpm | 45 - samples/listctrl/bitmaps/toolgame.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/toolgame.xpm | 41 - samples/listctrl/bitmaps/toolnote.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/toolnote.xpm | 46 - samples/listctrl/bitmaps/tooltime.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/tooltime.xpm | 43 - samples/listctrl/bitmaps/tooltodo.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/tooltodo.xpm | 44 - samples/listctrl/bitmaps/toolword.ico | Bin 766 -> 0 bytes samples/listctrl/bitmaps/toolword.xpm | 41 - samples/listctrl/listtest.cpp | 507 -- samples/listctrl/listtest.def | 8 - samples/listctrl/listtest.h | 84 - samples/listctrl/listtest.rc | 16 - samples/listctrl/makefile.b32 | 63 - samples/listctrl/makefile.dos | 81 - samples/listctrl/makefile.g95 | 37 - samples/listctrl/makefile.nt | 64 - samples/listctrl/mondrian.ico | Bin 766 -> 0 bytes samples/listctrl/mondrian.xpm | 44 - samples/makefile.g95 | 66 - samples/makefile.nt | 161 - samples/mdi/.cvsignore | 3 - samples/mdi/Makefile | 1 - samples/mdi/Makefile.in | 26 - samples/mdi/bitmaps/abacus.bmp | Bin 566 -> 0 bytes samples/mdi/bitmaps/bitmap1.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/bitmap2.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/brush.bmp | Bin 740 -> 0 bytes samples/mdi/bitmaps/calc.bmp | Bin 702 -> 0 bytes samples/mdi/bitmaps/chart.bmp | Bin 600 -> 0 bytes samples/mdi/bitmaps/colour.bmp | Bin 734 -> 0 bytes samples/mdi/bitmaps/copy.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/copy.xpm | 25 - samples/mdi/bitmaps/cut.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/cut.xpm | 24 - samples/mdi/bitmaps/dirplain.xbm | 14 - samples/mdi/bitmaps/draft.xbm | 14 - samples/mdi/bitmaps/drawing.xbm | 14 - samples/mdi/bitmaps/files.bmp | Bin 672 -> 0 bytes samples/mdi/bitmaps/flowchar.xbm | 14 - samples/mdi/bitmaps/help.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/help.xpm | 25 - samples/mdi/bitmaps/helpcs.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/magnify.bmp | Bin 722 -> 0 bytes samples/mdi/bitmaps/mike.bmp | Bin 708 -> 0 bytes samples/mdi/bitmaps/new.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/new.xpm | 24 - samples/mdi/bitmaps/open.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/open.xpm | 26 - samples/mdi/bitmaps/page.bmp | Bin 714 -> 0 bytes samples/mdi/bitmaps/paste.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/paste.xpm | 27 - samples/mdi/bitmaps/preview.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/preview.xpm | 26 - samples/mdi/bitmaps/print.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/print.xpm | 26 - samples/mdi/bitmaps/save.bmp | Bin 238 -> 0 bytes samples/mdi/bitmaps/save.xpm | 25 - samples/mdi/bitmaps/screw.bmp | Bin 636 -> 0 bytes samples/mdi/bitmaps/shapes.bmp | Bin 780 -> 0 bytes samples/mdi/bitmaps/speaker.bmp | Bin 648 -> 0 bytes samples/mdi/bitmaps/telephon.bmp | Bin 676 -> 0 bytes samples/mdi/bitmaps/therm.bmp | Bin 812 -> 0 bytes samples/mdi/bitmaps/tick.bmp | Bin 220 -> 0 bytes samples/mdi/bitmaps/torch.bmp | Bin 706 -> 0 bytes samples/mdi/bitmaps/wrench.bmp | Bin 744 -> 0 bytes samples/mdi/bitmaps/write.xbm | 14 - samples/mdi/chart.ico | Bin 766 -> 0 bytes samples/mdi/makefile.b32 | 64 - samples/mdi/makefile.bcc | 75 - samples/mdi/makefile.dos | 63 - samples/mdi/makefile.g95 | 35 - samples/mdi/makefile.nt | 63 - samples/mdi/makefile.sc | 36 - samples/mdi/makefile.unx | 55 - samples/mdi/makefile.vms | 38 - samples/mdi/makefile.wat | 43 - samples/mdi/mdi.cpp | 358 - samples/mdi/mdi.def | 8 - samples/mdi/mdi.h | 67 - samples/mdi/mdi.ico | Bin 766 -> 0 bytes samples/mdi/mdi.rc | 24 - samples/mdi/mondrian.ico | Bin 766 -> 0 bytes samples/mdi/mondrian.xpm | 44 - samples/memcheck/.cvsignore | 3 - samples/memcheck/Makefile | 1 - samples/memcheck/Makefile.in | 26 - samples/memcheck/makefile.b32 | 65 - samples/memcheck/makefile.bcc | 77 - samples/memcheck/makefile.dos | 87 - samples/memcheck/makefile.g95 | 38 - samples/memcheck/makefile.nt | 62 - samples/memcheck/makefile.unx | 62 - samples/memcheck/makefile.wat | 43 - samples/memcheck/memcheck.cpp | 123 - samples/memcheck/memcheck.def | 8 - samples/memcheck/memcheck.rc | 3 - samples/memcheck/mondrian.ico | Bin 766 -> 0 bytes samples/memcheck/mondrian.xpm | 44 - samples/mfc/makefile.b32 | 71 - samples/mfc/makefile.bcc | 76 - samples/mfc/makefile.dos | 89 - samples/mfc/makefile.nt | 66 - samples/mfc/makefile.wat | 47 - samples/mfc/mfctest.cpp | 408 - samples/mfc/mfctest.def | 21 - samples/mfc/mfctest.h | 66 - samples/mfc/mfctest.ico | Bin 766 -> 0 bytes samples/mfc/mfctest.rc | 108 - samples/mfc/resource.h | 18 - samples/mfc/stdafx.h | 12 - samples/minimal/.cvsignore | 3 - samples/minimal/Makefile | 1 - samples/minimal/Makefile.in | 26 - samples/minimal/makefile.b32 | 64 - samples/minimal/makefile.dos | 65 - samples/minimal/makefile.g95 | 37 - samples/minimal/makefile.nt | 64 - samples/minimal/minimal.cpp | 119 - samples/minimal/minimal.def | 8 - samples/minimal/minimal.rc | 6 - samples/minimal/mondrian.ico | Bin 766 -> 0 bytes samples/minimal/mondrian.xpm | 44 - samples/nativdlg/dialog1.rc | 142 - samples/nativdlg/makefile.b32 | 64 - samples/nativdlg/makefile.bcc | 74 - samples/nativdlg/makefile.dos | 86 - samples/nativdlg/makefile.g95 | 36 - samples/nativdlg/makefile.nt | 63 - samples/nativdlg/makefile.sc | 35 - samples/nativdlg/makefile.unx | 76 - samples/nativdlg/makefile.vms | 38 - samples/nativdlg/makefile.wat | 42 - samples/nativdlg/nativdlg.cpp | 130 - samples/nativdlg/nativdlg.def | 9 - samples/nativdlg/nativdlg.h | 47 - samples/nativdlg/nativdlg.rc | 4 - samples/nativdlg/resource.h | 25 - samples/ownerdrw/bell.bmp | Bin 370 -> 0 bytes samples/ownerdrw/makefile.b32 | 64 - samples/ownerdrw/makefile.dos | 65 - samples/ownerdrw/makefile.g95 | 37 - samples/ownerdrw/makefile.nt | 64 - samples/ownerdrw/mondrian.ico | Bin 766 -> 0 bytes samples/ownerdrw/nosound.bmp | Bin 370 -> 0 bytes samples/ownerdrw/ownerdrw.cpp | 293 - samples/ownerdrw/ownerdrw.def | 8 - samples/ownerdrw/ownerdrw.rc | 6 - samples/ownerdrw/sound.bmp | Bin 370 -> 0 bytes samples/png/.cvsignore | 3 - samples/png/Makefile | 1 - samples/png/Makefile.in | 26 - samples/png/makefile.nt | 66 - samples/png/pngdemo.cpp | 186 - samples/png/pngdemo.h | 57 - samples/png/pngdemo.rc | 2 - samples/printing/.cvsignore | 3 - samples/printing/Cour.afm | 341 - samples/printing/CourBo.afm | 341 - samples/printing/CourBoO.afm | 341 - samples/printing/CourO.afm | 341 - samples/printing/Helv.afm | 435 - samples/printing/HelvBo.afm | 431 - samples/printing/HelvBoO.afm | 429 - samples/printing/HelvO.afm | 428 - samples/printing/Makefile | 1 - samples/printing/Makefile.in | 26 - samples/printing/TimesBo.afm | 454 -- samples/printing/TimesBoO.afm | 438 - samples/printing/TimesO.afm | 450 -- samples/printing/TimesRo.afm | 443 - samples/printing/fload.xbm | 11 - samples/printing/folder.xpm | 48 - samples/printing/makefile.b32 | 63 - samples/printing/makefile.dos | 88 - samples/printing/makefile.g95 | 37 - samples/printing/makefile.nt | 62 - samples/printing/mondrian.ico | Bin 766 -> 0 bytes samples/printing/mondrian.xpm | 44 - samples/printing/printing.cpp | 546 -- samples/printing/printing.def | 9 - samples/printing/printing.h | 93 - samples/printing/printing.rc | 3 - samples/regtest/key1.ico | Bin 318 -> 0 bytes samples/regtest/key2.ico | Bin 318 -> 0 bytes samples/regtest/key3.ico | Bin 318 -> 0 bytes samples/regtest/makefile.g95 | 37 - samples/regtest/makefile.nt | 64 - samples/regtest/registry.ico | Bin 1078 -> 0 bytes samples/regtest/regtest.cpp | 840 -- samples/regtest/regtest.rc | 9 - samples/regtest/value1.ico | Bin 318 -> 0 bytes samples/regtest/value2.ico | Bin 318 -> 0 bytes samples/resource/.cvsignore | 3 - samples/resource/Makefile | 1 - samples/resource/Makefile.in | 26 - samples/resource/dialog1.wxr | 27 - samples/resource/makefile.b32 | 64 - samples/resource/makefile.bcc | 74 - samples/resource/makefile.dos | 86 - samples/resource/makefile.g95 | 36 - samples/resource/makefile.nt | 63 - samples/resource/makefile.sc | 35 - samples/resource/makefile.unx | 76 - samples/resource/makefile.vms | 38 - samples/resource/makefile.wat | 42 - samples/resource/menu1.wxr | 13 - samples/resource/resource.cpp | 192 - samples/resource/resource.def | 9 - samples/resource/resource.h | 59 - samples/resource/resource.rc | 7 - samples/splitter/.cvsignore | 3 - samples/splitter/Makefile | 1 - samples/splitter/Makefile.in | 26 - samples/splitter/makefile.b32 | 64 - samples/splitter/makefile.g95 | 37 - samples/splitter/makefile.nt | 63 - samples/splitter/mondrian.ico | Bin 766 -> 0 bytes samples/splitter/test.cpp | 235 - samples/splitter/test.def | 8 - samples/splitter/test.rc | 4 - samples/tab/.cvsignore | 3 - samples/tab/Makefile | 1 - samples/tab/Makefile.in | 26 - samples/tab/makefile.b32 | 64 - samples/tab/makefile.dos | 65 - samples/tab/makefile.g95 | 37 - samples/tab/makefile.nt | 64 - samples/tab/mondrian.ico | Bin 766 -> 0 bytes samples/tab/test.cpp | 147 - samples/tab/test.def | 8 - samples/tab/test.h | 49 - samples/tab/test.rc | 3 - samples/taskbar/makefile.b32 | 64 - samples/taskbar/makefile.dos | 65 - samples/taskbar/makefile.g95 | 37 - samples/taskbar/makefile.nt | 64 - samples/taskbar/mondrian.ico | Bin 766 -> 0 bytes samples/taskbar/tbtest.cpp | 120 - samples/taskbar/tbtest.def | 8 - samples/taskbar/tbtest.h | 50 - samples/taskbar/tbtest.rc | 3 - samples/thread/.cvsignore | 3 - samples/thread/Makefile | 1 - samples/thread/Makefile.in | 26 - samples/thread/makefile.b32 | 64 - samples/thread/makefile.dos | 65 - samples/thread/makefile.g95 | 37 - samples/thread/makefile.nt | 64 - samples/thread/test.cpp | 195 - samples/thread/test.def | 8 - samples/thread/test.rc | 2 - samples/toolbar/.cvsignore | 3 - samples/toolbar/Makefile | 1 - samples/toolbar/Makefile.in | 26 - samples/toolbar/bitmaps/copy.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/copy.xpm | 25 - samples/toolbar/bitmaps/cut.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/cut.xpm | 24 - samples/toolbar/bitmaps/help.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/help.xpm | 25 - samples/toolbar/bitmaps/new.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/new.xpm | 24 - samples/toolbar/bitmaps/open.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/open.xpm | 26 - samples/toolbar/bitmaps/page.bmp | Bin 714 -> 0 bytes samples/toolbar/bitmaps/paste.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/preview.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/preview.xpm | 26 - samples/toolbar/bitmaps/print.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/print.xpm | 26 - samples/toolbar/bitmaps/save.bmp | Bin 238 -> 0 bytes samples/toolbar/bitmaps/save.xpm | 25 - samples/toolbar/makefile.b32 | 63 - samples/toolbar/makefile.dos | 87 - samples/toolbar/makefile.g95 | 40 - samples/toolbar/makefile.nt | 62 - samples/toolbar/mondrian.ico | Bin 766 -> 0 bytes samples/toolbar/mondrian.xpm | 44 - samples/toolbar/test.cpp | 209 - samples/toolbar/test.def | 8 - samples/toolbar/test.h | 41 - samples/toolbar/test.rc | 13 - samples/treectrl/.cvsignore | 3 - samples/treectrl/Makefile | 1 - samples/treectrl/Makefile.in | 26 - samples/treectrl/bitmaps/file1.ico | Bin 1078 -> 0 bytes samples/treectrl/bitmaps/folder1.ico | Bin 1078 -> 0 bytes samples/treectrl/makefile.b32 | 62 - samples/treectrl/makefile.dos | 81 - samples/treectrl/makefile.g95 | 38 - samples/treectrl/makefile.nt | 64 - samples/treectrl/mondrian.ico | Bin 766 -> 0 bytes samples/treectrl/mondrian.xpm | 44 - samples/treectrl/treetest.cpp | 387 - samples/treectrl/treetest.def | 9 - samples/treectrl/treetest.h | 69 - samples/treectrl/treetest.rc | 7 - samples/validate/.cvsignore | 3 - samples/validate/Makefile | 1 - samples/validate/Makefile.in | 26 - samples/validate/makefile.b32 | 65 - samples/validate/makefile.dos | 81 - samples/validate/makefile.g95 | 37 - samples/validate/makefile.nt | 64 - samples/validate/mondrian.ico | Bin 766 -> 0 bytes samples/validate/mondrian.xpm | 44 - samples/validate/validate.cpp | 105 - samples/validate/validate.def | 9 - samples/validate/validate.h | 55 - samples/validate/validate.rc | 3 - setup/.cvsignore | 4 - setup/general/createall | 106 - setup/general/jointar | 67 - setup/general/makeapp | 73 - setup/general/makedirs | 19 - setup/general/makedoc | 102 - setup/general/mygrep | 3 - setup/general/needed | 10 - setup/maketmpl.in | 126 - setup/rules/bin | 13 - setup/rules/bin2 | 14 - setup/rules/doc | 90 - setup/rules/gbin | 14 - setup/rules/gbin2 | 14 - setup/rules/generic/bin1 | 8 - setup/rules/generic/bin1gen | 16 - setup/rules/generic/bin2 | 9 - setup/rules/generic/bin2gen | 16 - setup/rules/generic/depend | 18 - setup/rules/generic/globals | 15 - setup/rules/generic/lib | 17 - setup/rules/generic/needed | 24 - setup/rules/generic/obj | 30 - setup/rules/generic/slib | 21 - setup/rules/generic/sobj | 42 - setup/rules/glib | 15 - setup/rules/glibbin | 17 - setup/rules/glibgbin | 18 - setup/rules/gslib | 15 - setup/rules/lib | 14 - setup/rules/libbin | 17 - setup/rules/libgbin | 17 - setup/setup.hin | 562 -- setup/shared/sharedAIX | 26 - setup/shared/sharedBsd | 33 - setup/shared/sharedDgux | 29 - setup/shared/sharedHpux | 29 - setup/shared/sharedIrix | 45 - setup/shared/sharedLinux | 34 - setup/shared/sharedOSF | 33 - setup/shared/sharedSolaris2 | 33 - setup/shared/sharedSunos4 | 33 - setup/shared/sharedSysV | 29 - setup/substit.in | 48 - src/.cvsignore | 3 - src/Makefile | 1 - src/Makefile.in | 128 - src/common/cmndata.cpp | 474 -- src/common/config.cpp | 385 - src/common/date.cpp | 654 -- src/common/datstrm.cpp | 194 - src/common/db.cpp | 1320 --- src/common/dbtable.cpp | 1445 ---- src/common/docmdi.cpp | 156 - src/common/docview.cpp | 1867 ----- src/common/doslex.c | 1214 --- src/common/dosyacc.c | 517 -- src/common/dynarray.cpp | 273 - src/common/dynlib.cpp | 183 - src/common/event.cpp | 461 -- src/common/extended.c | 179 - src/common/file.cpp | 483 -- src/common/fileconf.cpp | 1392 ---- src/common/filefn.cpp | 1373 ---- src/common/framecmn.cpp | 71 - src/common/fstream.cpp | 109 - src/common/gdicmn.cpp | 668 -- src/common/glob.inc | 361 - src/common/hash.cpp | 350 - src/common/helpbase.cpp | 35 - src/common/intl.cpp | 547 -- src/common/ipcbase.cpp | 35 - src/common/layout.cpp | 1749 ---- src/common/lexer.l | 195 - src/common/list.cpp | 607 -- src/common/log.cpp | 968 --- src/common/matrix.cpp | 267 - src/common/memory.cpp | 1093 --- src/common/module.cpp | 79 - src/common/mstream.cpp | 210 - src/common/object.cpp | 332 - src/common/objstrm.cpp | 312 - src/common/odbc.cpp | 1830 ----- src/common/parser.y | 161 - src/common/postscrp.cpp | 2577 ------ src/common/prntbase.cpp | 768 -- src/common/process.cpp | 57 - src/common/resource.cpp | 2941 ------- src/common/serbase.cpp | 31 - src/common/stream.cpp | 622 -- src/common/string.cpp | 1280 --- src/common/tbarbase.cpp | 741 -- src/common/tbarsmpl.cpp | 454 -- src/common/textfile.cpp | 239 - src/common/time.cpp | 384 - src/common/timercmn.cpp | 210 - src/common/utilscmn.cpp | 742 -- src/common/validate.cpp | 44 - src/common/valtext.cpp | 294 - src/common/wincmn.cpp | 64 - src/common/wxexpr.cpp | 1252 --- src/common/zstream.cpp | 193 - src/cygnus.bat | 15 - src/gdk_imlib/AUDIT | 26 - src/gdk_imlib/AUTHORS | 1 - src/gdk_imlib/COPYING.LIB | 481 -- src/gdk_imlib/ChangeLog | 74 - src/gdk_imlib/README | 29 - src/gdk_imlib/cache.c | 496 -- src/gdk_imlib/colors.c | 113 - src/gdk_imlib/config.h | 2 - src/gdk_imlib/gdk_imlib.h | 78 - src/gdk_imlib/gdk_imlib_private.h | 226 - src/gdk_imlib/gdk_imlib_types.h | 101 - src/gdk_imlib/globals.c | 6 - src/gdk_imlib/load.c | 1498 ---- src/gdk_imlib/misc.c | 1165 --- src/gdk_imlib/rend.c | 6170 -------------- src/gdk_imlib/save.c | 538 -- src/gdk_imlib/utils.c | 1521 ---- src/generic/choicdgg.cpp | 329 - src/generic/colrdlgg.cpp | 487 -- src/generic/fontdlgg.cpp | 430 - src/generic/gridg.cpp | 2457 ------ src/generic/helpxlp.cpp | 266 - src/generic/imaglist.cpp | 147 - src/generic/listctrl.cpp | 2577 ------ src/generic/msgdlgg.cpp | 201 - src/generic/panelg.cpp | 175 - src/generic/printps.cpp | 265 - src/generic/prntdlgg.cpp | 633 -- src/generic/scrolwin.cpp | 449 - src/generic/splitter.cpp | 718 -- src/generic/statusbr.cpp | 332 - src/generic/tabg.cpp | 1164 --- src/generic/textdlgg.cpp | 140 - src/generic/treectrl.cpp | 1148 --- src/gtk.inc | 181 - src/gtk/accel.cpp | 80 - src/gtk/app.cpp | 418 - src/gtk/bdiag.xbm | 6 - src/gtk/bitmap.cpp | 400 - src/gtk/bmpbuttn.cpp | 126 - src/gtk/brush.cpp | 132 - src/gtk/button.cpp | 103 - src/gtk/cdiag.xbm | 6 - src/gtk/checkbox.cpp | 89 - src/gtk/choice.cpp | 227 - src/gtk/colour.cpp | 227 - src/gtk/combobox.cpp | 378 - src/gtk/control.cpp | 61 - src/gtk/cross.xbm | 6 - src/gtk/cursor.cpp | 173 - src/gtk/data.cpp | 724 -- src/gtk/dc.cpp | 371 - src/gtk/dcclient.cpp | 1030 --- src/gtk/dcmemory.cpp | 78 - src/gtk/dcscreen.cpp | 122 - src/gtk/dialog.cpp | 283 - src/gtk/dnd.cpp | 306 - src/gtk/fdiag.xbm | 6 - src/gtk/filedlg.cpp | 167 - src/gtk/font.cpp | 827 -- src/gtk/frame.cpp | 541 -- src/gtk/gauge.cpp | 71 - src/gtk/gdiobj.cpp | 21 - src/gtk/horiz.xbm | 6 - src/gtk/icon.cpp | 48 - src/gtk/joystick.cpp | 358 - src/gtk/listbox.cpp | 381 - src/gtk/mdi.cpp | 354 - src/gtk/menu.cpp | 428 - src/gtk/notebook.cpp | 444 - src/gtk/palette.cpp | 106 - src/gtk/pen.cpp | 207 - src/gtk/radiobox.cpp | 281 - src/gtk/radiobut.cpp | 89 - src/gtk/region.cpp | 422 - src/gtk/scrolbar.cpp | 211 - src/gtk/settings.cpp | 188 - src/gtk/slider.cpp | 236 - src/gtk/statbmp.cpp | 79 - src/gtk/statbox.cpp | 50 - src/gtk/stattext.cpp | 113 - src/gtk/tbargtk.cpp | 328 - src/gtk/textctrl.cpp | 433 - src/gtk/threadgui.inc | 65 - src/gtk/threadno.cpp | 180 - src/gtk/threadpsx.cpp | 394 - src/gtk/threadsgi.cpp | 252 - src/gtk/timer.cpp | 71 - src/gtk/treectrl.cpp | 736 -- src/gtk/utilsgtk.cpp | 476 -- src/gtk/utilsres.cpp | 336 - src/gtk/verti.xbm | 6 - src/gtk/win_gtk.c | 484 -- src/gtk/window.cpp | 2586 ------ src/gtk1/accel.cpp | 80 - src/gtk1/app.cpp | 418 - src/gtk1/bdiag.xbm | 6 - src/gtk1/bitmap.cpp | 400 - src/gtk1/bmpbuttn.cpp | 126 - src/gtk1/brush.cpp | 132 - src/gtk1/button.cpp | 103 - src/gtk1/cdiag.xbm | 6 - src/gtk1/checkbox.cpp | 89 - src/gtk1/choice.cpp | 227 - src/gtk1/colour.cpp | 227 - src/gtk1/combobox.cpp | 378 - src/gtk1/control.cpp | 61 - src/gtk1/cross.xbm | 6 - src/gtk1/cursor.cpp | 173 - src/gtk1/data.cpp | 724 -- src/gtk1/dc.cpp | 371 - src/gtk1/dcclient.cpp | 1030 --- src/gtk1/dcmemory.cpp | 78 - src/gtk1/dcscreen.cpp | 122 - src/gtk1/dialog.cpp | 283 - src/gtk1/dnd.cpp | 306 - src/gtk1/fdiag.xbm | 6 - src/gtk1/filedlg.cpp | 167 - src/gtk1/font.cpp | 827 -- src/gtk1/frame.cpp | 541 -- src/gtk1/gauge.cpp | 71 - src/gtk1/gdiobj.cpp | 21 - src/gtk1/horiz.xbm | 6 - src/gtk1/icon.cpp | 48 - src/gtk1/joystick.cpp | 358 - src/gtk1/listbox.cpp | 381 - src/gtk1/mdi.cpp | 354 - src/gtk1/menu.cpp | 428 - src/gtk1/notebook.cpp | 444 - src/gtk1/palette.cpp | 106 - src/gtk1/pen.cpp | 207 - src/gtk1/radiobox.cpp | 281 - src/gtk1/radiobut.cpp | 89 - src/gtk1/region.cpp | 422 - src/gtk1/scrolbar.cpp | 211 - src/gtk1/settings.cpp | 188 - src/gtk1/slider.cpp | 236 - src/gtk1/statbmp.cpp | 79 - src/gtk1/statbox.cpp | 50 - src/gtk1/stattext.cpp | 113 - src/gtk1/tbargtk.cpp | 328 - src/gtk1/textctrl.cpp | 433 - src/gtk1/threadgui.inc | 65 - src/gtk1/threadno.cpp | 180 - src/gtk1/threadpsx.cpp | 394 - src/gtk1/threadsgi.cpp | 252 - src/gtk1/timer.cpp | 71 - src/gtk1/treectrl.cpp | 736 -- src/gtk1/utilsgtk.cpp | 476 -- src/gtk1/utilsres.cpp | 336 - src/gtk1/verti.xbm | 6 - src/gtk1/win_gtk.c | 484 -- src/gtk1/window.cpp | 2586 ------ src/iodbc/Changes.log | 58 - src/iodbc/Config.mk | 21 - src/iodbc/IAFA-PACKAGE | 37 - src/iodbc/Makefile | 32 - src/iodbc/README | 187 - src/iodbc/Version.mk | 2 - src/iodbc/autoconfig | 230 - src/iodbc/build | 9 - src/iodbc/catalog.c | 1092 --- src/iodbc/config.h | 45 - src/iodbc/connect.c | 1262 --- src/iodbc/dlf.c | 595 -- src/iodbc/dlf.h | 35 - src/iodbc/dlproc.c | 99 - src/iodbc/dlproc.h | 31 - src/iodbc/execute.c | 789 -- src/iodbc/fetch.c | 675 -- src/iodbc/hdbc.c | 806 -- src/iodbc/hdbc.h | 67 - src/iodbc/henv.c | 75 - src/iodbc/henv.ci | 95 - src/iodbc/henv.h | 125 - src/iodbc/herr.c | 366 - src/iodbc/herr.ci | 98 - src/iodbc/herr.h | 125 - src/iodbc/hstmt.c | 598 -- src/iodbc/hstmt.h | 48 - src/iodbc/info.c | 392 - src/iodbc/iodbc.h | 66 - src/iodbc/isql.h | 91 - src/iodbc/isqlext.h | 307 - src/iodbc/itrace.c | 104 - src/iodbc/itrace.h | 97 - src/iodbc/main.c | 7 - src/iodbc/misc.c | 380 - src/iodbc/postgres/isql.h | 188 - src/iodbc/postgres/isqlext.h | 321 - src/iodbc/postgres/odbc_funcs.h | 380 - src/iodbc/postgres/odbc_types.h | 298 - src/iodbc/prepare.c | 537 -- src/iodbc/result.c | 575 -- src/iodbc/shrsub.exp | 64 - src/iodbc/windows.h | 145 - src/makeb32.env | 32 - src/makebcc.env | 33 - src/makefile.bcc | 97 - src/makefile.dos | 51 - src/makefile.nt | 35 - src/makeg95.env | 192 - src/makemsc.env | 71 - src/makesc.env | 20 - src/makewat.env | 159 - src/mingegcs.bat | 13 - src/mingw32.bat | 16 - src/motif.inc | 61 - src/msw/Y_TAB.C | 521 -- src/msw/accel.cpp | 152 - src/msw/app.cpp | 1026 --- src/msw/bitmap.cpp | 927 --- src/msw/bmpbuttn.cpp | 263 - src/msw/brush.cpp | 262 - src/msw/button.cpp | 197 - src/msw/checkbox.cpp | 307 - src/msw/checklst.cpp | 311 - src/msw/choice.cpp | 342 - src/msw/clipbrd.cpp | 465 -- src/msw/colordlg.cpp | 124 - src/msw/colour.cpp | 132 - src/msw/combobox.cpp | 322 - src/msw/control.cpp | 331 - src/msw/ctl3d/borland/makefile.b32 | 25 - src/msw/ctl3d/borland/makefile.bcc | 25 - src/msw/ctl3d/ctl3d.dll | Bin 255 -> 0 bytes src/msw/ctl3d/ctl3d32.dll | Bin 6510 -> 0 bytes src/msw/ctl3d/ctl3dv2.dll | Bin 255 -> 0 bytes src/msw/ctl3d/msvc/ctl3d.h | 61 - src/msw/ctl3d/msvc/ctl3d.lib | Bin 338 -> 0 bytes src/msw/ctl3d/msvc/ctl3dv2.lib | Bin 1557 -> 0 bytes src/msw/ctl3d/readme.txt | 31 - src/msw/ctl3d/wat32/import32.zip | Bin 567 -> 0 bytes src/msw/ctl3d/wat386/ctl3d.h | 61 - src/msw/ctl3d/wat386/ctl3d32.c | 285 - src/msw/ctl3d/wat386/ctl3d32.lnk | 1 - src/msw/ctl3d/wat386/ctl3d32.obj | Bin 1597 -> 0 bytes src/msw/ctl3d/wat386/ctl3d32.txt | 11 - src/msw/ctl3d/wat386/makefile.wat | 23 - src/msw/curico.cpp | 899 --- src/msw/cursor.cpp | 279 - src/msw/data.cpp | 734 -- src/msw/dc.cpp | 1449 ---- src/msw/dcclient.cpp | 138 - src/msw/dcmemory.cpp | 128 - src/msw/dcprint.cpp | 208 - src/msw/dcscreen.cpp | 48 - src/msw/dde.cpp | 785 -- src/msw/dialog.cpp | 612 -- src/msw/dib.cpp | 934 --- src/msw/dibutils.cpp | 691 -- src/msw/dirdlg.cpp | 131 - src/msw/dummy.cpp | 65 - src/msw/dummydll.cpp | 21 - src/msw/filedlg.cpp | 358 - src/msw/font.cpp | 382 - src/msw/fontdlg.cpp | 281 - src/msw/frame.cpp | 1037 --- src/msw/gauge95.cpp | 181 - src/msw/gaugemsw.cpp | 1174 --- src/msw/gdiobj.cpp | 68 - src/msw/helpwin.cpp | 148 - src/msw/icon.cpp | 187 - src/msw/imaglist.cpp | 200 - src/msw/iniconf.cpp | 459 -- src/msw/joystick.cpp | 541 -- src/msw/listbox.cpp | 821 -- src/msw/listctrl.cpp | 1425 ---- src/msw/main.cpp | 87 - src/msw/makefile.b32 | 604 -- src/msw/makefile.bcc | 407 - src/msw/makefile.dos | 1220 --- src/msw/makefile.g95 | 318 - src/msw/makefile.nt | 1435 ---- src/msw/makefile.sc | 147 - src/msw/makefile.wat | 159 - src/msw/mdi.cpp | 1253 --- src/msw/menu.cpp | 902 --- src/msw/menuitem.cpp | 145 - src/msw/metafile.cpp | 373 - src/msw/minifram.cpp | 1592 ---- src/msw/msgdlg.cpp | 105 - src/msw/nativdlg.cpp | 289 - src/msw/notebook.cpp | 484 -- src/msw/ole/dataobj.cpp | 409 - src/msw/ole/dropsrc.cpp | 234 - src/msw/ole/droptgt.cpp | 420 - src/msw/ole/oleutils.cpp | 192 - src/msw/ole/uuid.cpp | 153 - src/msw/ownerdrw.cpp | 230 - src/msw/palette.cpp | 137 - src/msw/pen.cpp | 448 - src/msw/penwin.cpp | 120 - src/msw/pnghand.cpp | 769 -- src/msw/printdlg.cpp | 185 - src/msw/printwin.cpp | 363 - src/msw/radiobox.cpp | 734 -- src/msw/radiobut.cpp | 246 - src/msw/regconf.cpp | 481 -- src/msw/region.cpp | 417 - src/msw/registry.cpp | 935 --- src/msw/scrolbar.cpp | 351 - src/msw/settings.cpp | 166 - src/msw/slider95.cpp | 660 -- src/msw/slidrmsw.cpp | 600 -- src/msw/spinbutt.cpp | 269 - src/msw/statbmp.cpp | 202 - src/msw/statbox.cpp | 231 - src/msw/statbr95.cpp | 238 - src/msw/stattext.cpp | 211 - src/msw/tabctrl.cpp | 487 -- src/msw/taskbar.cpp | 286 - src/msw/tbar95.cpp | 588 -- src/msw/tbarmsw.cpp | 951 --- src/msw/textctrl.cpp | 1074 --- src/msw/thread.cpp | 322 - src/msw/timer.cpp | 115 - src/msw/treectrl.cpp | 1005 --- src/msw/utils.cpp | 640 -- src/msw/utilsexc.cpp | 202 - src/msw/wave.cpp | 148 - src/msw/window.cpp | 4861 ----------- src/msw/wx.def | 11 - src/msw/xfspline.inc | 355 - src/ntwxwin.mak | 175 - src/png/CHANGES | 288 - src/png/INSTALL | 87 - src/png/README | 194 - src/png/TODO | 22 - src/png/ansi2knr.1 | 36 - src/png/ansi2knr.c | 693 -- src/png/example.c | 688 -- src/png/libpng.3 | 2409 ------ src/png/libpngpf.3 | 342 - src/png/makefile.bcc | 107 - src/png/makefile.dos | 76 - src/png/makefile.nt | 64 - src/png/png.5 | 44 - src/png/png.c | 304 - src/png/png.h | 2063 ----- src/png/pngconf.h | 565 -- src/png/pngerror.c | 174 - src/png/pngget.c | 644 -- src/png/pngmem.c | 360 - src/png/pngpread.c | 1143 --- src/png/pngread.c | 787 -- src/png/pngrio.c | 145 - src/png/pngrtran.c | 3409 -------- src/png/pngrutil.c | 2245 ----- src/png/pngset.c | 380 - src/png/pngtest.c | 1036 --- src/png/pngtrans.c | 577 -- src/png/pngwio.c | 207 - src/png/pngwrite.c | 970 --- src/png/pngwtran.c | 495 -- src/png/pngwutil.c | 1934 ----- src/png/scripts/SCOPTIONS.ppc | 7 - src/png/scripts/build.bat | 2 - src/png/scripts/descrip.mms | 52 - src/png/scripts/makefile.aco | 221 - src/png/scripts/makefile.ama | 42 - src/png/scripts/makefile.atr | 31 - src/png/scripts/makefile.bor | 168 - src/png/scripts/makefile.dec | 68 - src/png/scripts/makefile.dj2 | 52 - src/png/scripts/makefile.knr | 73 - src/png/scripts/makefile.lnx | 99 - src/png/scripts/makefile.mip | 62 - src/png/scripts/makefile.msc | 86 - src/png/scripts/makefile.os2 | 69 - src/png/scripts/makefile.s2x | 104 - src/png/scripts/makefile.sgi | 69 - src/png/scripts/makefile.std | 68 - src/png/scripts/makefile.sun | 72 - src/png/scripts/makefile.tc3 | 82 - src/png/scripts/makefile.wat | 88 - src/png/scripts/makevms.com | 125 - src/png/scripts/pngos2.def | 286 - src/png/scripts/smakefile.ppc | 29 - src/qt.inc | 106 - src/qt/app.cpp | 395 - src/qt/bdiag.xbm | 6 - src/qt/bitmap.cpp | 430 - src/qt/bmpbuttn.cpp | 65 - src/qt/brush.cpp | 162 - src/qt/button.cpp | 75 - src/qt/cdiag.xbm | 6 - src/qt/checkbox.cpp | 117 - src/qt/choice.cpp | 119 - src/qt/colour.cpp | 126 - src/qt/combobox.cpp | 116 - src/qt/control.cpp | 111 - src/qt/cross.xbm | 6 - src/qt/cursor.cpp | 186 - src/qt/data.cpp | 145 - src/qt/dc.cpp | 392 - src/qt/dcclient.cpp | 620 -- src/qt/dcmemory.cpp | 68 - src/qt/dcscreen.cpp | 32 - src/qt/dialog.cpp | 294 - src/qt/dnd.cpp | 133 - src/qt/fdiag.xbm | 6 - src/qt/filedlg.cpp | 142 - src/qt/font.cpp | 241 - src/qt/frame.cpp | 546 -- src/qt/gauge.cpp | 105 - src/qt/gdiobj.cpp | 22 - src/qt/horiz.xbm | 6 - src/qt/icon.cpp | 70 - src/qt/joystick.cpp | 279 - src/qt/listbox.cpp | 240 - src/qt/mdi.cpp | 263 - src/qt/menu.cpp | 568 -- src/qt/notebook.cpp | 371 - src/qt/palette.cpp | 91 - src/qt/pen.cpp | 229 - src/qt/radiobox.cpp | 194 - src/qt/radiobut.cpp | 68 - src/qt/region.cpp | 373 - src/qt/scrolbar.cpp | 78 - src/qt/settings.cpp | 151 - src/qt/slider.cpp | 185 - src/qt/statbmp.cpp | 59 - src/qt/statbox.cpp | 62 - src/qt/stattext.cpp | 211 - src/qt/tbargtk.cpp | 193 - src/qt/textctrl.cpp | 439 - src/qt/threadgui.inc | 65 - src/qt/threadno.cpp | 185 - src/qt/threadpsx.cpp | 394 - src/qt/threadsgi.cpp | 252 - src/qt/timer.cpp | 56 - src/qt/utilsgtk.cpp | 367 - src/qt/utilsres.cpp | 332 - src/qt/verti.xbm | 6 - src/qt/window.cpp | 1281 --- src/stubs/accel.cpp | 93 - src/stubs/app.cpp | 397 - src/stubs/bitmap.cpp | 430 - src/stubs/bmpbuttn.cpp | 65 - src/stubs/brush.cpp | 162 - src/stubs/button.cpp | 75 - src/stubs/checkbox.cpp | 117 - src/stubs/checklst.cpp | 74 - src/stubs/choice.cpp | 119 - src/stubs/clipbrd.cpp | 237 - src/stubs/colordlg.cpp | 53 - src/stubs/colour.cpp | 126 - src/stubs/combobox.cpp | 116 - src/stubs/control.cpp | 95 - src/stubs/cursor.cpp | 187 - src/stubs/data.cpp | 147 - src/stubs/dc.cpp | 390 - src/stubs/dcclient.cpp | 620 -- src/stubs/dcmemory.cpp | 64 - src/stubs/dcscreen.cpp | 32 - src/stubs/dialog.cpp | 291 - src/stubs/dirdlg.cpp | 42 - src/stubs/dnd.cpp | 133 - src/stubs/filedlg.cpp | 143 - src/stubs/font.cpp | 244 - src/stubs/fontdlg.cpp | 55 - src/stubs/frame.cpp | 548 -- src/stubs/gauge.cpp | 95 - src/stubs/gdiobj.cpp | 22 - src/stubs/helpxxxx.cpp | 83 - src/stubs/icon.cpp | 70 - src/stubs/imaglist.cpp | 118 - src/stubs/joystick.cpp | 279 - src/stubs/listbox.cpp | 235 - src/stubs/listctrl.cpp | 596 -- src/stubs/main.cpp | 18 - src/stubs/makefile.nt | 955 --- src/stubs/mdi.cpp | 265 - src/stubs/menu.cpp | 570 -- src/stubs/menuitem.cpp | 96 - src/stubs/metafile.cpp | 239 - src/stubs/minifram.cpp | 22 - src/stubs/msgdlg.cpp | 36 - src/stubs/notebook.cpp | 367 - src/stubs/palette.cpp | 82 - src/stubs/pen.cpp | 229 - src/stubs/print.cpp | 82 - src/stubs/printdlg.cpp | 115 - src/stubs/radiobox.cpp | 194 - src/stubs/radiobut.cpp | 68 - src/stubs/region.cpp | 363 - src/stubs/scrolbar.cpp | 78 - src/stubs/settings.cpp | 151 - src/stubs/slider.cpp | 185 - src/stubs/spinbutt.cpp | 78 - src/stubs/statbmp.cpp | 59 - src/stubs/statbox.cpp | 62 - src/stubs/stattext.cpp | 60 - src/stubs/statusbr.cpp | 162 - src/stubs/tabctrl.cpp | 201 - src/stubs/taskbar.cpp | 70 - src/stubs/textctrl.cpp | 440 - src/stubs/thread.cpp | 257 - src/stubs/timer.cpp | 52 - src/stubs/toolbar.cpp | 145 - src/stubs/treectrl.cpp | 418 - src/stubs/utils.cpp | 272 - src/stubs/utilsexc.cpp | 28 - src/stubs/wave.cpp | 61 - src/stubs/window.cpp | 1283 --- src/zlib/ChangeLog | 423 - src/zlib/INDEX | 82 - src/zlib/Make_vms.com | 115 - src/zlib/Makefile.in2 | 160 - src/zlib/Makefile.riscos | 46 - src/zlib/README | 143 - src/zlib/adler32.c | 48 - src/zlib/algorithm.txt | 213 - src/zlib/compress.c | 68 - src/zlib/configure | 163 - src/zlib/crc32.c | 162 - src/zlib/deflate.c | 1348 --- src/zlib/deflate.h | 318 - src/zlib/descrip.mms | 48 - src/zlib/example.c | 550 -- src/zlib/gzio.c | 869 -- src/zlib/infblock.c | 405 - src/zlib/infblock.h | 39 - src/zlib/infcodes.c | 250 - src/zlib/infcodes.h | 27 - src/zlib/inffast.c | 170 - src/zlib/inffast.h | 17 - src/zlib/inffixed.h | 125 - src/zlib/inflate.c | 366 - src/zlib/inftrees.c | 455 -- src/zlib/inftrees.h | 58 - src/zlib/infutil.c | 87 - src/zlib/infutil.h | 98 - src/zlib/makefile.b32 | 107 - src/zlib/makefile.bcc | 88 - src/zlib/makefile.nt | 88 - src/zlib/makefile.unx | 133 - src/zlib/makefile.wat | 105 - src/zlib/maketree.c | 119 - src/zlib/minigzip.c | 317 - src/zlib/trees.c | 1216 --- src/zlib/trees.h | 128 - src/zlib/uncompr.c | 58 - src/zlib/zconf.h | 252 - src/zlib/zlib.3 | 107 - src/zlib/zlib.h | 888 -- src/zlib/zutil.c | 225 - src/zlib/zutil.h | 221 - template.mak | 35 - user/Makefile | 1 - user/wxConvert/.cvsignore | 2 - user/wxConvert/Makefile | 1 - user/wxConvert/Makefile.in | 26 - user/wxConvert/wxConvert.cpp | 175 - user/wxConvert/wxConvert.h | 71 - user/wxFile/.cvsignore | 2 - user/wxFile/FMJobs.cpp | 326 - user/wxFile/FMJobs.h | 143 - user/wxFile/Makefile | 1 - user/wxFile/Makefile.in | 26 - user/wxFile/commanderview.xpm | 31 - user/wxFile/delete.xpm | 31 - user/wxFile/dirctrl.cpp | 213 - user/wxFile/dirctrl.h | 74 - user/wxFile/exit.xpm | 29 - user/wxFile/filectrl.cpp | 544 -- user/wxFile/filectrl.h | 115 - user/wxFile/fileopen.xpm | 30 - user/wxFile/find.xpm | 99 - user/wxFile/folder.xpm | 48 - user/wxFile/help.xpm | 29 - user/wxFile/home.xpm | 28 - user/wxFile/iconview.xpm | 31 - user/wxFile/list.xpm | 45 - user/wxFile/listview.xpm | 30 - user/wxFile/prev.xpm | 29 - user/wxFile/reportview.xpm | 31 - user/wxFile/save.xpm | 30 - user/wxFile/search.xpm | 32 - user/wxFile/singleview.xpm | 30 - user/wxFile/trash.xpm | 44 - user/wxFile/treeview.xpm | 31 - user/wxFile/txt.xpm | 53 - user/wxFile/wxFile.cpp | 356 - user/wxFile/wxFile.h | 85 - user/wxTest/.cvsignore | 2 - user/wxTest/Makefile | 1 - user/wxTest/Makefile.in | 26 - user/wxTest/folder.xpm | 48 - user/wxTest/horse.png | Bin 68850 -> 0 bytes user/wxTest/list.xpm | 45 - user/wxTest/wxTest.cpp | 580 -- user/wxTest/wxTest.h | 164 - utils/Makefile | 1 - utils/dialoged/Makefile | 1 - utils/dialoged/docs/alignb.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/alignb.eps | 161 - utils/dialoged/docs/alignb.gif | Bin 132 -> 0 bytes utils/dialoged/docs/alignl.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/alignl.eps | 161 - utils/dialoged/docs/alignl.gif | Bin 124 -> 0 bytes utils/dialoged/docs/alignr.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/alignr.eps | 161 - utils/dialoged/docs/alignr.gif | Bin 126 -> 0 bytes utils/dialoged/docs/alignt.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/alignt.eps | 161 - utils/dialoged/docs/alignt.gif | Bin 131 -> 0 bytes utils/dialoged/docs/arrow.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/arrow.eps | 174 - utils/dialoged/docs/arrow.gif | Bin 193 -> 0 bytes utils/dialoged/docs/back.gif | Bin 225 -> 0 bytes utils/dialoged/docs/bmpbuttn.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/bmpbuttn.eps | 174 - utils/dialoged/docs/bmpbuttn.gif | Bin 216 -> 0 bytes utils/dialoged/docs/body.tex | 197 - utils/dialoged/docs/books.bmp | Bin 1222 -> 0 bytes utils/dialoged/docs/books.gif | Bin 438 -> 0 bytes utils/dialoged/docs/bugs.tex | 15 - utils/dialoged/docs/bullet.bmp | Bin 138 -> 0 bytes utils/dialoged/docs/button.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/button.eps | 174 - utils/dialoged/docs/button.gif | Bin 201 -> 0 bytes utils/dialoged/docs/changes.tex | 63 - utils/dialoged/docs/check.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/check.eps | 174 - utils/dialoged/docs/check.gif | Bin 215 -> 0 bytes utils/dialoged/docs/choice.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/choice.eps | 174 - utils/dialoged/docs/choice.gif | Bin 217 -> 0 bytes utils/dialoged/docs/classes.tex | 1759 ---- utils/dialoged/docs/contents.gif | Bin 231 -> 0 bytes utils/dialoged/docs/copysize.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/copysize.eps | 161 - utils/dialoged/docs/copysize.gif | Bin 132 -> 0 bytes utils/dialoged/docs/dialog.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/dialog.eps | 174 - utils/dialoged/docs/dialog.gif | Bin 233 -> 0 bytes utils/dialoged/docs/dialoged.hpj | 17 - utils/dialoged/docs/dialoged.tex | 61 - utils/dialoged/docs/forward.gif | Bin 164 -> 0 bytes utils/dialoged/docs/gauge.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/gauge.eps | 174 - utils/dialoged/docs/gauge.gif | Bin 212 -> 0 bytes utils/dialoged/docs/group.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/group.eps | 174 - utils/dialoged/docs/group.gif | Bin 212 -> 0 bytes utils/dialoged/docs/help.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/help.eps | 161 - utils/dialoged/docs/help.gif | Bin 129 -> 0 bytes utils/dialoged/docs/horiz.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/horiz.eps | 161 - utils/dialoged/docs/horiz.gif | Bin 126 -> 0 bytes utils/dialoged/docs/listbox.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/listbox.eps | 174 - utils/dialoged/docs/listbox.gif | Bin 213 -> 0 bytes utils/dialoged/docs/load.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/load.eps | 161 - utils/dialoged/docs/load.gif | Bin 139 -> 0 bytes utils/dialoged/docs/message.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/message.eps | 174 - utils/dialoged/docs/message.gif | Bin 208 -> 0 bytes utils/dialoged/docs/mtext.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/mtext.eps | 174 - utils/dialoged/docs/mtext.gif | Bin 229 -> 0 bytes utils/dialoged/docs/new.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/new.eps | 161 - utils/dialoged/docs/new.gif | Bin 131 -> 0 bytes utils/dialoged/docs/notes.txt | 16 - utils/dialoged/docs/open.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/open.eps | 161 - utils/dialoged/docs/open.gif | Bin 137 -> 0 bytes utils/dialoged/docs/picture.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/picture.eps | 176 - utils/dialoged/docs/picture.gif | Bin 224 -> 0 bytes utils/dialoged/docs/radio.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/radio.eps | 174 - utils/dialoged/docs/radio.gif | Bin 215 -> 0 bytes utils/dialoged/docs/readme.txt | 39 - utils/dialoged/docs/save.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/save.eps | 161 - utils/dialoged/docs/save.gif | Bin 137 -> 0 bytes utils/dialoged/docs/scroll.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/scroll.eps | 174 - utils/dialoged/docs/scroll.gif | Bin 212 -> 0 bytes utils/dialoged/docs/slider.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/slider.eps | 174 - utils/dialoged/docs/slider.gif | Bin 204 -> 0 bytes utils/dialoged/docs/tech.tex | 97 - utils/dialoged/docs/tex2rtf.ini | 21 - utils/dialoged/docs/text.bmp | Bin 566 -> 0 bytes utils/dialoged/docs/text.eps | 178 - utils/dialoged/docs/text.gif | Bin 226 -> 0 bytes utils/dialoged/docs/toback.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/toback.eps | 161 - utils/dialoged/docs/toback.gif | Bin 137 -> 0 bytes utils/dialoged/docs/tofront.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/tofront.eps | 161 - utils/dialoged/docs/tofront.gif | Bin 137 -> 0 bytes utils/dialoged/docs/up.gif | Bin 137 -> 0 bytes utils/dialoged/docs/vert.bmp | Bin 238 -> 0 bytes utils/dialoged/docs/vert.eps | 161 - utils/dialoged/docs/vert.gif | Bin 131 -> 0 bytes utils/dialoged/src/.cvsignore | 3 - utils/dialoged/src/Makefile | 1 - utils/dialoged/src/Makefile.in | 28 - utils/dialoged/src/bitmaps/alignb.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/alignb.xbm | 9 - utils/dialoged/src/bitmaps/alignb.xpm | 24 - utils/dialoged/src/bitmaps/alignl.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/alignl.xbm | 9 - utils/dialoged/src/bitmaps/alignl.xpm | 24 - utils/dialoged/src/bitmaps/alignr.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/alignr.xbm | 9 - utils/dialoged/src/bitmaps/alignr.xpm | 24 - utils/dialoged/src/bitmaps/alignt.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/alignt.xbm | 9 - utils/dialoged/src/bitmaps/alignt.xpm | 24 - utils/dialoged/src/bitmaps/arrow.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/arrow.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/arrow.xbm | 13 - utils/dialoged/src/bitmaps/arrow.xpm | 24 - utils/dialoged/src/bitmaps/bmpbuttn.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/bmpbuttn.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/bmpbuttn.xbm | 11 - utils/dialoged/src/bitmaps/bmpbuttn.xpm | 30 - utils/dialoged/src/bitmaps/button.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/button.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/button.xbm | 13 - utils/dialoged/src/bitmaps/button.xpm | 26 - utils/dialoged/src/bitmaps/buttonsm.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/buttonsm.xpm | 26 - utils/dialoged/src/bitmaps/canvas.xbm | 13 - utils/dialoged/src/bitmaps/check.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/check.xbm | 13 - utils/dialoged/src/bitmaps/checkbox.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/checkbox.xpm | 27 - utils/dialoged/src/bitmaps/choice.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/choice.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/choice.xbm | 13 - utils/dialoged/src/bitmaps/choice.xpm | 27 - utils/dialoged/src/bitmaps/combobox.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/combobox.xpm | 27 - utils/dialoged/src/bitmaps/copysize.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/copysize.xbm | 8 - utils/dialoged/src/bitmaps/copysize.xpm | 24 - utils/dialoged/src/bitmaps/cpp.xbm | 9 - utils/dialoged/src/bitmaps/cross.bmp | Bin 198 -> 0 bytes utils/dialoged/src/bitmaps/dialog.bmp | Bin 566 -> 0 bytes utils/dialoged/src/bitmaps/dialog.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/dialog.xbm | 13 - utils/dialoged/src/bitmaps/dialog.xpm | 28 - utils/dialoged/src/bitmaps/dialoged.ico | Bin 766 -> 0 bytes utils/dialoged/src/bitmaps/dialoged.xpm | 44 - utils/dialoged/src/bitmaps/folder1.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/folder1.xpm | 28 - utils/dialoged/src/bitmaps/folder2.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/folder2.xpm | 28 - utils/dialoged/src/bitmaps/frame.xbm | 13 - utils/dialoged/src/bitmaps/gauge.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/gauge.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/gauge.xbm | 11 - utils/dialoged/src/bitmaps/gauge.xpm | 27 - utils/dialoged/src/bitmaps/group.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/group.xbm | 13 - utils/dialoged/src/bitmaps/help.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/help.xbm | 9 - utils/dialoged/src/bitmaps/help.xpm | 24 - utils/dialoged/src/bitmaps/horiz.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/horiz.xbm | 9 - utils/dialoged/src/bitmaps/horiz.xpm | 24 - utils/dialoged/src/bitmaps/listbox.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/listbox.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/listbox.xbm | 13 - utils/dialoged/src/bitmaps/listbox.xpm | 27 - utils/dialoged/src/bitmaps/load.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/load.xbm | 9 - utils/dialoged/src/bitmaps/load.xpm | 26 - utils/dialoged/src/bitmaps/message.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/message.xbm | 13 - utils/dialoged/src/bitmaps/mtext.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/mtext.xbm | 13 - utils/dialoged/src/bitmaps/new.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/new.xbm | 8 - utils/dialoged/src/bitmaps/new.xpm | 24 - utils/dialoged/src/bitmaps/open.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/panel.xbm | 13 - utils/dialoged/src/bitmaps/picture.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/picture.xbm | 11 - utils/dialoged/src/bitmaps/radio.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/radio.xbm | 13 - utils/dialoged/src/bitmaps/radiobox.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/radiobox.xpm | 27 - utils/dialoged/src/bitmaps/radiobtn.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/radiobtn.xpm | 26 - utils/dialoged/src/bitmaps/report.xbm | 9 - utils/dialoged/src/bitmaps/save.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/save.xbm | 9 - utils/dialoged/src/bitmaps/save.xpm | 25 - utils/dialoged/src/bitmaps/scrolbar.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/scrolbar.xpm | 26 - utils/dialoged/src/bitmaps/scroll.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/scroll.xbm | 11 - utils/dialoged/src/bitmaps/slider.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/slider.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/slider.xbm | 11 - utils/dialoged/src/bitmaps/slider.xpm | 26 - utils/dialoged/src/bitmaps/statbmp.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/statbmp.xpm | 30 - utils/dialoged/src/bitmaps/statbox.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/statbox.xpm | 26 - utils/dialoged/src/bitmaps/stattext.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/stattext.xpm | 24 - utils/dialoged/src/bitmaps/text.bmp | Bin 382 -> 0 bytes utils/dialoged/src/bitmaps/text.xbm | 13 - utils/dialoged/src/bitmaps/textmult.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/textmult.xpm | 27 - utils/dialoged/src/bitmaps/textsing.ico | Bin 1078 -> 0 bytes utils/dialoged/src/bitmaps/textsing.xpm | 27 - utils/dialoged/src/bitmaps/textsw.xbm | 13 - utils/dialoged/src/bitmaps/tick.bmp | Bin 198 -> 0 bytes utils/dialoged/src/bitmaps/toback.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/toback.xbm | 8 - utils/dialoged/src/bitmaps/toback.xpm | 25 - utils/dialoged/src/bitmaps/tofront.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/tofront.xbm | 8 - utils/dialoged/src/bitmaps/tofront.xpm | 25 - utils/dialoged/src/bitmaps/tree.xbm | 9 - utils/dialoged/src/bitmaps/treeicn.xbm | 46 - utils/dialoged/src/bitmaps/vert.bmp | Bin 238 -> 0 bytes utils/dialoged/src/bitmaps/vert.xbm | 9 - utils/dialoged/src/bitmaps/vert.xpm | 24 - utils/dialoged/src/bitmaps/wxbuild.xbm | 46 - utils/dialoged/src/bitmaps/wxwin.xbm | 12 - utils/dialoged/src/bitmaps/wxwin.xpm | 46 - utils/dialoged/src/dialoged.cpp | 58 - utils/dialoged/src/dialoged.def | 8 - utils/dialoged/src/dialoged.h | 37 - utils/dialoged/src/dialoged.ico | Bin 766 -> 0 bytes utils/dialoged/src/dialoged.rc | 64 - utils/dialoged/src/dlghndlr.cpp | 1077 --- utils/dialoged/src/dlghndlr.h | 138 - utils/dialoged/src/edlist.cpp | 167 - utils/dialoged/src/edlist.h | 38 - utils/dialoged/src/edtree.cpp | 92 - utils/dialoged/src/edtree.h | 36 - utils/dialoged/src/makefile.b32 | 69 - utils/dialoged/src/makefile.bcc | 87 - utils/dialoged/src/makefile.dos | 193 - utils/dialoged/src/makefile.g95 | 71 - utils/dialoged/src/makefile.nt | 171 - utils/dialoged/src/makefile.sc | 36 - utils/dialoged/src/makefile.unx | 123 - utils/dialoged/src/makefile.wat | 62 - utils/dialoged/src/reseditr.cpp | 2346 ------ utils/dialoged/src/reseditr.h | 441 - utils/dialoged/src/reswrite.cpp | 581 -- utils/dialoged/src/symbtabl.cpp | 292 - utils/dialoged/src/symbtabl.h | 52 - utils/dialoged/src/winprop.cpp | 2270 ------ utils/dialoged/src/winprop.h | 415 - utils/dialoged/src/winstyle.cpp | 380 - utils/dialoged/src/winstyle.h | 77 - utils/glcanvas/Makefile | 1 - utils/glcanvas/distrib/glcanvas.rsp | 19 - utils/glcanvas/distrib/zipsrc.bat | 27 - utils/glcanvas/docs/notes.txt | 15 - utils/glcanvas/samples/cube/cube.cpp | 180 - utils/glcanvas/samples/cube/cube.h | 56 - utils/glcanvas/samples/cube/cube.rc | 3 - utils/glcanvas/samples/cube/makefile.g95 | 37 - utils/glcanvas/samples/cube/makefile.nt | 66 - utils/glcanvas/samples/cube/mondrian.ico | Bin 766 -> 0 bytes utils/glcanvas/samples/isosurf/isosurf.cpp | 417 - utils/glcanvas/samples/isosurf/isosurf.dat.gz | Bin 286 -> 0 bytes utils/glcanvas/samples/isosurf/isosurf.h | 53 - utils/glcanvas/samples/isosurf/isosurf.rc | 3 - utils/glcanvas/samples/isosurf/makefile.nt | 66 - utils/glcanvas/samples/isosurf/mondrian.ico | Bin 766 -> 0 bytes utils/glcanvas/src/.cvsignore | 3 - utils/glcanvas/src/Makefile | 1 - utils/glcanvas/src/Makefile.in | 67 - utils/glcanvas/src/glcanvas.cpp | 161 - utils/glcanvas/src/glcanvas.h | 98 - utils/glcanvas/win/glcanvas.cpp | 430 - utils/glcanvas/win/glcanvas.h | 125 - utils/glcanvas/win/makefile.nt | 106 - utils/makefile.nt | 96 - utils/nplugin/docs/notes.txt | 32 - utils/nplugin/lib/dummy | 1 - utils/nplugin/makefile.nt | 32 - utils/nplugin/samples/gui/gui.cpp | 186 - utils/nplugin/samples/gui/gui.h | 59 - utils/nplugin/samples/gui/index.html | 34 - utils/nplugin/samples/gui/makefile.nt | 70 - utils/nplugin/samples/gui/npgui32.def | 9 - utils/nplugin/samples/gui/npgui32.rc | 44 - utils/nplugin/samples/simple/index.html | 34 - utils/nplugin/samples/simple/makefile.nt | 70 - utils/nplugin/samples/simple/npsimple32.def | 9 - utils/nplugin/samples/simple/npsimple32.rc | 44 - utils/nplugin/samples/simple/simple.cpp | 174 - utils/nplugin/src/makefile.nt | 78 - utils/nplugin/src/npapi.h | 258 - utils/nplugin/src/npapp.cpp | 279 - utils/nplugin/src/npapp.h | 91 - utils/nplugin/src/npframe.cpp | 293 - utils/nplugin/src/npframe.h | 81 - utils/nplugin/src/npshell.cpp | 282 - utils/nplugin/src/npupp.h | 799 -- utils/nplugin/src/npwin.cpp | 186 - utils/ogl/distrib/ogl.rsp | 39 - utils/ogl/distrib/tarogl.bat | 48 - utils/ogl/distrib/zipogl.bat | 28 - utils/ogl/docs/back.gif | Bin 225 -> 0 bytes utils/ogl/docs/books.bmp | Bin 1222 -> 0 bytes utils/ogl/docs/bugs.tex | 11 - utils/ogl/docs/bullet.bmp | Bin 138 -> 0 bytes utils/ogl/docs/changes.tex | 9 - utils/ogl/docs/classes.tex | 2505 ------ utils/ogl/docs/contents.gif | Bin 231 -> 0 bytes utils/ogl/docs/forward.gif | Bin 164 -> 0 bytes utils/ogl/docs/intro.tex | 45 - utils/ogl/docs/ogl.hpj | 17 - utils/ogl/docs/ogl.tex | 38 - utils/ogl/docs/ogledit.bmp | Bin 87670 -> 0 bytes utils/ogl/docs/ogledit.gif | Bin 7163 -> 0 bytes utils/ogl/docs/sample.tex | 128 - utils/ogl/docs/tex2rtf.ini | 20 - utils/ogl/docs/topics.tex | 163 - utils/ogl/docs/up.gif | Bin 137 -> 0 bytes utils/ogl/samples/ogledit/bitmaps/arrow.bmp | Bin 382 -> 0 bytes utils/ogl/samples/ogledit/bitmaps/tool1.bmp | Bin 382 -> 0 bytes utils/ogl/samples/ogledit/bitmaps/tool2.bmp | Bin 382 -> 0 bytes utils/ogl/samples/ogledit/bitmaps/tool3.bmp | Bin 382 -> 0 bytes utils/ogl/samples/ogledit/bitmaps/tool4.bmp | Bin 382 -> 0 bytes utils/ogl/samples/ogledit/doc.cpp | 570 -- utils/ogl/samples/ogledit/doc.h | 172 - utils/ogl/samples/ogledit/makefile.b32 | 88 - utils/ogl/samples/ogledit/makefile.bcc | 87 - utils/ogl/samples/ogledit/makefile.dos | 103 - utils/ogl/samples/ogledit/makefile.nt | 95 - utils/ogl/samples/ogledit/makefile.sc | 33 - utils/ogl/samples/ogledit/makefile.unx | 79 - utils/ogl/samples/ogledit/makefile.vms | 44 - utils/ogl/samples/ogledit/makefile.wat | 43 - utils/ogl/samples/ogledit/ogl.ico | Bin 766 -> 0 bytes utils/ogl/samples/ogledit/ogledit.cpp | 208 - utils/ogl/samples/ogledit/ogledit.def | 8 - utils/ogl/samples/ogledit/ogledit.h | 75 - utils/ogl/samples/ogledit/ogledit.rc | 10 - utils/ogl/samples/ogledit/palette.cpp | 115 - utils/ogl/samples/ogledit/palette.h | 58 - utils/ogl/samples/ogledit/view.cpp | 264 - utils/ogl/samples/ogledit/view.h | 79 - utils/ogl/src/basic.cpp | 2754 ------- utils/ogl/src/basic.h | 660 -- utils/ogl/src/basic2.cpp | 2049 ----- utils/ogl/src/basicp.h | 223 - utils/ogl/src/bitmap.cpp | 123 - utils/ogl/src/bitmap.h | 54 - utils/ogl/src/canvas.cpp | 511 -- utils/ogl/src/canvas.h | 83 - utils/ogl/src/composit.cpp | 1763 ---- utils/ogl/src/composit.h | 242 - utils/ogl/src/constrnt.cpp | 621 -- utils/ogl/src/constrnt.h | 87 - utils/ogl/src/divided.cpp | 722 -- utils/ogl/src/divided.h | 76 - utils/ogl/src/drawn.cpp | 2494 ------ utils/ogl/src/drawn.h | 226 - utils/ogl/src/drawnp.h | 205 - utils/ogl/src/lines.cpp | 2501 ------ utils/ogl/src/lines.h | 295 - utils/ogl/src/linesp.h | 88 - utils/ogl/src/makefile.b32 | 106 - utils/ogl/src/makefile.bcc | 105 - utils/ogl/src/makefile.dos | 161 - utils/ogl/src/makefile.nt | 180 - utils/ogl/src/makefile.unx | 125 - utils/ogl/src/makefile.wat | 28 - utils/ogl/src/mfutils.cpp | 1085 --- utils/ogl/src/mfutils.h | 211 - utils/ogl/src/misc.cpp | 908 --- utils/ogl/src/misc.h | 113 - utils/ogl/src/ogl.h | 26 - utils/ogl/src/ogldiag.cpp | 580 -- utils/ogl/src/ogldiag.h | 94 - utils/serialize/.cvsignore | 3 - utils/serialize/Makefile | 1 - utils/serialize/Makefile.in | 48 - utils/serialize/sercore.cpp | 107 - utils/serialize/sercore.h | 24 - utils/serialize/serctrl.cpp | 423 - utils/serialize/serctrl.h | 47 - utils/serialize/serext.cpp | 137 - utils/serialize/serext.h | 26 - utils/serialize/sergdi.cpp | 326 - utils/serialize/sergdi.h | 37 - utils/serialize/sermain.cpp | 27 - utils/serialize/serwnd.cpp | 464 -- utils/serialize/serwnd.h | 56 - utils/wxPython/README.txt | 133 - utils/wxPython/TODO.txt | 43 - utils/wxPython/src/Makefile.pre.in | 378 - utils/wxPython/src/Setup.in | 44 - utils/wxPython/src/__init__.py | 24 - utils/wxPython/src/_defs.i | 714 -- utils/wxPython/src/_extras.py | 774 -- utils/wxPython/src/cmndlgs.i | 315 - utils/wxPython/src/controls.i | 451 -- utils/wxPython/src/controls2.i | 444 - utils/wxPython/src/events.i | 303 - utils/wxPython/src/gdi.i | 502 -- utils/wxPython/src/gtk/cmndlgs.cpp | 2072 ----- utils/wxPython/src/gtk/cmndlgs.py | 307 - utils/wxPython/src/gtk/controls.cpp | 5165 ------------ utils/wxPython/src/gtk/controls.py | 723 -- utils/wxPython/src/gtk/controls2.cpp | 3136 ------- utils/wxPython/src/gtk/controls2.py | 535 -- utils/wxPython/src/gtk/dummy | 0 utils/wxPython/src/gtk/events.cpp | 2844 ------- utils/wxPython/src/gtk/events.py | 611 -- utils/wxPython/src/gtk/gdi.cpp | 4718 ----------- utils/wxPython/src/gtk/gdi.py | 689 -- utils/wxPython/src/gtk/mdi.cpp | 863 -- utils/wxPython/src/gtk/mdi.py | 118 - utils/wxPython/src/gtk/misc.cpp | 2702 ------- utils/wxPython/src/gtk/misc.py | 477 -- utils/wxPython/src/gtk/windows.cpp | 4553 ----------- utils/wxPython/src/gtk/windows.py | 616 -- utils/wxPython/src/gtk/windows2.cpp | 2931 ------- utils/wxPython/src/gtk/windows2.py | 387 - utils/wxPython/src/gtk/wxp.cpp | 1923 ----- utils/wxPython/src/gtk/wxp.py | 1387 ---- utils/wxPython/src/helpers.cpp | 686 -- utils/wxPython/src/helpers.h | 121 - utils/wxPython/src/makefile.nt | 219 - utils/wxPython/src/mdi.i | 109 - utils/wxPython/src/misc.i | 330 - utils/wxPython/src/motif/dummy | 0 utils/wxPython/src/msw/cmndlgs.cpp | 3830 --------- utils/wxPython/src/msw/cmndlgs.py | 581 -- utils/wxPython/src/msw/controls.cpp | 5673 ------------- utils/wxPython/src/msw/controls.py | 794 -- utils/wxPython/src/msw/controls2.cpp | 4204 ---------- utils/wxPython/src/msw/controls2.py | 685 -- utils/wxPython/src/msw/dummy | 0 utils/wxPython/src/msw/events.cpp | 2847 ------- utils/wxPython/src/msw/events.py | 611 -- utils/wxPython/src/msw/gdi.cpp | 5305 ------------ utils/wxPython/src/msw/gdi.py | 765 -- utils/wxPython/src/msw/mdi.cpp | 902 --- utils/wxPython/src/msw/mdi.py | 121 - utils/wxPython/src/msw/misc.cpp | 2964 ------- utils/wxPython/src/msw/misc.py | 532 -- utils/wxPython/src/msw/windows.cpp | 5161 ------------ utils/wxPython/src/msw/windows.py | 693 -- utils/wxPython/src/msw/windows2.cpp | 2990 ------- utils/wxPython/src/msw/windows2.py | 390 - utils/wxPython/src/msw/wxp.cpp | 2028 ----- utils/wxPython/src/msw/wxp.py | 1397 ---- utils/wxPython/src/my_typemaps.i | 198 - utils/wxPython/src/qt/dummy | 0 utils/wxPython/src/windows.i | 406 - utils/wxPython/src/windows2.i | 242 - utils/wxPython/src/wxp.i | 170 - utils/wxPython/src/wxp.ico | Bin 766 -> 0 bytes utils/wxPython/src/wxpc.def | 2 - utils/wxPython/src/wxpc.rc | 2 - utils/wxPython/tests/bitmaps/mondrian.ico | Bin 766 -> 0 bytes utils/wxPython/tests/bitmaps/test2.bmp | Bin 12342 -> 0 bytes utils/wxPython/tests/test1.py | 72 - utils/wxPython/tests/test2.py | 158 - utils/wxPython/tests/test3.py | 152 - utils/wxPython/tests/test4.py | 556 -- utils/wxprop/Makefile | 1 - utils/wxprop/docs/back.gif | Bin 225 -> 0 bytes utils/wxprop/docs/body.tex | 106 - utils/wxprop/docs/books.bmp | Bin 1222 -> 0 bytes utils/wxprop/docs/books.gif | Bin 242 -> 0 bytes utils/wxprop/docs/bullet.bmp | Bin 138 -> 0 bytes utils/wxprop/docs/changes.tex | 22 - utils/wxprop/docs/classes.tex | 1756 ---- utils/wxprop/docs/contents.gif | Bin 231 -> 0 bytes utils/wxprop/docs/forward.gif | Bin 164 -> 0 bytes utils/wxprop/docs/prop.hpj | 17 - utils/wxprop/docs/prop.tex | 55 - utils/wxprop/docs/prop1.bmp | Bin 29238 -> 0 bytes utils/wxprop/docs/prop1.eps | 539 -- utils/wxprop/docs/prop1.gif | Bin 3042 -> 0 bytes utils/wxprop/docs/prop2.bmp | Bin 42526 -> 0 bytes utils/wxprop/docs/prop2.eps | 664 -- utils/wxprop/docs/prop2.gif | Bin 4296 -> 0 bytes utils/wxprop/docs/readme.txt | 39 - utils/wxprop/docs/tex2rtf.ini | 21 - utils/wxprop/docs/up.gif | Bin 137 -> 0 bytes utils/wxprop/docs/wxprop.hpj | 17 - utils/wxprop/lib/dummy | 1 - utils/wxprop/src/.cvsignore | 3 - utils/wxprop/src/Makefile | 1 - utils/wxprop/src/Makefile.in | 69 - utils/wxprop/src/cross.bmp | Bin 198 -> 0 bytes utils/wxprop/src/makefile.b32 | 74 - utils/wxprop/src/makefile.dos | 138 - utils/wxprop/src/makefile.g95 | 54 - utils/wxprop/src/makefile.nt | 144 - utils/wxprop/src/prop.cpp | 1115 --- utils/wxprop/src/prop.h | 320 - utils/wxprop/src/propform.cpp | 738 -- utils/wxprop/src/propform.h | 289 - utils/wxprop/src/proplist.cpp | 1878 ----- utils/wxprop/src/proplist.h | 546 -- utils/wxprop/src/test.cpp | 321 - utils/wxprop/src/test.def | 8 - utils/wxprop/src/test.h | 127 - utils/wxprop/src/test.rc | 5 - utils/wxprop/src/tick.bmp | Bin 198 -> 0 bytes utils/wxtree/docs/back.gif | Bin 225 -> 0 bytes utils/wxtree/docs/books.gif | Bin 433 -> 0 bytes utils/wxtree/docs/classes.tex | 304 - utils/wxtree/docs/contents.gif | Bin 231 -> 0 bytes utils/wxtree/docs/forward.gif | Bin 164 -> 0 bytes utils/wxtree/docs/tex2rtf.ini | 28 - utils/wxtree/docs/tree.bib | 8 - utils/wxtree/docs/treetst.bmp | Bin 14982 -> 0 bytes utils/wxtree/docs/treetst.gif | Bin 2490 -> 0 bytes utils/wxtree/docs/up.gif | Bin 137 -> 0 bytes utils/wxtree/docs/wxtree.tex | 73 - utils/wxtree/lib/dummy | 1 - utils/wxtree/src/makefile.b32 | 71 - utils/wxtree/src/makefile.bcc | 96 - utils/wxtree/src/makefile.dos | 118 - utils/wxtree/src/makefile.g95 | 48 - utils/wxtree/src/makefile.nt | 133 - utils/wxtree/src/makefile.sc | 73 - utils/wxtree/src/makefile.unx | 133 - utils/wxtree/src/makefile.wat | 49 - utils/wxtree/src/mondrian.ico | Bin 766 -> 0 bytes utils/wxtree/src/test.cpp | 200 - utils/wxtree/src/test.def | 8 - utils/wxtree/src/test.h | 54 - utils/wxtree/src/test.rc | 3 - utils/wxtree/src/wxtree.cpp | 440 - utils/wxtree/src/wxtree.h | 135 - 2528 files changed, 525613 deletions(-) delete mode 100644 .cvsignore delete mode 100644 Makefile delete mode 100644 TODO.txt delete mode 100755 config.guess delete mode 100755 config.sub delete mode 100755 configure delete mode 100644 configure.in delete mode 100644 distrib/msw/docsrc.rsp delete mode 100644 distrib/msw/generic.rsp delete mode 100644 distrib/msw/gtk.rsp delete mode 100644 distrib/msw/msw.rsp delete mode 100755 distrib/msw/tardist.bat delete mode 100644 distrib/msw/wx_hlp.rsp delete mode 100644 distrib/msw/wx_html.rsp delete mode 100644 distrib/msw/wx_pdf.rsp delete mode 100755 distrib/msw/zipdist.bat delete mode 100644 docs/changes.txt delete mode 100644 docs/gtk/install.txt delete mode 100644 docs/latex/porting/back.gif delete mode 100644 docs/latex/porting/books.bmp delete mode 100644 docs/latex/porting/books.gif delete mode 100644 docs/latex/porting/bullet.bmp delete mode 100644 docs/latex/porting/contents.gif delete mode 100644 docs/latex/porting/forward.gif delete mode 100644 docs/latex/porting/porting.hpj delete mode 100644 docs/latex/porting/porting.tex delete mode 100644 docs/latex/porting/tex2rtf.ini delete mode 100644 docs/latex/porting/texhelp.sty delete mode 100644 docs/latex/porting/up.gif delete mode 100644 docs/latex/wx/activevt.tex delete mode 100644 docs/latex/wx/app.tex delete mode 100644 docs/latex/wx/back.gif delete mode 100644 docs/latex/wx/bbutton.tex delete mode 100644 docs/latex/wx/bitmap.tex delete mode 100644 docs/latex/wx/body.tex delete mode 100644 docs/latex/wx/book1.bmp delete mode 100644 docs/latex/wx/books.bmp delete mode 100644 docs/latex/wx/books.gif delete mode 100644 docs/latex/wx/brush.tex delete mode 100644 docs/latex/wx/bullet.bmp delete mode 100644 docs/latex/wx/button.tex delete mode 100644 docs/latex/wx/category.tex delete mode 100644 docs/latex/wx/checkbox.tex delete mode 100644 docs/latex/wx/choice.tex delete mode 100644 docs/latex/wx/clasinfo.tex delete mode 100644 docs/latex/wx/classes.tex delete mode 100644 docs/latex/wx/clientdc.tex delete mode 100644 docs/latex/wx/clipbrd.tex delete mode 100644 docs/latex/wx/closeevt.tex delete mode 100644 docs/latex/wx/cmdevent.tex delete mode 100644 docs/latex/wx/cmdproc.tex delete mode 100644 docs/latex/wx/colordlg.tex delete mode 100644 docs/latex/wx/colour.tex delete mode 100644 docs/latex/wx/combobox.tex delete mode 100644 docs/latex/wx/command.tex delete mode 100644 docs/latex/wx/conditn.tex delete mode 100644 docs/latex/wx/config.tex delete mode 100644 docs/latex/wx/contents.gif delete mode 100644 docs/latex/wx/control.tex delete mode 100644 docs/latex/wx/cpp.bmp delete mode 100644 docs/latex/wx/cursor.tex delete mode 100644 docs/latex/wx/database.tex delete mode 100644 docs/latex/wx/date.tex delete mode 100644 docs/latex/wx/datstrm.tex delete mode 100644 docs/latex/wx/dc.tex delete mode 100644 docs/latex/wx/ddeclint.tex delete mode 100644 docs/latex/wx/ddeconn.tex delete mode 100644 docs/latex/wx/ddeservr.tex delete mode 100644 docs/latex/wx/debugcxt.tex delete mode 100644 docs/latex/wx/dialog.tex delete mode 100644 docs/latex/wx/dirdlg.tex delete mode 100644 docs/latex/wx/docchfrm.tex delete mode 100644 docs/latex/wx/docmanag.tex delete mode 100644 docs/latex/wx/docmdich.tex delete mode 100644 docs/latex/wx/docmdipr.tex delete mode 100644 docs/latex/wx/docprfrm.tex delete mode 100644 docs/latex/wx/doctempl.tex delete mode 100644 docs/latex/wx/document.tex delete mode 100644 docs/latex/wx/dropevt.tex delete mode 100644 docs/latex/wx/eraseevt.tex delete mode 100644 docs/latex/wx/event.tex delete mode 100644 docs/latex/wx/evthand.tex delete mode 100644 docs/latex/wx/expr.tex delete mode 100644 docs/latex/wx/file.tex delete mode 100644 docs/latex/wx/filedlg.tex delete mode 100644 docs/latex/wx/filehist.tex delete mode 100644 docs/latex/wx/focusevt.tex delete mode 100644 docs/latex/wx/font.tex delete mode 100644 docs/latex/wx/fontdlg.tex delete mode 100644 docs/latex/wx/fontlist.tex delete mode 100644 docs/latex/wx/forward.gif delete mode 100644 docs/latex/wx/frame.tex delete mode 100644 docs/latex/wx/function.tex delete mode 100644 docs/latex/wx/gauge.tex delete mode 100644 docs/latex/wx/gdiobj.tex delete mode 100644 docs/latex/wx/grid.tex delete mode 100644 docs/latex/wx/grid1.bmp delete mode 100644 docs/latex/wx/grid1.eps delete mode 100644 docs/latex/wx/grid1.gif delete mode 100644 docs/latex/wx/hand1.bmp delete mode 100644 docs/latex/wx/hash.tex delete mode 100644 docs/latex/wx/hellow.bmp delete mode 100644 docs/latex/wx/hellow.gif delete mode 100644 docs/latex/wx/hellox.bmp delete mode 100644 docs/latex/wx/hellox.gif delete mode 100644 docs/latex/wx/helpinst.tex delete mode 100644 docs/latex/wx/icon.tex delete mode 100644 docs/latex/wx/idleevt.tex delete mode 100644 docs/latex/wx/ilayout.tex delete mode 100644 docs/latex/wx/imaglist.tex delete mode 100644 docs/latex/wx/indlgevt.tex delete mode 100644 docs/latex/wx/joyevent.tex delete mode 100644 docs/latex/wx/joystick.tex delete mode 100644 docs/latex/wx/keyevent.tex delete mode 100644 docs/latex/wx/layout.tex delete mode 100644 docs/latex/wx/list.tex delete mode 100644 docs/latex/wx/listbox.tex delete mode 100644 docs/latex/wx/listctrl.tex delete mode 100644 docs/latex/wx/listevt.tex delete mode 100644 docs/latex/wx/manual.tex delete mode 100644 docs/latex/wx/mask.tex delete mode 100644 docs/latex/wx/mdi.tex delete mode 100644 docs/latex/wx/memorydc.tex delete mode 100644 docs/latex/wx/menu.tex delete mode 100644 docs/latex/wx/menuevt.tex delete mode 100644 docs/latex/wx/menuitem.tex delete mode 100644 docs/latex/wx/metafile.tex delete mode 100644 docs/latex/wx/minifram.tex delete mode 100644 docs/latex/wx/mltchdlg.tex delete mode 100644 docs/latex/wx/module.tex delete mode 100644 docs/latex/wx/mouseevt.tex delete mode 100644 docs/latex/wx/moveevt.tex delete mode 100644 docs/latex/wx/msgdlg.tex delete mode 100644 docs/latex/wx/mutex.tex delete mode 100644 docs/latex/wx/node.tex delete mode 100644 docs/latex/wx/object.tex delete mode 100644 docs/latex/wx/pagedlg.tex delete mode 100644 docs/latex/wx/paintdc.tex delete mode 100644 docs/latex/wx/paintevt.tex delete mode 100644 docs/latex/wx/palette.tex delete mode 100644 docs/latex/wx/panel.tex delete mode 100644 docs/latex/wx/pantabv.tex delete mode 100644 docs/latex/wx/pathlist.tex delete mode 100644 docs/latex/wx/pen.tex delete mode 100644 docs/latex/wx/plug.bmp delete mode 100644 docs/latex/wx/point.tex delete mode 100644 docs/latex/wx/postscpt.tex delete mode 100644 docs/latex/wx/prevwin.tex delete mode 100644 docs/latex/wx/print.tex delete mode 100644 docs/latex/wx/process.tex delete mode 100644 docs/latex/wx/psbox.tex delete mode 100644 docs/latex/wx/query.tex delete mode 100644 docs/latex/wx/radiobox.tex delete mode 100644 docs/latex/wx/radiobut.tex delete mode 100644 docs/latex/wx/realpoin.tex delete mode 100644 docs/latex/wx/recrdset.tex delete mode 100644 docs/latex/wx/rect.tex delete mode 100644 docs/latex/wx/referenc.tex delete mode 100644 docs/latex/wx/refs.bib delete mode 100644 docs/latex/wx/region.tex delete mode 100644 docs/latex/wx/screendc.tex delete mode 100644 docs/latex/wx/scrolbar.tex delete mode 100644 docs/latex/wx/scrolevt.tex delete mode 100644 docs/latex/wx/scrolwin.tex delete mode 100644 docs/latex/wx/settings.tex delete mode 100644 docs/latex/wx/shelves.bmp delete mode 100644 docs/latex/wx/size.tex delete mode 100644 docs/latex/wx/sizeevt.tex delete mode 100644 docs/latex/wx/slider.tex delete mode 100644 docs/latex/wx/sngchdlg.tex delete mode 100644 docs/latex/wx/spinbutt.tex delete mode 100644 docs/latex/wx/splitter.bmp delete mode 100644 docs/latex/wx/splitter.eps delete mode 100644 docs/latex/wx/splitter.gif delete mode 100644 docs/latex/wx/splitter.tex delete mode 100644 docs/latex/wx/statbmp.tex delete mode 100644 docs/latex/wx/statbox.tex delete mode 100644 docs/latex/wx/stattext.tex delete mode 100644 docs/latex/wx/statusbr.tex delete mode 100644 docs/latex/wx/strlist.tex delete mode 100644 docs/latex/wx/sysclevt.tex delete mode 100644 docs/latex/wx/tab.tex delete mode 100644 docs/latex/wx/tabctrl.tex delete mode 100644 docs/latex/wx/tabevent.tex delete mode 100644 docs/latex/wx/tapp.tex delete mode 100644 docs/latex/wx/taskbar.tex delete mode 100644 docs/latex/wx/tbitmap.tex delete mode 100644 docs/latex/wx/tcommdlg.tex delete mode 100644 docs/latex/wx/tconstr.tex delete mode 100644 docs/latex/wx/tdb.tex delete mode 100644 docs/latex/wx/tdc.tex delete mode 100644 docs/latex/wx/tdebug.tex delete mode 100644 docs/latex/wx/tdelwin.tex delete mode 100644 docs/latex/wx/tdialog.tex delete mode 100644 docs/latex/wx/tdocview.tex delete mode 100644 docs/latex/wx/tevent.tex delete mode 100644 docs/latex/wx/tex2rtf.ini delete mode 100644 docs/latex/wx/texhelp.sty delete mode 100644 docs/latex/wx/texpr.tex delete mode 100644 docs/latex/wx/text.tex delete mode 100644 docs/latex/wx/textdlg.tex delete mode 100644 docs/latex/wx/tfont.tex delete mode 100644 docs/latex/wx/tgrid.tex delete mode 100644 docs/latex/wx/tguide.tex delete mode 100644 docs/latex/wx/thread.tex delete mode 100644 docs/latex/wx/timaglst.tex delete mode 100644 docs/latex/wx/time.tex delete mode 100644 docs/latex/wx/timer.tex delete mode 100644 docs/latex/wx/tipc.tex delete mode 100644 docs/latex/wx/tlistctl.tex delete mode 100644 docs/latex/wx/toolbar.tex delete mode 100644 docs/latex/wx/topics.tex delete mode 100644 docs/latex/wx/tprint.tex delete mode 100644 docs/latex/wx/treectrl.tex delete mode 100644 docs/latex/wx/treeevt.tex delete mode 100644 docs/latex/wx/tresourc.tex delete mode 100644 docs/latex/wx/truntime.tex delete mode 100644 docs/latex/wx/tscroll.tex delete mode 100644 docs/latex/wx/tsplittr.tex delete mode 100644 docs/latex/wx/tstring.tex delete mode 100644 docs/latex/wx/tstyles.tex delete mode 100644 docs/latex/wx/ttab.tex delete mode 100644 docs/latex/wx/ttoolbar.tex delete mode 100644 docs/latex/wx/ttreectl.tex delete mode 100644 docs/latex/wx/tusage.tex delete mode 100644 docs/latex/wx/tvalidat.tex delete mode 100644 docs/latex/wx/up.gif delete mode 100644 docs/latex/wx/upditer.tex delete mode 100644 docs/latex/wx/upduievt.tex delete mode 100644 docs/latex/wx/validatr.tex delete mode 100644 docs/latex/wx/valtext.tex delete mode 100644 docs/latex/wx/view.tex delete mode 100644 docs/latex/wx/wave.tex delete mode 100644 docs/latex/wx/window.tex delete mode 100644 docs/latex/wx/windowdc.tex delete mode 100644 docs/latex/wx/winhelp.tex delete mode 100644 docs/latex/wx/wx.hpj delete mode 100644 docs/latex/wx/wxstring.tex delete mode 100644 docs/latex/wx/wxtab1.bmp delete mode 100644 docs/latex/wx/wxtab1.eps delete mode 100644 docs/latex/wx/wxtab1.gif delete mode 100644 docs/licence.txt delete mode 100644 docs/msw/changes.txt delete mode 100644 docs/msw/install.txt delete mode 100644 docs/msw/issues.txt delete mode 100644 docs/msw/readme.txt delete mode 100644 docs/msw/todo.txt delete mode 100644 docs/readme.txt delete mode 100644 docs/symbols.txt delete mode 100644 docs/word/odbc.doc delete mode 100644 docs/wxQt.html delete mode 100644 include/wx/accel.h delete mode 100644 include/wx/app.h delete mode 100644 include/wx/bitmap.h delete mode 100644 include/wx/bmpbuttn.h delete mode 100644 include/wx/brush.h delete mode 100644 include/wx/button.h delete mode 100644 include/wx/checkbox.h delete mode 100644 include/wx/checklst.h delete mode 100644 include/wx/choicdlg.h delete mode 100644 include/wx/choice.h delete mode 100644 include/wx/clipbrd.h delete mode 100644 include/wx/cmndata.h delete mode 100644 include/wx/colordlg.h delete mode 100644 include/wx/colour.h delete mode 100644 include/wx/combobox.h delete mode 100644 include/wx/confbase.h delete mode 100644 include/wx/config.h delete mode 100644 include/wx/control.h delete mode 100644 include/wx/cursor.h delete mode 100644 include/wx/date.h delete mode 100644 include/wx/datstrm.h delete mode 100644 include/wx/db.h delete mode 100644 include/wx/dbtable.h delete mode 100644 include/wx/dc.h delete mode 100644 include/wx/dcclient.h delete mode 100644 include/wx/dcmemory.h delete mode 100644 include/wx/dcprint.h delete mode 100644 include/wx/dcscreen.h delete mode 100644 include/wx/dde.h delete mode 100644 include/wx/debug.h delete mode 100644 include/wx/defs.h delete mode 100644 include/wx/dialog.h delete mode 100644 include/wx/dirdlg.h delete mode 100644 include/wx/dnd.h delete mode 100644 include/wx/docmdi.h delete mode 100644 include/wx/docview.h delete mode 100644 include/wx/dynarray.h delete mode 100644 include/wx/dynlib.h delete mode 100644 include/wx/event.h delete mode 100644 include/wx/expr.h delete mode 100644 include/wx/file.h delete mode 100644 include/wx/fileconf.h delete mode 100644 include/wx/filedlg.h delete mode 100644 include/wx/filefn.h delete mode 100644 include/wx/font.h delete mode 100644 include/wx/fontdlg.h delete mode 100644 include/wx/frame.h delete mode 100644 include/wx/fstream.h delete mode 100644 include/wx/gauge.h delete mode 100644 include/wx/gdicmn.h delete mode 100644 include/wx/gdiobj.h delete mode 100644 include/wx/generic/choicdgg.h delete mode 100644 include/wx/generic/colrdlgg.h delete mode 100644 include/wx/generic/fontdlgg.h delete mode 100644 include/wx/generic/gridg.h delete mode 100644 include/wx/generic/helpxlp.h delete mode 100644 include/wx/generic/imaglist.h delete mode 100644 include/wx/generic/listctrl.h delete mode 100644 include/wx/generic/msgdlgg.h delete mode 100644 include/wx/generic/panelg.h delete mode 100644 include/wx/generic/printps.h delete mode 100644 include/wx/generic/prntdlgg.h delete mode 100644 include/wx/generic/scrolwin.h delete mode 100644 include/wx/generic/splitter.h delete mode 100644 include/wx/generic/statusbr.h delete mode 100644 include/wx/generic/tabg.h delete mode 100644 include/wx/generic/textdlgg.h delete mode 100644 include/wx/generic/treectrl.h delete mode 100644 include/wx/grid.h delete mode 100644 include/wx/gtk/accel.h delete mode 100644 include/wx/gtk/app.h delete mode 100644 include/wx/gtk/bitmap.h delete mode 100644 include/wx/gtk/bmpbuttn.h delete mode 100644 include/wx/gtk/brush.h delete mode 100644 include/wx/gtk/button.h delete mode 100644 include/wx/gtk/checkbox.h delete mode 100644 include/wx/gtk/choice.h delete mode 100644 include/wx/gtk/colour.h delete mode 100644 include/wx/gtk/combobox.h delete mode 100644 include/wx/gtk/control.h delete mode 100644 include/wx/gtk/cursor.h delete mode 100644 include/wx/gtk/dc.h delete mode 100644 include/wx/gtk/dcclient.h delete mode 100644 include/wx/gtk/dcmemory.h delete mode 100644 include/wx/gtk/dcscreen.h delete mode 100644 include/wx/gtk/dialog.h delete mode 100644 include/wx/gtk/dirdlg.h delete mode 100644 include/wx/gtk/dnd.h delete mode 100644 include/wx/gtk/filedlg.h delete mode 100644 include/wx/gtk/font.h delete mode 100644 include/wx/gtk/frame.h delete mode 100644 include/wx/gtk/gauge.h delete mode 100644 include/wx/gtk/gdiobj.h delete mode 100644 include/wx/gtk/icon.h delete mode 100644 include/wx/gtk/joystick.h delete mode 100644 include/wx/gtk/listbox.h delete mode 100644 include/wx/gtk/mdi.h delete mode 100644 include/wx/gtk/menu.h delete mode 100644 include/wx/gtk/notebook.h delete mode 100644 include/wx/gtk/palette.h delete mode 100644 include/wx/gtk/pen.h delete mode 100644 include/wx/gtk/radiobox.h delete mode 100644 include/wx/gtk/radiobut.h delete mode 100644 include/wx/gtk/region.h delete mode 100644 include/wx/gtk/scrolbar.h delete mode 100644 include/wx/gtk/settings.h delete mode 100644 include/wx/gtk/slider.h delete mode 100644 include/wx/gtk/statbmp.h delete mode 100644 include/wx/gtk/statbox.h delete mode 100644 include/wx/gtk/stattext.h delete mode 100644 include/wx/gtk/tbargtk.h delete mode 100644 include/wx/gtk/textctrl.h delete mode 100644 include/wx/gtk/timer.h delete mode 100644 include/wx/gtk/treectrl.h delete mode 100644 include/wx/gtk/win_gtk.h delete mode 100644 include/wx/gtk/window.h delete mode 100644 include/wx/gtk1/accel.h delete mode 100644 include/wx/gtk1/app.h delete mode 100644 include/wx/gtk1/bitmap.h delete mode 100644 include/wx/gtk1/bmpbuttn.h delete mode 100644 include/wx/gtk1/brush.h delete mode 100644 include/wx/gtk1/button.h delete mode 100644 include/wx/gtk1/checkbox.h delete mode 100644 include/wx/gtk1/choice.h delete mode 100644 include/wx/gtk1/colour.h delete mode 100644 include/wx/gtk1/combobox.h delete mode 100644 include/wx/gtk1/control.h delete mode 100644 include/wx/gtk1/cursor.h delete mode 100644 include/wx/gtk1/dc.h delete mode 100644 include/wx/gtk1/dcclient.h delete mode 100644 include/wx/gtk1/dcmemory.h delete mode 100644 include/wx/gtk1/dcscreen.h delete mode 100644 include/wx/gtk1/dialog.h delete mode 100644 include/wx/gtk1/dirdlg.h delete mode 100644 include/wx/gtk1/dnd.h delete mode 100644 include/wx/gtk1/filedlg.h delete mode 100644 include/wx/gtk1/font.h delete mode 100644 include/wx/gtk1/frame.h delete mode 100644 include/wx/gtk1/gauge.h delete mode 100644 include/wx/gtk1/gdiobj.h delete mode 100644 include/wx/gtk1/icon.h delete mode 100644 include/wx/gtk1/joystick.h delete mode 100644 include/wx/gtk1/listbox.h delete mode 100644 include/wx/gtk1/mdi.h delete mode 100644 include/wx/gtk1/menu.h delete mode 100644 include/wx/gtk1/notebook.h delete mode 100644 include/wx/gtk1/palette.h delete mode 100644 include/wx/gtk1/pen.h delete mode 100644 include/wx/gtk1/radiobox.h delete mode 100644 include/wx/gtk1/radiobut.h delete mode 100644 include/wx/gtk1/region.h delete mode 100644 include/wx/gtk1/scrolbar.h delete mode 100644 include/wx/gtk1/settings.h delete mode 100644 include/wx/gtk1/slider.h delete mode 100644 include/wx/gtk1/statbmp.h delete mode 100644 include/wx/gtk1/statbox.h delete mode 100644 include/wx/gtk1/stattext.h delete mode 100644 include/wx/gtk1/tbargtk.h delete mode 100644 include/wx/gtk1/textctrl.h delete mode 100644 include/wx/gtk1/timer.h delete mode 100644 include/wx/gtk1/treectrl.h delete mode 100644 include/wx/gtk1/win_gtk.h delete mode 100644 include/wx/gtk1/window.h delete mode 100644 include/wx/hash.h delete mode 100644 include/wx/help.h delete mode 100644 include/wx/helpbase.h delete mode 100644 include/wx/helphtml.h delete mode 100644 include/wx/helpwin.h delete mode 100644 include/wx/helpxlp.h delete mode 100644 include/wx/icon.h delete mode 100644 include/wx/imaglist.h delete mode 100644 include/wx/intl.h delete mode 100644 include/wx/ipcbase.h delete mode 100644 include/wx/joystick.h delete mode 100644 include/wx/layout.h delete mode 100644 include/wx/list.h delete mode 100644 include/wx/listbox.h delete mode 100644 include/wx/listctrl.h delete mode 100644 include/wx/listimpl.cpp delete mode 100644 include/wx/log.h delete mode 100644 include/wx/matrix.h delete mode 100644 include/wx/mdi.h delete mode 100644 include/wx/memory.h delete mode 100644 include/wx/menu.h delete mode 100644 include/wx/menuitem.h delete mode 100644 include/wx/metafile.h delete mode 100644 include/wx/minifram.h delete mode 100644 include/wx/module.h delete mode 100644 include/wx/msgdlg.h delete mode 100644 include/wx/mstream.h delete mode 100644 include/wx/msw/accel.h delete mode 100644 include/wx/msw/app.h delete mode 100644 include/wx/msw/bitmap.h delete mode 100644 include/wx/msw/blank.cur delete mode 100644 include/wx/msw/bmpbuttn.h delete mode 100644 include/wx/msw/brush.h delete mode 100644 include/wx/msw/bullseye.cur delete mode 100644 include/wx/msw/button.h delete mode 100644 include/wx/msw/checkbox.h delete mode 100644 include/wx/msw/checklst.h delete mode 100644 include/wx/msw/choice.h delete mode 100644 include/wx/msw/clipbrd.h delete mode 100644 include/wx/msw/clock.cur delete mode 100644 include/wx/msw/colordlg.h delete mode 100644 include/wx/msw/colour.h delete mode 100644 include/wx/msw/combobox.h delete mode 100644 include/wx/msw/control.h delete mode 100644 include/wx/msw/ctl3d/ctl3d.h delete mode 100644 include/wx/msw/curico.h delete mode 100644 include/wx/msw/curicop.h delete mode 100644 include/wx/msw/cursor.h delete mode 100644 include/wx/msw/dc.h delete mode 100644 include/wx/msw/dcclient.h delete mode 100644 include/wx/msw/dcmemory.h delete mode 100644 include/wx/msw/dcprint.h delete mode 100644 include/wx/msw/dcscreen.h delete mode 100644 include/wx/msw/dde.h delete mode 100644 include/wx/msw/dialog.h delete mode 100644 include/wx/msw/dib.h delete mode 100644 include/wx/msw/dibutils.h delete mode 100644 include/wx/msw/dirdlg.h delete mode 100644 include/wx/msw/disable.bmp delete mode 100644 include/wx/msw/filedlg.h delete mode 100644 include/wx/msw/font.h delete mode 100644 include/wx/msw/fontdlg.h delete mode 100644 include/wx/msw/frame.h delete mode 100644 include/wx/msw/gauge.h delete mode 100644 include/wx/msw/gauge95.h delete mode 100644 include/wx/msw/gaugemsw.h delete mode 100644 include/wx/msw/gdiobj.h delete mode 100644 include/wx/msw/hand.cur delete mode 100644 include/wx/msw/heart.cur delete mode 100644 include/wx/msw/helpwin.h delete mode 100644 include/wx/msw/icon.h delete mode 100644 include/wx/msw/imaglist.h delete mode 100644 include/wx/msw/iniconf.h delete mode 100644 include/wx/msw/joystick.h delete mode 100644 include/wx/msw/listbox.h delete mode 100644 include/wx/msw/listctrl.h delete mode 100644 include/wx/msw/magnif1.cur delete mode 100644 include/wx/msw/mdi.h delete mode 100644 include/wx/msw/menu.h delete mode 100644 include/wx/msw/metafile.h delete mode 100644 include/wx/msw/minifram.h delete mode 100644 include/wx/msw/msgdlg.h delete mode 100644 include/wx/msw/noentry.cur delete mode 100644 include/wx/msw/notebook.h delete mode 100644 include/wx/msw/ole/dataobj.h delete mode 100644 include/wx/msw/ole/dropsrc.h delete mode 100644 include/wx/msw/ole/droptgt.h delete mode 100644 include/wx/msw/ole/oleutils.h delete mode 100644 include/wx/msw/ole/uuid.h delete mode 100644 include/wx/msw/palette.h delete mode 100644 include/wx/msw/pbrush.cur delete mode 100644 include/wx/msw/pen.h delete mode 100644 include/wx/msw/pencil.cur delete mode 100644 include/wx/msw/pnghand.h delete mode 100644 include/wx/msw/pngread.h delete mode 100644 include/wx/msw/pntleft.cur delete mode 100644 include/wx/msw/pntright.cur delete mode 100644 include/wx/msw/printdlg.h delete mode 100644 include/wx/msw/printwin.h delete mode 100644 include/wx/msw/private.h delete mode 100644 include/wx/msw/query.cur delete mode 100644 include/wx/msw/radiobox.h delete mode 100644 include/wx/msw/radiobut.h delete mode 100644 include/wx/msw/regconf.h delete mode 100644 include/wx/msw/region.h delete mode 100644 include/wx/msw/registry.h delete mode 100644 include/wx/msw/roller.cur delete mode 100644 include/wx/msw/scrolbar.h delete mode 100644 include/wx/msw/settings.h delete mode 100644 include/wx/msw/setup.h delete mode 100644 include/wx/msw/size.cur delete mode 100644 include/wx/msw/slider.h delete mode 100644 include/wx/msw/slider95.h delete mode 100644 include/wx/msw/slidrmsw.h delete mode 100644 include/wx/msw/spinbutt.h delete mode 100644 include/wx/msw/statbmp.h delete mode 100644 include/wx/msw/statbox.h delete mode 100644 include/wx/msw/statbr95.h delete mode 100644 include/wx/msw/stattext.h delete mode 100644 include/wx/msw/tabctrl.h delete mode 100644 include/wx/msw/taskbar.h delete mode 100644 include/wx/msw/tbar95.h delete mode 100644 include/wx/msw/tbarmsw.h delete mode 100644 include/wx/msw/textctrl.h delete mode 100644 include/wx/msw/timer.h delete mode 100644 include/wx/msw/treectrl.h delete mode 100644 include/wx/msw/watch1.cur delete mode 100644 include/wx/msw/wave.h delete mode 100644 include/wx/msw/window.h delete mode 100644 include/wx/msw/wx.rc delete mode 100644 include/wx/notebook.h delete mode 100644 include/wx/object.h delete mode 100644 include/wx/objstrm.h delete mode 100644 include/wx/odbc.h delete mode 100644 include/wx/ownerdrw.h delete mode 100644 include/wx/palette.h delete mode 100644 include/wx/panel.h delete mode 100644 include/wx/pen.h delete mode 100644 include/wx/pnghand.h delete mode 100644 include/wx/postscrp.h delete mode 100644 include/wx/print.h delete mode 100644 include/wx/printdlg.h delete mode 100644 include/wx/prntbase.h delete mode 100644 include/wx/process.h delete mode 100644 include/wx/qt/app.h delete mode 100644 include/wx/qt/bitmap.h delete mode 100644 include/wx/qt/bmpbuttn.h delete mode 100644 include/wx/qt/brush.h delete mode 100644 include/wx/qt/button.h delete mode 100644 include/wx/qt/checkbox.h delete mode 100644 include/wx/qt/choice.h delete mode 100644 include/wx/qt/colour.h delete mode 100644 include/wx/qt/combobox.h delete mode 100644 include/wx/qt/control.h delete mode 100644 include/wx/qt/cursor.h delete mode 100644 include/wx/qt/dc.h delete mode 100644 include/wx/qt/dcclient.h delete mode 100644 include/wx/qt/dcmemory.h delete mode 100644 include/wx/qt/dcscreen.h delete mode 100644 include/wx/qt/dialog.h delete mode 100644 include/wx/qt/dirdlg.h delete mode 100644 include/wx/qt/dnd.h delete mode 100644 include/wx/qt/filedlg.h delete mode 100644 include/wx/qt/font.h delete mode 100644 include/wx/qt/frame.h delete mode 100644 include/wx/qt/gauge.h delete mode 100644 include/wx/qt/gdiobj.h delete mode 100644 include/wx/qt/icon.h delete mode 100644 include/wx/qt/joystick.h delete mode 100644 include/wx/qt/listbox.h delete mode 100644 include/wx/qt/mdi.h delete mode 100644 include/wx/qt/menu.h delete mode 100644 include/wx/qt/notebook.h delete mode 100644 include/wx/qt/palette.h delete mode 100644 include/wx/qt/pen.h delete mode 100644 include/wx/qt/radiobox.h delete mode 100644 include/wx/qt/radiobut.h delete mode 100644 include/wx/qt/region.h delete mode 100644 include/wx/qt/scrolbar.h delete mode 100644 include/wx/qt/settings.h delete mode 100644 include/wx/qt/slider.h delete mode 100644 include/wx/qt/statbmp.h delete mode 100644 include/wx/qt/statbox.h delete mode 100644 include/wx/qt/stattext.h delete mode 100644 include/wx/qt/tbargtk.h delete mode 100644 include/wx/qt/textctrl.h delete mode 100644 include/wx/qt/timer.h delete mode 100644 include/wx/qt/window.h delete mode 100644 include/wx/radiobox.h delete mode 100644 include/wx/radiobut.h delete mode 100644 include/wx/region.h delete mode 100644 include/wx/resource.h delete mode 100644 include/wx/scrolbar.h delete mode 100644 include/wx/scrolwin.h delete mode 100644 include/wx/serbase.h delete mode 100644 include/wx/settings.h delete mode 100644 include/wx/setup.h delete mode 100644 include/wx/slider.h delete mode 100644 include/wx/spinbutt.h delete mode 100644 include/wx/splitter.h delete mode 100644 include/wx/statbmp.h delete mode 100644 include/wx/statbox.h delete mode 100644 include/wx/stattext.h delete mode 100644 include/wx/statusbr.h delete mode 100644 include/wx/stream.h delete mode 100644 include/wx/string.h delete mode 100644 include/wx/stubs/accel.h delete mode 100644 include/wx/stubs/app.h delete mode 100644 include/wx/stubs/bitmap.h delete mode 100644 include/wx/stubs/bmpbuttn.h delete mode 100644 include/wx/stubs/brush.h delete mode 100644 include/wx/stubs/button.h delete mode 100644 include/wx/stubs/checkbox.h delete mode 100644 include/wx/stubs/checklst.h delete mode 100644 include/wx/stubs/choice.h delete mode 100644 include/wx/stubs/clipbrd.h delete mode 100644 include/wx/stubs/colordlg.h delete mode 100644 include/wx/stubs/colour.h delete mode 100644 include/wx/stubs/combobox.h delete mode 100644 include/wx/stubs/control.h delete mode 100644 include/wx/stubs/cursor.h delete mode 100644 include/wx/stubs/dc.h delete mode 100644 include/wx/stubs/dcclient.h delete mode 100644 include/wx/stubs/dcmemory.h delete mode 100644 include/wx/stubs/dcprint.h delete mode 100644 include/wx/stubs/dcscreen.h delete mode 100644 include/wx/stubs/dialog.h delete mode 100644 include/wx/stubs/dirdlg.h delete mode 100644 include/wx/stubs/dnd.h delete mode 100644 include/wx/stubs/filedlg.h delete mode 100644 include/wx/stubs/font.h delete mode 100644 include/wx/stubs/fontdlg.h delete mode 100644 include/wx/stubs/frame.h delete mode 100644 include/wx/stubs/gauge.h delete mode 100644 include/wx/stubs/gdiobj.h delete mode 100644 include/wx/stubs/helpxxxx.h delete mode 100644 include/wx/stubs/icon.h delete mode 100644 include/wx/stubs/imaglist.h delete mode 100644 include/wx/stubs/joystick.h delete mode 100644 include/wx/stubs/listbox.h delete mode 100644 include/wx/stubs/listctrl.h delete mode 100644 include/wx/stubs/mdi.h delete mode 100644 include/wx/stubs/menu.h delete mode 100644 include/wx/stubs/metafile.h delete mode 100644 include/wx/stubs/minifram.h delete mode 100644 include/wx/stubs/msgdlg.h delete mode 100644 include/wx/stubs/notebook.h delete mode 100644 include/wx/stubs/palette.h delete mode 100644 include/wx/stubs/pen.h delete mode 100644 include/wx/stubs/print.h delete mode 100644 include/wx/stubs/printdlg.h delete mode 100644 include/wx/stubs/private.h delete mode 100644 include/wx/stubs/radiobox.h delete mode 100644 include/wx/stubs/radiobut.h delete mode 100644 include/wx/stubs/region.h delete mode 100644 include/wx/stubs/scrolbar.h delete mode 100644 include/wx/stubs/settings.h delete mode 100644 include/wx/stubs/setup.h delete mode 100644 include/wx/stubs/slider.h delete mode 100644 include/wx/stubs/spinbutt.h delete mode 100644 include/wx/stubs/statbmp.h delete mode 100644 include/wx/stubs/statbox.h delete mode 100644 include/wx/stubs/stattext.h delete mode 100644 include/wx/stubs/statusbr.h delete mode 100644 include/wx/stubs/tabctrl.h delete mode 100644 include/wx/stubs/taskbar.h delete mode 100644 include/wx/stubs/textctrl.h delete mode 100644 include/wx/stubs/timer.h delete mode 100644 include/wx/stubs/toolbar.h delete mode 100644 include/wx/stubs/treectrl.h delete mode 100644 include/wx/stubs/wave.h delete mode 100644 include/wx/stubs/window.h delete mode 100644 include/wx/tab.h delete mode 100644 include/wx/tabctrl.h delete mode 100644 include/wx/taskbar.h delete mode 100644 include/wx/tbar95.h delete mode 100644 include/wx/tbarbase.h delete mode 100644 include/wx/tbarmsw.h delete mode 100644 include/wx/tbarsmpl.h delete mode 100644 include/wx/textctrl.h delete mode 100644 include/wx/textdlg.h delete mode 100644 include/wx/textfile.h delete mode 100644 include/wx/thread.h delete mode 100644 include/wx/time.h delete mode 100644 include/wx/timer.h delete mode 100644 include/wx/toolbar.h delete mode 100644 include/wx/treectrl.h delete mode 100644 include/wx/types.h delete mode 100644 include/wx/utils.h delete mode 100644 include/wx/validate.h delete mode 100644 include/wx/valtext.h delete mode 100644 include/wx/version.h delete mode 100644 include/wx/window.h delete mode 100644 include/wx/wx.h delete mode 100644 include/wx/wxexpr.h delete mode 100644 include/wx/wxprec.h delete mode 100644 include/wx/zstream.h delete mode 100755 install-sh delete mode 100644 install/unix/.cvsignore delete mode 100644 lib/.cvsignore delete mode 100644 lib/dummy delete mode 100644 misc/afm/Cour.afm delete mode 100644 misc/afm/CourBo.afm delete mode 100644 misc/afm/CourBoO.afm delete mode 100644 misc/afm/CourO.afm delete mode 100644 misc/afm/Helv.afm delete mode 100644 misc/afm/HelvBo.afm delete mode 100644 misc/afm/HelvBoO.afm delete mode 100644 misc/afm/HelvO.afm delete mode 100644 misc/afm/TimesBo.afm delete mode 100644 misc/afm/TimesBoO.afm delete mode 100644 misc/afm/TimesO.afm delete mode 100644 misc/afm/TimesRo.afm delete mode 100644 misc/gs_afm/Cour.afm delete mode 100644 misc/gs_afm/CourBo.afm delete mode 100644 misc/gs_afm/CourBoO.afm delete mode 100644 misc/gs_afm/CourO.afm delete mode 100644 misc/gs_afm/Helv.afm delete mode 100644 misc/gs_afm/HelvBo.afm delete mode 100644 misc/gs_afm/HelvBoO.afm delete mode 100644 misc/gs_afm/HelvO.afm delete mode 100644 misc/gs_afm/TimesBo.afm delete mode 100644 misc/gs_afm/TimesBoO.afm delete mode 100644 misc/gs_afm/TimesO.afm delete mode 100644 misc/gs_afm/TimesRo.afm delete mode 100644 misc/imlib/im_palette.pal delete mode 100644 misc/imlib/imrc delete mode 100644 mkinstalldirs delete mode 100644 samples/Makefile delete mode 100644 samples/checklst/bell.bmp delete mode 100644 samples/checklst/checklst.cpp delete mode 100644 samples/checklst/checklst.def delete mode 100644 samples/checklst/checklst.rc delete mode 100644 samples/checklst/makefile.b32 delete mode 100644 samples/checklst/makefile.dos delete mode 100644 samples/checklst/makefile.g95 delete mode 100644 samples/checklst/makefile.nt delete mode 100644 samples/checklst/mondrian.ico delete mode 100644 samples/checklst/nosound.bmp delete mode 100644 samples/checklst/sound.bmp delete mode 100644 samples/config/.cvsignore delete mode 100644 samples/config/Makefile delete mode 100644 samples/config/Makefile.in delete mode 100644 samples/config/conftest.cpp delete mode 100644 samples/config/conftest.rc delete mode 100644 samples/config/makefile.nt delete mode 100644 samples/controls/.cvsignore delete mode 100644 samples/controls/Makefile delete mode 100644 samples/controls/Makefile.in delete mode 100644 samples/controls/controls.cpp delete mode 100644 samples/controls/controls.def delete mode 100644 samples/controls/controls.rc delete mode 100644 samples/controls/makefile.b32 delete mode 100644 samples/controls/makefile.dos delete mode 100644 samples/controls/makefile.g95 delete mode 100644 samples/controls/makefile.nt delete mode 100644 samples/controls/mondrian.ico delete mode 100644 samples/controls/mondrian.xpm delete mode 100644 samples/db/dbtest.cpp delete mode 100644 samples/db/dbtest.def delete mode 100644 samples/db/dbtest.h delete mode 100644 samples/db/dbtest.ico delete mode 100644 samples/db/dbtest.rc delete mode 100644 samples/db/listdb.cpp delete mode 100644 samples/db/listdb.h delete mode 100644 samples/db/makefile.nt delete mode 100644 samples/db/makefile.unx delete mode 100644 samples/dialogs/.cvsignore delete mode 100644 samples/dialogs/Makefile delete mode 100644 samples/dialogs/Makefile.in delete mode 100644 samples/dialogs/dialogs.cpp delete mode 100644 samples/dialogs/dialogs.def delete mode 100644 samples/dialogs/dialogs.h delete mode 100644 samples/dialogs/dialogs.rc delete mode 100644 samples/dialogs/makefile.b32 delete mode 100644 samples/dialogs/makefile.dos delete mode 100644 samples/dialogs/makefile.g95 delete mode 100644 samples/dialogs/makefile.nt delete mode 100644 samples/dnd/.cvsignore delete mode 100644 samples/dnd/Makefile delete mode 100644 samples/dnd/Makefile.in delete mode 100644 samples/dnd/d_and_d.txt delete mode 100644 samples/dnd/dnd.cpp delete mode 100644 samples/dnd/dnd.def delete mode 100644 samples/dnd/dnd.rc delete mode 100644 samples/dnd/makefile.b32 delete mode 100644 samples/dnd/makefile.dos delete mode 100644 samples/dnd/makefile.g95 delete mode 100644 samples/dnd/makefile.nt delete mode 100644 samples/dnd/mondrian.ico delete mode 100644 samples/dnd/mondrian.xpm delete mode 100644 samples/docview/.cvsignore delete mode 100644 samples/docview/Makefile delete mode 100644 samples/docview/Makefile.in delete mode 100644 samples/docview/aiai.ico delete mode 100644 samples/docview/chart.ico delete mode 100644 samples/docview/doc.cpp delete mode 100644 samples/docview/doc.h delete mode 100644 samples/docview/doc.ico delete mode 100644 samples/docview/docview.cpp delete mode 100644 samples/docview/docview.def delete mode 100644 samples/docview/docview.h delete mode 100644 samples/docview/docview.rc delete mode 100644 samples/docview/makefile.b32 delete mode 100644 samples/docview/makefile.bcc delete mode 100644 samples/docview/makefile.dos delete mode 100644 samples/docview/makefile.g95 delete mode 100644 samples/docview/makefile.nt delete mode 100644 samples/docview/makefile.sc delete mode 100644 samples/docview/makefile.unx delete mode 100644 samples/docview/makefile.vms delete mode 100644 samples/docview/makefile.wat delete mode 100644 samples/docview/mondrian.ico delete mode 100644 samples/docview/mondrian.xpm delete mode 100644 samples/docview/notepad.ico delete mode 100644 samples/docview/view.cpp delete mode 100644 samples/docview/view.h delete mode 100644 samples/docvwmdi/.cvsignore delete mode 100644 samples/docvwmdi/Makefile delete mode 100644 samples/docvwmdi/Makefile.in delete mode 100644 samples/docvwmdi/chart.ico delete mode 100644 samples/docvwmdi/doc.cpp delete mode 100644 samples/docvwmdi/doc.h delete mode 100644 samples/docvwmdi/doc.ico delete mode 100644 samples/docvwmdi/docview.cpp delete mode 100644 samples/docvwmdi/docview.def delete mode 100644 samples/docvwmdi/docview.h delete mode 100644 samples/docvwmdi/docview.rc delete mode 100644 samples/docvwmdi/makefile.b32 delete mode 100644 samples/docvwmdi/makefile.dos delete mode 100644 samples/docvwmdi/makefile.g95 delete mode 100644 samples/docvwmdi/makefile.nt delete mode 100644 samples/docvwmdi/makefile.unx delete mode 100644 samples/docvwmdi/notepad.ico delete mode 100644 samples/docvwmdi/view.cpp delete mode 100644 samples/docvwmdi/view.h delete mode 100644 samples/dynamic/.cvsignore delete mode 100644 samples/dynamic/Makefile delete mode 100644 samples/dynamic/Makefile.in delete mode 100644 samples/dynamic/dynamic.cpp delete mode 100644 samples/dynamic/dynamic.def delete mode 100644 samples/dynamic/dynamic.rc delete mode 100644 samples/dynamic/makefile.b32 delete mode 100644 samples/dynamic/makefile.dos delete mode 100644 samples/dynamic/makefile.g95 delete mode 100644 samples/dynamic/makefile.nt delete mode 100644 samples/dynamic/minimal.cpp delete mode 100644 samples/dynamic/mondrian.ico delete mode 100644 samples/dynamic/mondrian.xpm delete mode 100644 samples/forty/.cvsignore delete mode 100644 samples/forty/Makefile delete mode 100644 samples/forty/Makefile.in delete mode 100644 samples/forty/canvas.cpp delete mode 100644 samples/forty/canvas.h delete mode 100644 samples/forty/card.cpp delete mode 100644 samples/forty/card.h delete mode 100644 samples/forty/cards.ico delete mode 100644 samples/forty/forty.cpp delete mode 100644 samples/forty/forty.h delete mode 100644 samples/forty/forty.rc delete mode 100644 samples/forty/game.cpp delete mode 100644 samples/forty/game.h delete mode 100644 samples/forty/makefile.nt delete mode 100644 samples/forty/pictures.bmp delete mode 100644 samples/forty/pictures.xpm delete mode 100644 samples/forty/pile.cpp delete mode 100644 samples/forty/pile.h delete mode 100644 samples/forty/playerdg.cpp delete mode 100644 samples/forty/playerdg.h delete mode 100644 samples/forty/scoredg.cpp delete mode 100644 samples/forty/scoredg.h delete mode 100644 samples/forty/scorefil.cpp delete mode 100644 samples/forty/scorefil.h delete mode 100644 samples/forty/symbols.bmp delete mode 100644 samples/forty/symbols.xbm delete mode 100644 samples/forty/symbols.xpm delete mode 100644 samples/grid/.cvsignore delete mode 100644 samples/grid/Makefile delete mode 100644 samples/grid/Makefile.in delete mode 100644 samples/grid/bitmap1.bmp delete mode 100644 samples/grid/bitmap2.bmp delete mode 100644 samples/grid/makefile.b32 delete mode 100644 samples/grid/makefile.dos delete mode 100644 samples/grid/makefile.g95 delete mode 100644 samples/grid/makefile.nt delete mode 100644 samples/grid/test.cpp delete mode 100644 samples/grid/test.def delete mode 100644 samples/grid/test.rc delete mode 100644 samples/internat/.cvsignore delete mode 100644 samples/internat/Makefile delete mode 100644 samples/internat/Makefile.in delete mode 100644 samples/internat/internat.cpp delete mode 100644 samples/internat/internat.def delete mode 100644 samples/internat/internat.po delete mode 100644 samples/internat/internat.rc delete mode 100644 samples/internat/makefile.b32 delete mode 100644 samples/internat/makefile.bcc delete mode 100644 samples/internat/makefile.dos delete mode 100644 samples/internat/makefile.g95 delete mode 100644 samples/internat/makefile.nt delete mode 100644 samples/internat/makefile.sc delete mode 100644 samples/internat/makefile.unx delete mode 100644 samples/internat/makefile.vms delete mode 100644 samples/internat/makefile.wat delete mode 100644 samples/internat/mondrian.ico delete mode 100644 samples/internat/mondrian.xpm delete mode 100644 samples/internat/wxstd.po delete mode 100644 samples/joytest/chart.ico delete mode 100644 samples/joytest/gun.wav delete mode 100644 samples/joytest/joytest.cpp delete mode 100644 samples/joytest/joytest.def delete mode 100644 samples/joytest/joytest.h delete mode 100644 samples/joytest/joytest.ico delete mode 100644 samples/joytest/joytest.rc delete mode 100644 samples/joytest/makefile.b32 delete mode 100644 samples/joytest/makefile.bcc delete mode 100644 samples/joytest/makefile.dos delete mode 100644 samples/joytest/makefile.g95 delete mode 100644 samples/joytest/makefile.nt delete mode 100644 samples/joytest/makefile.sc delete mode 100644 samples/joytest/makefile.unx delete mode 100644 samples/joytest/makefile.wat delete mode 100644 samples/joytest/mondrian.ico delete mode 100644 samples/layout/.cvsignore delete mode 100644 samples/layout/Makefile delete mode 100644 samples/layout/Makefile.in delete mode 100644 samples/layout/expt.cpp delete mode 100644 samples/layout/fload.xbm delete mode 100644 samples/layout/layout.cpp delete mode 100644 samples/layout/layout.def delete mode 100644 samples/layout/layout.h delete mode 100644 samples/layout/layout.rc delete mode 100644 samples/layout/makefile.b32 delete mode 100644 samples/layout/makefile.bcc delete mode 100644 samples/layout/makefile.dos delete mode 100644 samples/layout/makefile.g95 delete mode 100644 samples/layout/makefile.nt delete mode 100644 samples/layout/makefile.sc delete mode 100644 samples/layout/makefile.unx delete mode 100644 samples/layout/makefile.vms delete mode 100644 samples/layout/makefile.wat delete mode 100644 samples/listctrl/.cvsignore delete mode 100644 samples/listctrl/Makefile delete mode 100644 samples/listctrl/Makefile.in delete mode 100644 samples/listctrl/bitmaps/small1.ico delete mode 100644 samples/listctrl/bitmaps/small1.xpm delete mode 100644 samples/listctrl/bitmaps/toolbrai.ico delete mode 100644 samples/listctrl/bitmaps/toolbrai.xpm delete mode 100644 samples/listctrl/bitmaps/toolchar.ico delete mode 100644 samples/listctrl/bitmaps/toolchar.xpm delete mode 100644 samples/listctrl/bitmaps/toolchec.ico delete mode 100644 samples/listctrl/bitmaps/toolchec.xpm delete mode 100644 samples/listctrl/bitmaps/tooldata.ico delete mode 100644 samples/listctrl/bitmaps/tooldata.xpm delete mode 100644 samples/listctrl/bitmaps/toolgame.ico delete mode 100644 samples/listctrl/bitmaps/toolgame.xpm delete mode 100644 samples/listctrl/bitmaps/toolnote.ico delete mode 100644 samples/listctrl/bitmaps/toolnote.xpm delete mode 100644 samples/listctrl/bitmaps/tooltime.ico delete mode 100644 samples/listctrl/bitmaps/tooltime.xpm delete mode 100644 samples/listctrl/bitmaps/tooltodo.ico delete mode 100644 samples/listctrl/bitmaps/tooltodo.xpm delete mode 100644 samples/listctrl/bitmaps/toolword.ico delete mode 100644 samples/listctrl/bitmaps/toolword.xpm delete mode 100644 samples/listctrl/listtest.cpp delete mode 100644 samples/listctrl/listtest.def delete mode 100644 samples/listctrl/listtest.h delete mode 100644 samples/listctrl/listtest.rc delete mode 100644 samples/listctrl/makefile.b32 delete mode 100644 samples/listctrl/makefile.dos delete mode 100644 samples/listctrl/makefile.g95 delete mode 100644 samples/listctrl/makefile.nt delete mode 100644 samples/listctrl/mondrian.ico delete mode 100644 samples/listctrl/mondrian.xpm delete mode 100644 samples/makefile.g95 delete mode 100644 samples/makefile.nt delete mode 100644 samples/mdi/.cvsignore delete mode 100644 samples/mdi/Makefile delete mode 100644 samples/mdi/Makefile.in delete mode 100644 samples/mdi/bitmaps/abacus.bmp delete mode 100644 samples/mdi/bitmaps/bitmap1.bmp delete mode 100644 samples/mdi/bitmaps/bitmap2.bmp delete mode 100644 samples/mdi/bitmaps/brush.bmp delete mode 100644 samples/mdi/bitmaps/calc.bmp delete mode 100644 samples/mdi/bitmaps/chart.bmp delete mode 100644 samples/mdi/bitmaps/colour.bmp delete mode 100644 samples/mdi/bitmaps/copy.bmp delete mode 100644 samples/mdi/bitmaps/copy.xpm delete mode 100644 samples/mdi/bitmaps/cut.bmp delete mode 100644 samples/mdi/bitmaps/cut.xpm delete mode 100644 samples/mdi/bitmaps/dirplain.xbm delete mode 100644 samples/mdi/bitmaps/draft.xbm delete mode 100644 samples/mdi/bitmaps/drawing.xbm delete mode 100644 samples/mdi/bitmaps/files.bmp delete mode 100644 samples/mdi/bitmaps/flowchar.xbm delete mode 100644 samples/mdi/bitmaps/help.bmp delete mode 100644 samples/mdi/bitmaps/help.xpm delete mode 100644 samples/mdi/bitmaps/helpcs.bmp delete mode 100644 samples/mdi/bitmaps/magnify.bmp delete mode 100644 samples/mdi/bitmaps/mike.bmp delete mode 100644 samples/mdi/bitmaps/new.bmp delete mode 100644 samples/mdi/bitmaps/new.xpm delete mode 100644 samples/mdi/bitmaps/open.bmp delete mode 100644 samples/mdi/bitmaps/open.xpm delete mode 100644 samples/mdi/bitmaps/page.bmp delete mode 100644 samples/mdi/bitmaps/paste.bmp delete mode 100644 samples/mdi/bitmaps/paste.xpm delete mode 100644 samples/mdi/bitmaps/preview.bmp delete mode 100644 samples/mdi/bitmaps/preview.xpm delete mode 100644 samples/mdi/bitmaps/print.bmp delete mode 100644 samples/mdi/bitmaps/print.xpm delete mode 100644 samples/mdi/bitmaps/save.bmp delete mode 100644 samples/mdi/bitmaps/save.xpm delete mode 100644 samples/mdi/bitmaps/screw.bmp delete mode 100644 samples/mdi/bitmaps/shapes.bmp delete mode 100644 samples/mdi/bitmaps/speaker.bmp delete mode 100644 samples/mdi/bitmaps/telephon.bmp delete mode 100644 samples/mdi/bitmaps/therm.bmp delete mode 100644 samples/mdi/bitmaps/tick.bmp delete mode 100644 samples/mdi/bitmaps/torch.bmp delete mode 100644 samples/mdi/bitmaps/wrench.bmp delete mode 100644 samples/mdi/bitmaps/write.xbm delete mode 100644 samples/mdi/chart.ico delete mode 100644 samples/mdi/makefile.b32 delete mode 100644 samples/mdi/makefile.bcc delete mode 100644 samples/mdi/makefile.dos delete mode 100644 samples/mdi/makefile.g95 delete mode 100644 samples/mdi/makefile.nt delete mode 100644 samples/mdi/makefile.sc delete mode 100644 samples/mdi/makefile.unx delete mode 100644 samples/mdi/makefile.vms delete mode 100644 samples/mdi/makefile.wat delete mode 100644 samples/mdi/mdi.cpp delete mode 100644 samples/mdi/mdi.def delete mode 100644 samples/mdi/mdi.h delete mode 100644 samples/mdi/mdi.ico delete mode 100644 samples/mdi/mdi.rc delete mode 100644 samples/mdi/mondrian.ico delete mode 100644 samples/mdi/mondrian.xpm delete mode 100644 samples/memcheck/.cvsignore delete mode 100644 samples/memcheck/Makefile delete mode 100644 samples/memcheck/Makefile.in delete mode 100644 samples/memcheck/makefile.b32 delete mode 100644 samples/memcheck/makefile.bcc delete mode 100644 samples/memcheck/makefile.dos delete mode 100644 samples/memcheck/makefile.g95 delete mode 100644 samples/memcheck/makefile.nt delete mode 100644 samples/memcheck/makefile.unx delete mode 100644 samples/memcheck/makefile.wat delete mode 100644 samples/memcheck/memcheck.cpp delete mode 100644 samples/memcheck/memcheck.def delete mode 100644 samples/memcheck/memcheck.rc delete mode 100644 samples/memcheck/mondrian.ico delete mode 100644 samples/memcheck/mondrian.xpm delete mode 100644 samples/mfc/makefile.b32 delete mode 100644 samples/mfc/makefile.bcc delete mode 100644 samples/mfc/makefile.dos delete mode 100644 samples/mfc/makefile.nt delete mode 100644 samples/mfc/makefile.wat delete mode 100644 samples/mfc/mfctest.cpp delete mode 100644 samples/mfc/mfctest.def delete mode 100644 samples/mfc/mfctest.h delete mode 100644 samples/mfc/mfctest.ico delete mode 100644 samples/mfc/mfctest.rc delete mode 100644 samples/mfc/resource.h delete mode 100644 samples/mfc/stdafx.h delete mode 100644 samples/minimal/.cvsignore delete mode 100644 samples/minimal/Makefile delete mode 100644 samples/minimal/Makefile.in delete mode 100644 samples/minimal/makefile.b32 delete mode 100644 samples/minimal/makefile.dos delete mode 100644 samples/minimal/makefile.g95 delete mode 100644 samples/minimal/makefile.nt delete mode 100644 samples/minimal/minimal.cpp delete mode 100644 samples/minimal/minimal.def delete mode 100644 samples/minimal/minimal.rc delete mode 100644 samples/minimal/mondrian.ico delete mode 100644 samples/minimal/mondrian.xpm delete mode 100644 samples/nativdlg/dialog1.rc delete mode 100644 samples/nativdlg/makefile.b32 delete mode 100644 samples/nativdlg/makefile.bcc delete mode 100644 samples/nativdlg/makefile.dos delete mode 100644 samples/nativdlg/makefile.g95 delete mode 100644 samples/nativdlg/makefile.nt delete mode 100644 samples/nativdlg/makefile.sc delete mode 100644 samples/nativdlg/makefile.unx delete mode 100644 samples/nativdlg/makefile.vms delete mode 100644 samples/nativdlg/makefile.wat delete mode 100644 samples/nativdlg/nativdlg.cpp delete mode 100644 samples/nativdlg/nativdlg.def delete mode 100644 samples/nativdlg/nativdlg.h delete mode 100644 samples/nativdlg/nativdlg.rc delete mode 100644 samples/nativdlg/resource.h delete mode 100644 samples/ownerdrw/bell.bmp delete mode 100644 samples/ownerdrw/makefile.b32 delete mode 100644 samples/ownerdrw/makefile.dos delete mode 100644 samples/ownerdrw/makefile.g95 delete mode 100644 samples/ownerdrw/makefile.nt delete mode 100644 samples/ownerdrw/mondrian.ico delete mode 100644 samples/ownerdrw/nosound.bmp delete mode 100644 samples/ownerdrw/ownerdrw.cpp delete mode 100644 samples/ownerdrw/ownerdrw.def delete mode 100644 samples/ownerdrw/ownerdrw.rc delete mode 100644 samples/ownerdrw/sound.bmp delete mode 100644 samples/png/.cvsignore delete mode 100644 samples/png/Makefile delete mode 100644 samples/png/Makefile.in delete mode 100644 samples/png/makefile.nt delete mode 100644 samples/png/pngdemo.cpp delete mode 100644 samples/png/pngdemo.h delete mode 100644 samples/png/pngdemo.rc delete mode 100644 samples/printing/.cvsignore delete mode 100644 samples/printing/Cour.afm delete mode 100644 samples/printing/CourBo.afm delete mode 100644 samples/printing/CourBoO.afm delete mode 100644 samples/printing/CourO.afm delete mode 100644 samples/printing/Helv.afm delete mode 100644 samples/printing/HelvBo.afm delete mode 100644 samples/printing/HelvBoO.afm delete mode 100644 samples/printing/HelvO.afm delete mode 100644 samples/printing/Makefile delete mode 100644 samples/printing/Makefile.in delete mode 100644 samples/printing/TimesBo.afm delete mode 100644 samples/printing/TimesBoO.afm delete mode 100644 samples/printing/TimesO.afm delete mode 100644 samples/printing/TimesRo.afm delete mode 100644 samples/printing/fload.xbm delete mode 100644 samples/printing/folder.xpm delete mode 100644 samples/printing/makefile.b32 delete mode 100644 samples/printing/makefile.dos delete mode 100644 samples/printing/makefile.g95 delete mode 100644 samples/printing/makefile.nt delete mode 100644 samples/printing/mondrian.ico delete mode 100644 samples/printing/mondrian.xpm delete mode 100644 samples/printing/printing.cpp delete mode 100644 samples/printing/printing.def delete mode 100644 samples/printing/printing.h delete mode 100644 samples/printing/printing.rc delete mode 100644 samples/regtest/key1.ico delete mode 100644 samples/regtest/key2.ico delete mode 100644 samples/regtest/key3.ico delete mode 100644 samples/regtest/makefile.g95 delete mode 100644 samples/regtest/makefile.nt delete mode 100644 samples/regtest/registry.ico delete mode 100644 samples/regtest/regtest.cpp delete mode 100644 samples/regtest/regtest.rc delete mode 100644 samples/regtest/value1.ico delete mode 100644 samples/regtest/value2.ico delete mode 100644 samples/resource/.cvsignore delete mode 100644 samples/resource/Makefile delete mode 100644 samples/resource/Makefile.in delete mode 100644 samples/resource/dialog1.wxr delete mode 100644 samples/resource/makefile.b32 delete mode 100644 samples/resource/makefile.bcc delete mode 100644 samples/resource/makefile.dos delete mode 100644 samples/resource/makefile.g95 delete mode 100644 samples/resource/makefile.nt delete mode 100644 samples/resource/makefile.sc delete mode 100644 samples/resource/makefile.unx delete mode 100644 samples/resource/makefile.vms delete mode 100644 samples/resource/makefile.wat delete mode 100644 samples/resource/menu1.wxr delete mode 100644 samples/resource/resource.cpp delete mode 100644 samples/resource/resource.def delete mode 100644 samples/resource/resource.h delete mode 100644 samples/resource/resource.rc delete mode 100644 samples/splitter/.cvsignore delete mode 100644 samples/splitter/Makefile delete mode 100644 samples/splitter/Makefile.in delete mode 100644 samples/splitter/makefile.b32 delete mode 100644 samples/splitter/makefile.g95 delete mode 100644 samples/splitter/makefile.nt delete mode 100644 samples/splitter/mondrian.ico delete mode 100644 samples/splitter/test.cpp delete mode 100644 samples/splitter/test.def delete mode 100644 samples/splitter/test.rc delete mode 100644 samples/tab/.cvsignore delete mode 100644 samples/tab/Makefile delete mode 100644 samples/tab/Makefile.in delete mode 100644 samples/tab/makefile.b32 delete mode 100644 samples/tab/makefile.dos delete mode 100644 samples/tab/makefile.g95 delete mode 100644 samples/tab/makefile.nt delete mode 100644 samples/tab/mondrian.ico delete mode 100644 samples/tab/test.cpp delete mode 100644 samples/tab/test.def delete mode 100644 samples/tab/test.h delete mode 100644 samples/tab/test.rc delete mode 100644 samples/taskbar/makefile.b32 delete mode 100644 samples/taskbar/makefile.dos delete mode 100644 samples/taskbar/makefile.g95 delete mode 100644 samples/taskbar/makefile.nt delete mode 100644 samples/taskbar/mondrian.ico delete mode 100644 samples/taskbar/tbtest.cpp delete mode 100644 samples/taskbar/tbtest.def delete mode 100644 samples/taskbar/tbtest.h delete mode 100644 samples/taskbar/tbtest.rc delete mode 100644 samples/thread/.cvsignore delete mode 100644 samples/thread/Makefile delete mode 100644 samples/thread/Makefile.in delete mode 100644 samples/thread/makefile.b32 delete mode 100644 samples/thread/makefile.dos delete mode 100644 samples/thread/makefile.g95 delete mode 100644 samples/thread/makefile.nt delete mode 100644 samples/thread/test.cpp delete mode 100644 samples/thread/test.def delete mode 100644 samples/thread/test.rc delete mode 100644 samples/toolbar/.cvsignore delete mode 100644 samples/toolbar/Makefile delete mode 100644 samples/toolbar/Makefile.in delete mode 100644 samples/toolbar/bitmaps/copy.bmp delete mode 100644 samples/toolbar/bitmaps/copy.xpm delete mode 100644 samples/toolbar/bitmaps/cut.bmp delete mode 100644 samples/toolbar/bitmaps/cut.xpm delete mode 100644 samples/toolbar/bitmaps/help.bmp delete mode 100644 samples/toolbar/bitmaps/help.xpm delete mode 100644 samples/toolbar/bitmaps/new.bmp delete mode 100644 samples/toolbar/bitmaps/new.xpm delete mode 100644 samples/toolbar/bitmaps/open.bmp delete mode 100644 samples/toolbar/bitmaps/open.xpm delete mode 100644 samples/toolbar/bitmaps/page.bmp delete mode 100644 samples/toolbar/bitmaps/paste.bmp delete mode 100644 samples/toolbar/bitmaps/preview.bmp delete mode 100644 samples/toolbar/bitmaps/preview.xpm delete mode 100644 samples/toolbar/bitmaps/print.bmp delete mode 100644 samples/toolbar/bitmaps/print.xpm delete mode 100644 samples/toolbar/bitmaps/save.bmp delete mode 100644 samples/toolbar/bitmaps/save.xpm delete mode 100644 samples/toolbar/makefile.b32 delete mode 100644 samples/toolbar/makefile.dos delete mode 100644 samples/toolbar/makefile.g95 delete mode 100644 samples/toolbar/makefile.nt delete mode 100644 samples/toolbar/mondrian.ico delete mode 100644 samples/toolbar/mondrian.xpm delete mode 100644 samples/toolbar/test.cpp delete mode 100644 samples/toolbar/test.def delete mode 100644 samples/toolbar/test.h delete mode 100644 samples/toolbar/test.rc delete mode 100644 samples/treectrl/.cvsignore delete mode 100644 samples/treectrl/Makefile delete mode 100644 samples/treectrl/Makefile.in delete mode 100644 samples/treectrl/bitmaps/file1.ico delete mode 100644 samples/treectrl/bitmaps/folder1.ico delete mode 100644 samples/treectrl/makefile.b32 delete mode 100644 samples/treectrl/makefile.dos delete mode 100644 samples/treectrl/makefile.g95 delete mode 100644 samples/treectrl/makefile.nt delete mode 100644 samples/treectrl/mondrian.ico delete mode 100644 samples/treectrl/mondrian.xpm delete mode 100644 samples/treectrl/treetest.cpp delete mode 100644 samples/treectrl/treetest.def delete mode 100644 samples/treectrl/treetest.h delete mode 100644 samples/treectrl/treetest.rc delete mode 100644 samples/validate/.cvsignore delete mode 100644 samples/validate/Makefile delete mode 100644 samples/validate/Makefile.in delete mode 100644 samples/validate/makefile.b32 delete mode 100644 samples/validate/makefile.dos delete mode 100644 samples/validate/makefile.g95 delete mode 100644 samples/validate/makefile.nt delete mode 100644 samples/validate/mondrian.ico delete mode 100644 samples/validate/mondrian.xpm delete mode 100644 samples/validate/validate.cpp delete mode 100644 samples/validate/validate.def delete mode 100644 samples/validate/validate.h delete mode 100644 samples/validate/validate.rc delete mode 100644 setup/.cvsignore delete mode 100755 setup/general/createall delete mode 100755 setup/general/jointar delete mode 100644 setup/general/makeapp delete mode 100644 setup/general/makedirs delete mode 100644 setup/general/makedoc delete mode 100755 setup/general/mygrep delete mode 100755 setup/general/needed delete mode 100644 setup/maketmpl.in delete mode 100644 setup/rules/bin delete mode 100644 setup/rules/bin2 delete mode 100644 setup/rules/doc delete mode 100644 setup/rules/gbin delete mode 100644 setup/rules/gbin2 delete mode 100644 setup/rules/generic/bin1 delete mode 100644 setup/rules/generic/bin1gen delete mode 100644 setup/rules/generic/bin2 delete mode 100644 setup/rules/generic/bin2gen delete mode 100644 setup/rules/generic/depend delete mode 100644 setup/rules/generic/globals delete mode 100644 setup/rules/generic/lib delete mode 100644 setup/rules/generic/needed delete mode 100644 setup/rules/generic/obj delete mode 100644 setup/rules/generic/slib delete mode 100644 setup/rules/generic/sobj delete mode 100644 setup/rules/glib delete mode 100644 setup/rules/glibbin delete mode 100644 setup/rules/glibgbin delete mode 100644 setup/rules/gslib delete mode 100644 setup/rules/lib delete mode 100644 setup/rules/libbin delete mode 100644 setup/rules/libgbin delete mode 100644 setup/setup.hin delete mode 100755 setup/shared/sharedAIX delete mode 100755 setup/shared/sharedBsd delete mode 100755 setup/shared/sharedDgux delete mode 100755 setup/shared/sharedHpux delete mode 100755 setup/shared/sharedIrix delete mode 100755 setup/shared/sharedLinux delete mode 100755 setup/shared/sharedOSF delete mode 100755 setup/shared/sharedSolaris2 delete mode 100755 setup/shared/sharedSunos4 delete mode 100755 setup/shared/sharedSysV delete mode 100644 setup/substit.in delete mode 100644 src/.cvsignore delete mode 100644 src/Makefile delete mode 100644 src/Makefile.in delete mode 100644 src/common/cmndata.cpp delete mode 100644 src/common/config.cpp delete mode 100644 src/common/date.cpp delete mode 100644 src/common/datstrm.cpp delete mode 100644 src/common/db.cpp delete mode 100644 src/common/dbtable.cpp delete mode 100644 src/common/docmdi.cpp delete mode 100644 src/common/docview.cpp delete mode 100644 src/common/doslex.c delete mode 100644 src/common/dosyacc.c delete mode 100644 src/common/dynarray.cpp delete mode 100644 src/common/dynlib.cpp delete mode 100644 src/common/event.cpp delete mode 100644 src/common/extended.c delete mode 100644 src/common/file.cpp delete mode 100644 src/common/fileconf.cpp delete mode 100644 src/common/filefn.cpp delete mode 100644 src/common/framecmn.cpp delete mode 100644 src/common/fstream.cpp delete mode 100644 src/common/gdicmn.cpp delete mode 100644 src/common/glob.inc delete mode 100644 src/common/hash.cpp delete mode 100644 src/common/helpbase.cpp delete mode 100644 src/common/intl.cpp delete mode 100644 src/common/ipcbase.cpp delete mode 100644 src/common/layout.cpp delete mode 100644 src/common/lexer.l delete mode 100644 src/common/list.cpp delete mode 100644 src/common/log.cpp delete mode 100644 src/common/matrix.cpp delete mode 100644 src/common/memory.cpp delete mode 100644 src/common/module.cpp delete mode 100644 src/common/mstream.cpp delete mode 100644 src/common/object.cpp delete mode 100644 src/common/objstrm.cpp delete mode 100644 src/common/odbc.cpp delete mode 100644 src/common/parser.y delete mode 100644 src/common/postscrp.cpp delete mode 100644 src/common/prntbase.cpp delete mode 100644 src/common/process.cpp delete mode 100644 src/common/resource.cpp delete mode 100644 src/common/serbase.cpp delete mode 100644 src/common/stream.cpp delete mode 100644 src/common/string.cpp delete mode 100644 src/common/tbarbase.cpp delete mode 100644 src/common/tbarsmpl.cpp delete mode 100644 src/common/textfile.cpp delete mode 100644 src/common/time.cpp delete mode 100644 src/common/timercmn.cpp delete mode 100644 src/common/utilscmn.cpp delete mode 100644 src/common/validate.cpp delete mode 100644 src/common/valtext.cpp delete mode 100644 src/common/wincmn.cpp delete mode 100644 src/common/wxexpr.cpp delete mode 100644 src/common/zstream.cpp delete mode 100644 src/cygnus.bat delete mode 100644 src/gdk_imlib/AUDIT delete mode 100644 src/gdk_imlib/AUTHORS delete mode 100644 src/gdk_imlib/COPYING.LIB delete mode 100644 src/gdk_imlib/ChangeLog delete mode 100644 src/gdk_imlib/README delete mode 100644 src/gdk_imlib/cache.c delete mode 100644 src/gdk_imlib/colors.c delete mode 100644 src/gdk_imlib/config.h delete mode 100644 src/gdk_imlib/gdk_imlib.h delete mode 100644 src/gdk_imlib/gdk_imlib_private.h delete mode 100644 src/gdk_imlib/gdk_imlib_types.h delete mode 100644 src/gdk_imlib/globals.c delete mode 100644 src/gdk_imlib/load.c delete mode 100644 src/gdk_imlib/misc.c delete mode 100644 src/gdk_imlib/rend.c delete mode 100644 src/gdk_imlib/save.c delete mode 100644 src/gdk_imlib/utils.c delete mode 100644 src/generic/choicdgg.cpp delete mode 100644 src/generic/colrdlgg.cpp delete mode 100644 src/generic/fontdlgg.cpp delete mode 100644 src/generic/gridg.cpp delete mode 100644 src/generic/helpxlp.cpp delete mode 100644 src/generic/imaglist.cpp delete mode 100644 src/generic/listctrl.cpp delete mode 100644 src/generic/msgdlgg.cpp delete mode 100644 src/generic/panelg.cpp delete mode 100644 src/generic/printps.cpp delete mode 100644 src/generic/prntdlgg.cpp delete mode 100644 src/generic/scrolwin.cpp delete mode 100644 src/generic/splitter.cpp delete mode 100644 src/generic/statusbr.cpp delete mode 100644 src/generic/tabg.cpp delete mode 100644 src/generic/textdlgg.cpp delete mode 100644 src/generic/treectrl.cpp delete mode 100644 src/gtk.inc delete mode 100644 src/gtk/accel.cpp delete mode 100644 src/gtk/app.cpp delete mode 100644 src/gtk/bdiag.xbm delete mode 100644 src/gtk/bitmap.cpp delete mode 100644 src/gtk/bmpbuttn.cpp delete mode 100644 src/gtk/brush.cpp delete mode 100644 src/gtk/button.cpp delete mode 100644 src/gtk/cdiag.xbm delete mode 100644 src/gtk/checkbox.cpp delete mode 100644 src/gtk/choice.cpp delete mode 100644 src/gtk/colour.cpp delete mode 100644 src/gtk/combobox.cpp delete mode 100644 src/gtk/control.cpp delete mode 100644 src/gtk/cross.xbm delete mode 100644 src/gtk/cursor.cpp delete mode 100644 src/gtk/data.cpp delete mode 100644 src/gtk/dc.cpp delete mode 100644 src/gtk/dcclient.cpp delete mode 100644 src/gtk/dcmemory.cpp delete mode 100644 src/gtk/dcscreen.cpp delete mode 100644 src/gtk/dialog.cpp delete mode 100644 src/gtk/dnd.cpp delete mode 100644 src/gtk/fdiag.xbm delete mode 100644 src/gtk/filedlg.cpp delete mode 100644 src/gtk/font.cpp delete mode 100644 src/gtk/frame.cpp delete mode 100644 src/gtk/gauge.cpp delete mode 100644 src/gtk/gdiobj.cpp delete mode 100644 src/gtk/horiz.xbm delete mode 100644 src/gtk/icon.cpp delete mode 100644 src/gtk/joystick.cpp delete mode 100644 src/gtk/listbox.cpp delete mode 100644 src/gtk/mdi.cpp delete mode 100644 src/gtk/menu.cpp delete mode 100644 src/gtk/notebook.cpp delete mode 100644 src/gtk/palette.cpp delete mode 100644 src/gtk/pen.cpp delete mode 100644 src/gtk/radiobox.cpp delete mode 100644 src/gtk/radiobut.cpp delete mode 100644 src/gtk/region.cpp delete mode 100644 src/gtk/scrolbar.cpp delete mode 100644 src/gtk/settings.cpp delete mode 100644 src/gtk/slider.cpp delete mode 100644 src/gtk/statbmp.cpp delete mode 100644 src/gtk/statbox.cpp delete mode 100644 src/gtk/stattext.cpp delete mode 100644 src/gtk/tbargtk.cpp delete mode 100644 src/gtk/textctrl.cpp delete mode 100644 src/gtk/threadgui.inc delete mode 100644 src/gtk/threadno.cpp delete mode 100644 src/gtk/threadpsx.cpp delete mode 100644 src/gtk/threadsgi.cpp delete mode 100644 src/gtk/timer.cpp delete mode 100644 src/gtk/treectrl.cpp delete mode 100644 src/gtk/utilsgtk.cpp delete mode 100644 src/gtk/utilsres.cpp delete mode 100644 src/gtk/verti.xbm delete mode 100644 src/gtk/win_gtk.c delete mode 100644 src/gtk/window.cpp delete mode 100644 src/gtk1/accel.cpp delete mode 100644 src/gtk1/app.cpp delete mode 100644 src/gtk1/bdiag.xbm delete mode 100644 src/gtk1/bitmap.cpp delete mode 100644 src/gtk1/bmpbuttn.cpp delete mode 100644 src/gtk1/brush.cpp delete mode 100644 src/gtk1/button.cpp delete mode 100644 src/gtk1/cdiag.xbm delete mode 100644 src/gtk1/checkbox.cpp delete mode 100644 src/gtk1/choice.cpp delete mode 100644 src/gtk1/colour.cpp delete mode 100644 src/gtk1/combobox.cpp delete mode 100644 src/gtk1/control.cpp delete mode 100644 src/gtk1/cross.xbm delete mode 100644 src/gtk1/cursor.cpp delete mode 100644 src/gtk1/data.cpp delete mode 100644 src/gtk1/dc.cpp delete mode 100644 src/gtk1/dcclient.cpp delete mode 100644 src/gtk1/dcmemory.cpp delete mode 100644 src/gtk1/dcscreen.cpp delete mode 100644 src/gtk1/dialog.cpp delete mode 100644 src/gtk1/dnd.cpp delete mode 100644 src/gtk1/fdiag.xbm delete mode 100644 src/gtk1/filedlg.cpp delete mode 100644 src/gtk1/font.cpp delete mode 100644 src/gtk1/frame.cpp delete mode 100644 src/gtk1/gauge.cpp delete mode 100644 src/gtk1/gdiobj.cpp delete mode 100644 src/gtk1/horiz.xbm delete mode 100644 src/gtk1/icon.cpp delete mode 100644 src/gtk1/joystick.cpp delete mode 100644 src/gtk1/listbox.cpp delete mode 100644 src/gtk1/mdi.cpp delete mode 100644 src/gtk1/menu.cpp delete mode 100644 src/gtk1/notebook.cpp delete mode 100644 src/gtk1/palette.cpp delete mode 100644 src/gtk1/pen.cpp delete mode 100644 src/gtk1/radiobox.cpp delete mode 100644 src/gtk1/radiobut.cpp delete mode 100644 src/gtk1/region.cpp delete mode 100644 src/gtk1/scrolbar.cpp delete mode 100644 src/gtk1/settings.cpp delete mode 100644 src/gtk1/slider.cpp delete mode 100644 src/gtk1/statbmp.cpp delete mode 100644 src/gtk1/statbox.cpp delete mode 100644 src/gtk1/stattext.cpp delete mode 100644 src/gtk1/tbargtk.cpp delete mode 100644 src/gtk1/textctrl.cpp delete mode 100644 src/gtk1/threadgui.inc delete mode 100644 src/gtk1/threadno.cpp delete mode 100644 src/gtk1/threadpsx.cpp delete mode 100644 src/gtk1/threadsgi.cpp delete mode 100644 src/gtk1/timer.cpp delete mode 100644 src/gtk1/treectrl.cpp delete mode 100644 src/gtk1/utilsgtk.cpp delete mode 100644 src/gtk1/utilsres.cpp delete mode 100644 src/gtk1/verti.xbm delete mode 100644 src/gtk1/win_gtk.c delete mode 100644 src/gtk1/window.cpp delete mode 100644 src/iodbc/Changes.log delete mode 100644 src/iodbc/Config.mk delete mode 100644 src/iodbc/IAFA-PACKAGE delete mode 100644 src/iodbc/Makefile delete mode 100644 src/iodbc/README delete mode 100644 src/iodbc/Version.mk delete mode 100755 src/iodbc/autoconfig delete mode 100755 src/iodbc/build delete mode 100644 src/iodbc/catalog.c delete mode 100644 src/iodbc/config.h delete mode 100644 src/iodbc/connect.c delete mode 100644 src/iodbc/dlf.c delete mode 100644 src/iodbc/dlf.h delete mode 100644 src/iodbc/dlproc.c delete mode 100644 src/iodbc/dlproc.h delete mode 100644 src/iodbc/execute.c delete mode 100644 src/iodbc/fetch.c delete mode 100644 src/iodbc/hdbc.c delete mode 100644 src/iodbc/hdbc.h delete mode 100644 src/iodbc/henv.c delete mode 100644 src/iodbc/henv.ci delete mode 100644 src/iodbc/henv.h delete mode 100644 src/iodbc/herr.c delete mode 100644 src/iodbc/herr.ci delete mode 100644 src/iodbc/herr.h delete mode 100644 src/iodbc/hstmt.c delete mode 100644 src/iodbc/hstmt.h delete mode 100644 src/iodbc/info.c delete mode 100644 src/iodbc/iodbc.h delete mode 100644 src/iodbc/isql.h delete mode 100644 src/iodbc/isqlext.h delete mode 100644 src/iodbc/itrace.c delete mode 100644 src/iodbc/itrace.h delete mode 100644 src/iodbc/main.c delete mode 100644 src/iodbc/misc.c delete mode 100644 src/iodbc/postgres/isql.h delete mode 100644 src/iodbc/postgres/isqlext.h delete mode 100644 src/iodbc/postgres/odbc_funcs.h delete mode 100644 src/iodbc/postgres/odbc_types.h delete mode 100644 src/iodbc/prepare.c delete mode 100644 src/iodbc/result.c delete mode 100644 src/iodbc/shrsub.exp delete mode 100644 src/iodbc/windows.h delete mode 100644 src/makeb32.env delete mode 100644 src/makebcc.env delete mode 100644 src/makefile.bcc delete mode 100644 src/makefile.dos delete mode 100644 src/makefile.nt delete mode 100644 src/makeg95.env delete mode 100644 src/makemsc.env delete mode 100644 src/makesc.env delete mode 100644 src/makewat.env delete mode 100644 src/mingegcs.bat delete mode 100644 src/mingw32.bat delete mode 100644 src/motif.inc delete mode 100644 src/msw/Y_TAB.C delete mode 100644 src/msw/accel.cpp delete mode 100644 src/msw/app.cpp delete mode 100644 src/msw/bitmap.cpp delete mode 100644 src/msw/bmpbuttn.cpp delete mode 100644 src/msw/brush.cpp delete mode 100644 src/msw/button.cpp delete mode 100644 src/msw/checkbox.cpp delete mode 100644 src/msw/checklst.cpp delete mode 100644 src/msw/choice.cpp delete mode 100644 src/msw/clipbrd.cpp delete mode 100644 src/msw/colordlg.cpp delete mode 100644 src/msw/colour.cpp delete mode 100644 src/msw/combobox.cpp delete mode 100644 src/msw/control.cpp delete mode 100644 src/msw/ctl3d/borland/makefile.b32 delete mode 100644 src/msw/ctl3d/borland/makefile.bcc delete mode 100644 src/msw/ctl3d/ctl3d.dll delete mode 100644 src/msw/ctl3d/ctl3d32.dll delete mode 100644 src/msw/ctl3d/ctl3dv2.dll delete mode 100644 src/msw/ctl3d/msvc/ctl3d.h delete mode 100644 src/msw/ctl3d/msvc/ctl3d.lib delete mode 100644 src/msw/ctl3d/msvc/ctl3dv2.lib delete mode 100644 src/msw/ctl3d/readme.txt delete mode 100644 src/msw/ctl3d/wat32/import32.zip delete mode 100644 src/msw/ctl3d/wat386/ctl3d.h delete mode 100644 src/msw/ctl3d/wat386/ctl3d32.c delete mode 100644 src/msw/ctl3d/wat386/ctl3d32.lnk delete mode 100644 src/msw/ctl3d/wat386/ctl3d32.obj delete mode 100644 src/msw/ctl3d/wat386/ctl3d32.txt delete mode 100644 src/msw/ctl3d/wat386/makefile.wat delete mode 100644 src/msw/curico.cpp delete mode 100644 src/msw/cursor.cpp delete mode 100644 src/msw/data.cpp delete mode 100644 src/msw/dc.cpp delete mode 100644 src/msw/dcclient.cpp delete mode 100644 src/msw/dcmemory.cpp delete mode 100644 src/msw/dcprint.cpp delete mode 100644 src/msw/dcscreen.cpp delete mode 100644 src/msw/dde.cpp delete mode 100644 src/msw/dialog.cpp delete mode 100644 src/msw/dib.cpp delete mode 100644 src/msw/dibutils.cpp delete mode 100644 src/msw/dirdlg.cpp delete mode 100644 src/msw/dummy.cpp delete mode 100644 src/msw/dummydll.cpp delete mode 100644 src/msw/filedlg.cpp delete mode 100644 src/msw/font.cpp delete mode 100644 src/msw/fontdlg.cpp delete mode 100644 src/msw/frame.cpp delete mode 100644 src/msw/gauge95.cpp delete mode 100644 src/msw/gaugemsw.cpp delete mode 100644 src/msw/gdiobj.cpp delete mode 100644 src/msw/helpwin.cpp delete mode 100644 src/msw/icon.cpp delete mode 100644 src/msw/imaglist.cpp delete mode 100644 src/msw/iniconf.cpp delete mode 100644 src/msw/joystick.cpp delete mode 100644 src/msw/listbox.cpp delete mode 100644 src/msw/listctrl.cpp delete mode 100644 src/msw/main.cpp delete mode 100644 src/msw/makefile.b32 delete mode 100644 src/msw/makefile.bcc delete mode 100644 src/msw/makefile.dos delete mode 100644 src/msw/makefile.g95 delete mode 100644 src/msw/makefile.nt delete mode 100644 src/msw/makefile.sc delete mode 100644 src/msw/makefile.wat delete mode 100644 src/msw/mdi.cpp delete mode 100644 src/msw/menu.cpp delete mode 100644 src/msw/menuitem.cpp delete mode 100644 src/msw/metafile.cpp delete mode 100644 src/msw/minifram.cpp delete mode 100644 src/msw/msgdlg.cpp delete mode 100644 src/msw/nativdlg.cpp delete mode 100644 src/msw/notebook.cpp delete mode 100644 src/msw/ole/dataobj.cpp delete mode 100644 src/msw/ole/dropsrc.cpp delete mode 100644 src/msw/ole/droptgt.cpp delete mode 100644 src/msw/ole/oleutils.cpp delete mode 100644 src/msw/ole/uuid.cpp delete mode 100644 src/msw/ownerdrw.cpp delete mode 100644 src/msw/palette.cpp delete mode 100644 src/msw/pen.cpp delete mode 100644 src/msw/penwin.cpp delete mode 100644 src/msw/pnghand.cpp delete mode 100644 src/msw/printdlg.cpp delete mode 100644 src/msw/printwin.cpp delete mode 100644 src/msw/radiobox.cpp delete mode 100644 src/msw/radiobut.cpp delete mode 100644 src/msw/regconf.cpp delete mode 100644 src/msw/region.cpp delete mode 100644 src/msw/registry.cpp delete mode 100644 src/msw/scrolbar.cpp delete mode 100644 src/msw/settings.cpp delete mode 100644 src/msw/slider95.cpp delete mode 100644 src/msw/slidrmsw.cpp delete mode 100644 src/msw/spinbutt.cpp delete mode 100644 src/msw/statbmp.cpp delete mode 100644 src/msw/statbox.cpp delete mode 100644 src/msw/statbr95.cpp delete mode 100644 src/msw/stattext.cpp delete mode 100644 src/msw/tabctrl.cpp delete mode 100644 src/msw/taskbar.cpp delete mode 100644 src/msw/tbar95.cpp delete mode 100644 src/msw/tbarmsw.cpp delete mode 100644 src/msw/textctrl.cpp delete mode 100644 src/msw/thread.cpp delete mode 100644 src/msw/timer.cpp delete mode 100644 src/msw/treectrl.cpp delete mode 100644 src/msw/utils.cpp delete mode 100644 src/msw/utilsexc.cpp delete mode 100644 src/msw/wave.cpp delete mode 100644 src/msw/window.cpp delete mode 100644 src/msw/wx.def delete mode 100644 src/msw/xfspline.inc delete mode 100644 src/ntwxwin.mak delete mode 100644 src/png/CHANGES delete mode 100644 src/png/INSTALL delete mode 100644 src/png/README delete mode 100644 src/png/TODO delete mode 100644 src/png/ansi2knr.1 delete mode 100644 src/png/ansi2knr.c delete mode 100644 src/png/example.c delete mode 100644 src/png/libpng.3 delete mode 100644 src/png/libpngpf.3 delete mode 100644 src/png/makefile.bcc delete mode 100644 src/png/makefile.dos delete mode 100644 src/png/makefile.nt delete mode 100644 src/png/png.5 delete mode 100644 src/png/png.c delete mode 100644 src/png/png.h delete mode 100644 src/png/pngconf.h delete mode 100644 src/png/pngerror.c delete mode 100644 src/png/pngget.c delete mode 100644 src/png/pngmem.c delete mode 100644 src/png/pngpread.c delete mode 100644 src/png/pngread.c delete mode 100644 src/png/pngrio.c delete mode 100644 src/png/pngrtran.c delete mode 100644 src/png/pngrutil.c delete mode 100644 src/png/pngset.c delete mode 100644 src/png/pngtest.c delete mode 100644 src/png/pngtrans.c delete mode 100644 src/png/pngwio.c delete mode 100644 src/png/pngwrite.c delete mode 100644 src/png/pngwtran.c delete mode 100644 src/png/pngwutil.c delete mode 100644 src/png/scripts/SCOPTIONS.ppc delete mode 100644 src/png/scripts/build.bat delete mode 100644 src/png/scripts/descrip.mms delete mode 100644 src/png/scripts/makefile.aco delete mode 100644 src/png/scripts/makefile.ama delete mode 100644 src/png/scripts/makefile.atr delete mode 100644 src/png/scripts/makefile.bor delete mode 100644 src/png/scripts/makefile.dec delete mode 100644 src/png/scripts/makefile.dj2 delete mode 100644 src/png/scripts/makefile.knr delete mode 100644 src/png/scripts/makefile.lnx delete mode 100644 src/png/scripts/makefile.mip delete mode 100644 src/png/scripts/makefile.msc delete mode 100644 src/png/scripts/makefile.os2 delete mode 100644 src/png/scripts/makefile.s2x delete mode 100644 src/png/scripts/makefile.sgi delete mode 100644 src/png/scripts/makefile.std delete mode 100644 src/png/scripts/makefile.sun delete mode 100644 src/png/scripts/makefile.tc3 delete mode 100644 src/png/scripts/makefile.wat delete mode 100644 src/png/scripts/makevms.com delete mode 100644 src/png/scripts/pngos2.def delete mode 100644 src/png/scripts/smakefile.ppc delete mode 100644 src/qt.inc delete mode 100644 src/qt/app.cpp delete mode 100644 src/qt/bdiag.xbm delete mode 100644 src/qt/bitmap.cpp delete mode 100644 src/qt/bmpbuttn.cpp delete mode 100644 src/qt/brush.cpp delete mode 100644 src/qt/button.cpp delete mode 100644 src/qt/cdiag.xbm delete mode 100644 src/qt/checkbox.cpp delete mode 100644 src/qt/choice.cpp delete mode 100644 src/qt/colour.cpp delete mode 100644 src/qt/combobox.cpp delete mode 100644 src/qt/control.cpp delete mode 100644 src/qt/cross.xbm delete mode 100644 src/qt/cursor.cpp delete mode 100644 src/qt/data.cpp delete mode 100644 src/qt/dc.cpp delete mode 100644 src/qt/dcclient.cpp delete mode 100644 src/qt/dcmemory.cpp delete mode 100644 src/qt/dcscreen.cpp delete mode 100644 src/qt/dialog.cpp delete mode 100644 src/qt/dnd.cpp delete mode 100644 src/qt/fdiag.xbm delete mode 100644 src/qt/filedlg.cpp delete mode 100644 src/qt/font.cpp delete mode 100644 src/qt/frame.cpp delete mode 100644 src/qt/gauge.cpp delete mode 100644 src/qt/gdiobj.cpp delete mode 100644 src/qt/horiz.xbm delete mode 100644 src/qt/icon.cpp delete mode 100644 src/qt/joystick.cpp delete mode 100644 src/qt/listbox.cpp delete mode 100644 src/qt/mdi.cpp delete mode 100644 src/qt/menu.cpp delete mode 100644 src/qt/notebook.cpp delete mode 100644 src/qt/palette.cpp delete mode 100644 src/qt/pen.cpp delete mode 100644 src/qt/radiobox.cpp delete mode 100644 src/qt/radiobut.cpp delete mode 100644 src/qt/region.cpp delete mode 100644 src/qt/scrolbar.cpp delete mode 100644 src/qt/settings.cpp delete mode 100644 src/qt/slider.cpp delete mode 100644 src/qt/statbmp.cpp delete mode 100644 src/qt/statbox.cpp delete mode 100644 src/qt/stattext.cpp delete mode 100644 src/qt/tbargtk.cpp delete mode 100644 src/qt/textctrl.cpp delete mode 100644 src/qt/threadgui.inc delete mode 100644 src/qt/threadno.cpp delete mode 100644 src/qt/threadpsx.cpp delete mode 100644 src/qt/threadsgi.cpp delete mode 100644 src/qt/timer.cpp delete mode 100644 src/qt/utilsgtk.cpp delete mode 100644 src/qt/utilsres.cpp delete mode 100644 src/qt/verti.xbm delete mode 100644 src/qt/window.cpp delete mode 100644 src/stubs/accel.cpp delete mode 100644 src/stubs/app.cpp delete mode 100644 src/stubs/bitmap.cpp delete mode 100644 src/stubs/bmpbuttn.cpp delete mode 100644 src/stubs/brush.cpp delete mode 100644 src/stubs/button.cpp delete mode 100644 src/stubs/checkbox.cpp delete mode 100644 src/stubs/checklst.cpp delete mode 100644 src/stubs/choice.cpp delete mode 100644 src/stubs/clipbrd.cpp delete mode 100644 src/stubs/colordlg.cpp delete mode 100644 src/stubs/colour.cpp delete mode 100644 src/stubs/combobox.cpp delete mode 100644 src/stubs/control.cpp delete mode 100644 src/stubs/cursor.cpp delete mode 100644 src/stubs/data.cpp delete mode 100644 src/stubs/dc.cpp delete mode 100644 src/stubs/dcclient.cpp delete mode 100644 src/stubs/dcmemory.cpp delete mode 100644 src/stubs/dcscreen.cpp delete mode 100644 src/stubs/dialog.cpp delete mode 100644 src/stubs/dirdlg.cpp delete mode 100644 src/stubs/dnd.cpp delete mode 100644 src/stubs/filedlg.cpp delete mode 100644 src/stubs/font.cpp delete mode 100644 src/stubs/fontdlg.cpp delete mode 100644 src/stubs/frame.cpp delete mode 100644 src/stubs/gauge.cpp delete mode 100644 src/stubs/gdiobj.cpp delete mode 100644 src/stubs/helpxxxx.cpp delete mode 100644 src/stubs/icon.cpp delete mode 100644 src/stubs/imaglist.cpp delete mode 100644 src/stubs/joystick.cpp delete mode 100644 src/stubs/listbox.cpp delete mode 100644 src/stubs/listctrl.cpp delete mode 100644 src/stubs/main.cpp delete mode 100644 src/stubs/makefile.nt delete mode 100644 src/stubs/mdi.cpp delete mode 100644 src/stubs/menu.cpp delete mode 100644 src/stubs/menuitem.cpp delete mode 100644 src/stubs/metafile.cpp delete mode 100644 src/stubs/minifram.cpp delete mode 100644 src/stubs/msgdlg.cpp delete mode 100644 src/stubs/notebook.cpp delete mode 100644 src/stubs/palette.cpp delete mode 100644 src/stubs/pen.cpp delete mode 100644 src/stubs/print.cpp delete mode 100644 src/stubs/printdlg.cpp delete mode 100644 src/stubs/radiobox.cpp delete mode 100644 src/stubs/radiobut.cpp delete mode 100644 src/stubs/region.cpp delete mode 100644 src/stubs/scrolbar.cpp delete mode 100644 src/stubs/settings.cpp delete mode 100644 src/stubs/slider.cpp delete mode 100644 src/stubs/spinbutt.cpp delete mode 100644 src/stubs/statbmp.cpp delete mode 100644 src/stubs/statbox.cpp delete mode 100644 src/stubs/stattext.cpp delete mode 100644 src/stubs/statusbr.cpp delete mode 100644 src/stubs/tabctrl.cpp delete mode 100644 src/stubs/taskbar.cpp delete mode 100644 src/stubs/textctrl.cpp delete mode 100644 src/stubs/thread.cpp delete mode 100644 src/stubs/timer.cpp delete mode 100644 src/stubs/toolbar.cpp delete mode 100644 src/stubs/treectrl.cpp delete mode 100644 src/stubs/utils.cpp delete mode 100644 src/stubs/utilsexc.cpp delete mode 100644 src/stubs/wave.cpp delete mode 100644 src/stubs/window.cpp delete mode 100644 src/zlib/ChangeLog delete mode 100644 src/zlib/INDEX delete mode 100644 src/zlib/Make_vms.com delete mode 100644 src/zlib/Makefile.in2 delete mode 100644 src/zlib/Makefile.riscos delete mode 100644 src/zlib/README delete mode 100644 src/zlib/adler32.c delete mode 100644 src/zlib/algorithm.txt delete mode 100644 src/zlib/compress.c delete mode 100644 src/zlib/configure delete mode 100644 src/zlib/crc32.c delete mode 100644 src/zlib/deflate.c delete mode 100644 src/zlib/deflate.h delete mode 100644 src/zlib/descrip.mms delete mode 100644 src/zlib/example.c delete mode 100644 src/zlib/gzio.c delete mode 100644 src/zlib/infblock.c delete mode 100644 src/zlib/infblock.h delete mode 100644 src/zlib/infcodes.c delete mode 100644 src/zlib/infcodes.h delete mode 100644 src/zlib/inffast.c delete mode 100644 src/zlib/inffast.h delete mode 100644 src/zlib/inffixed.h delete mode 100644 src/zlib/inflate.c delete mode 100644 src/zlib/inftrees.c delete mode 100644 src/zlib/inftrees.h delete mode 100644 src/zlib/infutil.c delete mode 100644 src/zlib/infutil.h delete mode 100644 src/zlib/makefile.b32 delete mode 100644 src/zlib/makefile.bcc delete mode 100644 src/zlib/makefile.nt delete mode 100644 src/zlib/makefile.unx delete mode 100644 src/zlib/makefile.wat delete mode 100644 src/zlib/maketree.c delete mode 100644 src/zlib/minigzip.c delete mode 100644 src/zlib/trees.c delete mode 100644 src/zlib/trees.h delete mode 100644 src/zlib/uncompr.c delete mode 100644 src/zlib/zconf.h delete mode 100644 src/zlib/zlib.3 delete mode 100644 src/zlib/zlib.h delete mode 100644 src/zlib/zutil.c delete mode 100644 src/zlib/zutil.h delete mode 100644 template.mak delete mode 100644 user/Makefile delete mode 100644 user/wxConvert/.cvsignore delete mode 100644 user/wxConvert/Makefile delete mode 100644 user/wxConvert/Makefile.in delete mode 100644 user/wxConvert/wxConvert.cpp delete mode 100644 user/wxConvert/wxConvert.h delete mode 100644 user/wxFile/.cvsignore delete mode 100644 user/wxFile/FMJobs.cpp delete mode 100644 user/wxFile/FMJobs.h delete mode 100644 user/wxFile/Makefile delete mode 100644 user/wxFile/Makefile.in delete mode 100644 user/wxFile/commanderview.xpm delete mode 100644 user/wxFile/delete.xpm delete mode 100644 user/wxFile/dirctrl.cpp delete mode 100644 user/wxFile/dirctrl.h delete mode 100644 user/wxFile/exit.xpm delete mode 100644 user/wxFile/filectrl.cpp delete mode 100644 user/wxFile/filectrl.h delete mode 100644 user/wxFile/fileopen.xpm delete mode 100644 user/wxFile/find.xpm delete mode 100644 user/wxFile/folder.xpm delete mode 100644 user/wxFile/help.xpm delete mode 100644 user/wxFile/home.xpm delete mode 100644 user/wxFile/iconview.xpm delete mode 100644 user/wxFile/list.xpm delete mode 100644 user/wxFile/listview.xpm delete mode 100644 user/wxFile/prev.xpm delete mode 100644 user/wxFile/reportview.xpm delete mode 100644 user/wxFile/save.xpm delete mode 100644 user/wxFile/search.xpm delete mode 100644 user/wxFile/singleview.xpm delete mode 100644 user/wxFile/trash.xpm delete mode 100644 user/wxFile/treeview.xpm delete mode 100644 user/wxFile/txt.xpm delete mode 100644 user/wxFile/wxFile.cpp delete mode 100644 user/wxFile/wxFile.h delete mode 100644 user/wxTest/.cvsignore delete mode 100644 user/wxTest/Makefile delete mode 100644 user/wxTest/Makefile.in delete mode 100644 user/wxTest/folder.xpm delete mode 100644 user/wxTest/horse.png delete mode 100644 user/wxTest/list.xpm delete mode 100644 user/wxTest/wxTest.cpp delete mode 100644 user/wxTest/wxTest.h delete mode 100644 utils/Makefile delete mode 100644 utils/dialoged/Makefile delete mode 100644 utils/dialoged/docs/alignb.bmp delete mode 100644 utils/dialoged/docs/alignb.eps delete mode 100644 utils/dialoged/docs/alignb.gif delete mode 100644 utils/dialoged/docs/alignl.bmp delete mode 100644 utils/dialoged/docs/alignl.eps delete mode 100644 utils/dialoged/docs/alignl.gif delete mode 100644 utils/dialoged/docs/alignr.bmp delete mode 100644 utils/dialoged/docs/alignr.eps delete mode 100644 utils/dialoged/docs/alignr.gif delete mode 100644 utils/dialoged/docs/alignt.bmp delete mode 100644 utils/dialoged/docs/alignt.eps delete mode 100644 utils/dialoged/docs/alignt.gif delete mode 100644 utils/dialoged/docs/arrow.bmp delete mode 100644 utils/dialoged/docs/arrow.eps delete mode 100644 utils/dialoged/docs/arrow.gif delete mode 100644 utils/dialoged/docs/back.gif delete mode 100644 utils/dialoged/docs/bmpbuttn.bmp delete mode 100644 utils/dialoged/docs/bmpbuttn.eps delete mode 100644 utils/dialoged/docs/bmpbuttn.gif delete mode 100644 utils/dialoged/docs/body.tex delete mode 100644 utils/dialoged/docs/books.bmp delete mode 100644 utils/dialoged/docs/books.gif delete mode 100644 utils/dialoged/docs/bugs.tex delete mode 100644 utils/dialoged/docs/bullet.bmp delete mode 100644 utils/dialoged/docs/button.bmp delete mode 100644 utils/dialoged/docs/button.eps delete mode 100644 utils/dialoged/docs/button.gif delete mode 100644 utils/dialoged/docs/changes.tex delete mode 100644 utils/dialoged/docs/check.bmp delete mode 100644 utils/dialoged/docs/check.eps delete mode 100644 utils/dialoged/docs/check.gif delete mode 100644 utils/dialoged/docs/choice.bmp delete mode 100644 utils/dialoged/docs/choice.eps delete mode 100644 utils/dialoged/docs/choice.gif delete mode 100644 utils/dialoged/docs/classes.tex delete mode 100644 utils/dialoged/docs/contents.gif delete mode 100644 utils/dialoged/docs/copysize.bmp delete mode 100644 utils/dialoged/docs/copysize.eps delete mode 100644 utils/dialoged/docs/copysize.gif delete mode 100644 utils/dialoged/docs/dialog.bmp delete mode 100644 utils/dialoged/docs/dialog.eps delete mode 100644 utils/dialoged/docs/dialog.gif delete mode 100644 utils/dialoged/docs/dialoged.hpj delete mode 100644 utils/dialoged/docs/dialoged.tex delete mode 100644 utils/dialoged/docs/forward.gif delete mode 100644 utils/dialoged/docs/gauge.bmp delete mode 100644 utils/dialoged/docs/gauge.eps delete mode 100644 utils/dialoged/docs/gauge.gif delete mode 100644 utils/dialoged/docs/group.bmp delete mode 100644 utils/dialoged/docs/group.eps delete mode 100644 utils/dialoged/docs/group.gif delete mode 100644 utils/dialoged/docs/help.bmp delete mode 100644 utils/dialoged/docs/help.eps delete mode 100644 utils/dialoged/docs/help.gif delete mode 100644 utils/dialoged/docs/horiz.bmp delete mode 100644 utils/dialoged/docs/horiz.eps delete mode 100644 utils/dialoged/docs/horiz.gif delete mode 100644 utils/dialoged/docs/listbox.bmp delete mode 100644 utils/dialoged/docs/listbox.eps delete mode 100644 utils/dialoged/docs/listbox.gif delete mode 100644 utils/dialoged/docs/load.bmp delete mode 100644 utils/dialoged/docs/load.eps delete mode 100644 utils/dialoged/docs/load.gif delete mode 100644 utils/dialoged/docs/message.bmp delete mode 100644 utils/dialoged/docs/message.eps delete mode 100644 utils/dialoged/docs/message.gif delete mode 100644 utils/dialoged/docs/mtext.bmp delete mode 100644 utils/dialoged/docs/mtext.eps delete mode 100644 utils/dialoged/docs/mtext.gif delete mode 100644 utils/dialoged/docs/new.bmp delete mode 100644 utils/dialoged/docs/new.eps delete mode 100644 utils/dialoged/docs/new.gif delete mode 100644 utils/dialoged/docs/notes.txt delete mode 100644 utils/dialoged/docs/open.bmp delete mode 100644 utils/dialoged/docs/open.eps delete mode 100644 utils/dialoged/docs/open.gif delete mode 100644 utils/dialoged/docs/picture.bmp delete mode 100644 utils/dialoged/docs/picture.eps delete mode 100644 utils/dialoged/docs/picture.gif delete mode 100644 utils/dialoged/docs/radio.bmp delete mode 100644 utils/dialoged/docs/radio.eps delete mode 100644 utils/dialoged/docs/radio.gif delete mode 100644 utils/dialoged/docs/readme.txt delete mode 100644 utils/dialoged/docs/save.bmp delete mode 100644 utils/dialoged/docs/save.eps delete mode 100644 utils/dialoged/docs/save.gif delete mode 100644 utils/dialoged/docs/scroll.bmp delete mode 100644 utils/dialoged/docs/scroll.eps delete mode 100644 utils/dialoged/docs/scroll.gif delete mode 100644 utils/dialoged/docs/slider.bmp delete mode 100644 utils/dialoged/docs/slider.eps delete mode 100644 utils/dialoged/docs/slider.gif delete mode 100644 utils/dialoged/docs/tech.tex delete mode 100644 utils/dialoged/docs/tex2rtf.ini delete mode 100644 utils/dialoged/docs/text.bmp delete mode 100644 utils/dialoged/docs/text.eps delete mode 100644 utils/dialoged/docs/text.gif delete mode 100644 utils/dialoged/docs/toback.bmp delete mode 100644 utils/dialoged/docs/toback.eps delete mode 100644 utils/dialoged/docs/toback.gif delete mode 100644 utils/dialoged/docs/tofront.bmp delete mode 100644 utils/dialoged/docs/tofront.eps delete mode 100644 utils/dialoged/docs/tofront.gif delete mode 100644 utils/dialoged/docs/up.gif delete mode 100644 utils/dialoged/docs/vert.bmp delete mode 100644 utils/dialoged/docs/vert.eps delete mode 100644 utils/dialoged/docs/vert.gif delete mode 100644 utils/dialoged/src/.cvsignore delete mode 100644 utils/dialoged/src/Makefile delete mode 100644 utils/dialoged/src/Makefile.in delete mode 100644 utils/dialoged/src/bitmaps/alignb.bmp delete mode 100644 utils/dialoged/src/bitmaps/alignb.xbm delete mode 100644 utils/dialoged/src/bitmaps/alignb.xpm delete mode 100644 utils/dialoged/src/bitmaps/alignl.bmp delete mode 100644 utils/dialoged/src/bitmaps/alignl.xbm delete mode 100644 utils/dialoged/src/bitmaps/alignl.xpm delete mode 100644 utils/dialoged/src/bitmaps/alignr.bmp delete mode 100644 utils/dialoged/src/bitmaps/alignr.xbm delete mode 100644 utils/dialoged/src/bitmaps/alignr.xpm delete mode 100644 utils/dialoged/src/bitmaps/alignt.bmp delete mode 100644 utils/dialoged/src/bitmaps/alignt.xbm delete mode 100644 utils/dialoged/src/bitmaps/alignt.xpm delete mode 100644 utils/dialoged/src/bitmaps/arrow.bmp delete mode 100644 utils/dialoged/src/bitmaps/arrow.ico delete mode 100644 utils/dialoged/src/bitmaps/arrow.xbm delete mode 100644 utils/dialoged/src/bitmaps/arrow.xpm delete mode 100644 utils/dialoged/src/bitmaps/bmpbuttn.bmp delete mode 100644 utils/dialoged/src/bitmaps/bmpbuttn.ico delete mode 100644 utils/dialoged/src/bitmaps/bmpbuttn.xbm delete mode 100644 utils/dialoged/src/bitmaps/bmpbuttn.xpm delete mode 100644 utils/dialoged/src/bitmaps/button.bmp delete mode 100644 utils/dialoged/src/bitmaps/button.ico delete mode 100644 utils/dialoged/src/bitmaps/button.xbm delete mode 100644 utils/dialoged/src/bitmaps/button.xpm delete mode 100644 utils/dialoged/src/bitmaps/buttonsm.ico delete mode 100644 utils/dialoged/src/bitmaps/buttonsm.xpm delete mode 100644 utils/dialoged/src/bitmaps/canvas.xbm delete mode 100644 utils/dialoged/src/bitmaps/check.bmp delete mode 100644 utils/dialoged/src/bitmaps/check.xbm delete mode 100644 utils/dialoged/src/bitmaps/checkbox.ico delete mode 100644 utils/dialoged/src/bitmaps/checkbox.xpm delete mode 100644 utils/dialoged/src/bitmaps/choice.bmp delete mode 100644 utils/dialoged/src/bitmaps/choice.ico delete mode 100644 utils/dialoged/src/bitmaps/choice.xbm delete mode 100644 utils/dialoged/src/bitmaps/choice.xpm delete mode 100644 utils/dialoged/src/bitmaps/combobox.ico delete mode 100644 utils/dialoged/src/bitmaps/combobox.xpm delete mode 100644 utils/dialoged/src/bitmaps/copysize.bmp delete mode 100644 utils/dialoged/src/bitmaps/copysize.xbm delete mode 100644 utils/dialoged/src/bitmaps/copysize.xpm delete mode 100644 utils/dialoged/src/bitmaps/cpp.xbm delete mode 100644 utils/dialoged/src/bitmaps/cross.bmp delete mode 100644 utils/dialoged/src/bitmaps/dialog.bmp delete mode 100644 utils/dialoged/src/bitmaps/dialog.ico delete mode 100644 utils/dialoged/src/bitmaps/dialog.xbm delete mode 100644 utils/dialoged/src/bitmaps/dialog.xpm delete mode 100644 utils/dialoged/src/bitmaps/dialoged.ico delete mode 100644 utils/dialoged/src/bitmaps/dialoged.xpm delete mode 100644 utils/dialoged/src/bitmaps/folder1.ico delete mode 100644 utils/dialoged/src/bitmaps/folder1.xpm delete mode 100644 utils/dialoged/src/bitmaps/folder2.ico delete mode 100644 utils/dialoged/src/bitmaps/folder2.xpm delete mode 100644 utils/dialoged/src/bitmaps/frame.xbm delete mode 100644 utils/dialoged/src/bitmaps/gauge.bmp delete mode 100644 utils/dialoged/src/bitmaps/gauge.ico delete mode 100644 utils/dialoged/src/bitmaps/gauge.xbm delete mode 100644 utils/dialoged/src/bitmaps/gauge.xpm delete mode 100644 utils/dialoged/src/bitmaps/group.bmp delete mode 100644 utils/dialoged/src/bitmaps/group.xbm delete mode 100644 utils/dialoged/src/bitmaps/help.bmp delete mode 100644 utils/dialoged/src/bitmaps/help.xbm delete mode 100644 utils/dialoged/src/bitmaps/help.xpm delete mode 100644 utils/dialoged/src/bitmaps/horiz.bmp delete mode 100644 utils/dialoged/src/bitmaps/horiz.xbm delete mode 100644 utils/dialoged/src/bitmaps/horiz.xpm delete mode 100644 utils/dialoged/src/bitmaps/listbox.bmp delete mode 100644 utils/dialoged/src/bitmaps/listbox.ico delete mode 100644 utils/dialoged/src/bitmaps/listbox.xbm delete mode 100644 utils/dialoged/src/bitmaps/listbox.xpm delete mode 100644 utils/dialoged/src/bitmaps/load.bmp delete mode 100644 utils/dialoged/src/bitmaps/load.xbm delete mode 100644 utils/dialoged/src/bitmaps/load.xpm delete mode 100644 utils/dialoged/src/bitmaps/message.bmp delete mode 100644 utils/dialoged/src/bitmaps/message.xbm delete mode 100644 utils/dialoged/src/bitmaps/mtext.bmp delete mode 100644 utils/dialoged/src/bitmaps/mtext.xbm delete mode 100644 utils/dialoged/src/bitmaps/new.bmp delete mode 100644 utils/dialoged/src/bitmaps/new.xbm delete mode 100644 utils/dialoged/src/bitmaps/new.xpm delete mode 100644 utils/dialoged/src/bitmaps/open.bmp delete mode 100644 utils/dialoged/src/bitmaps/panel.xbm delete mode 100644 utils/dialoged/src/bitmaps/picture.bmp delete mode 100644 utils/dialoged/src/bitmaps/picture.xbm delete mode 100644 utils/dialoged/src/bitmaps/radio.bmp delete mode 100644 utils/dialoged/src/bitmaps/radio.xbm delete mode 100644 utils/dialoged/src/bitmaps/radiobox.ico delete mode 100644 utils/dialoged/src/bitmaps/radiobox.xpm delete mode 100644 utils/dialoged/src/bitmaps/radiobtn.ico delete mode 100644 utils/dialoged/src/bitmaps/radiobtn.xpm delete mode 100644 utils/dialoged/src/bitmaps/report.xbm delete mode 100644 utils/dialoged/src/bitmaps/save.bmp delete mode 100644 utils/dialoged/src/bitmaps/save.xbm delete mode 100644 utils/dialoged/src/bitmaps/save.xpm delete mode 100644 utils/dialoged/src/bitmaps/scrolbar.ico delete mode 100644 utils/dialoged/src/bitmaps/scrolbar.xpm delete mode 100644 utils/dialoged/src/bitmaps/scroll.bmp delete mode 100644 utils/dialoged/src/bitmaps/scroll.xbm delete mode 100644 utils/dialoged/src/bitmaps/slider.bmp delete mode 100644 utils/dialoged/src/bitmaps/slider.ico delete mode 100644 utils/dialoged/src/bitmaps/slider.xbm delete mode 100644 utils/dialoged/src/bitmaps/slider.xpm delete mode 100644 utils/dialoged/src/bitmaps/statbmp.ico delete mode 100644 utils/dialoged/src/bitmaps/statbmp.xpm delete mode 100644 utils/dialoged/src/bitmaps/statbox.ico delete mode 100644 utils/dialoged/src/bitmaps/statbox.xpm delete mode 100644 utils/dialoged/src/bitmaps/stattext.ico delete mode 100644 utils/dialoged/src/bitmaps/stattext.xpm delete mode 100644 utils/dialoged/src/bitmaps/text.bmp delete mode 100644 utils/dialoged/src/bitmaps/text.xbm delete mode 100644 utils/dialoged/src/bitmaps/textmult.ico delete mode 100644 utils/dialoged/src/bitmaps/textmult.xpm delete mode 100644 utils/dialoged/src/bitmaps/textsing.ico delete mode 100644 utils/dialoged/src/bitmaps/textsing.xpm delete mode 100644 utils/dialoged/src/bitmaps/textsw.xbm delete mode 100644 utils/dialoged/src/bitmaps/tick.bmp delete mode 100644 utils/dialoged/src/bitmaps/toback.bmp delete mode 100644 utils/dialoged/src/bitmaps/toback.xbm delete mode 100644 utils/dialoged/src/bitmaps/toback.xpm delete mode 100644 utils/dialoged/src/bitmaps/tofront.bmp delete mode 100644 utils/dialoged/src/bitmaps/tofront.xbm delete mode 100644 utils/dialoged/src/bitmaps/tofront.xpm delete mode 100644 utils/dialoged/src/bitmaps/tree.xbm delete mode 100644 utils/dialoged/src/bitmaps/treeicn.xbm delete mode 100644 utils/dialoged/src/bitmaps/vert.bmp delete mode 100644 utils/dialoged/src/bitmaps/vert.xbm delete mode 100644 utils/dialoged/src/bitmaps/vert.xpm delete mode 100644 utils/dialoged/src/bitmaps/wxbuild.xbm delete mode 100644 utils/dialoged/src/bitmaps/wxwin.xbm delete mode 100644 utils/dialoged/src/bitmaps/wxwin.xpm delete mode 100644 utils/dialoged/src/dialoged.cpp delete mode 100644 utils/dialoged/src/dialoged.def delete mode 100644 utils/dialoged/src/dialoged.h delete mode 100644 utils/dialoged/src/dialoged.ico delete mode 100644 utils/dialoged/src/dialoged.rc delete mode 100644 utils/dialoged/src/dlghndlr.cpp delete mode 100644 utils/dialoged/src/dlghndlr.h delete mode 100644 utils/dialoged/src/edlist.cpp delete mode 100644 utils/dialoged/src/edlist.h delete mode 100644 utils/dialoged/src/edtree.cpp delete mode 100644 utils/dialoged/src/edtree.h delete mode 100644 utils/dialoged/src/makefile.b32 delete mode 100644 utils/dialoged/src/makefile.bcc delete mode 100644 utils/dialoged/src/makefile.dos delete mode 100644 utils/dialoged/src/makefile.g95 delete mode 100644 utils/dialoged/src/makefile.nt delete mode 100644 utils/dialoged/src/makefile.sc delete mode 100644 utils/dialoged/src/makefile.unx delete mode 100644 utils/dialoged/src/makefile.wat delete mode 100644 utils/dialoged/src/reseditr.cpp delete mode 100644 utils/dialoged/src/reseditr.h delete mode 100644 utils/dialoged/src/reswrite.cpp delete mode 100644 utils/dialoged/src/symbtabl.cpp delete mode 100644 utils/dialoged/src/symbtabl.h delete mode 100644 utils/dialoged/src/winprop.cpp delete mode 100644 utils/dialoged/src/winprop.h delete mode 100644 utils/dialoged/src/winstyle.cpp delete mode 100644 utils/dialoged/src/winstyle.h delete mode 100644 utils/glcanvas/Makefile delete mode 100644 utils/glcanvas/distrib/glcanvas.rsp delete mode 100755 utils/glcanvas/distrib/zipsrc.bat delete mode 100644 utils/glcanvas/docs/notes.txt delete mode 100644 utils/glcanvas/samples/cube/cube.cpp delete mode 100644 utils/glcanvas/samples/cube/cube.h delete mode 100644 utils/glcanvas/samples/cube/cube.rc delete mode 100644 utils/glcanvas/samples/cube/makefile.g95 delete mode 100644 utils/glcanvas/samples/cube/makefile.nt delete mode 100644 utils/glcanvas/samples/cube/mondrian.ico delete mode 100644 utils/glcanvas/samples/isosurf/isosurf.cpp delete mode 100644 utils/glcanvas/samples/isosurf/isosurf.dat.gz delete mode 100644 utils/glcanvas/samples/isosurf/isosurf.h delete mode 100644 utils/glcanvas/samples/isosurf/isosurf.rc delete mode 100644 utils/glcanvas/samples/isosurf/makefile.nt delete mode 100644 utils/glcanvas/samples/isosurf/mondrian.ico delete mode 100644 utils/glcanvas/src/.cvsignore delete mode 100644 utils/glcanvas/src/Makefile delete mode 100644 utils/glcanvas/src/Makefile.in delete mode 100644 utils/glcanvas/src/glcanvas.cpp delete mode 100644 utils/glcanvas/src/glcanvas.h delete mode 100644 utils/glcanvas/win/glcanvas.cpp delete mode 100644 utils/glcanvas/win/glcanvas.h delete mode 100644 utils/glcanvas/win/makefile.nt delete mode 100644 utils/makefile.nt delete mode 100644 utils/nplugin/docs/notes.txt delete mode 100644 utils/nplugin/lib/dummy delete mode 100644 utils/nplugin/makefile.nt delete mode 100644 utils/nplugin/samples/gui/gui.cpp delete mode 100644 utils/nplugin/samples/gui/gui.h delete mode 100644 utils/nplugin/samples/gui/index.html delete mode 100644 utils/nplugin/samples/gui/makefile.nt delete mode 100644 utils/nplugin/samples/gui/npgui32.def delete mode 100644 utils/nplugin/samples/gui/npgui32.rc delete mode 100644 utils/nplugin/samples/simple/index.html delete mode 100644 utils/nplugin/samples/simple/makefile.nt delete mode 100644 utils/nplugin/samples/simple/npsimple32.def delete mode 100644 utils/nplugin/samples/simple/npsimple32.rc delete mode 100644 utils/nplugin/samples/simple/simple.cpp delete mode 100644 utils/nplugin/src/makefile.nt delete mode 100644 utils/nplugin/src/npapi.h delete mode 100644 utils/nplugin/src/npapp.cpp delete mode 100644 utils/nplugin/src/npapp.h delete mode 100644 utils/nplugin/src/npframe.cpp delete mode 100644 utils/nplugin/src/npframe.h delete mode 100644 utils/nplugin/src/npshell.cpp delete mode 100644 utils/nplugin/src/npupp.h delete mode 100644 utils/nplugin/src/npwin.cpp delete mode 100644 utils/ogl/distrib/ogl.rsp delete mode 100755 utils/ogl/distrib/tarogl.bat delete mode 100755 utils/ogl/distrib/zipogl.bat delete mode 100644 utils/ogl/docs/back.gif delete mode 100644 utils/ogl/docs/books.bmp delete mode 100644 utils/ogl/docs/bugs.tex delete mode 100644 utils/ogl/docs/bullet.bmp delete mode 100644 utils/ogl/docs/changes.tex delete mode 100644 utils/ogl/docs/classes.tex delete mode 100644 utils/ogl/docs/contents.gif delete mode 100644 utils/ogl/docs/forward.gif delete mode 100644 utils/ogl/docs/intro.tex delete mode 100644 utils/ogl/docs/ogl.hpj delete mode 100644 utils/ogl/docs/ogl.tex delete mode 100644 utils/ogl/docs/ogledit.bmp delete mode 100644 utils/ogl/docs/ogledit.gif delete mode 100644 utils/ogl/docs/sample.tex delete mode 100644 utils/ogl/docs/tex2rtf.ini delete mode 100644 utils/ogl/docs/topics.tex delete mode 100644 utils/ogl/docs/up.gif delete mode 100644 utils/ogl/samples/ogledit/bitmaps/arrow.bmp delete mode 100644 utils/ogl/samples/ogledit/bitmaps/tool1.bmp delete mode 100644 utils/ogl/samples/ogledit/bitmaps/tool2.bmp delete mode 100644 utils/ogl/samples/ogledit/bitmaps/tool3.bmp delete mode 100644 utils/ogl/samples/ogledit/bitmaps/tool4.bmp delete mode 100644 utils/ogl/samples/ogledit/doc.cpp delete mode 100644 utils/ogl/samples/ogledit/doc.h delete mode 100644 utils/ogl/samples/ogledit/makefile.b32 delete mode 100644 utils/ogl/samples/ogledit/makefile.bcc delete mode 100644 utils/ogl/samples/ogledit/makefile.dos delete mode 100644 utils/ogl/samples/ogledit/makefile.nt delete mode 100644 utils/ogl/samples/ogledit/makefile.sc delete mode 100644 utils/ogl/samples/ogledit/makefile.unx delete mode 100644 utils/ogl/samples/ogledit/makefile.vms delete mode 100644 utils/ogl/samples/ogledit/makefile.wat delete mode 100644 utils/ogl/samples/ogledit/ogl.ico delete mode 100644 utils/ogl/samples/ogledit/ogledit.cpp delete mode 100644 utils/ogl/samples/ogledit/ogledit.def delete mode 100644 utils/ogl/samples/ogledit/ogledit.h delete mode 100644 utils/ogl/samples/ogledit/ogledit.rc delete mode 100644 utils/ogl/samples/ogledit/palette.cpp delete mode 100644 utils/ogl/samples/ogledit/palette.h delete mode 100644 utils/ogl/samples/ogledit/view.cpp delete mode 100644 utils/ogl/samples/ogledit/view.h delete mode 100644 utils/ogl/src/basic.cpp delete mode 100644 utils/ogl/src/basic.h delete mode 100644 utils/ogl/src/basic2.cpp delete mode 100644 utils/ogl/src/basicp.h delete mode 100644 utils/ogl/src/bitmap.cpp delete mode 100644 utils/ogl/src/bitmap.h delete mode 100644 utils/ogl/src/canvas.cpp delete mode 100644 utils/ogl/src/canvas.h delete mode 100644 utils/ogl/src/composit.cpp delete mode 100644 utils/ogl/src/composit.h delete mode 100644 utils/ogl/src/constrnt.cpp delete mode 100644 utils/ogl/src/constrnt.h delete mode 100644 utils/ogl/src/divided.cpp delete mode 100644 utils/ogl/src/divided.h delete mode 100644 utils/ogl/src/drawn.cpp delete mode 100644 utils/ogl/src/drawn.h delete mode 100644 utils/ogl/src/drawnp.h delete mode 100644 utils/ogl/src/lines.cpp delete mode 100644 utils/ogl/src/lines.h delete mode 100644 utils/ogl/src/linesp.h delete mode 100644 utils/ogl/src/makefile.b32 delete mode 100644 utils/ogl/src/makefile.bcc delete mode 100644 utils/ogl/src/makefile.dos delete mode 100644 utils/ogl/src/makefile.nt delete mode 100644 utils/ogl/src/makefile.unx delete mode 100644 utils/ogl/src/makefile.wat delete mode 100644 utils/ogl/src/mfutils.cpp delete mode 100644 utils/ogl/src/mfutils.h delete mode 100644 utils/ogl/src/misc.cpp delete mode 100644 utils/ogl/src/misc.h delete mode 100644 utils/ogl/src/ogl.h delete mode 100644 utils/ogl/src/ogldiag.cpp delete mode 100644 utils/ogl/src/ogldiag.h delete mode 100644 utils/serialize/.cvsignore delete mode 100644 utils/serialize/Makefile delete mode 100644 utils/serialize/Makefile.in delete mode 100644 utils/serialize/sercore.cpp delete mode 100644 utils/serialize/sercore.h delete mode 100644 utils/serialize/serctrl.cpp delete mode 100644 utils/serialize/serctrl.h delete mode 100644 utils/serialize/serext.cpp delete mode 100644 utils/serialize/serext.h delete mode 100644 utils/serialize/sergdi.cpp delete mode 100644 utils/serialize/sergdi.h delete mode 100644 utils/serialize/sermain.cpp delete mode 100644 utils/serialize/serwnd.cpp delete mode 100644 utils/serialize/serwnd.h delete mode 100644 utils/wxPython/README.txt delete mode 100644 utils/wxPython/TODO.txt delete mode 100644 utils/wxPython/src/Makefile.pre.in delete mode 100644 utils/wxPython/src/Setup.in delete mode 100644 utils/wxPython/src/__init__.py delete mode 100644 utils/wxPython/src/_defs.i delete mode 100644 utils/wxPython/src/_extras.py delete mode 100644 utils/wxPython/src/cmndlgs.i delete mode 100644 utils/wxPython/src/controls.i delete mode 100644 utils/wxPython/src/controls2.i delete mode 100644 utils/wxPython/src/events.i delete mode 100644 utils/wxPython/src/gdi.i delete mode 100644 utils/wxPython/src/gtk/cmndlgs.cpp delete mode 100644 utils/wxPython/src/gtk/cmndlgs.py delete mode 100644 utils/wxPython/src/gtk/controls.cpp delete mode 100644 utils/wxPython/src/gtk/controls.py delete mode 100644 utils/wxPython/src/gtk/controls2.cpp delete mode 100644 utils/wxPython/src/gtk/controls2.py delete mode 100644 utils/wxPython/src/gtk/dummy delete mode 100644 utils/wxPython/src/gtk/events.cpp delete mode 100644 utils/wxPython/src/gtk/events.py delete mode 100644 utils/wxPython/src/gtk/gdi.cpp delete mode 100644 utils/wxPython/src/gtk/gdi.py delete mode 100644 utils/wxPython/src/gtk/mdi.cpp delete mode 100644 utils/wxPython/src/gtk/mdi.py delete mode 100644 utils/wxPython/src/gtk/misc.cpp delete mode 100644 utils/wxPython/src/gtk/misc.py delete mode 100644 utils/wxPython/src/gtk/windows.cpp delete mode 100644 utils/wxPython/src/gtk/windows.py delete mode 100644 utils/wxPython/src/gtk/windows2.cpp delete mode 100644 utils/wxPython/src/gtk/windows2.py delete mode 100644 utils/wxPython/src/gtk/wxp.cpp delete mode 100644 utils/wxPython/src/gtk/wxp.py delete mode 100644 utils/wxPython/src/helpers.cpp delete mode 100644 utils/wxPython/src/helpers.h delete mode 100644 utils/wxPython/src/makefile.nt delete mode 100644 utils/wxPython/src/mdi.i delete mode 100644 utils/wxPython/src/misc.i delete mode 100644 utils/wxPython/src/motif/dummy delete mode 100644 utils/wxPython/src/msw/cmndlgs.cpp delete mode 100644 utils/wxPython/src/msw/cmndlgs.py delete mode 100644 utils/wxPython/src/msw/controls.cpp delete mode 100644 utils/wxPython/src/msw/controls.py delete mode 100644 utils/wxPython/src/msw/controls2.cpp delete mode 100644 utils/wxPython/src/msw/controls2.py delete mode 100644 utils/wxPython/src/msw/dummy delete mode 100644 utils/wxPython/src/msw/events.cpp delete mode 100644 utils/wxPython/src/msw/events.py delete mode 100644 utils/wxPython/src/msw/gdi.cpp delete mode 100644 utils/wxPython/src/msw/gdi.py delete mode 100644 utils/wxPython/src/msw/mdi.cpp delete mode 100644 utils/wxPython/src/msw/mdi.py delete mode 100644 utils/wxPython/src/msw/misc.cpp delete mode 100644 utils/wxPython/src/msw/misc.py delete mode 100644 utils/wxPython/src/msw/windows.cpp delete mode 100644 utils/wxPython/src/msw/windows.py delete mode 100644 utils/wxPython/src/msw/windows2.cpp delete mode 100644 utils/wxPython/src/msw/windows2.py delete mode 100644 utils/wxPython/src/msw/wxp.cpp delete mode 100644 utils/wxPython/src/msw/wxp.py delete mode 100644 utils/wxPython/src/my_typemaps.i delete mode 100644 utils/wxPython/src/qt/dummy delete mode 100644 utils/wxPython/src/windows.i delete mode 100644 utils/wxPython/src/windows2.i delete mode 100644 utils/wxPython/src/wxp.i delete mode 100644 utils/wxPython/src/wxp.ico delete mode 100644 utils/wxPython/src/wxpc.def delete mode 100644 utils/wxPython/src/wxpc.rc delete mode 100644 utils/wxPython/tests/bitmaps/mondrian.ico delete mode 100644 utils/wxPython/tests/bitmaps/test2.bmp delete mode 100644 utils/wxPython/tests/test1.py delete mode 100644 utils/wxPython/tests/test2.py delete mode 100644 utils/wxPython/tests/test3.py delete mode 100644 utils/wxPython/tests/test4.py delete mode 100644 utils/wxprop/Makefile delete mode 100644 utils/wxprop/docs/back.gif delete mode 100644 utils/wxprop/docs/body.tex delete mode 100644 utils/wxprop/docs/books.bmp delete mode 100644 utils/wxprop/docs/books.gif delete mode 100644 utils/wxprop/docs/bullet.bmp delete mode 100644 utils/wxprop/docs/changes.tex delete mode 100644 utils/wxprop/docs/classes.tex delete mode 100644 utils/wxprop/docs/contents.gif delete mode 100644 utils/wxprop/docs/forward.gif delete mode 100644 utils/wxprop/docs/prop.hpj delete mode 100644 utils/wxprop/docs/prop.tex delete mode 100644 utils/wxprop/docs/prop1.bmp delete mode 100644 utils/wxprop/docs/prop1.eps delete mode 100644 utils/wxprop/docs/prop1.gif delete mode 100644 utils/wxprop/docs/prop2.bmp delete mode 100644 utils/wxprop/docs/prop2.eps delete mode 100644 utils/wxprop/docs/prop2.gif delete mode 100644 utils/wxprop/docs/readme.txt delete mode 100644 utils/wxprop/docs/tex2rtf.ini delete mode 100644 utils/wxprop/docs/up.gif delete mode 100644 utils/wxprop/docs/wxprop.hpj delete mode 100644 utils/wxprop/lib/dummy delete mode 100644 utils/wxprop/src/.cvsignore delete mode 100644 utils/wxprop/src/Makefile delete mode 100644 utils/wxprop/src/Makefile.in delete mode 100644 utils/wxprop/src/cross.bmp delete mode 100644 utils/wxprop/src/makefile.b32 delete mode 100644 utils/wxprop/src/makefile.dos delete mode 100644 utils/wxprop/src/makefile.g95 delete mode 100644 utils/wxprop/src/makefile.nt delete mode 100644 utils/wxprop/src/prop.cpp delete mode 100644 utils/wxprop/src/prop.h delete mode 100644 utils/wxprop/src/propform.cpp delete mode 100644 utils/wxprop/src/propform.h delete mode 100644 utils/wxprop/src/proplist.cpp delete mode 100644 utils/wxprop/src/proplist.h delete mode 100644 utils/wxprop/src/test.cpp delete mode 100644 utils/wxprop/src/test.def delete mode 100644 utils/wxprop/src/test.h delete mode 100644 utils/wxprop/src/test.rc delete mode 100644 utils/wxprop/src/tick.bmp delete mode 100644 utils/wxtree/docs/back.gif delete mode 100644 utils/wxtree/docs/books.gif delete mode 100644 utils/wxtree/docs/classes.tex delete mode 100644 utils/wxtree/docs/contents.gif delete mode 100644 utils/wxtree/docs/forward.gif delete mode 100644 utils/wxtree/docs/tex2rtf.ini delete mode 100644 utils/wxtree/docs/tree.bib delete mode 100644 utils/wxtree/docs/treetst.bmp delete mode 100644 utils/wxtree/docs/treetst.gif delete mode 100644 utils/wxtree/docs/up.gif delete mode 100644 utils/wxtree/docs/wxtree.tex delete mode 100644 utils/wxtree/lib/dummy delete mode 100644 utils/wxtree/src/makefile.b32 delete mode 100644 utils/wxtree/src/makefile.bcc delete mode 100644 utils/wxtree/src/makefile.dos delete mode 100644 utils/wxtree/src/makefile.g95 delete mode 100644 utils/wxtree/src/makefile.nt delete mode 100644 utils/wxtree/src/makefile.sc delete mode 100644 utils/wxtree/src/makefile.unx delete mode 100644 utils/wxtree/src/makefile.wat delete mode 100644 utils/wxtree/src/mondrian.ico delete mode 100644 utils/wxtree/src/test.cpp delete mode 100644 utils/wxtree/src/test.def delete mode 100644 utils/wxtree/src/test.h delete mode 100644 utils/wxtree/src/test.rc delete mode 100644 utils/wxtree/src/wxtree.cpp delete mode 100644 utils/wxtree/src/wxtree.h diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 93f47969ce..0000000000 --- a/.cvsignore +++ /dev/null @@ -1,7 +0,0 @@ -system.list -bin -.gdb_history -Test -config.cashe -config.status -system.list diff --git a/Makefile b/Makefile deleted file mode 100644 index c35ef5ea06..0000000000 --- a/Makefile +++ /dev/null @@ -1,173 +0,0 @@ -# Top-level Makefile for wxGTK by Wolfram Gloger -# based on the version for wx-Xt by Martin Sperl - -SHELL=/bin/sh - -#if DIRS are defind make only executes in these diretories -all:: - @if test "x$(DIRS)" = x; then \ - for i in src samples utils user; do \ - echo "entering directory $$i building $@"; \ - (cd $$i; ${MAKE} -k $@); \ - done; \ - else \ - for i in $(DIRS) xxx; do \ - if test "$$i" != xxx; then \ - echo "entering directory $$i building $@"; \ - (cd $$i; ${MAKE} -k $@); \ - fi; \ - done; \ - fi - -# what to do if a target is not understood: -# pass it on to all the children... - -.DEFAULT:: - @if test "x$(DIRS)" = x; then \ - for i in src samples utils user; do \ - echo "entering directory $$i building $@"; \ - (cd $$i; ${MAKE} -k $@); \ - done; \ - else \ - for i in $(DIRS) xxx; do \ - if test "$$i" != xxx; then \ - echo "entering directory $$i building $@"; \ - (cd $$i; ${MAKE} -k $@); \ - fi; \ - done; \ - fi - -src:: - @echo "entering directory src building all" - @cd src; ${MAKE} all - -samples:: - @echo "entering directory samples building all" - @cd samples; ${MAKE} all - -utils:: - @echo "entering directory utils building all" - @cd utils; ${MAKE} all - -user:: - @echo "entering directory user building all" - @cd user; ${MAKE} all - -install:: - @echo "entering directory src for installing" - @cd src; ${MAKE} install - @echo "entering directory utils for installing" - @cd utils; ${MAKE} install - -# the following ones recreate all Makefiles. - -makefiles:: recreate -Makefiles:: recreate -recreate:: - @setup/general/createall - -# the following ones define what needs to be done to distribute the -# library and its components - -distribute:: distrib -distrib:: distrib_base distrib_user join_utils join_samples - -distrib_samples:: - @echo "entering directory samples creating distribution files" - @(cd samples; ${MAKE} -k distrib) - -distrib_user:: - @echo "entering directory user creating distribution files" - @(cd user; ${MAKE} -k distrib) - -distrib_utils:: - @echo "entering directory utils creating distribution files" - @(cd utils; ${MAKE} -k distrib) - -join_utils:: distrib_utils - @$(MAKE) join \ - BASEDIR=utils \ - FILES=`echo distrib/utils/*.tgz ` - -join_samples:: distrib_samples - @$(MAKE) join \ - BASEDIR=samples \ - FILES=`echo distrib/samples/*.tgz ` - -join_user:: distrib_user - @$(MAKE) join \ - BASEDIR=user \ - FILES=`echo distrib/user/*.tgz ` - -join:: - @# needed are BASEDIR and FILES - @if test "x$$BASEDIR" = x; then\ - echo "BASEDIR not specified.";\ - exit -1;\ - fi - @if test "x$$FILES" != x ; then \ - echo "putting all seperate distribution files:";\ - echo "$$FILES";\ - echo "into distrib/$(BASEDIR).tgz";\ - src/gtk/setup/general/jointar $(BASEDIR) $$FILES distrib/$(BASEDIR).tgz; \ - else \ - echo "Nothing to join - deleting..."; \ - echo "This may be the case, if you have not specified FILES."\ - rm -f distrib/$(BASEDIR).tgz; \ - fi - -distrib_base:: - @if test ! -d distrib ; then mkdir distrib; fi; - @if test ! -f system.list ; then \ - echo "dummy" > system.list;\ - fi - @(curr=`pwd`; direc=`basename $$curr`;\ - (cd ..; \ - echo creating distrib/$$direc.tar from the current directory;\ - tar -cf /tmp/$$direc.tar \ - $$direc/COPYING\ - $$direc/INSTALL\ - $$direc/Makefile\ - $$direc/template.mak\ - $$direc/configure\ - $$direc/configure.in\ - $$direc/config.guess\ - $$direc/config.sub\ - $$direc/install-sh\ - $$direc/user/Makefile \ - $$direc/utils/Makefile \ - $$direc/samples/Makefile \ - ;\ - sed "s|^\(.*\)$$|/\1/|g" $$direc/system.list \ - | uniq > /tmp/$$direc.list; \ - echo "/RCS/" >> /tmp/$$direc.list; \ - for each in misc docs wx src setup; do \ - tar -uf /tmp/$$direc.tar \ - `\ - find $$direc/$$each \( -type f -o -type l \) -print \ - | fgrep -vf /tmp/$$direc.list \ - | grep -v "[~#]$$" \ - ` ;\ - done; \ - echo compressing $$direc.tar to $$direc.tgz;\ - gzip -9 -c /tmp/$$direc.tar > $$direc/distrib/$$direc.tgz;\ - rm /tmp/$$direc.tar /tmp/$$direc.list;\ - )\ - ) - -# the following ones are only needed if configure.in has changed -# and needs to be updated... - -config:: configure - -configure:: - @autoconf - @cat configure \ - | sed "s/config.cache/\$$OSTYPE.config.cache/g" \ - | sed "s/config.status/\$$OSTYPE.config.status/g" \ - | sed "s/\*\*--/ --/g" \ - > configure1 - @chmod a+x configure1 - @mv configure1 configure - - diff --git a/TODO.txt b/TODO.txt deleted file mode 100644 index add11baea9..0000000000 --- a/TODO.txt +++ /dev/null @@ -1,52 +0,0 @@ -********************* TODO list for wxWindows 2 ****************************** - -The items are grouped by platform (generic, MSW, GTK...) and inside by -subject. The first 2 columns containg the following codes: - -Priority classification: Amount of work expected: -9 next point release q quick fix -8 next release s small change -7 as soon as possible l a little work -6 soon w some work -5 should be included b big change -4 nice to have m major change -3 consider including ? don't know how to fix -2 maybe not - unclassified -1 probably not -- unclassified - -After the subject the name in brackets indicates the person who is going to do -it. - -=============================== common ======================================== - -4w wxString optimization (VZ) - allocate more memory than needed to avoid reallocation each time when - operator+ or += is used. - -6b stream classes (VZ) - -=============================== generic ====================================== - -7s wxTreeCtrl root item (RR) - root item is not shown currently (unlike in MSW version) - -5w wxImageList - it's not implemented currently, to do (assuming that all images have the - same size - no resizing should be done to simplify the job) - -================================ MSW ========================================== - -7w consistent keyboard interface and focus behaviour (VZ) - currently, the focus is lost all the time (after a MessageBox, for example) - and sometimes TABbing through controls doesn't work - -================================ GTK ========================================== - -9m keyboard interface (RR) - TAB traversal, Alt-letter accelerators for the controls and accelerators - for menu items - TODO. - -3b wxTreeCtrl native implementation? - GTK has a GtkCTree widget which seems to be quite close to the Windows - standard control - what about writing a native wxTreeCtrl based on it? diff --git a/config.guess b/config.guess deleted file mode 100755 index c3c4e799a6..0000000000 --- a/config.guess +++ /dev/null @@ -1,599 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc. -# -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Written by Per Bothner . -# The master version of this file is at the FSF in /home/gd/gnu/lib. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). -# -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). -# - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15 - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - alpha:OSF1:[VX]*:*) - # After 1.2, OSF1 uses "V1.3" for uname -r. - # After 4.x, OSF1 uses "X4.x" for uname -r. - echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'` - exit 0 ;; - alpha:OSF1:*:*) - # 1.2 uses "1.2" for uname -r. - echo alpha-dec-osf${UNAME_RELEASE} - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 - exit 0;; - amiga:NetBSD:*:*) - echo m68k-cbm-netbsd${UNAME_RELEASE} - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - Pyramid*:OSx*:*:*) - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - sun4*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - atari*:NetBSD:*:*) - echo m68k-atari-netbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:NetBSD:*:*) - echo m68k-sun-netbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:NetBSD:*:*) - echo m68k-apple-netbsd${UNAME_RELEASE} - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - mips:*:4*:UMIPS) - echo mips-mips-riscos4sysv - exit 0 ;; - mips:*:5*:RISCos) - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`uname -p` - if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ - -o ${TARGET_BINARY_INTERFACE}x = x ] ; then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i[34]86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - sed 's/^ //' << EOF >dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:4) - if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=4.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[3478]??:HP-UX:*:*) - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/7?? | 9000/8?[679] ) HP_ARCH=hppa1.1 ;; - 9000/8?? ) HP_ARCH=hppa1.0 ;; - esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - sed 's/^ //' << EOF >dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - 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} - exit 0 ;; - CRAY*C90:*:*:*) - echo c90-cray-unicos${UNAME_RELEASE} - exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - hp3[0-9][05]:NetBSD:*:*) - echo m68k-hp-netbsd${UNAME_RELEASE} - exit 0 ;; - i[34]86:BSD/386:*:* | *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:NetBSD:*:*) - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - i*:CYGWIN*:*) - echo i386-unknown-cygwin32 - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin32 - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - *:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. - ld_help_string=`ld --help 2>&1` - if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then - echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 - elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then - echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0 - elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then - echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0 - elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then - echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 - elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then - echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0 - elif test "${UNAME_MACHINE}" = "alpha" ; then - echo alpha-unknown-linux ; exit 0 - else - # Either a pre-BFD a.out linker (linuxoldld) or one that does not give us - # useful --help. Gcc wants to distinguish between linuxoldld and linuxaout. - test ! -d /usr/lib/ldscripts/. \ - && echo "${UNAME_MACHINE}-unknown-linuxoldld" && exit 0 - # Determine whether the default compiler is a.out or elf - cat >dummy.c </dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i[34]86:DYNIX/ptx:4*:*) - echo i386-sequent-sysv4 - exit 0 ;; - i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*) - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} - else - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; - i[34]86:*:3.2:*) - if test -f /usr/options/cb.name; then - 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_MACHINE=i586 - echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-unknown-sysv32 - fi - exit 0 ;; - Intel:Mach:3*:*) - echo i386-unknown-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M680[234]0:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0) - uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3 && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m680[234]0:LynxOS:2.[23]*:*) - echo m68k-lynx-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i[34]86:LynxOS:2.[23]*:*) - echo i386-lynx-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.[23]*:*) - echo sparc-lynx-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.[23]*:*) - echo rs6000-lynx-lynxos${UNAME_RELEASE} - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - R3000:*System_V*:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -cat >dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - printf ("%s-next-nextstep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3"); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-unknown-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0 -rm -f dummy.c dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -#echo '(Unable to guess system type)' 1>&2 - -exit 1 diff --git a/config.sub b/config.sub deleted file mode 100755 index 0432524944..0000000000 --- a/config.sub +++ /dev/null @@ -1,927 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi - -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - linux-gnu*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) - os= - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - tahoe | i860 | m68k | m68000 | m88k | ns32k | arm \ - | arme[lb] | pyramid \ - | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \ - | alpha | we32k | ns16k | clipper | i370 | sh \ - | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \ - | pdp11 | mips64el | mips64orion | mips64orionel \ - | sparc | sparclet | sparclite | sparc64) - basic_machine=$basic_machine-unknown - ;; - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i[3456]86) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \ - | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ - | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ - | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ - | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ - | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* | f301-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-cbm - ;; - amigados) - basic_machine=m68k-cbm - os=-amigados - ;; - amigaunix | amix) - basic_machine=m68k-cbm - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | ymp) - basic_machine=ymp-cray - os=-unicos - ;; - cray2) - basic_machine=cray2-cray - os=-unicos - ;; - [ctj]90-cray) - basic_machine=c90-cray - os=-unicos - ;; - crds | unos) - basic_machine=m68k-crds - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - os=-mvs - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[3456]86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i[3456]86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i[3456]86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i[3456]86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - miniframe) - basic_machine=m68000-convergent - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - np1) - basic_machine=np1-gould - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5) - basic_machine=i586-intel - ;; - pentiumpro | p6) - basic_machine=i686-intel - ;; - pentium-* | p5-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - k5) - # We don't have specific support for AMD's K5 yet, so just call it a Pentium - basic_machine=i586-amd - ;; - nexen) - # We don't have specific support for Nexgen yet, so just call it a Pentium - basic_machine=i586-nexgen - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=rs6000-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - xmp) - basic_machine=xmp-cray - os=-unicos - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - mips) - basic_machine=mips-mips - ;; - romp) - basic_machine=romp-ibm - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sparc) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -unixware* | svr4*) - os=-sysv4 - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -linux-gnu* | -uxpv*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -ctix* | -uts*) - os=-sysv - ;; - -ns2 ) - os=-nextstep2 - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -xenix) - os=-xenix - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-semi) - os=-aout - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-ibm) - os=-aix - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigados - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f301-fujitsu) - os=-uxpv - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -hpux*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -vxsim* | -vxworks*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os diff --git a/configure b/configure deleted file mode 100755 index 792f25a624..0000000000 --- a/configure +++ /dev/null @@ -1,7190 +0,0 @@ -#! /bin/sh - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.12 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_help="$ac_help - --with-x use the X Window System" -ac_help="$ac_help -**--with-gtk use GTK" -ac_help="$ac_help -**--with-qt use Qt" -ac_help="$ac_help -**--with-motif use Motif/Lesstif" -ac_help="$ac_help -**--with-shared create shared libraries" -ac_help="$ac_help -**--with-optimise create optimised code" -ac_help="$ac_help -**--with-debug_flag create code with WXDEBUG define set to 1" -ac_help="$ac_help -**--with-debug_info create code with debuging information" -ac_help="$ac_help -**--with-mem_traing create code with memory tracing" -ac_help="$ac_help -**--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)" -ac_help="$ac_help -**--with-profile create code with profiling information" -ac_help="$ac_help -**--with_apple_ieee use the Apple IEEE codec" -ac_help="$ac_help -**--with-zlib use zlib for LZW comression" -ac_help="$ac_help -**--with-gdk_imlib use Raster's gdk_imlib (Image library)" -ac_help="$ac_help -**--with-libpng use libpng (PNG image format)" -ac_help="$ac_help -**--with-odbc use iODBC and wxODBC classes" -ac_help="$ac_help -**--with-opengl use OpenGL (or Mesa)" -ac_help="$ac_help -**--with-gauge use wxGauge class" -ac_help="$ac_help -**--with-scrollbar use wxScrollbar class" -ac_help="$ac_help -**--with-listctrl use wxListCtrl class" -ac_help="$ac_help -**--with-treectrl use wxTreeCtrl class" -ac_help="$ac_help -**--with-grid use wxGrid class" -ac_help="$ac_help -**--with-tab_dialog use wxTabDia class" -ac_help="$ac_help -**--with-notebook use wxNotebook class" -ac_help="$ac_help -**--with-timedate use wxTime and wxDate classes" -ac_help="$ac_help -**--with-fraction use wxFraction class" -ac_help="$ac_help -**--with-log use logging system" -ac_help="$ac_help -**--with-intl use internationalization system" -ac_help="$ac_help -**--with-config use wxConfig class" -ac_help="$ac_help -**--with-streams use wxStream etc classes" -ac_help="$ac_help -**--with-serial use class serialization" -ac_help="$ac_help -**--with-file use wxFile class" -ac_help="$ac_help -**--with-textfile use wxTextFile class" -ac_help="$ac_help -**--with-afmfonts use Adobe Font Metric Font table" -ac_help="$ac_help -**--with-PS-normalized use normalized PS fonts" -ac_help="$ac_help -**--with-postscript use wxPostscriptDC device context" -ac_help="$ac_help -**--with-wxresources use wxWindows's resources" -ac_help="$ac_help -**--with-prologio use Prolog IO library" -ac_help="$ac_help -**--with-rpc use Prolog's remote procedure calls" -ac_help="$ac_help -**--with-ipc use interprocess communication (wxSocket etc.)" -ac_help="$ac_help -**--with-resources use X resources for saving information" -ac_help="$ac_help -**--with-clipboard use wxClipboard classes" -ac_help="$ac_help -**--with-dnd use Drag'n'Drop classes" -ac_help="$ac_help -**--with-constraints use layout-constraints system" -ac_help="$ac_help -**--with-mdi use multiple document interface architecture" -ac_help="$ac_help -**--with-docview use document view architecture" -ac_help="$ac_help -**--with-printarch use printing architecture" -ac_help="$ac_help -**--with-gtk-prefix=PFX Prefix where GTK is installed" -ac_help="$ac_help -**--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed" -ac_help="$ac_help -**--without-threads Force disabling threads " - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 - -ac_prev= -for ac_option -do - - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case "$ac_option" in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "enable_${ac_feature}='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.12" - exit 0 ;; - - -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; - - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } - ;; - - *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; - esac -done - -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=configure.in - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - - - -OS="${OSTYPE}" - -if test "x$OS" = "x"; then - UNAME=`uname` - { echo "configure: error: "The system variable OS has not been set" - "please set is everytime befor compiling on this system" - "A good example for this system would be:" - "setenv OSTYPE $UNAME for csh as a SHELL" - "EXPORT OSTYPE=$UNAME for sh as SHELL" - "please set this and restart again." - " 1>&2; exit 1; } -fi - - -WXBASEDIR=`pwd` - - - -SEARCH_INCLUDE="\ - /usr/Motif1.2/include \ - \ - /usr/X11R6/include \ - /usr/X11R5/include \ - /usr/X11R4/include \ - \ - /usr/include/X11R6 \ - /usr/include/X11R5 \ - /usr/include/X11R4 \ - \ - /usr/local/X11R6/include \ - /usr/local/X11R5/include \ - /usr/local/X11R4/include \ - \ - /usr/local/include/X11R6 \ - /usr/local/include/X11R5 \ - /usr/local/include/X11R4 \ - \ - /usr/X11/include \ - /usr/include/X11 \ - /usr/local/X11/include \ - /usr/local/include/X11 \ - \ - /usr/X386/include \ - /usr/x386/include \ - /usr/XFree86/include/X11 \ - \ - /usr/include \ - /usr/local/include \ - /usr/unsupported/include \ - /usr/athena/include \ - /usr/local/x11r5/include \ - /usr/lpp/Xamples/include \ - \ - /usr/local/include/gtk \ - /usr/X11R6/include/Xm \ - /usr/X11/include/Xm \ - /usr/include/qt \ - \ - /usr/openwin/include \ - /usr/openwin/share/include \ - " - -SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \ - " - - - -# 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:694: 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 - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -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:723: 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 - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - ac_prog_rejected=no - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# -gt 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:771: 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. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -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:805: 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:810: 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 - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes - 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:834: 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 - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - elif test $ac_cv_prog_cc_g = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-O2" - fi -else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" -fi - - -CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'` - -if test "x$CC" != xcc; then - echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6 -echo "configure:866: checking whether $CC and cc understand -c and -o together" >&5 -else - echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6 -echo "configure:869: checking whether cc understands -c and -o together" >&5 -fi -set dummy $CC; ac_cc="`echo $2 | - sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" -if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'foo(){}' > conftest.c -# Make sure it works both with $CC and with simple cc. -# We do the test twice because some compilers refuse to overwrite an -# existing .o file with -o, though they will create one. -ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5' -if { (eval echo configure:881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && - test -f conftest.o && { (eval echo configure:882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; -then - eval ac_cv_prog_cc_${ac_cc}_c_o=yes - if test "x$CC" != xcc; then - # Test first that cc exists at all. - if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then - ac_try='cc -c conftest.c -o conftest.o 1>&5' - if { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && - test -f conftest.o && { (eval echo configure:890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; - then - # cc works too. - : - else - # cc exists but doesn't like -o. - eval ac_cv_prog_cc_${ac_cc}_c_o=no - fi - fi - fi -else - eval ac_cv_prog_cc_${ac_cc}_c_o=no -fi -rm -f conftest* - -fi -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 - cat >> confdefs.h <<\EOF -#define NO_MINUS_C_MINUS_O 1 -EOF - -fi - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:917: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # 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:938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - 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:955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -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:979: 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 -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - - - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext < -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -fi -rm -f conftest* - - fi -fi - -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi - - - - -for ac_prog in $CCC c++ g++ gcc CC cxx cc++ -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:1032: 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 - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CXX="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CXX="$ac_cv_prog_CXX" -if test -n "$CXX"; then - echo "$ac_t""$CXX" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$CXX" && break -done -test -n "$CXX" || CXX="gcc" - - -echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1063: 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. -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cxx_cross - -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - ac_cv_prog_cxx_cross=no - else - ac_cv_prog_cxx_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cxx_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 -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:1103: 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:1108: 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 - cat > conftest.C <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gxx=yes -else - ac_cv_prog_gxx=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gxx" 1>&6 - -if test $ac_cv_prog_gxx = yes; then - GXX=yes - 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:1132: 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 - echo 'void f(){}' > conftest.cc -if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then - ac_cv_prog_cxx_g=yes -else - ac_cv_prog_cxx_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - elif test $ac_cv_prog_cxx_g = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-O2" - fi -else - GXX= - test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" -fi - -echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 -echo "configure:1160: 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 -else - ac_ext=C -# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -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:1178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CXXCPP=/lib/cpp -fi -rm -f conftest* - ac_cv_prog_CXXCPP="$CXXCPP" -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross -fi -fi -CXXCPP="$ac_cv_prog_CXXCPP" -echo "$ac_t""$CXXCPP" 1>&6 - - -CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'` - - - -# 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:1210: 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 - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 -else - echo "$ac_t""no" 1>&6 -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:1240: 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 - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_AR="ar" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" -fi -fi -AR="$ac_cv_prog_AR" -if test -n "$AR"; then - echo "$ac_t""$AR" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# 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:1297: 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 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - for ac_prog in ginstall installbsd scoinst install; do - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - # OSF/1 installbsd also uses dspmsg, but is usable. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL="$ac_install_sh" - fi -fi -echo "$ac_t""$INSTALL" 1>&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1348: 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 - rm -f conftestdata -if ln -s X conftestdata 2>/dev/null -then - rm -f conftestdata - ac_cv_prog_LN_S="ln -s" -else - ac_cv_prog_LN_S=ln -fi -fi -LN_S="$ac_cv_prog_LN_S" -if test "$ac_cv_prog_LN_S" = "ln -s"; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -for ac_prog in mawk gawk nawk awk -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:1374: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_AWK="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -AWK="$ac_cv_prog_AWK" -if test -n "$AWK"; then - echo "$ac_t""$AWK" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$AWK" && break -done - - -echo $ac_n "checking "make for VPATH support"""... $ac_c" 1>&6 -echo "configure:1404: checking "make for VPATH support"" >&5 -cat - << EOF > confMake -check : file - cp \$? \$@ - cp \$? final_file -EOF - -if test ! -d sub ; then - mkdir sub -fi -echo dummy > sub/file -${MAKE-make} -f confMake VPATH=sub 2> config.log > /dev/null -RESULT=$? -rm -f sub/file check final_file config.log confMake -rmdir sub -if test "$RESULT" = 0; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 - { echo "configure: error: You need a make-utility that is able to use the variable -VPATH correctly. -If your version of make does not support VPATH correctly" 1>&2; exit 1; } -fi - - -# If we find X, set shell vars x_includes and x_libraries to the -# paths, otherwise set no_x=yes. -# 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:1434: checking for X" >&5 - -# Check whether --with-x or --without-x was given. -if test "${with_x+set}" = set; then - withval="$with_x" - : -fi - -# $have_x is `yes', `no', `disabled', or empty when we do not yet know. -if test "x$with_x" = xno; then - # The user explicitly disabled X. - have_x=disabled -else - if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then - # Both variables are already set. - have_x=yes - else -if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # One or both of the vars are not set, and there is no cached value. -ac_x_includes=NO ac_x_libraries=NO -rm -fr conftestdir -if mkdir conftestdir; then - cd conftestdir - # Make sure to not put "make" in the Imakefile rules, since we grep it out. - cat > Imakefile <<'EOF' -acfindx: - @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' -EOF - if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then - # GNU make sometimes prints "make[1]: Entering...", which would confuse us. - eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` - # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. - for ac_extension in a so sl; do - if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && - test -f $ac_im_libdir/libX11.$ac_extension; then - ac_im_usrlibdir=$ac_im_libdir; break - fi - done - # Screen out bogus values from the imake configuration. They are - # bogus both because they are the default anyway, and because - # using them would break gcc on systems where it needs fixed includes. - case "$ac_im_incroot" in - /usr/include) ;; - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; - esac - case "$ac_im_usrlibdir" in - /usr/lib | /lib) ;; - *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; - esac - fi - cd .. - rm -fr conftestdir -fi - -if test "$ac_x_includes" = NO; then - # Guess where to find include files, by looking for this one X11 .h file. - test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h - - # 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:1501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - rm -rf conftest* - # We can compile using X headers with no special include directory. -ac_x_includes= -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - # Look for the header file in a standard set of common directories. -# Check X11 before X11Rn because it is often a symlink to the current release. - for ac_dir in \ - /usr/X11/include \ - /usr/X11R6/include \ - /usr/X11R5/include \ - /usr/X11R4/include \ - \ - /usr/include/X11 \ - /usr/include/X11R6 \ - /usr/include/X11R5 \ - /usr/include/X11R4 \ - \ - /usr/local/X11/include \ - /usr/local/X11R6/include \ - /usr/local/X11R5/include \ - /usr/local/X11R4/include \ - \ - /usr/local/include/X11 \ - /usr/local/include/X11R6 \ - /usr/local/include/X11R5 \ - /usr/local/include/X11R4 \ - \ - /usr/X386/include \ - /usr/x386/include \ - /usr/XFree86/include/X11 \ - \ - /usr/include \ - /usr/local/include \ - /usr/unsupported/include \ - /usr/athena/include \ - /usr/local/x11r5/include \ - /usr/lpp/Xamples/include \ - \ - /usr/openwin/include \ - /usr/openwin/share/include \ - ; \ - do - if test -r "$ac_dir/$x_direct_test_include"; then - ac_x_includes=$ac_dir - break - fi - done -fi -rm -f conftest* -fi # $ac_x_includes = NO - -if test "$ac_x_libraries" = NO; then - # Check for the libraries. - - test -z "$x_direct_test_library" && x_direct_test_library=Xt - test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc - - # See if we find them without any special options. - # Don't add to $LIBS permanently. - ac_save_LIBS="$LIBS" - LIBS="-l$x_direct_test_library $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - LIBS="$ac_save_LIBS" -# We can link X programs with no special library path. -ac_x_libraries= -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - LIBS="$ac_save_LIBS" -# First see if replacing the include by lib works. -# Check X11 before X11Rn because it is often a symlink to the current release. -for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ - /usr/X11/lib \ - /usr/X11R6/lib \ - /usr/X11R5/lib \ - /usr/X11R4/lib \ - \ - /usr/lib/X11 \ - /usr/lib/X11R6 \ - /usr/lib/X11R5 \ - /usr/lib/X11R4 \ - \ - /usr/local/X11/lib \ - /usr/local/X11R6/lib \ - /usr/local/X11R5/lib \ - /usr/local/X11R4/lib \ - \ - /usr/local/lib/X11 \ - /usr/local/lib/X11R6 \ - /usr/local/lib/X11R5 \ - /usr/local/lib/X11R4 \ - \ - /usr/X386/lib \ - /usr/x386/lib \ - /usr/XFree86/lib/X11 \ - \ - /usr/lib \ - /usr/local/lib \ - /usr/unsupported/lib \ - /usr/athena/lib \ - /usr/local/x11r5/lib \ - /usr/lpp/Xamples/lib \ - /lib/usr/lib/X11 \ - \ - /usr/openwin/lib \ - /usr/openwin/share/lib \ - ; \ -do - for ac_extension in a so sl; do - if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then - ac_x_libraries=$ac_dir - break 2 - fi - done -done -fi -rm -f conftest* -fi # $ac_x_libraries = NO - -if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then - # Didn't find X anywhere. Cache the known absence of X. - ac_cv_have_x="have_x=no" -else - # Record where we found X for the cache. - ac_cv_have_x="have_x=yes \ - ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" -fi -fi - fi - eval "$ac_cv_have_x" -fi # $with_x != no - -if test "$have_x" != yes; then - echo "$ac_t""$have_x" 1>&6 - no_x=yes -else - # If each of the values was on the command line, it overrides each guess. - test "x$x_includes" = xNONE && x_includes=$ac_x_includes - test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries - # Update the cache value to reflect the command line values. - ac_cv_have_x="have_x=yes \ - ac_x_includes=$x_includes ac_x_libraries=$x_libraries" - echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 -fi - -if test "$no_x" = yes; then - # Not all programs may use this symbol, but it does not hurt to define it. - cat >> confdefs.h <<\EOF -#define X_DISPLAY_MISSING 1 -EOF - - X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= -else - if test -n "$x_includes"; then - X_CFLAGS="$X_CFLAGS -I$x_includes" - fi - - # It would also be nice to do this for all -L options, not just this one. - if test -n "$x_libraries"; then - X_LIBS="$X_LIBS -L$x_libraries" - # For Solaris; some versions of Sun CC require a space after -R and - # others require no space. Words are not sufficient . . . . - 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:1683: 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; then - rm -rf conftest* - ac_R_nospace=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_R_nospace=no -fi -rm -f conftest* - if test $ac_R_nospace = yes; then - echo "$ac_t""no" 1>&6 - X_LIBS="$X_LIBS -R$x_libraries" - else - LIBS="$ac_xsave_LIBS -R $x_libraries" - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - ac_R_space=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_R_space=no -fi -rm -f conftest* - if test $ac_R_space = yes; then - echo "$ac_t""yes" 1>&6 - X_LIBS="$X_LIBS -R $x_libraries" - else - echo "$ac_t""neither works" 1>&6 - fi - fi - LIBS="$ac_xsave_LIBS" - esac - fi - - # Check for system-dependent libraries X programs must link with. - # Do this before checking for the system-independent R6 libraries - # (-lICE), since we may need -lsocket or whatever for X linking. - - if test "$ISC" = yes; then - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" - else - # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X - # 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:1748: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-ldnet $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" -else - echo "$ac_t""no" 1>&6 -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:1789: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-ldnet_stub $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" -else - echo "$ac_t""no" 1>&6 -fi - - fi - - # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, - # to get the SysV transport functions. - # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) - # needs -lnsl. - # 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:1837: 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 < -/* 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 gethostbyname(); - -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_gethostbyname) || defined (__stub___gethostbyname) -choke me -#else -gethostbyname(); -#endif - -; return 0; } -EOF -if { (eval echo configure:1865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_func_gethostbyname=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_gethostbyname=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -fi - - if test $ac_cv_func_gethostbyname = no; then - echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:1886: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-lnsl $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" -else - echo "$ac_t""no" 1>&6 -fi - - fi - - # lieder@skyler.mavd.honeywell.com says without -lsocket, - # socket/setsockopt and other routines are undefined under SCO ODT - # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary - # on later versions), says simon@lia.di.epfl.ch: it contains - # gethostby* variants that don't use the nameserver (or something). - # -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:1935: 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 < -/* 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 connect(); - -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_connect) || defined (__stub___connect) -choke me -#else -connect(); -#endif - -; return 0; } -EOF -if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_func_connect=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_connect=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -fi - - if test $ac_cv_func_connect = no; then - echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:1984: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-lsocket $X_EXTRA_LIBS $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" -else - echo "$ac_t""no" 1>&6 -fi - - 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:2027: 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 < -/* 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 remove(); - -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_remove) || defined (__stub___remove) -choke me -#else -remove(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_func_remove=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_remove=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -fi - - if test $ac_cv_func_remove = no; then - echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:2076: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-lposix $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" -else - echo "$ac_t""no" 1>&6 -fi - - fi - - # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. - echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:2119: 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 < -/* 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 shmat(); - -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_shmat) || defined (__stub___shmat) -choke me -#else -shmat(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_func_shmat=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_shmat=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -fi - - if test $ac_cv_func_shmat = no; then - echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:2168: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-lipc $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" -else - echo "$ac_t""no" 1>&6 -fi - - fi - fi - - # Check for libraries that X11R6 Xt/Xaw programs need. - ac_save_LDFLAGS="$LDFLAGS" - test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" - # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to - # check for ICE first), but we must link in the order -lSM -lICE or - # we get undefined symbols. So assume we have SM if we have ICE. - # These have to be linked with before -lX11, unlike the other - # 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:2220: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-lICE $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" -else - echo "$ac_t""no" 1>&6 -fi - - LDFLAGS="$ac_save_LDFLAGS" - -fi - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:2269: checking for $ac_hdr that defines DIR" >&5 -if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include <$ac_hdr> -int main() { -DIR *dirp = 0; -; return 0; } -EOF -if { (eval echo configure:2282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then -echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:2307: checking for opendir in -ldir" >&5 -ac_lib_var=`echo dir'_'opendir | 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="-ldir $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -ldir" -else - echo "$ac_t""no" 1>&6 -fi - -else -echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:2348: checking for opendir in -lx" >&5 -ac_lib_var=`echo x'_'opendir | 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="-lx $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lx" -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2390: 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 -#include -#include -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - rm -rf conftest* - ac_cv_header_stdc=yes -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_stdc=no -fi -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 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -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 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then - : -else - cat > conftest.$ac_ext < -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } - -EOF -if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 -EOF - -fi - -echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:2494: checking for sys/wait.h that is POSIX.1 compatible" >&5 -if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#ifndef WEXITSTATUS -#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) -#endif -#ifndef WIFEXITED -#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) -#endif -int main() { -int s; -wait (&s); -s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; -; return 0; } -EOF -if { (eval echo configure:2515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_header_sys_wait_h=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_sys_wait_h=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 -if test $ac_cv_header_sys_wait_h = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_SYS_WAIT_H 1 -EOF - -fi - -ac_safe=`echo "fcntl.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6 -echo "configure:2537: checking for fcntl.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:2547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - : -else - echo "$ac_t""no" 1>&6 -fi - -ac_safe=`echo "limits.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for limits.h""... $ac_c" 1>&6 -echo "configure:2570: checking for limits.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:2580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - : -else - echo "$ac_t""no" 1>&6 -fi - -ac_safe=`echo "sys/file.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for sys/file.h""... $ac_c" 1>&6 -echo "configure:2603: checking for sys/file.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:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - : -else - echo "$ac_t""no" 1>&6 -fi - -ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6 -echo "configure:2636: checking for sys/time.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:2646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - : -else - echo "$ac_t""no" 1>&6 -fi - -ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for unistd.h""... $ac_c" 1>&6 -echo "configure:2669: checking for unistd.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:2679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - : -else - echo "$ac_t""no" 1>&6 -fi - -ac_safe=`echo "linux/joystick.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for linux/joystick.h""... $ac_c" 1>&6 -echo "configure:2702: checking for linux/joystick.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:2712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - : -else - echo "$ac_t""no" 1>&6 -fi - -GTK_JOYSTICK="" -if test "$ac_cv_header_linux_joystick_h" = "yes"; then - GTK_JOYSTICK="gtk/joystick.cpp" -fi - - -echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2740: 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 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "uid_t" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_uid_t=yes -else - rm -rf conftest* - ac_cv_type_uid_t=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_type_uid_t" 1>&6 -if test $ac_cv_type_uid_t = no; then - cat >> confdefs.h <<\EOF -#define uid_t int -EOF - - cat >> confdefs.h <<\EOF -#define gid_t int -EOF - -fi - -echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 -echo "configure:2774: checking type of array argument to getgroups" >&5 -if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_type_getgroups=cross -else - cat > conftest.$ac_ext < -#define NGID 256 -#undef MAX -#define MAX(x, y) ((x) > (y) ? (x) : (y)) -main() -{ - gid_t gidset[NGID]; - int i, n; - union { gid_t gval; long lval; } val; - - val.lval = -1; - for (i = 0; i < NGID; i++) - gidset[i] = val.gval; - n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, - gidset); - /* Exit non-zero if getgroups seems to require an array of ints. This - happens when gid_t is short but getgroups modifies an array of ints. */ - exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0); -} - -EOF -if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_type_getgroups=gid_t -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_type_getgroups=int -fi -rm -fr conftest* -fi - -if test $ac_cv_type_getgroups = cross; then - cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_getgroups=gid_t -else - rm -rf conftest* - ac_cv_type_getgroups=int -fi -rm -f conftest* - -fi -fi - -echo "$ac_t""$ac_cv_type_getgroups" 1>&6 -cat >> confdefs.h <&6 -echo "configure:2845: 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 -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_mode_t=yes -else - rm -rf conftest* - ac_cv_type_mode_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_mode_t" 1>&6 -if test $ac_cv_type_mode_t = no; then - cat >> confdefs.h <<\EOF -#define mode_t int -EOF - -fi - -echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2878: 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 -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_off_t=yes -else - rm -rf conftest* - ac_cv_type_off_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_off_t" 1>&6 -if test $ac_cv_type_off_t = no; then - cat >> confdefs.h <<\EOF -#define off_t long -EOF - -fi - -echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2911: 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 -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_pid_t=yes -else - rm -rf conftest* - ac_cv_type_pid_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_pid_t" 1>&6 -if test $ac_cv_type_pid_t = no; then - cat >> confdefs.h <<\EOF -#define pid_t int -EOF - -fi - -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2944: checking return type of signal handlers" >&5 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#ifdef signal -#undef signal -#endif -#ifdef __cplusplus -extern "C" void (*signal (int, void (*)(int)))(int); -#else -void (*signal ()) (); -#endif - -int main() { -int i; -; return 0; } -EOF -if { (eval echo configure:2966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_type_signal=void -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_type_signal=int -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_type_signal" 1>&6 -cat >> confdefs.h <&6 -echo "configure:2985: 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 -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_size_t=yes -else - rm -rf conftest* - ac_cv_type_size_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF -#define size_t unsigned -EOF - -fi - -echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:3018: 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 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "uid_t" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_uid_t=yes -else - rm -rf conftest* - ac_cv_type_uid_t=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_type_uid_t" 1>&6 -if test $ac_cv_type_uid_t = no; then - cat >> confdefs.h <<\EOF -#define uid_t int -EOF - - cat >> confdefs.h <<\EOF -#define gid_t int -EOF - -fi - - - -echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 -echo "configure:3054: checking whether stat file-mode macros are broken" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include - -#if defined(S_ISBLK) && defined(S_IFDIR) -# if S_ISBLK (S_IFDIR) -You lose. -# endif -#endif - -#if defined(S_ISBLK) && defined(S_IFCHR) -# if S_ISBLK (S_IFCHR) -You lose. -# endif -#endif - -#if defined(S_ISLNK) && defined(S_IFREG) -# if S_ISLNK (S_IFREG) -You lose. -# endif -#endif - -#if defined(S_ISSOCK) && defined(S_IFREG) -# if S_ISSOCK (S_IFREG) -You lose. -# endif -#endif - -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "You lose" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_header_stat_broken=yes -else - rm -rf conftest* - ac_cv_header_stat_broken=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_header_stat_broken" 1>&6 -if test $ac_cv_header_stat_broken = yes; then - cat >> confdefs.h <<\EOF -#define STAT_MACROS_BROKEN 1 -EOF - -fi - -echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:3110: checking whether time.h and sys/time.h may both be included" >&5 -if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#include -int main() { -struct tm *tp; -; return 0; } -EOF -if { (eval echo configure:3124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_header_time=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_time=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_time" 1>&6 -if test $ac_cv_header_time = yes; then - cat >> confdefs.h <<\EOF -#define TIME_WITH_SYS_TIME 1 -EOF - -fi - -echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 -echo "configure:3145: checking for st_blksize in struct stat" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -int main() { -struct stat s; s.st_blksize; -; return 0; } -EOF -if { (eval echo configure:3158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_st_blksize=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_st_blksize=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6 -if test $ac_cv_struct_st_blksize = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ST_BLKSIZE 1 -EOF - -fi - -echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 -echo "configure:3179: checking for st_blocks in struct stat" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -int main() { -struct stat s; s.st_blocks; -; return 0; } -EOF -if { (eval echo configure:3192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_st_blocks=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_st_blocks=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6 -if test $ac_cv_struct_st_blocks = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ST_BLOCKS 1 -EOF - -else - LIBOBJS="$LIBOBJS fileblocks.o" -fi - -echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 -echo "configure:3215: checking for st_rdev in struct stat" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -int main() { -struct stat s; s.st_rdev; -; return 0; } -EOF -if { (eval echo configure:3228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_st_rdev=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_st_rdev=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6 -if test $ac_cv_struct_st_rdev = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ST_RDEV 1 -EOF - -fi - -echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:3249: checking whether struct tm is in sys/time.h or time.h" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -int main() { -struct tm *tp; tp->tm_sec; -; return 0; } -EOF -if { (eval echo configure:3262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_tm=time.h -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_tm=sys/time.h -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_tm" 1>&6 -if test $ac_cv_struct_tm = sys/time.h; then - cat >> confdefs.h <<\EOF -#define TM_IN_SYS_TIME 1 -EOF - -fi - -echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 -echo "configure:3283: checking for tm_zone in struct tm" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include <$ac_cv_struct_tm> -int main() { -struct tm tm; tm.tm_zone; -; return 0; } -EOF -if { (eval echo configure:3296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_tm_zone=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_tm_zone=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6 -if test "$ac_cv_struct_tm_zone" = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_TM_ZONE 1 -EOF - -else - echo $ac_n "checking for tzname""... $ac_c" 1>&6 -echo "configure:3316: checking for tzname" >&5 -if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#ifndef tzname /* For SGI. */ -extern char *tzname[]; /* RS6000 and others reject char **tzname. */ -#endif -int main() { -atoi(*tzname); -; return 0; } -EOF -if { (eval echo configure:3331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - ac_cv_var_tzname=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_var_tzname=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_var_tzname" 1>&6 - if test $ac_cv_var_tzname = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_TZNAME 1 -EOF - - fi -fi - - - -echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3355: 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 <j = 5; -} -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; -} - -; return 0; } -EOF -if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_const=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_c_const=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_c_const" 1>&6 -if test $ac_cv_c_const = no; then - cat >> confdefs.h <<\EOF -#define const -EOF - -fi - -echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:3430: 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 - rm -rf conftest* - ac_cv_c_inline=$ac_kw; break -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* -done - -fi - -echo "$ac_t""$ac_cv_c_inline" 1>&6 -case "$ac_cv_c_inline" in - inline | yes) ;; - no) cat >> confdefs.h <<\EOF -#define inline -EOF - ;; - *) cat >> confdefs.h <&6 -echo "configure:3470: checking whether char is unsigned" >&5 -if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$GCC" = yes; then - # GCC predefines this symbol on systems where it applies. -cat > conftest.$ac_ext <&5 | - egrep "yes" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_c_char_unsigned=yes -else - rm -rf conftest* - ac_cv_c_char_unsigned=no -fi -rm -f conftest* - -else -if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_c_char_unsigned=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_c_char_unsigned=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6 -if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then - cat >> confdefs.h <<\EOF -#define __CHAR_UNSIGNED__ 1 -EOF - -fi - -echo $ac_n "checking for long double""... $ac_c" 1>&6 -echo "configure:3533: checking for long double" >&5 -if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$GCC" = yes; then - ac_cv_c_long_double=yes -else -if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_c_long_double=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_c_long_double=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_c_long_double" 1>&6 -if test $ac_cv_c_long_double = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_LONG_DOUBLE 1 -EOF - -fi - - -echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:3577: 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 -int main() { - -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN - bogus endian macros -#endif -; return 0; } -EOF -if { (eval echo configure:3595: \"$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 -int main() { - -#if BYTE_ORDER != BIG_ENDIAN - not big endian -#endif -; return 0; } -EOF -if { (eval echo configure:3610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_bigendian=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_c_bigendian=no -fi -rm -f conftest* -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* -if test $ac_cv_c_bigendian = unknown; then -if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_c_bigendian=no -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_c_bigendian=yes -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_c_bigendian" 1>&6 -if test $ac_cv_c_bigendian = yes; then - cat >> confdefs.h <<\EOF -#define WORDS_BIGENDIAN 1 -EOF - -fi - - -echo $ac_n "checking size of int *""... $ac_c" 1>&6 -echo "configure:3668: checking size of int *" >&5 -if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -else - cat > conftest.$ac_ext < -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(int *)); - exit(0); -} -EOF -if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_int_p=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_int_p=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6 -cat >> confdefs.h <&6 -echo "configure:3707: 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 - if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -else - cat > conftest.$ac_ext < -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(int)); - exit(0); -} -EOF -if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_int=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_int=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_int" 1>&6 -cat >> confdefs.h <&6 -echo "configure:3746: 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 - if test "$cross_compiling" = yes; then - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } -else - cat > conftest.$ac_ext < -main() -{ - FILE *f=fopen("conftestval", "w"); - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(long)); - exit(0); -} -EOF -if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - ac_cv_sizeof_long=`cat conftestval` -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_sizeof_long=0 -fi -rm -fr conftest* -fi - -fi -echo "$ac_t""$ac_cv_sizeof_long" 1>&6 -cat >> confdefs.h <&6 -echo "configure:3789: checking for long file names" >&5 -if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_cv_sys_long_file_names=yes -# Test for long file names in all the places we know might matter: -# . the current directory, where building will happen -# $prefix/lib where we will be installing things -# $exec_prefix/lib likewise -# eval it to expand exec_prefix. -# $TMPDIR if set, where it might want to write temporary files -# if $TMPDIR is not set: -# /tmp where it might want to write temporary files -# /var/tmp likewise -# /usr/tmp likewise -if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then - ac_tmpdirs="$TMPDIR" -else - ac_tmpdirs='/tmp /var/tmp /usr/tmp' -fi -for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do - test -d $ac_dir || continue - test -w $ac_dir || continue # It is less confusing to not echo anything here. - (echo 1 > $ac_dir/conftest9012345) 2>/dev/null - (echo 2 > $ac_dir/conftest9012346) 2>/dev/null - val=`cat $ac_dir/conftest9012345 2>/dev/null` - if test ! -f $ac_dir/conftest9012345 || test "$val" != 1; then - ac_cv_sys_long_file_names=no - rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null - break - fi - rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null -done -fi - -echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6 -if test $ac_cv_sys_long_file_names = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_LONG_FILE_NAMES 1 -EOF - -fi - - - - -for ac_prog in 'bison -y' byacc -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:3840: 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 - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_YACC="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -YACC="$ac_cv_prog_YACC" -if test -n "$YACC"; then - echo "$ac_t""$YACC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$YACC" && break -done -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:3873: 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 - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_LEX="flex" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" -fi -fi -LEX="$ac_cv_prog_LEX" -if test -n "$LEX"; then - echo "$ac_t""$LEX" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$LEXLIB" -then - case "$LEX" in - flex*) ac_lib=fl ;; - *) ac_lib=l ;; - esac - echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:3906: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-l$ac_lib $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - LEXLIB="-l$ac_lib" -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:3948: checking lex output file root" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # The minimal lex program is just a single line: %%. But some broken lexes -# (Solaris, I think it was) want two %% lines, so accommodate them. -echo '%% -%%' | $LEX -if test -f lex.yy.c; then - ac_cv_prog_lex_root=lex.yy -elif test -f lexyy.c; then - ac_cv_prog_lex_root=lexyy -else - { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } -fi -fi - -echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:3969: checking whether yytext is a pointer" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # POSIX says lex can declare yytext either as a pointer or an array; the -# default is implementation-dependent. Figure out which it is, since -# not all implementations provide the %pointer and %array declarations. -ac_cv_prog_lex_yytext_pointer=no -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c -ac_save_LIBS="$LIBS" -LIBS="$LIBS $LEXLIB" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - ac_cv_prog_lex_yytext_pointer=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* -LIBS="$ac_save_LIBS" -rm -f "${LEX_OUTPUT_ROOT}.c" - -fi - -echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6 -if test $ac_cv_prog_lex_yytext_pointer = yes; then - cat >> confdefs.h <<\EOF -#define YYTEXT_POINTER 1 -EOF - -fi - - - -CHECK_INCLUDE="-I/usr/include $X_CFLAGS" -CHECK_LIB="-L/lib -L/usr/lib $X_LIBS" - - - -# Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -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:4022: checking host system type" >&5 - -host_alias=$host -case "$host_alias" in -NONE) - case $nonopt in - NONE) - if host_alias=`$ac_config_guess`; then : - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } - fi ;; - *) host_alias=$nonopt ;; - esac ;; -esac - -host=`$ac_config_sub $host_alias` -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$host" 1>&6 - -canonical=$host -configuration=$host_alias - - -USE_UNIX=1 - - -USE_LINUX= -USE_SGI= -USE_HPUX= -USE_SYSV= -USE_SVR4= -USE_AIX= -USE_SUN= -USE_SOLARIS= -USE_SUNOS= -USE_ALPHA= -USE_OSF= -USE_BSD= -USE_FREEBSD= -USE_VMS= -USE_ULTRIX= -USE_DATA_GENERAL= - -case "${canonical}" in - *-hp-hpux* ) - USE_HPUX=1 - cat >> confdefs.h <<\EOF -#define __HPUX__ 1 -EOF - - ;; - *-*-linux* ) - USE_LINUX=1 - cat >> confdefs.h <<\EOF -#define __LINUX__ 1 -EOF - - ;; - *-*-irix5* | *-*-irix6* ) - USE_SGI=1 - USE_SVR4=1 - cat >> confdefs.h <<\EOF -#define __SGI__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SVR4__ 1 -EOF - - ;; - *-*-solaris2* ) - USE_SUN=1 - USE_SOLARIS=1 - USE_SVR4=1 - cat >> confdefs.h <<\EOF -#define __SUN__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SOLARIS__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SVR4__ 1 -EOF - - ;; - *-*-sunos4* ) - USE_SUN=1 - USE_SUNOS=1 - USE_BSD=1 - cat >> confdefs.h <<\EOF -#define __SUN__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SUNOS__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __BSD__ 1 -EOF - - ;; - *-*-freebsd* | *-*-netbsd*) - USE_BSD=1 - USE_FREEBSD=1 - cat >> confdefs.h <<\EOF -#define __FREEBSD__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __BSD__ 1 -EOF - - ;; - *-*-osf* ) - USE_ALPHA=1 - USE_OSF=1 - cat >> confdefs.h <<\EOF -#define __ALPHA__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __OSF__ 1 -EOF - - ;; - *-*-dgux5* ) - USE_ALPHA=1 - USE_SVR4=1 - cat >> confdefs.h <<\EOF -#define __ALPHA__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SVR4__ 1 -EOF - - ;; - *-*-sysv5* ) - USE_SYSV=1 - USE_SVR4=1 - cat >> confdefs.h <<\EOF -#define __SYSV__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SVR4__ 1 -EOF - - ;; - *-*-aix* ) - USE_AIX=1 - USE_SYSV=1 - USE_SVR4=1 - cat >> confdefs.h <<\EOF -#define __AIX__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SYSV__ 1 -EOF - - cat >> confdefs.h <<\EOF -#define __SVR4__ 1 -EOF - - ;; - *) - { echo "configure: error: I don't know your system type." 1>&2; exit 1; } -esac - - - -rm -f ${OSTYPE}.system.cache.tmp -touch ${OSTYPE}.system.cache.tmp -touch ${OSTYPE}.system.cache - - -DEFAULT_USE_GTK=1 -DEFAULT_USE_QT=0 -DEFAULT_USE_MOTIF=0 - -DEFAULT_USE_SHARED=1 -DEFAULT_USE_OPTIMISE=1 -DEFAULT_USE_PROFILE=0 -DEFAULT_USE_DEBUG_FLAG=0 -DEFAULT_USE_DEBUG_INFO=0 -DEFAULT_USE_MEM_TRACING=0 -DEFAULT_USE_DMALLOC=0 -DEFAULT_USE_APPLE_IEEE=1 -DEFAULT_USE_IOSTREAMH=1 - -DEFAULT_USE_ZLIB=1 -DEFAULT_USE_GDK_IMLIB=1 -DEFAULT_USE_LIBPNG=1 -DEFAULT_USE_ODBC=1 - -DEFAULT_USE_GAUGE=1 -DEFAULT_USE_SCROLLBAR=1 -DEFAULT_USE_LISTCTRL=1 -DEFAULT_USE_TREECTRL=1 -DEFAULT_USE_GRID=1 -DEFAULT_USE_TAB_DIALOG=1 -DEFAULT_USE_NOTEBOOK=1 - -DEFAULT_USE_TIMEDATE=1 -DEFAULT_USE_FRACTION=1 -DEFAULT_USE_LOG=1 -DEFAULT_USE_INTL=1 -DEFAULT_USE_CONFIG=1 -DEFAULT_USE_STREAMS=1 -DEFAULT_USE_SERIAL=1 -DEFAULT_USE_FILE=1 -DEFAULT_USE_TEXTFILE=1 - -DEFAULT_USE_AFM_FOR_POSTSCRIPT=1 -DEFAULT_WX_NORMALIZED_PS_FONTS=1 -DEFAULT_USE_POSTSCRIPT=1 - -DEFAULT_USE_IPC=1 -DEFAULT_USE_RESOURCES=1 -DEFAULT_USE_CONSTRAINTS=1 -DEFAULT_USE_CLIPBOARD=0 -DEFAULT_USE_DND=1 - -DEFAULT_USE_MDI_ARCHITECTURE=1 -DEFAULT_USE_DOC_VIEW_ARCHITECTURE=1 -DEFAULT_USE_PRINTING_ARCHITECTURE=1 - -DEFAULT_USE_PROLOGIO=1 -DEFAULT_USE_WX_RESOURCES=1 -DEFAULT_USE_RPC=0 - -DEFAULT_USE_OPENGL=0 -DEFAULT_USE_METAFILE=0 -DEFAULT_USE_WXGRAPH=0 -DEFAULT_USE_WXTREE=0 -DEFAULT_USE_HELP=0 - - - -echo $ac_n "checking "for gtk"""... $ac_c" 1>&6 -echo "configure:4267: checking "for gtk"" >&5 -# Check whether --with-gtk or --without-gtk was given. -if test "${with_gtk+set}" = set; then - withval="$with_gtk" - if test "x$with_gtk" = xyes; then - ac_cv_use_gtk='USE_GTK="1"' -else - ac_cv_use_gtk='USE_GTK="0"' -fi -else - - LINE=`grep "USE_GTK" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_gtk='USE_GTK='$DEFAULT_USE_GTK - -fi - -eval "$ac_cv_use_gtk" -echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp -if test "$USE_GTK" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for qt"""... $ac_c" 1>&6 -echo "configure:4297: checking "for qt"" >&5 -# Check whether --with-qt or --without-qt was given. -if test "${with_qt+set}" = set; then - withval="$with_qt" - if test "x$with_qt" = xyes; then - ac_cv_use_qt='USE_QT="1"' -else - ac_cv_use_qt='USE_QT="0"' -fi -else - - LINE=`grep "USE_QT" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_qt='USE_QT='$DEFAULT_USE_QT - -fi - -eval "$ac_cv_use_qt" -echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp -if test "$USE_QT" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for motif"""... $ac_c" 1>&6 -echo "configure:4327: checking "for motif"" >&5 -# Check whether --with-motif or --without-motif was given. -if test "${with_motif+set}" = set; then - withval="$with_motif" - if test "x$with_motif" = xyes; then - ac_cv_use_motif='USE_MOTIF="1"' -else - ac_cv_use_motif='USE_MOTIF="0"' -fi -else - - LINE=`grep "USE_MOTIF" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_motif='USE_MOTIF='$DEFAULT_USE_MOTIF - -fi - -eval "$ac_cv_use_motif" -echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp -if test "$USE_MOTIF" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for shared"""... $ac_c" 1>&6 -echo "configure:4358: checking "for shared"" >&5 -# Check whether --with-shared or --without-shared was given. -if test "${with_shared+set}" = set; then - withval="$with_shared" - if test "x$with_shared" = xyes; then - ac_cv_use_shared='USE_SHARED="1"' -else - ac_cv_use_shared='USE_SHARED="0"' -fi -else - - LINE=`grep "USE_SHARED" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_shared='USE_SHARED='$DEFAULT_USE_SHARED - -fi - -eval "$ac_cv_use_shared" -echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp -if test "$USE_SHARED" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for optimise"""... $ac_c" 1>&6 -echo "configure:4388: checking "for optimise"" >&5 -# Check whether --with-optimise or --without-optimise was given. -if test "${with_optimise+set}" = set; then - withval="$with_optimise" - if test "x$with_optimise" = xyes; then - ac_cv_use_optimise='USE_OPTIMISE="1"' -else - ac_cv_use_optimise='USE_OPTIMISE="0"' -fi -else - - LINE=`grep "USE_OPTIMISE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_optimise='USE_OPTIMISE='$DEFAULT_USE_OPTIMISE - -fi - -eval "$ac_cv_use_optimise" -echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp -if test "$USE_OPTIMISE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for debug_flag"""... $ac_c" 1>&6 -echo "configure:4418: checking "for debug_flag"" >&5 -# Check whether --with-debug_flag or --without-debug_flag was given. -if test "${with_debug_flag+set}" = set; then - withval="$with_debug_flag" - if test "x$with_debug_flag" = xyes; then - ac_cv_use_debug_flag='USE_DEBUG_FLAG="1"' -else - ac_cv_use_debug_flag='USE_DEBUG_FLAG="0"' -fi -else - - LINE=`grep "USE_DEBUG_FLAG" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_debug_flag='USE_DEBUG_FLAG='$DEFAULT_USE_DEBUG_FLAG - -fi - -eval "$ac_cv_use_debug_flag" -echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp -if test "$USE_DEBUG_FLAG" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for debug_info"""... $ac_c" 1>&6 -echo "configure:4448: checking "for debug_info"" >&5 -# Check whether --with-debug_info or --without-debug_info was given. -if test "${with_debug_info+set}" = set; then - withval="$with_debug_info" - if test "x$with_debug_info" = xyes; then - ac_cv_use_debug_info='USE_DEBUG_INFO="1"' -else - ac_cv_use_debug_info='USE_DEBUG_INFO="0"' -fi -else - - LINE=`grep "USE_DEBUG_INFO" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_debug_info='USE_DEBUG_INFO='$DEFAULT_USE_DEBUG_INFO - -fi - -eval "$ac_cv_use_debug_info" -echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp -if test "$USE_DEBUG_INFO" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for mem_tracing"""... $ac_c" 1>&6 -echo "configure:4478: checking "for mem_tracing"" >&5 -# Check whether --with-mem_tracing or --without-mem_tracing was given. -if test "${with_mem_tracing+set}" = set; then - withval="$with_mem_tracing" - if test "x$with_mem_tracing" = xyes; then - ac_cv_use_mem_tracing='USE_MEM_TRACING="1"' -else - ac_cv_use_mem_tracing='USE_MEM_TRACING="0"' -fi -else - - LINE=`grep "USE_MEM_TRACING" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_mem_tracing='USE_MEM_TRACING='$DEFAULT_USE_MEM_TRACING - -fi - -eval "$ac_cv_use_mem_tracing" -echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp -if test "$USE_MEM_TRACING" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for dmalloc"""... $ac_c" 1>&6 -echo "configure:4508: checking "for dmalloc"" >&5 -# Check whether --with-dmalloc or --without-dmalloc was given. -if test "${with_dmalloc+set}" = set; then - withval="$with_dmalloc" - if test "x$with_dmalloc" = xyes; then - ac_cv_use_dmalloc='USE_DMALLOC="1"' -else - ac_cv_use_dmalloc='USE_DMALLOC="0"' -fi -else - - LINE=`grep "USE_DMALLOC" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_dmalloc='USE_DMALLOC='$DEFAULT_USE_DMALLOC - -fi - -eval "$ac_cv_use_dmalloc" -echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp -if test "$USE_DMALLOC" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for profile"""... $ac_c" 1>&6 -echo "configure:4538: checking "for profile"" >&5 -# Check whether --with-profile or --without-profile was given. -if test "${with_profile+set}" = set; then - withval="$with_profile" - if test "x$with_profile" = xyes; then - ac_cv_use_profile='USE_PROFILE="1"' -else - ac_cv_use_profile='USE_PROFILE="0"' -fi -else - - LINE=`grep "USE_PROFILE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_profile='USE_PROFILE='$DEFAULT_USE_PROFILE - -fi - -eval "$ac_cv_use_profile" -echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp -if test "$USE_PROFILE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for apple_ieee"""... $ac_c" 1>&6 -echo "configure:4568: checking "for apple_ieee"" >&5 -# Check whether --with-apple_ieee or --without-apple_ieee was given. -if test "${with_apple_ieee+set}" = set; then - withval="$with_apple_ieee" - if test "x$with_apple_ieee" = xyes; then - ac_cv_use_apple_ieee='USE_APPLE_IEEE="1"' -else - ac_cv_use_apple_ieee='USE_APPLE_IEEE="0"' -fi -else - - LINE=`grep "USE_APPLE_IEEE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_apple_ieee='USE_APPLE_IEEE='$DEFAULT_USE_APPLE_IEEE - -fi - -eval "$ac_cv_use_apple_ieee" -echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp -if test "$USE_APPLE_IEEE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for zlib"""... $ac_c" 1>&6 -echo "configure:4599: checking "for zlib"" >&5 -# Check whether --with-zlib or --without-zlib was given. -if test "${with_zlib+set}" = set; then - withval="$with_zlib" - if test "x$with_zlib" = xyes; then - ac_cv_use_zlib='USE_ZLIB="1"' -else - ac_cv_use_zlib='USE_ZLIB="0"' -fi -else - - LINE=`grep "USE_ZLIB" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_zlib='USE_ZLIB='$DEFAULT_USE_ZLIB - -fi - -eval "$ac_cv_use_zlib" -echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp -if test "$USE_ZLIB" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for gdk_imlib"""... $ac_c" 1>&6 -echo "configure:4629: checking "for gdk_imlib"" >&5 -# Check whether --with-gdk_imlib or --without-gdk_imlib was given. -if test "${with_gdk_imlib+set}" = set; then - withval="$with_gdk_imlib" - if test "x$with_gdk_imlib" = xyes; then - ac_cv_use_gdk_imlib='USE_GDK_IMLIB="1"' -else - ac_cv_use_gdk_imlib='USE_GDK_IMLIB="0"' -fi -else - - LINE=`grep "USE_GDK_IMLIB" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_gdk_imlib='USE_GDK_IMLIB='$DEFAULT_USE_GDK_IMLIB - -fi - -eval "$ac_cv_use_gdk_imlib" -echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp -if test "$USE_GDK_IMLIB" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for libpng"""... $ac_c" 1>&6 -echo "configure:4659: checking "for libpng"" >&5 -# Check whether --with-libpng or --without-libpng was given. -if test "${with_libpng+set}" = set; then - withval="$with_libpng" - if test "x$with_libpng" = xyes; then - ac_cv_use_libpng='USE_LIBPNG="1"' -else - ac_cv_use_libpng='USE_LIBPNG="0"' -fi -else - - LINE=`grep "USE_LIBPNG" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_libpng='USE_LIBPNG='$DEFAULT_USE_LIBPNG - -fi - -eval "$ac_cv_use_libpng" -echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp -if test "$USE_LIBPNG" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for odbc"""... $ac_c" 1>&6 -echo "configure:4689: checking "for odbc"" >&5 -# Check whether --with-odbc or --without-odbc was given. -if test "${with_odbc+set}" = set; then - withval="$with_odbc" - if test "x$with_odbc" = xyes; then - ac_cv_use_odbc='USE_ODBC="1"' -else - ac_cv_use_odbc='USE_ODBC="0"' -fi -else - - LINE=`grep "USE_ODBC" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_odbc='USE_ODBC='$DEFAULT_USE_ODBC - -fi - -eval "$ac_cv_use_odbc" -echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp -if test "$USE_ODBC" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for opengl"""... $ac_c" 1>&6 -echo "configure:4719: checking "for opengl"" >&5 -# Check whether --with-opengl or --without-opengl was given. -if test "${with_opengl+set}" = set; then - withval="$with_opengl" - if test "x$with_opengl" = xyes; then - ac_cv_use_opengl='USE_OPENGL="1"' -else - ac_cv_use_opengl='USE_OPENGL="0"' -fi -else - - LINE=`grep "USE_OPENGL" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_opengl='USE_OPENGL='$DEFAULT_USE_OPENGL - -fi - -eval "$ac_cv_use_opengl" -echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp -if test "$USE_OPENGL" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for gauge"""... $ac_c" 1>&6 -echo "configure:4750: checking "for gauge"" >&5 -# Check whether --with-gauge or --without-gauge was given. -if test "${with_gauge+set}" = set; then - withval="$with_gauge" - if test "x$with_gauge" = xyes; then - ac_cv_use_gauge='USE_GAUGE="1"' -else - ac_cv_use_gauge='USE_GAUGE="0"' -fi -else - - LINE=`grep "USE_GAUGE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_gauge='USE_GAUGE='$DEFAULT_USE_GAUGE - -fi - -eval "$ac_cv_use_gauge" -echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp -if test "$USE_GAUGE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for scrollbar"""... $ac_c" 1>&6 -echo "configure:4780: checking "for scrollbar"" >&5 -# Check whether --with-scrollbar or --without-scrollbar was given. -if test "${with_scrollbar+set}" = set; then - withval="$with_scrollbar" - if test "x$with_scrollbar" = xyes; then - ac_cv_use_scrollbar='USE_SCROLLBAR="1"' -else - ac_cv_use_scrollbar='USE_SCROLLBAR="0"' -fi -else - - LINE=`grep "USE_SCROLLBAR" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_scrollbar='USE_SCROLLBAR='$DEFAULT_USE_SCROLLBAR - -fi - -eval "$ac_cv_use_scrollbar" -echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp -if test "$USE_SCROLLBAR" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for listctrl"""... $ac_c" 1>&6 -echo "configure:4810: checking "for listctrl"" >&5 -# Check whether --with-listctrl or --without-listctrl was given. -if test "${with_listctrl+set}" = set; then - withval="$with_listctrl" - if test "x$with_listctrl" = xyes; then - ac_cv_use_listctrl='USE_LISTCTRL="1"' -else - ac_cv_use_listctrl='USE_LISTCTRL="0"' -fi -else - - LINE=`grep "USE_LISTCTRL" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_listctrl='USE_LISTCTRL='$DEFAULT_USE_LISTCTRL - -fi - -eval "$ac_cv_use_listctrl" -echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp -if test "$USE_LISTCTRL" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for treectrl"""... $ac_c" 1>&6 -echo "configure:4840: checking "for treectrl"" >&5 -# Check whether --with-treectrl or --without-treectrl was given. -if test "${with_treectrl+set}" = set; then - withval="$with_treectrl" - if test "x$with_treectrl" = xyes; then - ac_cv_use_treectrl='USE_TREECTRL="1"' -else - ac_cv_use_treectrl='USE_TREECTRL="0"' -fi -else - - LINE=`grep "USE_TREECTRL" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_treectrl='USE_TREECTRL='$DEFAULT_USE_TREECTRL - -fi - -eval "$ac_cv_use_treectrl" -echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp -if test "$USE_TREECTRL" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for grid"""... $ac_c" 1>&6 -echo "configure:4870: checking "for grid"" >&5 -# Check whether --with-grid or --without-grid was given. -if test "${with_grid+set}" = set; then - withval="$with_grid" - if test "x$with_grid" = xyes; then - ac_cv_use_grid='USE_GRID="1"' -else - ac_cv_use_grid='USE_GRID="0"' -fi -else - - LINE=`grep "USE_GRID" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_grid='USE_GRID='$DEFAULT_USE_GRID - -fi - -eval "$ac_cv_use_grid" -echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp -if test "$USE_GRID" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for tab_dialog"""... $ac_c" 1>&6 -echo "configure:4900: checking "for tab_dialog"" >&5 -# Check whether --with-tab_dialog or --without-tab_dialog was given. -if test "${with_tab_dialog+set}" = set; then - withval="$with_tab_dialog" - if test "x$with_tab_dialog" = xyes; then - ac_cv_use_tab_dialog='USE_TAB_DIALOG="1"' -else - ac_cv_use_tab_dialog='USE_TAB_DIALOG="0"' -fi -else - - LINE=`grep "USE_TAB_DIALOG" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_tab_dialog='USE_TAB_DIALOG='$DEFAULT_USE_TAB_DIALOG - -fi - -eval "$ac_cv_use_tab_dialog" -echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp -if test "$USE_TAB_DIALOG" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for notebook"""... $ac_c" 1>&6 -echo "configure:4930: checking "for notebook"" >&5 -# Check whether --with-notebook or --without-notebook was given. -if test "${with_notebook+set}" = set; then - withval="$with_notebook" - if test "x$with_notebook" = xyes; then - ac_cv_use_notebook='USE_NOTEBOOK="1"' -else - ac_cv_use_notebook='USE_NOTEBOOK="0"' -fi -else - - LINE=`grep "USE_NOTEBOOK" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_notebook='USE_NOTEBOOK='$DEFAULT_USE_NOTEBOOK - -fi - -eval "$ac_cv_use_notebook" -echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp -if test "$USE_NOTEBOOK" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for timedate"""... $ac_c" 1>&6 -echo "configure:4961: checking "for timedate"" >&5 -# Check whether --with-timedate or --without-timedate was given. -if test "${with_timedate+set}" = set; then - withval="$with_timedate" - if test "x$with_timedate" = xyes; then - ac_cv_use_timedate='USE_TIMEDATE="1"' -else - ac_cv_use_timedate='USE_TIMEDATE="0"' -fi -else - - LINE=`grep "USE_TIMEDATE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_timedate='USE_TIMEDATE='$DEFAULT_USE_TIMEDATE - -fi - -eval "$ac_cv_use_timedate" -echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp -if test "$USE_TIMEDATE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for fraction"""... $ac_c" 1>&6 -echo "configure:4991: checking "for fraction"" >&5 -# Check whether --with-fraction or --without-fraction was given. -if test "${with_fraction+set}" = set; then - withval="$with_fraction" - if test "x$with_fraction" = xyes; then - ac_cv_use_fraction='USE_FRACTION="1"' -else - ac_cv_use_fraction='USE_FRACTION="0"' -fi -else - - LINE=`grep "USE_FRACTION" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_fraction='USE_FRACTION='$DEFAULT_USE_FRACTION - -fi - -eval "$ac_cv_use_fraction" -echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp -if test "$USE_FRACTION" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for log"""... $ac_c" 1>&6 -echo "configure:5021: checking "for log"" >&5 -# Check whether --with-log or --without-log was given. -if test "${with_log+set}" = set; then - withval="$with_log" - if test "x$with_log" = xyes; then - ac_cv_use_log='USE_LOG="1"' -else - ac_cv_use_log='USE_LOG="0"' -fi -else - - LINE=`grep "USE_LOG" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_log='USE_LOG='$DEFAULT_USE_LOG - -fi - -eval "$ac_cv_use_log" -echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp -if test "$USE_LOG" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for intl"""... $ac_c" 1>&6 -echo "configure:5051: checking "for intl"" >&5 -# Check whether --with-intl or --without-intl was given. -if test "${with_intl+set}" = set; then - withval="$with_intl" - if test "x$with_intl" = xyes; then - ac_cv_use_intl='USE_INTL="1"' -else - ac_cv_use_intl='USE_INTL="0"' -fi -else - - LINE=`grep "USE_INTL" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_intl='USE_INTL='$DEFAULT_USE_INTL - -fi - -eval "$ac_cv_use_intl" -echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp -if test "$USE_INTL" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for config"""... $ac_c" 1>&6 -echo "configure:5081: checking "for config"" >&5 -# Check whether --with-config or --without-config was given. -if test "${with_config+set}" = set; then - withval="$with_config" - if test "x$with_config" = xyes; then - ac_cv_use_config='USE_CONFIG="1"' -else - ac_cv_use_config='USE_CONFIG="0"' -fi -else - - LINE=`grep "USE_CONFIG" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_config='USE_CONFIG='$DEFAULT_USE_CONFIG - -fi - -eval "$ac_cv_use_config" -echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp -if test "$USE_CONFIG" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for streams"""... $ac_c" 1>&6 -echo "configure:5111: checking "for streams"" >&5 -# Check whether --with-streams or --without-streams was given. -if test "${with_streams+set}" = set; then - withval="$with_streams" - if test "x$with_streams" = xyes; then - ac_cv_use_streams='USE_STREAMS="1"' -else - ac_cv_use_streams='USE_STREAMS="0"' -fi -else - - LINE=`grep "USE_STREAMS" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_streams='USE_STREAMS='$DEFAULT_USE_STREAMS - -fi - -eval "$ac_cv_use_streams" -echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp -if test "$USE_STREAMS" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for serial"""... $ac_c" 1>&6 -echo "configure:5141: checking "for serial"" >&5 -# Check whether --with-serial or --without-serial was given. -if test "${with_serial+set}" = set; then - withval="$with_serial" - if test "x$with_serial" = xyes; then - ac_cv_use_serial='USE_SERIAL="1"' -else - ac_cv_use_serial='USE_SERIAL="0"' -fi -else - - LINE=`grep "USE_SERIAL" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_serial='USE_SERIAL='$DEFAULT_USE_SERIAL - -fi - -eval "$ac_cv_use_serial" -echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp -if test "$USE_SERIAL" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for file"""... $ac_c" 1>&6 -echo "configure:5171: checking "for file"" >&5 -# Check whether --with-file or --without-file was given. -if test "${with_file+set}" = set; then - withval="$with_file" - if test "x$with_file" = xyes; then - ac_cv_use_file='USE_FILE="1"' -else - ac_cv_use_file='USE_FILE="0"' -fi -else - - LINE=`grep "USE_FILE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_file='USE_FILE='$DEFAULT_USE_FILE - -fi - -eval "$ac_cv_use_file" -echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp -if test "$USE_FILE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for textfile"""... $ac_c" 1>&6 -echo "configure:5201: checking "for textfile"" >&5 -# Check whether --with-textfile or --without-textfile was given. -if test "${with_textfile+set}" = set; then - withval="$with_textfile" - if test "x$with_textfile" = xyes; then - ac_cv_use_textfile='USE_TEXTFILE="1"' -else - ac_cv_use_textfile='USE_TEXTFILE="0"' -fi -else - - LINE=`grep "USE_TEXTFILE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_textfile='USE_TEXTFILE='$DEFAULT_USE_TEXTFILE - -fi - -eval "$ac_cv_use_textfile" -echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp -if test "$USE_TEXTFILE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for afmfonts"""... $ac_c" 1>&6 -echo "configure:5232: checking "for afmfonts"" >&5 -# Check whether --with-afmfonts or --without-afmfonts was given. -if test "${with_afmfonts+set}" = set; then - withval="$with_afmfonts" - if test "x$with_afmfonts" = xyes; then - ac_cv_use_afmfonts='USE_AFM_FOR_POSTSCRIPT="1"' -else - ac_cv_use_afmfonts='USE_AFM_FOR_POSTSCRIPT="0"' -fi -else - - LINE=`grep "USE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_afmfonts='USE_AFM_FOR_POSTSCRIPT='$DEFAULT_USE_AFM_FOR_POSTSCRIPT - -fi - -eval "$ac_cv_use_afmfonts" -echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp -if test "$USE_AFM_FOR_POSTSCRIPT" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for normalized"""... $ac_c" 1>&6 -echo "configure:5262: checking "for normalized"" >&5 -# Check whether --with-normalized or --without-normalized was given. -if test "${with_normalized+set}" = set; then - withval="$with_normalized" - if test "x$with_normalized" = xyes; then - ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS="1"' -else - ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS="0"' -fi -else - - LINE=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS - -fi - -eval "$ac_cv_use_normalized" -echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp -if test "$WX_NORMALIZED_PS_FONTS" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for postscript"""... $ac_c" 1>&6 -echo "configure:5292: checking "for postscript"" >&5 -# Check whether --with-postscript or --without-postscript was given. -if test "${with_postscript+set}" = set; then - withval="$with_postscript" - if test "x$with_postscript" = xyes; then - ac_cv_use_postscript='USE_POSTSCRIPT="1"' -else - ac_cv_use_postscript='USE_POSTSCRIPT="0"' -fi -else - - LINE=`grep "USE_POSTSCRIPT" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_postscript='USE_POSTSCRIPT='$DEFAULT_USE_POSTSCRIPT - -fi - -eval "$ac_cv_use_postscript" -echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp -if test "$USE_POSTSCRIPT" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for wxresources"""... $ac_c" 1>&6 -echo "configure:5323: checking "for wxresources"" >&5 -# Check whether --with-wxresources or --without-wxresources was given. -if test "${with_wxresources+set}" = set; then - withval="$with_wxresources" - if test "x$with_wxresources" = xyes; then - ac_cv_use_wxresources='USE_WX_RESOURCES="1"' -else - ac_cv_use_wxresources='USE_WX_RESOURCES="0"' -fi -else - - LINE=`grep "USE_WX_RESOURCES" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_wxresources='USE_WX_RESOURCES='$DEFAULT_USE_WX_RESOURCES - -fi - -eval "$ac_cv_use_wxresources" -echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp -if test "$USE_WX_RESOURCES" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for prologio"""... $ac_c" 1>&6 -echo "configure:5353: checking "for prologio"" >&5 -# Check whether --with-prologio or --without-prologio was given. -if test "${with_prologio+set}" = set; then - withval="$with_prologio" - if test "x$with_prologio" = xyes; then - ac_cv_use_prologio='USE_PROLOGIO="1"' -else - ac_cv_use_prologio='USE_PROLOGIO="0"' -fi -else - - LINE=`grep "USE_PROLOGIO" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_prologio='USE_PROLOGIO='$DEFAULT_USE_PROLOGIO - -fi - -eval "$ac_cv_use_prologio" -echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp -if test "$USE_PROLOGIO" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for RPC"""... $ac_c" 1>&6 -echo "configure:5383: checking "for RPC"" >&5 -# Check whether --with-rpc or --without-rpc was given. -if test "${with_rpc+set}" = set; then - withval="$with_rpc" - if test "x$with_rpc" = xyes; then - ac_cv_use_rpc='USE_RPC="1"' -else - ac_cv_use_rpc='USE_RPC="0"' -fi -else - - LINE=`grep "USE_RPC" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_rpc='USE_RPC='$DEFAULT_USE_RPC - -fi - -eval "$ac_cv_use_rpc" -echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp -if test "$USE_RPC" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for IPC"""... $ac_c" 1>&6 -echo "configure:5414: checking "for IPC"" >&5 -# Check whether --with-ipc or --without-ipc was given. -if test "${with_ipc+set}" = set; then - withval="$with_ipc" - if test "x$with_ipc" = xyes; then - ac_cv_use_ipc='USE_IPC="1"' -else - ac_cv_use_ipc='USE_IPC="0"' -fi -else - - LINE=`grep "USE_IPC" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_ipc='USE_IPC='$DEFAULT_USE_IPC - -fi - -eval "$ac_cv_use_ipc" -echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp -if test "$USE_IPC" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for resources"""... $ac_c" 1>&6 -echo "configure:5444: checking "for resources"" >&5 -# Check whether --with-resources or --without-resources was given. -if test "${with_resources+set}" = set; then - withval="$with_resources" - if test "x$with_resources" = xyes; then - ac_cv_use_resources='USE_RESOURCES="1"' -else - ac_cv_use_resources='USE_RESOURCES="0"' -fi -else - - LINE=`grep "USE_RESOURCES" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_resources='USE_RESOURCES='$DEFAULT_USE_RESOURCES - -fi - -eval "$ac_cv_use_resources" -echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp -if test "$USE_RESOURCES" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for clipboard"""... $ac_c" 1>&6 -echo "configure:5474: checking "for clipboard"" >&5 -# Check whether --with-clipboard or --without-clipboard was given. -if test "${with_clipboard+set}" = set; then - withval="$with_clipboard" - if test "x$with_clipboard" = xyes; then - ac_cv_use_clipboard='USE_CLIPBOARD="1"' -else - ac_cv_use_clipboard='USE_CLIPBOARD="0"' -fi -else - - LINE=`grep "USE_CLIPBOARD" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_clipboard='USE_CLIPBOARD='$DEFAULT_USE_CLIPBOARD - -fi - -eval "$ac_cv_use_clipboard" -echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp -if test "$USE_CLIPBOARD" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for dnd"""... $ac_c" 1>&6 -echo "configure:5504: checking "for dnd"" >&5 -# Check whether --with-dnd or --without-dnd was given. -if test "${with_dnd+set}" = set; then - withval="$with_dnd" - if test "x$with_dnd" = xyes; then - ac_cv_use_dnd='USE_DND="1"' -else - ac_cv_use_dnd='USE_DND="0"' -fi -else - - LINE=`grep "USE_DND" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_dnd='USE_DND='$DEFAULT_USE_DND - -fi - -eval "$ac_cv_use_dnd" -echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp -if test "$USE_DND" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for constrains"""... $ac_c" 1>&6 -echo "configure:5534: checking "for constrains"" >&5 -# Check whether --with-constraints or --without-constraints was given. -if test "${with_constraints+set}" = set; then - withval="$with_constraints" - if test "x$with_constraints" = xyes; then - ac_cv_use_constraints='USE_CONSTRAINTS="1"' -else - ac_cv_use_constraints='USE_CONSTRAINTS="0"' -fi -else - - LINE=`grep "USE_CONSTRAINTS" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_constraints='USE_CONSTRAINTS='$DEFAULT_USE_CONSTRAINTS - -fi - -eval "$ac_cv_use_constraints" -echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp -if test "$USE_CONSTRAINTS" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - - -echo $ac_n "checking "for mdi"""... $ac_c" 1>&6 -echo "configure:5565: checking "for mdi"" >&5 -# Check whether --with-mdi or --without-mdi was given. -if test "${with_mdi+set}" = set; then - withval="$with_mdi" - if test "x$with_mdi" = xyes; then - ac_cv_use_mdi='USE_MDI_ARCHITECTURE="1"' -else - ac_cv_use_mdi='USE_MDI_ARCHITECTURE="0"' -fi -else - - LINE=`grep "USE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_mdi='USE_MDI_ARCHITECTURE='$DEFAULT_USE_MDI_ARCHITECTURE - -fi - -eval "$ac_cv_use_mdi" -echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp -if test "$USE_MDI_ARCHITECTURE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for docview"""... $ac_c" 1>&6 -echo "configure:5595: checking "for docview"" >&5 -# Check whether --with-docview or --without-docview was given. -if test "${with_docview+set}" = set; then - withval="$with_docview" - if test "x$with_docview" = xyes; then - ac_cv_use_docview='USE_DOC_VIEW_ARCHITECTURE="1"' -else - ac_cv_use_docview='USE_DOC_VIEW_ARCHITECTURE="0"' -fi -else - - LINE=`grep "USE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_docview='USE_DOC_VIEW_ARCHITECTURE='$DEFAULT_USE_DOC_VIEW_ARCHITECTURE - -fi - -eval "$ac_cv_use_docview" -echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp -if test "$USE_DOC_VIEW_ARCHITECTURE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking "for printarch"""... $ac_c" 1>&6 -echo "configure:5625: checking "for printarch"" >&5 -# Check whether --with-printarch or --without-printarch was given. -if test "${with_printarch+set}" = set; then - withval="$with_printarch" - if test "x$with_printarch" = xyes; then - ac_cv_use_printarch='USE_PRINTING_ARCHITECTURE="1"' -else - ac_cv_use_printarch='USE_PRINTING_ARCHITECTURE="0"' -fi -else - - LINE=`grep "USE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_printarch='USE_PRINTING_ARCHITECTURE='$DEFAULT_USE_PRINTING_ARCHITECTURE - -fi - -eval "$ac_cv_use_printarch" -echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp -if test "$USE_PRINTING_ARCHITECTURE" = 1; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - - -if test "$USE_UNIX" = 1 ; then - cat >> confdefs.h <<\EOF -#define __UNIX__ 1 -EOF - -fi - - -TOOLKIT= -TOOLKIT_DEF= - -GUI_TK_INCLUDE= -GUI_TK_LIBRARY= -GUI_TK_LINK= - -MAKEINCLUDE= - -if test "$USE_GTK" = 1; 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" -else - gtk_config_prefix="" -fi - -# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. -if test "${with_gtk_exec_prefix+set}" = set; then - withval="$with_gtk_exec_prefix" - gtk_config_exec_prefix="$withval" -else - gtk_config_exec_prefix="" -fi - - - if test x$gtk_config_exec_prefix != x ; then - gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config - fi - fi - if test x$gtk_config_prefix != x ; then - gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_prefix/bin/gtk-config - fi - 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:5705: 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 - case "$GTK_CONFIG" in - /*) - ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" - ;; -esac -fi -GTK_CONFIG="$ac_cv_path_GTK_CONFIG" -if test -n "$GTK_CONFIG"; then - echo "$ac_t""$GTK_CONFIG" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - min_gtk_version=0.99.7 - echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 -echo "configure:5736: checking for GTK - version >= $min_gtk_version" >&5 - no_gtk="" - if test "$GTK_CONFIG" != "no" ; then - GTK_CFLAGS=`$GTK_CONFIG --cflags` - GTK_LIBS=`$GTK_CONFIG --libs` - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$LIBS $GTK_LIBS" - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -else - cat > conftest.$ac_ext < -#include - -int -main () -{ - int major, minor, micro; - - if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_gtk_version"); - exit(1); - } - - return !((gtk_major_version > major) || - ((gtk_major_version == major) && (gtk_minor_version > minor)) || - ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))); -} - -EOF -if { (eval echo configure:5771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - no_gtk=yes -fi -rm -fr conftest* -fi - - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - else - no_gtk=yes - fi - if test "x$no_gtk" = x ; then - echo "$ac_t""yes" 1>&6 - - GUI_TK_INCLUDE="$GTK_CFLAGS" - GUI_TK_LIBRARY="$GTK_LIBS" - - else - echo "$ac_t""no" 1>&6 - GTK_CFLAGS="" - GTK_LIBS="" - { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; } - fi - - - - cat >> confdefs.h <<\EOF -#define __WXGTK__ 1 -EOF - - TOOLKIT=GTK - TOOLKIT_DEF=__WXGTK__ - MAKEINCLUDE=../gtk.inc -fi - -if test "$USE_QT" = 1; then - echo $ac_n "checking for Qt includes""... $ac_c" 1>&6 -echo "configure:5814: checking for Qt includes" >&5 - -ac_find_includes= -for ac_dir in $SEARCH_INCLUDE; - do - if test -f "$ac_dir/qapp.h"; then - ac_find_includes=$ac_dir - break - fi - done - - if test "$ac_find_includes" != "" ; then - echo "$ac_t""found $ac_find_includes" 1>&6 - echo $ac_n "checking for Qt library""... $ac_c" 1>&6 -echo "configure:5828: checking for Qt library" >&5 - -ac_find_libraries= -for ac_dir in $SEARCH_LIB; - do - for ac_extension in a so sl; do - if test -f "$ac_dir/libqt.$ac_extension"; then - ac_find_libraries=$ac_dir - break 2 - fi - done - done - - if test "$ac_find_libraries" != "" ; then - - ac_path_to_include=$ac_find_includes - echo "$CHECK_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 - - - echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null - result=$? - if test $result = 0; then - ac_path_to_link="" - else - ac_path_to_link="-L$ac_find_libraries" - fi - - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - echo "$ac_t""found Qt at $ac_find_libraries" 1>&6 - else - { echo "configure: error: no" 1>&2; exit 1; } - fi - else - { echo "configure: error: no" 1>&2; exit 1; } - fi - GUI_TK_LINK="-lXext -lX11 -lqt -lm" - cat >> confdefs.h <<\EOF -#define __WXQT__ 1 -EOF - - TOOLKIT=QT - TOOLKIT_DEF=__WXQT__ - MAKEINCLUDE=../qt.inc -fi - -if test "$USE_MOTIF" = 1; then - echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6 -echo "configure:5882: checking for Motif/Lesstif includes" >&5 - -ac_find_includes= -for ac_dir in $SEARCH_INCLUDE; - do - if test -f "$ac_dir/Xm.h"; then - ac_find_includes=$ac_dir - break - fi - done - - if test "$ac_find_includes" != "" ; then - echo "$ac_t""found $ac_find_includes" 1>&6 - echo $ac_n "checking for Motif or Lesstif library""... $ac_c" 1>&6 -echo "configure:5896: checking for Motif or Lesstif library" >&5 - -ac_find_libraries= -for ac_dir in $SEARCH_LIB; - do - for ac_extension in a so sl; do - if test -f "$ac_dir/libXm.$ac_extension"; then - ac_find_libraries=$ac_dir - break 2 - fi - done - done - - if test "$ac_find_libraries" != "" ; then - - ac_path_to_include=$ac_find_includes - echo "$CHECK_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 - - - echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null - result=$? - if test $result = 0; then - ac_path_to_link="" - else - ac_path_to_link="-L$ac_find_libraries" - fi - - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - echo "$ac_t""found at $ac_find_libraries" 1>&6 - else - { echo "configure: error: no" 1>&2; exit 1; } - fi - else - { echo "configure: error: no" 1>&2; exit 1; } - fi - GUI_TK_LINK="-lXext -lXt -lX11 -lXm -lm" - cat >> confdefs.h <<\EOF -#define __WXMOTIF__ 1 -EOF - - TOOLKIT=MOTIF - TOOLKIT_DEF=__WXMOTIF__ - MAKEINCLUDE=../motif.inc -fi - -if test "$TOOLKIT" = ""; then - { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; } -fi - - - - - - - - - - - -WXDEBUG= -if test "$USE_DEBUG_INFO" = 1 ; then - WXDEBUG="-g -O0" -fi - - -if test "$USE_DEBUG_FLAG" = 1 ; then - cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <&6 -echo "configure:6338: checking for pthread_create in -lpthread-0.7" >&5 -ac_lib_var=`echo pthread-0.7'_'pthread_create | 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="-lpthread-0.7 $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - - UNIX_THREAD="gtk/threadpsx.cpp" - THREADS_LINK="-lpthread-0.7" - -else - echo "$ac_t""no" 1>&6 - - ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6 -echo "configure:6381: checking for sys/prctl.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:6391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -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 - - UNIX_THREAD="gtk/threadsgi.cpp" - -else - echo "$ac_t""no" 1>&6 -fi - - - - echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6 -echo "configure:6417: checking for pthread_setcanceltype in -lpthread" >&5 -ac_lib_var=`echo pthread'_'pthread_setcanceltype | 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="-lpthread $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - - UNIX_THREAD="gtk/threadpsx.cpp" - THREADS_LINK="-lpthread" - -else - echo "$ac_t""no" 1>&6 -fi - - -fi - - echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6 -echo "configure:6463: checking for pthread_setcanceltype in -lpthreads" >&5 -ac_lib_var=`echo pthreads'_'pthread_setcanceltype | 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="-lpthreads $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 - - UNIX_THREAD="gtk/threadpsx.cpp" - THREADS_LINK="-lpthreads" - -else - echo "$ac_t""no" 1>&6 -fi - -fi - -if test -z "$UNIX_THREAD"; then - USE_THREADS=0 -fi - - - -cat >> confdefs.h <<\EOF -#define USE_THREADS 1 -EOF - - - - -OPENGL_INCLUDE= -OPENGL_LIBRARY= -OPENGL_LINK= - -if test "$USE_OPENGL" = 1; then - echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6 -echo "configure:6526: checking for OpenGL includes" >&5 - -ac_find_includes= -for ac_dir in $SEARCH_INCLUDE; - do - if test -f "$ac_dir/GL/gl.h"; then - ac_find_includes=$ac_dir - break - fi - done - - if test "$ac_find_includes" != "" ; then - OPENGL_INCLUDE="-I$ac_find_includes" - echo "$ac_t""found $ac_find_includes" 1>&6 - echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6 -echo "configure:6541: checking for OpenGL library" >&5 - -ac_find_libraries= -for ac_dir in $SEARCH_LIB; - do - for ac_extension in a so sl; do - if test -f "$ac_dir/libGL.$ac_extension"; then - ac_find_libraries=$ac_dir - break 2 - fi - done - done - - if test "$ac_find_libraries" != "" ; then - - ac_path_to_include=$ac_find_includes - echo "$CHECK_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 - - - echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null - result=$? - if test $result = 0; then - ac_path_to_link="" - else - ac_path_to_link="-L$ac_find_libraries" - fi - - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - OPENGL_LIBRARY="$ac_path_to_link" - OPENGL_INCLUDE="$ac_path_to_include" - OPENGL_LINK="-lGL" - echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6 - else - -ac_find_libraries= -for ac_dir in $SEARCH_LIB; - do - for ac_extension in a so sl; do - if test -f "$ac_dir/libMesaGL.$ac_extension"; then - ac_find_libraries=$ac_dir - break 2 - fi - done - done - - if test "$ac_find_libraries" != "" ; then - - ac_path_to_include=$ac_find_includes - echo "$CHECK_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 - - - echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null - result=$? - if test $result = 0; then - ac_path_to_link="" - else - ac_path_to_link="-L$ac_find_libraries" - fi - - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - OPENGL_LIBRARY="$ac_path_to_link" - OPENGL_INCLUDE="$ac_path_to_include" - OPENGL_LINK="-lMesaGL" - echo "$ac_t""found MESA at $ac_find_libraries" 1>&6 - else - { echo "configure: error: no" 1>&2; exit 1; } - fi - fi - else - { echo "configure: error: no" 1>&2; exit 1; } - fi -fi - - -USE_GLX=$USE_OPENGL -if test "$USE_OPENGL" != 1; then - OPENGL_LIBRARIES= - OPENGL_INCLUDE= - OPENGL_LINK= - GLCANVAS=NONE -fi - -cat >> confdefs.h <> confdefs.h <<\EOF -#define SVR4 1 -EOF - - ;; - - *-*-solaris2* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-KPIC" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedSolaris2 - cat >> confdefs.h <<\EOF -#define SVR4 1 -EOF - - ;; - - *-*-sunos4* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-PIC" - else - PICFLAGS="-fPIC" - fi - LDFLAGS="-Wl,+s" - CREATE_SHARED=sharedSunos4 - cat >> confdefs.h <<\EOF -#define BSD 1 -EOF - - ;; - - *-*-freebsd* | *-*-netbsd*) - PICFLAGS=-fPIC - CREATE_SHARED=sharedBsd - cat >> confdefs.h <<\EOF -#define BSD 1 -EOF - - ;; - - *-*-osf* ) - PICFLAGS="-fPIC" - CREATE_SHARED=sharedOSF - ;; - - *-*-dgux5* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-K PIC" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedDgux - cat >> confdefs.h <<\EOF -#define SVR4 1 -EOF - - ;; - - *-*-sysv5* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-K PIC" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedSysV - cat >> confdefs.h <<\EOF -#define SVR4 1 -EOF - - ;; - - *-*-aix* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-bM\:SRE" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedAIX - cat >> confdefs.h <<\EOF -#define SYSV 1 -EOF - - ;; - - *) - CREATE_SHARED= - PICFLAGS= -esac - -if test "x$GCC" = xyes; then - CFLAGS="${CFLAGS} -Wall" -fi - -if test "x$GXX" = xyes; then - CXXFLAGS="${CXXFLAGS} -Wall" -fi - -if test "$USE_SHARED" != 1; then - CREATE_SHARED= - PICFLAGS= -fi - - - - - - -echo $OS >> system.list - - -trap '' 1 2 15 -cat > confcache <<\EOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -EOF -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - case `(ac_space=' '; set) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else - if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - -DEFS=-DHAVE_CONFIG_H - -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS </dev/null | sed 1q`: -# -# $0 $ac_configure_args -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option -do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.12" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" - -trap 'rm -fr `echo "./setup/substit ./include/wx/gtk/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@WXBASEDIR@%$WXBASEDIR%g -s%@CC@%$CC%g -s%@CPP@%$CPP%g -s%@CXX@%$CXX%g -s%@CXXCPP@%$CXXCPP%g -s%@RANLIB@%$RANLIB%g -s%@AR@%$AR%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@LN_S@%$LN_S%g -s%@AWK@%$AWK%g -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%@GTK_JOYSTICK@%$GTK_JOYSTICK%g -s%@LIBOBJS@%$LIBOBJS%g -s%@YACC@%$YACC%g -s%@LEX@%$LEX%g -s%@LEXLIB@%$LEXLIB%g -s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g -s%@host@%$host%g -s%@host_alias@%$host_alias%g -s%@host_cpu@%$host_cpu%g -s%@host_vendor@%$host_vendor%g -s%@host_os@%$host_os%g -s%@GTK_CONFIG@%$GTK_CONFIG%g -s%@GTK_CFLAGS@%$GTK_CFLAGS%g -s%@GTK_LIBS@%$GTK_LIBS%g -s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g -s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g -s%@GUI_TK_LINK@%$GUI_TK_LINK%g -s%@TOOLKIT@%$TOOLKIT%g -s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g -s%@MAKEINCLUDE@%$MAKEINCLUDE%g -s%@WXDEBUG@%$WXDEBUG%g -s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g -s%@EXTRA_LINK@%$EXTRA_LINK%g -s%@PROFILE@%$PROFILE%g -s%@OPTIMISE@%$OPTIMISE%g -s%@METAFILE@%$METAFILE%g -s%@HELP@%$HELP%g -s%@WXGRAPH@%$WXGRAPH%g -s%@WXTREE@%$WXTREE%g -s%@DL_LIBRARY@%$DL_LIBRARY%g -s%@UNIX_THREAD@%$UNIX_THREAD%g -s%@THREADS_LINK@%$THREADS_LINK%g -s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g -s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g -s%@OPENGL_LINK@%$OPENGL_LINK%g -s%@GLCANVAS@%$GLCANVAS%g -s%@OS@%$OS%g -s%@PICFLAGS@%$PICFLAGS%g -s%@CREATE_SHARED@%$CREATE_SHARED%g - -CEOF -EOF - -cat >> $CONFIG_STATUS <<\EOF - -# Split the substitutions into bite-sized pieces for seds with -# small command number limits, like on Digital OSF/1 and HP-UX. -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # Line after last line for current file. -ac_more_lines=: -ac_sed_cmds="" -while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file - else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` - fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi -EOF - -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where -# NAME is the cpp macro being defined and VALUE is the value it is being given. -# -# ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' -ac_dC='\3' -ac_dD='%g' -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='\([ ]\)%\1#\2define\3' -ac_uC=' ' -ac_uD='\4%g' -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_eB='$%\1#\2define\3' -ac_eC=' ' -ac_eD='%g' - -if test "${CONFIG_HEADERS+set}" != set; then -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -fi -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - echo creating $ac_file - - rm -f conftest.frag conftest.in conftest.out - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - cat $ac_file_inputs > conftest.in - -EOF - -# Transform confdefs.h into a sed script conftest.vals that substitutes -# the proper values into config.h.in to produce config.h. And first: -# Protect against being on the right side of a sed subst in config.status. -# Protect against being in an unquoted here document in config.status. -rm -f conftest.vals -cat > conftest.hdr <<\EOF -s/[\\&%]/\\&/g -s%[\\$`]%\\&%g -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp -s%ac_d%ac_u%gp -s%ac_u%ac_e%gp -EOF -sed -n -f conftest.hdr confdefs.h > conftest.vals -rm -f conftest.hdr - -# This sed command replaces #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -cat >> conftest.vals <<\EOF -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% -EOF - -# Break up conftest.vals because some shells have a limit on -# the size of here documents, and old seds have small limits too. - -rm -f conftest.tail -while : -do - ac_lines=`grep -c . conftest.vals` - # grep -c gives empty output for an empty file on some AIX systems. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi - # Write a limited-size here document to conftest.frag. - echo ' cat > conftest.frag <> $CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS - echo 'CEOF - sed -f conftest.frag conftest.in > conftest.out - rm -f conftest.in - mv conftest.out conftest.in -' >> $CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail - rm -f conftest.vals - mv conftest.tail conftest.vals -done -rm -f conftest.vals - -cat >> $CONFIG_STATUS <<\EOF - rm -f conftest.frag conftest.h - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h - cat conftest.in >> conftest.h - rm -f conftest.in - if cmp -s $ac_file conftest.h 2>/dev/null; then - echo "$ac_file is unchanged" - rm -f conftest.h - else - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - fi - rm -f $ac_file - mv conftest.h $ac_file - fi -fi; done - -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -./setup/general/createall -exit 0 -EOF -chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 - - - -mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache - diff --git a/configure.in b/configure.in deleted file mode 100644 index 230bcbdcb8..0000000000 --- a/configure.in +++ /dev/null @@ -1,1552 +0,0 @@ -dnl //////////////////////////////////////////////////////////////////////// -dnl -dnl Top-level configure.in for wxWindows by Robert Roebling, Wolfram Gloger -dnl and Martin Sperl. -dnl -dnl This script is under the wxWindows licence. -dnl -dnl //////////////////////////////////////////////////////////////////////// - -dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS -dnl -AC_DEFUN(AM_PATH_GTK, -[dnl -dnl Get the cflags and libraries from the gtk-config script -dnl -AC_ARG_WITH(gtk-prefix,[**--with-gtk-prefix=PFX Prefix where GTK is installed], - gtk_config_prefix="$withval", gtk_config_prefix="") -AC_ARG_WITH(gtk-exec-prefix,[**--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed], - gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") - - if test x$gtk_config_exec_prefix != x ; then - gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config - fi - fi - if test x$gtk_config_prefix != x ; then - gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_prefix/bin/gtk-config - fi - fi - - AC_PATH_PROG(GTK_CONFIG, gtk-config, no) - min_gtk_version=ifelse([$1], ,0.99.7,$1) - AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) - no_gtk="" - if test "$GTK_CONFIG" != "no" ; then - GTK_CFLAGS=`$GTK_CONFIG --cflags` - GTK_LIBS=`$GTK_CONFIG --libs` - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$LIBS $GTK_LIBS" -dnl -dnl Now check if the installed GTK is sufficiently new. (Also sanity -dnl checks the results of gtk-config to some extent -dnl - AC_TRY_RUN([ -#include -#include - -int -main () -{ - int major, minor, micro; - - if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_gtk_version"); - exit(1); - } - - return !((gtk_major_version > major) || - ((gtk_major_version == major) && (gtk_minor_version > minor)) || - ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))); -} -],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - else - no_gtk=yes - fi - if test "x$no_gtk" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - GTK_CFLAGS="" - GTK_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GTK_CFLAGS) - AC_SUBST(GTK_LIBS) -]) - -dnl ------------------------------------------------------------------------ -dnl custom macros -dnl ------------------------------------------------------------------------ - -AC_DEFUN(AC_OVERRIDES_PREPARE, -[ -rm -f ${OSTYPE}.system.cache.tmp -touch ${OSTYPE}.system.cache.tmp -touch ${OSTYPE}.system.cache -]) - -AC_DEFUN(AC_OVERRIDES_DONE, -[ -mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache -]) - -dnl package,message,helpmessage,variable -AC_DEFUN(AC_OVERRIDES, -[ -AC_MSG_CHECKING("for $2") -AC_ARG_WITH($1,$3, -[if test "x$with_$1" = xyes; then - ac_cv_use_$1='$4="1"' -else - ac_cv_use_$1='$4="0"' -fi], -[ - LINE=`grep "$4" ${OSTYPE}.system.cache` - if test "x$LINE" != x ; then - eval "DEFAULT_$LINE" - fi - ac_cv_use_$1='$4='$DEFAULT_$4 -]) -eval "$ac_cv_use_$1" -echo $ac_cv_use_$1 >> ${OSTYPE}.system.cache.tmp -if test "$$4" = 1; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi -]) - -dnl package,message,helpmessage,variable -AC_DEFUN(AC_OVERRIDES_OLD, -[ -AC_MSG_CHECKING("for $2") -AC_CACHE_VAL(ac_cv_use_$1, -[ -AC_ARG_WITH($1,$3, -[if test "x$with_$1" = xyes; then - ac_cv_use_$1='$4="1"' -else - ac_cv_use_$1='$4="0"' -fi],[ac_cv_use_$1='$4=$DEFAULT_$4']) -]) -eval "$ac_cv_use_$1" - -if test "$$4" = 1; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi -]) - -AC_DEFUN(AC_PATH_FIND_INCLUDES, -[ -ac_find_includes= -for ac_dir in $1; - do - if test -f "$ac_dir/$2"; then - ac_find_includes=$ac_dir - break - fi - done -]) - -AC_DEFUN(AC_PATH_FIND_LIBRARIES, -[ -ac_find_libraries= -for ac_dir in $1; - do - for ac_extension in a so sl; do - if test -f "$ac_dir/lib$2.$ac_extension"; then - ac_find_libraries=$ac_dir - break 2 - fi - done - done -]) - -dnl Path to include, allready defined -AC_DEFUN(AC_INCLUDE_PATH_EXIST, -[ - ac_path_to_include=$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 -]) - -dnl Path to link, allready defined -AC_DEFUN(AC_LINK_PATH_EXIST, -[ - echo "$2" | grep "\-L$1" > /dev/null - result=$? - if test $result = 0; then - ac_path_to_link="" - else - ac_path_to_link="-L$1" - fi -]) - -dnl ------------------------------------------------------------------------ -dnl Process this file with autoconf to produce a configure script. -dnl ------------------------------------------------------------------------ - -AC_INIT(configure.in) - -dnl ------------------------------------------------------------------------ -dnl Check platform -dnl ------------------------------------------------------------------------ - -OS="${OSTYPE}" - -if test "x$OS" = "x"; then - UNAME=`uname` - AC_MSG_ERROR("The system variable OS has not been set" - "please set is everytime befor compiling on this system" - "A good example for this system would be:" - "setenv OSTYPE $UNAME for csh as a SHELL" - "EXPORT OSTYPE=$UNAME for sh as SHELL" - "please set this and restart again." - ) -fi - -dnl ------------------------------------------------------------------------ -dnl Set base directory -dnl ------------------------------------------------------------------------ - -WXBASEDIR=`pwd` -AC_SUBST(WXBASEDIR) - -dnl ------------------------------------------------------------------------ -dnl search path for includes and libraries -dnl ------------------------------------------------------------------------ - -SEARCH_INCLUDE="\ - /usr/Motif1.2/include \ - \ - /usr/X11R6/include \ - /usr/X11R5/include \ - /usr/X11R4/include \ - \ - /usr/include/X11R6 \ - /usr/include/X11R5 \ - /usr/include/X11R4 \ - \ - /usr/local/X11R6/include \ - /usr/local/X11R5/include \ - /usr/local/X11R4/include \ - \ - /usr/local/include/X11R6 \ - /usr/local/include/X11R5 \ - /usr/local/include/X11R4 \ - \ - /usr/X11/include \ - /usr/include/X11 \ - /usr/local/X11/include \ - /usr/local/include/X11 \ - \ - /usr/X386/include \ - /usr/x386/include \ - /usr/XFree86/include/X11 \ - \ - /usr/include \ - /usr/local/include \ - /usr/unsupported/include \ - /usr/athena/include \ - /usr/local/x11r5/include \ - /usr/lpp/Xamples/include \ - \ - /usr/local/include/gtk \ - /usr/X11R6/include/Xm \ - /usr/X11/include/Xm \ - /usr/include/qt \ - \ - /usr/openwin/include \ - /usr/openwin/share/include \ - " - -SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \ - " - -dnl ------------------------------------------------------------------------ -dnl standard checks -dnl ------------------------------------------------------------------------ - -dnl ################### -dnl # checks programs # -dnl ################### - -dnl C-compiler checks -dnl ================= -dnl use what compiler -AC_PROG_CC -dnl defines CC with the compiler to use -dnl defines GCC with yes if using gcc -dnl defines GCC empty if not using gcc -dnl defines CFLAGS - -CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'` - -dnl does compiler support -c and -o simultaniously -AC_PROG_CC_C_O -dnl defines NO_MINUS_C_MINUS_O if compiler does not accept -dnl both switches simultaniously -dnl what is the c-preprocessor -AC_PROG_CPP -dnl defines CPP with the c-preprocessor -dnl is -traditional needed for correct compilations -AC_PROG_GCC_TRADITIONAL -dnl adds -traditional for gcc if needed - -AC_LANG_SAVE - -dnl C++-compiler checks -dnl =================== -dnl use what compiler -AC_PROG_CXX -dnl defines CXX with the compiler to use -dnl defines GXX with yes if using gxx -dnl defines GXX empty if not using gxx -dnl defines CXXFLAGS -dnl what is the C++-preprocessor -AC_PROG_CXXCPP -dnl defines CXXCPP with the C++-preprocessor - -CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'` - -AC_LANG_RESTORE - -dnl ranlib command -dnl ============== -AC_PROG_RANLIB -dnl defines RANLIB with the appropriate command - -dnl ar command -dnl ========== -AC_CHECK_PROG(AR, ar, ar, ar) -dnl defines AR with the appropriate command - -dnl install checks -dnl ============== -AC_PROG_INSTALL -dnl defines INSTALL with the appropriate command - -dnl does ln -s works -dnl ================ -AC_PROG_LN_S -dnl defines LN_S with the appropriate command - -dnl awk command -dnl =========== -AC_PROG_AWK -dnl defines AWK with the appropriate command - -dnl ############### -dnl # make checks # -dnl ############### -dnl check if VPATH works -AC_MSG_CHECKING("make for VPATH support") -dnl create Makefile -cat - << EOF > confMake -check : file - cp \$? \$@ - cp \$? final_file -EOF - -if test ! -d sub ; then - mkdir sub -fi -echo dummy > sub/file -${MAKE-make} -f confMake VPATH=sub 2> config.log > /dev/null -RESULT=$? -rm -f sub/file check final_file config.log confMake -rmdir sub -if test "$RESULT" = 0; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) - AC_MSG_ERROR( -You need a make-utility that is able to use the variable -VPATH correctly. -If your version of make does not support VPATH correctly, -please install GNU-make (possibly as gmake), and start -configure with the following command: -export MAKE=gmake; ./configure for sh-type shells -setenv MAKE gmake; ./configure for csh-type shells -Also please do remember to use gmake in this case every time -you are trying to compile. -) -fi - -dnl #################### -dnl # checks libraries # -dnl #################### - -dnl find the X11 include and library files -AC_PATH_XTRA -dnl defines x_includes and x_libraries - -dnl ####################### -dnl # checks header files # -dnl ####################### -AC_HEADER_DIRENT -dnl defines DIR -dnl defines MACRO HAVE_DIRENT_H if dirent.h exists -dnl defines MACRO HAVE_SYS_NDIR_H if sys/ndir.h exists -dnl defines MACRO HAVE_SYS_DIR_H if sys/dir.h exists -dnl defines MACRO HAVE_NDIR_H if ndir.h exists -AC_HEADER_STDC -dnl defines STDC_HEADERS if ANSI-C header -AC_HEADER_SYS_WAIT -dnl defines HAVE_SYS_WAIT_H if sys/wait.h exist and is POSIX.1 -AC_CHECK_HEADER(fcntl.h) -dnl defines HAVE_FCNTL_H -AC_CHECK_HEADER(limits.h) -dnl defines HAVE_LIMITS_h -AC_CHECK_HEADER(sys/file.h) -dnl defines HAVE_SYS_FILE_H -AC_CHECK_HEADER(sys/time.h) -dnl defines HAVE_SYS_TIME_H -AC_CHECK_HEADER(unistd.h) -dnl defines HAVE_UNISTD_H -dnl As it needs Linux 2.1.x for the moment: check whether the file exists (GL). -AC_CHECK_HEADER(linux/joystick.h) -GTK_JOYSTICK="" -if test "$ac_cv_header_linux_joystick_h" = "yes"; then - GTK_JOYSTICK="gtk/joystick.cpp" -fi -AC_SUBST(GTK_JOYSTICK) - -dnl ################### -dnl # checks typedefs # -dnl ################### -AC_TYPE_GETGROUPS -dnl defines GETGROUPS_T -AC_TYPE_MODE_T -dnl defines mode_t if not already defined -AC_TYPE_OFF_T -dnl defines off_t if not already defined -AC_TYPE_PID_T -dnl defines pid_t if not already defined -AC_TYPE_SIGNAL -dnl defines RETSIGTYPE for the correct return type of signal -AC_TYPE_SIZE_T -dnl defines size_t if not already defined -AC_TYPE_UID_T -dnl defines uid_t and gid_t if not already defined - -dnl ##################### -dnl # checks structures # -dnl ##################### - -AC_HEADER_STAT -dnl defines STAT_MACROS_BROKEN if S_ISDIR and S_ISREG -dnl do not work properly -AC_HEADER_TIME -dnl defines TIME_WITH_SYS_TIME if time.h and sys/time.h can -dnl both be included -AC_STRUCT_ST_BLKSIZE -dnl defines HAVE_ST_BLKSIZE if struct stat contains st_blksize -AC_STRUCT_ST_BLOCKS -dnl defines HAVE_ST_BLOCKS if struct stat contains st_blocks -AC_STRUCT_ST_RDEV -dnl defines HAVE_ST_RDEV if struct stat contains st_rdev -AC_STRUCT_TM -dnl defines TM_IN_SYS_TIME if struct tm is not in time.h -AC_STRUCT_TIMEZONE -dnl defines HAVE_ST_BLKSIZE if struct tm contains tm_zone -dnl otherwise -dnl defines HAVE_TZNAME if external array tzname is found - -dnl ################################### -dnl # checks compiler characteristics # -dnl ################################### -dnl AC_C_CROSS - -AC_C_CONST -dnl defines const to be empty if c-compiler does not support const fully -AC_C_INLINE -dnl defines inline to a sensible value for the c-compiler -AC_C_CHAR_UNSIGNED -dnl defines __CHAR_UNSIGNED__ if char is unsigned -AC_C_LONG_DOUBLE -dnl defines HAVE_LONGDOUBLE if compiler supports long double - -AC_C_BIGENDIAN -dnl defines WORDS_BIGENDIAN if system is big endian - -AC_CHECK_SIZEOF(int *) -AC_CHECK_SIZEOF(int) -AC_CHECK_SIZEOF(long) -dnl defines the size of certain types of variables in SIZEOF_??? - -dnl ############################ -dnl # checks library functions # -dnl ############################ - -dnl ########################## -dnl # checks system services # -dnl ########################## - - -AC_SYS_LONG_FILE_NAMES -dnl defines HAVE_LONG_FILENAMES if filenames longer then -dnl 14 chars are supported - -dnl AC_SYS_RESTARTABLE_SYSCALLS -dnl defines HAVE_RESTARTABLE_SYSCALLS if the system restarts a -dnl system call that is interrupted -dnl by a signal - -dnl ################# -dnl # checks PARSER # -dnl ################# - -dnl YACC checks -dnl =========== -AC_PROG_YACC -dnl defines YACC with the appropriate command - -dnl LEX checks -dnl ========== -AC_PROG_LEX -dnl defines LEX with the appropriate command -dnl defines LEXLIB with the appropriate library -dnl what type is yytext -AC_DECL_YYTEXT -dnl defines YYTEXT_POINTER if yytext is char* -dnl defines LEX_OUTPUT_ROOT as to the base of the -dnl filename output by the lexer - -dnl ------------------------------------------------------------------------ -dnl main includes -dnl ------------------------------------------------------------------------ - -CHECK_INCLUDE="-I/usr/include $X_CFLAGS" -CHECK_LIB="-L/lib -L/usr/lib $X_LIBS" - -dnl ------------------------------------------------------------------------ -dnl host system -dnl ------------------------------------------------------------------------ - -AC_CANONICAL_HOST -canonical=$host -configuration=$host_alias - -dnl ------------------------------------------------------------------------ -dnl system settings -dnl ------------------------------------------------------------------------ - -USE_UNIX=1 - - -USE_LINUX= -USE_SGI= -USE_HPUX= -USE_SYSV= -USE_SVR4= -USE_AIX= -USE_SUN= -USE_SOLARIS= -USE_SUNOS= -USE_ALPHA= -USE_OSF= -USE_BSD= -USE_FREEBSD= -USE_VMS= -USE_ULTRIX= -USE_DATA_GENERAL= - -case "${canonical}" in - *-hp-hpux* ) - USE_HPUX=1 - AC_DEFINE(__HPUX__) - ;; - *-*-linux* ) - USE_LINUX=1 - AC_DEFINE(__LINUX__) - ;; - *-*-irix5* | *-*-irix6* ) - USE_SGI=1 - USE_SVR4=1 - AC_DEFINE(__SGI__) - AC_DEFINE(__SVR4__) - ;; - *-*-solaris2* ) - USE_SUN=1 - USE_SOLARIS=1 - USE_SVR4=1 - AC_DEFINE(__SUN__) - AC_DEFINE(__SOLARIS__) - AC_DEFINE(__SVR4__) - ;; - *-*-sunos4* ) - USE_SUN=1 - USE_SUNOS=1 - USE_BSD=1 - AC_DEFINE(__SUN__) - AC_DEFINE(__SUNOS__) - AC_DEFINE(__BSD__) - ;; - *-*-freebsd* | *-*-netbsd*) - USE_BSD=1 - USE_FREEBSD=1 - AC_DEFINE(__FREEBSD__) - AC_DEFINE(__BSD__) - ;; - *-*-osf* ) - USE_ALPHA=1 - USE_OSF=1 - AC_DEFINE(__ALPHA__) - AC_DEFINE(__OSF__) - ;; - *-*-dgux5* ) - USE_ALPHA=1 - USE_SVR4=1 - AC_DEFINE(__ALPHA__) - AC_DEFINE(__SVR4__) - ;; - *-*-sysv5* ) - USE_SYSV=1 - USE_SVR4=1 - AC_DEFINE(__SYSV__) - AC_DEFINE(__SVR4__) - ;; - *-*-aix* ) - USE_AIX=1 - USE_SYSV=1 - USE_SVR4=1 - AC_DEFINE(__AIX__) - AC_DEFINE(__SYSV__) - AC_DEFINE(__SVR4__) - ;; - *) - AC_MSG_ERROR(I don't know your system type.) -esac - -dnl ------------------------------------------------------------------------ -dnl defaults for command options -dnl ------------------------------------------------------------------------ - -AC_OVERRIDES_PREPARE - -DEFAULT_USE_GTK=1 -DEFAULT_USE_QT=0 -DEFAULT_USE_MOTIF=0 - -DEFAULT_USE_SHARED=1 -DEFAULT_USE_OPTIMISE=1 -DEFAULT_USE_PROFILE=0 -DEFAULT_USE_DEBUG_FLAG=0 -DEFAULT_USE_DEBUG_INFO=0 -DEFAULT_USE_MEM_TRACING=0 -DEFAULT_USE_DMALLOC=0 -DEFAULT_USE_APPLE_IEEE=1 -DEFAULT_USE_IOSTREAMH=1 - -DEFAULT_USE_ZLIB=1 -DEFAULT_USE_GDK_IMLIB=1 -DEFAULT_USE_LIBPNG=1 -DEFAULT_USE_ODBC=1 - -DEFAULT_USE_GAUGE=1 -DEFAULT_USE_SCROLLBAR=1 -DEFAULT_USE_LISTCTRL=1 -DEFAULT_USE_TREECTRL=1 -DEFAULT_USE_GRID=1 -DEFAULT_USE_TAB_DIALOG=1 -DEFAULT_USE_NOTEBOOK=1 - -DEFAULT_USE_TIMEDATE=1 -DEFAULT_USE_FRACTION=1 -DEFAULT_USE_LOG=1 -DEFAULT_USE_INTL=1 -DEFAULT_USE_CONFIG=1 -DEFAULT_USE_STREAMS=1 -DEFAULT_USE_SERIAL=1 -DEFAULT_USE_FILE=1 -DEFAULT_USE_TEXTFILE=1 - -DEFAULT_USE_AFM_FOR_POSTSCRIPT=1 -DEFAULT_WX_NORMALIZED_PS_FONTS=1 -DEFAULT_USE_POSTSCRIPT=1 - -DEFAULT_USE_IPC=1 -DEFAULT_USE_RESOURCES=1 -DEFAULT_USE_CONSTRAINTS=1 -DEFAULT_USE_CLIPBOARD=0 -DEFAULT_USE_DND=1 - -DEFAULT_USE_MDI_ARCHITECTURE=1 -DEFAULT_USE_DOC_VIEW_ARCHITECTURE=1 -DEFAULT_USE_PRINTING_ARCHITECTURE=1 - -DEFAULT_USE_PROLOGIO=1 -DEFAULT_USE_WX_RESOURCES=1 -DEFAULT_USE_RPC=0 - -DEFAULT_USE_OPENGL=0 -DEFAULT_USE_METAFILE=0 -DEFAULT_USE_WXGRAPH=0 -DEFAULT_USE_WXTREE=0 -DEFAULT_USE_HELP=0 - -dnl ---------------------------------------------------------------- -dnl toolkit options -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(gtk,gtk, -**--with-gtk use GTK, -USE_GTK) - -AC_OVERRIDES(qt,qt, -**--with-qt use Qt, -USE_QT) - -AC_OVERRIDES(motif,motif, -**--with-motif use Motif/Lesstif, -USE_MOTIF) - -dnl ---------------------------------------------------------------- -dnl compile options -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(shared,shared, -**--with-shared create shared libraries, -USE_SHARED) - -AC_OVERRIDES(optimise,optimise, -**--with-optimise create optimised code, -USE_OPTIMISE) - -AC_OVERRIDES(debug_flag,debug_flag, -**--with-debug_flag create code with WXDEBUG define set to 1, -USE_DEBUG_FLAG) - -AC_OVERRIDES(debug_info,debug_info, -**--with-debug_info create code with debuging information, -USE_DEBUG_INFO) - -AC_OVERRIDES(mem_tracing,mem_tracing, -**--with-mem_traing create code with memory tracing, -USE_MEM_TRACING) - -AC_OVERRIDES(dmalloc,dmalloc, -**--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/), -USE_DMALLOC) - -AC_OVERRIDES(profile,profile, -**--with-profile create code with profiling information, -USE_PROFILE) - -AC_OVERRIDES(apple_ieee, apple_ieee, -**--with_apple_ieee use the Apple IEEE codec, -USE_APPLE_IEEE) - -dnl ---------------------------------------------------------------- -dnl user options for libraries -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(zlib,zlib, -**--with-zlib use zlib for LZW comression, -USE_ZLIB) - -AC_OVERRIDES(gdk_imlib,gdk_imlib, -**--with-gdk_imlib use Raster's gdk_imlib (Image library), -USE_GDK_IMLIB) - -AC_OVERRIDES(libpng,libpng, -**--with-libpng use libpng (PNG image format), -USE_LIBPNG) - -AC_OVERRIDES(odbc,odbc, -**--with-odbc use iODBC and wxODBC classes, -USE_ODBC) - -AC_OVERRIDES(opengl,opengl, -**--with-opengl use OpenGL (or Mesa), -USE_OPENGL) - -dnl ---------------------------------------------------------------- -dnl user options for GUI control classes -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(gauge,gauge, -**--with-gauge use wxGauge class, -USE_GAUGE) - -AC_OVERRIDES(scrollbar,scrollbar, -**--with-scrollbar use wxScrollbar class, -USE_SCROLLBAR) - -AC_OVERRIDES(listctrl,listctrl, -**--with-listctrl use wxListCtrl class, -USE_LISTCTRL) - -AC_OVERRIDES(treectrl,treectrl, -**--with-treectrl use wxTreeCtrl class, -USE_TREECTRL) - -AC_OVERRIDES(grid,grid, -**--with-grid use wxGrid class, -USE_GRID) - -AC_OVERRIDES(tab_dialog,tab_dialog, -**--with-tab_dialog use wxTabDia class, -USE_TAB_DIALOG) - -AC_OVERRIDES(notebook,notebook, -**--with-notebook use wxNotebook class, -USE_NOTEBOOK) - -dnl ---------------------------------------------------------------- -dnl user options for non-GUI classes -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(timedate, timedate, -**--with-timedate use wxTime and wxDate classes, -USE_TIMEDATE) - -AC_OVERRIDES(fraction,fraction, -**--with-fraction use wxFraction class, -USE_FRACTION) - -AC_OVERRIDES(log,log, -**--with-log use logging system, -USE_LOG) - -AC_OVERRIDES(intl,intl, -**--with-intl use internationalization system, -USE_INTL) - -AC_OVERRIDES(config,config, -**--with-config use wxConfig class, -USE_CONFIG) - -AC_OVERRIDES(streams,streams, -**--with-streams use wxStream etc classes, -USE_STREAMS) - -AC_OVERRIDES(serial,serial, -**--with-serial use class serialization, -USE_SERIAL) - -AC_OVERRIDES(file,file, -**--with-file use wxFile class, -USE_FILE) - -AC_OVERRIDES(textfile,textfile, -**--with-textfile use wxTextFile class, -USE_TEXTFILE) - -dnl ---------------------------------------------------------------- -dnl user options for PostScript -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(afmfonts,afmfonts, -**--with-afmfonts use Adobe Font Metric Font table, -USE_AFM_FOR_POSTSCRIPT) - -AC_OVERRIDES(normalized, normalized, -**--with-PS-normalized use normalized PS fonts, -WX_NORMALIZED_PS_FONTS) - -AC_OVERRIDES(postscript, postscript, -**--with-postscript use wxPostscriptDC device context, -USE_POSTSCRIPT) - -dnl ---------------------------------------------------------------- -dnl user options for Prolog and Resources -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(wxresources,wxresources, -**--with-wxresources use wxWindows's resources, -USE_WX_RESOURCES) - -AC_OVERRIDES(prologio,prologio, -**--with-prologio use Prolog IO library, -USE_PROLOGIO) - -AC_OVERRIDES(rpc,RPC, -**--with-rpc use Prolog's remote procedure calls, -USE_RPC) - -dnl ---------------------------------------------------------------- -dnl user options for misc stuff -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(ipc,IPC, -**--with-ipc use interprocess communication (wxSocket etc.), -USE_IPC) - -AC_OVERRIDES(resources,resources, -**--with-resources use X resources for saving information, -USE_RESOURCES) - -AC_OVERRIDES(clipboard,clipboard, -**--with-clipboard use wxClipboard classes, -USE_CLIPBOARD) - -AC_OVERRIDES(dnd,dnd, -**--with-dnd use Drag'n'Drop classes, -USE_DND) - -AC_OVERRIDES(constraints,constrains, -**--with-constraints use layout-constraints system, -USE_CONSTRAINTS) - -dnl ---------------------------------------------------------------- -dnl user options for architectures -dnl ---------------------------------------------------------------- - -AC_OVERRIDES(mdi,mdi, -**--with-mdi use multiple document interface architecture, -USE_MDI_ARCHITECTURE) - -AC_OVERRIDES(docview,docview, -**--with-docview use document view architecture, -USE_DOC_VIEW_ARCHITECTURE) - -AC_OVERRIDES(printarch,printarch, -**--with-printarch use printing architecture, -USE_PRINTING_ARCHITECTURE) - -dnl ---------------------------------------------------------------- -dnl user options with no effect yet -dnl ---------------------------------------------------------------- -dnl -dnl AC_OVERRIDES(metafile, metafile, -dnl **--with-metafile use metafile (no effect), -dnl USE_METAFILE) -dnl -dnl AC_OVERRIDES(help,help, -dnl **--with-help use help (no effect), -dnl USE_HELP) -dnl -dnl AC_OVERRIDES(wxgraph,wxgraph, -dnl **--with-wxgraph use wxgraph (no effect), -dnl USE_WXGRAPH) -dnl -dnl AC_OVERRIDES(wxtree,wxtree, -dnl **--with-wxtree use wxtree (no effect), -dnl USE_WXTREE) -dnl -dnl AC_OVERRIDES(package,message,helpmessage,variable) -dnl -dnl ---------------------------------------------------------------- -dnl Unix, obviously -dnl ---------------------------------------------------------------- - -if test "$USE_UNIX" = 1 ; then - AC_DEFINE(__UNIX__) -fi - -dnl ---------------------------------------------------------------- -dnl search for toolkit (widget sets) -dnl ---------------------------------------------------------------- - -TOOLKIT= -TOOLKIT_DEF= - -GUI_TK_INCLUDE= -GUI_TK_LIBRARY= -GUI_TK_LINK= - -MAKEINCLUDE= - -if test "$USE_GTK" = 1; then - AM_PATH_GTK(0.99.7, [ - GUI_TK_INCLUDE="$GTK_CFLAGS" - GUI_TK_LIBRARY="$GTK_LIBS" - ], AC_MSG_ERROR(Are gtk-config and the GTK in path and up-to-date?)) - AC_DEFINE(__WXGTK__) - TOOLKIT=GTK - TOOLKIT_DEF=__WXGTK__ - MAKEINCLUDE=../gtk.inc -fi - -if test "$USE_QT" = 1; then - AC_MSG_CHECKING(for Qt includes) - AC_PATH_FIND_INCLUDES($SEARCH_INCLUDE,qapp.h) - if test "$ac_find_includes" != "" ; then - AC_MSG_RESULT(found $ac_find_includes) - AC_MSG_CHECKING(for Qt library) - AC_PATH_FIND_LIBRARIES($SEARCH_LIB,qt) - if test "$ac_find_libraries" != "" ; then - AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE) - AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB) - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - AC_MSG_RESULT(found Qt at $ac_find_libraries) - else - AC_MSG_ERROR(no) - fi - else - AC_MSG_ERROR(no) - fi - GUI_TK_LINK="-lXext -lX11 -lqt -lm" - AC_DEFINE(__WXQT__) - TOOLKIT=QT - TOOLKIT_DEF=__WXQT__ - MAKEINCLUDE=../qt.inc -fi - -if test "$USE_MOTIF" = 1; then - AC_MSG_CHECKING(for Motif/Lesstif includes) - AC_PATH_FIND_INCLUDES($SEARCH_INCLUDE,Xm.h) - if test "$ac_find_includes" != "" ; then - AC_MSG_RESULT(found $ac_find_includes) - AC_MSG_CHECKING(for Motif or Lesstif library) - AC_PATH_FIND_LIBRARIES($SEARCH_LIB,Xm) - if test "$ac_find_libraries" != "" ; then - AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE) - AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB) - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - AC_MSG_RESULT(found at $ac_find_libraries) - else - AC_MSG_ERROR(no) - fi - else - AC_MSG_ERROR(no) - fi - GUI_TK_LINK="-lXext -lXt -lX11 -lXm -lm" - AC_DEFINE(__WXMOTIF__) - TOOLKIT=MOTIF - TOOLKIT_DEF=__WXMOTIF__ - MAKEINCLUDE=../motif.inc -fi - -if test "$TOOLKIT" = ""; then - AC_MSG_ERROR(You must specify a toolkit: --with-gtk --with-qt --with-motif) -fi - -AC_SUBST(GUI_TK_INCLUDE) -AC_SUBST(GUI_TK_LIBRARY) -AC_SUBST(GUI_TK_LINK) - -AC_SUBST(TOOLKIT) -AC_SUBST(TOOLKIT_DEF) - -AC_SUBST(MAKEINCLUDE) - -dnl ---------------------------------------------------------------- -dnl Register compile options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -WXDEBUG= -if test "$USE_DEBUG_INFO" = 1 ; then - WXDEBUG="-g -O0" -fi -AC_SUBST(WXDEBUG) - -if test "$USE_DEBUG_FLAG" = 1 ; then - AC_DEFINE_UNQUOTED(WXDEBUG,$USE_DEBUG_FLAG) - WXDEBUG_DEFINE="-D__WXDEBUG__" - AC_SUBST(WXDEBUG_DEFINE) -fi - -if test "$USE_MEM_TRACING" = 1 ; then - AC_DEFINE_UNQUOTED(USE_MEMORY_TRACING,$USE_MEM_TRACING) - dnl AC_DEFINE_UNQUOTED(USE_GLOBAL_MEMORY_OPERATORS,$USE_MEM_TRACING) -fi - -EXTRA_LINK= -if test "$USE_DMALLOC" = 1 ; then - EXTRA_LINK="$EXTRA_LINK -ldmalloc" -fi -AC_SUBST(EXTRA_LINK) - -PROFILE= -if test "$USE_PROFILE" = 1 ; then - PROFILE="-pg" -fi -AC_SUBST(PROFILE) - -CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" ` -CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" ` -if test "$USE_OPTIMISE" = 0 ; then - OPTIMISE= -else - if test "$GCC" = yes ; then - OPTIMISE="-O2" - case "${canonical}" in - i586-*-*|i686-*-* ) - OPTIMISE="${OPTIMISE} " - ;; - esac - else - OPTIMISE="-O" - fi -fi -AC_SUBST(OPTIMISE) - -APPLE_IEEE=NONE -if test "$USE_APPLE_IEEE" = 1 ; then - APPLE_IEEE="APPLE_IEEE" - AC_DEFINE_UNQUOTED(USE_APPLE_IEEE,$USE_APPLE_IEEE) -fi - -USE_IOSTREAMH=$DEFAULT_USE_IOSTREAMH -AC_DEFINE_UNQUOTED(USE_IOSTREAMH,$USE_IOSTREAMH) - -dnl ---------------------------------------------------------------- -dnl Register library options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_ZLIB" = 1 ; then - AC_DEFINE_UNQUOTED(USE_ZLIB,$USE_ZLIB) -fi - -if test "$USE_GDK_IMLIB" = 1 ; then - AC_DEFINE_UNQUOTED(USE_GDK_IMLIB,$USE_GDK_IMLIB) -fi - -if test "$USE_LIBPNG" = 1 ; then - AC_DEFINE_UNQUOTED(USE_LIBPNG,$USE_LIBPNG) -fi - -if test "$USE_ODBC" = 1 ; then - AC_DEFINE_UNQUOTED(USE_ODBC,$USE_ODBC) -fi - -dnl ---------------------------------------------------------------- -dnl Register GUI-control options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_GAUGE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_GAUGE,$USE_GAUGE) -fi - -if test "$USE_SCROLLBAR" = 1 ; then - AC_DEFINE_UNQUOTED(USE_SCROLLBAR,$USE_SCROLLBAR) -fi - -if test "$USE_LISTCTRL" = 1 ; then - AC_DEFINE_UNQUOTED(USE_LISTCTRL,$USE_LISTCTRL) -fi - -if test "$USE_TREECTRL" = 1 ; then - AC_DEFINE_UNQUOTED(USE_TREECTRL,$USE_TREECTRL) -fi - -if test "$USE_GRID" = 1 ; then - AC_DEFINE_UNQUOTED(USE_GRID,$USE_GRID) -fi - -if test "$USE_TAB_DIALOG" = 1 ; then - AC_DEFINE_UNQUOTED(USE_TAB_DIALOG,$USE_TAB_DIALOG) -fi - -if test "$USE_NOTEBOOK" = 1 ; then - AC_DEFINE_UNQUOTED(USE_NOTEBOOK,$USE_NOTEBOOK) -fi - -dnl ---------------------------------------------------------------- -dnl Register non-GUI class options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_CONFIG" = 1 ; then - AC_DEFINE_UNQUOTED(USE_CONFIG,$USE_CONFIG) -fi - -if test "$USE_TIMEDATE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_TIMEDATE,$USE_TIMEDATE) -fi - -if test "$USE_FRACTION" = 1 ; then - AC_DEFINE_UNQUOTED(USE_FRACTION,$USE_FRACTION) -fi - -if test "$USE_LOG" = 1 ; then - AC_DEFINE_UNQUOTED(USE_LOG,$USE_LOG) -fi - -if test "$USE_INTL" = 1 ; then - AC_DEFINE_UNQUOTED(USE_INTL,$USE_INTL) -fi - -if test "$USE_STREAMS" = 1 ; then - AC_DEFINE_UNQUOTED(USE_STREAMS,$USE_STREAMS) -fi - -if test "$USE_SERIAL" = 1 ; then - AC_DEFINE_UNQUOTED(USE_SERIAL,$USE_SERIAL) -fi - -if test "$USE_FILE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_FILE,$USE_FILE) -fi - -if test "$USE_TEXTFILE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_TEXTFILE,$USE_TEXTFILE) -fi - -dnl ---------------------------------------------------------------- -dnl Register Prolog and Resources options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_RPC" = 1 ; then - AC_DEFINE_UNQUOTED(USE_RPC,$USE_RPC) -fi - -if test "$USE_WX_RESOURCES" = 1 ; then - AC_DEFINE_UNQUOTED(USE_WX_RESOURCES,$USE_WX_RESOURCES) -fi - -if test "$USE_PROLOGIO" = 1 ; then - AC_DEFINE_UNQUOTED(USE_PROLOGIO) -fi - -dnl ---------------------------------------------------------------- -dnl Register PostScript options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_POSTSCRIPT" = 1 ; then - AC_DEFINE_UNQUOTED(USE_POSTSCRIPT) -fi - -AC_DEFINE_UNQUOTED(USE_AFM_FOR_POSTSCRIPT,$USE_AFM_FOR_POSTSCRIPT) - -AC_DEFINE_UNQUOTED(WX_NORMALIZED_PS_FONTS,$WX_NORMALIZED_PS_FONTS) - -dnl ---------------------------------------------------------------- -dnl Register architecture options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_MDI_ARCHITECTURE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_MDI_ARCHITECTURE,$USE_MDI_ARCHITECTURE) -fi - -if test "$USE_DOC_VIEW_ARCHITECTURE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_DOC_VIEW_ARCHITECTURE,$USE_DOC_VIEW_ARCHITECTURE) -fi - -if test "$USE_PRINTING_ARCHITECTURE" = 1 ; then - AC_DEFINE_UNQUOTED(USE_PRINTING_ARCHITECTURE,$USE_PRINTING_ARCHITECTURE) -fi - -dnl ---------------------------------------------------------------- -dnl Register misc options for makefiles and setup.h -dnl ---------------------------------------------------------------- - -if test "$USE_IPC" = 1 ; then - AC_DEFINE_UNQUOTED(USE_IPC) -fi - -if test "$USE_RESOURCES" = 1 ; then - AC_DEFINE_UNQUOTED(USE_RESOURCES,$USE_RESOURCES) -fi - -if test "$USE_CLIPBOARD" = 1 ; then - AC_DEFINE_UNQUOTED(USE_CLIPBOARD,$USE_CLIPBOARD) -fi - -if test "$USE_DND" = 1 ; then - AC_DEFINE_UNQUOTED(USE_DND,$USE_DND) -fi - -if test "$USE_CONSTRAINTS" = 1 ; then - AC_DEFINE_UNQUOTED(USE_CONSTRAINTS,$USE_CONSTRAINTS) -fi - -dnl ---------------------------------------------------------------- -dnl No effect -dnl ---------------------------------------------------------------- - -METAFILE=NONE -if test "$USE_METAFILE" = 1 ; then - METAFILE="METAFILE" - AC_DEFINE_UNQUOTED(USE_METAFILE,$USE_METAFILE) -fi -AC_SUBST(METAFILE) - -HELP=NONE -if test "$USE_HELP" = 1 ; then - HELP="HELP" - AC_DEFINE_UNQUOTED(USE_HELP,$USE_HELP) -fi -AC_SUBST(HELP) - -WXGRAPH=NONE -if test "$USE_WXGRAPH" = 1 ; then - WXGRAPH="WXGRAPH" - AC_DEFINE_UNQUOTED(USE_WXGRAPH,$USE_WXGRAPH) -fi -AC_SUBST(WXGRAPH) - -WXTREE=NONE -if test "$USE_WXTREE" = 1 ; then - WXTREE="WXTREE" - AC_DEFINE_UNQUOTED(USE_WXTREE,$USE_WXTREE) -fi -AC_SUBST(WXTREE) - -GLCANVAS=NONE -if test "$USE_OPENGL" = 1 ; then - GLCANVAS="GLCANVAS" -fi - -dnl ---------------------------------------------------------------- -dnl select dynamic loader (used by iODBC to load drivers) -dnl ---------------------------------------------------------------- - -DL_LIBRARY=-ldl - -AC_SUBST(DL_LIBRARY) - -dnl ---------------------------------------------------------------- -dnl thread support -dnl ---------------------------------------------------------------- - -USE_THREADS=1 -THREADS_LINK="" -UNIX_THREAD="" - -AC_ARG_WITH(threads, -[**--without-threads Force disabling threads ], -[USE_THREADS="$withval"]) - -if test "$USE_THREADS" = "1"; then - UNIX_THREAD="gtk/threadno.cpp" - - dnl For glibc 2 users who have the old libc 5 too - - AC_CHECK_LIB(pthread-0.7, pthread_create, [ - UNIX_THREAD="gtk/threadpsx.cpp" - THREADS_LINK="-lpthread-0.7" - ],[ - AC_CHECK_HEADER(sys/prctl.h, [ - UNIX_THREAD="gtk/threadsgi.cpp" - ]) - - dnl pthread_create is always available in pthread but it seems not to be - dnl the case for pthread_setcanceltype. - - AC_CHECK_LIB(pthread, pthread_setcanceltype, [ - UNIX_THREAD="gtk/threadpsx.cpp" - THREADS_LINK="-lpthread" - ]) - ]) - AC_CHECK_LIB(pthreads, pthread_setcanceltype, [ - UNIX_THREAD="gtk/threadpsx.cpp" - THREADS_LINK="-lpthreads" - ]) -fi - -if test -z "$UNIX_THREAD"; then - USE_THREADS=0 -fi - -AC_SUBST(UNIX_THREAD) -AC_SUBST(THREADS_LINK) -AC_DEFINE(USE_THREADS) - -dnl defines UNIX_THREAD it contains the source file to use for threads. (GL) -dnl defines THREADS_LINK it contains the thread library to link with. (GL) -dnl defines USE_THREADS if thread support is activated. (GL) - -dnl ---------------------------------------------------------------- -dnl search for opengl -dnl ---------------------------------------------------------------- - -OPENGL_INCLUDE= -OPENGL_LIBRARY= -OPENGL_LINK= - -if test "$USE_OPENGL" = 1; then - dnl checking OPENGL includes - AC_MSG_CHECKING(for OpenGL includes) - AC_PATH_FIND_INCLUDES($SEARCH_INCLUDE,GL/gl.h) - if test "$ac_find_includes" != "" ; then - OPENGL_INCLUDE="-I$ac_find_includes" - AC_MSG_RESULT(found $ac_find_includes) - dnl checking OPENGL libraries - AC_MSG_CHECKING(for OpenGL library) - AC_PATH_FIND_LIBRARIES($SEARCH_LIB,GL) - if test "$ac_find_libraries" != "" ; then - AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE) - AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB) - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - OPENGL_LIBRARY="$ac_path_to_link" - OPENGL_INCLUDE="$ac_path_to_include" - OPENGL_LINK="-lGL" - AC_MSG_RESULT(found OpenGL at $ac_find_libraries) - else - AC_PATH_FIND_LIBRARIES($SEARCH_LIB,MesaGL) - if test "$ac_find_libraries" != "" ; then - AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE) - AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB) - CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link" - CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include" - OPENGL_LIBRARY="$ac_path_to_link" - OPENGL_INCLUDE="$ac_path_to_include" - OPENGL_LINK="-lMesaGL" - AC_MSG_RESULT(found MESA at $ac_find_libraries) - else - AC_MSG_ERROR(no) - fi - fi - else - AC_MSG_ERROR(no) - fi -fi - -dnl ---------------------------------------------------------------- -dnl left-over -dnl ---------------------------------------------------------------- - -USE_GLX=$USE_OPENGL -if test "$USE_OPENGL" != 1; then - OPENGL_LIBRARIES= - OPENGL_INCLUDE= - OPENGL_LINK= - GLCANVAS=NONE -fi - -AC_DEFINE_UNQUOTED(USE_GLX,$USE_GLX) -AC_SUBST(OPENGL_INCLUDE) -AC_SUBST(OPENGL_LIBRARY) -AC_SUBST(OPENGL_LINK) -AC_SUBST(GLCANVAS) - -dnl ------------------------------------------------------------------------ -dnl compiler options for shared libs -dnl ------------------------------------------------------------------------ - -PICFLAGS= -CREATE_SHARED= -case "${canonical}" in - - *-hp-hpux* ) - if test "${CC}" != "gcc" ; then - CXXFLAGS="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE" - CFLAGS="${CFLAGS} -z -D_HPUX_SOURCE" - PICFLAGS="+z" - else - PICFLAGS="-fPIC" - fi - LDFLAGS="-Wl,+s" - CREATE_SHARED=sharedHpux - ;; - - *-*-linux* ) - PICFLAGS=-fPIC - CREATE_SHARED=sharedLinux - ;; - - *-*-irix5* | *-*-irix6* ) - # PICFLAGS can remain empty, as pic is the default - LDFLAGS="-Wl,+s" - CREATE_SHARED=sharedIrix - AC_DEFINE(SVR4) - ;; - - *-*-solaris2* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-KPIC" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedSolaris2 - AC_DEFINE(SVR4) - ;; - - *-*-sunos4* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-PIC" - else - PICFLAGS="-fPIC" - fi - LDFLAGS="-Wl,+s" - CREATE_SHARED=sharedSunos4 - AC_DEFINE(BSD) - ;; - - *-*-freebsd* | *-*-netbsd*) - PICFLAGS=-fPIC - CREATE_SHARED=sharedBsd - AC_DEFINE(BSD) - ;; - - *-*-osf* ) - PICFLAGS="-fPIC" - CREATE_SHARED=sharedOSF - ;; - - *-*-dgux5* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-K PIC" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedDgux - AC_DEFINE(SVR4) - ;; - - *-*-sysv5* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-K PIC" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedSysV - AC_DEFINE(SVR4) - ;; - - *-*-aix* ) - if test "${CC}" != "gcc" ; then - PICFLAGS="-bM\:SRE" - else - PICFLAGS="-fPIC" - fi - CREATE_SHARED=sharedAIX - AC_DEFINE(SYSV) - ;; - - *) - CREATE_SHARED= - PICFLAGS= -esac - -if test "x$GCC" = xyes; then - CFLAGS="${CFLAGS} -Wall" -fi - -if test "x$GXX" = xyes; then - CXXFLAGS="${CXXFLAGS} -Wall" -fi - -if test "$USE_SHARED" != 1; then - CREATE_SHARED= - PICFLAGS= -fi - -AC_SUBST(OS) -AC_SUBST(PICFLAGS) -AC_SUBST(CREATE_SHARED) - -dnl ------------------------------------------------------------------------ -dnl finish and clean-up -dnl ------------------------------------------------------------------------ - -dnl add OS to list of configured -echo $OS >> system.list - -AC_CONFIG_HEADER(./include/wx/gtk/setup.h:./setup/setup.hin) -AC_OUTPUT(./setup/substit,./setup/general/createall) - -AC_OVERRIDES_DONE diff --git a/distrib/msw/docsrc.rsp b/distrib/msw/docsrc.rsp deleted file mode 100644 index 1c18faefe8..0000000000 --- a/distrib/msw/docsrc.rsp +++ /dev/null @@ -1,85 +0,0 @@ -docs/latex/wx/*.tex -docs/latex/wx/*.sty -docs/latex/wx/*.bib -docs/latex/wx/*.hpj -docs/latex/wx/*.ini -docs/latex/wx/*.txt -docs/latex/wx/*.cnt -docs/latex/wx/*.eps -docs/latex/wx/*.bmp -docs/latex/wx/*.gif -docs/latex/wx/*.wmf - -docs/latex/porting/*.tex -docs/latex/porting/*.sty -docs/latex/porting/*.bib -docs/latex/porting/*.hpj -docs/latex/porting/*.ini -docs/latex/porting/*.txt -docs/latex/porting/*.cnt -docs/latex/porting/*.eps -docs/latex/porting/*.gif -docs/latex/porting/*.bmp - -utils/wxhelp/docs/*.tex -utils/wxhelp/docs/*.txt -utils/wxhelp/docs/*.hpj -utils/wxhelp/docs/*.ini -utils/wxhelp/docs/*.bmp -utils/wxhelp/docs/*.wmf -utils/wxhelp/docs/*.gif - -utils/tex2rtf/docs/*.tex -utils/tex2rtf/docs/*.txt -utils/tex2rtf/docs/*.hpj -utils/tex2rtf/docs/*.bib -utils/tex2rtf/docs/*.ini -utils/tex2rtf/docs/*.sty -utils/tex2rtf/docs/*.bmp -utils/tex2rtf/docs/*.shg -utils/tex2rtf/docs/*.wmf -utils/tex2rtf/docs/*.gif - -utils/wxtree/docs/*.tex -utils/wxtree/docs/*.ini -utils/wxtree/docs/*.bib -utils/wxtree/docs/*.txt -utils/wxtree/docs/*.hpj -utils/wxtree/docs/*.bmp -utils/wxtree/docs/*.wmf -utils/wxtree/docs/*.gif - -utils/wxgraph/docs/*.tex -utils/wxgraph/docs/*.ini -utils/wxgraph/docs/*.bib -utils/wxgraph/docs/*.txt -utils/wxgraph/docs/*.hpj -utils/wxgraph/docs/*.bmp -utils/wxgraph/docs/*.wmf -utils/wxgraph/docs/*.gif - -utils/mfutils/docs/*.tex -utils/mfutils/docs/*.txt -utils/mfutils/docs/*.hpj -utils/mfutils/docs/*.wmf -utils/mfutils/docs/*.bmp - -utils/wxprop/docs/*.txt -utils/wxprop/docs/*.hpj -utils/wxprop/docs/*.tex -utils/wxprop/docs/*.ini -utils/wxprop/docs/*.eps -utils/wxprop/docs/*.bmp -utils/wxprop/docs/*.wmf -utils/wxprop/docs/*.gif - -utils/dialoged/docs/*.txt -utils/dialoged/docs/*.hpj -utils/dialoged/docs/*.tex -utils/dialoged/docs/*.ini -utils/dialoged/docs/*.eps -utils/dialoged/docs/*.bmp -utils/dialoged/docs/*.wmf -utils/dialoged/docs/*.gif - - diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp deleted file mode 100644 index a1f1bba8d5..0000000000 --- a/distrib/msw/generic.rsp +++ /dev/null @@ -1,565 +0,0 @@ -distrib/*.* - -docs/readme.txt -docs/install.txt -docs/release.txt -docs/changes.txt -docs/upgrade.txt -docs/todo.txt -docs/licence.txt -docs/symbols.txt - -src/*.inc -src/mkdir - -src/common/*.cpp -src/common/dosyacc.c -src/common/doslex.c -src/common/vmsyacc.c -src/common/vmslex.c -src/common/extended.c -src/common/*.l -src/common/*.y -src/common/*.inc - -src/generic/*.cpp -src/generic/*.c -src/generic/*.inc - -src/png/*.c -src/png/*.h -src/png/makefile.* -src/png/INSTALL -src/png/CHANGES -src/png/README -src/png/TODO -src/png/*.1 -src/png/*.3 -src/png/*.5 -src/png/scripts/* - -src/zlib/*.c -src/zlib/*.h -src/zlib/INDEX -src/zlib/README -src/zlib/ChangeLog -src/zlib/configure -src/zlib/*.txt -src/zlib/makefile.* -src/zlib/*.com -src/zlib/*.3 -src/zlib/*.mms - -include/wx/*.h -include/wx/*.cpp -include/wx/wx_setup.vms -include/wx/common/*.h -include/wx/generic/*.h -lib/dummy - -bin/*.* - -tools/gettext/*.* - -bitmaps/xpm/16x16/*.* -bitmaps/xpm/32x32/*.* -bitmaps/xpm/64x64/*.* -bitmaps/xpm/misc/*.* -bitmaps/*.* -bitmaps/bmp/16x15/*.* -bitmaps/bmp/10x8/*.* -bitmaps/ico/32x32/*.* - -afm/*.* - -utils/*.txt -utils/make*.* - -utils/xpmshow/src/makefile.* -utils/xpmshow/src/*.cpp -utils/xpmshow/src/*.h -utils/xpmshow/src/*.def -utils/xpmshow/src/*.rc -utils/xpmshow/src/*.xpm -utils/xpmshow/src/*.bmp -utils/xpmshow/src/*.ico - -utils/wxhelp/src/*.cpp -utils/wxhelp/src/*.h -utils/wxhelp/src/makefile.* -utils/wxhelp/src/*.xbm -utils/wxhelp/src/*.xpm -utils/wxhelp/src/*.txt -utils/wxhelp/src/*.ico -utils/wxhelp/src/*.def -utils/wxhelp/src/*.rc - -utils/tex2rtf/src/wxwin/*.* -utils/tex2rtf/src/*.cpp -utils/tex2rtf/src/*.h -utils/tex2rtf/src/make*.* -utils/tex2rtf/src/*.xbm -utils/tex2rtf/src/*.xpm -utils/tex2rtf/src/*.sty -utils/tex2rtf/src/*.ini -utils/tex2rtf/src/*.inf -utils/tex2rtf/lib/dummy -utils/tex2rtf/src/*.bmp -utils/tex2rtf/src/*.ico -utils/tex2rtf/src/*.def -utils/tex2rtf/src/*.rc -utils/tex2rtf/tools/lacheck/*.* -utils/tex2rtf/tools/tcheck/*.awk -utils/tex2rtf/tools/tcheck/*.pl -utils/tex2rtf/tools/tcheck/*.bat - -utils/wxtree/src/*.cpp -utils/wxtree/src/*.h -utils/wxtree/src/makefile.* -utils/wxtree/src/*.xbm -utils/wxtree/src/*.xpm -utils/wxtree/lib/dummy -utils/wxtree/src/*.ico -utils/wxtree/src/*.def -utils/wxtree/src/*.rc - -utils/wxgraph/src/*.cpp -utils/wxgraph/src/*.c -utils/wxgraph/src/*.h -utils/wxgraph/src/makefile.* -utils/wxgraph/src/*.xbm -utils/wxgraph/src/*.xpm -utils/wxgraph/lib/dummy -utils/wxgraph/src/*.ico -utils/wxgraph/src/*.def -utils/wxgraph/src/*.rc - -utils/mfutils/src/*.cpp -utils/mfutils/src/*.h -utils/mfutils/src/*.rc -utils/mfutils/src/*.def -utils/mfutils/src/makefile.* -utils/mfutils/src/*.txt -utils/mfutils/lib/dummy -utils/mfutils/src/*.ico -utils/mfutils/src/*.def -utils/mfutils/src/*.bmp -utils/mfutils/src/*.ico - -utils/rcparser/src/*.cpp -utils/rcparser/src/*.c -utils/rcparser/src/*.h -utils/rcparser/src/makefile.* -utils/rcparser/src/*.xbm -utils/rcparser/src/*.xpm -utils/rcparser/lib/dummy -utils/rcparser/src/*.ico -utils/rcparser/src/*.def -utils/rcparser/src/*.rc -utils/rcparser/src/*.rh - -utils/colours/*.h -utils/colours/*.cpp -utils/colours/*.def -utils/colours/*.rc -utils/colours/makefile.* -utils/colours/*.xbm -utils/colours/*.xpm -utils/colours/*.txt - -utils/wxprop/src/*.h -utils/wxprop/src/*.cpp -utils/wxprop/src/*.def -utils/wxprop/src/*.rc -utils/wxprop/src/makefile.* -utils/wxprop/src/*.xbm -utils/wxprop/src/*.xpm -utils/wxprop/src/*.txt -utils/wxprop/src/*.ico -utils/wxprop/src/*.bmp -utils/wxprop/lib/dummy - -utils/dialoged/src/bitmaps/*.xbm -utils/dialoged/src/bitmaps/*.xpm -utils/dialoged/src/*.h -utils/dialoged/src/*.cpp -utils/dialoged/src/*.def -utils/dialoged/src/*.rc -utils/dialoged/src/makefile.* -utils/dialoged/src/*.xbm -utils/dialoged/src/*.xpm -utils/dialoged/src/*.txt -utils/dialoged/src/*.inf -utils/dialoged/test/*.h -utils/dialoged/src/*.ico -utils/dialoged/src/*.prj -utils/dialoged/src/*.bmp -utils/dialoged/src/bitmaps/*.bmp -utils/dialoged/src/bitmaps/*.ico -utils/dialoged/test/*.cpp -utils/dialoged/test/*.def -utils/dialoged/test/*.rc -utils/dialoged/test/makefile.* -utils/dialoged/lib/dummy -utils/dialoged/test/*.ico -utils/dialoged/test/*.prj -utils/dialoged/test/*.bmp - -samples/*.txt -samples/makefile.* - -samples/config/*.cpp -samples/config/*.h -samples/config/*.def -samples/config/makefile*.* -samples/config/*.xbm -samples/config/*.xpm -samples/config/*.txt -samples/config/*.ico -samples/config/*.bmp -samples/config/*.rc -samples/config/*.wav - -samples/dynamic/*.cpp -samples/dynamic/*.h -samples/dynamic/*.def -samples/dynamic/makefile*.* -samples/dynamic/*.xbm -samples/dynamic/*.xpm -samples/dynamic/*.txt -samples/dynamic/*.ico -samples/dynamic/*.bmp -samples/dynamic/*.rc -samples/dynamic/*.wav - -samples/bombs/*.cpp -samples/bombs/*.h -samples/bombs/*.def -samples/bombs/makefile*.* -samples/bombs/*.xbm -samples/bombs/*.xpm -samples/bombs/*.txt -samples/bombs/*.ico -samples/bombs/*.bmp -samples/bombs/*.rc - -samples/ipc/*.cpp -samples/ipc/*.h -samples/ipc/*.def -samples/ipc/makefile*.* -samples/ipc/*.xbm -samples/ipc/*.xpm -samples/ipc/*.ico -samples/ipc/*.rc - -samples/types/*.cpp -samples/types/*.h -samples/types/*.def -samples/types/*.rc -samples/types/*.txt -samples/types/makefile*.* -samples/types/*.xbm -samples/types/*.xpm -samples/types/*.ico - -samples/resource/*.cpp -samples/resource/*.h -samples/resource/*.def -samples/resource/*.rc -samples/resource/*.txt -samples/resource/*.wxr -samples/resource/makefile*.* -samples/resource/*.xbm -samples/resource/*.xpm -samples/resource/*.ico - -samples/animate/*.cpp -samples/animate/*.h -samples/animate/*.def -samples/animate/makefile*.* -samples/animate/*.xbm -samples/animate/*.xpm -samples/animate/*.ico -samples/animate/*.rc - -samples/mdi/*.cpp -samples/mdi/*.h -samples/mdi/*.def -samples/mdi/makefile*.* -samples/mdi/*.xbm -samples/mdi/*.xpm -samples/mdi/*.ico -samples/mdi/*.rc -samples/mdi/bitmaps/*.bmp -samples/mdi/bitmaps/*.ico - -samples/minimal/*.cpp -samples/minimal/*.h -samples/minimal/*.def -samples/minimal/makefile*.* -samples/minimal/*.xbm -samples/minimal/*.xpm -samples/minimal/*.ico -samples/minimal/*.rc - -samples/controls/*.cpp -samples/controls/*.h -samples/controls/*.def -samples/controls/makefile*.* -samples/controls/*.xbm -samples/controls/*.xpm -samples/controls/*.ico -samples/controls/*.bmp -samples/controls/*.rc - -samples/fractal/*.cpp -samples/fractal/*.h -samples/fractal/*.def -samples/fractal/makefile*.* -samples/fractal/*.xbm -samples/fractal/*.xpm -samples/fractal/*.ico -samples/fractal/*.rc - -samples/layout/*.cpp -samples/layout/*.h -samples/layout/*.def -samples/layout/makefile*.* -samples/layout/*.xbm -samples/layout/*.xpm -samples/layout/*.ico -samples/layout/*.rc -samples/layout/*.bmp - -samples/printing/*.cpp -samples/printing/*.h -samples/printing/*.def -samples/printing/makefile*.* -samples/printing/*.xbm -samples/printing/*.xpm -samples/printing/*.txt -samples/printing/*.ico -samples/printing/*.bmp -samples/printing/*.rc -samples/printing/*.afm - -samples/toolbar/*.cpp -samples/toolbar/*.h -samples/toolbar/*.def -samples/toolbar/makefile*.* -samples/toolbar/*.txt -samples/toolbar/*.xbm -samples/toolbar/*.xpm -samples/toolbar/bitmaps/*.xbm -samples/toolbar/bitmaps/*.xpm -samples/toolbar/*.ico -samples/toolbar/*.bmp -samples/toolbar/*.rc -samples/toolbar/bitmaps/*.bmp - -samples/docview/*.h -samples/docview/*.cpp -samples/docview/*.def -samples/docview/*.rc -samples/docview/makefile*.* -samples/docview/*.xbm -samples/docview/*.xpm -samples/docview/*.txt -samples/docview/*.ico -samples/docview/*.bmp - -samples/memcheck/*.h -samples/memcheck/*.cpp -samples/memcheck/*.def -samples/memcheck/*.rc -samples/memcheck/makefile*.* -samples/memcheck/*.xbm -samples/memcheck/*.xpm -samples/memcheck/*.txt -samples/memcheck/*.ico -samples/memcheck/*.bmp - -samples/odbc/*.h -samples/odbc/*.cpp -samples/odbc/*.def -samples/odbc/*.rc -samples/odbc/makefile*.* -samples/odbc/*.inf -samples/odbc/*.xbm -samples/odbc/*.xpm -samples/odbc/*.ico -samples/odbc/*.bmp -samples/odbc/*.dbf -samples/odbc/*.cdx - -samples/dialogs/*.h -samples/dialogs/*.cpp -samples/dialogs/*.def -samples/dialogs/*.rc -samples/dialogs/makefile*.* -samples/dialogs/*.xbm -samples/dialogs/*.xpm -samples/dialogs/*.txt -samples/dialogs/*.bmp -samples/dialogs/*.ico - -samples/wxpoem/*.cpp -samples/wxpoem/*.h -samples/wxpoem/*.def -samples/wxpoem/*.rc -samples/wxpoem/*.inf -samples/wxpoem/*.txt -samples/wxpoem/makefile*.* -samples/wxpoem/*.xbm -samples/wxpoem/*.xpm -samples/wxpoem/*.ico -samples/wxpoem/*.bmp -samples/wxpoem/*.dat - -samples/pressup/*.cpp -samples/pressup/*.c -samples/pressup/*.h -samples/pressup/*.def -samples/pressup/*.rc -samples/pressup/*.inf -samples/pressup/*.txt -samples/pressup/makefile*.* -samples/pressup/*.xbm -samples/pressup/*.xpm -samples/pressup/*.ico -samples/pressup/*.bmp - -samples/validate/*.cpp -samples/validate/*.h -samples/validate/*.def -samples/validate/*.rc -samples/validate/*.inf -samples/validate/*.txt -samples/validate/makefile*.* -samples/validate/*.xbm -samples/validate/*.xpm -samples/validate/*.ico -samples/validate/*.bmp - -samples/events/*.cpp -samples/events/*.h -samples/events/*.def -samples/events/*.rc -samples/events/*.inf -samples/events/*.txt -samples/events/makefile*.* -samples/events/*.xbm -samples/events/*.xpm -samples/events/*.ico -samples/events/*.bmp - -samples/treectrl/*.cpp -samples/treectrl/*.h -samples/treectrl/*.def -samples/treectrl/*.rc -samples/treectrl/*.txt -samples/treectrl/makefile*.* -samples/treectrl/*.xbm -samples/treectrl/*.xpm -samples/treectrl/bitmaps/*.xbm -samples/treectrl/bitmaps/*.xpm -samples/treectrl/*.ico -samples/treectrl/*.bmp -samples/treectrl/bitmaps/*.bmp -samples/treectrl/bitmaps/*.ico - -samples/listctrl/*.cpp -samples/listctrl/*.h -samples/listctrl/*.def -samples/listctrl/*.rc -samples/listctrl/*.txt -samples/listctrl/makefile*.* -samples/listctrl/*.xbm -samples/listctrl/*.xpm -samples/listctrl/bitmaps/*.xbm -samples/listctrl/bitmaps/*.xpm -samples/listctrl/*.ico -samples/listctrl/*.bmp -samples/listctrl/bitmaps/*.bmp -samples/listctrl/bitmaps/*.ico - -samples/splitter/*.cpp -samples/splitter/*.h -samples/splitter/*.def -samples/splitter/*.rc -samples/splitter/*.txt -samples/splitter/makefile*.* -samples/splitter/*.xbm -samples/splitter/*.xpm -samples/splitter/*.ico -samples/splitter/*.bmp - -samples/grid/*.cpp -samples/grid/*.h -samples/grid/*.def -samples/grid/*.rc -samples/grid/*.txt -samples/grid/makefile*.* -samples/grid/*.xbm -samples/grid/*.xpm -samples/grid/*.ico -samples/grid/*.bmp - -samples/internat/*.cpp -samples/internat/*.h -samples/internat/*.def -samples/internat/*.rc -samples/internat/*.txt -samples/internat/makefile*.* -samples/internat/*.xbm -samples/internat/*.xpm -samples/internat/*.po -samples/internat/*.ico -samples/internat/*.bmp -samples/internat/*.mo - -samples/checklst/*.cpp -samples/checklst/*.h -samples/checklst/*.def -samples/checklst/*.rc -samples/checklst/*.txt -samples/checklst/makefile*.* -samples/checklst/*.xbm -samples/checklst/*.xpm -samples/checklst/*.ico -samples/checklst/*.bmp - -samples/dnd/*.cpp -samples/dnd/*.h -samples/dnd/makefile*.* -samples/dnd/*.rc -samples/dnd/*.def -samples/dnd/*.bmp -samples/dnd/*.xbm -samples/dnd/*.xpm -samples/dnd/*.ico -samples/dnd/*.txt - -samples/tab/*.cpp -samples/tab/*.h -samples/tab/makefile*.* -samples/tab/*.rc -samples/tab/*.def -samples/tab/*.bmp -samples/tab/*.xbm -samples/tab/*.xpm -samples/tab/*.ico -samples/tab/*.txt - -samples/png/*.cpp -samples/png/*.h -samples/png/makefile*.* -samples/png/*.rc -samples/png/*.def -samples/png/*.bmp -samples/png/*.xpm -samples/png/*.xbm -samples/png/*.ico -samples/png/*.txt -samples/png/*.png - diff --git a/distrib/msw/gtk.rsp b/distrib/msw/gtk.rsp deleted file mode 100644 index f5814f55a5..0000000000 --- a/distrib/msw/gtk.rsp +++ /dev/null @@ -1,69 +0,0 @@ -install-sh -Makefile -template.mak -TODO.txt - -docs/gtk/*.html - -src/mkdirs -src/Makefile -src/Makefile.in -src/*.inc - -src/gtk/*.cpp -src/gtk/*.c -src/gtk/*.inc -src/gtk/*.xbm - -src/gtk/setup/*.hin -src/gtk/setup/*.in -src/gtk/setup/rules/* -src/gtk/setup/rules/generic/* -src/gtk/setup/rules/linux/* - -src/gdk_imlib/*.c -src/gdk_imlib/*.h -src/gdk_imlib/AUTHORS -src/gdk_imlib/AUDIT -src/gdk_imlib/COPYING.LIB -src/gdk_imlib/README -src/gdk_imlib/ChangeLog - -src/iodbc/*.c -src/iodbc/*.ci -src/iodbc/*.h -src/iodbc/IAFA-PACKAGE -src/iodbc/README -src/iodbc/*.exp -src/iodbc/*.mk -src/iodbc/autoconfig -src/iodbc/build -src/iodbc/Changes.log -src/iodbc/postgres/*.h - -install/gtk/* - -misc/afm/* -misc/gs_afm/* -misc/imlib/* - -user/Makefile - -user/wxConvert/*.cpp -user/wxConvert/*.h -user/wxConvert/Makefile -user/wxConvert/Makefile.in - -user/wxFile/*.cpp -user/wxFile/*.h -user/wxFile/Makefile -user/wxFile/Makefile.in -user/wxFile/*.xpm - -user/wxTest/*.cpp -user/wxTest/*.h -user/wxTest/Makefile -user/wxTest/Makefile.in -user/wxTest/*.xpm -user/wxTest/*.png - diff --git a/distrib/msw/msw.rsp b/distrib/msw/msw.rsp deleted file mode 100644 index 708382c8f7..0000000000 --- a/distrib/msw/msw.rsp +++ /dev/null @@ -1,130 +0,0 @@ -docs/msw/*.txt -docs/licence.txt - -src/makeb32.env -src/makebcc.env -src/makemsw.env -src/makewat.env -src/makesc.env -src/makeg95.env -src/makem95.env -src/ntwxwin.mak -src/makefile.bcc -src/makefile.dos -src/makefile.nt -src/*.bat - -src/common/dosyacc.c -src/common/doslex.c - -src/msw/*.cpp -src/msw/*.h -src/msw/makefile.* -src/msw/*.lst -src/msw/*.def -src/msw/*.inc - -src/msw/ctl3d/*.* -src/msw/ctl3d/msvc/*.* -src/msw/ctl3d/wat32/*.* -src/msw/ctl3d/wat386/*.* -src/msw/ctl3d/borland/*.* -src/msw/ole/*.cpp -src/msw/*.prj - -include/wx/msw/*.h -include/wx/msw/*.rc -include/wx/msw/ctl3d/*.h -include/wx/msw/gnuwin32/*.h -include/wx/msw/ole/*.h -include/wx/msw/*.cur -include/wx/msw/*.ico -include/wx/msw/*.bmp - -lib/dummy - -samples/ownerdrw/*.cpp -samples/ownerdrw/*.h -samples/ownerdrw/makefile.* -samples/ownerdrw/*.rc -samples/ownerdrw/*.def -samples/ownerdrw/*.bmp -samples/ownerdrw/*.ico -samples/ownerdrw/*.txt - -samples/taskbar/*.cpp -samples/taskbar/*.h -samples/taskbar/makefile.* -samples/taskbar/*.rc -samples/taskbar/*.def -samples/taskbar/*.bmp -samples/taskbar/*.ico -samples/taskbar/*.txt - -samples/regtest/*.cpp -samples/regtest/*.h -samples/regtest/makefile.* -samples/regtest/*.rc -samples/regtest/*.def -samples/regtest/*.bmp -samples/regtest/*.ico -samples/regtest/*.txt - -samples/nativdlg/*.cpp -samples/nativdlg/*.h -samples/nativdlg/*.def -samples/nativdlg/*.rc -samples/nativdlg/*.txt -samples/nativdlg/makefile.* -samples/nativdlg/*.xbm -samples/nativdlg/*.ico -samples/nativdlg/*.bmp - -samples/mfc/*.h -samples/mfc/*.cpp -samples/mfc/*.def -samples/mfc/*.rc -samples/mfc/makefile.* -samples/mfc/*.txt -samples/mfc/*.bmp -samples/mfc/*.ico - -samples/joytest/*.h -samples/joytest/*.cpp -samples/joytest/*.def -samples/joytest/*.rc -samples/joytest/makefile.* -samples/joytest/*.txt -samples/joytest/*.bmp -samples/joytest/*.wav -samples/joytest/*.ico - -utils/nplugin/make*.* -utils/nplugin/src/*.cpp -utils/nplugin/src/*.h -utils/nplugin/src/*.rc -utils/nplugin/src/*.def -utils/nplugin/src/makefile.* -utils/nplugin/src/*.txt -utils/nplugin/samples/simple/*.cpp -utils/nplugin/samples/simple/*.h -utils/nplugin/samples/simple/*.rc -utils/nplugin/samples/simple/*.def -utils/nplugin/samples/simple/makefile.* -utils/nplugin/samples/simple/*.txt -utils/nplugin/samples/gui/*.cpp -utils/nplugin/samples/gui/*.h -utils/nplugin/samples/gui/*.rc -utils/nplugin/samples/gui/*.def -utils/nplugin/samples/gui/makefile.* -utils/nplugin/samples/gui/*.txt -utils/nplugin/docs/*.tex -utils/nplugin/docs/*.txt -utils/nplugin/docs/*.hpj -utils/nplugin/docs/*.eps -utils/nplugin/docs/*.ps -utils/nplugin/docs/*.ini -utils/nplugin/docs/*.cnt -utils/nplugin/docs/*.hlp -utils/nplugin/lib/dummy - diff --git a/distrib/msw/tardist.bat b/distrib/msw/tardist.bat deleted file mode 100755 index 91ce1fdf16..0000000000 --- a/distrib/msw/tardist.bat +++ /dev/null @@ -1,117 +0,0 @@ -@echo off -rem Tar up an external distribution of wxWindows 2.0: but -rem putting in separate ASCII and binary files -rem This seems to be the one that works, using -rem separate tar programs for conversion/non-conversion -rem of ASCII/binary files. - -if "%1" == "" goto usage -if "%2" == "" goto usage -echo About to archive an external wxWindows 2.0 distribution: -echo From %1 -echo To %2\wx200_1.tgz, %2\wx200_2.tgz, %2\wx200hlp.tgz, %2\wx200ps.tgz, %2\wx200htm.tgz -echo CTRL-C if this is not correct. -inkey /W4 `Press any key to continue...` %%input - -erase %2\*.tgz -cd %1 - -rem First, expand the wildcards in the rsp files - -rem Create empty list file -erase %1\distrib\*.lis -c:\bin\touch %1\distrib\wx200asc.lis -c:\bin\touch %1\distrib\wx200bin.lis -c:\bin\touch %1\distrib\wx200hlp.lis -c:\bin\touch %1\distrib\wx200ps.lis -c:\bin\touch %1\distrib\wx200xlp.lis - -rem Create a .rsp file with backslashes instead -rem of forward slashes -rem No need if using ls2 (from UNIX95 distribution) -rem sed -e "s/\//\\/g" %1\distrib\wx_asc.rsp > %1\distrib\wx_asc.rs2 - -call %1\distrib\expdwild.bat %1\distrib\wx_asc.rsp %1\distrib\wx200asc.lis -call %1\distrib\expdwild.bat %1\distrib\util_asc.rsp %1\distrib\wx200asc.lis -call %1\distrib\expdwild.bat %1\distrib\smpl_asc.rsp %1\distrib\wx200asc.lis -rem call %1\distrib\expdwild.bat %1\distrib\wxim1asc.rsp %1\distrib\wx200asc.lis -rem call %1\distrib\expdwild.bat %1\distrib\wxim2asc.rsp %1\distrib\wx200asc.lis - -call %1\distrib\expdwild.bat %1\distrib\wx_bin.rsp %1\distrib\wx200bin.lis -call %1\distrib\expdwild.bat %1\distrib\util_bin.rsp %1\distrib\wx200bin.lis -call %1\distrib\expdwild.bat %1\distrib\smpl_bin.rsp %1\distrib\wx200bin.lis -rem call %1\distrib\expdwild.bat %1\distrib\wxim1bin.rsp %1\distrib\wx200bin.lis - -rem Docs -call %1\distrib\expdwild.bat %1\distrib\wx_hlp.rsp %1\distrib\wx200hlp.lis -call %1\distrib\expdwild.bat %1\distrib\wx_ps.rsp %1\distrib\wx200ps.lis -call %1\distrib\expdwild.bat %1\distrib\wx_html.rsp %1\distrib\wx200htm.lis -call %1\distrib\expdwild.bat %1\distrib\wx_pdf.rsp %1\distrib\wx200pdf.lis - -rem Do some further massaging of the .lis files -sed -e "s/\\/\//g" %1\distrib\wx200asc.lis > c:\temp\temp.tmp -sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200asc.lis - -sed -e "s/\\/\//g" %1\distrib\wx200bin.lis > c:\temp\temp.tmp -sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200bin.lis - -sed -e "s/\\/\//g" %1\distrib\wx200hlp.lis > c:\temp\temp.tmp -sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200hlp.lis - -sed -e "s/\\/\//g" %1\distrib\wx200ps.lis > c:\temp\temp.tmp -sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200ps.lis - -sed -e "s/\\/\//g" %1\distrib\wx200htm.lis > c:\temp\temp.tmp -sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200htm.lis - -sed -e "s/\\/\//g" %1\distrib\wx200pdf.lis > c:\temp\temp.tmp -sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200pdf.lis - -rem 'tar' converts linefeeds. -tar -c -T %1\distrib\wx200asc.lis -f %2\wx200.tar -rem pause Press a key to continue. - -rem This converts to lower case -ren %2\wx200.tar %2\wx200_1.tar -gzip32 %2\wx200_1.tar -ren %2\wx200_1.tar.gz %2\wx200_1.tgz - -rem No linefeed conversion wanted -rem Note: GNU tar seems to crash with a full destination path, so -rem pander to it. -targnu -c -T %1\distrib\wx200bin.lis -f wx200_2.tar -move wx200_2.tar %2 -gzip32 %2\wx200_2.tar -ren %2\wx200_2.tar.gz %2\wx200_2.tgz - -targnu -c -T %1\distrib\wx200hlp.lis -f wx200_hlp.tar -move wx200_hlp.tar %2 -gzip32 %2\wx200_hlp.tar -ren %2\wx200_hlp.tar.gz %2\wx200hlp.tgz - -tar -c -T %1\distrib\wx200ps.lis -f %2\wx200ps.tar -gzip32 %2\wx200ps.tar -ren %2\wx200ps.tar.gz %2\wx200ps.tgz - -targnu -c -T %1\distrib\wx200htm.lis -f wx200htm.tar -move wx200htm.tar %2 -gzip32 %2\wx200htm.tar -ren %2\wx200htm.tar.gz %2\wx200htm.tgz - -targnu -c -T %1\distrib\wx200pdf.lis -f wx200pdf.tar -move wx200pdf.tar %2 -gzip32 %2\wx200pdf.tar -ren %2\wx200pdf.tar.gz %2\wx200pdf.tgz - -cd %2 -echo wxWindows archived. -goto end - -:usage -echo Tar/gzip wxWindows distribution under DOS, making an ASCII and binary file -echo Usage: tardist source destination -echo e.g. tardist d:\wx d:\wx\deliver - -:end - - diff --git a/distrib/msw/wx_hlp.rsp b/distrib/msw/wx_hlp.rsp deleted file mode 100644 index 1a72b4735b..0000000000 --- a/distrib/msw/wx_hlp.rsp +++ /dev/null @@ -1,2 +0,0 @@ -docs/winhelp/*.hlp -docs/winhelp/*.cnt diff --git a/distrib/msw/wx_html.rsp b/distrib/msw/wx_html.rsp deleted file mode 100644 index 8324d3a231..0000000000 --- a/distrib/msw/wx_html.rsp +++ /dev/null @@ -1,38 +0,0 @@ -docs/html/*.htm -docs/html/*.gif - -docs/html/wx/*.htm -docs/html/wx/*.gif -docs/html/porting/*.htm -docs/html/porting/*.gif -docs/html/faq/*.htm -docs/html/faq/*.gif -docs/html/techref/*.htm -docs/html/techref/*.gif -docs/html/prologio/*.htm -docs/html/prologio/*.gif -docs/html/dialoged/*.htm -docs/html/dialoged/*.gif -docs/html/wxbuild/*.htm -docs/html/wxbuild/*.gif -docs/html/wxtab/*.htm -docs/html/wxtab/*.gif -docs/html/wxchart/*.htm -docs/html/wxchart/*.gif -docs/html/wxtree/*.htm -docs/html/wxtree/*.gif -docs/html/wxgraph/*.htm -docs/html/wxgraph/*.gif -docs/html/wxgrid/*.htm -docs/html/wxgrid/*.gif -docs/html/wxhelp/*.htm -docs/html/wxhelp/*.gif -docs/html/wxhelp2/*.htm -docs/html/wxhelp2/*.gif -docs/html/wxprop/*.htm -docs/html/wxprop/*.gif -docs/html/winstall/*.htm -docs/html/winstall/*.gif -docs/html/tex2rtf/*.htm -docs/html/tex2rtf/*.gif - diff --git a/distrib/msw/wx_pdf.rsp b/distrib/msw/wx_pdf.rsp deleted file mode 100644 index 6a979c3678..0000000000 --- a/distrib/msw/wx_pdf.rsp +++ /dev/null @@ -1 +0,0 @@ -docs/pdf/*.pdf diff --git a/distrib/msw/zipdist.bat b/distrib/msw/zipdist.bat deleted file mode 100755 index fa765e1b4a..0000000000 --- a/distrib/msw/zipdist.bat +++ /dev/null @@ -1,36 +0,0 @@ -@echo off -rem Zip up an external, generic + Windows distribution of wxWindows 2.0 -set src=d:\wx2\wxWindows -set dest=%src\deliver -if "%src" == "" goto usage -if "%dest" == "" goto usage -echo About to archive an external wxWindows distribution: -echo From %src -echo To %dest\wx200gen.zip, %dest\wx200doc.zip, %dest\wx200msw.zip, %dest\wx200ps.zip, %dest\wx200hlp.zip, %dest\wx200htm.zip, %dest\wx200pdf.zip -echo CTRL-C if this is not correct. -pause - -erase %dest\wx200*.zip - -cd %src -echo Zipping... -zip32 -@ %dest\wx200gen.zip < %src\distrib\msw\generic.rsp -zip32 -@ %dest\wx200msw.zip < %src\distrib\msw\msw.rsp -zip32 -@ %dest\wx200gtk.zip < %src\distrib\msw\gtk.rsp -zip32 -@ %dest\wx200doc.zip < %src\distrib\msw\docsrc.rsp - -zip32 -@ %dest\wx200hlp.zip < %src\distrib\msw\wx_hlp.rsp -zip32 -@ %dest\wx200htm.zip < %src\distrib\msw\wx_html.rsp -zip32 -@ %dest\wx200pdf.zip < %src\distrib\msw\wx_pdf.rsp - -cd %dest - -echo wxWindows archived. -goto end - -:usage -echo DOS wxWindows distribution. -echo Usage: zipdist source destination -echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver - -:end diff --git a/docs/changes.txt b/docs/changes.txt deleted file mode 100644 index e46bf66304..0000000000 --- a/docs/changes.txt +++ /dev/null @@ -1,232 +0,0 @@ -Generic wxWindows 2.0 Change Log --------------------------------- - -Note: for platform-specific changes, see wx/docs/XXX/changes.txt -where XXX is one of msw, motif, xt, gtk, mac. - -Alpha 11, July 3rd 1998 ------------------------ - -- Major work on Dialog Editor (still plenty to go). -- Expanded documentation a bit more. - -Alpha 9, April 27th 1998 ------------------------- - -- Corrected some bugs, such as the wxModule compilation problem. -- Added Gnu-Win32 b19/Mingw32 support by changing resource - compilation and pragmas. -- Changed SIZEOF to WXSIZEOF. - -Alpha 8, April 17th 1998 ------------------------- - -- Added src/other/png, src/other/zlib directories. -- Added samples/png. -- IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros. - Porters, please check particularly your wxTreeCtrl and wxListCtrl - header files. -- Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h. - -Alpha 7, March 30th 1998 ------------------------- - -- Added tab classes, tab sample. -- Revised memory.cpp, memory.h slightly; memory.h now #defines - new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp - now checks for leaks on exit. Added memcheck sample. - See src/msw/issues.txt for more details. -- resource.h, resource.cpp changed to make wxDefaultResourceTable - a pointer. Now initialize resource system with - wxInitializeResourceSystem and wxCleanUpResourceSystem, to - allow better control of memory. -- wxString now derives from wxObject, to enable memory leak - checking. -- Added some #include fixes in various files, plus changed - float to long in wxToolBar files. - -Alpha 6, March 10th 1998 ------------------------- - -- Added Vadim's dynarray.h, dynarray.cpp. -- Added Vadim's menuitem.cpp. -- Added Windows-specific wxCheckListBox, - owner-draw wxListBox, and drag-and-drop - (see docs/msw/changes.txt). - -Alpha 5, 14th February 1998 --------------------------- - -- GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE - DISTRIBUTIONS. This change log will therefore now refer to - the generic code only. See docs/msw/changes.txt for Windows-specific - changes. -- Readmes, change logs and installation files now go in - platform-specific directories under docs, e.g. docs/msw, - docs/gtk. -- Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets - created dynamically, not as a global object. -- Put wxColour into wx/msw/colour.h, src/msw/colour.cpp. -- Changed names of some include/wx/generic headers to be - consistent and to conform to gcc pragma conventions. Also - changed choicesg.cpp to choicdgg.cpp. -- Added gcc pragmas. -- Added gtk inclusion in include/wx headers. -- Added consistent file headings to source and headers. -- Removed lang.cpp, lang.h and references to wxSTR_... variables; - added a few references to wxTransString. -- Added operator to wxTransString that converts automatically - to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...). -- samples/internat now works (minimally). -- Added wxMouseEvent::GetPosition and - wxMouseEvent::GetLogicalPosition, both returning wxPoints. -- Made wxSize and wxRect contain longs not ints. -- Cured some lemory leaks (thanks Vadim). -- Tidied up OnIdle and introduced RequestMore/MoreRequested so - will only keep processing OnIdle if it returns TRUE from - MoreRequested. - -Alpha 4, 31st January 1998 --------------------------- - -- Changed wxDC functions to take longs instead of floats. GetSize now takes - integer pointers, plus a version that returns a wxSize. -- const keyword added to various wxDC functions. -- Under Windows, wxDC no longer has any knowledge of whether - an associated window is scrolled or not. Instead, the device - origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC. -- wxScrolledWindow applications can optionally override the virtual OnDraw - function instead of using the OnPaint event handler. The wxDC passed to - OnDraw will be translated by PrepareDC to reflect scrolling. - When drawing outside of OnDraw, must call PrepareDC explicitly. -- wxToolBarBase/wxToolBarSimple similarly changed to allow for - scrolling toolbars. -- Integrated wxPostScriptDC patches for 1.xx by Chris Breeze, - to help printing with multiple pages. -- IPC classes given base classes (wxConnectionBase etc.) which - define the API used by different implementations. DDE - implementation updated to use these base classes. -- wxHelpInstance now separated into wxHelpControllerBase (base - for all implementations), wxWinHelpController (uses standard - WinHelp), wxXLPHelPController (talks to wxHelp by DDE or - TCP/IP). There will be others eventually, such as - wxHTMLHelpController for Microsoft (and Netscape?) HTML Help. -- Added Vadim Zeitlin's wxString class plus - internationalization code (gettext simulation, wxLocale, etc.). - New files from Vadim: - include\wx\string.h - include\wx\debug.h - include\wx\file.h - include\wx\log.h - include\wx\intl.h - src\common\string.cpp - src\common\log.cpp - src\common\intl.cpp - src\common\file.cpp - No longer use GNU wxString files. -- Split off file-related functions into include\wx\filefn.h and - src\common\filefn.cpp. -- Borland C++ support (WIN32) for main library and - samples, using makefile.b32 files. -- Preparation done for allowing BC++ to compile wxWin as a DLL, - including changes to defs.h. -- wxIntPoint removed, wxPoint is now int, and wxRealPoint - introduced. -- Added wxShowEvent (generated when window is being shown or - hidden). -- Got minimal, docview, mdi samples working for 16-bit VC++ and - cured 16-bit problem with wxTextCtrl (removed global memory - trick). -- Updated GnuWin32 makefiles, checked minimal, mdi, docview samples. - -Alpha 3, September 1997 ------------------------ - -- wxListCtrl, wxTreeCtrl, wxImageList classes done. -- Instigated new file hierarchy, split files and classes up more logically. -- PrologIO and some other utils now put into core library. -- Revamped print/preview classes, added wxPageSetupDialog. -- Started documentation. - -Alpha 2, 30th April 1997 ------------------------- - -- EVT_... macros now have at least one argument, for conformance - with MetroWerks compiler. -- Added ids to .wxr file format. -- Got Dialog Editor compiled and running again but need - to extend functionality to be in line with new controls. - Added dialoged\test app to allow dynamic loading of .wxr files - for testing purposes. -- Rewrote wxBitmap to allow installable file type - handlers. -- Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa. -- Wrote most of wxTreeCtrl and sample (need wxImageList to implement it - fully). -- Added back wxRadioBox. -- Tidied up wx_main.cpp, wxApp class, putting PenWin code in - a separate file. - -Alpha 1, 5th April 1997 ------------------------ - -At this point, the following has been achieved: - -- A lot, but not all, of the code has been revamped for better - naming conventions, protection of data members, and use of - wxString instead of char *. -- Obsolete functionality deleted (e.g. default wxPanel layout, - old system event system) and code size reduced. -- Class hierarchy changed (see design doc) - base classes such - as wxbWindow now removed. -- No longer includes windows.h in wxWin headers, by using stand-in - Windows types where needed e.g. WXHWND. -- PrologIO revised. -- wxScrolledWindow, wxStatusBar and new MDI classes added. - MDI is now achived using separate classes, not window styles. -- wxSystemSettings added, and made use of to reflect standard - Windows settings. -- SetButtonFont/SetLabelFont replaced by SetFont; font and colour - settings mucho rationalised. -- All windows are now subclassed with the same window proc to make - event handling far more consistent. Old internal wxWnd and derived - classes removed. -- API for controls revised, in particular addition of - wxValidator parameters and removal of labels for some controls. -- 1 validator written: see examples/validate. -- Event table system introduced (see most samples and - wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler - made more flexible, with Push/PopEventHandler allowing a chain - of event handlers. -- wxRadioBox removed - will be added back soon. -- Toolbar class hierarchy revised: - wxToolBarBase - wxToolBarSimple (= old wxToolBar) - wxToolBar95 (= old wxButtonBar under Win95 - wxToolBarMSW (= old wxButtonBar under WIN16/WIN32) -- Constraint system debugged somewhat (sizers now work properly). -- wxFileDialog, wxDirDialog added; other common dialogs now - have class equivalents. Generic colour and font dialogs - rewritten to not need obsolete panel layout. -- .wxr resource system partially reinstated, though needs - an integer ID for controls. Hopefully the resource system - will be replaced by something better and more efficient - in the future. -- Device contexts no longer stored with window and accessed - with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack - variables instead. -- wxSlider uses trackbar class under Win95, and wxSL_LABELS flag - determines whether labels are shown. Other Win95-specific flags - introduced, e.g. for showing ticks. -- Styles introduced for dealing with 3D effects per window, for - any window: all Win95 3D effects supported, plus transparent windows. -- Major change to allow 3D effect support without CTL3D, under - Win95. -- Bitmap versions of button and checkbox separated out into new - classes, but unimplemented as yet because I intend to remove - the need for Fafa - it apparently causes GPFs in Win95 OSR 2. -- utils/wxprop classes working (except maybe wxPropertyFormView) - in preparation for use in Dialog Editor. -- GNU-WIN32 compilation verified (a month or so ago). - - diff --git a/docs/gtk/install.txt b/docs/gtk/install.txt deleted file mode 100644 index 24286b8abf..0000000000 --- a/docs/gtk/install.txt +++ /dev/null @@ -1,420 +0,0 @@ -* The most simple case ------------------------ - -If you compile wxWindows on Unix for the first time and don't like -to read install instructions just do (in the base dir): - -./configure --with-gtk --with-shared --without-threads -make - -and drink 10 coffees. - - -* General ------------------------ - -The Unix variants of wxWindows use GNU configure. If you have problems -with your make use GNU make instead. - -Read my homepage at - - http://wesley.informatik.uni-freiburg.de/~wxxt - -for newest information. - -* GUI libraries ------------------------ - -wxWindows requires a GUI toolkit to be installed. Does that make -sense? So far only the GTK is supported, but we hope to provide -the choice between GTK, Qt, Motif/Lesstif in the not so distant -future. - -You can get the newest version of the GTK from the GTK homepage -at - http://www.gtk.org - -The newest versin of Qt can be downloaded for free from the Trolltec's -site at - http://www.troll.no - -Lesstif can be downloaded from their site -at - http://www.lesstif.org - -If you want to develop using Motif, you need to buy it, unless it comes -with your operating system such as all commercial Unices, as well as -RedHat's, SuSe's and probably other's Linux Motif editions. - -* Additional libraries ------------------------ - -There will be a few more features of wxWindows, which will -require further libraries (on some platforms). These -features will be optional. I hope to teach configure -to check that out automatically. - -Thread support: - - Requires pthreads under Linux with glibc 2. pthreads are - always present on such systems, so just compile, unless - you have RedHat 5.0, which has a broken combination of - glibc 2 and X. In this case, you have to run configure - with "--without-threads". - - Requires PCthreads under Linux with libc 5. If you - haven't installed pcthreads, there will be no thread - support in wxWindows, but the library will compile. - - Requires Posix threads on commercial Unix system, - which are always present. Just compile. - - On SGI Irix we first look for sprocs, then pthreads and - use the last one found. - -Python scripting language support: - - Requires Python. Soon to come. - -* Other things to do ------------------------------ - -wxGTK and wxMotif/wxLesstif require the built-in -ImLib/GdkImlib to be configured. For that purpose -copy the two files from /misc/imlib to your -home directory and rename "imrc" -> ".imrc". -You may also edit imrc by hand as you like. -The palette file is required when using -wxWindows in 256-colour mode. - -If you want to use wxWindows's ODBC support, you'll have -to create a .odbc.ini file. The readme file in -~/src/iodbc tells you what to do. - - -* Create your configuration ------------------------------ - -Usage: - ./configure options - -If you want to use system's C and C++ compiler, -set environment variables CC and CCC as - - % setenv CC cc - % setenv CCC CC - % ./configure options - -Using the SGI native compilers, it is recommended that you -also set CFLAGS and CXXFLAGS before running configure. These -should be set to : - -CFLAGS="-mips3 -n32" -CXXFLAGS="-mips3 -n32" - -This is essential if you want to use the resultant binaries -on any other machine than the one it was compiled on. If you -have a 64bit machine (Octane) you should also do this to ensure -you don't accidently build the libraries as 64bit (which is -untested). - -The SGI native compiler support has only been tested on Irix 6.5. - -to see all the options please use: - - ./configure --help - -The basic philosophy is that if you want to use different -configurations, like a debug and a release version, -or use the same source tree on different systems, -you have only to change the environment variable OSTYPE. -(Sadly this variable is not set by default on some systems -in some shells - on SGI's for example). So you will have to -set it there. This variable HAS to be set before starting -configure, so that it knows which system it tries to -configure for. - -Configure will complain if the system variable OSTYPE has -not been defined. And Make in some circumstances as well... - - -* General options -------------------- - -Obviously, you have to choose a toolkit. You must do this by -running configure with either of - - --with-gtk Use the GIMP ToolKit (GTK) - - --with-qt Use Qt from TrollTec - - --with-motif Use either Motif or Lesstif - Configure will look for both. - -The following options handle the kind of library you want to build. - - --without-threads Compile without thread support. - - --with-shared Create shared libraries. - - --without-optimise Do not optimise the code. - - --with-profile Add profiling info to the object - files. Currently broken, I think. - - --with-mem_tracing Add built-in memory tracing. - This doesn't work well with gcc. - - --with-dmalloc Use the dmalloc memory debugger. - Read more at www.letters.com/dmalloc/ - - --with-debug_info Add debug info to object files and - executables. - - --with-debug_flag Define __DEBUG__ and __WXDEBUG__ when - compiling. - -* Feature Options -------------------- - -When using the Windows version of wxWindows, it is possible -to edit the file /include/wx/msw/setup.h in order to enable -or disable some features of wxWindows so that the resulting -binaries get smaller. - -As I don't yet care for binary size and target mainly at -producing a shared library, wxWindows's configure system auto- -matically enables all features, as long as they are already -implemented. - -* Compiling -------------- - -The following must be done in the base directory (e.g. ~/wxGTK -or ~/wxWin) - -First you have to create all makefiles in all subdirectories: - - make Makefiles - -Dependencies are generated automatically using - - make depend - -(For some reason, this doesn't seem to work completely.) - -Now the makefiles are created you can compile everything is as simple -as typing: - - make - -make yourself some coffee, as it will try to compile -ALL the files in this distribution. - -if you want to be more selective: - - make src will build only the base libraries - make utils will build the utils - make samples will build the samples - make other will build the other samples - make user will build the files in the directory other - -Depending on the configuration of some files, the libraries -and binaries will be placed in different directories. -The "global" binaries and libraries will be placed in: - - bin/$(OSTYPE) and - lib/$(OSTYPE) respectively - -"local" binaries and libraries will be placed in: - - (basedir of that application)/$(OSTYPE). - -This is also the place where all the object-files will go. - -If you want to conserve disk space by removing unnecessary -object-files: - - make clean_obj - -will do the work for you. - -* Creating a new Project --------------------------- - -I propose to put all contributed programs in the directory -"~/wxWin/user", with a directory of its own. - -This directory then should include the following files: - -Makefile (You can copy this one from any application in samples - probably you will not need to edit this one. There is - only one case where you might be interested in changing - this file, but about that see later.) -Makefile.in (This is the base application-Makefile template, from - which the actual Makefile for each system is created. - More about this later) - -put ALL your source code along with all the other stuff you need for -your application in this directory (subdirectories are welcome). - -** Something about Makefiles ------------------------------- - -On general principle it should only contain ONE line, which is as follows: - - include ../../setup/general/makeapp - -this will include all the necessary definitions for creating the applications - -the only case where you might want to add another line is the following: -this version of configure also supports creation of source archives of the -application for easy distribution and updates to newer version of wxWindows. - For this purpose all files in the application-directory will be put into -a gziped tar-file in the full notation user//* -if you want to include some other files that you want "more visible", like -a README. or a shell script for easy -compilation/installation/distribution, then you have to add a variable - - DISTRIBUTE_ADDITIONAL= - -to the Makefile. -So it would look like this: - - DISTRIBUTE_ADDITIONAL=README.TheApp - include ../../setup/general/makeapp - -As we have already talked about distribution the command to create a -distribution is: - - make distrib - -NOTE: If you are in the base directory of wxWindows it will create -distribution packages for wxWindows as well as for all packages in the -user directory. - So if you want to create only packages for the files in user, -then go to the directory other and type: - - make distrib - -or if you only want one application to be created then -enter the specific directory and type there: -make distrib - -All the distribution files will be put in the directory -distrib at the base of the wxWindows-tree (where also configure -and template.mak can be found). - -** Something about Makefile.in --------------------------------- - -As you have already seen with Makefile, configure makes a lot of use -if the include statement in make to keep the Makefiles as simple as -possible. - -So basically there are only variables to define and then a include command. -Exception to this rule is if you have special rules for some stuff... -These rules should go AFTER the include statement!!! - -so the general header looks like this: - - # wxWindows base directory - WXBASEDIR=@WXBASEDIR@ - # set the OS type for compilation - OS=@OS@ - # compile a library only - RULE=bin - -and the general footer will look like this: - - # include the definitions now - include ../../../template.mak - -the key variable is RULE, which defines what make should create -in this directory. - -here are some examples: - - RULE description - =========================================================================== - bin creates a local binary (for a global binary prefix bin with g) - additional variables needed: - BIN_TARGET this gives the name of your application - BIN_OBJ this gives the object files needed to - link the application - optional variables are: - BIN_SRC this gives the list of c/c++ files for - which dependencies will be checked. - (This can be achieved with: make depend) - BIN_LINK this gives commands for additional - libraries needed to link the application - --------------------------------------------------------------------------- - bin2 creates two local binaries (for global binaries prefix bin2 with g) - in addition to the variables specified above you MUST also - provide the same variables with BIN2_ instead of BIN_ - --------------------------------------------------------------------------- - lib creates a local library (for a global binary prefix bin with g) - additional variables needed: - LIB_TARGET this gives the name of your library - LIB_OBJ this gives the object files needed for - the library to be build. - optional variables are: - LIB_SRC this gives the list of c/c++ files for - which dependencies will be checked. - libbin and libgbin are also possible and will need in addition - the variables from bin - --------------------------------------------------------------------------- - gslib is similar to lib, but it creates a shared library if the system - supports it. - additional variables needed: - LIB_MAJOR major number of the shared library - LIB_MINOR minor number of the shared library - --------------------------------------------------------------------------- - other additional variables: - - ADD_COMPILE define additional includes/defines that - are needed to compile the object files - (if you need to reference some directory - utils - like wxGrid -, then please - reference them with the variables defined - in template.mak - e.g.: $(SRCDIR),$(UTILS), - $(SAMPLES),$(OTHERS)) - - NEEDED_DEFINES lists all the defines that HAVE to be set in - /include/wx/setup.h to compile correctly. - - SRC_DIR lists all directories that are needed to - compile. (i.e: lists all the directories, - where there are source-files.) But it is - also needed to clean an object and for - machines, for which make does not support - VPATH - -currently there are the following compiling rules provided: -object files are created for the following file extensions: -.c .cc .cpp - -Please have a closer look at the Makefiles in this distribution. - -* Platforms configure is working with ---------------------------------------- - -Please report build succes on any machine. Especially non- -Linux operating systems (which I don't have). - -Original author of the autoconf system for wxxt-1.66 and for this INSTALL -file: - - Martin Sperl sperl@dsn.ast.univie.ac.at - -Ported to wxGTK 0.1: - - Wolfram Gloger wmglo@dent.med.uni-muenchen.de - -Thanks alot to both of them. - -In the hope that it will be useful, - - Robert Roebling roebling@sun2.ruf.uni-freiburg.de - - diff --git a/docs/latex/porting/back.gif b/docs/latex/porting/back.gif deleted file mode 100644 index 8a61076d3ba74bdedc1d24f60c3d1f5a361a6cee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 225 zcmV<703QEGNk%v~VLt#E0Pz3-zrVld=jU&4Z(9HWEC2ui06zd20008IjE||y?GK}z zNf>~$-n{z{YJwGn=81mem9{RpmcUHc_KoNIPRH~B4DyD9p%LJl6@Sa4^Epcbno6kk zD5XxT&EQg7>t<(Iwfoo diff --git a/docs/latex/porting/books.bmp b/docs/latex/porting/books.bmp deleted file mode 100644 index cf1e148734c807052ec6359ad2eb1a3e8d43d43d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1222 zcmb7?v2KGf5Qg0-f^PH?BCA8E<{c_a$x@Y}nZr;qXR5NnfE2boQZn^-S4x_%j?%%`Rfz!C$uHnGuoYEAr~D;JxHUzQYZhY(}{X$xY0SE&#JC# z5a%D|9QDv}6Qc3-Wv8+GlQ-*8<`8epNC>=NSLPUH1b$st*H{R=IXD*!fgA8x5Dt6l zUCo=!AsqI8={C$E9QGLr_q_i zFK;h=LxQhf>;v~gWIyoy(Zu$`w=UNZZuYl$t>-8&*n94Z?RTzqLWjlGhdMVK;w1@P zgX#l^|MHTQ1q9k0=J>%Sz9`L#Hix;bEVz#^(qoBse!qj(7b diff --git a/docs/latex/porting/books.gif b/docs/latex/porting/books.gif deleted file mode 100644 index 036d016fb16b793dd714a3916251f59b7efc654d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 242 zcmZ?wbhEHb)MwCR*vtR|`@wiWnA#8I?caakz=4K_hW|kE{|x`Z6p#k8fI#sl3nK#q zKZ6cPC&&y2mVX~kdamAU@%rrU{|Op>ib=ClxMcXbmpr~@cYwQjllG1B@c#@4*Bxh6 zXgW0aLdB!6GuAT~S-RNt`OVPr@_rW=wo=ji*1082C&e=)?D>Nd&T?mLf1Rh>9rogT zb5=!pc{od3n0ygKU42Pea&8+-0S8NmU4OSQYXiUa%t^xRQ&~D^_RQ&<*e14knp~++ aGOJLpXX!!_Q{5#SmiGi(ui53dZaM&TQeqzf diff --git a/docs/latex/porting/bullet.bmp b/docs/latex/porting/bullet.bmp deleted file mode 100644 index 6481f5143b934b2b2fad561a9b39fb441944418a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 198 zcmZ?rJ;ne5Wk5;;h`FGck%0v)5dbE!5e*CsK*Z3{0HJ^+kjZf1zyTl)lK2ls4FCUw iSU?PfAR!PR1i)haVEO|{7|2Jb|1&`3;p$=f&}abvMLt>p diff --git a/docs/latex/porting/contents.gif b/docs/latex/porting/contents.gif deleted file mode 100644 index 3dddfa3dd5f0c652e8b27cd6c29e1fdd49ced5a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 231 zcmVG0Pz3-zrVld=jU&4Z(9HWEC2ui06_p40008OjE||y?GK}z zO&EZ)-n{z{a)K3v=81;mmA0S4Fj_r^UyThZDG{h6k9m zHI_(7spd!5_$SH6m{9_k^7`NQ&{w!+r zf%KU9zk~h~zZD#X^N5AuKea*5ueKt+`*Q6=#S#sWkN~ N6xIITmGWvyEC7KBF*X1I diff --git a/docs/latex/porting/porting.hpj b/docs/latex/porting/porting.hpj deleted file mode 100644 index 75e76d091b..0000000000 --- a/docs/latex/porting/porting.hpj +++ /dev/null @@ -1,16 +0,0 @@ -[OPTIONS] -TITLE=wxWindows Porting Guide -CONTENTS=Contents -COMPRESS=HIGH - -[FILES] -porting.rtf - -[CONFIG] -CreateButton("Up", "&Up", "JumpId(`porting.hlp', `Contents')") -BrowseButtons() - -[MAP] - -[BITMAPS] - diff --git a/docs/latex/porting/porting.tex b/docs/latex/porting/porting.tex deleted file mode 100644 index 6488144073..0000000000 --- a/docs/latex/porting/porting.tex +++ /dev/null @@ -1,390 +0,0 @@ -\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report} -\newcommand{\indexit}[1]{#1\index{#1}}% -\newcommand{\pipe}[0]{$\|$\ }% -\definecolour{black}{0}{0}{0}% -\definecolour{cyan}{0}{255}{255}% -\definecolour{green}{0}{255}{0}% -\definecolour{magenta}{255}{0}{255}% -\definecolour{red}{255}{0}{0}% -\definecolour{blue}{0}{0}{200}% -\definecolour{yellow}{255}{255}{0}% -\definecolour{white}{255}{255}{255}% -\input psbox.tex -\parskip=10pt -\parindent=0pt -\title{Guide to porting applications from wxWindows 1.xx to 2.0} -\author{Julian Smart} -\date{October 1997} -\makeindex -\begin{document} -\maketitle -\pagestyle{fancyplain} -\bibliographystyle{plain} -\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}} -\setfooter{\thepage}{}{}{}{}{\thepage}% -\pagenumbering{roman} -\tableofcontents -% -\chapter{About this document}\label{about} -\pagenumbering{arabic}% -\setheader{{\it Porting guide}}{}{}{}{}{{\it Porting guide}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -This document gives guidelines and tips for porting applications from -version 1.xx of wxWindows to version 2.0. - -The first section offers tips for writing 1.xx applications in a way to -minimize porting time. The following sections detail the changes and -how you can modify your application to be 2.0-compliant. - -You may be worrying that porting to 2.0 will be a lot of work, -particularly if you have only recently started using 1.xx. In fact, -the wxWindows 2.0 API has far more in common with 1.xx than it has differences. -With backward compatibility mode on, much of the conversion can be -done gradually. The main challenges are doing without the default -panel item layout, and the lack of automatic labels in some controls. -However, if you already use resource files (.wxr), or application-specific positioning, -or constraints, then even this will be quite painless. - -So please don't be freaked out by the jump to 2.0! For one thing, 1.xx is still available -and will be supported by the user community for some time. And when you have -changed to 2.0, we hope that you will appreciate the benefits in terms -of greater flexibility, better user interface aesthetics, improved C++ conformance, -improved compilation speed, and many other enhancements. The revised architecture -of 2.0 will ensure that wxWindows can continue to evolve for the forseeable -future. - -{\it Please note that this document is a work in progress.} - -\chapter{Preparing for version 2.0}\label{preparing} - -Even before compiling with version 2.0, there's also a lot you can do right now to make porting -relatively simple. Here are a few tips. - -\begin{itemize} -\item {\bf Use constraints or .wxr resources} for layout, rather than the default layout scheme. -Constraints should be the same in 2.0, and resources will be translated. -\item {\bf Use separate wxMessage items} instead of labels for wxText, wxMultiText, -wxChoice, wxComboBox. These labels will disappear in 2.0. Use separate -wxMessages whether you're creating controls programmatically or using -the dialog editor. The future dialog editor will be able to translate -from old to new more accurately if labels are separated out. -\item {\bf Parameterise functions that use wxDC} or derivatives, i.e. make the wxDC -an argument to all functions that do drawing. Minimise the use of -wxWindow::GetDC and definitely don't store wxDCs long-term -because in 2.0, you can't use GetDC() and wxDCs are not persistent. -You will use wxClientDC, wxPaintDC stack objects instead. Minimising -the use of GetDC() will ensure that there are very few places you -have to change drawing code for 2.0. -\item {\bf Don't set GDI objects} (wxPen, wxBrush etc.) in windows or wxCanvasDCs before they're -needed (e.g. in constructors) - do so within your drawing routine instead. In -2.0, these settings will only take effect between the construction and destruction -of temporary wxClient/PaintDC objects. -\item {\bf Don't rely} on arguments to wxDC functions being floating point - they will -be 32-bit integers in 2.0. -\item {\bf Don't use the wxCanvas member functions} that duplicate wxDC functions, such as SetPen and DrawLine, since -they are going. -\item {\bf Using member callbacks} called from global callback functions will make the transition -easier - see the FAQ -for some notes on using member functions for callbacks. wxWindows 2.0 will banish global -callback functions (and OnMenuCommand), and nearly all event handling will be done by functions taking a single event argument. -So in future you will have code like: - -{\small\begin{verbatim} -void MyFrame::OnOK(wxCommandEvent& event) -{ - ... -} -\end{verbatim} -}% - -You may find that writing the extra code to call a member function isn't worth it at this stage, -but the option is there. -\item {\bf Use wxString wherever possible.} 2.0 will replace char * with wxString -in most cases, and if you use wxString to receive strings returned from -wxWindows functions (except when you need to save the pointer if deallocation is required), there should -be no conversion problems later on. -\item Be aware that under Windows, {\bf font sizes will change} to match standard Windows -font sizes (for example, a 12-point font will appear bigger than before). Write your application -to be flexible where fonts are concerned. -Don't rely on fonts being similarly-sized across platforms, as they were (by chance) between -Windows and X under wxWindows 1.66. Yes, this is not easy... but I think it's better to conform to the -standards of each platform, and currently the size difference makes it difficult to -conform to Windows UI standards. You may eventually wish to build in a global 'fudge-factor' to compensate -for size differences. The old font sizing will still be available via wx\_setup.h, so do not panic... -\item {\bf Consider dropping wxForm usage}: an alternative is to be found in utils/wxprop. -wxPropertyFormView can be used in a wxForm-like way, except that you specify a pre-constructed panel -or dialog; or you can use a wxPropertyListView to show attributes in a scrolling list - you don't even need -to lay panel items out. - -Because wxForm uses a number of features to be dropped in wxWindows 2.0, it cannot be -supported in the future, at least in its present state. -\item {\bf When creating a wxListBox}, put the wxLB\_SINGLE, wxLB\_MULTIPLE, wxLB\_EXTENDED styles in the window style parameter, and put -zero in the {\it multiple} parameter. The {\it multiple} parameter will be removed in 2.0. -\item {\bf For MDI applications}, don't reply on MDI being run-time-switchable in the way that the -MDI sample is. In wxWindows 2.0, MDI functionality is separated into distinct classes. -\end{itemize} - -\chapter{The new event system}\label{eventsystem} - -The way that events are handled has been radically changed in wxWindows 2.0. Please -read the topic `Event handling overview' in the wxWindows 2.0 manual for background -on this. - -\section{Callbacks} - -Instead of callbacks for panel items, menu command events, control commands and other events are directed to -the originating window, or an ancestor, or an event handler that has been plugged into the window -or its ancestor. Event handlers always have one argument, a derivative of wxEvent. - -For menubar commands, the {\bf OnMenuCommand} member function will be replaced by a series of separate member functions, -each of which responds to a particular command. You need to add these (non-virtual) functions to your -frame class, add a DECLARE\_EVENT\_TABLE entry to the class, and then add an event table to -your implementation file, as a BEGIN\_EVENT\_TABLE and END\_EVENT\_TABLE block. The -individual event mapping macros will be of the form: - -\begin{verbatim} -BEGIN_EVENT_TABLE(MyFrame, wxFrame) - EVT_MENU(MYAPP_NEW, MyFrame::OnNew) - EVT_MENU(wxID_EXIT, MyFrame::OnExit) -END_EVENT_TABLE() -\end{verbatim} - -Control commands, such as button commands, can be routed to a derived button class, -the parent window, or even the frame. Here, you use a function of the form EVT\_BUTTON(id, func). -Similar macros exist for other control commands. - -\section{Other events} - -To intercept other events, you used to override virtual functions, such as OnSize. Now, while you can use -the OnSize name for such event handlers (or any other name of your choice), it has only a single argument -(wxSizeEvent) and must again be `mapped' using the EVT\_SIZE macro. The same goes for all other events, -including OnClose (although in fact you can still use the old, virtual form of OnClose for the time being). - -\chapter{Class hierarchy}\label{classhierarchy} - -The class hierarchy has changed somewhat. wxToolBar and wxButtonBar -classes have been split into several classes, and are derived from wxControl (which was -called wxItem). wxPanel derives from wxWindow instead of from wxCanvas, which has -disappeared in favour of wxScrolledWindow (since all windows are now effectively canvases -which can be drawn into). The status bar has become a class in its own right, wxStatusBar. - -There are new MDI classes so that wxFrame does not have to be overloaded with this -functionality. - -There are new device context classes, with wxPanelDC and wxCanvasDC disappearing. -See \helpref{Device contexts and painting}{dc}. - -\chapter{GDI objects}\label{gdiobjects} - -These objects - instances of classes such as wxPen, wxBrush, wxBitmap (but not wxColour) - -are now implemented with reference-counting. This makes assignment a very cheap operation, -and also means that management of the resource is largely automatic. You now pass {\it references} to -objects to functions such as wxDC::SetPen. The device context does not store a copy of the pen -itself, but takes a copy of it (via reference counting), and the object's data gets freed up -when the reference count goes to zero. The application does not have to worry so much about -who the object belongs to: it can pass the reference, then destroy the object without -leaving a dangling pointer inside the device context. - -For the purposes of code migration, you can use the old style of object management - maintaining -pointers to GDI objects, and using the FindOrCreate... functions. However, it is preferable to -keep this explicit management to a minimum, instead creating objects on the fly as needed, on the stack, -unless this causes too much of an overhead in your application. - -At a minimum, you will have to make sure that calls to SetPen, SetBrush etc. work. Some compilers -will do the conversion from pointer to reference automatically (via a constructor in the GDI -class) but you cannot rely on this being true for all compilers. Also, where you pass NULL to these -functions, you will need to either cast to the appropriate reference type, or instead -use an identifier such as wxNullPen or wxNullBrush. - -\chapter{Dialogs and controls}\label{dialogscontrols} - -\wxheading{Labels} - -Most controls no longer have labels and values as they used to in 1.xx. Instead, labels -should be created separately using wxStaticText (the new name for wxMessage). This will -need some reworking of dialogs, unfortunately; programmatic dialog creation that doesn't -use constraints will be especially hard-hit. Perhaps take this opportunity to make more -use of dialog resources or constraints. Or consider using the wxPropertyListView class -which can do away with dialog layout issues altogether by presenting a list of editable -properties. - -\wxheading{Constructors} - -All window constructors have two main changes, apart from the label issue mentioned above. -Windows now have integer identifiers; and position and size are now passed as wxPoint and -wxSize objects. In addition, some windows have a wxValidator argument. wxWindows 2.0 may provide -old-style constructors in WXWIN\_COMPATIBILITY mode for limited backward compatibility. - -\wxheading{Show versus ShowModal} - -If you have used or overridden the {\bf wxDialog::Show} function in the past, you may find -that modal dialogs no longer work as expected. This is because the function for modal showing -is now {\bf wxDialog:ShowModal}. This is part of a more fundamental change in which a -control may tell the dialog that it caused the dismissal of a dialog, by -calling {\bf wxDialog::EndModal} or {\bf wxWindow::SetReturnCode}. Using this -information, {\bf ShowModal} now returns the id of the control that caused dismissal, -giving greater feedback to the application than just TRUE or FALSE. - -If you overrode or called {\bf wxDialog::Show}, use {\bf ShowModal} and test for a returned identifier, -commonly wxID\_OK or wxID\_CANCEL. - -\wxheading{wxItem} - -This is renamed wxControl. - -\wxheading{wxText, wxMultiText and wxTextWindow} - -These classes no longer exist and are replaced by the single class wxTextCtrl. -Multi-line text items are created using the wxTE\_MULTILINE style. - -\wxheading{wxButton} - -Bitmap buttons are now a separate class, instead of being part of wxBitmap. - -\wxheading{wxMessage} - -Bitmap messages are now a separate class, wxStaticBitmap, and wxMessage -is renamed wxStaticText. - -\wxheading{wxGroupBox} - -wxGroupBox is renamed wxStaticBox. - -\wxheading{wxForm} - -Note that wxForm is no longer supported in wxWindows 2.0. Consider using the wxPropertyForm class -instead, which takes standard dialogs and panels and associates controls with property objects. -You may also find that the new validation method, combined with dialog resources, is easier -and more flexible than using wxForm. - -\chapter{Device contexts and painting}\label{dc} - -In wxWindows 2.0, device contexts are used for drawing into, as per 1.xx, but the way -they are accessed and constructed is a bit different. - -You no longer use {\bf GetDC} to access device contexts for panels, dialogs and canvases. -Instead, you create a temporary device context, which means that any window or control can be drawn -into. The sort of device context you create depends on where your code is called from. If -painting within an {\bf OnPaint} handler, you create a wxPaintDC. If not within an {\bf OnPaint} handler, -you use a wxClientDC or wxWindowDC. You can still parameterise your drawing code so that it -doesn't have to worry about what sort of device context to create - it uses the DC it is passed -from other parts of the program. - -You {\bf must } create a wxPaintDC if you define an OnPaint handler, even if you do not -actually use this device context, or painting will not work correctly under Windows. - -If you used device context functions with wxPoint or wxIntPoint before, please note -that wxPoint now contains integer members, and there is a new class wxRealPoint. wxIntPoint -no longer exists. - -\chapter{Miscellaneous} - -\section{Strings} - -wxString has replaced char* in the majority of cases. For passing strings into functions, -this should not normally require you to change your code if the syntax is otherwise the -same. This is because C++ will automatically convert a char* or const char* to a wxString by virtue -of appropriate wxString constructors. - -However, when a wxString is returned from a function in wxWindows 2.0 where a char* was -returned in wxWindows 1.xx, your application will need to be changed. Usually you can -simplify your application's allocation and deallocation of memory for the returned string, -and simply assign the result to a wxString object. For example, replace this: - -{\small\begin{verbatim} - char* s = wxFunctionThatReturnsString(); - s = copystring(s); // Take a copy in case it's temporary - .... // Do something with it - delete[] s; -\end{verbatim} -} - -with this: - -{\small\begin{verbatim} - wxString s = wxFunctionThatReturnsString(); - .... // Do something with it -\end{verbatim} -} - -To indicate an empty return value or a problem, a function may return either the -empty string (``") or a null string. You can check for a null string with wxString::IsNull(). - -\section{Use of const} - -The {\bf const} keyword is now used to denote constant functions that do not affect the -object, and for function arguments to denote that the object passed cannot be changed. - -This should not affect your application except for where you are overriding virtual functions -which now have a different signature. If functions are not being called which were previously, -check whether there is a parameter mismatch (or function type mismatch) involving consts. - -Try to use the {\bf const} keyword in your own code where possible. - -\chapter{Backward compatibility}\label{compat} - -Some wxWindows 1.xx functionality has been left to ease the transition to 2.0. This functionality -(usually) only works if you compile with WXWIN\_COMPATIBILITY set to 1. - -TODO - -OnMenuCommand, OnSize, OnActivate, OnPaint, others?? can all be prefixed with Old (e.g. OldOnMenuCommand) -and will work as before. You are encouraged to convert your code to the new forms, but -this will allow you to get your applications up and running a little more quickly. - -OnClose can be used as-is without an 'Old' prefix, but officially the OnCloseWindow event table handler should be -used instead. - -\chapter{Quick reference}\label{quickreference} - -This section allows you to quickly find features that -need to be converted. - -TODO - -\section{OnActivate} - -Rename to OldOnActivate, or replace arguments with one wxActivateEvent\& argument. - -\wxheading{See also} - -\helpref{Backward compatibility}{compat} - -\section{OnClose} - -This can either remain the same as before, or you can add an OnCloseWindow event -handler using an EVT\_CLOSE event table entry. - -\wxheading{See also} - -\helpref{Backward compatibility}{compat} - -\section{OnMenuCommand} - -Rename to OldOnMenuCommand, or replace with a series of functions, one for -each case of your old switch statement. Create an event table for your frame -containing EVT\_MENU macros, and insert DECLARE\_EVENT\_TABLE() in your frame class. - -\wxheading{See also} - -\helpref{Backward compatibility}{compat} - -\section{OnSize} - -Rename to OldOnSize, or replace arguments with one wxSizeEvent\& argument. - -\wxheading{See also} - -\helpref{Backward compatibility}{compat} - -\section{wxDialog::Show} - -If you used {\bf Show} to show a modal dialog, or to override the standard -modal dialog {\bf Show}, use {\bf ShowModal} instead. - -\wxheading{See also} - -\helpref{Dialogs and controls}{dialogscontrols} - -\end{document} diff --git a/docs/latex/porting/tex2rtf.ini b/docs/latex/porting/tex2rtf.ini deleted file mode 100644 index 304529b8e4..0000000000 --- a/docs/latex/porting/tex2rtf.ini +++ /dev/null @@ -1,28 +0,0 @@ -;;; Tex2RTF initialisation file for 16-bit Winhelp -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 = no -htmlBrowseButtons = bitmap -winHelpContents = yes -winHelpVersion = 3 ; 3 for Windows 3.x, 4 for Windows 95 -winHelpTitle = "wxWindows Porting Guide" -truncateFilenames = yes -combineSubSections = yes -\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}} -\docparam [2]{\parskip{0}{\it #1}\par\parskip{10}\indented{1cm}{#2}} -\wxheading [1]{{\bf \fcol{blue}{#1}}} -\const [0] {{\bf const}} -\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}} - diff --git a/docs/latex/porting/texhelp.sty b/docs/latex/porting/texhelp.sty deleted file mode 100644 index 81704b0575..0000000000 --- a/docs/latex/porting/texhelp.sty +++ /dev/null @@ -1,289 +0,0 @@ -% LaTeX style file -% Name: texhelp.sty -% Author: Julian Smart -% -% Purpose -% ------- -% Style file to enable the simultaneous preparation of printed LaTeX and on-line -% hypertext manuals. -% Use in conjunction with Tex2RTF (see Tex2RTF documentation). -% -% Note that if a non-ASCII character starts a newline and there should be a space -% between the last word on the previous line and the first word on this line, -% you need to use \rtfsp to generate a space in Windows Help. \rtfsp is ignored -% in all other formats. -% -% Julian Smart -% Artificial Intelligence Applications Institute -% -% -% ============== C++/CLIPS Documentation Facilities ============== -% -% Each class definition should be typeset with e.g. -% -% \section{\class{Name}: Parent} -% -% followed by a description of the class. -% Each member should follow: -% -% \membersection{wxName::Member} -% -% with a description of what this member does. -% Then, one (or more if overloaded) member (function) in detail: -% -% \func{return type}{name}{args} -% or -% \member{type}{name} -% -% where args is a list of \param{type}{name}, ... - -% Function, e.g. -% e.g. to typeset -% -% void DoIt(char *string); -% -% write: -% -% \func{void}{DoIt}{\param{char *}{string}} -% - -\newcommand{\func}[3]{\hangafter=1\noindent\hangindent=10mm -{{\it #1} {\bf #2}\index{#2}}(#3)} - -% For function/type definition where the name is a pointer, -% e.g. to typeset -% -% typedef void (*wxFunction)(wxObject&) -% -% write: -% -% \pfunc{typedef void}{wxFunction}{param{wxObject&}} - -\newcommand{\pfunc}[3]{\hangafter=1\noindent\hangindent=10mm -{{\it #1} ({\bf *#2})\index{#2}}(#3)} - -% Use an ordinary \section command for class name definitions. - -% This is used for a member, such as wxBitmap: GetDepth -\newcommand{\membersection}[1]{\subsection*{#1}\index{#1}} - -% CLIPS function -\newcommand{\clipsfunc}[3]{\hangafter=1\noindent\hangindent=10mm -{{\bf #1} ({\bf #2}\index{#2}}#3)} - -\newcommand{\clipssection}[1]{\chapter{#1}} - -% This is used for a CLIPS function name -\newcommand{\functionsection}[1]{\subsection*{#1}} - -% Member: a type and a name -\newcommand{\member}[2]{{\bf #1 \it #2}} - -% C++ Parameter: a type and a name (no intervening space) -\newcommand{\param}[2]{{\it #1}{\bf #2}} - -% CLIPS Parameter: a type and a name (one intervening space) -\newcommand{\cparam}[2]{{\bf #1} {\it #2}} - -% Class: puts in index -\newcommand{\class}[1]{#1\index{#1}} - -% Void type -\newcommand{\void}{{\it void}} - -% Typeset destructor -\newcommand{\destruct}[1]{{$\sim$}#1} - -% Typeset insert/extract operators -\newcommand{\cinsert}{$<<$} -\newcommand{\cextract}{$>>$} - - -% =================== Hypertext facilities =================== -% -% To insert hyperlinks (or references, in Latex), \label the sections -% or membersections \label{ref-label} immediately after the section, on the same line, -% and use \helpref{text-to-show}{ref-label} to make a reference. -% - -% Type text with section reference -\newcommand{\helpref}[2]{{\it #1} (p.\ \pageref{#2}) } - -% Type text with URL in verbatim mode -\newcommand{\urlref}[2]{#1 (\verb$#2$)} - -% Don't typeset section number in LaTeX -\newcommand{\helprefn}[2]{{\it #1}} - -% Like helpref, but popup text in WinHelp instead of hyperlinked -\newcommand{\popref}[2]{{\it #1}} - -% Like footnote, but popup text. -\newcommand{\footnotepopup}[2]{{\it #1}\footnote{#2}} - -% =================== On-line help specific macros =================== -% - -% Global document font size/family, help only. -\newcommand{\helpfontsize}[1]{} -\newcommand{\helpfontfamily}[1]{} - -% Ignore in all on-line help -\newcommand{\helpignore}[1]{#1} -% Only print in all on-line help -\newcommand{\helponly}[1]{} - -% Ignore in LaTeX -\newcommand{\latexignore}[1]{} -% Only print in LaTeX -\newcommand{\latexonly}[1]{#1} - -% Ignore in linear RTF -\newcommand{\rtfignore}[1]{#1} -% Only print in linear RTF -\newcommand{\rtfonly}[1]{} - -% Ignore in WinHelp RTF -\newcommand{\winhelpignore}[1]{#1} -% Only print in WinHelp RTF -\newcommand{\winhelponly}[1]{} - -% Ignore in wxHelp -\newcommand{\xlpignore}[1]{#1} -% Only print in wxHelp -\newcommand{\xlponly}[1]{} - -% Ignore in HTML -\newcommand{\htmlignore}[1]{#1} -% Only print in HTML -\newcommand{\htmlonly}[1]{} - -% Input a file only for help system (binder thickness is not a limitation -% in help systems!) -\newcommand{\helpinput}[1]{} - -\newcommand{\rtfsp}{ } % Force a space in RTF, ignore in Latex - -% =================== Miscellaneous macros =================== -% -% Headings consistent with generated ones -\newcommand{\myheading}[1]{\vspace*{25pt} -\begin{flushleft} -{\LARGE \bf #1} -\end{flushleft} -\vskip 20pt -} - -% Heading with entry in contents page. -\newcommand{\chapterheading}[1]{\myheading{#1} -\addcontentsline{toc}{chapter}{#1}} - -\newcommand{\sectionheading}[1]{\myheading{#1} -\addcontentsline{toc}{section}{#1}} - -% Glossary environment -\newenvironment{helpglossary}{\newpage\chapterheading{Glossary}\begin{description}}{\end{description}} - -% Glossary entry -\newcommand{\gloss}[1]{\item[#1]\index{#1}} - -% Image: EPS in Latex, BMP or MF (whatever's available) in RTF. Requires psbox. -\newcommand{\image}[2]{\psboxto(#1){#2}} - -% Image, left aligned (HTML) -\newcommand{\imager}[2]{\psboxto(#1){#2}} - -% Image, right aligned (HTML) -\newcommand{\imagel}[2]{\psboxto(#1){#2}} - -% Imagemap: principally for HTML only. In Latex, -% acts like \image. -\newcommand{\imagemap}[3]{\psboxto(#1){#2}} - -% Headers and footers -% \setheader{EvenPageLeft}{EvenPageCentre}{EvenPageRight} -% {OddPageLeft}{OddPageCentre}{OddPageRight} -\newcommand{\setheader}[6]{ -\lhead[\fancyplain{}{#1}]{\fancyplain{}{#4}} -\chead[\fancyplain{}{#2}]{\fancyplain{}{#5}} -\rhead[\fancyplain{}{#3}]{\fancyplain{}{#6}} -} - -% \setfooter{EvenPageLeft}{EvenPageCentre}{EvenPageRight} -% {OddPageLeft}{OddPageCentre}{OddPageRight} -\newcommand{\setfooter}[6]{ -\lfoot[\fancyplain{#1}{#1}]{\fancyplain{#4}{#4}} -\cfoot[\fancyplain{#2}{#2}]{\fancyplain{#5}{#5}} -\rfoot[\fancyplain{#3}{#3}]{\fancyplain{#6}{#6}} -} - -% Needed for telling RTF where margin paragraph should go -% in mirrored margins mode. -\newcommand{\marginpareven}[1]{\hspace*{0pt}\marginpar{#1}} -\newcommand{\marginparodd}[1]{\hspace*{0pt}\marginpar{#1}} - -% Environment for two-column table popular in WinHelp and manuals. -\newcommand{\twocolwidtha}[1]{\def\twocolwidthaval{#1}} -\newcommand{\twocolwidthb}[1]{\def\twocolwidthbval{#1}} -\newcommand{\twocolspacing}[1]{\def\twocolspacingval{#1}} - -\twocolwidtha{3cm} -\twocolwidthb{8.5cm} -\twocolspacing{2} - -\newcommand{\twocolitem}[2]{#1 & #2\\} -\newcommand{\twocolitemruled}[2]{#1 & #2\\\hline} - -\newenvironment{twocollist}{\renewcommand{\arraystretch}{\twocolspacingval}\begin{tabular}{lp{\twocolwidthbval}}}% -{\end{tabular}\renewcommand{\arraystretch}{1}} - -% Specifying table rows for RTF compatibility -\newcommand{\row}[1]{#1\\} - -% Use for the last ruled row for correct RTF generation. -\newcommand{\ruledrow}[1]{#1\\\hline} - -% Indentation environment. Arg1 is left margin size -\newenvironment{indented}[1]{\begin{list}{}{\leftmargin=#1}\item[]}% -{\end{list}} - -% Framed box of text, normal formatting. -\newcommand{\normalbox}[1]{\fbox{\vbox{#1}}} -% Double-framed box of text. -\newcommand{\normalboxd}[1]{\fbox{\fbox{\vbox{#1}}}} - -% WITHDRAWN -- can't do in RTF, easily. -% Framed box of text, horizontally centred. Ragged right within box. -% \newcommand{\centeredbox}[2]{\begin{center}\fbox{\parbox{#1}{\raggedright#2}}\end{center}} -% Double-framed box of text, horizontally centred. Ragged right within box. -% \newcommand{\centeredboxd}[2]{\begin{center}\fbox{\fbox{\parbox{#1}{\raggedright#2}}}\end{center}} - -% toocomplex environment: simply prints the argument in LaTeX, -% comes out verbatim in all generated formats. -\newenvironment{toocomplex}{}{} - -% Colour: dummy commands since LaTeX doesn't support colour. -% \definecolour{name}{red}{blue}{green} -% \fcol{name}{text} ; Foreground -% \bcol{name}{text} ; Background -\newcommand{\definecolour}[4]{} -\newcommand{\definecolor}[4]{} -\newcommand{\fcol}[2]{#2} -\newcommand{\bcol}[2]{#2} -\newcommand{\sethotspotcolour}[1]{} -\newcommand{\sethotspotunderline}[1]{} -\newcommand{\settransparency}[1]{} -\newcommand{\backslashraw}[0]{} -\newcommand{\lbraceraw}[0]{} -\newcommand{\rbraceraw}[0]{} -\newcommand{\registered}[0]{(r)} -\newcommand{\background}[1]{} -\newcommand{\textcolour}[1]{} -\newcommand{\overview}[2]{See \helpref{#1}{#2}.} -\newcommand{\docparam}[2]{{\it #1}\begin{list}{}{\leftmargin=1cm}\item[] -#2% -\end{list}} -\newcommand{\wxheading}[1]{{\bf #1}} -\newcommand{\const}[0]{{\bf const}} -\newcommand{\constfunc}[3]{{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}} - diff --git a/docs/latex/porting/up.gif b/docs/latex/porting/up.gif deleted file mode 100644 index f9e7031e64..0000000000 --- a/docs/latex/porting/up.gif +++ /dev/null @@ -1 +0,0 @@ -GIF87a \ No newline at end of file diff --git a/docs/latex/wx/activevt.tex b/docs/latex/wx/activevt.tex deleted file mode 100644 index 6eca563147..0000000000 --- a/docs/latex/wx/activevt.tex +++ /dev/null @@ -1,56 +0,0 @@ -\section{\class{wxActivateEvent}}\label{wxactivateevent} - -An activate event is sent when a window or application is being activated -or deactivated. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process an activate event, use these event handler macros to direct input to a member -function that takes a wxActivateEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_ACTIVATE(func)}}{Process a wxEVT\_ACTIVATE event.} -\twocolitem{{\bf EVT\_ACTIVATE\_APP(func)}}{Process a wxEVT\_ACTIVATE\_APP event.} -\end{twocollist}% - -\wxheading{Remarks} - -A top-level window (a dialog or frame) receives an activate event when is -being activated or deactivated. This is indicated visually by the title -bar changing colour, and a subwindow gaining the keyboard focus. - -An application is activated or deactivated when one of its frames becomes activated, -or a frame becomes inactivate resulting in all application frames being inactive. (Windows only) - -\wxheading{See also} - -\helpref{wxWindow::OnActivate}{wxwindowonactivate},\rtfsp -\helpref{wxApp::OnActivate}{wxapponactivate},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxActivateEvent::wxActivateEvent} - -\func{}{wxActivateEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}} - -Constructor. - -\membersection{wxActivateEvent::m\_active} - -\member{bool}{m\_active} - -TRUE if the window or application was activated. - -\membersection{wxActivateEvent::GetActive}\label{wxactivateeventgetactive} - -\constfunc{bool}{GetActive}{\void} - -Returns TRUE if the application or window is being activated, FALSE otherwise. - diff --git a/docs/latex/wx/app.tex b/docs/latex/wx/app.tex deleted file mode 100644 index c2464a6123..0000000000 --- a/docs/latex/wx/app.tex +++ /dev/null @@ -1,395 +0,0 @@ -\section{\class{wxApp}}\label{wxapp} - -The {\bf wxApp} class represents the application itself. It is used -to: - -\begin{itemize}\itemsep=0pt -\item set and get application-wide properties; -\item implement the windowing system message or event loop; -\item initiate application processing via \helpref{wxApp::OnInit}{wxapponinit}; -\item allow default processing of events not handled by other -objects in the application. -\end{itemize} - -You should use the macro IMPLEMENT\_APP(appClass) in your application implementation -file to tell wxWindows how to create an instance of your application class. - -Use DECLARE\_APP(appClass) in a header file if you want the wxGetApp function (which returns -a reference to your application object) to be visible to other files. - -\wxheading{Derived from} - -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxApp overview}{wxappoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxApp::wxApp} - -\func{void}{wxApp}{\param{int}{ language = wxLANGUAGE\_ENGLISH}} - -Constructor. Called implicitly with a definition of a wxApp object. - -The argument is a language identifier; this is an experimental -feature and will be expanded and documented in future versions. - -TODO: completely rewrite the language stuff. - -\membersection{wxApp::\destruct{wxApp}} - -\func{void}{\destruct{wxApp}}{\void} - -Destructor. Will be called implicitly on program exit if the wxApp -object is created on the stack. - -\membersection{wxApp::argc}\label{wxappargc} - -\member{int}{argc} - -Number of command line arguments (after environment-specific processing). - -\membersection{wxApp::argv}\label{wxappargv} - -\member{char **}{argv} - -Command line arguments (after environment-specific processing). - -\membersection{wxApp::CreateLogTarget}\label{wxappcreatelogtarget} - -\func{virtual wxLog*}{CreateLogTarget}{\void} - -Creates a wxLog class for the application to use for logging errors. The default -implementation returns a new wxLogGui class. - -\wxheading{See also} - -\helpref{wxLog}{wxlog} - -\membersection{wxApp::Dispatch}\label{wxappdispatch} - -\func{void}{Dispatch}{\void} - -Dispatches the next event in the windowing system event queue. - -This can be used for programming event loops, e.g. - -\begin{verbatim} - while (app.Pending()) - Dispatch(); -\end{verbatim} - -\wxheading{See also} - -\helpref{wxApp::Pending}{wxapppending} - -\membersection{wxApp::GetAppName}\label{wxappgetappname} - -\constfunc{wxString}{GetAppName}{\void} - -Returns the application name. - -\wxheading{Remarks} - -wxWindows sets this to a reasonable default before -calling \helpref{wxApp::OnInit}{wxapponinit}, but the application can reset it at will. - -\membersection{wxApp::GetAuto3D}\label{wxappgetauto3d} - -\constfunc{bool}{GetAuto3D}{\void} - -Returns TRUE if 3D control mode is on, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxApp::SetAuto3D}{wxappsetauto3d} - -\membersection{wxApp::GetClassName}\label{wxappgetclassname} - -\constfunc{wxString}{GetClassName}{\void} - -Gets the class name of the application. The class name may be used in a platform specific -manner to refer to the application. - -\wxheading{See also} - -\helpref{wxApp::SetClassName}{wxappsetclassname} - -\membersection{wxApp::GetExitOnDelete}\label{wxappgetexitondelete} - -\constfunc{bool}{GetExitOnDelete}{\void} - -Returns TRUE if the application will exit when the top-level window is deleted, FALSE -otherwise. - -\wxheading{See also} - -\helpref{wxApp::SetExitOnDelete}{wxappsetexitondelete} - -\membersection{wxApp::GetPrintMode}\label{wxappgetprintmode} - -\constfunc{bool}{GetPrintMode}{\void} - -Returns the print mode: see \helpref{wxApp::SetPrintMode}{wxappsetprintmode}. - -\membersection{wxApp::GetTopWindow}\label{wxappgettopwindow} - -\constfunc{wxWindow *}{GetTopWindow}{\void} - -Returns a pointer to the top window. - -\wxheading{See also} - -\helpref{wxApp::SetTopWindow}{wxappsettopwindow} - -\membersection{wxApp::ExitMainLoop}\label{wxappexitmainloop} - -\func{void}{ExitMainLoop}{\void} - -Call this to explicitly exit the main message (event) loop. -You should normally exit the main loop (and the application) by deleting -the top window. - -\membersection{wxApp::Initialized}\label{wxappinitialized} - -\func{bool}{Initialized}{\void} - -Returns TRUE if the application has been initialized (i.e. if\rtfsp -\helpref{wxApp::OnInit}{wxapponinit} has returned successfully). This can be useful for error -message routines to determine which method of output is best for the -current state of the program (some windowing systems may not like -dialogs to pop up before the main loop has been entered). - -\membersection{wxApp::MainLoop}\label{wxappmainloop} - -\func{int}{MainLoop}{\void} - -Called by wxWindows on creation of the application. Override this if you wish -to provide your own (environment-dependent) main loop. - -\wxheading{Return value} - -Returns 0 under X, and the wParam of the WM\_QUIT message under Windows. - -\membersection{wxApp::OnActivate}\label{wxapponactivate} - -\func{void}{OnActivate}{\param{wxActivateEvent\& }{event}} - -Provide this member function to know whether the application is being -activated or deactivated (Windows only). - -\wxheading{See also} - -\helpref{wxWindow::OnActivate}{wxwindowonactivate}, \helpref{wxActivateEvent}{wxactivateevent} - -\membersection{wxApp::OnExit}\label{wxapponexit} - -\func{int}{OnExit}{\void} - -Provide this member function for any processing which needs to be done as -the application is about to exit. - -\membersection{wxApp::OnCharHook}\label{wxapponcharhook} - -\func{void}{OnCharHook}{\param{wxKeyEvent\&}{ event}} - -This event handler function is called (under Windows only) to allow the window to intercept keyboard events -before they are processed by child windows. - -\wxheading{Parameters} - -\docparam{event}{The keypress event.} - -\wxheading{Remarks} - -Use the wxEVT\_CHAR\_HOOK macro in your event table. - -If you use this member, you can selectively consume keypress events by calling\rtfsp -\helpref{wxEvent::Skip}{wxeventskip} for characters the application is not interested in. - -\wxheading{See also} - -\helpref{wxKeyEvent}{wxkeyevent}, \helpref{wxWindow::OnChar}{wxwindowonchar},\rtfsp -\helpref{wxWindow::OnCharHook}{wxwindowoncharhook}, \helpref{wxDialog::OnCharHook}{wxdialogoncharhook} - -\membersection{wxApp::OnIdle}\label{wxapponidle} - -\func{void}{OnIdle}{\param{wxIdleEvent\& }{event}} - -Override this member function for any processing which needs to be done -when the application is idle. You should call wxApp::OnIdle from your own function, -since this forwards OnIdle events to windows and also performs garbage collection for -windows whose destruction has been delayed. - -wxWindows' strategy for OnIdle processing is as follows. After pending user interface events for an -application have all been processed, wxWindows sends an OnIdle event to the application object. wxApp::OnIdle itself -sends an OnIdle event to each application window, allowing windows to do idle processing such as updating -their appearance. If either wxApp::OnIdle or a window OnIdle function requested more time, by -caling \helpref{wxIdleEvent::ReqestMore}{wxidleeventrequestmore}, wxWindows will send another OnIdle -event to the application event. This will occur in a loop until either a user event is found to be -pending, or OnIdle requests no more time. Then all pending user events are processed until the system -goes idle again, when OnIdle is called, and so on. - -\wxheading{See also} - -\helpref{wxWindow::OnIdle}{wxwindowonidle}, \helpref{wxIdleEvent}{wxidleevent},\rtfsp -\helpref{wxWindow::SendIdleEvents}{wxappsendidleevents} - -\membersection{wxApp::OnInit}\label{wxapponinit} - -\func{bool}{OnInit}{\void} - -This must be provided by the application, and will usually create the -application's main window, calling \helpref{wxApp::SetTopWindow}{wxappsettopwindow}. - -Return TRUE to continue processing, FALSE to exit the application. - -\membersection{wxApp::Pending}\label{wxapppending} - -\func{bool}{Pending}{\void} - -Returns TRUE if unprocessed events are in the window system event queue -(MS Windows and Motif). - -\wxheading{See also} - -\helpref{wxApp::Dispatch}{wxappdispatch} - -\membersection{wxApp::ProcessMessage}\label{wxappprocessmessage} - -\func{bool}{ProcessMessage}{\param{MSG *}{msg}} - -Windows-only function for processing a message. This function -is called from the main message loop, checking for windows that -may wish to process it. The function returns TRUE if the message -was processed, FALSE otherwise. If you use wxWindows with another class -library with its own message loop, you should make sure that this -function is called to allow wxWindows to receive messages. For example, -to allow co-existance with the Microsoft Foundation Classes, override -the PreTranslateMessage function: - -\begin{verbatim} -// Provide wxWindows message loop compatibility -BOOL CTheApp::PreTranslateMessage(MSG *msg) -{ - if (wxTheApp && wxTheApp->ProcessMessage(msg)) - return TRUE; - else - return CWinApp::PreTranslateMessage(msg); -} -\end{verbatim} - -\membersection{wxApp::SendIdleEvents}\label{wxappsendidleevents} - -\func{bool}{SendIdleEvents}{\void} - -Sends idle events to all top-level windows. - -\func{bool}{SendIdleEvents}{\param{wxWindow*}{ win}} - -Sends idle events to a window and its children. - -\wxheading{Remarks} - -These functions poll the top-level windows, and their children, for idle event processing. -If TRUE is returned, more OnIdle processing is requested by one or more window. - -\wxheading{See also} - -\helpref{wxApp::OnIdle}{wxapponidle}, \helpref{wxWindow::OnIdle}{wxwindowonidle}, \helpref{wxIdleEvent}{wxidleevent} - -\membersection{wxApp::SetAppName}\label{wxappsetappname} - -\func{void}{SetAppName}{\param{const wxString\& }{name}} - -Sets the name of the application. The name may be used in dialogs -(for example by the document/view framework). A default name is set by -wxWindows. - -\wxheading{See also} - -\helpref{wxApp::GetAppName}{wxappgetappname} - -\membersection{wxApp::SetAuto3D}\label{wxappsetauto3d} - -\func{void}{SetAuto3D}{\param{const bool}{ auto3D}} - -Switches automatic 3D controls on or off. - -\wxheading{Parameters} - -\docparam{auto3D}{If TRUE, all controls will be created with 3D appearances unless -overridden for a control or dialog. The default is TRUE} - -\wxheading{Remarks} - -This has an effect on Windows only. - -\wxheading{See also} - -\helpref{wxApp::GetAuto3D}{wxappgetauto3d} - -\membersection{wxApp::SetClassName}\label{wxappsetclassname} - -\func{void}{SetClassName}{\param{const wxString\& }{name}} - -Sets the class name of the application. This may be used in a platform specific -manner to refer to the application. - -\wxheading{See also} - -\helpref{wxApp::GetClassName}{wxappgetclassname} - -\membersection{wxApp::SetExitOnDelete}\label{wxappsetexitondelete} - -\func{void}{SetExitOnDelete}{\param{bool}{ flag}} - -Allows the programmer to specify whether the application will exit when the -top-level frame is deleted. - -\wxheading{Parameters} - -\docparam{flag}{If TRUE (the default), the application will exit when the top-level frame is -deleted. If FALSE, the application will continue to run.} - -\wxheading{Remarks} - -Currently, setting this to FALSE only has an effect under Windows. - -\membersection{wxApp::SetPrintMode}\label{wxappsetprintmode} - -\func{void}{SetPrintMode}{\param{int}{ mode}} - -Sets the print mode determining what printing facilities will be -used by the printing framework. - -\wxheading{Parameters} - -\docparam{mode}{This can be one of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxPRINT\_WINDOWS}}{Under Windows, use Windows printing (wxPrinterDC). This is the -default under Windows.} -\twocolitem{{\bf wxPRINT\_POSTSCRIPT}}{Use PostScript printing (wxPostScriptDC). This is the -default for non-Windows platforms.} -\end{twocollist} -}% - -\membersection{wxApp::SetTopWindow}\label{wxappsettopwindow} - -\func{void}{SetTopWindow}{\param{wxWindow* }{window}} - -Sets the `top' window. You should normally call this from within \helpref{wxApp::OnInit}{wxapponinit} to -let wxWindows know which is the main window. - -\wxheading{Parameters} - -\docparam{window}{The new top window.} - -\wxheading{See also} - -\helpref{wxApp::GetTopWindow}{wxappgettopwindow}, \helpref{wxApp::OnInit}{wxapponinit} - diff --git a/docs/latex/wx/back.gif b/docs/latex/wx/back.gif deleted file mode 100644 index 8a61076d3ba74bdedc1d24f60c3d1f5a361a6cee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 225 zcmV<703QEGNk%v~VLt#E0Pz3-zrVld=jU&4Z(9HWEC2ui06zd20008IjE||y?GK}z zNf>~$-n{z{YJwGn=81mem9{RpmcUHc_KoNIPRH~B4DyD9p%LJl6@Sa4^Epcbno6kk zD5XxT&EQg7>t<(Iwfoo diff --git a/docs/latex/wx/bbutton.tex b/docs/latex/wx/bbutton.tex deleted file mode 100644 index be4160c6a3..0000000000 --- a/docs/latex/wx/bbutton.tex +++ /dev/null @@ -1,231 +0,0 @@ -\section{\class{wxBitmapButton}}\label{wxbitmapbutton} - -A bitmap button is a control that contains a bitmap. -It may be placed on a \helpref{dialog box}{wxdialog} or \helpref{panel}{wxpanel}, or indeed -almost any other window. - -\wxheading{Derived from} - -\helpref{wxButton}{wxbutton}\\ -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -A bitmap button can be supplied with a single bitmap, and wxWindows will draw -all button states using this bitmap. If the application needs more control, additional bitmaps for -the selected state, unpressed focussed state, and greyed-out state may be supplied. - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxBU\_AUTODRAW}}{If -this is specified, the button will be drawn automatically using the label bitmap only, providing -a 3D-look border. If this style is not specified, the button will be drawn without borders and using all -provided bitmaps.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED event, -when the button is clicked.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxButton}{wxbutton} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxBitmapButton::wxBitmapButton}\label{wxbitmapbuttonconstr} - -\func{}{wxBitmapButton}{\void} - -Default constructor. - -\func{}{wxBitmapButton}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxBitmap\& }{bitmap},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxBU\_AUTODRAW}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}} - -Constructor, creating and showing a button. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Button identifier. A value of -1 indicates a default value.} - -\docparam{bitmap}{Bitmap to be displayed.} - -\docparam{pos}{Button position.} - -\docparam{size}{Button size. If the default size (-1, -1) is specified then the button is sized -appropriately for the bitmap.} - -\docparam{style}{Window style. See \helpref{wxBitmapButton}{wxbitmapbutton}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{Remarks} - -The {\it bitmap} parameter is normally the only bitmap you need to provide, and wxWindows will -draw the button correctly in its different states. If you want more control, call -any of the functions \helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp -\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp -\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled}. - -Note that the bitmap passed is smaller than the actual button created. - -\wxheading{See also} - -\helpref{wxBitmapButton::Create}{wxbitmapbuttoncreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxBitmapButton::\destruct{wxBitmapButton}} - -\func{}{\destruct{wxBitmapButton}}{\void} - -Destructor, destroying the button. - -\membersection{wxBitmapButton::Create}\label{wxbitmapbuttoncreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxBitmap\& }{bitmap},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}} - -Button creation function for two-step creation. For more details, see \helpref{wxBitmapButton::wxBitmapButton}{wxbitmapbuttonconstr}. - -\membersection{wxBitmapButton::GetBitmapDisabled}\label{wxbitmapbuttongetbitmapdisabled} - -\constfunc{wxBitmap\&}{GetBitmapLabel}{\void} - -Returns the bitmap for the disabled state. - -\wxheading{Return value} - -A reference to the disabled state bitmap. - -\wxheading{See also} - -\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled} - -\membersection{wxBitmapButton::GetBitmapFocus}\label{wxbitmapbuttongetbitmapfocus} - -\constfunc{wxBitmap\&}{GetBitmapFocus}{\void} - -Returns the bitmap for the focussed state. - -\wxheading{Return value} - -A reference to the focussed state bitmap. - -\wxheading{See also} - -\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus} - -\membersection{wxBitmapButton::GetBitmapLabel}\label{wxbitmapbuttongetbitmaplabel} - -\constfunc{wxBitmap\&}{GetBitmapLabel}{\void} - -Returns the label bitmap (the one passed to the constructor). - -\wxheading{Return value} - -A reference to the button's label bitmap. - -\wxheading{See also} - -\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel} - -\membersection{wxBitmapButton::GetBitmapSelected}\label{wxbitmapbuttongetbitmapselected} - -\constfunc{wxBitmap\&}{GetBitmapSelected}{\void} - -Returns the bitmap for the selected state. - -\wxheading{Return value} - -A reference to the selected state bitmap. - -\wxheading{See also} - -\helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected} - -\membersection{wxBitmapButton::SetBitmapDisabled}\label{wxbitmapbuttonsetbitmapdisabled} - -\func{void}{SetBitmapDisabled}{\param{const wxBitmap\& }{bitmap}} - -Sets the bitmap for the disabled button appearance. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap to set.} - -\wxheading{See also} - -\helpref{wxBitmapButton::GetBitmapDisabled}{wxbitmapbuttongetbitmapdisabled},\rtfsp -\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel},\rtfsp -\helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp -\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus} - -\membersection{wxBitmapButton::SetBitmapFocus}\label{wxbitmapbuttonsetbitmapfocus} - -\func{void}{SetBitmapFocus}{\param{const wxBitmap\& }{bitmap}} - -Sets the bitmap for the button appearance when it has the keyboard focus. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap to set.} - -\wxheading{See also} - -\helpref{wxBitmapButton::GetBitmapFocus}{wxbitmapbuttongetbitmapfocus},\rtfsp -\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel},\rtfsp -\helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp -\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled} - -\membersection{wxBitmapButton::SetBitmapLabel}\label{wxbitmapbuttonsetbitmaplabel} - -\func{void}{SetBitmapLabel}{\param{const wxBitmap\& }{bitmap}} - -Sets the bitmap label for the button. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap label to set.} - -\wxheading{Remarks} - -This is the bitmap used for the unselected state, and for all other states -if no other bitmaps are provided. - -\wxheading{See also} - -\helpref{wxBitmapButton::GetBitmapLabel}{wxbitmapbuttongetbitmaplabel} - -\membersection{wxBitmapButton::SetBitmapSelected}\label{wxbitmapbuttonsetbitmapselected} - -\func{void}{SetBitmapSelected}{\param{const wxBitmap\& }{bitmap}} - -Sets the bitmap for the selected (depressed) button appearance. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap to set.} - -\wxheading{See also} - -\helpref{wxBitmapButton::GetBitmapSelected}{wxbitmapbuttongetbitmapselected},\rtfsp -\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel},\rtfsp -\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp -\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled} - diff --git a/docs/latex/wx/bitmap.tex b/docs/latex/wx/bitmap.tex deleted file mode 100644 index f18676eb78..0000000000 --- a/docs/latex/wx/bitmap.tex +++ /dev/null @@ -1,683 +0,0 @@ -\section{\class{wxBitmap}}\label{wxbitmap} - -%\overview{Overview}{wxbitmapoverview} -% -This class encapsulates the concept of a platform-dependent bitmap, -either monochrome or colour. - -\wxheading{Derived from} - -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxBitmap overview}{wxbitmapoverview}, \helpref{wxDC::Blit}{wxdcblit}, \helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}, \helpref{wxMemoryDC}{wxmemorydc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxBitmap::wxBitmap}\label{wxbitmapconstr} - -\func{}{wxBitmap}{\void} - -Default constructor. - -\func{}{wxBitmap}{\param{const wxBitmap\& }{bitmap}} - -\func{}{wxBitmap}{\param{const wxBitmap* }{bitmap}} - -Copy constructors. - -\func{}{wxBitmap}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a bitmap from the given data, which can be of arbitrary type. - -\func{}{wxBitmap}{\param{const char}{ bits[]}, \param{int}{ width}, \param{int}{ height}\\ - \param{int}{ depth = 1}} - -Creates a bitmap from an array of bits. - -\func{}{wxBitmap}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a new bitmap. - -\func{}{wxBitmap}{\param{const char**}{ bits}} - -Creates a bitmap from XPM data. - -\func{}{wxBitmap}{\param{const wxString\& }{name}, \param{long}{ type}} - -Loads a bitmap from a file or resource. - -\wxheading{Parameters} - -\docparam{bits}{Specifies an array of pixel values.} - -\docparam{width}{Specifies the width of the bitmap.} - -\docparam{height}{Specifies the height of the bitmap.} - -\docparam{depth}{Specifies the depth of the bitmap. If this is omitted, the display depth of the -screen is used.} - -\docparam{name}{This can refer to a resource name under MS Windows, or a filename under MS Windows and X. -Its meaning is determined by the {\it flags} parameter.} - -\docparam{type}{May be one of the following: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_BMP}}}{Load a Windows bitmap file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_BMP\_RESOURCE}}}{Load a Windows bitmap from the resource database.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_GIF}}}{Load a GIF bitmap file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_XBM}}}{Load an X bitmap file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_XPM}}}{Load an XPM bitmap file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_RESOURCE}}}{Load a Windows resource name.} -\end{twocollist} - -The validity of these flags depends on the platform and wxWindows configuration. -If all possible wxWindows settings are used, the Windows platform supports BMP, BMP\_RESOURCE, -XPM\_DATA, and XPM. Under X, the available formats are BMP, GIF, XBM, and XPM.} - -\wxheading{Remarks} - -The first form constructs a bitmap object with no data; an assignment or another member function such as Create -or LoadFile must be called subsequently. - -The second and third forms provide copy constructors. Note that these do not copy the -bitmap data, but instead a pointer to the data, keeping a reference count. They are therefore -very efficient operations. - -The fourth form constructs a bitmap from data whose type and value depends on -the value of the {\it type} argument. - -The fifth form constructs a (usually monochrome) bitmap from an array of pixel values, under both -X and Windows. - -The sixth form constructs a new bitmap. - -The seventh form constructs a bitmap from pixmap (XPM) data, if wxWindows has been configured -to incorporate this feature. - -To use this constructor, you must first include an XPM file. For -example, assuming that the file {\tt mybitmap.xpm} contains an XPM array -of character pointers called mybitmap: - -\begin{verbatim} -#include "mybitmap.xpm" - -... - -wxBitmap *bitmap = new wxBitmap(mybitmap); -\end{verbatim} - -The eighth form constructs a bitmap from a file or resource. {\it name} can refer -to a resource name under MS Windows, or a filename under MS Windows and X. - -Under Windows, {\it type} defaults to wxBITMAP\_TYPE\_BMP\_RESOURCE. -Under X, {\it type} defaults to wxBITMAP\_TYPE\_XBM. - -\wxheading{See also} - -\helpref{wxBitmap::LoadFile}{wxbitmaploadfile} - -\membersection{wxBitmap::\destruct{wxBitmap}} - -\func{}{\destruct{wxBitmap}}{\void} - -Destroys the wxBitmap object and possibly the underlying bitmap data. -Because reference counting is used, the bitmap may not actually be -destroyed at this point - only when the reference count is zero will the -data be deleted. - -If the application omits to delete the bitmap explicitly, the bitmap will be -destroyed automatically by wxWindows when the application exits. - -Do not delete a bitmap that is selected into a memory device context. - -\membersection{wxBitmap::AddHandler}\label{wxbitmapaddhandler} - -\func{static void}{AddHandler}{\param{wxBitmapHandler*}{ handler}} - -Adds a handler to the end of the static list of format handlers. - -\docparam{handler}{A new bitmap format handler object. There is usually only one instance -of a given handler class in an application session.} - -\wxheading{See also} - -\helpref{wxBitmapHandler}{wxbitmaphandler} - -\membersection{wxBitmap::CleanUpHandlers} - -\func{static void}{CleanUpHandlers}{\void} - -Deletes all bitmap handlers. - -This function is called by wxWindows on exit. - -\membersection{wxBitmap::Create} - -\func{virtual bool}{Create}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a fresh bitmap. If the final argument is omitted, the display depth of -the screen is used. - -\func{virtual bool}{Create}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a bitmap from the given data, which can be of arbitrary type. - -\wxheading{Parameters} - -\docparam{width}{The width of the bitmap in pixels.} - -\docparam{height}{The height of the bitmap in pixels.} - -\docparam{depth}{The depth of the bitmap in pixels. If this is -1, the screen depth is used.} - -\docparam{data}{Data whose type depends on the value of {\it type}.} - -\docparam{type}{A bitmap type identifier - see \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for a list -of possible values.} - -\wxheading{Return value} - -TRUE if the call succeeded, FALSE otherwise. - -\wxheading{Remarks} - -The first form works on all platforms. The portability of the second form depends on the -type of data. - -\wxheading{See also} - -\helpref{wxBitmap::wxBitmap}{wxbitmapconstr} - -\membersection{wxBitmap::FindHandler} - -\func{static wxBitmapHandler*}{FindHandler}{\param{const wxString\& }{name}} - -Finds the handler with the given name. - -\func{static wxBitmapHandler*}{FindHandler}{\param{const wxString\& }{extension}, \param{long}{ bitmapType}} - -Finds the handler associated with the given extension and type. - -\func{static wxBitmapHandler*}{FindHandler}{\param{long }{bitmapType}} - -Finds the handler associated with the given bitmap type. - -\docparam{name}{The handler name.} - -\docparam{extension}{The file extension, such as ``bmp".} - -\docparam{bitmapType}{The bitmap type, such as wxBITMAP\_TYPE\_BMP.} - -\wxheading{Return value} - -A pointer to the handler if found, NULL otherwise. - -\wxheading{See also} - -\helpref{wxBitmapHandler}{wxbitmaphandler} - -\membersection{wxBitmap::GetDepth} - -\constfunc{int}{GetDepth}{\void} - -Gets the colour depth of the bitmap. A value of 1 indicates a -monochrome bitmap. - -\membersection{wxBitmap::GetHandlers} - -\func{static wxList\&}{GetHandlers}{\void} - -Returns the static list of bitmap format handlers. - -\wxheading{See also} - -\helpref{wxBitmapHandler}{wxbitmaphandler} - -\membersection{wxBitmap::GetHeight}\label{wxbitmapgetheight} - -\constfunc{int}{GetHeight}{\void} - -Gets the height of the bitmap in pixels. - -\membersection{wxBitmap::GetPalette}\label{wxbitmapgetpalette} - -\constfunc{wxPalette*}{GetPalette}{\void} - -Gets the associated palette (if any) which may have been loaded from a file -or set for the bitmap. - -\wxheading{See also} - -\helpref{wxPalette}{wxpalette} - -\membersection{wxBitmap::GetMask}\label{wxbitmapgetmask} - -\constfunc{wxMask*}{GetMask}{\void} - -Gets the associated mask if any) which may have been loaded from a file -or set for the bitmap. - -\wxheading{See also} - -\helpref{wxBitmap::SetMask}{wxbitmapsetmask}, \helpref{wxMask}{wxmask} - -\membersection{wxBitmap::GetWidth}\label{wxbitmapgetwidth} - -\constfunc{int}{GetWidth}{\void} - -Gets the width of the bitmap in pixels. - -\wxheading{See also} - -\helpref{wxBitmap::GetHeight}{wxbitmapgetheight} - -\membersection{wxBitmap::InitStandardHandlers} - -\func{static void}{InitStandardHandlers}{\void} - -Adds the standard bitmap format handlers, which, depending on wxWindows -configuration, can be handlers for Windows bitmap, Windows bitmap resource, and XPM. - -This function is called by wxWindows on startup. - -\wxheading{See also} - -\helpref{wxBitmapHandler}{wxbitmaphandler} - -\membersection{wxBitmap::InsertHandler} - -\func{static void}{InsertHandler}{\param{wxBitmapHandler*}{ handler}} - -Adds a handler at the start of the static list of format handlers. - -\docparam{handler}{A new bitmap format handler object. There is usually only one instance -of a given handler class in an application session.} - -\wxheading{See also} - -\helpref{wxBitmapHandler}{wxbitmaphandler} - -\membersection{wxBitmap::LoadFile}\label{wxbitmaploadfile} - -\func{bool}{LoadFile}{\param{const wxString\&}{ name}, \param{long}{ type}} - -Loads a bitmap from a file or resource. - -\wxheading{Parameters} - -\docparam{name}{Either a filename or a Windows resource name. -The meaning of {\it name} is determined by the {\it type} parameter.} - -\docparam{type}{One of the following values: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Load a Windows bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap from the resource database.} -\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.} -\end{twocollist} - -The validity of these flags depends on the platform and wxWindows configuration.} - -\wxheading{Return value} - -TRUE if the operation succeeded, FALSE otherwise. - -\wxheading{Remarks} - -A palette may be associated with the bitmap if one exists (especially for -colour Windows bitmaps), and if the code supports it. You can check -if one has been created by using the \helpref{GetPalette}{wxbitmapgetpalette} member. - -\wxheading{See also} - -\helpref{wxBitmap::SaveFile}{wxbitmapsavefile} - -\membersection{wxBitmap::Ok}\label{wxbitmapok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if bitmap data is present. - -\membersection{wxBitmap::RemoveHandler} - -\func{static bool}{RemoveHandler}{\param{const wxString\& }{name}} - -Finds the handler with the given name, and removes it. The handler -is not deleted. - -\docparam{name}{The handler name.} - -\wxheading{Return value} - -TRUE if the handler was found and removed, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxBitmapHandler}{wxbitmaphandler} - -\membersection{wxBitmap::SaveFile}\label{wxbitmapsavefile} - -\func{bool}{SaveFile}{\param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}} - -Saves a bitmap in the named file. - -\wxheading{Parameters} - -\docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.} - -\docparam{type}{One of the following values: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Save a Windows bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Save a GIF bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Save an X bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.} -\end{twocollist} - -The validity of these flags depends on the platform and wxWindows configuration.} - -\docparam{palette}{An optional palette used for saving the bitmap. TODO: this parameter should -probably be eliminated; instead the app should set the palette before saving.} - -\wxheading{Return value} - -TRUE if the operation succeeded, FALSE otherwise. - -\wxheading{Remarks} - -Depending on how wxWindows has been configured, not all formats may be available. - -\wxheading{See also} - -\helpref{wxBitmap::LoadFile}{wxbitmaploadfile} - -\membersection{wxBitmap::SetDepth}\label{wxbitmapsetdepth} - -\func{void}{SetDepth}{\param{int }{depth}} - -Sets the depth member (does not affect the bitmap data). - -\wxheading{Parameters} - -\docparam{depth}{Bitmap depth.} - -\membersection{wxBitmap::SetHeight}\label{wxbitmapsetheight} - -\func{void}{SetHeight}{\param{int }{height}} - -Sets the height member (does not affect the bitmap data). - -\wxheading{Parameters} - -\docparam{height}{Bitmap height in pixels.} - -\membersection{wxBitmap::SetMask}\label{wxbitmapsetmask} - -\func{void}{SetMask}{\param{wxMask* }{mask}} - -Sets the mask for this bitmap. - -\wxheading{Remarks} - -The bitmap object owns the mask once this has been called. - -\wxheading{See also} - -\helpref{wxBitmap::GetMask}{wxbitmapgetmask}, \helpref{wxMask}{wxmask} - -\membersection{wxBitmap::SetOk} - -\func{void}{SetOk}{\param{int }{isOk}} - -Sets the validity member (does not affect the bitmap data). - -\wxheading{Parameters} - -\docparam{isOk}{Validity flag.} - -\membersection{wxBitmap::SetPalette}\label{wxbitmapsetpalette} - -\func{void}{SetPalette}{\param{wxPalette* }{palette}} - -Sets the associated palette: it will be deleted in the wxBitmap -destructor, so if you do not wish it to be deleted automatically, -reset the palette to NULL before the bitmap is deleted. - -\wxheading{Parameters} - -\docparam{palette}{The palette to set.} - -\wxheading{Remarks} - -The bitmap object owns the palette once this has been called. - -\wxheading{See also} - -\helpref{wxPalette}{wxpalette} - -\membersection{wxBitmap::SetWidth} - -\func{void}{SetWidth}{\param{int }{width}} - -Sets the width member (does not affect the bitmap data). - -\wxheading{Parameters} - -\docparam{width}{Bitmap width in pixels.} - -\membersection{wxBitmap::operator $=$} - -\func{wxBitmap\& }{operator $=$}{\param{const wxBitmap\& }{bitmap}} - -Assignment operator. This operator does not copy any data, but instead -passes a pointer to the data in {\it bitmap} and increments a reference -counter. It is a fast operation. - -\wxheading{Parameters} - -\docparam{bitmap}{Bitmap to assign.} - -\wxheading{Return value} - -Returns 'this' object. - -\membersection{wxBitmap::operator $==$} - -\func{bool}{operator $==$}{\param{const wxBitmap\& }{bitmap}} - -Equality operator. This operator tests whether the internal data pointers are -equal (a fast test). - -\wxheading{Parameters} - -\docparam{bitmap}{Bitmap to compare with 'this'} - -\wxheading{Return value} - -Returns TRUE if the bitmaps were effectively equal, FALSE otherwise. - -\membersection{wxBitmap::operator $!=$} - -\func{bool}{operator $!=$}{\param{const wxBitmap\& }{bitmap}} - -Inequality operator. This operator tests whether the internal data pointers are -unequal (a fast test). - -\wxheading{Parameters} - -\docparam{bitmap}{Bitmap to compare with 'this'} - -\wxheading{Return value} - -Returns TRUE if the bitmaps were unequal, FALSE otherwise. - -\section{\class{wxBitmapHandler}}\label{wxbitmaphandler} - -\overview{Overview}{wxbitmapoverview} - -This is the base class for implementing bitmap file loading/saving, and bitmap creation from data. -It is used within wxBitmap and is not normally seen by the application. - -If you wish to extend the capabilities of wxBitmap, derive a class from wxBitmapHandler -and add the handler using \helpref{wxBitmap::AddHandler}{wxbitmapaddhandler} in your -application initialisation. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxBitmapHandler::wxBitmapHandler}\label{wxbitmaphandlerconstr} - -\func{}{wxBitmapHandler}{\void} - -Default constructor. In your own default constructor, initialise the members -m\_name, m\_extension and m\_type. - -\membersection{wxBitmapHandler::\destruct{wxBitmapHandler}} - -\func{}{\destruct{wxBitmapHandler}}{\void} - -Destroys the wxBitmapHandler object. - -\membersection{wxBitmapHandler::Create} - -\func{virtual bool}{Create}{\param{wxBitmap* }{bitmap}, \param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a bitmap from the given data, which can be of arbitrary type. The wxBitmap object {\it bitmap} is -manipulated by this function. - -\wxheading{Parameters} - -\docparam{bitmap}{The wxBitmap object.} - -\docparam{width}{The width of the bitmap in pixels.} - -\docparam{height}{The height of the bitmap in pixels.} - -\docparam{depth}{The depth of the bitmap in pixels. If this is -1, the screen depth is used.} - -\docparam{data}{Data whose type depends on the value of {\it type}.} - -\docparam{type}{A bitmap type identifier - see \helpref{wxBitmapHandler::wxBitmapHandler}{wxbitmapconstr} for a list -of possible values.} - -\wxheading{Return value} - -TRUE if the call succeeded, FALSE otherwise (the default). - -\membersection{wxBitmapHandler::GetName} - -\constfunc{wxString}{GetName}{\void} - -Gets the name of this handler. - -\membersection{wxBitmapHandler::GetExtension} - -\constfunc{wxString}{GetExtension}{\void} - -Gets the file extension associated with this handler. - -\membersection{wxBitmapHandler::GetType} - -\constfunc{long}{GetType}{\void} - -Gets the bitmap type associated with this handler. - -\membersection{wxBitmapHandler::LoadFile}\label{wxbitmaphandlerloadfile} - -\func{bool}{LoadFile}{\param{wxBitmap* }{bitmap}, \param{const wxString\&}{ name}, \param{long}{ type}} - -Loads a bitmap from a file or resource, putting the resulting data into {\it bitmap}. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap object which is to be affected by this operation.} - -\docparam{name}{Either a filename or a Windows resource name. -The meaning of {\it name} is determined by the {\it type} parameter.} - -\docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.} - -\wxheading{Return value} - -TRUE if the operation succeeded, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}\\ -\helpref{wxBitmap::SaveFile}{wxbitmapsavefile}\\ -\helpref{wxBitmapHandler::SaveFile}{wxbitmaphandlersavefile} - -\membersection{wxBitmapHandler::SaveFile}\label{wxbitmaphandlersavefile} - -\func{bool}{SaveFile}{\param{wxBitmap* }{bitmap}, \param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}} - -Saves a bitmap in the named file. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap object which is to be affected by this operation.} - -\docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.} - -\docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.} - -\docparam{palette}{An optional palette used for saving the bitmap. TODO: this parameter should -probably be eliminated; instead the app should set the palette before saving.} - -\wxheading{Return value} - -TRUE if the operation succeeded, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}\\ -\helpref{wxBitmap::SaveFile}{wxbitmapsavefile}\\ -\helpref{wxBitmapHandler::LoadFile}{wxbitmaphandlerloadfile} - -\membersection{wxBitmapHandler::SetName} - -\func{void}{SetName}{\param{const wxString\& }{name}} - -Sets the handler name. - -\wxheading{Parameters} - -\docparam{name}{Handler name.} - -\membersection{wxBitmapHandler::SetExtension} - -\func{void}{SetExtension}{\param{const wxString\& }{extension}} - -Sets the handler extension. - -\wxheading{Parameters} - -\docparam{extension}{Handler extension.} - -\membersection{wxBitmapHandler::SetType} - -\func{void}{SetType}{\param{long }{type}} - -Sets the handler type. - -\wxheading{Parameters} - -\docparam{name}{Handler type.} - - diff --git a/docs/latex/wx/body.tex b/docs/latex/wx/body.tex deleted file mode 100644 index 0379856c00..0000000000 --- a/docs/latex/wx/body.tex +++ /dev/null @@ -1,814 +0,0 @@ -\chapter{Introduction}\label{introduction} -\pagenumbering{arabic}% -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -\section{What is wxWindows?} - -wxWindows is a C++ framework providing GUI (Graphical User -Interface) and other facilities on more than one platform. Version 2.0 currently -supports subsets MS Windows (16-bit, Windows 95 and Windows NT) and GTK. - -wxWindows was originally developed at the Artificial Intelligence -Applications Institute, University of Edinburgh, for internal use. -wxWindows has been released into the public domain in the hope -that others will also find it useful. Version 2.0 is written and -maintained by Julian Smart, Robert Roebling and others. - -This manual discusses wxWindows in the context of multi-platform -development.\helpignore{For more detail on the wxWindows version 2.0 API -(Application Programming Interface) please refer to the separate -wxWindows reference manual.} - -Please note that in the following, ``MS Windows" often refers to all -platforms related to Microsoft Windows, including 16-bit and 32-bit -variants, unless otherwise stated. All trademarks are acknowledged. - -\section{Why another cross-platform development tool?} - -wxWindows was developed to provide a cheap and flexible way to maximize -investment in GUI application development. While a number of commercial -class libraries already exist for cross-platform development, -none met all of the following criteria: - -\begin{enumerate}\itemsep=0pt -\item low price; -\item source availability; -\item simplicity of programming; -\item support for a wide range of compilers. -\end{enumerate} - -As public domain software and a project open to everyone, wxWindows has -benefited from comments, ideas, bug fixes, enhancements and the sheer -enthusiasm of users, especially via the Internet. This gives wxWindows a -certain advantage over its commercial brothers, and a robustness against -the transience of one individual or company. This openness and -availability of source code is especially important when the future of -thousands of lines of application code may depend upon the longevity of -the underlying class library. - -In writing wxWindows, completeness has sometimes been traded for -portability and simplicity of programming. Version 2.0 goes much -further than previous versions in terms of generality and features, -allowing applications to be produced -that are often indistinguishable from those produced using single-platform -toolkits -such as Motif and MFC. - -wxWindows 2.0 currently maps to two native APIs: GTK and -MS Windows. Motif, Xt and Mac ports are also in preparation. - -The importance of using a platform-independent class library cannot be -overstated, since GUI application development is very time-consuming, -and sustained popularity of particular GUIs cannot be guaranteed. -Code can very quickly become obsolete if it addresses the wrong -platform or audience. wxWindows helps to insulate the programmer from -these winds of change. Although wxWindows may not be suitable for -every application, it provides access to most of the functionality a -GUI program normally requires, plus some extras such as form -construction, interprocess communication and PostScript output, and -can of course be extended as needs dictate. As a bonus, it provides -a cleaner programming interface than the native -APIs. Programmers may find it worthwhile to use wxWindows even if they -are developing on only one platform. - -It is impossible to sum up the functionality of wxWindows in a few paragraphs, but -here are some of the benefits: - -\begin{itemize}\itemsep=0pt -\item Low cost (free, in fact!) -\item You get the source. -\item Several example programs. -\item Over 700 pages of printable and on-line documentation. -\item Simple-to-use, object-oriented API. -\item Graphics calls include splines, polylines, rounded rectangles, etc. -\item Constraint-based layout option. -\item Print/preview and document/view architectures. -\item Status line facility, toolbar -\item Easy, object-oriented interprocess comms (DDE subset) under Unix and -MS Windows. -\item Encapsulated PostScript generation under Unix, normal MS Windows printing on the -PC. -\item MDI support under Windows and GTK. -\item Can be used to create DLLs under Windows, dynamic libraries on the Sun. -\item Common dialogs for file browsing, printing, colour selection, etc. -\item Under MS Windows, support for creating metafiles and copying -them to the clipboard. -\item Hypertext help facility, with an API for invocation from applications. -\item Dialog Editor for building dialogs. -\end{itemize} - -\section{Changes from version 1.xx}\label{versionchanges} - -These are a few of the major differences between versions 1.xx and 2.0. - -Removals: - -\begin{itemize}\itemsep=0pt -\item XView is no longer supported; -\item Mac is not yet supported; -\item all controls (panel items) no longer have labels attached to them; -\item wxForm removed; -\item wxCanvasDC, wxPanelDC removed (replaced by wxClientDC, wxWindowDC, wxPaintDC which -can be used for any window); -\item wxMultiText, wxTextWindow, wxText removed and replaced by wxTextCtrl; -\item classes no longer divided into generic and platform-specific parts, for efficiency. -\end{itemize} - -Additions and changes: - -\begin{itemize}\itemsep=0pt -\item class hierarchy changed, and restrictions about subwindow nesting lifted; -\item header files reorganised to conform to normal C++ standards; -\item classes less dependent on each another, to reduce executable size; -\item wxString used instead of char* wherever possible; -\item the number of separate but mandatory utilities reduced; -\item the event system has been overhauled, with -virtual functions and callbacks being replaced with MFC-like event tables; -\item new controls, such as wxTreeCtrl, wxListCtrl, wxSpinButton; -\item less inconsistency about what events can be handled, so for example -mouse clicks or key presses on controls can now be intercepted; -\item the status bar is now a separate class, wxStatusBar, and is -implemented in generic wxWindows code; -\item some renaming of controls for greater consistency; -\item wxBitmap has the notion of bitmap handlers to allow for extension to new formats -without ifdefing; -\item new dialogs: wxPageSetupDialog, wxFileDialog, wxDirDialog, -wxMessageDialog, wxSingleChoiceDialog, wxTextEntryDialog; -\item GDI objects are reference-counted and are now passed to most functions -by reference, making memory management far easier; -\item wxSystemSettings class allows querying for various system-wide properties -such as dialog font, colours, user interface element sizes, and so on; -\item better platform look and feel conformance; -\item toolbar functionality now separated out into a family of classes with the -same API; -\item device contexts are no longer accessed using wxWindow::GetDC - they are created -temporarily with the window as an argument; -\item events from sliders and scrollbars can be handled more flexibly; -\item the handling of window close events has been changed in line with the new -event system, but backward {\bf OnClose} compatibility has been retained; -\item the concept of {\it validator} has been added to allow much easier coding of -the relationship between controls and application data; -\item the documentation has been revised, with more cross-referencing. -\end{itemize} - -Platform-specific changes: - -\begin{itemize}\itemsep=0pt -\item The Windows header file (windows.h) is no longer included by wxWindows headers; -\item wx.dll supported under Visual C++; -\item the full range of Windows 95 window decorations are supported, such as modal frame -borders; -\item MDI classes brought out of wxFrame into separate classes, and made more flexible. -\end{itemize} - -\section{wxWindows requirements}\label{requirements} - -To make use of wxWindows, you currently need one or both of the -following setups. - -(a) PC: - -\begin{enumerate}\itemsep=0pt -\item A 486 or higher PC running MS Windows. -\item One of Microsoft Visual C++ 4.0 or higher, Borland C++, Gnu-Win32. -\item At least 60 MB of disk space. -\end{enumerate} - -(b) Unix: - -\begin{enumerate}\itemsep=0pt -\item Almost any C++ compiler, including GNU C++. -\item Almost any Unix workstation, and GTK 1.0 or higher. -\item At least 60 MB of disk space. -\end{enumerate} - -\section{Availability and location of wxWindows} - -wxWindows is currently available from the Artificial Intelligence -Applications Institute by anonymous FTP and World Wide Web: - -\begin{verbatim} - ftp://ftp.aiai.ed.ac.uk/pub/packages/wxwin - http://web.ukonline.co.uk/julian.smart/wxwin -\end{verbatim} - -\section{Acknowledgments} - -Thanks are due to AIAI for being willing to release the original version of -wxWindows into the public domain, and to our patient wives Harriet, Tanja and others. - -We would particularly like to thank the following for their contributions to wxWindows, and the many others who have been involved in -the project over the years. Apologies for any unintentional omissions from this list. - -Yiorgos Adamopoulos, Jamshid Afshar, Alejandro Aguilar-Sierra, AIAI, Patrick Albert, Karsten Ballueder, Michael Bedward, Kai Bendorf, Yura Bidus, Keith -Gary Boyce, Chris Breeze, Pete Britton, Ian Brown, C. Buckley, Dmitri Chubraev, Robin Corbet, Cecil Coupe, Andrew Davison, Neil Dudman, Robin -Dunn, Hermann Dunkel, Jos van Eijndhoven, Tom Felici, Thomas Fettig, Matthew Flatt, Pasquale Foggia, Josep Fortiana, Todd Fries, Dominic Gallagher, -Wolfram Gloger, Norbert Grotz, Stefan Gunter, Bill Hale, Patrick Halke, Stefan Hammes, Guillaume Helle, Harco de Hilster, Cord Hockemeyer, Markus -Holzem, Olaf Klein, Leif Jensen, Bart Jourquin, Guilhem Lavaux, Jan Lessner, Nicholas Liebmann, Torsten Liermann, Per Lindqvist, Thomas Runge, Tatu -M\"{a}nnist\"{o}, Scott Maxwell, Thomas Myers, Oliver Niedung, Hernan Otero, Ian Perrigo, Timothy Peters, Giordano Pezzoli, Harri Pasanen, Thomaso Paoletti, -Garrett Potts, Marcel Rasche, Robert Roebling, Dino Scaringella, Jobst Schmalenbach, Arthur Seaton, Paul Shirley, Stein Somers, Petr Smilauer, Neil Smith, -Kari Syst\"{a}, Arthur Tetzlaff-Deas, Jonathan Tonberg, Jyrki Tuomi, Janos Vegh, Andrea Venturoli, Vadim Zeitlin, Xiaokun Zhu, Edward Zimmermann. - -`Graphplace', the basis for the wxGraphLayout library, is copyright Dr. Jos -T.J. van Eijndhoven of Eindhoven University of Technology. The code has -been used in wxGraphLayout with his permission. - -We also acknowledge the author of XFIG, the excellent Unix drawing tool, -from the source of which we have borrowed some spline drawing code. -His copyright is included below. - -{\it XFig2.1 is copyright (c) 1985 by Supoj Sutanthavibul. Permission to -use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided -that the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation, and that the name of M.I.T. not be used in advertising or -publicity pertaining to distribution of the software without specific, -written prior permission. M.I.T. makes no representations about the -suitability of this software for any purpose. It is provided ``as is'' -without express or implied warranty.} - -\chapter{Multi-platform development with wxWindows}\label{multiplat} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -This chapter describes the practical details of using wxWindows. Please -see the file install.txt for up-to-date installation instructions, and -changes.txt for differences between versions. - -\section{Include files} - -The main include file is {\tt "wx/wx.h"}; this includes the most commonly -used modules of wxWindows. - -To save on compilation time, include only those header files relevant to the -source file. If you are using precompiled headers, you should include -the following section before any other includes: - -\begin{verbatim} -// For compilers that support precompilation, includes "wx.h". -#include - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#ifndef WX_PRECOMP -// Include your minimal set of headers here, or wx.h -#include -#endif - -... now your other include files ... -\end{verbatim} - -The file {\tt "wx/wxprec.h"} includes {\tt "wx/wx.h"}. Although this incantation -may seem quirky, it is in fact the end result of a lot of experimentation, -and several Windows compilers to use precompilation (those tested are Microsoft Visual C++, Borland C++ -and Watcom C++). - -Borland precompilation is largely automatic. Visual C++ requires specification of {\tt "wx/wxprec.h"} as -the file to use for precompilation. Watcom C++ is automatic apart from the specification of -the .pch file. Watcom C++ is strange in requiring the precompiled header to be used only for -object files compiled in the same directory as that in which the precompiled header was created. -Therefore, the wxWindows Watcom C++ makefiles go through hoops deleting and recreating -a single precompiled header file for each module, thus preventing an accumulation of many -multi-megabyte .pch files. - -\section{Libraries} - -Please the wxGTK documentation for use of the Unix version of wxWindows. -Under Windows, use the library wx.lib for stand-alone Windows -applications, or wxdll.lib for creating DLLs. - -\section{Configuration} - -The following lists the options configurable in the file -\rtfsp{\tt "wx/msw/setup.h"} and {\tt "wx/gtk/setup.h"} Some settings are a matter -of taste, some help with platform-specific problems, and -others can be set to minimize the size of the library. - -\subsection{General features} - -\begin{twocollist}\itemsep=0pt -\twocolitem{USE\_CLIPBOARD}{If 1, clipboard code is compiled (Windows only).} -\twocolitem{USE\_CONSTRAINTS}{If 1, the constaint-based window layout system is compiled.} -\twocolitem{USE\_DOC\_VIEW\_ARCHITECTURE}{If 1, wxDocument, wxView and related classes are compiled.} -\twocolitem{USE\_DYNAMIC\_CLASSES}{If 1, the run-time class macros and classes are compiled. Recommended, -and necessary for the document/view framework.} -\twocolitem{USE\_HELP}{If 1, interface to help system is compiled.} -\twocolitem{USE\_GAUGE}{If 1, the wxGauge class compiled.} -\twocolitem{USE\_GLOBAL\_MEMORY\_OPERATORS}{If 1, redefines global new and delete operators to be compatible -with the extended arguments of the debugging wxObject new and delete operators. If this causes problems -for your compiler, set to 0.} -\twocolitem{USE\_IPC}{If 1, interprocess communication code is compiled.} -\twocolitem{USE\_MEMORY\_TRACING}{If 1, enables debugging versions of wxObject::new and wxObject::delete -if the value of DEBUG is defined to more than 0.} -\twocolitem{USE\_METAFILE}{If 1, Windows Metafile code is compiled.} -\twocolitem{USE\_POSTSCRIPT}{If 1, PostScript code is compiled.} -\twocolitem{USE\_POSTSCRIPT\_ARCHITECTURE\_IN\_MSW}{Set to 1 to enable the printing architecture -to make use of either native Windows printing facilities, or the wxPostScriptDC class depending -on the wxApp::SetPrintMode setting.} -\twocolitem{USE\_PRINTING\_ARCHITECTURE}{If 1, wxPrinter, wxPrintout and related classes are compiled -for the print/preview framework.} -\twocolitem{USE\_RESOURCES}{If 1, win.ini or .Xdefaults-style resource read/write code is compiled.} -\twocolitem{USE\_WX\_RESOURCES}{If 1, wxWindows resource file (.WXR) code is compiled.} -\end{twocollist} - -\subsection{Windows and NT features} - -\begin{twocollist} -\twocolitem{CTL3D}{CTL3D should only be used for 16-bit Windows programs. -On Windows 95 and NT, native 3D effects are used. If you want to -use it and don't already have CTL3D installed, copy the files in -contrib/ctl3d to appropriate places (ctl3dv2.lib/ctl3d32.lib into your compiler lib -directory, ctl3d.h into an include directory, and ctl3dv2.dll into -windows/system). You may need to find a compiler-specific version of ctl3dv2.lib -or ctl3d32.lib. Define CTL3D to be 1 in wx\_setup.h and link your executables with ctl3dv2.lib -or ctl3d32.lib.} -\twocolitem{USE\_ODBC}{If 1, compiles wxDatabase and wxRecordSet classes for ODBC -access. Requires sql.h, sqlext.h files if set to 1 (see topic on database support).} -\end{twocollist} - -\section{Makefiles} - -At the moment there is no attempt to make Unix makefiles and -PC makefiles compatible, i.e. one makefile is required for -each environment. - -Sample makefiles for Unix (suffix .UNX), MS C++ (suffix .DOS and .NT), Borland -C++ (.BCC) and Symantec C++ (.SC) are included for the library, demos -and utilities. The NT, Borland and Symantec makefiles cannot be -guaranteed to be up-to-date since the author does not have -these compilers. - -The controlling makefile for wxWindows is in the platform-specific -directory, such as {\tt src/msw} or {\tt src/x}. This makefile will -recursively execute the makefile in {\tt src/base}. - -\subsection{Windows makefiles} - -For Microsoft C++, normally it is only necessary to type {\tt nmake -f -makefile.dos} (or an alias or batch file which does this). By default, -binaries are made with debugging information, and no optimization. Use -FINAL=1 on the command line to remove debugging information (this only -really necessary at the link stage), and DLL=1 to make a DLL version of -the library, if building a library. - -\subsection{Unix makefiles} - -TODO. - -Debugging information is included by default; you may add DEBUG= as an -argument to make to compile without it, or use the Unix {\bf strip} -command to remove debugging information from an executable. - -\normalbox{{\it Important note:} Most compiler flags are kept centrally in -src/make.env, which is included by all other makefiles. This is the -file to edit to tailor wxWindows compilation to your environment.} - -\section{Windows-specific files} - -wxWindows application compilation under MS Windows requires at least two -extra files, resource and module definition files. - -\subsection{Resource file}\label{resources} - -The least that must be defined in the Windows resource file (extension RC) -is the following statement: - -\begin{verbatim} -rcinclude "wx/msw/wx.rc" -\end{verbatim} - -which includes essential internal wxWindows definitions. The resource script -may also contain references to icons, cursors, etc., for example: - -\begin{verbatim} -wxicon icon wx.ico -\end{verbatim} - -The icon can then be referenced by name when creating a frame icon. See -the MS Windows SDK documentation. - -\normalbox{Note: include wx.rc {\it after} any ICON statements -so programs that search your executable for icons (such -as the Program Manager) find your application icon first.} - -\subsection{Module definition file} - -A module definition file (extension DEF) is required for 16-bit applications, and -looks like the following: - -\begin{verbatim} -NAME Hello -DESCRIPTION 'Hello' -EXETYPE WINDOWS -STUB 'WINSTUB.EXE' -CODE PRELOAD MOVEABLE DISCARDABLE -DATA PRELOAD MOVEABLE MULTIPLE -HEAPSIZE 1024 -STACKSIZE 8192 -\end{verbatim} - -The only lines which will usually have to be changed per application are -NAME and DESCRIPTION. - -\subsection{Allocating and deleting wxWindows objects} - -In general, classes derived from wxWindow must dynamically allocated -with {\it new} and deleted with {\it delete}. If you delete a window, -all of its children and descendants will be automatically deleted, -so you don't need to delete these descendants explicitly. - -When deleting a frame or dialog, use {\bf Destroy} rather than {\bf delete} so -that the wxWindows delayed deletion can take effect. This waits until idle time -(when all messages have been processed) to actually delete the window, to avoid -problems associated with the GUI sending events to deleted windows. - -Don't create a window on the stack, because this will interfere -with delayed deletion. - -If you decide to allocate a C++ array of objects (such as wxBitmap) that may -be cleaned up by wxWindows, make sure you delete the array explicitly -before wxWindows has a chance to do so on exit, since calling {\it delete} on -array members will cause memory problems. - -wxColour can be created statically: it is not automatically cleaned -up and is unlikely to be shared between other objects; it is lightweight -enough for copies to be made. - -Beware of deleting objects such as a wxPen or wxBitmap if they are still in use. -Windows is particularly sensitive to this: so make sure you -make calls like wxDC::SetPen(wxNullPen) or wxDC::SelectObject(wxNullBitmap) before deleting -a drawing object that may be in use. Code that doesn't do this will probably work -fine on some platforms, and then fail under Windows. - -\section{Conditional compilation} - -One of the purposes of wxWindows is to reduce the need for conditional -compilation in source code, which can be messy and confusing to follow. -However, sometimes it is necessary to incorporate platform-specific -features (such as metafile use under MS Windows). The following identifiers -may be used for this purpose, along with any user-supplied ones: - -{\bf GUIs:} - -\begin{verbatim} -__X__ any X, but not GTK -__WXMOTIF__ Motif -__WXGTK__ GTK -__WXMSW__ Any Windows -__MAC__ MacOS -__UNIX__ any Unix -__WIN95__ GUI for Windows 95 and above; NT 4.0 and above. -__WIN32__ WIN32 API -__NT__ Windows NT -__CURSES__ CURSES -\end{verbatim} - -{\bf OSes:} - -\begin{verbatim} -__HPUX__ -__SVR4__ -__SYSV__ -__LINUX__ -__SGI__ -__ULTRIX__ -__BSD__ -__VMS__ -__SUN__ Any Sun -__SUNOS__ -__SOLARIS__ -__ALPHA__ -__AIX__ -__DATA_GENERAL__ -__OSF__ -__FREEBSD__ -\end{verbatim} - -{\bf Compilers:} - -\begin{verbatim} -__GNUWIN32__ Gnu-Win32 compiler -__DJGPP__ DJGPP -__GNUG__ Gnu C++ on any platform -__BORLANDC__ Borland C++ -__WATCOMC__ Watcom C++ -__SYMANTECC__ Symantec C++ -__VISUALC__ VC++ -__SUNCC__ -\end{verbatim} - -{\bf wxWindows modes:} - -\begin{verbatim} -__WXDEBUG__ usage: #ifdef __DEBUG__ (=> debug mode, else => release) -\end{verbatim} - - -\section{C++ issues} - -The following documents some miscellaneous C++ issues. - -\subsection{Templates} - -wxWindows does not use templates since it is a notoriously unportable feature. - -\subsection{Precompiled headers} - -Some compilers, such as Borland C++ and Microsoft C++, support -precompiled headers. This can save a great deal of compiling time. The -recommended approach is to precompile {\tt ``wx.h''}, using this -precompiled header for compiling both wxWindows itself and any -wxWindows applications. For Windows compilers, two dummy source files -are provided (one for normal applications and one for creating DLLs) -to allow initial creation of the precompiled header. - -However, there are several downsides to using precompiled headers. One -is that to take advantage of the facility, you often need to include -more header files than would normally be the case. This means that -changing a header file will cause more recompilations (in the case of -wxWindows, everything needs to be recompiled since everything includes -{\tt ``wx.h''}!) - -A related problem is that for compilers that don't have precompiled -headers, including a lot of header files slows down compilation -considerably. For this reason, you will find (in the common -X and Windows parts of the library) conditional -compilation that under Unix, includes a minimal set of headers; -and when using Visual C++, includes {\tt wx.h}. This should help provide -the optimal compilation for each compiler, although it is -biassed towards the precompiled headers facility available -in Microsoft C++. - -\section{File handling} - -When building an application which may be used under different -environments, one difficulty is coping with documents which may be -moved to different directories on other machines. Saving a file which -has pointers to full pathnames is going to be inherently unportable. One -approach is to store filenames on their own, with no directory -information. The application searches through a number of locally -defined directories to find the file. To support this, the class {\bf -wxPathList} makes adding directories and searching for files easy, and -the global function {\bf FileNameFromPath} allows the application to -strip off the filename from the path if the filename must be stored. -This has undesirable ramifications for people who have documents of the -same name in different directories. - -As regards the limitations of DOS 8+3 single-case filenames versus -unrestricted Unix filenames, the best solution is to use DOS filenames -for your application, and also for document filenames {\it if} the user -is likely to be switching platforms regularly. Obviously this latter -choice is up to the application user to decide. Some programs (such as -YACC and LEX) generate filenames incompatible with DOS; the best -solution here is to have your Unix makefile rename the generated files -to something more compatible before transferring the source to DOS. -Transferring DOS files to Unix is no problem, of course, apart from EOL -conversion for which there should be a utility available (such as -dos2unix). - -See also the File Functions section of the reference manual for -descriptions of miscellaneous file handling functions. - -\chapter{Utilities supplied with wxWindows}\label{utilities} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -A number of `extras' are supplied with wxWindows, to complement -the GUI functionality in the main class library. These are found -below the utils directory and usually have their own source, library -and documentation directories. For larger user-contributed packages, -see the directory /pub/packages/wxwin/contrib. - -\section{wxHelp}\label{wxhelp} - -wxHelp is a stand-alone program, written using wxWindows, -for displaying hypertext help. It is necessary since not all target -systems (notably X) supply an adequate -standard for on-line help. wxHelp is modelled on the MS Windows help -system, with contents, search and browse buttons, but does not reformat -text to suit the size of window, as WinHelp does, and its input files -are uncompressed ASCII with some embedded font commands and an .xlp -extension. Most wxWindows documentation (user manuals and class -references) is supplied in wxHelp format, and also in Windows Help -format. The wxWindows 2.0 project will presently use an HTML widget -in a new and improved wxHelp implementation, under X. - -Note that an application can be programmed to use Windows Help under -MS Windows, and wxHelp under X. An alternative help viewer under X is -Mosaic, a World Wide Web viewer that uses HTML as its native hypertext -format. However, this is not currently integrated with wxWindows -applications. - -wxHelp works in two modes---edit and end-user. In edit mode, an ASCII -file may be marked up with different fonts and colours, and divided into -sections. In end-user mode, no editing is possible, and the user browses -principally by clicking on highlighted blocks. - -When an application invokes wxHelp, subsequent sections, blocks or -files may be viewed using the same instance of wxHelp since the two -programs are linked using wxWindows interprocess communication -facilities. When the application exits, that application's instance of -wxHelp may be made to exit also. See the {\bf wxHelpControllerBase} entry in the -reference section for how an application controls wxHelp. - -\section{Tex2RTF}\label{textortf} - -Supplied with wxWindows is a utility called Tex2RTF for converting\rtfsp -\LaTeX\ manuals to the following formats: - -\begin{description} -\item[wxHelp] -wxWindows help system format (XLP). -\item[Linear RTF] -Rich Text Format suitable for importing into a word processor. -\item[Windows Help RTF] -Rich Text Format suitable for compiling into a WinHelp HLP file with the -help compiler. -\item[HTML] -HTML is the native format for Mosaic, the main hypertext viewer for -the World Wide Web. Since it is freely available it is a good candidate -for being the wxWindows help system under X, as an alternative to wxHelp. -\end{description} - -Tex2RTF is used for the wxWindows manuals and can be used independently -by authors wishing to create on-line and printed manuals from the same\rtfsp -\LaTeX\ source. Please see the separate documentation for Tex2RTF. - -\section{wxTreeLayout} - -This is a simple class library for drawing trees in a reasonably pretty -fashion. It provides only minimal default drawing capabilities, since -the algorithm is meant to be used for implementing custom tree-based -tools. - -Directed graphs may also be drawn using this library, if cycles are -removed before the nodes and arcs are passed to the algorithm. - -Tree displays are used in many applications: directory browsers, -hypertext systems, class browsers, and decision trees are a few -possibilities. - -See the separate manual and the directory utils/wxtree. - -\section{wxGraphLayout} - -The wxGraphLayout class is based on a tool called `graphplace' by Dr. -Jos T.J. van Eijndhoven of Eindhoven University of Technology. Given a -(possibly cyclic) directed graph, it does its best to lay out the nodes -in a sensible manner. There are many applications (such as diagramming) -where it is required to display a graph with no human intervention. Even -if manual repositioning is later required, this algorithm can make a good -first attempt. - -See the separate manual and the directory utils/wxgraph. - -\section{Colours}\label{coloursampler} - -A colour sampler for viewing colours and their names on each -platform. - -% -\chapter{Tutorial}\label{tutorial} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -To be written. - -\chapter{Programming strategies}\label{strategies} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -This chapter is intended to list strategies that may be useful when -writing and debugging wxWindows programs. If you have any good tips, -please submit them for inclusion here. - -\section{Strategies for reducing programming errors} - -\subsection{Use ASSERT} - -Although I haven't done this myself within wxWindows, it is good -practice to use ASSERT statements liberally, that check for conditions that -should or should not hold, and print out appropriate error messages. -These can be compiled out of a non-debugging version of wxWindows -and your application. Using ASSERT is an example of `defensive programming': -it can alert you to problems later on. - -\subsection{Use wxString in preference to character arrays} - -Using wxString can be much safer and more convenient than using char *. -Again, I haven't practised what I'm preaching, but I'm now trying to use -wxString wherever possible. You can reduce the possibility of memory -leaks substantially, and it's much more convenient to use the overloaded -operators than functions such as strcmp. wxString won't add a significant -overhead to your program; the overhead is compensated for by easier -manipulation (which means less code). - -The same goes for other data types: use classes wherever possible. - -\section{Strategies for portability} - -\subsection{Use relative positioning or constraints} - -Don't use absolute panel item positioning if you can avoid it. Different GUIs have -very differently sized panel items. Consider using the constraint system, although this -can be complex to program. If you needs are simple, the default relative positioning -behaviour may be adequate (using default position values and wxPanel::NewLine). - -Alternatively, you could use alternative .wrc (wxWindows resource files) on different -platforms, with slightly different dimensions in each. Or space your panel items out -to avoid problems. - -\subsection{Use wxWindows resource files} - -Use .wrc (wxWindows resource files) where possible, because they can be easily changed -independently of source code. Bitmap resources can be set up to load different -kinds of bitmap depending on platform (see the section on resource files). - -\section{Strategies for debugging} - -\subsection{Positive thinking} - -It's common to blow up the problem in one's imagination, so that it seems to threaten -weeks, months or even years of work. The problem you face may seem insurmountable: -but almost never is. Once you have been programming for some time, you will be able -to remember similar incidents that threw you into the depths of despair. But -remember, you always solved the problem, somehow! - -Perseverance is often the key, even though a seemingly trivial problem -can take an apparently inordinate amount of time to solve. In the end, -you will probably wonder why you worried so much. That's not to say it -isn't painful at the time. Try not to worry -- there are many more important -things in life. - -\subsection{Simplify the problem} - -Reduce the code exhibiting the problem to the smallest program possible -that exhibits the problem. If it is not possible to reduce a large and -complex program to a very small program, then try to ensure your code -doesn't hide the problem (you may have attempted to minimize the problem -in some way: but now you want to expose it). - -With luck, you can add a small amount of code that causes the program -to go from functioning to non-functioning state. This should give a clue -to the problem. In some cases though, such as memory leaks or wrong -deallocation, this can still give totally spurious results! - -\subsection{Genetic mutation} - -If we had sophisticated genetic algorithm tools that could be applied -to programming, we could use them. Until then, a common -- if rather irrational -- -technique is to just make arbitrary changes to the code until something -different happens. You may have an intuition why a change will make a difference; -otherwise, just try altering the order of code, comment lines out, anything -to get over an impasse. Obviously, this is usually a last resort. - -\subsection{Use a debugger} - -This sounds like facetious advice, but it's surprising how often people -don't use a debugger. Often it's an overhead to install or learn how to -use a debugger, but it really is essential for anything but the most -trivial programs. Some platforms don't allow for debugging, such -as WIN32s under Windows 3.x. In this case, you might be advised to -debug under 16-bit Windows and when you're confident, compile for -WIN32s. In fact WIN32s can be very strict about bad memory handling, -so testing out under WIN32s is a good thing to do even if you're -not going to distribute this version. (Unless you've got a good memory checking, -utility, of course!) Tracking bugs under WIN32s can involve a lot of debug message -insertion and relinking, so make sure your compiler has a fast linker -(e.g. Watcom, Symantec). - -\subsection{Use tracing code} - -You can use wxDebugMsg statements (or the wxDebugStreamBuf class) to -output to a debugging window such as DBWIN under Windows, or standard -error under X. If compiling in DEBUG mode, you can use TRACE statements -that will be compiled out of the final build of your application. - -Using tracing statements may be more convenient than using the debugger -in some circumstances (such as when your debugger doesn't support a lot -of debugging code, or you wish to print a bunch of variables). - -\subsection{Use wxObject::Dump and the wxDebugContext class} - -It's good practice to implement the Dump member function for all -classes derived from wxObject. You can then make use of wxDebugContext -to dump out information on all objects in the program, if DEBUG is -defined to be more than zero. You can use wxDebugContext to check for -memory leaks and corrupt memory. See the debugging topic in the -reference manual for more information. - -\subsection{Check Windows debug messages} - -Under Windows, it's worth running your program with DBWIN running or -some other program that shows Windows-generated debug messages. It's -possible it'll show invalid handles being used. You may have fun seeing -what commercial programs cause these normally hidden errors! Microsoft -recommend using the debugging version of Windows, which shows up even -more problems. However, I doubt it's worth the hassle for most -applications. wxWindows is designed to minimize the possibility of such -errors, but they can still happen occasionally, slipping through unnoticed -because they are not severe enough to cause a crash. diff --git a/docs/latex/wx/book1.bmp b/docs/latex/wx/book1.bmp deleted file mode 100644 index 3aa28011b9a3079165313ef4364e96a4d11e56cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmb_YI}!ph2t~&k)8PRuEIok-u=hH~E_9nNSK1?O2OU1LA02B+_&j)!4EM)vPhFm{ zSLg+LhVJM9OEm7f>*fR-I*SnDlE~~}5z;u0@KNx7$vq+{PNV|=$b|Zr@Pa3*Jqw&_ zt(0W;Jf$x-N#HuTAemqTr=hq?l4>?%do>rfcs=TjK;_u%wO}hnC9-X+o3NIZ4`LS1 zZVO*M1ApqS(XV;sV^Wr+aNE2=xOrXs!R+s?@Av-S4x_%j?%%`Rfz!C$uHnGuoYEAr~D;JxHUzQYZhY(}{X$xY0SE&#JC# z5a%D|9QDv}6Qc3-Wv8+GlQ-*8<`8epNC>=NSLPUH1b$st*H{R=IXD*!fgA8x5Dt6l zUCo=!AsqI8={C$E9QGLr_q_i zFK;h=LxQhf>;v~gWIyoy(Zu$`w=UNZZuYl$t>-8&*n94Z?RTzqLWjlGhdMVK;w1@P zgX#l^|MHTQ1q9k0=J>%Sz9`L#Hix;bEVz#^(qoBse!qj(7b diff --git a/docs/latex/wx/books.gif b/docs/latex/wx/books.gif deleted file mode 100644 index 036d016fb16b793dd714a3916251f59b7efc654d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 242 zcmZ?wbhEHb)MwCR*vtR|`@wiWnA#8I?caakz=4K_hW|kE{|x`Z6p#k8fI#sl3nK#q zKZ6cPC&&y2mVX~kdamAU@%rrU{|Op>ib=ClxMcXbmpr~@cYwQjllG1B@c#@4*Bxh6 zXgW0aLdB!6GuAT~S-RNt`OVPr@_rW=wo=ji*1082C&e=)?D>Nd&T?mLf1Rh>9rogT zb5=!pc{od3n0ygKU42Pea&8+-0S8NmU4OSQYXiUa%t^xRQ&~D^_RQ&<*e14knp~++ aGOJLpXX!!_Q{5#SmiGi(ui53dZaM&TQeqzf diff --git a/docs/latex/wx/brush.tex b/docs/latex/wx/brush.tex deleted file mode 100644 index d707dcf875..0000000000 --- a/docs/latex/wx/brush.tex +++ /dev/null @@ -1,343 +0,0 @@ -\section{\class{wxBrush}}\label{wxbrush} - -A brush is a drawing tool for filling in areas. It is used for painting -the background of rectangles, ellipses, etc. It has a colour and a -style. - -\wxheading{Derived from} - -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -On a monochrome display, wxWindows shows -all brushes as white unless the colour is really black. - -Do not initialize objects on the stack before the program commences, -since other required structures may not have been set up yet. Instead, -define global pointers to objects and create them in \helpref{wxApp::OnInit}{wxapponinit} or -when required. - -An application may wish to create brushes with different -characteristics dynamically, and there is the consequent danger that a -large number of duplicate brushes will be created. Therefore an -application may wish to get a pointer to a brush by using the global -list of brushes {\bf wxTheBrushList}, and calling the member function -\rtfsp{\bf FindOrCreateBrush}. - -wxBrush uses a reference counting system, so assignments between brushes are very -cheap. You can therefore use actual wxBrush objects instead of pointers without -efficiency problems. Bear in mind, though, that changing a brush's properties may -affect another brush which has been involved in an assignment with the first brush, -because of the way internal brush data is shared. - -TODO: an overview for wxBrush. - -\wxheading{See also} - -\helpref{wxBrushList}{wxbrushlist}, \helpref{wxDC}{wxdc}, \helpref{wxDC::SetBrush}{wxdcsetbrush} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxBrush::wxBrush} - -\func{}{wxBrush}{\void} - -Default constructor. The brush will be uninitialised, and \helpref{wxBrush::Ok}{wxbrushok} will -return FALSE. - -\func{}{wxBrush}{\param{const wxColour\&}{ colour}, \param{int}{ style}} - -Constructs a brush from a colour object and style. - -\func{}{wxBrush}{\param{const wxString\& }{colourName}, \param{int}{ style}} - -Constructs a brush from a colour name and style. - -\func{}{wxBrush}{\param{const wxBitmap\& }{stippleBitmap}} - -Constructs a stippled brush using a bitmap. - -\func{}{wxBrush}{\param{const wxBrush\&}{ brush}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\func{}{wxBrush}{\param{const wxBrush*}{ brush}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\wxheading{Parameters} - -\docparam{colour}{Colour object.} - -\docparam{colourName}{Colour name. The name will be looked up in the colour database.} - -\docparam{style}{One of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxTRANSPARENT}}{Transparent (no fill).} -\twocolitem{{\bf wxSOLID}}{Solid.} -\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.} -\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.} -\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.} -\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.} -\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.} -\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.} -\end{twocollist}} - -\docparam{brush}{Pointer or reference to a brush to copy.} - -\docparam{stippleBitmap}{A bitmap to use for stippling.} - -\wxheading{Remarks} - -If a stipple brush is created, the brush style will be set to wxSTIPPLE. - -\wxheading{See also} - -\helpref{wxBrushList}{wxbrushlist}, \helpref{wxColour}{wxcolour}, \helpref{wxColourDatabase}{wxcolourdatabase} - -\membersection{wxBrush::\destruct{wxBrush}} - -\func{void}{\destruct{wxBrush}}{\void} - -Destructor. - -\wxheading{Remarks} - -The destructor may not delete the underlying brush object of the native windowing -system, since wxBrush uses a reference counting system for efficiency. - -Although all remaining brushes are deleted when the application exits, -the application should try to clean up all brushes itself. This is because -wxWindows cannot know if a pointer to the brush object is stored in an -application data structure, and there is a risk of double deletion. - -\membersection{wxBrush::GetColour}\label{wxbrushgetcolour} - -\constfunc{wxColour\&}{GetColour}{\void} - -Returns a reference to the brush colour. - -\wxheading{See also} - -\helpref{wxBrush::SetColour}{wxbrushsetcolour} - -\membersection{wxBrush::GetStipple}\label{wxbrushgetstipple} - -\constfunc{wxBitmap *}{GetStipple}{\void} - -Gets a pointer to the stipple bitmap. If the brush does not have a wxSTIPPLE style, -this bitmap may be non-NULL but uninitialised (\helpref{wxBitmap::Ok}{wxbitmapok} returns FALSE). - -\wxheading{See also} - -\helpref{wxBrush::SetStipple}{wxbrushsetstipple} - -\membersection{wxBrush::GetStyle}\label{wxbrushgetstyle} - -\constfunc{int}{GetStyle}{\void} - -Returns the brush style, one of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxTRANSPARENT}}{Transparent (no fill).} -\twocolitem{{\bf wxSOLID}}{Solid.} -\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.} -\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.} -\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.} -\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.} -\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.} -\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.} -\twocolitem{{\bf wxSTIPPLE}}{Stippled using a bitmap.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxBrush::SetStyle}{wxbrushsetstyle}, \helpref{wxBrush::SetColour}{wxbrushsetcolour},\rtfsp -\helpref{wxBrush::SetStipple}{wxbrushsetstipple} - -\membersection{wxBrush::Ok}\label{wxbrushok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if the brush is initialised. It will return FALSE if the default -constructor has been used (for example, the brush is a member of a class, or -NULL has been assigned to it). - -\membersection{wxBrush::SetColour}\label{wxbrushsetcolour} - -\func{void}{SetColour}{\param{wxColour\& }{colour}} - -Sets the brush colour using a reference to a colour object. - -\func{void}{SetColour}{\param{const wxString\& }{colourName}} - -Sets the brush colour using a colour name from the colour database. - -\func{void}{SetColour}{\param{const unsigned char}{ red}, \param{const unsigned char}{ green}, \param{const unsigned char}{ blue}} - -Sets the brush colour using red, green and blue values. - -\wxheading{See also} - -\helpref{wxBrush::GetColour}{wxbrushgetcolour} - -\membersection{wxBrush::SetStipple}\label{wxbrushsetstipple} - -\func{void}{SetStipple}{\param{const wxBitmap\&}{ bitmap}} - -Sets the stipple bitmap. - -\wxheading{Parameters} - -\docparam{bitmap}{The bitmap to use for stippling.} - -\wxheading{Remarks} - -The style will be set to wxSTIPPLE. - -Note that there is a big difference between stippling in X and Windows. -On X, the stipple is a mask between the wxBitmap and current colour. -On Windows, the current colour is ignored, and the bitmap colour is used. -However, for pre-defined modes like wxCROSS\_HATCH, the behaviour is the -same for both platforms. - -\wxheading{See also} - -\helpref{wxBitmap}{wxbitmap} - -\membersection{wxBrush::SetStyle}\label{wxbrushsetstyle} - -\func{void}{SetStyle}{\param{int}{ style}} - -Sets the brush style. - -\docparam{style}{One of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxTRANSPARENT}}{Transparent (no fill).} -\twocolitem{{\bf wxSOLID}}{Solid.} -\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.} -\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.} -\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.} -\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.} -\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.} -\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.} -\twocolitem{{\bf wxSTIPPLE}}{Stippled using a bitmap.} -\end{twocollist}} - -\wxheading{See also} - -\helpref{wxBrush::GetStyle}{wxbrushgetstyle} - -\membersection{wxBrush::operator $=$}\label{wxbrushassignment} - -\func{wxBrush\&}{operator $=$}{\param{const wxBrush\& }{brush}} - -Assignment operator, using reference counting. Returns a reference -to `this'. - -\membersection{wxBrush::operator $==$}\label{wxbrushequals} - -\func{bool}{operator $==$}{\param{const wxBrush\& }{brush}} - -Equality operator. Two brushes are equal if they contain pointers -to the same underlying brush data. It does not compare each attribute, -so two independently-created brushes using the same parameters will -fail the test. - -\membersection{wxBrush::operator $!=$}\label{wxbrushnotequals} - -\func{bool}{operator $!=$}{\param{const wxBrush\& }{brush}} - -Inequality operator. Two brushes are not equal if they contain pointers -to different underlying brush data. It does not compare each attribute. - -\section{\class{wxBrushList}}\label{wxbrushlist} - -A brush list is a list containing all brushes which have been created. - -\wxheading{Derived from} - -\helpref{wxList}{wxlist}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -There is only one instance of this class: {\bf wxTheBrushList}. Use -this object to search for a previously created brush of the desired -type and create it if not already found. In some windowing systems, -the brush may be a scarce resource, so it can pay to reuse old -resources if possible. When an application finishes, all brushes will -be deleted and their resources freed, eliminating the possibility of -`memory leaks'. However, it is best not to rely on this automatic -cleanup because it can lead to double deletion in some circumstances. - -There are two mechanisms in recent versions of wxWindows which make the -brush list less useful than it once was. Under Windows, scarce resources -are cleaned up internally if they are not being used. Also, a referencing -counting mechanism applied to all GDI objects means that some sharing -of underlying resources is possible. You don't have to keep track of pointers, -working out when it is safe delete a brush, because the referencing counting does -it for you. For example, you can set a brush in a device context, and then -immediately delete the brush you passed, because the brush is `copied'. - -So you may find it easier to ignore the brush list, and instead create -and copy brushes as you see fit. If your Windows resource meter suggests -your application is using too many resources, you can resort to using -GDI lists to share objects explicitly. - -The only compelling use for the brush list is for wxWindows to keep -track of brushes in order to clean them up on exit. It is also kept for -backward compatibility with earlier versions of wxWindows. - -\wxheading{See also} - -\helpref{wxBrush}{wxbrush} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxBrushList::wxBrushList}\label{wxbrushlistconstr} - -\func{void}{wxBrushList}{\void} - -Constructor. The application should not construct its own brush list: -use the object pointer {\bf wxTheBrushList}. - -\membersection{wxBrushList::AddBrush}\label{wxbrushlistaddbrush} - -\func{void}{AddBrush}{\param{wxBrush *}{brush}} - -Used internally by wxWindows to add a brush to the list. - -\membersection{wxBrushList::FindOrCreateBrush}\label{wxbrushlistfindorcreatebrush} - -\func{wxBrush *}{FindOrCreateBrush}{\param{const wxColour\& }{colour}, \param{int}{ style}} - -Finds a brush with the specified attributes and returns it, else creates a new brush, adds it -to the brush list, and returns it. - -\func{wxBrush *}{FindOrCreateBrush}{\param{const wxString\& }{colourName}, \param{int}{ style}} - -Finds a brush with the specified attributes and returns it, else creates a new brush, adds it -to the brush list, and returns it. - -Finds a brush of the given specification, or creates one and adds it to the list. - -\wxheading{Parameters} - -\docparam{colour}{Colour object.} - -\docparam{colourName}{Colour name, which should be in the colour database.} - -\docparam{style}{Brush style. See \helpref{wxBrush::SetStyle}{wxbrushsetstyle} for a list of styles.} - -\membersection{wxBrushList::RemoveBrush}\label{wxbrushlistremovebrush} - -\func{void}{RemoveBrush}{\param{wxBrush *}{brush}} - -Used by wxWindows to remove a brush from the list. - - diff --git a/docs/latex/wx/bullet.bmp b/docs/latex/wx/bullet.bmp deleted file mode 100644 index 6481f5143b934b2b2fad561a9b39fb441944418a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 198 zcmZ?rJ;ne5Wk5;;h`FGck%0v)5dbE!5e*CsK*Z3{0HJ^+kjZf1zyTl)lK2ls4FCUw iSU?PfAR!PR1i)haVEO|{7|2Jb|1&`3;p$=f&}abvMLt>p diff --git a/docs/latex/wx/button.tex b/docs/latex/wx/button.tex deleted file mode 100644 index 4b92248274..0000000000 --- a/docs/latex/wx/button.tex +++ /dev/null @@ -1,134 +0,0 @@ -\section{\class{wxButton}}\label{wxbutton} - -A button is a control that contains a text string, -and is one of the commonest elements of a GUI. It may be placed on a -\rtfsp\helpref{dialog box}{wxdialog} or \helpref{panel}{wxpanel}, or indeed -almost any other window. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -There are no special styles for wxButton. - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm}% -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED event, -when the button is clicked.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxBitmapButton}{wxbitmapbutton} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxButton::wxButton}\label{wxbuttonconstr} - -\func{}{wxButton}{\void} - -Default constructor. - -\func{}{wxButton}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}} - -Constructor, creating and showing a button. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Button identifier. A value of -1 indicates a default value.} - -\docparam{label}{Text to be displayed on the button.} - -\docparam{pos}{Button position.} - -\docparam{size}{Button size. If the default size (-1, -1) is specified then the button is sized -appropriately for the text.} - -\docparam{style}{Window style. See \helpref{wxButton}{wxbutton}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxButton::Create}{wxbuttoncreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxButton::\destruct{wxButton}} - -\func{}{\destruct{wxButton}}{\void} - -Destructor, destroying the button. - -\membersection{wxButton::Create}\label{wxbuttoncreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}} - -Button creation function for two-step creation. For more details, see \helpref{wxButton::wxButton}{wxbuttonconstr}. - -\membersection{wxButton::GetLabel}\label{wxbuttongetlabel} - -\constfunc{wxString}{GetLabel}{\void} - -Returns the string label for the button. - -\wxheading{Return value} - -The button's label. - -\wxheading{See also} - -\helpref{wxButton::SetLabel}{wxbuttonsetlabel} - -\membersection{wxButton::SetDefault}\label{wxbuttonsetdefault} - -\func{void}{SetDefault}{\void} - -This sets the button to be the default item for the panel or dialog -box. - -\wxheading{Remarks} - -Under Windows, only dialog box buttons respond to this function. As -normal under Windows and Motif, pressing return causes the default button to -be depressed when the return key is pressed. See also \helpref{wxWindow::SetFocus}{wxwindowsetfocus}\rtfsp -which sets the keyboard focus for windows and text panel items,\rtfsp -and \helpref{wxWindow::GetDefaultItem}{wxwindowgetdefaultitem}. - -Note that under Motif, calling this function immediately after -creation of a button and before the creation of other buttons -will cause misalignment of the row of buttons, since default -buttons are larger. To get around this, call {\it SetDefault}\rtfsp -after you have created a row of buttons: wxWindows will -then set the size of all buttons currently on the panel to -the same size. - -\membersection{wxButton::SetLabel}\label{wxbuttonsetlabel} - -\func{void}{SetLabel}{\param{const wxString\& }{label}} - -Sets the string label for the button. - -\wxheading{Parameters} - -\docparam{label}{The label to set.} - -\wxheading{See also} - -\helpref{wxButton::GetLabel}{wxbuttongetlabel} - diff --git a/docs/latex/wx/category.tex b/docs/latex/wx/category.tex deleted file mode 100644 index 230662b473..0000000000 --- a/docs/latex/wx/category.tex +++ /dev/null @@ -1,325 +0,0 @@ -\chapter{Classes by category}\label{classesbycat} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -A classification of wxWindows classes by category. -\twocolwidtha{5cm} - -{\large {\bf Managed windows}} - -There are several types of window that are directly controlled by the -window manager (such as MS Windows, or the Motif Window Manager). -Frames may contain windows, and dialog boxes may directly contain controls. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxDialog}{wxdialog}}{Dialog box} -\twocolitem{\helpref{wxFrame}{wxframe}}{Normal frame} -\twocolitem{\helpref{wxMDIParentFrame}{wxmdiparentframe}}{MDI parent frame} -\twocolitem{\helpref{wxMDIChildFrame}{wxmdichildframe}}{MDI child frame} -\twocolitem{\helpref{wxMiniFrame}{wxminiframe}}{A frame with a small title bar} -\twocolitem{\helpref{wxTabbedDialog}{wxtabbeddialog}}{Tabbed dialog} -\end{twocollist} - -See also {\bf Common dialogs}. - -{\large {\bf Miscellaneous windows}} - -The following are a variety of windows that are derived from wxWindow. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxGrid}{wxgrid}}{A grid (table) window} -\twocolitem{\helpref{wxPanel}{wxpanel}}{A window whose colour changes according to current user settings} -\twocolitem{\helpref{wxScrolledWindow}{wxscrolledwindow}}{Window with automatically managed scrollbars} -\twocolitem{\helpref{wxSplitterWindow}{wxsplitterwindow}}{Window which can be split vertically or horizontally} -\twocolitem{\helpref{wxStatusBar}{wxstatusbar}}{Implements the status bar on a frame} -\twocolitem{\helpref{wxToolBar}{wxtoolbar}}{Toolbar class} -\twocolitem{\helpref{wxTabbedPanel}{wxtabbedpanel}}{Tabbed panel (to be replaced with wxNotebook)} -\twocolitem{\helpref{wxNotebook}{wxnotebook}}{Notebook class (undocumented)} -\end{twocollist} - -{\large {\bf Common dialogs}} - -\overview{Overview}{commondialogsoverview} - -Common dialogs are ready-made dialog classes which are frequently used -in an application. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxDialog}{wxdialog}}{Base class for common dialogs} -\twocolitem{\helpref{wxColourDialog}{wxcolourdialog}}{Colour chooser dialog} -\twocolitem{\helpref{wxDirDialog}{wxdirdialog}}{Directory selector dialog} -\twocolitem{\helpref{wxFileDialog}{wxfiledialog}}{File selector dialog} -\twocolitem{\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}}{Dialog to get one or more selections from a list} -\twocolitem{\helpref{wxSingleChoiceDialog}{wxsinglechoicedialog}}{Dialog to get a single selection from a list and return the string} -\twocolitem{\helpref{wxTextEntryDialog}{wxtextentrydialog}}{Dialog to get a single line of text from the user} -\twocolitem{\helpref{wxFontDialog}{wxfontdialog}}{Font chooser dialog} -\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog} -\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog} -\twocolitem{\helpref{wxMessageDialog}{wxmessagedialog}}{Simple message box dialog} -\end{twocollist} - -{\large {\bf Controls}} - -Typically, these are small windows which provide interaction with the user. Controls -that are not static can have \helpref{validators}{wxvalidator} associated with them. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxControl}{wxcontrol}}{The base class for controls} -\twocolitem{\helpref{wxButton}{wxbutton}}{Push button control, displaying text} -\twocolitem{\helpref{wxBitmapButton}{wxbitmapbutton}}{Push button control, displaying a bitmap} -\twocolitem{\helpref{wxCheckBox}{wxcheckbox}}{Checkbox control} -\twocolitem{\helpref{wxCheckListBox}{wxchecklistbox}}{A listbox with a checkbox to the left of each item} -\twocolitem{\helpref{wxChoice}{wxchoice}}{Choice control (a combobox without the editable area)} -\twocolitem{\helpref{wxComboBox}{wxcombobox}}{A choice with an editable area} -\twocolitem{\helpref{wxGauge}{wxgauge}}{A control to represent a varying quantity, such as time remaining} -\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{wxTabCtrl}{wxtabctrl}}{Manages several tabs} -\twocolitem{\helpref{wxTextCtrl}{wxtextctrl}}{Single or multline text editing control} -\twocolitem{\helpref{wxTreeCtrl}{wxtreectrl}}{Tree (hierachy) control} -\twocolitem{\helpref{wxScrollBar}{wxscrollbar}}{Scrollbar control} -\twocolitem{\helpref{wxSpinButton}{wxspinbutton}}{A spin or `up-down' control} -\twocolitem{\helpref{wxStaticText}{wxstatictext}}{One or more lines of non-editable text} -\twocolitem{\helpref{wxStaticBitmap}{wxstaticbitmap}}{A control to display a bitmap} -\twocolitem{\helpref{wxRadioBox}{wxradiobox}}{A group of radio buttons} -\twocolitem{\helpref{wxRadioButton}{wxradiobutton}}{A round button to be used with others in a mutually exclusive way} -\twocolitem{\helpref{wxSlider}{wxslider}}{A slider that can be dragged by the user} -\end{twocollist} - -{\large {\bf Menus}} - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxMenu}{wxmenu}}{Displays a series of menu items for selection} -\twocolitem{\helpref{wxMenuBar}{wxmenubar}}{Contains a series of menus for use with a frame} -\twocolitem{\helpref{wxMenuItem}{wxmenuitem}}{Represents a single menu item} -\end{twocollist} - -{\large {\bf Window layout}} - -\overview{Overview}{constraintsoverview} - -These are the classes relevant to automated window layout. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}}{Represents a single constraint dimension} -\twocolitem{\helpref{wxLayoutConstraints}{wxlayoutconstraints}}{Represents the constraints for a window class} -\end{twocollist} - -{\large {\bf Device contexts}} - -\overview{Overview}{dcoverview} - -Device contexts are surfaces that may be drawn on, and provide an -abstraction that allows parameterisation of your drawing code -by passing different device contexts. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxClientDC}{wxclientdc}}{A device context to access the client area outside {\bf OnPaint} events} -\twocolitem{\helpref{wxPaintDC}{wxpaintdc}}{A device context to access the client area inside {\bf OnPaint} events} -\twocolitem{\helpref{wxWindowDC}{wxwindowdc}}{A device context to access the non-client area} -\twocolitem{\helpref{wxScreenDC}{wxscreendc}}{A device context to access the entire screen} -\twocolitem{\helpref{wxDC}{wxdc}}{The device context base class} -\twocolitem{\helpref{wxMemoryDC}{wxmemorydc}}{A device context for drawing into bitmaps} -\twocolitem{\helpref{wxMetaFileDC}{wxmetafiledc}}{A device context for drawing into metafiles} -\twocolitem{\helpref{wxPostScriptDC}{wxpostscriptdc}}{A device context for drawing into PostScript files} -\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{A device context for drawing to printers} -\end{twocollist} - -{\large {\bf Graphics device interface}} - -\overview{Bitmaps overview}{wxbitmapoverview} - -These classes are related to drawing on device contexts and windows. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxColour}{wxcolour}}{Represents the red, blue and green elements of a colour} -\twocolitem{\helpref{wxBitmap}{wxbitmap}}{Represents a bitmap} -\twocolitem{\helpref{wxBrush}{wxbrush}}{Used for filling areas on a device context} -\twocolitem{\helpref{wxBrushList}{wxbrushlist}}{The list of previously-created brushes} -\twocolitem{\helpref{wxCursor}{wxcursor}}{A small, transparent bitmap representing the cursor} -\twocolitem{\helpref{wxFont}{wxfont}}{Represents fonts} -\twocolitem{\helpref{wxFontList}{wxfontlist}}{The list of previously-created fonts} -\twocolitem{\helpref{wxIcon}{wxicon}}{A small, transparent bitmap for assigning to frames and drawing on device contexts} -\twocolitem{\helpref{wxImageList}{wximagelist}}{A list of images, used with some controls} -\twocolitem{\helpref{wxMask}{wxmask}}{Represents a mask to be used with a bitmap for transparent drawing} -\twocolitem{\helpref{wxPen}{wxpen}}{Used for drawing lines on a device context} -\twocolitem{\helpref{wxPenList}{wxpenlist}}{The list of previously-created pens} -\twocolitem{\helpref{wxPalette}{wxpalette}}{Represents a table of indices into RGB values} -\twocolitem{\helpref{wxRegion}{wxregion}}{Represents a simple or complex region on a window or device context} -\end{twocollist} - -{\large {\bf Events}} - -\overview{Overview}{eventhandlingoverview} - -An event object contains information about a specific event. Event handlers -(usually member functions) have a single, event argument. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxActivateEvent}{wxactivateevent}}{A window or application activation event} -\twocolitem{\helpref{wxCloseEvent}{wxcloseevent}}{A close window or end session event} -\twocolitem{\helpref{wxCommandEvent}{wxcommandevent}}{An event from a variety of standard controls} -\twocolitem{\helpref{wxDropFilesEvent}{wxdropfilesevent}}{A drop files event} -\twocolitem{\helpref{wxEraseEvent}{wxeraseevent}}{An erase background event} -\twocolitem{\helpref{wxEvent}{wxevent}}{The event base class} -\twocolitem{\helpref{wxFocusEvent}{wxfocusevent}}{A window focus event} -\twocolitem{\helpref{wxKeyEvent}{wxkeyevent}}{A keypress event} -\twocolitem{\helpref{wxIdleEvent}{wxidleevent}}{An idle event} -\twocolitem{\helpref{wxInitDialogEvent}{wxinitdialogevent}}{A dialog initialisation event} -\twocolitem{\helpref{wxJoystickEvent}{wxjoystickevent}}{A joystick event} -\twocolitem{\helpref{wxListEvent}{wxlistevent}}{A list control event} -\twocolitem{\helpref{wxMenuEvent}{wxmenuevent}}{A menu event} -\twocolitem{\helpref{wxMouseEvent}{wxmouseevent}}{A mouse event} -\twocolitem{\helpref{wxMoveEvent}{wxmoveevent}}{A move event} -\twocolitem{\helpref{wxPaintEvent}{wxpaintevent}}{A paint event} -%\twocolitem{\helpref{wxSessionEvent}{wxsessionevent}}{A session ending event} -\twocolitem{\helpref{wxSizeEvent}{wxsizeevent}}{A size event} -\twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{A system colour change event} -\twocolitem{\helpref{wxTabEvent}{wxtabevent}}{A tab control event} -\twocolitem{\helpref{wxTreeEvent}{wxtreeevent}}{A tree control event} -\twocolitem{\helpref{wxUpdateUIEvent}{wxupdateuievent}}{A user interface update event} -\end{twocollist} - -{\large {\bf Validators}} - -These are the window validators, used for filtering and validating -user input. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxValidator}{wxvalidator}}{Base validator class.} -\twocolitem{\helpref{wxTextValidator}{wxtextvalidator}}{Text control validator class.} -\end{twocollist} - -{\large {\bf Data structures}} - -These are the data structure classes supported by wxWindows. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxExpr}{wxexpr}}{A class for flexible I/O} -\twocolitem{\helpref{wxExprDatabase}{wxexprdatabase}}{A class for flexible I/O} -\twocolitem{\helpref{wxDate}{wxdate}}{A class for date manipulation} -\twocolitem{\helpref{wxHashTable}{wxhashtable}}{A simple hash table implementation} -\twocolitem{\helpref{wxList}{wxlist}}{A simple linked list implementation} -\twocolitem{\helpref{wxNode}{wxnode}}{Represents a node in the wxList implementation} -\twocolitem{\helpref{wxObject}{wxobject}}{The root class for most wxWindows classes} -\twocolitem{\helpref{wxPathList}{wxpathlist}}{A class to help search multiple paths} -\twocolitem{\helpref{wxPoint}{wxpoint}}{Representation of a point} -\twocolitem{\helpref{wxRect}{wxrect}}{A class representing a rectangle} -\twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region} -\twocolitem{\helpref{wxString}{wxstring}}{A string class} -\twocolitem{\helpref{wxStringList}{wxstringlist}}{A class representing a list of strings} -\twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers} -\twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size} -\twocolitem{\helpref{wxTime}{wxtime}}{A class for time manipulation} -\end{twocollist} - -{\large {\bf Run-time class information system}} - -\overview{Overview}{runtimeclassoverview} - -wxWindows supports run-time manipulation of class information, and dynamic -creation of objects given class names. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxClassInfo}{wxclassinfo}}{Holds run-time class information} -\twocolitem{\helpref{wxObject}{wxobject}}{Root class for classes with run-time information} -\twocolitem{\helpref{Macros}{macros}}{Macros for manipulating run-time information} -\end{twocollist} - -{\large {\bf Debugging features}} - -\overview{Overview}{debuggingoverview} - -wxWindows supports some aspects of debugging an application through -classes, functions and macros. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxDebugContext}{wxdebugcontext}}{Provides various debugging facilities} -\twocolitem{\helpref{wxDebugStreamBuf}{wxdebugstreambuf}}{A stream buffer writing to the debug stream} -\twocolitem{\helpref{wxObject}{wxobject}}{Provides optional debugging versions of {\bf new} and {\bf delete}} -\twocolitem{\helpref{wxTrace}{wxtrace}}{Tracing facility} -\twocolitem{\helpref{wxTraceLevel}{wxtracelevel}}{Tracing facility with levels} -\twocolitem{\helpref{WXDEBUG\_NEW}{debugnew}}{Use this macro to give further debugging information} -\twocolitem{\helpref{WXTRACE}{trace}}{Trace macro} -\twocolitem{\helpref{WXTRACELEVEL}{tracelevel}}{Trace macro with levels} -\end{twocollist} - -{\large {\bf Interprocess communication}} - -\overview{Overview}{ipcoverview} - -wxWindows provides a simple interprocess communications facilities -based on DDE. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxDDEClient}{wxddeclient}}{Represents a client} -\twocolitem{\helpref{wxDDEConnection}{wxddeconnection}}{Represents the connection between a client and a server} -\twocolitem{\helpref{wxDDEServer}{wxddeserver}}{Represents a server} -\end{twocollist} - -{\large {\bf Document/view framework}} - -\overview{Overview}{docviewoverview} - -wxWindows supports a document/view framework which provides -housekeeping for a document-centric application. - -TODO: MDI frame classes for documents; make it unnecessary to convert -between streams and files (overridable method that uses filenames instead of streams). - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxDocument}{wxdocument}}{Represents a document} -\twocolitem{\helpref{wxView}{wxview}}{Represents a view} -\twocolitem{\helpref{wxDocTemplate}{wxdoctemplate}}{Manages the relationship between a document class and a veiw class} -\twocolitem{\helpref{wxDocManager}{wxdocmanager}}{Manages the documents and views in an application} -\twocolitem{\helpref{wxDocChildFrame}{wxdocchildframe}}{A child frame for showing a document view} -\twocolitem{\helpref{wxDocParentFrame}{wxdocparentframe}}{A parent frame to contain views} -\end{twocollist} - -{\large {\bf Printing framework}} - -\overview{Overview}{printingoverview} - -A printing and previewing framework is implemented to -make it relatively straighforward to provide document printing -facilities. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxPreviewFrame}{wxpreviewframe}}{Frame for displaying a print preview} -\twocolitem{\helpref{wxPreviewCanvas}{wxpreviewcanvas}}{Canvas for displaying a print preview} -\twocolitem{\helpref{wxPreviewControlBar}{wxpreviewcontrolbar}}{Standard control bar for a print preview} -\twocolitem{\helpref{wxPrintData}{wxprintdata}}{Represents information about the document being printed} -\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog} -\twocolitem{\helpref{wxPrinter}{wxprinter}}{Class representing the printer} -\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{Printer device context} -\twocolitem{\helpref{wxPrintout}{wxprintout}}{Class representing a particular printout} -\twocolitem{\helpref{wxPrintPreview}{wxprintpreview}}{Class representing a print preview} -\end{twocollist} - -{\large {\bf Database classes}} - -\overview{Database classes overview}{odbcoverview} - -wxWindows provides a set of classes for accessing Microsoft's ODBC (Open Database Connectivity) -product. - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxDatabase}{wxdatabase}}{Database class} -\twocolitem{\helpref{wxQueryCol}{wxquerycol}}{Class representing a column} -\twocolitem{\helpref{wxQueryField}{wxqueryfield}}{Class representing a field} -\twocolitem{\helpref{wxRecordSet}{wxrecordset}}{Class representing one or more record} -\end{twocollist} - -{\large {\bf Miscellaneous}} - -\begin{twocollist}\itemsep=0pt -\twocolitem{\helpref{wxApp}{wxapp}}{Application class} -\twocolitem{\helpref{wxHelpControllerBase}{wxhelpcontrollerbase}}{Base class for help controllers} -\twocolitem{\helpref{wxTimer}{wxtimer}}{Timer class} -\twocolitem{\helpref{wxSystemSettings}{wxsystemsettings}}{System settings class} -\twocolitem{\helpref{wxWinHelpController}{wxwinhelpcontroller}}{Controls WinHelp instances} -\twocolitem{\helpref{wxConfig}{wxconfigbase}}{Classes for configuration reading/writing} -\end{twocollist} - - diff --git a/docs/latex/wx/checkbox.tex b/docs/latex/wx/checkbox.tex deleted file mode 100644 index b12e416a44..0000000000 --- a/docs/latex/wx/checkbox.tex +++ /dev/null @@ -1,104 +0,0 @@ -\section{\class{wxCheckBox}}\label{wxcheckbox} - -A checkbox is a labelled box which is either on (checkmark is visible) -or off (no checkmark). - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -There are no special styles for wxCheckBox. - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_CHECKBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKBOX\_CLICKED event, -when the checkbox is clicked.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxRadioButton}{wxradiobutton}, \helpref{wxCommandEvent}{wxcommandevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCheckBox::wxCheckBox}\label{wxcheckboxconstr} - -\func{}{wxCheckBox}{\void} - -Default constructor. - -\func{}{wxCheckBox}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp -\param{const wxSize\& }{size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp -\param{const wxValidator\& }{val}, \param{const wxString\& }{name = ``checkBox"}} - -Constructor, creating and showing a checkbox. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Checkbox identifier. A value of -1 indicates a default value.} - -\docparam{label}{Text to be displayed next to the checkbox.} - -\docparam{pos}{Checkbox position. If the position (-1, -1) is specified then a default position is chosen.} - -\docparam{size}{Checkbox size. If the default size (-1, -1) is specified then a default size is chosen.} - -\docparam{style}{Window style. See \helpref{wxCheckBox}{wxcheckbox}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxCheckBox::Create}{wxcheckboxcreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxCheckBox::\destruct{wxCheckBox}} - -\func{}{\destruct{wxCheckBox}}{\void} - -Destructor, destroying the checkbox. - -\membersection{wxCheckBox::Create}\label{wxcheckboxcreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp -\param{const wxSize\& }{size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp -\param{const wxValidator\& }{val}, \param{const wxString\& }{name = ``checkBox"}} - -Creates the checkbox for two-step construction. See \helpref{wxCheckBox::wxCheckBox}{wxcheckboxconstr}\rtfsp -for details. - -\membersection{wxCheckBox::GetValue}\label{wxcheckboxgetvalue} - -\constfunc{bool}{GetValue}{\void} - -Gets the state of the checkbox. - -\wxheading{Return value} - -Returns TRUE if it is checked, FALSE otherwise. - -\membersection{wxCheckBox::SetValue}\label{wxcheckboxsetvalue} - -\func{void}{SetValue}{\param{const bool}{ state}} - -Sets the checkbox to the given state. - -\wxheading{Parameters} - -\docparam{state}{If TRUE, the check is on, otherwise it is off.} - - diff --git a/docs/latex/wx/choice.tex b/docs/latex/wx/choice.tex deleted file mode 100644 index 04dc877fc3..0000000000 --- a/docs/latex/wx/choice.tex +++ /dev/null @@ -1,202 +0,0 @@ -\section{\class{wxChoice}}\label{wxchoice} - -A choice item is used to select one of a list of strings. Unlike a -listbox, only the selection is visible until the user pulls down the -menu of choices. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -There are no special styles for wxChoice. - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_CHOICE(id, func)}}{Process a wxEVT\_COMMAND\_CHOICE\_SELECTED event, -when an item on the list is selected.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxListBox}{wxlistbox}, \helpref{wxComboBox}{wxcombobox}, -\rtfsp\helpref{wxCommandEvent}{wxcommandevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxChoice::wxChoice}\label{wxchoiceconstr} - -\func{}{wxChoice}{\void} - -Default constructor. - -\func{}{wxChoice}{\param{wxWindow *}{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\&}{ size},\rtfsp -\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``choice"}} - -Constructor, creating and showing a choice. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{pos}{Window position.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then the choice is sized -appropriately.} - -\docparam{n}{Number of strings with which to initialise the choice control.} - -\docparam{choices}{An array of strings with which to initialise the choice control.} - -\docparam{style}{Window style. See \helpref{wxChoice}{wxchoice}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxChoice::Create}{wxchoicecreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxChoice::\destruct{wxChoice}} - -\func{}{\destruct{wxChoice}}{\void} - -Destructor, destroying the choice item. - -\membersection{wxChoice::Append}\label{wxchoiceappend} - -\func{void}{Append}{\param{const wxString\& }{ item}} - -Adds the item to the end of the choice control. - -\wxheading{Parameters} - -\docparam{item}{String to add.} - -\membersection{wxChoice::Clear}\label{wxchoiceclear} - -\func{void}{Clear}{\void} - -Clears the strings from the choice item. - -\membersection{wxChoice::Create}\label{wxchoicecreate} - -\func{bool}{Create}{\param{wxWindow *}{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxPoint\& }{pos}, \param{const wxSize\&}{ size},\rtfsp -\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp -\param{long}{ style = 0}, \param{const wxString\& }{name = ``choice"}} - -Creates the choice for two-step construction. See \helpref{wxChoice::wxChoice}{wxchoiceconstr}. - -\membersection{wxChoice::FindString}\label{wxchoicefindstring} - -\constfunc{int}{FindString}{\param{const wxString\& }{string}} - -Finds a choice matching the given string. - -\wxheading{Parameters} - -\docparam{string}{String to find.} - -\wxheading{Return value} - -Returns the position if found, or -1 if not found. - -\membersection{wxChoice::GetColumns}\label{wxchoicegetcolumns} - -\constfunc{int}{GetColumns}{\void} - -Gets the number of columns in this choice item. - -\wxheading{Remarks} - -This is implemented for Motif only. - -\membersection{wxChoice::GetSelection}\label{wxchoicegetselection} - -\constfunc{int}{GetSelection}{\void} - -Gets the id (position) of the selected string, or -1 if there is no selection. - -\membersection{wxChoice::GetString}\label{wxchoicegetstring} - -\constfunc{wxString}{GetString}{\param{int}{ n}} - -Returns the string at the given position. - -\wxheading{Parameters} - -\docparam{n}{The zero-based position.} - -\wxheading{Return value} - -The string at the given position, or the empty string if {\it n} is invalid. - -\membersection{wxChoice::GetStringSelection}\label{wxchoicegetstringselection} - -\constfunc{wxString}{GetStringSelection}{\void} - -Gets the selected string, or the empty string if no string is selected. - -\membersection{wxChoice::Number}\label{wxchoicenumber} - -\constfunc{int}{Number}{\void} - -Returns the number of strings in the choice control. - -\membersection{wxChoice::SetColumns}\label{wxchoicesetcolumns} - -\func{void}{SetColumns}{\param{int}{ n = 1}} - -Sets the number of columns in this choice item. - -\wxheading{Parameters} - -\docparam{n}{Number of columns.} - -\wxheading{Remarks} - -This is implemented for Motif only. - -\membersection{wxChoice::SetSelection}\label{wxchoicesetselection} - -\func{void}{SetSelection}{\param{int}{ n}} - -Sets the choice by passing the desired string position. - -\wxheading{Parameters} - -\docparam{n}{The string position to select, starting from zero.} - -\wxheading{See also} - -\helpref{wxChoice::SetStringSelection}{wxchoicesetstringselection} - -\membersection{wxChoice::SetStringSelection}\label{wxchoicesetstringselection} - -\func{void}{SetStringSelection}{\param{const wxString\& }{ string}} - -Sets the choice by passing the desired string. - -\wxheading{Parameters} - -\docparam{string}{The string to select.} - -\wxheading{See also} - -\helpref{wxChoice::SetSelection}{wxchoicesetselection} - - diff --git a/docs/latex/wx/clasinfo.tex b/docs/latex/wx/clasinfo.tex deleted file mode 100644 index f81149f271..0000000000 --- a/docs/latex/wx/clasinfo.tex +++ /dev/null @@ -1,75 +0,0 @@ -\section{\class{wxClassInfo}}\label{wxclassinfo} - -This class stores meta-information about classes. Instances of this class are -not generally defined directly by an application, but indirectly through use -of macros such as {\bf DECLARE\_DYNAMIC\_CLASS} and {\bf IMPLEMENT\_DYNAMIC\_CLASS}. - -\wxheading{Derived from} - -No parent class. - -\wxheading{See also} - -\helpref{Overview}{wxclassinfooverview}, \helpref{wxObject}{wxobject} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxClassInfo::wxClassInfo}\label{wxclassinfoconstr} - -\func{}{wxClassInfo}{\param{char* }{className}, \param{char* }{baseClass1}, \param{char* }{baseClass2}, - \param{int}{ size}, \param{wxObjectConstructorFn }{fn}} - -Constructs a wxClassInfo object. The supplied macros implicitly construct objects of this -class, so there is no need to create such objects explicitly in an application. - -\membersection{wxClassInfo::CreateObject} - -\func{wxObject*}{CreateObject}{\void} - -Creates an object of the appropriate kind. Returns NULL if the class has not been declared -dynamically createable (typically, it's an abstract class). - -\membersection{wxClassInfo::FindClass} - -\func{static wxClassInfo *}{FindClass}{\param{char* }{name}} - -Finds the wxClassInfo object for a class of the given string name. - -\membersection{wxClassInfo::GetBaseClassName1} - -\constfunc{char*}{GetBaseClassName1}{\void} - -Returns the name of the first base class (NULL if none). - -\membersection{wxClassInfo::GetBaseClassName2} - -\constfunc{char*}{GetBaseClassName2}{\void} - -Returns the name of the second base class (NULL if none). - -\membersection{wxClassInfo::GetClassName} - -\constfunc{char *}{GetClassName}{\void} - -Returns the string form of the class name. - -\membersection{wxClassInfo::GetSize} - -\constfunc{int}{GetSize}{\void} - -Returns the size of the class. - -\membersection{wxClassInfo::InitializeClasses} - -\func{static void}{InitializeClasses}{\void} - -Initializes pointers in the wxClassInfo objects for fast execution -of IsKindOf. Called in base wxWindows library initialization. - -\membersection{wxClassInfo::IsKindOf}\label{wxclassinfoiskindof} - -\func{bool}{IsKindOf}{\param{wxClassInfo* }{info}} - -Returns TRUE if this class is a kind of (inherits from) the given class. - - diff --git a/docs/latex/wx/classes.tex b/docs/latex/wx/classes.tex deleted file mode 100644 index 1cd0dc855e..0000000000 --- a/docs/latex/wx/classes.tex +++ /dev/null @@ -1,183 +0,0 @@ -\chapter{Alphabetical class reference}\label{classref} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% -\pagenumbering{arabic}% -% -\begin{comment} -\helpignore{\section{Class hierarchy}% - -The GUI-specific wxWindows class hierarchy is shown in Figure 5.1. -Many other, non-GUI classes have been omitted. - -\vskip 1cm -$$\image{14cm;0cm}{wxclass.ps}$$ -\vskip 1cm -\centerline{Figure 5.1: wxWindows class hierarchy} - -\newpage}% - -\overview{Writing a wxWindows application: a rough guide}{roughguide} - -\helponly{ -\sethotspotcolour{off}% -\large{ -\helpref{Notes on using the reference}{referencenotes}\\ -\helpref{Guide to functions}{functions} -\sethotspotcolour{on}% -}} -\end{comment} - -\input activevt.tex -\input app.tex -\input button.tex -\input bitmap.tex -\input bbutton.tex -\input brush.tex -\input checkbox.tex -\input choice.tex -\input clasinfo.tex -\input clientdc.tex -\input clipbrd.tex -\input closeevt.tex -\input colour.tex -\input colordlg.tex -\input combobox.tex -\input command.tex -\input cmdevent.tex -\input cmdproc.tex -\input conditn.tex -\input config.tex -\input control.tex -\input cursor.tex -\input database.tex -\input date.tex -\input datstrm.tex -\input dc.tex -\input ddeclint.tex -\input ddeconn.tex -\input ddeservr.tex -\input debugcxt.tex -\input dialog.tex -\input dirdlg.tex -\input document.tex -\input docchfrm.tex -\input docmanag.tex -\input docmdich.tex -\input docmdipr.tex -\input docprfrm.tex -\input doctempl.tex -\input dropevt.tex -\input eraseevt.tex -\input event.tex -\input evthand.tex -\input expr.tex -\input file.tex -\input filedlg.tex -\input filehist.tex -\input focusevt.tex -\input font.tex -\input fontdlg.tex -\input fontlist.tex -\input frame.tex -\input gauge.tex -\input gdiobj.tex -\input grid.tex -\input hash.tex -\input helpinst.tex -\input idleevt.tex -\input icon.tex -\input imaglist.tex -\input ilayout.tex -\input indlgevt.tex -\input joystick.tex -\input joyevent.tex -\input keyevent.tex -\input layout.tex -\input list.tex -\input listbox.tex -\input listctrl.tex -\input listevt.tex -% \input log.tex -\input mask.tex -\input mdi.tex -\input menu.tex -\input menuitem.tex -\input menuevt.tex -\input memorydc.tex -\input msgdlg.tex -\input metafile.tex -\input minifram.tex -\input module.tex -\input mouseevt.tex -\input moveevt.tex -\input mltchdlg.tex -\input mutex.tex -\input node.tex -\input object.tex -\input pagedlg.tex -\input paintdc.tex -\input paintevt.tex -\input palette.tex -\input panel.tex -\input pantabv.tex -\input pathlist.tex -\input pen.tex -\input point.tex -\input prevwin.tex -\input print.tex -\input process.tex -\input postscpt.tex -\input query.tex -\input radiobox.tex -\input radiobut.tex -\input realpoin.tex -\input rect.tex -\input recrdset.tex -\input region.tex -\input screendc.tex -\input scrolbar.tex -\input scrolevt.tex -\input scrolwin.tex -\input sngchdlg.tex -\input size.tex -\input sizeevt.tex -\input slider.tex -\input spinbutt.tex -\input splitter.tex -\input statbmp.tex -\input statbox.tex -\input stattext.tex -\input statusbr.tex -\input wxstring.tex -\input strlist.tex -\input sysclevt.tex -\input settings.tex -\input tab.tex -\input tabctrl.tex -\input tabevent.tex -\input taskbar.tex -\input text.tex -\input textdlg.tex -\input valtext.tex -\input thread.tex -\input time.tex -\input timer.tex -\input toolbar.tex -\input treectrl.tex -\input treeevt.tex -\input upditer.tex -\input upduievt.tex -\input validatr.tex -\input view.tex -\input wave.tex -\input window.tex -\input windowdc.tex -\input winhelp.tex - -\input function.tex - - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: "referenc" -%%% End: diff --git a/docs/latex/wx/clientdc.tex b/docs/latex/wx/clientdc.tex deleted file mode 100644 index 8101533aa0..0000000000 --- a/docs/latex/wx/clientdc.tex +++ /dev/null @@ -1,31 +0,0 @@ -\section{\class{wxClientDC}}\label{wxclientdc} - -A wxClientDC must be constructed if an application wishes to paint on the -client area of a window from outside an {\bf OnPaint} event. -This should normally be constructed as a temporary stack object; don't store -a wxClientDC object. - -To draw on a window from within {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} object. - -To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object -(Windows only). - -\wxheading{Derived from} - -\helpref{wxDC}{wxdc} - -\wxheading{See also} - -\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp -\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxClientDC::wxClientDC} - -\func{}{wxClientDC}{\param{wxWindow*}{ window}} - -Constructor. Pass a pointer to the window on which you wish to paint. - - - diff --git a/docs/latex/wx/clipbrd.tex b/docs/latex/wx/clipbrd.tex deleted file mode 100644 index a12f8b1f05..0000000000 --- a/docs/latex/wx/clipbrd.tex +++ /dev/null @@ -1,103 +0,0 @@ -\section{\class{wxClipboard}}\label{wxclipboard} - -There is one wxClipboard object referenced by the pointer -wxTheClipboard, initialized by calling \helpref{wxInitClipboard}{wxinitclipboard}. -Under X, clipboard manipulation must be done by using this class, and -such code will work under MS Windows also. Under MS Windows, you have the -alternative of using the normal clipboard functions. - -The documentation for this class will be expanded in due course. At present, -wxClipboard is only used in the wxMediaWindow add-on library. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxClipboardClient}{wxclipboardclient}, \helpref{wxInitClipboard}{wxinitclipboard}. - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxClipboard::GetClipboardClient} - -\func{wxClipboardClient *}{GetClipboardClient}{\void} - -Get the clipboard client directly. Will be NULL if clipboard data -is a string, or if some other application owns the clipboard. -This can be useful for shortcutting data translation, if the -clipboard user can check for a specific client. - -\membersection{wxClipboard::GetClipboardData} - -\func{char*}{GetClipboardData}{\param{const wxString\& }{format}, \param{long *}{length}, \param{long}{ time}} - -Get data from the clipboard. - -\membersection{wxClipboard::GetClipboardString} - -\func{wxString}{GetClipboardString}{\param{long}{ time}} - -Get the data from the clipboard in the format ``TEXT". - -\membersection{wxClipboard::SetClipboardClient} - -\func{void}{SetClipboardClient}{\param{wxClipboardClient *}{client}, \param{long}{ time}} - -Set the clipboard data owner. - -\membersection{wxClipboard::SetClipboardString} - -\func{void}{SetClipboardString}{\param{const wxString\& }{data}, \param{long}{ time}} - -Set the clipboard string; does not require a client. - -\section{\class{wxClipboardClient}}\label{wxclipboardclient} - -Implemented under X and MS Windows, a clipboard client holds data -belonging to the clipboard. For plain text, a client is not necessary. - -wxClipboardClient is an abstract class for which the virtual functions -BeingReplaced and GetData must be overridden. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxClipboard}{wxclipboard}, \helpref{wxInitClipboard}{wxinitclipboard}. - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxClipboardClient::formats} - -\member{wxStringList}{formats} - -This list should be filled in with strings indicating the formats -this client can provide. Almost all clients will provide``TEXT". -Format names should be 4 characters long, so things will work -out on the Macintosh. - -\membersection{wxClipboardClient::BeingReplaced} - -\func{void}{BeingReplaced}{\void} - -This method is called when the client is losing the selection. - -\membersection{wxClipboardClient::GetData} - -\func{char*}{GetData}{\param{const wxString\& }{format}, \param{long *}{size}} - -This method is called when someone wants the data this client is -supplying to the clipboard. - -{\it format} is a string indicating the -format of the data - one of the strings from the ``formats" -list. - -{\it size} should be filled with the size of the resulting -data. In the case of text, {\it size} does not count the -NULL terminator. - - diff --git a/docs/latex/wx/closeevt.tex b/docs/latex/wx/closeevt.tex deleted file mode 100644 index d41ff76c48..0000000000 --- a/docs/latex/wx/closeevt.tex +++ /dev/null @@ -1,57 +0,0 @@ -\section{\class{wxCloseEvent}}\label{wxcloseevent} - -This event class contains information about window and session close events. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent} - -\wxheading{Event table macros} - -To process a close event, use these event handler macros to direct input to member -functions that take a wxCloseEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_CLOSE(func)}}{Process a close event, supplying the member function.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnCloseWindow}{wxwindowonclosewindow},\rtfsp -\helpref{wxWindow::Close}{wxwindowclose},\rtfsp -\helpref{Window deletion overview}{windowdeletionoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCloseEvent::wxCloseEvent} - -\func{}{wxCloseEvent}{\param{WXTYPE}{ commandEventType = 0}, \param{int}{ id = 0}} - -Constructor. - -\membersection{wxCloseEvent::GetLoggingOff}\label{wxcloseeventgetloggingoff} - -\constfunc{bool}{GetLoggingOff}{\void} - -Returns TRUE if the user is logging off. - -\membersection{wxCloseEvent::GetSessionEnding}\label{wxcloseeventgetsessionending} - -\constfunc{bool}{GetSessionEnding}{\void} - -Returns TRUE if the session is ending. - -\membersection{wxCloseEvent::GetForce}\label{wxcloseeventgetforce} - -\constfunc{void}{GetForce}{\void} - -Returns TRUE if the application wishes to force the window to close. - -\membersection{wxCloseEvent::Veto}\label{wxcloseeventveto} - -\func{void}{Veto}{\void} - -Call this from your event handler to veto a system shutdown. - - diff --git a/docs/latex/wx/cmdevent.tex b/docs/latex/wx/cmdevent.tex deleted file mode 100644 index 649f0d5038..0000000000 --- a/docs/latex/wx/cmdevent.tex +++ /dev/null @@ -1,188 +0,0 @@ -\section{\class{wxCommandEvent}}\label{wxcommandevent} - -This event class contains information about command events, which originate from a variety of -simple controls. More complex controls, such as \helpref{wxTreeCtrl}{wxtreectrl}, have separate command event classes. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent} - -\wxheading{Event table macros} - -To process a menu command event, use these event handler macros to direct input to member -functions that take a wxCommandEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_COMMAND(id, cmd, func)}}{Process a command, supplying the window identifier, -command event identifier, and member function.} -\twocolitem{{\bf EVT\_COMMAND\_RANGE(id1, id2, cmd, func)}}{Process a command for a range -of window identifiers, supplying the minimum and maximum window identifiers, -command event identifier, and member function.} -\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED command, -which is generated by a wxButton control.} -\twocolitem{{\bf EVT\_CHECKBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKBOX\_CLICKED command, -which is generated by a wxCheckBox control.} -\twocolitem{{\bf EVT\_CHOICE(id, func)}}{Process a wxEVT\_COMMAND\_CHOICE\_SELECTED command, -which is generated by a wxChoice control.} -\twocolitem{{\bf EVT\_LISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_SELECTED command, -which is generated by a wxListBox control.} -\twocolitem{{\bf EVT\_LISTBOX\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_DOUBLECLICKED command, -which is generated by a wxListBox control.} -\twocolitem{{\bf EVT\_TEXT(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_UPDATED command, -which is generated by a wxTextCtrl control.} -\twocolitem{{\bf EVT\_TEXT\_ENTER(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_ENTER command, -which is generated by a wxTextCtrl control.} -\twocolitem{{\bf EVT\_MENU(id, func)}}{Process a wxEVT\_COMMAND\_MENU\_SELECTED command, -which is generated by a menu item.} -\twocolitem{{\bf EVT\_MENU\_RANGE(id1, id2, func)}}{Process a wxEVT\_COMMAND\_MENU\_RANGE command, -which is generated by a range of menu items.} -\twocolitem{{\bf EVT\_SLIDER(id, func)}}{Process a wxEVT\_COMMAND\_SLIDER\_UPDATED command, -which is generated by a wxSlider control.} -\twocolitem{{\bf EVT\_RADIOBOX(id, func)}}{Process a wxEVT\_COMMAND\_RADIOBOX\_SELECTED command, -which is generated by a wxRadioBox control.} -\twocolitem{{\bf EVT\_RADIOBUTTON(id, func)}}{Process a wxEVT\_COMMAND\_RADIOBUTTON\_SELECTED command, -which is generated by a wxRadioButton control.} -\twocolitem{{\bf EVT\_SCROLLBAR(id, func)}}{Process a wxEVT\_COMMAND\_SCROLLBAR\_UPDATED command, -which is generated by a wxScrollBar control. This is provided for compatibility only; -more specific scrollbar event macros should be used instead (see \helpref{wxScrollEvent}{wxscrollevent}).} -\twocolitem{{\bf EVT\_COMBOBOX(id, func)}}{Process a wxEVT\_COMMAND\_COMBOBOX\_SELECTED command, -which is generated by a wxComboBox control.} -\twocolitem{{\bf EVT\_TOOL(id, func)}}{Process a wxEVT\_COMMAND\_TOOL\_CLICKED event -(a synonym for wxEVT\_COMMAND\_MENU\_SELECTED). Pass the id of the tool.} -\twocolitem{{\bf EVT\_TOOL\_RANGE(id1, id2, func)}}{Process a wxEVT\_COMMAND\_TOOL\_CLICKED event -for a range id identifiers. Pass the ids of the tools.} -\twocolitem{{\bf EVT\_TOOL\_RCLICKED(id, func)}}{Process a wxEVT\_COMMAND\_TOOL\_RCLICKED event. -Pass the id of the tool.} -\twocolitem{{\bf EVT\_TOOL\_RCLICKED\_RANGE(id1, id2, func)}}{Process a wxEVT\_COMMAND\_TOOL\_RCLICKED event -for a range of ids. Pass the ids of the tools.} -\twocolitem{{\bf EVT\_TOOL\_ENTER(id, func)}}{Process a wxEVT\_COMMAND\_TOOL\_ENTER event. -Pass the id of the toolbar itself. The value of wxCommandEvent::GetSelection is the tool id, or -1 if the mouse cursor has moved off a tool.} -\twocolitem{{\bf EVT\_COMMAND\_LEFT\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_LEFT\_CLICK command, -which is generated by a control (Windows 95 and NT only).} -\twocolitem{{\bf EVT\_COMMAND\_LEFT\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LEFT\_DCLICK command, -which is generated by a control (Windows 95 and NT only).} -\twocolitem{{\bf EVT\_COMMAND\_RIGHT\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_RIGHT\_CLICK command, -which is generated by a control (Windows 95 and NT only).} -\twocolitem{{\bf EVT\_COMMAND\_SET\_FOCUS(id, func)}}{Process a wxEVT\_COMMAND\_SET\_FOCUS command, -which is generated by a control (Windows 95 and NT only).} -\twocolitem{{\bf EVT\_COMMAND\_KILL\_FOCUS(id, func)}}{Process a wxEVT\_COMMAND\_KILL\_FOCUS command, -which is generated by a control (Windows 95 and NT only).} -\twocolitem{{\bf EVT\_COMMAND\_ENTER(id, func)}}{Process a wxEVT\_COMMAND\_ENTER command, -which is generated by a control.} -\end{twocollist}% - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCommandEvent::m\_clientData} - -\member{char*}{m\_clientData} - -Contains a pointer to client data for listboxes and choices, if the event -was a selection. - -\membersection{wxCommandEvent::m\_commandInt} - -\member{int}{m\_commandInt} - -Contains an integer identifier corresponding to a listbox, choice or -radiobox selection (only if the event was a selection, not a -deselection), or a boolean value representing the value of a checkbox. - -\membersection{wxCommandEvent::m\_commandString} - -\member{char*}{m\_commandString} - -Contains a string corresponding to a listbox or choice selection. - -\membersection{wxCommandEvent::m\_extraLong} - -\member{long}{m\_extraLong} - -Extra information. If the event comes from a listbox selection, it is -a boolean determining whether the event was a selection (TRUE) or a -deselection (FALSE). A listbox deselection only occurs for -multiple-selection boxes, and in this case the index and string values -are indeterminate and the listbox must be examined by the application. - -\membersection{wxCommandEvent::wxCommandEvent} - -\func{}{wxCommandEvent}{\param{WXTYPE}{ commandEventType = 0}, \param{int}{ id = 0}} - -Constructor. - -\membersection{wxCommandEvent::Checked} - -\func{bool}{Checked}{\void} - -Returns TRUE or FALSE for a checkbox selection event. - -\membersection{wxCommandEvent::GetClientData} - -\func{char*}{GetClientData}{\void} - -Returns client data pointer for a listbox or choice selection event -(not valid for a deselection). - -\membersection{wxCommandEvent::GetExtraLong} - -\func{long}{GetExtraLong}{\void} - -Returns the {\bf m\_extraLong} member. - -\membersection{wxCommandEvent::GetInt} - -\func{int}{GetInt}{\void} - -Returns the {\bf m\_commandInt} member. - -\membersection{wxCommandEvent::GetSelection} - -\func{int}{GetSelection}{\void} - -Returns item index for a listbox or choice selection event (not valid for -a deselection). - -\membersection{wxCommandEvent::GetString} - -\func{char*}{GetString}{\void} - -Returns item string for a listbox or choice selection event (not valid for -a deselection). - -\membersection{wxCommandEvent::IsSelection} - -\func{bool}{IsSelection}{\void} - -For a listbox or choice event, returns TRUE if it is a selection, FALSE if it -is a deselection. - -\membersection{wxCommandEvent::SetClientData} - -\func{void}{SetClientData}{\param{char*}{ clientData}} - -Sets the client data for this event. - -\membersection{wxCommandEvent::SetExtraLong} - -\func{void}{SetExtraLong}{\param{int}{ extraLong}} - -Sets the {\bf m\_extraLong} member. - -\membersection{wxCommandEvent::SetInt} - -\func{void}{SetInt}{\param{int}{ intCommand}} - -Sets the {\bf m\_commandInt} member. - -\membersection{wxCommandEvent::SetString} - -\func{void}{SetString}{\param{char*}{ string}} - -Sets the {\bf m\_commandString} member. - - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: "referenc" -%%% End: diff --git a/docs/latex/wx/cmdproc.tex b/docs/latex/wx/cmdproc.tex deleted file mode 100644 index 1164bccfe6..0000000000 --- a/docs/latex/wx/cmdproc.tex +++ /dev/null @@ -1,106 +0,0 @@ -\section{\class{wxCommandProcessor}}\label{wxcommandprocessor} - -wxCommandProcessor is a class that maintains a history of wxCommands, -with undo/redo functionality built-in. Derive a new class from this -if you want different behaviour. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxCommandProcessor overview}{wxcommandprocessoroverview}, \helpref{wxCommand}{wxcommand} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCommandProcessor::wxCommandProcessor} - -\func{}{wxCommandProcessor}{\param{int}{ maxCommands = 100}} - -Constructor. - -{\it maxCommands} defaults to a rather arbitrary 100, but can be set from 1 to any integer. -If your wxCommand classes store a lot of data, you may wish the limit the number of -commands stored to a smaller number. - -\membersection{wxCommandProcessor::\destruct{wxCommandProcessor}} - -\func{}{\destruct{wxCommandProcessor}}{\void} - -Destructor. - -\membersection{wxCommandProcessor::CanUndo} - -\func{virtual bool}{CanUndo}{\void} - -Returns TRUE if the currently-active command can be undone, FALSE otherwise. - -\membersection{wxCommandProcessor::ClearCommands} - -\func{virtual void}{ClearCommands}{\void} - -Deletes all the commands in the list and sets the current command pointer to NULL. - -\membersection{wxCommandProcessor::Do} - -\func{virtual bool}{Do}{\void} - -Executes (redoes) the current command (the command that has just been undone if any). - -\membersection{wxCommandProcessor::GetCommands} - -\constfunc{wxList\&}{GetCommands}{\void} - -Returns the list of commands. - -\membersection{wxCommandProcessor::GetMaxCommands} - -\constfunc{int}{GetMaxCommands}{\void} - -Returns the maximum number of commands that the command processor stores. - -\membersection{wxCommandProcessor::GetEditMenu} - -\constfunc{wxMenu*}{GetEditMenu}{\void} - -Returns the edit menu associated with the command processor. - -\membersection{wxCommandProcessor::Initialize} - -\func{virtual void}{Initialize}{\void} - -Initializes the command processor, setting the current command to the -last in the list (if any), and updating the edit menu (if one has been -specified). - -\membersection{wxCommandProcessor::SetEditMenu} - -\func{void}{SetEditMenu}{\param{wxMenu* }{menu}} - -Tells the command processor to update the Undo and Redo items on this -menu as appropriate. Set this to NULL if the menu is about to be -destroyed and command operations may still be performed, or the command -processor may try to access an invalid pointer. - -\membersection{wxCommandProcessor::Submit} - -\func{virtual bool}{Submit}{\param{wxCommand *}{command}, \param{bool}{ storeIt = TRUE}} - -Submits a new command to the command processor. The command processor -calls wxCommand::Do to execute the command; if it succeeds, the command -is stored in the history list, and the associated edit menu (if any) updated -appropriately. If it fails, the command is deleted -immediately. Once Submit has been called, the passed command should not -be deleted directly by the application. - -{\it storeIt} indicates whether the successful command should be stored -in the history list. - -\membersection{wxCommandProcessor::Undo} - -\func{virtual bool}{Undo}{\void} - -Undoes the command just executed. - - diff --git a/docs/latex/wx/colordlg.tex b/docs/latex/wx/colordlg.tex deleted file mode 100644 index 332f344a02..0000000000 --- a/docs/latex/wx/colordlg.tex +++ /dev/null @@ -1,48 +0,0 @@ -\section{\class{wxColourDialog}}\label{wxcolourdialog} - -This class represents the colour chooser dialog. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxColourDialog Overview}{wxcolourdialogoverview}, \helpref{wxColour}{wxcolour}, \helpref{wxColourData}{wxcolourdata} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxColourDialog::wxColourDialog} - -\func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}} - -Constructor. Pass a parent window, and optionally a pointer to a block of colour -data, which will be copied to the colour dialog's colour data. - -\wxheading{See also} - -\helpref{wxColourData}{wxcolourdata} - -\membersection{wxColourDialog::\destruct{wxColourDialog}} - -\func{}{\destruct{wxColourDialog}}{\void} - -Destructor. - -\membersection{wxColourDialog::GetColourData} - -\func{wxColourData\&}{GetColourData}{\void} - -Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog. - -\membersection{wxColourDialog::ShowModal} - -\func{int}{ShowModal}{\void} - -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL -otherwise. - - diff --git a/docs/latex/wx/colour.tex b/docs/latex/wx/colour.tex deleted file mode 100644 index 3ad00632db..0000000000 --- a/docs/latex/wx/colour.tex +++ /dev/null @@ -1,266 +0,0 @@ -\section{\class{wxColour}}\label{wxcolour} - -A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values, -and is used to determine drawing colours. See the -entry for \helpref{wxColourDatabase}{wxcolourdatabase} for how a pointer to a predefined, -named colour may be returned instead of creating a new colour. - -Valid RGB values are in the range 0 to 255. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxColourDatabase}{wxcolourdatabase}, \helpref{wxPen}{wxpen}, \helpref{wxBrush}{wxbrush},\rtfsp -\helpref{wxColourDialog}{wxcolourdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxColour::wxColour}\label{wxcolourconstr} - -\func{}{wxColour}{\void} - -Default constructor. - -\func{}{wxColour}{\param{const unsigned char}{ red}, \param{const unsigned char}{ green}, \param{const unsigned char}{ blue}} - -Constructs a colour from red, green and blue values. - -\func{}{wxColour}{\param{const wxString\& }{colourNname}} - -Constructs a colour object using a colour name -listed in {\bf wxTheColourDatabase}. - -\wxheading{Parameters} - -\docparam{red}{The red value.} - -\docparam{green}{The green value.} - -\docparam{blue}{The blue value.} - -\docparam{colourName}{The colour name.} - -\wxheading{See also} - -\helpref{wxColourDatabase}{wxcolourdatabase} - -\membersection{wxColour::Blue}\label{wxcolourblue} - -\constfunc{unsigned char}{Blue}{\void} - -Returns the blue intensity. - -\membersection{wxColour::GetPixel}\label{wxcolourgetpixel} - -\constfunc{long}{GetPixel}{\void} - -Returns a pixel value which is platform-dependent. On Windows, a COLORREF is returned. -On X, an allocated pixel value is returned. - --1 is returned if the pixel is invalid (on X, unallocated). - -\membersection{wxColour::Green}\label{wxcolourgreen} - -\constfunc{unsigned char}{Green}{\void} - -Returns the green intensity. - -\membersection{wxColour::Ok}\label{wxcolourok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if the colour object is valid (the colour has been initialised with RGB values). - -\membersection{wxColour::Red}\label{wxcolourred} - -\constfunc{unsigned char}{Red}{\void} - -Returns the red intensity. - -\membersection{wxColour::Set}\label{wxcolourset} - -\func{void}{Set}{\param{const unsigned char}{ red}, \param{const unsigned char}{ green}, \param{const unsigned char}{ blue}} - -Sets the RGB intensity values. - -\membersection{wxColour::operator $=$}\label{wxcolourassign} - -\func{wxColour\&}{operator $=$}{\param{const wxColour\&}{ colour}} - -Assignment operator, taking another colour object. - -\func{wxColour\&}{operator $=$}{\param{const wxString\&}{ colourName}} - -Assignment operator, using a colour name to be found in the colour database. - -\wxheading{See also} - -\helpref{wxColourDatabase}{wxcolourdatabase} - -\membersection{wxColour::operator $==$}\label{wxcolourequality} - -\func{bool}{operator $==$}{\param{const wxColour\&}{ colour}} - -Tests the equality of two colours by comparing individual red, green blue colours. - -TODO: this may be different on platforms other than Windows - no reference counting -is done on Windows. - -\membersection{wxColour::operator $!=$}\label{wxcolourinequality} - -\func{bool}{operator $!=$}{\param{const wxColour\&}{ colour}} - -Tests the inequality of two colours by comparing individual red, green blue colours. - -TODO: this may be different on platforms other than Windows - no reference counting -is done on Windows. - -\section{\class{wxColourData}}\label{wxcolourdata} - -This class holds a variety of information related to colour dialogs. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxColour}{wxcolour}, \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxColourDialog overview}{wxcolourdialogoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxColourData::wxColourData}\label{wxcolourdataconstr} - -\func{}{wxColourData}{\void} - -Constructor. Initializes the custom colours to white, the {\it data colour} setting -to black, and the {\it choose full} setting to TRUE. - -\membersection{wxColourData::\destruct{wxColourData}} - -\func{}{\destruct{wxColourData}}{\void} - -Destructor. - -\membersection{wxColourData::GetChooseFull}\label{wxcolourdatagetchoosefull} - -\constfunc{bool}{GetChooseFull}{\void} - -Under Windows, determines whether the Windows colour dialog will display the full dialog -with custom colour selection controls. Has no meaning under other platforms. - -The default value is TRUE. - -\membersection{wxColourData::GetColour}\label{wxcolourdatagetcolour} - -\constfunc{wxColour\&}{GetColour}{\void} - -Gets the current colour associated with the colour dialog. - -The default colour is black. - -\membersection{wxColourData::GetCustomColour}\label{wxcolourdatagetcustomcolour} - -\constfunc{wxColour\&}{GetCustomColour}{\param{int}{ i}} - -Gets the {\it i}th custom colour associated with the colour dialog. {\it i} should -be an integer between 0 and 15. - -The default custom colours are all white. - -\membersection{wxColourData::SetChooseFull}\label{wxcolourdatasetchoosefull} - -\func{void}{SetChooseFull}{\param{const bool }{flag}} - -Under Windows, tells the Windows colour dialog to display the full dialog -with custom colour selection controls. Under other platforms, has no effect. - -The default value is TRUE. - -\membersection{wxColourData::SetColour}\label{wxcolourdatasetcolour} - -\func{void}{SetColour}{\param{const wxColour\&}{ colour}} - -Sets the default colour for the colour dialog. - -The default colour is black. - -\membersection{wxColourData::SetCustomColour}\label{wxcolourdatasetcustomcolour} - -\func{void}{SetColour}{\param{int}{ i}, \param{const wxColour\&}{ colour}} - -Sets the {\it i}th custom colour for the colour dialog. {\it i} should -be an integer between 0 and 15. - -The default custom colours are all white. - -\membersection{wxColourData::operator $=$}\label{wxcolourdataassign} - -\func{void}{operator $=$}{\param{const wxColourData\&}{ data}} - -Assingment operator for the colour data. - -\section{\class{wxColourDatabase}}\label{wxcolourdatabase} - -wxWindows maintains a database of standard RGB colours for a predefined -set of named colours (such as ``BLACK'', ``LIGHT GREY''). The -application may add to this set if desired by using {\it Append}. There -is only one instance of this class: {\bf wxTheColourDatabase}. - -\wxheading{Derived from} - -\helpref{wxList}{wxlist}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -The colours in the standard database are as follows: - -AQUAMARINE, BLACK, BLUE, BLUE VIOLET, BROWN, CADET BLUE, CORAL, -CORNFLOWER BLUE, CYAN, DARK GREY, DARK GREEN, DARK OLIVE GREEN, DARK -ORCHID, DARK SLATE BLUE, DARK SLATE GREY DARK TURQUOISE, DIM GREY, -FIREBRICK, FOREST GREEN, GOLD, GOLDENROD, GREY, GREEN, GREEN YELLOW, -INDIAN RED, KHAKI, LIGHT BLUE, LIGHT GREY, LIGHT STEEL BLUE, LIME GREEN, -MAGENTA, MAROON, MEDIUM AQUAMARINE, MEDIUM BLUE, MEDIUM FOREST GREEN, -MEDIUM GOLDENROD, MEDIUM ORCHID, MEDIUM SEA GREEN, MEDIUM SLATE BLUE, -MEDIUM SPRING GREEN, MEDIUM TURQUOISE, MEDIUM VIOLET RED, MIDNIGHT BLUE, -NAVY, ORANGE, ORANGE RED, ORCHID, PALE GREEN, PINK, PLUM, PURPLE, RED, -SALMON, SEA GREEN, SIENNA, SKY BLUE, SLATE BLUE, SPRING GREEN, STEEL -BLUE, TAN, THISTLE, TURQUOISE, VIOLET, VIOLET RED, WHEAT, WHITE, YELLOW, -YELLOW GREEN. - -\wxheading{See also} - -\helpref{wxColour}{wxcolour} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxColourDatabase::wxColourDatabase}\label{wxcolourdatabaseconstr} - -\func{}{wxColourDatabase}{\void} - -Constructs the colour database. - -\membersection{wxColourDatabase::FindColour}\label{wxcolourdatabasefindcolour} - -\func{wxColour*}{FindColour}{\param{const wxString\& }{colourName}} - -Finds a colour given the name. Returns NULL if not found. - -\membersection{wxColourDatabase::FindName}\label{wxcolourdatabasefindname} - -\constfunc{wxString}{FindName}{\param{const wxColour\&}{ colour}} - -Finds a colour name given the colour. Returns NULL if not found. - -\membersection{wxColourDatabase::Initialize}\label{wxcolourdatabaseinitialize} - -\func{void}{Initialize}{\void} - -Initializes the database with a number of stock colours. Called by wxWindows -on start-up. - - diff --git a/docs/latex/wx/combobox.tex b/docs/latex/wx/combobox.tex deleted file mode 100644 index 0afb44372d..0000000000 --- a/docs/latex/wx/combobox.tex +++ /dev/null @@ -1,314 +0,0 @@ -\section{\class{wxComboBox}}\label{wxcombobox} - -A combobox is like a combination of an edit control and a listbox. It can be -displayed as static list with editable or read-only text field; or a drop-down list with -text field; or a drop-down list without a text field. - -A combobox permits a single selection only. Combobox items are numbered from zero. - -\wxheading{Derived from} - -\helpref{wxChoice}{wxchoice}\\ -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxCB\_SIMPLE}}{Creates a combobox with a permanently displayed list.} -\twocolitem{\windowstyle{wxCB\_DROPDOWN}}{Creates a combobox with a drop-down list.} -\twocolitem{\windowstyle{wxCB\_READONLY}}{Creates a combo box consisting of a drop-down list and static text item -displaying the current selection.} -\twocolitem{\windowstyle{wxCB\_SORT}}{Sorts the entries in the list alphabetically.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_COMBOBOX(id, func)}}{Process a wxEVT\_COMMAND\_COMBOBOX\_SELECTED event, -when an item on the list is selected.} -\twocolitem{{\bf EVT\_TEXT(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_UPDATED event, -when the combobox text changes.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxListBox}{wxlistbox}, \helpref{wxTextCtrl}{wxtextctrl}, \helpref{wxChoice}{wxchoice}, -\rtfsp\helpref{wxCommandEvent}{wxcommandevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxComboBox::wxComboBox}\label{wxcomboboxconstr} - -\func{}{wxComboBox}{\void} - -Default constructor. - -\func{}{wxComboBox}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxString\& }{value = ``"}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``comboBox"}} - -Constructor, creating and showing a combobox. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{pos}{Window position.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then the window is sized -appropriately.} - -\docparam{n}{Number of strings with which to initialise the control.} - -\docparam{choices}{An array of strings with which to initialise the control.} - -\docparam{style}{Window style. See \helpref{wxComboBox}{wxcombobox}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxComboBox::Create}{wxcomboboxcreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxComboBox::\destruct{wxComboBox}} - -\func{}{\destruct{wxComboBox}}{\void} - -Destructor, destroying the combobox. - -\membersection{wxComboBox::Append}\label{wxcomboboxappend} - -\func{void}{Append}{\param{const wxString\& }{item}} - -Adds the item to the end of the combobox. - -\func{void}{Append}{\param{const wxString\& }{ item}, \param{char* }{clientData}} - -Adds the item to the end of the combobox, associating the given data -with the item. - -\wxheading{Parameters} - -\docparam{item}{The string to add.} - -\docparam{clientData}{Client data to associate with the item.} - -\membersection{wxComboBox::Clear}\label{wxcomboboxclear} - -\func{void}{Clear}{\void} - -Clears all strings from the combobox. - -\membersection{wxComboBox::Create}\label{wxcomboboxcreate} - -\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxString\& }{value = ``"}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``comboBox"}} - -Creates the combobox for two-step construction. Derived classes -should call or replace this function. See \helpref{wxComboBox::wxComboBox}{wxcomboboxconstr}\rtfsp -for further details. - -\membersection{wxComboBox::Copy}\label{wxcomboboxcopy} - -\func{void}{Copy}{\void} - -Copies the selected text to the clipboard. - -\membersection{wxComboBox::Cut}\label{wxcomboboxcut} - -\func{void}{Cut}{\void} - -Copies the selected text to the clipboard and removes the selection. - -\membersection{wxComboBox::Delete}\label{wxcomboboxdelete} - -\func{void}{Delete}{\param{int}{ n}} - -Deletes an item from the combobox. - -\wxheading{Parameters} - -\docparam{n}{The item to delete, starting from zero.} - -\membersection{wxComboBox::FindString}\label{wxcomboboxfindstring} - -\func{int}{FindString}{\param{const wxString\& }{string}} - -Finds a choice matching the given string. - -\wxheading{Parameters} - -\docparam{string}{The item to find.} - -\wxheading{Return value} - -The position if found, or -1 if not found. - -\membersection{wxComboBox::GetClientData}\label{wxcomboboxgetclientdata} - -\constfunc{char*}{GetClientData}{\param{int}{ n}} - -Returns a pointer to the client data associated with the given item (if any). - -\wxheading{Parameters} - -\docparam{n}{An item, starting from zero.} - -\wxheading{Return value} - -A pointer to the client data, or NULL if the item was not found. - -\membersection{wxComboBox::GetInsertionPoint}\label{wxcomboboxgetinsertionpoint} - -\constfunc{long}{GetInsertionPoint}{\void} - -Returns the insertion point for the combobox's text field. - -\membersection{wxComboBox::GetLastPosition}\label{wxcomboboxgetlastposition} - -\constfunc{long}{GetLastPosition}{\void} - -Returns the last position in the combobox text field. - -\membersection{wxComboBox::GetSelection}\label{wxcomboboxgetselection} - -\constfunc{int}{GetSelection}{\void} - -Gets the position of the selected string, or -1 if there is no selection. - -\membersection{wxComboBox::GetString}\label{wxcomboboxgetstring} - -\constfunc{wxString}{GetString}{\param{int}{ n}} - -Returns the string at position {\it n}. - -\wxheading{Parameters} - -\docparam{n}{The item position, starting from zero.} - -\wxheading{Return value} - -The string if the item is found, otherwise the empty string. - -\membersection{wxComboBox::GetStringSelection}\label{wxcomboboxgetstringselection} - -\constfunc{wxString}{GetStringSelection}{\void} - -Gets the selected string. - -\membersection{wxComboBox::GetValue}\label{wxcomboboxgetvalue} - -\constfunc{wxString}{GetValue}{\void} - -Returns the current value in the combobox text field. - -\membersection{wxComboBox::Number}\label{wxcomboboxnumber} - -\constfunc{int}{Number}{\void} - -Returns the number of items in the combobox list. - -TODO: make this GetNumber or GetCount? - -\membersection{wxComboBox::Paste}\label{wxcomboboxpaste} - -\func{void}{Paste}{\void} - -Pastes text from the clipboard to the text field. - -\membersection{wxComboBox::Replace}\label{wxcomboboxreplace} - -\func{void}{Replace}{\param{long}{ from}, \param{long}{ to}, \param{const wxString\& }{text}} - -Replaces the text between two positions with the given text, in the combobox text field. - -\wxheading{Parameters} - -\docparam{from}{The first position.} - -\docparam{to}{The second position.} - -\docparam{text}{The text to insert.} - -\membersection{wxComboBox::Remove}\label{wxcomboboxremove} - -\func{void}{Remove}{\param{long}{ from}, \param{long}{ to}} - -Removes the text between the two positions in the combobox text field. - -\wxheading{Parameters} - -\docparam{from}{The first position.} - -\docparam{to}{The last position.} - -\membersection{wxComboBox::SetClientData}\label{wxcomboboxsetclientdata} - -\func{void}{SetClientData}{\param{int}{ n}, \param{char* }{data}} - -Associates the given client data pointer with the given item. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item.} - -\docparam{data}{The client data.} - -\membersection{wxComboBox::SetInsertionPoint}\label{wxcomboboxsetinsertionpoint} - -\func{void}{SetInsertionPoint}{\param{long}{ pos}} - -Sets the insertion point in the combobox text field. - -\wxheading{Parameters} - -\docparam{pos}{The new insertion point.} - -\membersection{wxComboBox::SetInsertionPointEnd}\label{wxcomboboxsetinsertionpointend} - -\func{void}{SetInsertionPointEnd}{\void} - -Sets the insertion point at the end of the combobox text field. - -\membersection{wxComboBox::SetSelection}\label{wxcomboboxsetselection} - -\func{void}{SetSelection}{\param{int}{ n}} - -Selects the given item in the combobox list. - -\func{void}{SetSelection}{\param{long}{ from}, \param{long}{ to}} - -Selects the text between the two positions, in the combobox text field. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item to select.} - -\docparam{from}{The first position.} - -\docparam{to}{The second position.} - -\membersection{wxComboBox::SetValue}\label{wxcomboboxsetvalue} - -\func{void}{SetValue}{\param{const wxString\& }{text}} - -Sets the text for the combobox text field. - -\wxheading{Parameters} - -\docparam{text}{The text to set.} - - diff --git a/docs/latex/wx/command.tex b/docs/latex/wx/command.tex deleted file mode 100644 index 9bd25f2811..0000000000 --- a/docs/latex/wx/command.tex +++ /dev/null @@ -1,85 +0,0 @@ -\section{\class{wxCommand}}\label{wxcommand} - -wxCommand is a base class for modelling an application command, -which is an action usually performed by selecting a menu item, pressing -a toolbar button or any other means provided by the application to -change the data or view. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\overview{Overview}{wxcommandoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCommand::wxCommand} - -\func{}{wxCommand}{\param{bool}{ canUndo = FALSE}, \param{const wxString\& }{name = NULL}} - -Constructor. wxCommand is an abstract class, so you will need to derive -a new class and call this constructor from your own constructor. - -{\it canUndo} tells the command processor whether this command is undo-able. You -can achieve the same functionality by overriding the CanUndo member function (if for example -the criteria for undoability is context-dependant). - -{\it name} must be supplied for the command processor to display the command name -in the application's edit menu. - -\membersection{wxCommand::\destruct{wxCommand}} - -\func{}{\destruct{wxCommand}}{\void} - -Destructor. - -\membersection{wxCommand::CanUndo} - -\func{bool}{CanUndo}{\void} - -Returns TRUE if the command can be undone, FALSE otherwise. - -\membersection{wxCommand::Do} - -\func{bool}{Do}{\void} - -Override this member function to execute the appropriate action when called. -Return TRUE to indicate that the action has taken place, FALSE otherwise. -Returning FALSE will indicate to the command processor that the action is -not undoable and should not be added to the command history. - -\membersection{wxCommand::GetName} - -\func{wxString}{GetName}{\void} - -Returns the command name. - -\membersection{wxCommand::Undo} - -\func{bool}{Undo}{\void} - -Override this member function to un-execute a previous Do. -Return TRUE to indicate that the action has taken place, FALSE otherwise. -Returning FALSE will indicate to the command processor that the action is -not redoable and no change should be made to the command history. - -How you implement this command is totally application dependent, but typical -strategies include: - -\begin{itemize}\itemsep=0pt -\item Perform an inverse operation on the last modified piece of -data in the document. When redone, a copy of data stored in command -is pasted back or some operation reapplied. This relies on the fact that -you know the ordering of Undos; the user can never Undo at an arbitrary position -in the command history. -\item Restore the entire document state (perhaps using document transactioning). -Potentially very inefficient, but possibly easier to code if the user interface -and data are complex, and an `inverse execute' operation is hard to write. -\end{itemize} - -The docview sample uses the first method, to remove or restore segments -in the drawing. - - diff --git a/docs/latex/wx/conditn.tex b/docs/latex/wx/conditn.tex deleted file mode 100644 index f6b77506d0..0000000000 --- a/docs/latex/wx/conditn.tex +++ /dev/null @@ -1,61 +0,0 @@ -\section{\class{wxCondition}}\label{wxcondition} - -TODO - -\wxheading{Derived from} - -None. - -\wxheading{See also} - -\helpref{wxThread}{wxthread}, \helpref{wxMutex}{wxmutex} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCondition::wxCondition}\label{wxconditionconstr} - -\func{}{wxCondition}{\void} - -Default constructor. - -\membersection{wxCondition::\destruct{wxCondition}} - -\func{}{\destruct{wxCondition}}{\void} - -Destroys the wxCondition object. - -\membersection{wxCondition::Broadcast}\label{wxconditionbroadcast} - -\func{void}{Broadcast}{\void} - -Broadcasts to all waiting objects. - -\membersection{wxCondition::Signal}\label{wxconditionsignal} - -\func{void}{Signal}{\void} - -Signals the object. - -\membersection{wxCondition::Wait}\label{wxconditionwait} - -\func{void}{Wait}{\param{wxMutex\&}{ mutex}} - -Waits indefinitely. - -\func{bool}{Wait}{\param{wxMutex\&}{ mutex}, \param{unsigned long}{ sec}, \param{unsigned long}{ nsec}} - -Waits until a signal is raised or the timeout has elapsed. - -\wxheading{Parameters} - -\docparam{mutex}{wxMutex object.} - -\docparam{sec}{Timeout in seconds} - -\docparam{nsec}{Timeout nanoseconds component (added to {\it sec}).} - -\wxheading{Return value} - -The second form returns if the signal was raised, or FALSE if there was a timeout. - - diff --git a/docs/latex/wx/config.tex b/docs/latex/wx/config.tex deleted file mode 100644 index eea61df4b4..0000000000 --- a/docs/latex/wx/config.tex +++ /dev/null @@ -1,612 +0,0 @@ -\section{\class{wxConfigBase}}\label{wxconfigbase} - -wxConfigBase class defines the basic interface of all config classes. It can -not be used by itself (it's an abstract base class) and you'll always use one -of its derivations: wxIniConfig, wxFileConfig, wxRegConfig or -any other. - -However, usually you don't even need to know the precise nature of the class -you're working with but you would just use the wxConfigBase methods. This -allows you to write the same code regardless of whether you're working with -the registry under Win32 or text-based config files under Unix (or even -Windows 3.1 .INI files if you're really unlucky). To make writing the portable -code even easier, wxWindows provides a typedef wxConfig -which is mapped onto the native wxConfigBase implementation on the given -platform: i.e. wxRegConfig under Win32, wxIniConfig under Win16 and -wxFileConfig otherwise. - -See \helpref{config overview}{configoverview} for the descriptions of all -features of this class. - -\wxheading{Derived from} - -No base class - -\wxheading{Example} - -Here is how you would typically use this class: - -\begin{verbatim} - // using wxConfig instead of writing wxFileConfig or wxRegConfig enhances - // portability of the code - wxConfig *config = new wxConfig("MyAppName"); - - wxString str; - if ( config->Read("LastPrompt", &str) ) { - // last prompt was found in the config file/registry and its value is now - // in str - ... - } - else { - // no last prompt... - } - - // another example: using default values and the full path instead of just - // key name: if the key is not found , the value 17 is returned - long value = config->Read("/LastRun/CalculatedValues/MaxValue", -1); - ... - ... - ... - // at the end of the program we would save everything back - config->Write("LastPrompt", str); - config->Write("/LastRun/CalculatedValues/MaxValue", value); - - // the changes will be written back automatically - delete config; -\end{verbatim} - -This basic example, of course, doesn't show all wxConfig features, such as -enumerating, testing for existence and deleting the entries and groups of -entries in the config file, its abilities to automatically store the default -values or expand the environment variables on the fly. However, the main idea -is that using this class is easy and that it should normally do what you -expect it to. - -NB: in the documentation of this class, the words "config file" also mean -"registry hive" for wxRegConfig and, generally speaking, might mean any -physical storage where a wxConfigBase-derived class stores its data. - -\latexignore{\rtfignore{\wxheading{Function groups}}} - -\membersection{Static functions} - -These functions deal with the "default" config object. Although its usage is -not at all mandatory it may be convenient to use a global config object -instead of creating and deleting the local config objects each time you need -one (especially because creating a wxFileConfig object might be a time -consuming operation). In this case, you may create this global config object -in the very start of the program and {\it Set()} it as the default. Then, from -anywhere in your program, you may access it using the {\it Get()} function. Of -course, you should delete it on the program termination (otherwise, not only a -memory leak will result, but even more importantly the changes won't be -written back!). - -As it happens, you may even further simplify the procedure described above: -you may forget about calling {\it Set()}. When {\it Get()} is called and there -is no current object, it will create one using {\it Create()} function. To -disable this behaviour {\it DontCreateOnDemand()} is provided. - -\helpref{Set}{wxconfigbaseset}\\ -\helpref{Get}{wxconfigbaseget}\\ -\helpref{Create}{wxconfigbasecreate}\\ -\helpref{DontCreateOnDemand}{wxconfigbasedontcreateondemand} - -\membersection{Constructor and destructor} - -\helpref{wxConfigBase}{wxconfigbasector}\\ -\helpref{\destruct{wxConfigBase}}{wxconfigbasedtor} - -\membersection{Path management} - -As explained in \helpref{config overview}{configoverview}, the config classes -support a file system-like hierarchy of keys (files) and groups (directories). -As in the file system case, to specify a key in the config class you must use -a path to it. Config classes also support the notion of the current group, -which makes it possible to use the relative paths. To clarify all this, here -is an example (it's only for the sake of demonstration, it doesn't do anything -sensible!): - -\begin{verbatim} - wxConfig *config = new wxConfig("FooBarApp"); - - // right now the current path is '/' - conf->Write("RootEntry", 1); - - // go to some other place: if the group(s) don't exist, they will be created - conf->SetPath("/Group/Subgroup"); - - // create an entry in subgroup - conf->Write("SubgroupEntry", 3); - - // '..' is understood - conf->Write("../GroupEntry", 2); - conf->SetPath(".."); - - wxASSERT( conf->Read("Subgroup/SubgroupEntry", 0l) == 3 ); - - // use absolute path: it's allowed, too - wxASSERT( conf->Read("/RootEntry", 0l) == 1 ); -\end{verbatim} - -{\it Warning}: it's probably a good idea to always restore the path to its -old value on function exit: - -\begin{verbatim} - void foo(wxConfigBase *config) - { - wxString strOldPath = config->GetPath(); - - config->SetPath("/Foo/Data"); - ... - - config->SetPath(strOldPath); - } -\end{verbatim} - -because otherwise the assert in the following example will surely fail -(we suppose here that {\it foo()} function is the same as above except that it -doesn't save and restore the path): - -\begin{verbatim} - void bar(wxConfigBase *config) - { - config->Write("Test", 17); - - foo(config); - - // we're reading "/Foo/Data/Test" here! -1 will probably be returned... - wxASSERT( config->Read("Test", -1) == 17 ); - } -\end{verbatim} - -Finally, the path separator in wxConfigBase and derived classes is always '/', -regardless of the platform (i.e. it's {\bf not} '$\backslash\backslash$' under Windows). - -\helpref{SetPath}{wxconfigbasesetpath}\\ -\helpref{GetPath}{wxconfigbasegetpath} - -\membersection{Enumeration} - -The functions in this section allow to enumerate all entries and groups in the -config file. All functions here return FALSE when there are no more items. - -You must pass the same index to GetNext and GetFirst (don't modify it). -Please note that it's {\bf not} the index of the current item (you will have -some great surprizes with wxRegConfig if you assume this) and you shouldn't -even look at it: it's just a "cookie" which stores the state of the -enumeration. It can't be stored inside the class because it would prevent you -from running several enumerations simultaneously, that's why you must pass it -explicitly. - -Having said all this, enumerating the config entries/groups is very simple: - -\begin{verbatim} - wxArrayString aNames; - - // enumeration variables - wxString str; - long dummy; - - // first enum all entries - bool bCont = config->GetFirstEntry(str, dummy); - while ( bCont ) { - aNames.Add(str); - - bCont = GetConfig()->GetNextEntry(str, dummy); - } - - ... we have all entry names in aNames... - - // now all groups... - bCont = GetConfig()->GetFirstGroup(str, dummy); - while ( bCont ) { - aNames.Add(str); - - bCont = GetConfig()->GetNextGroup(str, dummy); - } - - ... we have all group (and entry) names in aNames... - -\end{verbatim} - -There are also functions to get the number of entries/subgroups without -actually enumerating them, but you will probably never need them. - -\helpref{GetFirstGroup}{wxconfigbasegetfirstgroup}\\ -\helpref{GetNextGroup}{wxconfigbasegetnextgroup}\\ -\helpref{GetFirstEntry}{wxconfigbasegetfirstentry}\\ -\helpref{GetNextEntry}{wxconfigbasegetnextentry}\\ -\helpref{GetNumberOfEntries}{wxconfigbasegetnumberofentries}\\ -\helpref{GetNumberOfGroups}{wxconfigbasegetnumberofgroups} - -\membersection{Tests of existence} - -\helpref{HasGroup}{wxconfigbasehasgroup}\\ -\helpref{HasEntry}{wxconfigbasehasentry}\\ -\helpref{Exists}{wxconfigbaseexists} - -\membersection{Miscellaneous accessors} - -\helpref{SetAppName}{wxconfigbasesetappname}\\ -\helpref{GetAppName}{wxconfigbasegetappname}\\ -\helpref{SetVendorName}{wxconfigbasesetvendorname}\\ -\helpref{GetVendorName}{wxconfigbasegetvendorname} - -\membersection{Key access} - -These function are the core of wxConfigBase class: they allow you to read and -write config file data. All {\it Read} function take a default value which -will be returned if the specified key is not found in the config file. - -Currently, only two types of data are supported: string and long (but it might -change in the near future). To work with other types: for {\it int} or {\it -bool} you can work with function taking/returning {\it long} and just use the -casts. Better yet, just use {\it long} for all variables which you're going to -save in the config file: chances are that \verb$sizeof(bool) == sizeof(int) == sizeof(long)$ anyhow on your system. For {\it float}, {\it double} and, in -general, any other type you'd have to translate them to/from string -representation and use string functions. - -Try not to read long values into string variables and vice versa: although it -just might work with wxFileConfig, you will get a system error with -wxRegConfig because in the Windows registry the different types of entries are -indeed used. - -Final remark: the {\it szKey} parameter for all these functions can contain an -arbitrary path (either relative or absolute), not just the key name. - -\helpref{Read}{wxconfigbaseread}\\ -\helpref{Write}{wxconfigbasewrite}\\ -\helpref{Flush}{wxconfigbaseflush} - -\membersection{Delete entries/groups} - -The functions in this section delete entries and/or groups of entries from the -config file. {\it DeleteAll()} is especially useful if you want to erase all -traces of your program presence: for example, when you uninstall it. - -\helpref{DeleteEntry}{wxconfigbasedeleteentry}\\ -\helpref{DeleteGroup}{wxconfigbasedeletegroup}\\ -\helpref{DeleteAll}{wxconfigbasedeleteall} - -\membersection{Options} - -Some aspects of wxConfigBase behaviour can be changed during run-time. The -first of them is the expansion of environment variables in the string values -read from the config file: for example, if you have the following in your -config file: - -\begin{verbatim} - # config file for my program - UserData = $HOME/data - - # the following syntax is valud only under Windows - UserData = %windir%\\data.dat -\end{verbatim} - -the call to \verb$config->Read("UserData")$ will return something like -\verb$"/home/zeitlin/data"$ if you're lucky enough to run a Linux system ;-) - -Although this feature is very useful, it may be annoying if you read a value -which containts '\$' or '\%' symbols (\% is used for environment variables -expansion under Windows) which are not used for environment variable -expansion. In this situation you may call SetExpandEnvVars(FALSE) just before -reading this value and SetExpandEnvVars(TRUE) just after. Another solution -would be to prefix the offending symbols with a backslash. - -The following functions control this option: - -\helpref{IsExpandingEnvVars}{wxconfigbaseisexpandingenvvars}\\ -\helpref{SetExpandingEnvVars}{wxconfigbasesetexpandingenvvars}\\ -\helpref{SetRecordDefaults}{wxconfigbasesetrecorddefaults}\\ -\helpref{IsRecordingDefaults}{wxconfigbaseisrecordingdefaults} - -%%%%% MEMBERS HERE %%%%% -\helponly{\insertatlevel{2}{ - -\wxheading{Members} - -}} - -\membersection{wxConfigBase::wxConfigBase}\label{wxconfigbasector} - -\func{}{wxConfigBase}{\param{const wxString\& }{appName = wxEmptyString}, - \param{const wxString\& }{vendorName = wxEmptyString}, - \param{const wxString\& }{localFilename = wxEmptyString}, - \param{const wxString\& }{globalFilename = wxEmptyString}, - \param{long}{ style = 0}} - -This is the default and only constructor of the wxConfigBase class, and derived classes. - -\wxheading{Parameters} - -\docparam{appName}{The application name. If this is empty, the class will normally -use \helpref{wxApp::GetAppName}{wxappgetappname} to set it. The application name -is used in the registry key on Windows, and can be used to deduce the local filename -parameter if that is missing.} - -\docparam{vendorName}{The vendor name. If this is empty, it is assumed that -no vendor name is wanted, if this is optional for the current config class. -The vendor name is appended to the application name for wxRegConfig.} - -\docparam{localFilename}{Some config classes require a local filename. If this is not -present, but required, the application name will be used instead.} - -\docparam{globalFilename}{Some config classes require a global filename. If this is not -present, but required, the application name will be used instead.} - -\docparam{style}{Can be one of wxCONFIG\_USE\_LOCAL\_FILE and wxCONFIG\_USE\_GLOBAL\_FILE. -The style interpretation depends on the config class and is ignored by some. -For wxFileConfig, these styles determine whether 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.} - -\wxheading{Remarks} - -By default, environment variable expansion is on and recording -defaults is off. - -\membersection{wxConfigBase::\destruct{wxConfigBase}}\label{wxconfigbasedtor} - -\func{}{\destruct{wxConfigBase}}{\void} - -Empty but ensures that dtor of all derived classes is virtual. - -\membersection{wxConfigBase::Create}\label{wxconfigbasecreate} - -\func{static wxConfigBase *}{Create}{\void} - -Create a new config object: this function will create the "best" -implementation of wxConfig available for the current platform, see -comments near the definition of wxCONFIG\_WIN32\_NATIVE for details. It returns -the created object and also sets it as the current one. - -\membersection{wxConfigBase::DontCreateOnDemand}\label{wxconfigbasedontcreateondemand} - -\func{void}{DontCreateOnDemand}{\void} - -Calling this function will prevent {\it Get()} from automatically creating a -new config object if the current one is NULL. It might be useful to call it -near the program end to prevent new config object "accidental" creation. - -\membersection{wxConfigBase::DeleteAll}\label{wxconfigbasedeleteall} - -\func{bool}{DeleteAll}{\void} - -Delete the whole underlying object (disk file, registry key, ...). Primarly -for use by desinstallation routine. - -\membersection{wxConfigBase::DeleteEntry}\label{wxconfigbasedeleteentry} - -\func{bool}{DeleteEntry}{\param{const wxString\& }{ key}, \param{bool}{ bDeleteGroupIfEmpty = TRUE}} - -Deletes the specified entry and the group it belongs to if -it was the last key in it and the second parameter is true. - -\membersection{wxConfigBase::DeleteGroup}\label{wxconfigbasedeletegroup} - -\func{bool}{DeleteGroup}{\param{const wxString\& }{ key}} - -Delete the group (with all subgroups) - -\membersection{wxConfigBase::Exists}\label{wxconfigbaseexists} - -\constfunc{bool}{Exists}{\param{wxString\& }{strName}} - -returns TRUE if either a group or an entry with a given name exists - -\membersection{wxConfigBase::Flush}\label{wxconfigbaseflush} - -\func{bool}{Flush}{\param{bool }{bCurrentOnly = FALSE}} - -permanently writes all changes (otherwise, they're only written from object's -destructor) - -\membersection{wxConfigBase::Get}\label{wxconfigbaseget} - -\func{wxConfigBase *}{Get}{\void} - -Get the current config object. If there is no current object, creates one -(using {\it Create}) unless DontCreateOnDemand was called previously. - -\membersection{wxConfigBase::GetAppName}\label{wxconfigbasegetappname} - -\constfunc{wxString}{GetAppName}{\void} - -Returns the application name. - -\membersection{wxConfigBase::GetFirstGroup}\label{wxconfigbasegetfirstgroup} - -\constfunc{bool}{GetFirstGroup}{\param{wxString\& }{str}, \param{long\&}{ index}} - -Gets the first group. - -\membersection{wxConfigBase::GetFirstEntry}\label{wxconfigbasegetfirstentry} - -\constfunc{bool}{GetFirstEntry}{\param{wxString\& }{str}, \param{long\&}{ index}} - -Gets the first entry. - -\membersection{wxConfigBase::GetNextGroup}\label{wxconfigbasegetnextgroup} - -\constfunc{bool}{GetNextGroup}{\param{wxString\& }{str}, \param{long\&}{ index}} - -Gets the next group. - -\membersection{wxConfigBase::GetNextEntry}\label{wxconfigbasegetnextentry} - -\constfunc{bool}{GetNextEntry}{\param{wxString\& }{str}, \param{long\&}{ index}} - -Gets the next entry. - -\membersection{wxConfigBase::GetNumberOfEntries}\label{wxconfigbasegetnumberofentries} - -\constfunc{uint }{GetNumberOfEntries}{\param{bool }{bRecursive = FALSE}} - -\membersection{wxConfigBase::GetNumberOfGroups}\label{wxconfigbasegetnumberofgroups} - -\constfunc{uint}{GetNumberOfGroups}{\param{bool }{bRecursive = FALSE}} - -Get number of entries/subgroups in the current group, with or without -its subgroups. - -\membersection{wxConfigBase::GetPath}\label{wxconfigbasegetpath} - -\constfunc{const wxString\&}{GetPath}{\void} - -Retrieve the current path (always as absolute path). - -\membersection{wxConfigBase::GetVendorName}\label{wxconfigbasegetvendorname} - -\constfunc{wxString}{GetVendorName}{\void} - -Returns the vendor name. - -\membersection{wxConfigBase::HasEntry}\label{wxconfigbasehasentry} - -\constfunc{bool}{HasEntry}{\param{wxString\& }{strName}} - -returns TRUE if the entry by this name exists - -\membersection{wxConfigBase::HasGroup}\label{wxconfigbasehasgroup} - -\constfunc{bool}{HasGroup}{\param{const wxString\& }{strName}} - -returns TRUE if the group by this name exists - -\membersection{wxConfigBase::IsExpandingEnvVars}\label{wxconfigbaseisexpandingenvvars} - -\constfunc{bool}{IsExpandingEnvVars}{\void} - -Returns TRUE if we are expanding environment variables in key values. - -\membersection{wxConfigBase::IsRecordingDefaults}\label{wxconfigbaseisrecordingdefaults} - -\func{bool}{IsRecordingDefaults}{\void} const - -Returns TRUE if we are writing defaults back to the config file. - -\membersection{wxConfigBase::Read}\label{wxconfigbaseread} - -\constfunc{bool}{Read}{\param{const wxString\& }{key}, \param{wxString*}{ str}} - -Read a string from the key, returning TRUE if the value was read. If the key was not -found, {\it str} is not changed. - -\constfunc{bool}{Read}{\param{const wxString\& }{key}, \param{wxString*}{ str}, \param{const wxString\& }{defaultVal}} - -Read a string from the key. The default value is returned if the key was not found. - -Returns TRUE if value was really read, FALSE if the default was used. - -\constfunc{wxString}{Read}{\param{const wxString\& }{key}, \param{const wxString\& }{defaultVal}} - -Another version of {\it Read()}, returning the string value directly. - -\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{long*}{ l}} - -Reads a long value, returning TRUE if the value was -found. If the value was not found, {\it l} is not changed. - -\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{long*}{ l}, \param{long}{ defaultVal}} - -Reads a long value, returning TRUE if the value was -found. If the value was not found, {\it defaultVal} is used instead. - -\constfunc{long }{Read}{\param{const wxString\& }{key}, \param{long}{ defaultVal}} - -Reads a long value from the key and returns it. {\it defaultVal} is returned if the key is not -found. - -NB: writing - -{\small -\begin{verbatim} - conf->Read("key", 0); -\end{verbatim} -} - -won't work because the call is ambiguous: compiler can not choose between two {\it Read} functions. Instead, write: - -{\small -\begin{verbatim} - conf->Read("key", 0l); -\end{verbatim} -} - -\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{double*}{ d}} - -Reads a double value, returning TRUE if the value was -found. If the value was not found, {\it d} is not changed. - -\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{double*}{ d}, \param{double}{ defaultVal}} - -Reads a double value, returning TRUE if the value was -found. If the value was not found, {\it defaultVal} is used instead. - -\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{bool*}{ b}} - -Reads a bool value, returning TRUE if the value was -found. If the value was not found, {\it b} is not changed. - -\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{bool*}{ d}, \param{bool}{ defaultVal}} - -Reads a bool value, returning TRUE if the value was -found. If the value was not found, {\it defaultVal} is used instead. - -\membersection{wxConfigBase::Set}\label{wxconfigbaseset} - -\func{wxConfigBase *}{Set}{\param{wxConfigBase *}{pConfig}} - -Sets the config object as the current one, returns the pointer to the previous -current object (both the parameter and returned value may be NULL) - -\membersection{wxConfigBase::SetAppName}\label{wxconfigbasesetappname} - -\func{void }{SetAppName}{\param{const wxString\&}{ appName}} - -Sets the application name. - -\membersection{wxConfigBase::SetExpandingEnvVars}\label{wxconfigbasesetexpandingenvvars} - -\func{void}{SetExpandEnvVars }{\param{bool }{bDoIt = TRUE}} - -Determine whether we wish to expand environment variables in key values. - -\membersection{wxConfigBase::SetPath}\label{wxconfigbasesetpath} - -\func{void}{SetPath}{\param{const wxString\& }{strPath}} - -Set current path: if the first character is '/', it's the absolute path, -otherwise it's a relative path. '..' is supported. If the strPath -doesn't exist it is created. - -\membersection{wxConfigBase::SetRecordDefaults}\label{wxconfigbasesetrecorddefaults} - -\func{void}{SetRecordDefaults}{\param{bool }{bDoIt = TRUE}} - -Sets whether defaults are written back to the config file. - -If on (default is off) all default values are written back to the config file. This allows -the user to see what config options may be changed and is probably useful only -for wxFileConfig. - -\membersection{wxConfigBase::SetVendorName}\label{wxconfigbasesetvendorname} - -\func{void}{SetVendorName}{\param{const wxString\&}{ vendorName}} - -Sets the vendor name. - -\membersection{wxConfigBase::Write}\label{wxconfigbasewrite} - -\func{bool}{Write}{\param{const wxString\& }{ key}, \param{const wxString\& }{ value}} - -\func{bool}{Write}{\param{const wxString\& }{ key}, \param{long}{ value}} - -\func{bool}{Write}{\param{const wxString\& }{ key}, \param{double}{ value}} - -\func{bool}{Write}{\param{const wxString\& }{ key}, \param{bool}{ value}} - -These functions write the specified value to the config file and -return TRUE on success. - - diff --git a/docs/latex/wx/contents.gif b/docs/latex/wx/contents.gif deleted file mode 100644 index 3dddfa3dd5f0c652e8b27cd6c29e1fdd49ced5a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 231 zcmVG0Pz3-zrVld=jU&4Z(9HWEC2ui06_p40008OjE||y?GK}z zO&EZ)-n{z{a)K3v=81;mmA0S4Fj_r^UyThZDG{h6k9m zHI_(7spd!5_$SH6m{427qif=B^rPSC=_krsxP_d1IW%c6xrdxez(hvZ0GmZIrrXPgGKPVD&k z=grgP{p0)?%+AC&{I&W+cp}4UU(@I6nuj3v1`*A09+G8Q_-dut8%og(=h2d4HAY5D zwy?(2=~$2<=ehYEh#5=!#@gmN40GoL_aUdxHt!3P$=jT~&w9tsj#=;6@p)Re@y<-0 zr*$jBjAPC&k(r8(9t`~I2})liD*bdJD7}oL>xzv&Hih+my7a~9+r;VL6Q($A>MBOP z)(-s+b*5JN=ru?%b(KFwRg0ME%AtN+CI;-c>3HStxNQ~lLK}tpH|+2YTk%h99S_d; KFTQ%``27L>?3FzL diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex deleted file mode 100644 index ebe20a9803..0000000000 --- a/docs/latex/wx/cursor.tex +++ /dev/null @@ -1,169 +0,0 @@ -\section{\class{wxCursor}}\label{wxcursor} - -A cursor is a small bitmap usually used for denoting where the mouse -pointer is, with a picture that might indicate the interpretation of a -mouse click. As with icons, cursors in X and MS Windows are created -in a different manner. Therefore, separate cursors will be created for the -different environments. Platform-specific methods for creating a {\bf -wxCursor} object are catered for, and this is an occasion where -conditional compilation will probably be required (see \helpref{wxIcon}{wxicon} for -an example). - -A single cursor object may be used in many windows (any subwindow type). -The wxWindows convention is to set the cursor for a window, as in X, -rather than to set it globally as in MS Windows, although a -global \helpref{::wxSetCursor}{wxsetcursor} is also available for MS Windows use. - -\wxheading{Derived from} - -\helpref{wxBitmap}{wxbitmap}\\ -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxWindow::SetCursor}{wxwindowsetcursor},\rtfsp -\helpref{::wxSetCursor}{wxsetcursor} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxCursor::wxCursor}\label{wxcursorconstr} - -\func{}{wxCursor}{\void} - -Default constructor. - -\func{}{wxCursor}{\param{const char}{ bits[]}, \param{int }{width}, - \param{int }{ height}, \param{int }{hotSpotX=-1}, \param{int }{hotSpotY=-1}, \param{const char }{maskBits[]=NULL}} - -Constructs a cursor by passing an array of bits (Motif and Xt only). {\it maskBits} is used only under Motif. - -If either {\it hotSpotX} or {\it hotSpotY} is -1, the hotspot will be the centre of the cursor image (Motif only). - -\func{}{wxCursor}{\param{const wxString\& }{cursorName}, \param{long }{type}, \param{int }{hotSpotX=0}, \param{int }{hotSpotY=0}} - -Constructs a cursor by passing a string resource name or filename. - -{\it hotSpotX} and {\it hotSpotY} are currently only used under Windows when loading from an -icon file, to specify the cursor hotspot relative to the top left of the image. - -\func{}{wxCursor}{\param{int}{ cursorId}} - -Constructs a cursor using a cursor identifier. - -\func{}{wxCursor}{\param{const wxCursor\&}{ cursor}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\func{}{wxCursor}{\param{const wxCursor*}{ cursor}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\wxheading{Parameters} - -\docparam{bits}{An array of bits.} - -\docparam{maskBits}{Bits for a mask bitmap.} - -\docparam{width}{Cursor width.} - -\docparam{height}{Cursor height.} - -\docparam{hotSpotX}{Hotspot x coordinate.} - -\docparam{hotSpotY}{Hotspot y coordinate.} - -\docparam{type}{Icon type to load. Under Motif, {\it type} defaults to {\bf wxBITMAP\_TYPE\_XBM}. Under Windows, -it defaults to {\bf wxBITMAP\_TYPE\_CUR\_RESOURCE}. - -Under X, the permitted cursor types are: - -\twocolwidtha{6cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.} -\end{twocollist} - -Under Windows, the permitted types are: - -\twocolwidtha{6cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxBITMAP\_TYPE\_CUR}}{Load a cursor from a .cur cursor file (only if USE\_RESOURCE\_LOADING\_IN\_MSW -is enabled in wx\_setup.h).} -\twocolitem{\windowstyle{wxBITMAP\_TYPE\_CUR\_RESOURCE}}{Load a Windows resource (as specified in the .rc file).} -\twocolitem{\windowstyle{wxBITMAP\_TYPE\_ICO}}{Load a cursor from a .ico icon file (only if USE\_RESOURCE\_LOADING\_IN\_MSW -is enabled in wx\_setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.} -\end{twocollist}} - -\docparam{cursorId}{A stock cursor identifier. May be one of: - -\twocolwidtha{6cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxCURSOR\_ARROW}}{A standard arrow cursor.} -\twocolitem{{\bf wxCURSOR\_BULLSEYE}}{Bullseye cursor.} -\twocolitem{{\bf wxCURSOR\_CHAR}}{Rectangular character cursor.} -\twocolitem{{\bf wxCURSOR\_CROSS}}{A cross cursor.} -\twocolitem{{\bf wxCURSOR\_HAND}}{A hand cursor.} -\twocolitem{{\bf wxCURSOR\_IBEAM}}{An I-beam cursor (vertical line).} -\twocolitem{{\bf wxCURSOR\_LEFT\_BUTTON}}{Represents a mouse with the left button depressed.} -\twocolitem{{\bf wxCURSOR\_MAGNIFIER}}{A magnifier icon.} -\twocolitem{{\bf wxCURSOR\_MIDDLE\_BUTTON}}{Represents a mouse with the middle button depressed.} -\twocolitem{{\bf wxCURSOR\_NO\_ENTRY}}{A no-entry sign cursor.} -\twocolitem{{\bf wxCURSOR\_PAINT\_BRUSH}}{A paintbrush cursor.} -\twocolitem{{\bf wxCURSOR\_PENCIL}}{A pencil cursor.} -\twocolitem{{\bf wxCURSOR\_POINT\_LEFT}}{A cursor that points left.} -\twocolitem{{\bf wxCURSOR\_POINT\_RIGHT}}{A cursor that points right.} -\twocolitem{{\bf wxCURSOR\_QUESTION\_ARROW}}{An arrow and question mark.} -\twocolitem{{\bf wxCURSOR\_RIGHT\_BUTTON}}{Represents a mouse with the right button depressed.} -\twocolitem{{\bf wxCURSOR\_SIZENESW}}{A sizing cursor pointing NE-SW.} -\twocolitem{{\bf wxCURSOR\_SIZENS}}{A sizing cursor pointing N-S.} -\twocolitem{{\bf wxCURSOR\_SIZENWSE}}{A sizing cursor pointing NW-SE.} -\twocolitem{{\bf wxCURSOR\_SIZEWE}}{A sizing cursor pointing W-E.} -\twocolitem{{\bf wxCURSOR\_SIZING}}{A general sizing cursor.} -\twocolitem{{\bf wxCURSOR\_SPRAYCAN}}{A spraycan cursor.} -\twocolitem{{\bf wxCURSOR\_WAIT}}{A wait cursor.} -\twocolitem{{\bf wxCURSOR\_WATCH}}{A watch cursor.} -\end{twocollist}\twocolwidtha{5cm} - -Note that not all cursors are available on all platforms.} - -\docparam{cursor}{Pointer or reference to a cursor to copy.} - -\membersection{wxCursor::\destruct{wxCursor}} - -\func{}{\destruct{wxCursor}}{\void} - -Destroys the cursor. A cursor can be reused for more -than one window, and does not get destroyed when the window is -destroyed. wxWindows destroys all cursors on application exit, although -it's best to clean them up explicitly. - -\membersection{wxCursor::Ok}\label{wxcursorok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if cursor data is present. - -\membersection{wxCursor::operator $=$}\label{wxcursorassignment} - -\func{wxCursor\&}{operator $=$}{\param{const wxCursor\& }{cursor}} - -Assignment operator, using reference counting. Returns a reference -to `this'. - -\membersection{wxCursor::operator $==$}\label{wxcursorequals} - -\func{bool}{operator $==$}{\param{const wxCursor\& }{cursor}} - -Equality operator. Two cursors are equal if they contain pointers -to the same underlying cursor data. It does not compare each attribute, -so two independently-created cursors using the same parameters will -fail the test. - -\membersection{wxCursor::operator $!=$}\label{wxcursornotequals} - -\func{bool}{operator $!=$}{\param{const wxCursor\& }{cursor}} - -Inequality operator. Two cursors are not equal if they contain pointers -to different underlying cursor data. It does not compare each attribute. - - diff --git a/docs/latex/wx/database.tex b/docs/latex/wx/database.tex deleted file mode 100644 index afc8b35035..0000000000 --- a/docs/latex/wx/database.tex +++ /dev/null @@ -1,272 +0,0 @@ -\section{\class{wxDatabase}}\label{wxdatabase} - -Every database object represents an ODBC connection. The connection may be closed and reopened. - -\wxheading{Derivation} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\overview{wxDatabase overview}{wxdatabaseoverview}, \helpref{wxRecordSet}{wxrecordset} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDatabase::wxDatabase} - -\func{}{wxDatabase}{\void} - -Constructor. The constructor of the first wxDatabase instance of an -application initializes the ODBC manager. - -\membersection{wxDatabase::\destruct{wxDatabase}} - -\func{}{\destruct{wxDatabase}}{\void} - -Destructor. Resets and destroys any associated wxRecordSet instances. - -The destructor of the last wxDatabase instance will deinitialize -the ODBC manager. - -\membersection{wxDatabase::BeginTrans} - -\func{bool}{BeginTrans}{\void} - -Not implemented. - -\membersection{wxDatabase::Cancel} - -\func{void}{Cancel}{\void} - -Not implemented. - -\membersection{wxDatabase::CanTransact} - -\func{bool}{CanTransact}{\void} - -Not implemented. - - -\membersection{wxDatabase::CanUpdate} - -\func{bool}{CanUpdate}{\void} - -Not implemented. - -\membersection{wxDatabase::Close} - -\func{bool}{Close}{\void} - -Resets the statement handles of any associated wxRecordSet objects, -and disconnects from the current data source. - -\membersection{wxDatabase::CommitTrans} - -\func{bool}{CommitTrans}{\void} - -Commits previous transactions. Not implemented. - -\membersection{wxDatabase::ErrorOccured} - -\func{bool}{ErrorOccured}{\void} - -Returns TRUE if the last action caused an error. - -\membersection{wxDatabase::ErrorSnapshot} - -\func{void}{ErrorSnapshot}{\param{HSTMT}{ statement = SQL\_NULL\_HSTMT}} - -This function will be called whenever an ODBC error occured. It stores the -error related information returned by ODBC. If a statement handle of the -concerning ODBC action is available it should be passed to the function. - -\membersection{wxDatabase::GetDatabaseName} - -\func{wxString}{GetDatabaseName}{\void} - -Returns the name of the database associated with the current connection. - -\membersection{wxDatabase::GetDataSource} - -\func{wxString}{GetDataSource}{\void} - -Returns the name of the connected data source. - -\membersection{wxDatabase::GetErrorClass} - -\func{wxString}{GetErrorClass}{\void} - -Returns the error class of the last error. The error class consists of -five characters where the first two characters contain the class -and the other three characters contain the subclass of the ODBC error. -See ODBC documentation for further details. - -\membersection{wxDatabase::GetErrorCode} - -\func{wxRETCODE}{GetErrorCode}{\void} - -Returns the error code of the last ODBC function call. This will be one of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{SQL\_ERROR}{General error.} -\twocolitem{SQL\_INVALID\_HANDLE}{An invalid handle was passed to an ODBC function.} -\twocolitem{SQL\_NEED\_DATA}{ODBC expected some data.} -\twocolitem{SQL\_NO\_DATA\_FOUND}{No data was found by this ODBC call.} -\twocolitem{SQL\_SUCCESS}{The call was successful.} -\twocolitem{SQL\_SUCCESS\_WITH\_INFO}{The call was successful, but further information can be -obtained from the ODBC manager.} -\end{twocollist} - -\membersection{wxDatabase::GetErrorMessage} - -\func{wxString}{GetErrorMessage}{\void} - -Returns the last error message returned by the ODBC manager. - -\membersection{wxDatabase::GetErrorNumber} - -\func{long}{GetErrorNumber}{\void} - -Returns the last native error. A native error is an ODBC driver dependent -error number. - -\membersection{wxDatabase::GetHDBC} - -\func{HDBC}{GetHDBC}{\void} - -Returns the current ODBC database handle. - -\membersection{wxDatabase::GetHENV} - -\func{HENV}{GetHENV}{\void} - -Returns the ODBC environment handle. - -\membersection{wxDatabase::GetInfo} - -\func{bool}{GetInfo}{\param{long}{ infoType}, \param{long *}{buf}} - -\func{bool}{GetInfo}{\param{long}{ infoType}, \param{const wxString\& }{buf}, \param{int}{ bufSize=-1}} - -Returns requested information. The return value is TRUE if successful, FALSE otherwise. - -{\it infoType} is an ODBC identifier specifying the type of information to be returned. - -{\it buf} is a character or long integer pointer to storage which must be allocated by the -application, and which will contain the information if the function is successful. - -{\it bufSize} is the size of the character buffer. A value of -1 indicates that the size -should be computed by the GetInfo function. - -\membersection{wxDatabase::GetPassword} - -\func{wxString}{GetPassword}{\void} - -Returns the password of the current user. - -\membersection{wxDatabase::GetUsername} - -\func{wxString}{GetUsername}{\void} - -Returns the current username. - -\membersection{wxDatabase::GetODBCVersionFloat} - -\func{float}{GetODBCVersionFloat}{\param{bool}{ implementation=TRUE}} - -Returns the version of ODBC in floating point format, e.g. 2.50. - -{\it implementation} should be TRUE to get the DLL version, or FALSE to get the -version defined in the {\tt sql.h} header file. - -This function can return the value 0.0 if the header version number is not defined (for early -versions of ODBC). - -\membersection{wxDatabase::GetODBCVersionString} - -\func{wxString}{GetODBCVersionString}{\param{bool}{ implementation=TRUE}} - -Returns the version of ODBC in string format, e.g. ``02.50". - -{\it implementation} should be TRUE to get the DLL version, or FALSE to get the -version defined in the {\tt sql.h} header file. - -This function can return the value ``00.00" if the header version number is not defined (for early -versions of ODBC). - -\membersection{wxDatabase::InWaitForDataSource} - -\func{bool}{InWaitForDataSource}{\void} - -Not implemented. - -\membersection{wxDatabase::IsOpen} - -\func{bool}{IsOpen}{\void} - -Returns TRUE if a connection is open. - -\membersection{wxDatabase::Open}\label{wxdatabaseopen} - -\func{bool}{Open}{\param{const wxString\& }{datasource}, \param{bool}{ exclusive = FALSE}, \param{bool }{readOnly = TRUE}, - \param{const wxString\& }{username = ``ODBC"}, \param{const wxString\& }{password = ``"}} - -Connect to a data source. {\it datasource} contains the name of the ODBC data -source. The parameters exclusive and readOnly are not used. - -\membersection{wxDatabase::OnSetOptions} - -\func{void}{OnSetOptions}{\param{wxRecordSet *}{recordSet}} - -Not implemented. - -\membersection{wxDatabase::OnWaitForDataSource} - -\func{void}{OnWaitForDataSource}{\param{bool}{ stillExecuting}} - -Not implemented. - -\membersection{wxDatabase::RollbackTrans} - -\func{bool}{RollbackTrans}{\void} - -Sends a rollback to the ODBC driver. Not implemented. - -\membersection{wxDatabase::SetDataSource} - -\func{void}{SetDataSource}{\param{const wxString\& }{s}} - -Sets the name of the data source. Not implemented. - -\membersection{wxDatabase::SetLoginTimeout} - -\func{void}{SetLoginTimeout}{\param{long}{ seconds}} - -Sets the time to wait for an user login. Not implemented. - -\membersection{wxDatabase::SetPassword} - -\func{void}{SetPassword}{\param{const wxString\& }{s}} - -Sets the password of the current user. Not implemented. - -\membersection{wxDatabase::SetSynchronousMode} - -\func{void}{SetSynchronousMode}{\param{bool }{synchronous}} - -Toggles between synchronous and asynchronous mode. Currently only synchronous -mode is supported, so this function has no effect. - -\membersection{wxDatabase::SetQueryTimeout} - -\func{void}{SetQueryTimeout}{\param{long}{ seconds}} - -Sets the time to wait for a response to a query. Not implemented. - -\membersection{wxDatabase::SetUsername} - -\func{void}{SetUsername}{\param{const wxString\& }{s}} - -Sets the name of the current user. Not implemented. - - diff --git a/docs/latex/wx/date.tex b/docs/latex/wx/date.tex deleted file mode 100644 index 373904db66..0000000000 --- a/docs/latex/wx/date.tex +++ /dev/null @@ -1,348 +0,0 @@ -\section{\class{wxDate}}\label{wxdate} - -A class for manipulating dates. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxTime}{wxtime} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDate::wxDate}\label{wxdateconstr} - -\func{}{wxDate}{\void} - -Default constructor. - -\func{}{wxDate}{\param{const wxDate\&}{ date}} - -Copy constructor. - -\func{}{wxDate}{\param{int}{ month}, \param{int}{ day}, \param{int}{ year}} - -Constructor taking month, day and year. - -\func{}{wxDate}{\param{long}{ julian}} - -Constructor taking an integer representing the Julian date. This is the number of days since -1st January 4713 B.C., so to convert from the number of days since 1st January 1901, -construct a date for 1/1/1901, and add the number of days. - -\func{}{wxDate}{\param{const wxString\& }{dateString}} - -Constructor taking a string representing a date. This must be either the string TODAY, or of the -form {\tt MM/DD/YYYY} or {\tt MM-DD-YYYY}. For example: - -\begin{verbatim} - wxDate date("11/26/1966"); -\end{verbatim} - -\wxheading{Parameters} - -\docparam{date}{Date to copy.} - -\docparam{month}{Month: a number between 1 and 12.} - -\docparam{day}{Day: a number between 1 and 31.} - -\docparam{year}{Year, such as 1995, 2005.} - -\membersection{wxDate::\destruct{wxDate}} - -\func{void}{\destruct{wxDate}}{\void} - -Destructor. - -\membersection{wxDate::AddMonths}\label{wxdateaddmonths} - -\func{wxDate\&}{AddMonths}{\param{int}{ months=1}} - -Adds the given number of months to the date, returning a reference to `this'. - -\membersection{wxDate::AddWeeks}\label{wxdateaddweeks} - -\func{wxDate\&}{AddWeeks}{\param{int}{ weeks=1}} - -Adds the given number of weeks to the date, returning a reference to `this'. - -\membersection{wxDate::AddYears}\label{wxdateaddyears} - -\func{wxDate\&}{AddYears}{\param{int}{ years=1}} - -Adds the given number of months to the date, returning a reference to `this'. - -\membersection{wxDate::FormatDate}\label{wxdateformatdate} - -\constfunc{wxString}{FormatDate}{\param{int}{ type=-1}} - -Formats the date according to {\it type} if not -1, or according -to the current display type if -1. - -\wxheading{Parameters} - -\docparam{type}{-1 or one of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{wxDAY}{Format day only.} -\twocolitem{wxMONTH}{Format month only.} -\twocolitem{wxMDY}{Format MONTH, DAY, YEAR.} -\twocolitem{wxFULL}{Format day, month and year in US style: DAYOFWEEK, MONTH, DAY, YEAR.} -\twocolitem{wxEUROPEAN}{Format day, month and year in European style: DAY, MONTH, YEAR.} -\end{twocollist}} - -\membersection{wxDate::GetDay}\label{wxdategetday} - -\constfunc{int}{GetDay}{\void} - -Returns the numeric day (in the range 1 to 31). - -\membersection{wxDate::GetDayOfWeek}\label{wxdategetdayofweek} - -\constfunc{int}{GetDayOfWeek}{\void} - -Returns the integer day of the week (in the range 1 to 7). - -\membersection{wxDate::GetDayOfWeekName}\label{wxdategetdayofweekname} - -\constfunc{wxString}{GetDayOfWeekName}{\void} - -Returns the name of the day of week. - -\membersection{wxDate::GetDayOfYear}\label{wxdategetdayofyear} - -\constfunc{long}{GetDayOfYear}{\void} - -Returns the day of the year (from 1 to 365). - -\membersection{wxDate::GetDaysInMonth}\label{wxdategetdaysinmonth} - -\constfunc{int}{GetDaysInMonth}{\void} - -Returns the number of days in the month (in the range 1 to 31). - -\membersection{wxDate::GetFirstDayOfMonth}\label{wxdategetfirstdayofmonth} - -\constfunc{int}{GetFirstDayOfMonth}{\void} - -Returns the day of week that is first in the month (in the range 1 to 7). - -\membersection{wxDate::GetJulianDate}\label{wxdategetjuliandate} - -\constfunc{long}{GetJulianDate}{\void} - -Returns the Julian date. - -\membersection{wxDate::GetMonth}\label{wxdategetmonth} - -\constfunc{int}{GetMonth}{\void} - -Returns the month number (in the range 1 to 12). - -\membersection{wxDate::GetMonthEnd} - -\func{wxDate}{GetMonthEnd}{\void} - -Returns the date representing the last day of the month. - -\membersection{wxDate::GetMonthName}\label{wxdategetmonthname} - -\constfunc{wxString}{GetMonthName}{\void} - -Returns the name of the month. Do not delete the returned storage. - -\membersection{wxDate::GetMonthStart}\label{wxdategetmonthstart} - -\constfunc{wxDate}{GetMonthStart}{\void} - -Returns the date representing the first day of the month. - -\membersection{wxDate::GetWeekOfMonth}\label{wxdategetweekofmonth} - -\constfunc{int}{GetWeekOfMonth}{\void} - -Returns the week of month (in the range 1 to 6). - -\membersection{wxDate::GetWeekOfYear}\label{wxdategetweekofyear} - -\constfunc{int}{GetWeekOfYear}{\void} - -Returns the week of year (in the range 1 to 52). - -\membersection{wxDate::GetYear}\label{wxdategetyear} - -\constfunc{int}{GetYear}{\void} - -Returns the year as an integer (such as `1995'). - -\membersection{wxDate::GetYearEnd}\label{wxdategetyearend} - -\constfunc{wxDate}{GetYearEnd}{\void} - -Returns the date representing the last day of the year. - -\membersection{wxDate::GetYearStart}\label{wxdategetyearstart} - -\constfunc{wxDate}{GetYearStart}{\void} - -Returns the date representing the first day of the year. - -\membersection{wxDate::IsLeapYear}\label{wxdateisleapyear} - -\constfunc{bool}{IsLeapYear}{\void} - -Returns TRUE if the year of this date is a leap year. - -\membersection{wxDate::Set}\label{wxdateset} - -\func{wxDate\&}{Set}{\void} - -Sets the date to current system date, returning a reference to `this'. - -\func{wxDate\&}{Set}{\param{long}{ julian}} - -Sets the date to the given Julian date, returning a reference to `this'. - -\func{wxDate\&}{Set}{\param{int}{ month}, \param{int}{ day}, \param{int}{ year}} - -Sets the date to the given date, returning a reference to `this'. - -{\it month} is a number from 1 to 12. - -{\it day} is a number from 1 to 31. - -{\it year} is a year, such as 1995, 2005. - -\membersection{wxDate::SetFormat}\label{wxdatesetformat} - -\func{void}{SetFormat}{\param{int}{ format}} - -Sets the current format type. - -\wxheading{Parameters} - -\docparam{format}{-1 or one of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxDAY}}{Format day only.} -\twocolitem{{\bf wxMONTH}}{Format month only.} -\twocolitem{{\bf wxMDY}}{Format MONTH, DAY, YEAR.} -\twocolitem{{\bf wxFULL}}{Format day, month and year in US style: DAYOFWEEK, MONTH, DAY, YEAR.} -\twocolitem{{\bf wxEUROPEAN}}{Format day, month and year in European style: DAY, MONTH, YEAR.} -\end{twocollist}} - -\membersection{wxDate::SetOption}\label{wxdatesetoption} - -\func{int}{SetOption}{\param{int}{ option}, \param{const bool}{ enable=TRUE}} - -Enables or disables an option for formatting. - -\wxheading{Parameters} - -\docparam{option}{May be one of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxNO\_CENTURY}}{The century is not formatted.} -\twocolitem{{\bf wxDATE\_ABBR}}{Month and day names are abbreviated to 3 characters when formatting.} -\end{twocollist}} - -\membersection{wxDate::operator wxString}\label{wxdatewxstring} - -\func{}{operator wxString}{\void} - -Conversion operator, to convert wxDate to wxString by calling FormatDate. - -\membersection{wxDate::operator $+$}\label{wxdateplus} - -\func{wxDate}{operator $+$}{\param{long}{ i}} - -\func{wxDate}{operator $+$}{\param{int}{ i}} - -Adds an integer number of days to the date, returning a date. - -\membersection{wxDate::operator $-$}\label{wxdateminus} - -\func{wxDate}{operator $-$}{\param{long}{ i}} - -\func{wxDate}{operator $-$}{\param{int}{ i}} - -Subtracts an integer number of days from the date, returning a date. - -\func{long}{operator $-$}{\param{const wxDate\&}{ date}} - -Subtracts one date from another, return the number of intervening days. - -\membersection{wxDate::operator $+=$}\label{wxdateplusequals} - -\func{wxDate\&}{operator $+=$}{\param{long}{ i}} - -Postfix operator: adds an integer number of days to the date, returning -a reference to `this' date. - -\membersection{wxDate::operator $-=$}\label{wxdateminusequals} - -\func{wxDate\&}{operator $-=$}{\param{long}{ i}} - -Postfix operator: subtracts an integer number of days from the date, returning -a reference to `this' date. - -\membersection{wxDate::operator $++$}\label{wxdateplusplus} - -\func{wxDate\&}{operator $++$}{\void} - -Increments the date (postfix or prefix). - -\membersection{wxDate::operator $--$}\label{wxdateminusminus} - -\func{wxDate\&}{operator $--$}{\void} - -Decrements the date (postfix or prefix). - -\membersection{wxDate::operator $<$}\label{wxdatelessthan} - -\func{friend bool}{operator $<$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}} - -Function to compare two dates, returning TRUE if {\it date1} is earlier than {\it date2}. - -\membersection{wxDate::operator $<=$}\label{wxdatelessthaneq} - -\func{friend bool}{operator $<=$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}} - -Function to compare two dates, returning TRUE if {\it date1} is earlier than or equal to {\it date2}. - -\membersection{wxDate::operator $>$}\label{wxdategreaterthan} - -\func{friend bool}{operator $>$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}} - -Function to compare two dates, returning TRUE if {\it date1} is later than {\it date2}. - -\membersection{wxDate::operator $>=$}\label{wxdategreaterthaneq} - -\func{friend bool}{operator $>=$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}} - -Function to compare two dates, returning TRUE if {\it date1} is later than or equal to {\it date2}. - -\membersection{wxDate::operator $==$}\label{wxdateequals} - -\func{friend bool}{operator $==$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}} - -Function to compare two dates, returning TRUE if {\it date1} is equal to {\it date2}. - -\membersection{wxDate::operator $!=$}\label{wxdatenotequals} - -\func{friend bool}{operator $!=$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}} - -Function to compare two dates, returning TRUE if {\it date1} is not equal to {\it date2}. - -\membersection{wxDate::operator \cinsert}\label{wxdateinsert} - -\func{friend ostream\&}{operator \cinsert}{\param{ostream\&}{ os}, \param{const wxDate\&}{ date}} - -Function to output a wxDate to an ostream. - - diff --git a/docs/latex/wx/datstrm.tex b/docs/latex/wx/datstrm.tex deleted file mode 100644 index 637ee3ae0b..0000000000 --- a/docs/latex/wx/datstrm.tex +++ /dev/null @@ -1,114 +0,0 @@ -\section{\class{wxDataStream}}\label{wxdatastream} - -This class provides functions that read and write integers or double in a -portable way. So, a file written by an Intel processor can be read by a -Sparc or anything else. - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDataStream::wxDataStream}\label{wxdatastreamconstr} - -\func{}{wxDataStream}{\param{istream\&}{ stream}} - -Constructs a datastream object from a C++ input stream. Only read methods will -be available. - -\wxheading{Parameters} - -\docparam{stream}{The C++ input stream.} - -\func{}{wxDataStream}{\param{istream\&}{ stream}} - -Constructs a datastream object from a C++ input stream. Only read methods will -be available. - -\wxheading{Parameters} - -\docparam{stream}{The C++ input stream.} - -\membersection{wxDataStream::\destruct{wxDataStream}} - -\func{}{\destruct{wxDataStream}}{\void} - -Destroys the wxDataStream object. - -\membersection{wxDataStream::Read8} - -\func{unsigned char}{Read8}{\void} - -Reads a single byte from the stream. - -\membersection{wxDataStream::Read16} - -\func{unsigned short}{Read16}{\void} - -Reads a 16 bit integer from the stream. - -\membersection{wxDataStream::Read32} - -\func{unsigned long}{Read32}{\void} - -Reads a 32 bit integer from the stream. - -\membersection{wxDataStream::ReadDouble} - -\func{double}{ReadDouble}{\void} - -Reads a double (IEEE encoded) from the stream. - -\membersection{wxDataStream::ReadString} - -\func{wxString}{wxDataStream::ReadString}{\void} - -Reads a string from a stream. Actually, this function first reads a byte -specifying the length of the string (without the last null character) and then -reads the string. - -\membersection{wxDataStream::ReadLine} - -\func{wxString}{wxDataStream::ReadLine}{\void} - -Reads a line from the stream. A line is a string which ends with \\n or \\r\\n. - -\membersection{wxDataStream::Write8} - -\func{void}{wxDataStream::Write8}{{\param unsigned char }{i8}} - -Writes the single byte {\it i8} to the stream. - -\membersection{wxDataStream::Write16} - -\func{void}{wxDataStream::Write16}{{\param unsigned short }{i16}} - -Writes the 16 bit integer {\it i16} to the stream. - -\membersection{wxDataStream::Write32} - -\func{void}{wxDataStream::Write32}{{\param unsigned long }{i32}} - -Writes the 32 bit integer {\it i32} to the stream. - -\membersection{wxDataStream::WriteDouble} - -\func{void}{wxDataStream::WriteDouble}{{\param double }{f}} - -Writes the double {\it f} to the stream using the IEEE format. - -\membersection{wxDataStream::WriteString} - -\func{void}{wxDataStream::WriteString}{{\param const wxString\& }{string}} - -Writes {\it string} to the stream. Actually, this method writes the size of -the string before writing {\it string} itself. - -\membersection{wxDataStream::WriteLine} - -\func{void}{wxDataStream::WriteLine}{{\param const wxString\& }{string}} - -Writes {\it string} as a line. Depending on the operating system, it adds -\\n or \\r\\n. - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: "referenc" -%%% End: diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex deleted file mode 100644 index 333d6355b7..0000000000 --- a/docs/latex/wx/dc.tex +++ /dev/null @@ -1,698 +0,0 @@ -\section{\class{wxDC}}\label{wxdc} - -A wxDC is a {\it device context} onto which graphics and text can be drawn. -It is intended to represent a number of output devices in a generic way, -so a window can have a device context associated with it, and a printer also has a device context. -In this way, the same piece of code may write to a number of different devices, -if the device context is used as a parameter. - -Derived types of wxDC have documentation for specific features -only, so refer to this section for most device context information. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Overview}{dcoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDC::wxDC} - -\func{}{wxDC}{\void} - -Constructor. - -\membersection{wxDC::\destruct{wxDC}} - -\func{}{\destruct{wxDC}}{\void} - -Destructor. - -\membersection{wxDC::BeginDrawing}\label{wxdcbegindrawing} - -\func{void}{BeginDrawing}{\void} - -Allows optimization of drawing code under MS Windows. Enclose -drawing primitives between {\bf BeginDrawing} and {\bf EndDrawing}\rtfsp -calls. - -Drawing to a wxDialog panel device context outside of a -system-generated OnPaint event {\it requires} this pair of calls to -enclose drawing code. This is because a Windows dialog box does not have -a retained device context associated with it, and selections such as pen -and brush settings would be lost if the device context were obtained and -released for each drawing operation. - -\membersection{wxDC::Blit}\label{wxdcblit} - -\func{bool}{Blit}{\param{long}{ xdest}, \param{long}{ ydest}, \param{long}{ width}, \param{long}{ height}, - \param{wxDC* }{source}, \param{long}{ xsrc}, \param{long}{ ysrc}, \param{int}{ logicalFunc}, - \param{bool }{useMask}} - -Copy from a source DC to this DC, specifying the destination -coordinates, size of area to copy, source DC, source coordinates, and -logical function. - -\wxheading{Parameters} - -\docparam{xdest}{Destination device context x position.} - -\docparam{ydest}{Destination device context y position.} - -\docparam{width}{Width of source area to be copied.} - -\docparam{height}{Height of source area to be copied.} - -\docparam{source}{Source device context.} - -\docparam{xsrc}{Source device context x position.} - -\docparam{ysrc}{Source device context y position.} - -\docparam{logicalFunc}{Logical function to use: see \helpref{wxDC::SetLogicalFunction}{wxdcsetlogicalfunction}.} - -\docparam{useMask}{If TRUE, Blit does a transparent blit using the mask that is associated with the bitmap -selected into the source device context. The Windows implementation does the following: - -\begin{enumerate} -\item Creates a temporary bitmap and copies the destination area into it. -\item Copies the source area into the temporary bitmap using the specified logical function. -\item Sets the masked area in the temporary bitmap to BLACK by ANDing the -mask bitmap with the temp bitmap with the foreground colour set to WHITE -and the bg colour set to BLACK. -\item Sets the unmasked area in the destination area to BLACK by ANDing the -mask bitmap with the destination area with the foreground colour set to BLACK -and the background colour set to WHITE. -\item ORs the temporary bitmap with the destination area. -\item Deletes the temporary bitmap. -\end{enumerate} - -This sequence of operations ensures that the source's transparent area need not be black, -and logical functions are supported. -} - -\wxheading{Remarks} - -There is partial support for Blit in wxPostScriptDC, under X. - -See \helpref{wxMemoryDC}{wxmemorydc} for typical usage. - -wxheading{See also} - -\helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxBitmap}{wxbitmap}, \helpref{wxMask}{wxmask} - -\membersection{wxDC::Clear}\label{wxdcclear} - -\func{void}{Clear}{\void} - -Clears the device context using the current background brush. - -\membersection{wxDC::CrossHair}\label{wxdccrosshair} - -\func{void}{CrossHair}{\param{long}{ x}, \param{long}{ y}} - -Displays a cross hair using the current pen. This is a vertical -and horizontal line the height and width of the window, centred -on the given point. - -\membersection{wxDC::DestroyClippingRegion}\label{wxdcdestroyclippingregion} - -\func{void}{DestroyClippingRegion}{\void} - -Destroys the current clipping region so that none of the DC is clipped. -See also \helpref{wxDC::SetClippingRegion}{wxdcsetclippingregion}. - -\membersection{wxDC::DeviceToLogicalX}\label{wxdcdevicetologicalx} - -\func{long}{DeviceToLogicalX}{\param{long}{ x}} - -Convert device X coordinate to logical coordinate, using the current -mapping mode. - -\membersection{wxDC::DeviceToLogicalXRel}\label{wxdcdevicetologicalxrel} - -\func{long}{DeviceToLogicalXRel}{\param{long}{ x}} - -Convert device X coordinate to relative logical coordinate, using the current -mapping mode. Use this function for converting a width, for example. - -\membersection{wxDC::DeviceToLogicalY}\label{wxdcdevicetologicaly} - -\func{long}{DeviceToLogicalY}{\param{long}{ y}} - -Converts device Y coordinate to logical coordinate, using the current -mapping mode. - -\membersection{wxDC::DeviceToLogicalYRel}\label{wxdcdevicetologicalyrel} - -\func{long}{DeviceToLogicalYRel}{\param{long}{ y}} - -Convert device Y coordinate to relative logical coordinate, using the current -mapping mode. Use this function for converting a height, for example. - -\membersection{wxDC::DrawArc}\label{wxdcdrawarc} - -\func{void}{DrawArc}{\param{long}{ x1}, \param{long}{ y1}, \param{long}{ x2}, \param{long}{ y2}, \param{double}{ xc}, \param{double}{ yc}} - -Draws an arc of a circle, centred on ({\it xc, yc}), with starting point ({\it x1, y1}) -and ending at ({\it x2, y2}). The current pen is used for the outline -and the current brush for filling the shape. - -The arc is drawn in an anticlockwise direction from the start point to the end point. - -\membersection{wxDC::DrawEllipse}\label{wxdcdrawellipse} - -\func{void}{DrawEllipse}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Draws an ellipse contained in the rectangle with the given top left corner, and with the -given size. The current pen is used for the outline and the current brush for -filling the shape. - -\membersection{wxDC::DrawEllipticArc}\label{wxdcdrawellipticarc} - -\func{void}{DrawEllipticArc}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}, - \param{double}{ start}, \param{double}{ end}} - -Draws an arc of an ellipse. The current pen is used for drawing the arc and -the current brush is used for drawing the pie. This function is currently only available for -X window and PostScript device contexts. - -{\it x} and {\it y} specify the x and y coordinates of the upper-left corner of the rectangle that contains -the ellipse. - -{\it width} and {\it height} specify the width and height of the rectangle that contains -the ellipse. - -{\it start} and {\it end} specify the start and end of the arc relative to the three-o'clock -position from the center of the rectangle. Angles are specified -in degrees (360 is a complete circle). Positive values mean -counter-clockwise motion. If {\it start} is equal to {\it end}, a -complete ellipse will be drawn. - -\membersection{wxDC::DrawIcon}\label{wxdcdrawicon} - -\func{void}{DrawIcon}{\param{const wxIcon\&}{ icon}, \param{long}{ x}, \param{long}{ y}} - -Draw an icon on the display (does nothing if the device context is PostScript). -This can be the simplest way of drawing bitmaps on a window. - -\membersection{wxDC::DrawLine}\label{wxdcdrawline} - -\func{void}{DrawLine}{\param{long}{ x1}, \param{long}{ y1}, \param{long}{ x2}, \param{long}{ y2}} - -Draws a line from the first point to the second. The current pen is used -for drawing the line. - -\membersection{wxDC::DrawLines}\label{wxdcdrawlines} - -\func{void}{DrawLines}{\param{int}{ n}, \param{wxPoint}{ points[]}, \param{long}{ xoffset = 0}, \param{long}{ yoffset = 0}} - -\func{void}{DrawLines}{\param{wxList *}{points}, \param{long}{ xoffset = 0}, \param{long}{ yoffset = 0}} - -Draws lines using an array of {\it points} of size {\it n}, or list of -pointers to points, adding the optional offset coordinate. The current -pen is used for drawing the lines. The programmer is responsible for -deleting the list of points. - -\membersection{wxDC::DrawPolygon}\label{wxdcdrawpolygon} - -\func{void}{DrawPolygon}{\param{int}{ n}, \param{wxPoint}{ points[]}, \param{long}{ xoffset = 0}, \param{long}{ yoffset = 0},\\ - \param{int }{fill\_style = wxODDEVEN\_RULE}} - -\func{void}{DrawPolygon}{\param{wxList *}{points}, \param{long}{ xoffset = 0}, \param{long}{ yoffset = 0},\\ - \param{int }{fill\_style = wxODDEVEN\_RULE}} - -Draws a filled polygon using an array of {\it points} of size {\it n}, -or list of pointers to points, adding the optional offset coordinate. - -The last argument specifies the fill rule: {\bf wxODDEVEN\_RULE} (the -default) or {\bf wxWINDING\_RULE}. - -The current pen is used for drawing the outline, and the current brush -for filling the shape. Using a transparent brush suppresses filling. -The programmer is responsible for deleting the list of points. - -Note that wxWindows automatically closes the first and last points. - -\membersection{wxDC::DrawPoint}\label{wxdcdrawpoint} - -\func{void}{DrawPoint}{\param{long}{ x}, \param{long}{ y}} - -Draws a point using the current pen. - -\membersection{wxDC::DrawRectangle}\label{wxdcdrawrectangle} - -\func{void}{DrawRectangle}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Draws a rectangle with the given top left corner, and with the given -size. The current pen is used for the outline and the current brush -for filling the shape. - -\membersection{wxDC::DrawRoundedRectangle}\label{wxdcdrawroundedrectangle} - -\func{void}{DrawRoundedRectangle}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}, \param{double}{ radius = 20}} - -Draws a rectangle with the given top left corner, and with the given -size. The corners are quarter-circles using the given radius. The -current pen is used for the outline and the current brush for filling -the shape. - -If {\it radius} is positive, the value is assumed to be the -radius of the rounded corner. If {\it radius} is negative, -the absolute value is assumed to be the {\it proportion} of the smallest -dimension of the rectangle. This means that the corner can be -a sensible size relative to the size of the rectangle, and also avoids -the strange effects X produces when the corners are too big for -the rectangle. - -\membersection{wxDC::DrawSpline}\label{wxdcdrawspline} - -\func{void}{DrawSpline}{\param{wxList *}{points}} - -Draws a spline between all given control points, using the current -pen. Doesn't delete the wxList and contents. The spline is drawn -using a series of lines, using an algorithm taken from the X drawing -program `XFIG'. - -\func{void}{DrawSpline}{\param{long}{ x1}, \param{long}{ y1}, \param{long}{ x2}, \param{long}{ y2}, \param{long}{ x3}, \param{long}{ y3}} - -Draws a three-point spline using the current pen. - -\membersection{wxDC::DrawText}\label{wxdcdrawtext} - -\func{void}{DrawText}{\param{const wxString\& }{text}, \param{long}{ x}, \param{long}{ y}} - -Draws a text string at the specified point, using the current text font, -and the current text foreground and background colours. - -The coordinates refer to the top-left corner of the rectangle bounding -the string. See \helpref{wxDC::GetTextExtent}{wxdcgettextextent} for how -to get the dimensions of a text string, which can be used to position the -text more precisely. - -\membersection{wxDC::EndDoc}\label{wxdcenddoc} - -\func{void}{EndDoc}{\void} - -Ends a document (only relevant when outputting to a printer). - -\membersection{wxDC::EndDrawing}\label{wxdcenddrawing} - -\func{void}{EndDrawing}{\void} - -Allows optimization of drawing code under MS Windows. Enclose -drawing primitives between {\bf BeginDrawing} and {\bf EndDrawing}\rtfsp -calls. - -\membersection{wxDC::EndPage}\label{wxdcendpage} - -\func{void}{EndPage}{\void} - -Ends a document page (only relevant when outputting to a printer). - -\membersection{wxDC::FloodFill}\label{wxdcfloodfill} - -\func{void}{FloodFill}{\param{long}{ x}, \param{long}{ y}, \param{wxColour *}{colour}, \param{int}{ style=wxFLOOD\_SURFACE}} - -Flood fills the device context starting from the given point, in the given colour, -and using a style: - -\begin{itemize}\itemsep=0pt -\item wxFLOOD\_SURFACE: the flooding occurs until a colour other than the given colour is encountered. -\item wxFLOOD\_BORDER: the area to be flooded is bounded by the given colour. -\end{itemize} - -{\it Note:} this function is available in MS Windows only. - -\membersection{wxDC::GetBackground}\label{wxdcgetbackground} - -\func{wxBrush *}{GetBackground}{\void} - -Gets the brush used for painting the background (see \helpref{wxDC::SetBackground}{wxdcsetbackground}). - -\membersection{wxDC::GetBrush}\label{wxdcgetbrush} - -\func{wxBrush *}{GetBrush}{\void} - -Gets the current brush (see \helpref{wxDC::SetBrush}{wxdcsetbrush}). - -\membersection{wxDC::GetCharHeight}\label{wxdcgetcharheight} - -\func{long}{GetCharHeight}{\void} - -Gets the character height of the currently set font. - -\membersection{wxDC::GetCharWidth}\label{wxdcgetcharwidth} - -\func{long}{GetCharWidth}{\void} - -Gets the average character width of the currently set font. - -\membersection{wxDC::GetClippingBox}\label{wxdcgetclippingbox} - -\func{void}{GetClippingBox}{\param{long}{ *x}, \param{long}{ *y}, \param{long}{ *width}, \param{long}{ *height}} - -Gets the rectangle surrounding the current clipping region. - -\membersection{wxDC::GetFont}\label{wxdcgetfont} - -\func{wxFont *}{GetFont}{\void} - -Gets the current font (see \helpref{wxDC::SetFont}{wxdcsetfont}). - -\membersection{wxDC::GetLogicalFunction}\label{wxdcgetlogicalfunction} - -\func{int}{GetLogicalFunction}{\void} - -Gets the current logical function (see \helpref{wxDC::SetLogicalFunction}{wxdcsetlogicalfunction}). - -\membersection{wxDC::GetMapMode}\label{wxdcgetmapmode} - -\func{int}{GetMapMode}{\void} - -Gets the {\it mapping mode} for the device context (see \helpref{wxDC::SetMapMode}{wxdcsetmapmode}). - -\membersection{wxDC::GetOptimization}\label{wxdcgetoptimization} - -\func{bool}{GetOptimization}{\void} - -Returns TRUE if device context optimization is on. -See \helpref{wxDC::SetOptimization}{wxsetoptimization} for details. - -\membersection{wxDC::GetPen}\label{wxdcgetpen} - -\func{wxPen *}{GetPen}{\void} - -Gets the current pen (see \helpref{wxDC::SetPen}{wxdcsetpen}). - -\membersection{wxDC::GetPixel}\label{wxdcgetpixel} - -\func{bool}{GetPixel}{\param{long}{ x}, \param{long}{ y}, \param{wxColour *}{colour}} - -Sets {\it colour} to the colour at the specified location. Windows only; an X implementation -is being worked on. Not available for wxPostScriptDC or wxMetaFileDC. - -\membersection{wxDC::GetSize}\label{wxdcgetsize} - -\func{void}{GetSize}{\param{long *}{width}, \param{long *}{height}} - -For a PostScript device context, this gets the maximum size of graphics -drawn so far on the device context. - -For a Windows printer device context, this gets the horizontal and vertical -resolution. It can be used to scale graphics to fit the page when using -a Windows printer device context. For example, if {\it maxX} and {\it maxY}\rtfsp -represent the maximum horizontal and vertical `pixel' values used in your -application, the following code will scale the graphic to fit on the -printer page: - -\begin{verbatim} - long w, h; - dc.GetSize(&w, &h); - double scaleX=(double)(maxX/w); - double scaleY=(double)(maxY/h); - dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY)); -\end{verbatim} - -\membersection{wxDC::GetTextBackground}\label{wxdcgettextbackground} - -\func{wxColour\&}{GetTextBackground}{\void} - -Gets the current text background colour (see \helpref{wxDC::SetTextBackground}{wxdcsettextbackground}). - -\membersection{wxDC::GetTextExtent}\label{wxdcgettextextent} - -\func{void}{GetTextExtent}{\param{const wxString\& }{string}, \param{long *}{w}, \param{long *}{h},\\ - \param{long *}{descent = NULL}, \param{long *}{externalLeading = NULL}, \param{wxFont *}{font = NULL}} - -Gets the dimensions of the string using the currently selected font. -\rtfsp{\it string} is the text string to measure, {\it w} and {\it h} are -the total width and height respectively, {\it descent} is the -dimension from the baseline of the font to the bottom of the -descender, and {\it externalLeading} is any extra vertical space added -to the font by the font designer (usually is zero). - -The optional parameter {\it font} specifies an alternative -to the currently selected font: but note that this does not -yet work under Windows, so you need to set a font for -the device context first. - -See also \helpref{wxFont}{wxfont}, \helpref{wxDC::SetFont}{wxdcsetfont}. - -\membersection{wxDC::GetTextForeground}\label{wxdcgettextforeground} - -\func{wxColour\&}{GetTextForeground}{\void} - -Gets the current text foreground colour (see \helpref{wxDC::SetTextForeground}{wxdcsettextforeground}). - -\membersection{wxDC::LogicalToDeviceX}\label{wxdclogicaltodevicex} - -\func{long}{LogicalToDeviceX}{\param{long}{ x}} - -Converts logical X coordinate to device coordinate, using the current -mapping mode. - -\membersection{wxDC::LogicalToDeviceXRel}\label{wxdclogicaltodevicexrel} - -\func{long}{LogicalToDeviceXRel}{\param{long}{ x}} - -Converts logical X coordinate to relative device coordinate, using the current -mapping mode. Use this for converting a width, for example. - -\membersection{wxDC::LogicalToDeviceY}\label{wxdclogicaltodevicey} - -\func{long}{LogicalToDeviceY}{\param{long}{ y}} - -Converts logical Y coordinate to device coordinate, using the current -mapping mode. - -\membersection{wxDC::LogicalToDeviceYRel}\label{wxdclogicaltodeviceyrel} - -\func{long}{LogicalToDeviceYRel}{\param{long}{ y}} - -Converts logical Y coordinate to relative device coordinate, using the current -mapping mode. Use this for converting a height, for example. - -\membersection{wxDC::MaxX}\label{wxdcmaxx} - -\func{long}{MaxX}{\void} - -Gets the maximum horizontal extent used in drawing commands so far. - -\membersection{wxDC::MaxY}\label{wxdcmaxy} - -\func{long}{MaxY}{\void} - -Gets the maximum vertical extent used in drawing commands so far. - -\membersection{wxDC::MinX}\label{wxdcminx} - -\func{long}{MinX}{\void} - -Gets the minimum horizontal extent used in drawing commands so far. - -\membersection{wxDC::MinY}\label{wxdcminy} - -\func{long}{MinY}{\void} - -Gets the minimum vertical extent used in drawing commands so far. - -\membersection{wxDC::Ok}\label{wxdcok} - -\func{bool}{Ok}{\void} - -Returns TRUE if the DC is ok to use. - -\membersection{wxDC::SetDeviceOrigin}\label{wxdcsetdeviceorigin} - -\func{void}{SetDeviceOrigin}{\param{long}{ x}, \param{long}{ y}} - -Sets the device origin (i.e., the origin in pixels after scaling has been -applied). - -This function may be useful in Windows printing -operations for placing a graphic on a page. - -\membersection{wxDC::SetBackground}\label{wxdcsetbackground} - -\func{void}{SetBackground}{\param{const wxBrush\& }{brush}} - -Sets the current background brush for the DC. - -\membersection{wxDC::SetBackgroundMode}\label{wxdcsetbackgroundmode} - -\func{void}{SetBackgroundMode}{\param{int}{ mode}} - -{\it mode} may be one of wxSOLID and wxTRANSPARENT. This setting determines -whether text will be drawn with a background colour or not. - -\membersection{wxDC::SetClippingRegion}\label{wxdcsetclippingregion} - -\func{void}{SetClippingRegion}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Sets the clipping region for the DC. The clipping region is a rectangular area -to which drawing is restricted. Possible uses for the clipping region are for clipping text -or for speeding up window redraws when only a known area of the screen is damaged. - -See also \helpref{wxDC::DestroyClippingRegion}{wxdcdestroyclippingregion}. - -\membersection{wxDC::SetPalette}\label{wxdcsetpalette} - -\func{void}{SetPalette}{\param{const wxPalette\& }{palette}} - -If this is a window DC or memory DC, assigns the given palette to the window -or bitmap associated with the DC. If the argument is wxNullPalette, the current -palette is selected out of the device context, and the original palette -restored. - -See \helpref{wxPalette}{wxpalette} for further details. - -\membersection{wxDC::SetBrush}\label{wxdcsetbrush} - -\func{void}{SetBrush}{\param{const wxBrush\& }{brush}} - -Sets the current brush for the DC. - -If the argument is wxNullBrush, the current brush is selected out of the device -context, and the original brush restored, allowing the current brush to -be destroyed safely. - -See also \helpref{wxBrush}{wxbrush}. - -\membersection{wxDC::SetFont}\label{wxdcsetfont} - -\func{void}{SetFont}{\param{const wxFont\& }{font}} - -Sets the current font for the DC. - -If the argument is wxNullFont, the current font is selected out of the device -context, and the original font restored, allowing the current font to -be destroyed safely. - -See also \helpref{wxFont}{wxfont}. - -\membersection{wxDC::SetLogicalFunction}\label{wxdcsetlogicalfunction} - -\func{void}{SetLogicalFunction}{\param{int}{ function}} - -Sets the current logical function for the device context. This determines how -a source pixel (from a pen or brush colour, or source device context if -using \helpref{wxDC::Blit}{wxdcblit}) combines with a destination pixel in the -current device context. - -The possible values -and their meaning in terms of source and destination pixel values are -as follows: - -\begin{verbatim} -wxAND src AND dst -wxAND_INVERT (NOT src) AND dst -wxAND_REVERSE src AND (NOT dst) -wxCLEAR 0 -wxCOPY src -wxEQUIV (NOT src) XOR dst -wxINVERT NOT dst -wxNAND (NOT src) OR (NOT dst) -wxNOR (NOT src) AND (NOT dst) -wxNO_OP dst -wxOR src OR dst -wxOR_INVERT (NOT src) OR dst -wxOR_REVERSE src OR (NOT dst) -wxSET 1 -wxSRC_INVERT NOT src -wxXOR src XOR dst -\end{verbatim} - -The default is wxCOPY, which simply draws with the current colour. -The others combine the current colour and the background using a -logical operation. wxXOR is commonly used for drawing rubber bands or -moving outlines, since drawing twice reverts to the original colour. - -\membersection{wxDC::SetMapMode}\label{wxdcsetmapmode} - -\func{void}{SetMapMode}{\param{int}{ int}} - -The {\it mapping mode} of the device context defines the unit of -measurement used to convert logical units to device units. Note that -in X, text drawing isn't handled consistently with the mapping mode; a -font is always specified in point size. However, setting the {\it -user scale} (see \helpref{wxDC::SetUserScale}{wxdcsetuserscale}) scales the text appropriately. In -Windows, scaleable TrueType fonts are always used; in X, results depend -on availability of fonts, but usually a reasonable match is found. - -Note that the coordinate origin should ideally be selectable, but for -now is always at the top left of the screen/printer. - -Drawing to a Windows printer device context under UNIX -uses the current mapping mode, but mapping mode is currently ignored for -PostScript output. - -The mapping mode can be one of the following: - -\begin{twocollist}\itemsep=0pt -\twocolitem{MM\_TWIPS}{Each logical unit is 1/20 of a point, or 1/1440 of - an inch.} -\twocolitem{MM\_POINTS}{Each logical unit is a point, or 1/72 of an inch.} -\twocolitem{MM\_METRIC}{Each logical unit is 1 mm.} -\twocolitem{MM\_LOMETRIC}{Each logical unit is 1/10 of a mm.} -\twocolitem{MM\_TEXT}{Each logical unit is 1 pixel.} -\end{twocollist} - -\membersection{wxDC::SetOptimization}\label{wxsetoptimization} - -\func{void}{SetOptimization}{\param{bool }{optimize}} - -If {\it optimize} is TRUE (the default), this function sets optimization mode on. -This currently means that under X, the device context will not try to set a pen or brush -property if it is known to be set already. This approach can fall down -if non-wxWindows code is using the same device context or window, for example -when the window is a panel on which the windowing system draws panel items. -The wxWindows device context 'memory' will now be out of step with reality. - -Setting optimization off, drawing, then setting it back on again, is a trick -that must occasionally be employed. - -\membersection{wxDC::SetPen}\label{wxdcsetpen} - -\func{void}{SetPen}{\param{const wxPen\& }{pen}} - -Sets the current pen for the DC. - -If the argument is wxNullPen, the current pen is selected out of the device -context, and the original pen restored. - -\membersection{wxDC::SetTextBackground}\label{wxdcsettextbackground} - -\func{void}{SetTextBackground}{\param{const wxColour\& }{colour}} - -Sets the current text background colour for the DC. - -\membersection{wxDC::SetTextForeground}\label{wxdcsettextforeground} - -\func{void}{SetTextForeground}{\param{const wxColour\& }{colour}} - -Sets the current text foreground colour for the DC. - -\membersection{wxDC::SetUserScale}\label{wxdcsetuserscale} - -\func{void}{SetUserScale}{\param{double}{ xScale}, \param{double}{ yScale}} - -Sets the user scaling factor, useful for applications which require -`zooming'. - -\membersection{wxDC::StartDoc}\label{wxdcstartdoc} - -\func{bool}{StartDoc}{\param{const wxString\& }{message}} - -Starts a document (only relevant when outputting to a printer). -Message is a message to show whilst printing. - -\membersection{wxDC::StartPage}\label{wxdcstartpage} - -\func{bool}{StartPage}{\void} - -Starts a document page (only relevant when outputting to a printer). - diff --git a/docs/latex/wx/ddeclint.tex b/docs/latex/wx/ddeclint.tex deleted file mode 100644 index 646420c789..0000000000 --- a/docs/latex/wx/ddeclint.tex +++ /dev/null @@ -1,67 +0,0 @@ -\section{\class{wxDDEClient}}\label{wxddeclient} - -\overview{Interprocess communications overview}{ipcoverview} - -A wxDDEClient object represents the client part of a client-server DDE -(Dynamic Data Exchange) conversation (available in {\it both}\/ -Windows and UNIX). - -To create a client which can communicate with a suitable server, -you need to derive a class from wxDDEConnection and another from wxDDEClient. -The custom wxDDEConnection class will intercept communications in -a `conversation' with a server, and the custom wxDDEServer is required -so that a user-overriden \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member can return -a wxDDEConnection of the required class, when a connection is made. - -\wxheading{Derived from} - -wxDDEObject - -\wxheading{See also} - -\helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEConnection}{wxddeconnection}, -the chapter on interprocess communication in the user manual, and -the programs in {\tt samples/ipc}. - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDDEClient::wxDDEClient} - -\func{}{wxDDEClient}{\void} - -Constructs a client object. - -\membersection{wxDDEClient::MakeConnection}\label{wxddeclientmakeconnection} - -\func{wxDDEConnection *}{MakeConnection}{\param{const wxString\& }{host}, \param{const wxString\& }{service}, \param{const wxString\& }{topic}} - -Tries to make a connection with a server specified by the host -(machine name under UNIX, ignored under Windows), service name (must -contain an integer port number under UNIX), and topic string. If the -server allows a connection, a wxDDEConnection object will be returned. -The type of wxDDEConnection returned can be altered by overriding -the \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member to return your own -derived connection object. - -\membersection{wxDDEClient::OnMakeConnection}\label{wxddeclientonmakeconnection} - -\func{wxDDEConnection *}{OnMakeConnection}{\void} - -The type of \helpref{wxDDEConnection}{wxddeconnection} returned from a \helpref{wxDDEClient::MakeConnection}{wxddeclientmakeconnection} call can -be altered by deriving the {\bf OnMakeConnection} member to return your -own derived connection object. By default, an ordinary wxDDEConnection -object is returned. - -The advantage of deriving your own connection class is that it will -enable you to intercept messages initiated by the server, such -as \helpref{wxDDEConnection::OnAdvise}{wxddeconnectiononadvise}. You may also want to -store application-specific data in instances of the new class. - -\membersection{wxDDEClient::ValidHost} - -\func{bool}{ValidHost}{\param{const wxString\& }{host}} - -Returns TRUE if this is a valid host name, FALSE otherwise. This always -returns TRUE under MS Windows. - - diff --git a/docs/latex/wx/ddeconn.tex b/docs/latex/wx/ddeconn.tex deleted file mode 100644 index d1486d7884..0000000000 --- a/docs/latex/wx/ddeconn.tex +++ /dev/null @@ -1,166 +0,0 @@ -\section{\class{wxDDEConnection}}\label{wxddeconnection} - -A wxDDEConnection object represents the connection between a client and a -server. It can be created by making a connection using a\rtfsp -\helpref{wxDDEClient}{wxddeclient} object, or by the acceptance of a connection by a\rtfsp -\helpref{wxDDEServer}{wxddeserver} object. The bulk of a DDE (Dynamic Data Exchange) -conversation (available in both Windows and UNIX) is controlled by -calling members in a {\bf wxDDEConnection} object or by overriding its -members. - -An application should normally derive a new connection class from -wxDDEConnection, in order to override the communication event handlers -to do something interesting. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEServer}{wxddeserver}, \helpref{Interprocess communications overview}{ipcoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDDEConnection::wxDDEConnection} - -\func{}{wxDDEConnection}{\void} - -\func{}{wxDDEConnection}{\param{char* }{buffer}, \param{int}{ size}} - -Constructs a connection object. If no user-defined connection object is -to be derived from wxDDEConnection, then the constructor should not be -called directly, since the default connection object will be provided on -requesting (or accepting) a connection. However, if the user defines his -or her own derived connection object, the \helpref{wxDDEServer::OnAcceptConnection}{wxddeserveronacceptconnection}\rtfsp -and/or \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} members should be replaced by -functions which construct the new connection object. If the arguments of -the wxDDEConnection constructor are void, then a default buffer is -associated with the connection. Otherwise, the programmer must provide a -a buffer and size of the buffer for the connection object to use in -transactions. - -\membersection{wxDDEConnection::Advise} - -\func{bool}{Advise}{\param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size = -1}, \param{int}{ format = wxCF\_TEXT}} - -Called by the server application to advise the client of a change in -the data associated with the given item. Causes the client -connection's \helpref{wxDDEConnection::OnAdvise}{wxddeconnectiononadvise} -member to be called. Returns TRUE if successful. - -\membersection{wxDDEConnection::Execute} - -\func{bool}{Execute}{\param{char* }{data}, \param{int}{ size = -1}, -\param{int}{ format = wxCF\_TEXT}} - -Called by the client application to execute a command on the server. Can -also be used to transfer arbitrary data to the server (similar -to \helpref{wxDDEConnection::Poke}{wxddeconnectionpoke} in that respect). Causes the -server connection's \helpref{wxDDEConnection::OnExecute}{wxddeconnectiononexecute} member to be -called. Returns TRUE if successful. - -\membersection{wxDDEConnection::Disconnect} - -\func{bool}{Disconnect}{\void} - -Called by the client or server application to disconnect from the other -program; it causes the \helpref{wxDDEConnection::OnDisconnect}{wxddeconnectionondisconnect} message -to be sent to the corresponding connection object in the other -program. The default behaviour of {\bf OnDisconnect} is to delete the -connection, but the calling application must explicitly delete its -side of the connection having called {\bf Disconnect}. Returns TRUE if -successful. - -\membersection{wxDDEConnection::OnAdvise}\label{wxddeconnectiononadvise} - -\func{bool}{OnAdvise}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size}, \param{int}{ format}} - -Message sent to the client application when the server notifies it of a -change in the data associated with the given item. - -\membersection{wxDDEConnection::OnDisconnect}\label{wxddeconnectionondisconnect} - -\func{bool}{OnDisconnect}{\void} - -Message sent to the client or server application when the other -application notifies it to delete the connection. Default behaviour is -to delete the connection object. - -\membersection{wxDDEConnection::OnExecute}\label{wxddeconnectiononexecute} - -\func{bool}{OnExecute}{\param{const wxString\& }{topic}, \param{char* }{data}, \param{int}{ size}, \param{int}{ format}} - -Message sent to the server application when the client notifies it to -execute the given data. Note that there is no item associated with -this message. - -\membersection{wxDDEConnection::OnPoke}\label{wxddeconnectiononpoke} - -\func{bool}{OnPoke}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size}, \param{int}{ format}} - -Message sent to the server application when the client notifies it to -accept the given data. - -\membersection{wxDDEConnection::OnRequest}\label{wxddeconnectiononrequest} - -\func{char*}{OnRequest}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{int *}{size}, \param{int}{ format}} - -Message sent to the server application when the client -calls \helpref{wxDDEConnection::Request}{wxddeconnectionrequest}. The server -should respond by returning a character string from {\bf OnRequest}, -or NULL to indicate no data. - -\membersection{wxDDEConnection::OnStartAdvise}\label{wxddeconnectiononstartadvise} - -\func{bool}{OnStartAdvise}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}} - -Message sent to the server application by the client, when the client -wishes to start an `advise loop' for the given topic and item. The -server can refuse to participate by returning FALSE. - -\membersection{wxDDEConnection::OnStopAdvise}\label{wxddeconnectiononstopadvise} - -\func{bool}{OnStopAdvise}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}} - -Message sent to the server application by the client, when the client -wishes to stop an `advise loop' for the given topic and item. The -server can refuse to stop the advise loop by returning FALSE, although -this doesn't have much meaning in practice. - -\membersection{wxDDEConnection::Poke}\label{wxddeconnectionpoke} - -\func{bool}{Poke}{\param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size = -1}, \param{int}{ format = wxCF\_TEXT}} - -Called by the client application to poke data into the server. Can be -used to transfer arbitrary data to the server. Causes the server -connection's \helpref{wxDDEConnection::OnPoke}{wxddeconnectiononpoke} member -to be called. Returns TRUE if successful. - -\membersection{wxDDEConnection::Request}\label{wxddeconnectionrequest} - -\func{char*}{Request}{\param{const wxString\& }{item}, \param{int *}{size}, \param{int}{ format = wxCF\_TEXT}} - -Called by the client application to request data from the server. Causes -the server connection's \helpref{wxDDEConnection::OnRequest}{wxddeconnectiononrequest} member to be called. Returns a -character string (actually a pointer to the connection's buffer) if -successful, NULL otherwise. - -\membersection{wxDDEConnection::StartAdvise}\label{wxddeconnectionstartadvise} - -\func{bool}{StartAdvise}{\param{const wxString\& }{item}} - -Called by the client application to ask if an advise loop can be started -with the server. Causes the server connection's \helpref{wxDDEConnection::OnStartAdvise}{wxddeconnectiononstartadvise}\rtfsp -member to be called. Returns TRUE if the server okays it, FALSE -otherwise. - -\membersection{wxDDEConnection::StopAdvise}\label{wxddeconnectionstopadvise} - -\func{bool}{StopAdvise}{\param{const wxString\& }{item}} - -Called by the client application to ask if an advise loop can be -stopped. Causes the server connection's \helpref{wxDDEConnection::OnStopAdvise}{wxddeconnectiononstopadvise} member -to be called. Returns TRUE if the server okays it, FALSE otherwise. - - diff --git a/docs/latex/wx/ddeservr.tex b/docs/latex/wx/ddeservr.tex deleted file mode 100644 index a5736e34f7..0000000000 --- a/docs/latex/wx/ddeservr.tex +++ /dev/null @@ -1,45 +0,0 @@ -\section{\class{wxDDEServer}}\label{wxddeserver} - -A wxDDEServer object represents the server part of a client-server DDE -(Dynamic Data Exchange) conversation (available under both Windows -and UNIX). - -\wxheading{Derived from} - -wxDDEObject - -\wxheading{See also} - -\helpref{IPC overview}{ipcoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDDEServer::wxDDEServer} - -\func{}{wxDDEServer}{\void} - -Constructs a server object. - -\membersection{wxDDEServer::Create} - -\func{bool}{Create}{\param{const wxString\& }{service}} - -Registers the server using the given service name. Under UNIX, the -string must contain an integer id which is used as an Internet port -number. FALSE is returned if the call failed (for example, the port -number is already in use). - -\membersection{wxDDEServer::OnAcceptConnection}\label{wxddeserveronacceptconnection} - -\func{wxDDEConnection *}{OnAcceptConnection}{\param{const wxString\& }{topic}} - -When a client calls {\bf MakeConnection}, the server receives the -message and this member is called. The application should derive a -member to intercept this message and return a connection object of -either the standard wxDDEConnection type, or of a user-derived type. If the -topic is ``STDIO'', the application may wish to refuse the connection. -Under UNIX, when a server is created the OnAcceptConnection message is -always sent for standard input and output, but in the context of DDE -messages it doesn't make a lot of sense. - - diff --git a/docs/latex/wx/debugcxt.tex b/docs/latex/wx/debugcxt.tex deleted file mode 100644 index 841b177e3b..0000000000 --- a/docs/latex/wx/debugcxt.tex +++ /dev/null @@ -1,251 +0,0 @@ -\section{\class{wxDebugContext}}\label{wxdebugcontext} - -A class for performing various debugging and memory tracing -operations. Full functionality (such as printing out objects -currently allocated) is only present in a debugging build of wxWindows, -i.e. if the DEBUG symbol is defined and non-zero. wxDebugContext -and related functions and macros can be compiled out by setting -USE\_DEBUG\_CONTEXT to 0 is wx\_setup.h - -\wxheading{Derived from} - -No parent class. - -\wxheading{See also} - -\overview{Overview}{wxdebugcontextoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDebugContext::Check}\label{wxdebugcontextcheck} - -\func{int}{Check}{\void} - -Checks the memory blocks for errors, starting from the currently set -checkpoint. - -\wxheading{Return value} - -Returns the number of errors, -so a value of zero represents success. Returns -1 if an error -was detected that prevents further checking. - -\membersection{wxDebugContext::Dump}\label{wxdebugcontextdump} - -\func{bool}{Dump}{\void} - -Performs a memory dump from the currently set checkpoint, writing to the -current debug stream. Calls the {\bf Dump} member function for each wxObject -derived instance. - -\wxheading{Return value} - -TRUE if the function succeeded, FALSE otherwise. - -\membersection{wxDebugContext::GetCheckPrevious}\label{wxdebugcontextgetcheckprevious} - -\func{bool}{GetCheckPrevious}{\void} - -Returns TRUE if the memory allocator checks all previous memory blocks for errors. -By default, this is FALSE since it slows down execution considerably. - -\wxheading{See also} - -\helpref{wxDebugContext::SetCheckPrevious}{wxdebugcontextsetcheckprevious} - -\membersection{wxDebugContext::GetDebugMode}\label{wxdebugcontextgetdebugmode} - -\func{bool}{GetDebugMode}{\void} - -Returns TRUE if debug mode is on. If debug mode is on, the wxObject new and delete -operators store or use information about memory allocation. Otherwise, -a straight malloc and free will be performed by these operators. - -\wxheading{See also} - -\helpref{wxDebugContext::SetDebugMode}{wxdebugcontextsetdebugmode} - -\membersection{wxDebugContext::GetLevel}\label{wxdebugcontextgetlevel} - -\func{int}{GetLevel}{\void} - -Gets the debug level (default 1). The debug level is used by the wxTraceLevel function and -the WXTRACELEVEL macro to specify how detailed the trace information is; setting -a different level will only have an effect if trace statements in the application -specify a value other than one. - -\wxheading{See also} - -\helpref{wxDebugContext::SetLevel}{wxdebugcontextsetlevel} - -\membersection{wxDebugContext::GetStream}\label{wxdebugcontextgetstream} - -\func{ostream\&}{GetStream}{\void} - -Returns the output stream associated with the debug context. - -\wxheading{See also} - -\helpref{wxDebugContext::SetStream}{wxdebugcontextsetstream} - -\membersection{wxDebugContext::GetStreamBuf}\label{wxdebugcontextgetstreambuf} - -\func{streambuf*}{GetStreamBuf}{\void} - -Returns a pointer to the output stream buffer associated with the debug context. -There may not necessarily be a stream buffer if the stream has been set -by the user. - -\membersection{wxDebugContext::HasStream}\label{wxdebugcontexthasstream} - -\func{bool}{HasStream}{\void} - -Returns TRUE if there is a stream currently associated -with the debug context. - -\wxheading{See also} - -\helpref{wxDebugContext::SetStream}{wxdebugcontextsetstream}, \helpref{wxDebugContext::GetStream}{wxdebugcontextgetstream} - -\membersection{wxDebugContext::PrintClasses}\label{wxdebugcontextprintclasses} - -\func{bool}{PrintClasses}{\void} - -Prints a list of the classes declared in this application, giving derivation -and whether instances of this class can be dynamically created. - -\wxheading{See also} - -\helpref{wxDebugContext::PrintStatistics}{wxdebugcontextprintstatistics} - -\membersection{wxDebugContext::PrintStatistics}\label{wxdebugcontextprintstatistics} - -\func{bool}{PrintStatistics}{\param{bool}{ detailed = TRUE}} - -Performs a statistics analysis from the currently set checkpoint, writing -to the current debug stream. The number of object and non-object -allocations is printed, together with the total size. - -\wxheading{Parameters} - -\docparam{detailed}{If TRUE, the function will also print how many -objects of each class have been allocated, and the space taken by -these class instances.} - -\wxheading{See also} - -\helpref{wxDebugContext::PrintStatistics}{wxdebugcontextprintstatistics} - -\membersection{wxDebugContext::SetCheckpoint}\label{wxdebugcontextsetcheckpoint} - -\func{void}{SetCheckpoint}{\param{bool}{ all = FALSE}} - -Sets the current checkpoint: Dump and PrintStatistics operations will -be performed from this point on. This allows you to ignore allocations -that have been performed up to this point. - -\wxheading{Parameters} - -\docparam{all}{If TRUE, the checkpoint is reset to include all -memory allocations since the program started.} - -\membersection{wxDebugContext::SetCheckPrevious}\label{wxdebugcontextsetcheckprevious} - -\func{void}{SetCheckPrevious}{\param{bool}{ check}} - -Tells the memory allocator to check all previous memory blocks for errors. -By default, this is FALSE since it slows down execution considerably. - -\wxheading{See also} - -\helpref{wxDebugContext::GetCheckPrevious}{wxdebugcontextgetcheckprevious} - -\membersection{wxDebugContext::SetDebugMode}\label{wxdebugcontextsetdebugmode} - -\func{void}{SetDebugMode}{\param{bool}{ debug}} - -Sets the debug mode on or off. If debug mode is on, the wxObject new and delete -operators store or use information about memory allocation. Otherwise, -a straight malloc and free will be performed by these operators. - -By default, debug mode is on if DEBUG is non-zero. If the application -uses this function, it should make sure that all object memory allocated -is deallocated with the same value of debug mode. Otherwise, the -delete operator might try to look for memory information that does not -exist. - -\wxheading{See also} - -\helpref{wxDebugContext::GetDebugMode}{wxdebugcontextgetdebugmode} - -\membersection{wxDebugContext::SetFile}\label{wxdebugcontextsetfile} - -\func{bool}{SetFile}{\param{const wxString\& }{filename}} - -Sets the current debug file and creates a stream. This will delete any existing -stream and stream buffer. By default, the debug context stream -outputs to the debugger (Windows) or standard error (other platforms). - -\membersection{wxDebugContext::SetLevel}\label{wxdebugcontextsetlevel} - -\func{void}{SetLevel}{\param{int}{ level}} - -Sets the debug level (default 1). The debug level is used by the wxTraceLevel function and -the WXTRACELEVEL macro to specify how detailed the trace information is; setting -a different level will only have an effect if trace statements in the application -specify a value other than one. - -\wxheading{See also} - -\helpref{wxDebugContext::GetLevel}{wxdebugcontextgetlevel} - -\membersection{wxDebugContext::SetStandardError}\label{wxdebugcontextsetstandarderror} - -\func{bool}{SetStandardError}{\void} - -Sets the debugging stream to be the debugger (Windows) or standard error (other platforms). -This is the default setting. The existing stream will be flushed and deleted. - -\membersection{wxDebugContext::SetStream}\label{wxdebugcontextsetstream} - -\func{void}{SetStream}{\param{ostream* }{stream}, \param{streambuf* }{streamBuf = NULL}} - -Sets the stream and optionally, stream buffer associated with the debug context. -This operation flushes and deletes the existing stream (and stream buffer if any). - -\wxheading{Parameters} - -\docparam{stream}{Stream to associate with the debug context. Do not set this to NULL.} - -\docparam{streamBuf}{Stream buffer to associate with the debug context.} - -\wxheading{See also} - -\helpref{wxDebugContext::GetStream}{wxdebugcontextgetstream}, \helpref{wxDebugContext::HasStream}{wxdebugcontexthasstream} - -\section{\class{wxDebugStreamBuf}}\label{wxdebugstreambuf} - -This class allows you to treat debugging output in a similar -(stream-based) fashion on different platforms. Under -Windows, an ostream constructed with this buffer outputs -to the debugger, or other program that intercepts debugging -output. On other platforms, the output goes to standard error (cerr). - -\wxheading{Derived from} - -streambuf - -\wxheading{Example} - -\begin{verbatim} - wxDebugStreamBuf streamBuf; - ostream stream(&streamBuf); - - stream << "Hello world!" << endl; -\end{verbatim} - -\wxheading{See also} - -\overview{Overview}{wxdebugcontextoverview} - - diff --git a/docs/latex/wx/dialog.tex b/docs/latex/wx/dialog.tex deleted file mode 100644 index 95d758c852..0000000000 --- a/docs/latex/wx/dialog.tex +++ /dev/null @@ -1,311 +0,0 @@ -\section{\class{wxDialog}}\label{wxdialog} - -A dialog box is a window with a title bar and sometimes a system menu, which can be moved around -the screen. It can contain controls and other windows. - -\wxheading{Derived from} - -\helpref{wxPanel}{wxpanel}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -There are two kinds of dialog - {\it modal} and {\it modeless}. A modal dialog -blocks program flow and user input on other windows until it is dismissed, whereas a modeless dialog behaves more -like a frame in that program flow continues, and input on other windows is still possible. -You specify the type of dialog with the {\bf wxDIALOG\_MODAL} and {\bf wxDIALOG\_MODELESS} window -styles. - -A dialog may be loaded from a wxWindows resource file (extension {\tt wxr}). - -An application can define an \helpref{OnCloseWindow}{wxwindowonclosewindow} handler for the -dialog to respond to system close events. - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the dialog box (Motif only).} -\twocolitem{\windowstyle{wxDEFAULT\_DIALOG\_STYLE}}{Equivalent to a combination of wxCAPTION, wxSYSTEM\_MENU and wxTHICK\_FRAME} -\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Display a resizeable frame around the window (Motif only).} -\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Display a system menu.} -\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Display a thick frame around the window.} -\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{The dialog stays on top of all other windows (Windows only).} -\twocolitem{\windowstyle{wxNO\_3D}}{Under Windows, specifies that the child controls -should not have 3D borders unless specified in the control.} -\end{twocollist} - -Under Motif, MWM (the Motif Window Manager) should be running for any of these styles to have an effect. - -See also \helpref{Generic window styles}{windowstyles}. - -\wxheading{See also} - -\helpref{wxDialog overview}{wxdialogoverview}, \helpref{wxFrame}{wxframe}, \helpref{Resources}{resources},\rtfsp -\helpref{Validator overview}{validatoroverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDialog::wxDialog}\label{wxdialogconstr} - -\func{}{wxDialog}{\void} - -Default constructor. - -\func{}{wxDialog}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp -\param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxDEFAULT\_DIALOG\_STYLE},\rtfsp -\param{const wxString\& }{name = ``dialogBox"}} - -Constructor. - -\wxheading{Parameters} - -\docparam{parent}{Can be NULL, a frame or another dialog box.} - -\docparam{id}{An identifier for the dialog. A value of -1 is taken to mean a default.} - -\docparam{title}{The title of the dialog.} - -\docparam{pos}{The dialog position. A value of (-1, -1) indicates a default position, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{size}{The dialog size. A value of (-1, -1) indicates a default size, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{style}{The window style. See \helpref{wxDialog}{wxdialog}.} - -\docparam{name}{Used to associate a name with the window, -allowing the application user to set Motif resource values for -individual dialog boxes.} - -\wxheading{See also} - -\helpref{wxDialog::Create}{wxdialogcreate} - -\membersection{wxDialog::\destruct{wxDialog}} - -\func{}{\destruct{wxDialog}}{\void} - -Destructor. Deletes any child windows before deleting the physical window. - -\membersection{wxDialog::Centre}\label{wxdialogcentre} - -\func{void}{Centre}{\param{int}{ direction = wxBOTH}} - -Centres the dialog box on the display. - -\wxheading{Parameters} - -\docparam{direction}{May be {\tt wxHORIZONTAL}, {\tt wxVERTICAL} or {\tt wxBOTH}.} - -\membersection{wxDialog::Create}\label{wxdialogcreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp -\param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxDEFAULT\_DIALOG\_STYLE},\rtfsp -\param{const wxString\& }{name = ``dialogBox"}} - -Used for two-step dialog box construction. See \helpref{wxDialog::wxDialog}{wxdialogconstr}\rtfsp -for details. - -\membersection{wxDialog::EndModal}\label{wxdialogendmodal} - -\func{void}{EndModal}{\param{int }{retCode}} - -Ends a modal dialog, passing a value to be returned from the \helpref{wxDialog::ShowModal}{wxdialogshowmodal}\rtfsp -invocation. - -\wxheading{Parameters} - -\docparam{retCode}{The value that should be returned by {\bf ShowModal}.} - -\wxheading{See also} - -\helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp -\helpref{wxWindow::GetReturnCode}{wxwindowgetreturncode},\rtfsp -\helpref{wxWindow::SetReturnCode}{wxwindowsetreturncode} - -\membersection{wxDialog::GetTitle}\label{wxdialoggettitle} - -\constfunc{wxString}{GetTitle}{\void} - -Returns the title of the dialog box. - -\membersection{wxDialog::Iconize}\label{wxdialogiconized} - -\func{void}{Iconize}{\param{const bool}{ iconize}} - -Iconizes or restores the dialog. - -\wxheading{Parameters} - -\docparam{iconize}{If TRUE, iconizes the dialog box; if FALSE, shows and restores it.} - -\wxheading{Remarks} - -Note that in Windows, iconization has no effect since dialog boxes cannot be -iconized. However, applications may need to explicitly restore dialog -boxes under Motif which have user-iconizable frames, and under Windows -calling {\tt Iconize(FALSE)} will bring the window to the front, as does -\rtfsp{\tt Show(TRUE)}. - -\membersection{wxDialog::IsIconized}\label{wxdialogisiconized} - -\constfunc{bool}{IsIconized}{\void} - -Returns TRUE if the dialog box is iconized. - -\wxheading{Remarks} - -Always returns FALSE under Windows since dialogs cannot be iconized. - -\membersection{wxDialog::IsModal}\label{wxdialogismodal} - -\constfunc{bool}{IsModal}{\void} - -Returns TRUE if the dialog box is modal, FALSE otherwise. - -\membersection{wxDialog::OnCharHook}\label{wxdialogoncharhook} - -\func{void}{OnCharHook}{\param{wxKeyEvent\&}{ event}} - -This member is called to allow the window to intercept keyboard events -before they are processed by child windows. - -For more information, see \helpref{wxWindow::OnCharHook}{wxwindowoncharhook} - -\wxheading{Remarks} - -wxDialog implements this handler to fake a cancel command if the escape key has been -pressed. This will dismiss the dialog. - -\membersection{wxDialog::OnApply}\label{wxdialogonapply} - -\func{void}{OnApply}{\param{wxCommandEvent\& }{event}} - -The default handler for the wxID\_APPLY identifier. - -\wxheading{Remarks} - -This function calls \helpref{wxWindow::Validate}{wxwindowvalidate} and \helpref{wxWindow::TransferDataToWindow}{wxwindowtransferdatatowindow}. - -\wxheading{See also} - -\helpref{wxDialog::OnOK}{wxdialogonok}, \helpref{wxDialog::OnCancel}{wxdialogoncancel} - -\membersection{wxDialog::OnCancel}\label{wxdialogoncancel} - -\func{void}{OnCancel}{\param{wxCommandEvent\& }{event}} - -The default handler for the wxID\_CANCEL identifier. - -\wxheading{Remarks} - -The function either calls {\bf EndModal(wxID\_CANCEL)} if the dialog is modal, or -sets the return value to wxID\_CANCEL and calls {\bf Show(FALSE)} if the dialog is modeless. - -\wxheading{See also} - -\helpref{wxDialog::OnOK}{wxdialogonok}, \helpref{wxDialog::OnApply}{wxdialogonapply} - -\membersection{wxDialog::OnOK}\label{wxdialogonok} - -\func{void}{OnOK}{\param{wxCommandEvent\& }{event}} - -The default handler for the wxID\_OK identifier. - -\wxheading{Remarks} - -The function calls -\rtfsp\helpref{wxWindow::Validate}{wxwindowvalidate}, then \helpref{wxWindow::TransferDataFromWindow}{wxwindowtransferdatafromwindow}. -If this returns TRUE, the function either calls {\bf EndModal(wxID\_OK)} if the dialog is modal, or -sets the return value to wxID\_OK and calls {\bf Show(FALSE)} if the dialog is modeless. - -\wxheading{See also} - -\helpref{wxDialog::OnCancel}{wxdialogoncancel}, \helpref{wxDialog::OnApply}{wxdialogonapply} - -\membersection{wxDialog::OnSysColourChanged}\label{wxdialogonsyscolourchanged} - -\func{void}{OnSysColourChanged}{\param{wxSysColourChangedEvent\& }{event}} - -The default handler for wxEVT\_SYS\_COLOUR\_CHANGED. - -\wxheading{Parameters} - -\docparam{event}{The colour change event.} - -\wxheading{Remarks} - -Changes the dialog's colour to conform to the current settings (Windows only). -Add an event table entry for your dialog class if you wish the behaviour -to be different (such as keeping a user-defined -background colour). If you do override this function, call \helpref{wxWindow::OnSysColourChanged}{wxwindowonsyscolourchanged} to -propagate the notification to child windows and controls. - -\wxheading{See also} - -\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent} - -\membersection{wxDialog::SetModal}\label{wxdialogsetmodal} - -\func{void}{SetModal}{\param{const bool}{ flag}} - -Allows the programmer to specify whether the dialog box is modal (wxDialog::Show blocks control -until the dialog is hidden) or modeless (control returns immediately). - -\wxheading{Parameters} - -\docparam{flag}{If TRUE, the dialog will be modal, otherwise it will be modeless.} - -\membersection{wxDialog::SetTitle}\label{wxdialogsettitle} - -\func{void}{SetTitle}{\param{const wxString\& }{ title}} - -Sets the title of the dialog box. - -\wxheading{Parameters} - -\docparam{title}{The dialog box title.} - -\membersection{wxDialog::Show}\label{wxdialogshow} - -\func{bool}{Show}{\param{const bool}{ show}} - -Hides or shows the dialog. - -\wxheading{Parameters} - -\docparam{show}{If TRUE, the dialog box is shown and brought to the front; -otherwise the box is hidden. If FALSE and the dialog is -modal, control is returned to the calling program.} - -\wxheading{Remarks} - -The preferred way of dismissing a modal dialog is to use \helpref{wxDialog::EndModal}{wxdialogendmodal}. - -\membersection{wxDialog::ShowModal}\label{wxdialogshowmodal} - -\func{int}{ShowModal}{\void} - -Shows a modal dialog. Program flow does not return until the dialog has been dismissed with\rtfsp -\helpref{wxDialog::EndModal}{wxdialogendmodal}. - -\wxheading{Return value} - -The return value is the value set with \helpref{wxWindow::SetReturnCode}{wxwindowsetreturncode}. - -\wxheading{See also} - -\helpref{wxDialog::EndModal}{wxdialogendmodal},\rtfsp -\helpref{wxWindow::GetReturnCode}{wxwindowgetreturncode},\rtfsp -\helpref{wxWindow::SetReturnCode}{wxwindowsetreturncode} - - diff --git a/docs/latex/wx/dirdlg.tex b/docs/latex/wx/dirdlg.tex deleted file mode 100644 index 5a012a99f4..0000000000 --- a/docs/latex/wx/dirdlg.tex +++ /dev/null @@ -1,86 +0,0 @@ -\section{\class{wxDirDialog}}\label{wxdirdialog} - -This class represents the directory chooser dialog. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxDirDialog overview}{wxdirdialogoverview}, \helpref{wxFileDialog}{wxfiledialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogconstr} - -\func{}{wxDirDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message = "Choose a directory"},\rtfsp -\param{const wxString\& }{defaultPath = ""}, \param{long }{style = 0}, \param{const wxPoint\& }{pos = wxDefaultPosition}} - -Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show the dialog. - -\wxheading{Parameters} - -\docparam{parent}{Parent window.} - -\docparam{message}{Message to show on the dialog.} - -\docparam{defaultPath}{The default path, or the empty string.} - -\docparam{style}{A dialog style, currently unused.} - -\docparam{pos}{Dialog position. Not implemented.} - -\membersection{wxDirDialog::\destruct{wxDirDialog}} - -\func{}{\destruct{wxDirDialog}}{\void} - -Destructor. - -\membersection{wxDirDialog::GetPath}\label{wxdirdialoggetpath} - -\constfunc{wxString}{GetPath}{\void} - -Returns the default or user-selected path. - -\membersection{wxDirDialog::GetMessage}\label{wxdirdialoggetmessage} - -\constfunc{wxString}{GetMessage}{\void} - -Returns the message that will be displayed on the dialog. - -\membersection{wxDirDialog::GetStyle}\label{wxdirdialoggetstyle} - -\constfunc{long}{GetStyle}{\void} - -Returns the dialog style. - -\membersection{wxDirDialog::SetMessage}\label{wxdirdialogsetmessage} - -\func{void}{SetMessage}{\param{const wxString\& }{message}} - -Sets the message that will be displayed on the dialog. - -\membersection{wxDirDialog::SetPath}\label{wxdirdialogsetpath} - -\func{void}{SetPath}{\param{const wxString\& }{path}} - -Sets the default path. - -\membersection{wxDirDialog::SetStyle}\label{wxdirdialogsetstyle} - -\func{void}{SetStyle}{\param{long }{style}} - -Sets the dialog style. This is currently unused. - -\membersection{wxDirDialog::ShowModal}\label{wxdirdialogshowmodal} - -\func{int}{ShowModal}{\void} - -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL -otherwise. - - diff --git a/docs/latex/wx/docchfrm.tex b/docs/latex/wx/docchfrm.tex deleted file mode 100644 index 37479e12bf..0000000000 --- a/docs/latex/wx/docchfrm.tex +++ /dev/null @@ -1,88 +0,0 @@ -\section{\class{wxDocChildFrame}}\label{wxdocchildframe} - -The wxDocChildFrame class provides a default frame for displaying documents -on separate windows. This class can only be used for SDI (not MDI) child frames. - -The class is part of the document/view framework supported by wxWindows, -and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}, -\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes. - -See the example application in {\tt samples/docview}. - -\wxheading{Derived from} - -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe} - -\membersection{wxDocChildFrame::m\_childDocument} - -\member{wxDocument*}{m\_childDocument} - -The document associated with the frame. - -\membersection{wxDocChildFrame::m\_childView} - -\member{wxView*}{m\_childView} - -The view associated with the frame. - -\membersection{wxDocChildFrame::wxDocChildFrame} - -\func{}{wxDocChildFrame}{\param{wxDocument* }{doc}, \param{wxView* }{view}, \param{wxFrame* }{parent}, - \param{wxWindowID}{ id}, \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, - \param{const wxSize\&}{ size = wxDefaultSize}, - \param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = ``frame"}} - -Constructor. - -\membersection{wxDocChildFrame::\destruct{wxDocChildFrame}} - -\func{}{\destruct{wxDocChildFrame}}{\void} - -Destructor. - -\membersection{wxDocChildFrame::GetDocument} - -\constfunc{wxDocument*}{GetDocument}{\void} - -Returns the document associated with this frame. - -\membersection{wxDocChildFrame::GetView} - -\constfunc{wxView*}{GetView}{\void} - -Returns the view associated with this frame. - -\membersection{wxDocChildFrame::OnActivate} - -\func{void}{OnActivate}{\param{bool}{ active}} - -Sets the currently active view to be the frame's view. You may need -to override (but still call) this function in order to set the keyboard -focus for your subwindow. - -\membersection{wxDocChildFrame::OnClose} - -\func{virtual bool}{OnClose}{\void} - -Closes and deletes the current view and document. - -\membersection{wxDocChildFrame::SetDocument} - -\func{void}{SetDocument}{\param{wxDocument *}{doc}} - -Sets the document for this frame. - -\membersection{wxDocChildFrame::SetView} - -\func{void}{SetView}{\param{wxView *}{view}} - -Sets the view for this frame. - - diff --git a/docs/latex/wx/docmanag.tex b/docs/latex/wx/docmanag.tex deleted file mode 100644 index 1cfbfbe0b7..0000000000 --- a/docs/latex/wx/docmanag.tex +++ /dev/null @@ -1,335 +0,0 @@ -\section{\class{wxDocManager}}\label{wxdocmanager} - -The wxDocManager class is part of the document/view framework supported by wxWindows, -and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}\rtfsp -and \helpref{wxDocTemplate}{wxdoctemplate} classes. - -\wxheading{Derived from} - -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxDocManager overview}{wxdocmanageroverview}, \helpref{wxDocument}{wxdocument},\rtfsp -\helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDocManager::m\_currentView} - -\member{wxView*}{m\_currentView} - -The currently active view. - -\membersection{wxDocManager::m\_defaultDocumentNameCounter} - -\member{int}{m\_defaultDocumentNameCounter} - -Stores the integer to be used for the next default document name. - -\membersection{wxDocManager::m\_fileHistory} - -\member{wxFileHistory*}{m\_fileHistory} - -A pointer to an instance of \helpref{wxFileHistory}{wxfilehistory}, -which manages the history of recently-visited files on the File menu. - -\membersection{wxDocManager::m\_maxDocsOpen} - -\member{int}{m\_maxDocsOpen} - -Stores the maximum number of documents that can be opened before -existing documents are closed. By default, this is 10,000. - -\membersection{wxDocManager::m\_docs} - -\member{wxList}{m\_docs} - -A list of all documents. - -\membersection{wxDocManager::m\_flags} - -\member{long}{m\_flags} - -Stores the flags passed to the constructor. - -\membersection{wxDocManager::m\_templates} - -\member{wxList}{mnTemplates} - -A list of all document templates. - -\membersection{wxDocManager::wxDocManager} - -\func{void}{wxDocManager}{\param{long}{ flags = wxDEFAULT\_DOCMAN\_FLAGS}, \param{bool}{ initialize = TRUE}} - -Constructor. Create a document manager instance dynamically near the start of your application -before doing any document or view operations. - -{\it flags} is currently unused. - -If {\it initialize} is TRUE, the \helpref{Initialize}{wxdocmanagerinitialize} function will be called -to create a default history list object. If you derive from wxDocManager, you may wish to call the -base constructor with FALSE, and then call Initialize in your own constructor, to allow -your own Initialize or OnCreateFileHistory functions to be called. - -\membersection{wxDocManager::\destruct{wxDocManager}} - -\func{void}{\destruct{wxDocManager}}{\void} - -Destructor. - -\membersection{wxDocManager::ActivateView} - -\func{void}{ActivateView}{\param{wxView* }{doc}, \param{bool}{ activate}, \param{bool}{ deleting}} - -Sets the current view. - -\membersection{wxDocManager::AddDocument} - -\func{void}{AddDocument}{\param{wxDocument *}{doc}} - -Adds the document to the list of documents. - -\membersection{wxDocManager::AddFileToHistory} - -\func{void}{AddFileToHistory}{\param{const wxString\& }{filename}} - -Adds a file to the file history list, if we have a pointer to an appropriate file menu. - -\membersection{wxDocManager::AssociateTemplate} - -\func{void}{AssociateTemplate}{\param{wxDocTemplate *}{temp}} - -Adds the template to the document manager's template list. - -\membersection{wxDocManager::CreateDocument} - -\func{wxDocument*}{CreateDocument}{\param{const wxString\& }{path}, \param{long}{ flags}} - -Creates a new document in a manner determined by the {\it flags} parameter, which can be: - -\begin{itemize}\itemsep=0pt -\item wxDOC\_NEW Creates a fresh document. -\item wxDOC\_SILENT Silently loads the given document file. -\end{itemize} - -If wxDOC\_NEW is present, a new document will be created and returned, possibly after -asking the user for a template to use if there is more than one document template. -If wxDOC\_SILENT is present, a new document will be created and the given file loaded -into it. If neither of these flags is present, the user will be presented with -a file selector for the file to load, and the template to use will be determined by the -extension (Windows) or by popping up a template choice list (other platforms). - -If the maximum number of documents has been reached, this function -will delete the oldest currently loaded document before creating a new one. - -\membersection{wxDocManager::CreateView} - -\func{wxView*}{CreateView}{\param{wxDocument*}{doc}, \param{long}{ flags}} - -Creates a new view for the given document. If more than one view is allowed for the -document (by virtue of multiple templates mentioning the same document type), a choice -of view is presented to the user. - -\membersection{wxDocManager::DisassociateTemplate} - -\func{void}{DisassociateTemplate}{\param{wxDocTemplate *}{temp}} - -Removes the template from the list of templates. - -\membersection{wxDocManager::FileHistoryLoad} - -\func{void}{FileHistoryLoad}{\param{const wxString\& }{resourceFile}, \param{const wxString\& }{sectionName}} - -Loads the file history from a resource file, using the given section. This must be called -explicitly by the application. - -\membersection{wxDocManager::FileHistorySave} - -\func{void}{FileHistorySave}{\param{const wxString\& }{resourceFile}, \param{const wxString\& }{sectionName}} - -Saves the file history into a resource file, using the given section. This must be called -explicitly by the application. - -\membersection{wxDocManager::FileHistoryUseMenu} - -\func{void}{FileHistoryUseMenu}{\param{wxMenu *}{menu}} - -Use this menu for appending recently-visited document filenames, for convenient -access. Calling this function with a valid menu pointer enables the history -list functionality. - -\membersection{wxDocManager::FindTemplateForPath} - -\func{wxDocTemplate *}{FindTemplateForPath}{\param{const wxString\& }{path}} - -Given a path, try to find template that matches the extension. This is only -an approximate method of finding a template for creating a document. - -\membersection{wxDocManager::GetCurrentDocument} - -\func{wxDocument *}{GetCurrentDocument}{\void} - -Returns the document associated with the currently active view (if any). - -\membersection{wxDocManager::GetCurrentView} - -\func{wxView *}{GetCurrentView}{\void} - -Returns the currently active view - -\membersection{wxDocManager::GetDocuments} - -\func{wxList\&}{GetDocuments}{\void} - -Returns a reference to the list of documents. - -\membersection{wxDocManager::GetFileHistory} - -\func{wxFileHistory *}{GetFileHistory}{\void} - -Returns a pointer to file history. - -\membersection{wxDocManager::GetMaxDocsOpen} - -\func{int}{GetMaxDocsOpen}{\void} - -Returns the number of documents that can be open simultaneously. - -\membersection{wxDocManager::GetNoHistoryFiles} - -\func{int}{GetNoHistoryFiles}{\void} - -Returns the number of files currently stored in the file history. - -\membersection{wxDocManager::Initialize}\label{wxdocmanagerinitialize} - -\func{bool}{Initialize}{\void} - -Initializes data; currently just calls OnCreateFileHistory. Some data cannot -always be initialized in the constructor because the programmer must be given -the opportunity to override functionality. If OnCreateFileHistory was called -from the constructor, an overridden virtual OnCreateFileHistory would not be -called due to C++'s `interesting' constructor semantics. In fact Initialize -\rtfsp{\it is} called from the wxDocManager constructor, but this can be -vetoed by passing FALSE to the second argument, allowing the derived class's -constructor to call Initialize, possibly calling a different OnCreateFileHistory -from the default. - -The bottom line: if you're not deriving from Initialize, forget it and -construct wxDocManager with no arguments. - -\membersection{wxDocManager::MakeDefaultName} - -\func{bool}{MakeDefaultName}{\param{const wxString\& }{buf}} - -Copies a suitable default name into {\it buf}. This is implemented by -appending an integer counter to the string {\bf unnamed} and incrementing -the counter. - -\membersection{wxDocManager::OnCreateFileHistory} - -\func{wxFileHistory *}{OnCreateFileHistory}{\void} - -A hook to allow a derived class to create a different type of file history. Called -from \helpref{Initialize}{wxdocmanagerinitialize}. - -\membersection{wxDocManager::OnFileClose} - -\func{void}{OnFileClose}{\void} - -Closes and deletes the currently active document. - -\membersection{wxDocManager::OnFileNew} - -\func{void}{OnFileNew}{\void} - -Creates a document from a list of templates (if more than one template). - -\membersection{wxDocManager::OnFileOpen} - -\func{void}{OnFileOpen}{\void} - -Creates a new document and reads in the selected file. - -\membersection{wxDocManager::OnFileSave} - -\func{void}{OnFileSave}{\void} - -Saves the current document by calling wxDocument::Save for the current document. - -\membersection{wxDocManager::OnFileSaveAs} - -\func{void}{OnFileSaveAs}{\void} - -Calls wxDocument::SaveAs for the current document. - -\membersection{wxDocManager::OnMenuCommand} - -\func{void}{OnMenuCommand}{\param{int}{ cmd}} - -Processes menu commands routed from child or parent frames. This deals -with the following predefined menu item identifiers: - -\begin{itemize}\itemsep=0pt -\item wxID\_OPEN Creates a new document and opens a file into it. -\item wxID\_CLOSE Closes the current document. -\item wxID\_NEW Creates a new document. -\item wxID\_SAVE Saves the document. -\item wxID\_SAVE\_AS Saves the document into a specified filename. -\end{itemize} - -Unrecognized commands are routed to the currently active wxView's OnMenuCommand. - -\membersection{wxDocManager::RemoveDocument} - -\func{void}{RemoveDocument}{\param{wxDocument *}{doc}} - -Removes the document from the list of documents. - -\membersection{wxDocManager::SelectDocumentPath} - -\func{wxDocTemplate *}{SelectDocumentPath}{\param{wxDocTemplate **}{templates}, - \param{int}{ noTemplates}, \param{const wxString\& }{path}, \param{const wxString\& }{bufSize}, - \param{long}{ flags}, \param{bool}{ save}} - -Under Windows, pops up a file selector with a list of filters corresponding to document templates. -The wxDocTemplate corresponding to the selected file's extension is returned. - -On other platforms, if there is more than one document template a choice list is popped up, -followed by a file selector. - -This function is used in wxDocManager::CreateDocument. - -\membersection{wxDocManager::SelectDocumentType} - -\func{wxDocTemplate *}{SelectDocumentType}{\param{wxDocTemplate **}{templates}, - \param{int}{ noTemplates}} - -Returns a document template by asking the user (if there is more than one template). -This function is used in wxDocManager::CreateDocument. - -\membersection{wxDocManager::SelectViewType} - -\func{wxDocTemplate *}{SelectViewType}{\param{wxDocTemplate **}{templates}, - \param{int}{ noTemplates}} - -Returns a document template by asking the user (if there is more than one template), -displaying a list of valid views. This function is used in wxDocManager::CreateView. -The dialog normally won't appear because the array of templates only contains -those relevant to the document in question, and often there will only be one such. - -\membersection{wxDocManager::SetMaxDocsOpen} - -\func{void}{SetMaxDocsOpen}{\param{int}{ n}} - -Sets the maximum number of documents that can be open at a time. By default, this -is 10,000. If you set it to 1, existing documents will be saved and deleted -when the user tries to open or create a new one (similar to the behaviour -of Windows Write, for example). Allowing multiple documents gives behaviour -more akin to MS Word and other Multiple Document Interface applications. - - - diff --git a/docs/latex/wx/docmdich.tex b/docs/latex/wx/docmdich.tex deleted file mode 100644 index b9b16ac740..0000000000 --- a/docs/latex/wx/docmdich.tex +++ /dev/null @@ -1,89 +0,0 @@ -\section{\class{wxDocMDIChildFrame}}\label{wxdocmdichildframe} - -The wxDocMDIChildFrame class provides a default frame for displaying documents -on separate windows. This class can only be used for MDI child frames. - -The class is part of the document/view framework supported by wxWindows, -and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}, -\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes. - -See the example application in {\tt samples/docview}. - -\wxheading{Derived from} - -\helpref{wxMDIChildFrame}{wxmdichildframe}\\ -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIChildFrame}{wxmdichildframe} - -\membersection{wxDocMDIChildFrame::m\_childDocument} - -\member{wxDocument*}{m\_childDocument} - -The document associated with the frame. - -\membersection{wxDocMDIChildFrame::m\_childView} - -\member{wxView*}{m\_childView} - -The view associated with the frame. - -\membersection{wxDocMDIChildFrame::wxDocMDIChildFrame} - -\func{}{wxDocMDIChildFrame}{\param{wxDocument* }{doc}, \param{wxView* }{view}, \param{wxFrame* }{parent}, - \param{wxWindowID}{ id}, \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, - \param{const wxSize\&}{ size = wxDefaultSize}, - \param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = ``frame"}} - -Constructor. - -\membersection{wxDocMDIChildFrame::\destruct{wxDocMDIChildFrame}} - -\func{}{\destruct{wxDocMDIChildFrame}}{\void} - -Destructor. - -\membersection{wxDocMDIChildFrame::GetDocument} - -\constfunc{wxDocument*}{GetDocument}{\void} - -Returns the document associated with this frame. - -\membersection{wxDocMDIChildFrame::GetView} - -\constfunc{wxView*}{GetView}{\void} - -Returns the view associated with this frame. - -\membersection{wxDocMDIChildFrame::OnActivate} - -\func{void}{OnActivate}{\param{bool}{ active}} - -Sets the currently active view to be the frame's view. You may need -to override (but still call) this function in order to set the keyboard -focus for your subwindow. - -\membersection{wxDocMDIChildFrame::OnClose} - -\func{virtual bool}{OnClose}{\void} - -Closes and deletes the current view and document. - -\membersection{wxDocMDIChildFrame::SetDocument} - -\func{void}{SetDocument}{\param{wxDocument *}{doc}} - -Sets the document for this frame. - -\membersection{wxDocMDIChildFrame::SetView} - -\func{void}{SetView}{\param{wxView *}{view}} - -Sets the view for this frame. - - diff --git a/docs/latex/wx/docmdipr.tex b/docs/latex/wx/docmdipr.tex deleted file mode 100644 index 5bb084dcfe..0000000000 --- a/docs/latex/wx/docmdipr.tex +++ /dev/null @@ -1,79 +0,0 @@ -\section{\class{wxDocMDIParentFrame}}\label{wxdocmdiparentframe} - -The wxDocMDIParentFrame class provides a default top-level frame for -applications using the document/view framework. This class can only be used for MDI parent frames. - -It cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}, -\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplates}{wxdoctemplate} classes. - -See the example application in {\tt samples/docview}. - -\wxheading{Derived from} - -\helpref{wxMDIParentFrame}{wxmdiparentframe}\\ -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIParentFrame}{wxmdiparentframe} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDocMDIParentFrame::wxDocMDIParentFrame} - -\func{}{wxDocMDIParentFrame}{\param{wxFrame *}{parent}, \param{wxWindowID}{ id}, - \param{const wxString\& }{title}, \param{int}{ x}, \param{int}{ y}, \param{int}{ width}, \param{int}{ height}, - \param{long}{ style}, \param{const wxString\& }{name}} - -Constructor. - -\membersection{wxDocMDIParentFrame::\destruct{wxDocMDIParentFrame}} - -\func{}{\destruct{wxDocMDIParentFrame}}{\void} - -Destructor. - -\membersection{wxDocMDIParentFrame::OnClose} - -\func{bool}{OnClose}{\void} - -Deletes all views and documents. If no user input cancelled the -operation, the function returns TRUE and the application will exit. - -Since understanding how document/view clean-up takes place can be difficult, -the implementation of this function is shown below. - -\begin{verbatim} -bool wxDocMDIParentFrame::OnClose(void) -{ - // Delete all views and documents - wxNode *node = docManager->GetDocuments().First(); - while (node) - { - wxDocument *doc = (wxDocument *)node->Data(); - wxNode *next = node->Next(); - - if (!doc->Close()) - return FALSE; - - // Implicitly deletes the document when the last - // view is removed (deleted) - doc->DeleteAllViews(); - - // Check document is deleted - if (docManager->GetDocuments().Member(doc)) - delete doc; - - // This assumes that documents are not connected in - // any way, i.e. deleting one document does NOT - // delete another. - node = next; - } - return TRUE; -} -\end{verbatim} - - diff --git a/docs/latex/wx/docprfrm.tex b/docs/latex/wx/docprfrm.tex deleted file mode 100644 index f0eff917de..0000000000 --- a/docs/latex/wx/docprfrm.tex +++ /dev/null @@ -1,78 +0,0 @@ -\section{\class{wxDocParentFrame}}\label{wxdocparentframe} - -The wxDocParentFrame class provides a default top-level frame for -applications using the document/view framework. This class can only be used for SDI (not MDI) parent frames. - -It cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}, -\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplates}{wxdoctemplate} classes. - -See the example application in {\tt samples/docview}. - -\wxheading{Derived from} - -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDocParentFrame::wxDocParentFrame} - -\func{}{wxDocParentFrame}{\param{wxFrame *}{parent}, \param{wxWindowID}{ id}, - \param{const wxString\& }{title}, \param{int}{ x}, \param{int}{ y}, \param{int}{ width}, \param{int}{ height}, - \param{long}{ style}, \param{const wxString\& }{name}} - -Constructor. - -\membersection{wxDocParentFrame::\destruct{wxDocParentFrame}} - -\func{}{\destruct{wxDocParentFrame}}{\void} - -Destructor. - -\membersection{wxDocParentFrame::OnClose} - -\func{bool}{OnClose}{\void} - -Deletes all views and documents. If no user input cancelled the -operation, the function returns TRUE and the application will exit. - -Since understanding how document/view clean-up takes place can be difficult, -the implementation of this function is shown below. - -\begin{verbatim} -bool wxDocParentFrame::OnClose(void) -{ - // Delete all views and documents - wxNode *node = docManager->GetDocuments().First(); - while (node) - { - wxDocument *doc = (wxDocument *)node->Data(); - wxNode *next = node->Next(); - - if (!doc->Close()) - return FALSE; - - // Implicitly deletes the document when the last - // view is removed (deleted) - doc->DeleteAllViews(); - - // Check document is deleted - if (docManager->GetDocuments().Member(doc)) - delete doc; - - // This assumes that documents are not connected in - // any way, i.e. deleting one document does NOT - // delete another. - node = next; - } - return TRUE; -} -\end{verbatim} - - diff --git a/docs/latex/wx/doctempl.tex b/docs/latex/wx/doctempl.tex deleted file mode 100644 index daae6ace61..0000000000 --- a/docs/latex/wx/doctempl.tex +++ /dev/null @@ -1,233 +0,0 @@ -\section{\class{wxDocTemplate}}\label{wxdoctemplate} - -The wxDocTemplate class is used to model the relationship between a -document class and a view class. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxDocTemplate overview}{wxdoctemplateoverview}, \helpref{wxDocument}{wxdocument}, \helpref{wxView}{wxview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDocTemplate::m\_defaultExt} - -\member{wxString}{m\_defaultExt} - -The default extension for files of this type. - -\membersection{wxDocTemplate::m\_description} - -\member{wxString}{m\_description} - -A short description of this template. - -\membersection{wxDocTemplate::m\_directory} - -\member{wxString}{m\_directory} - -The default directory for files of this type. - -\membersection{wxDocTemplate::m\_docClassInfo} - -\member{wxClassInfo* }{m\_docClassInfo} - -Run-time class information that allows document instances to be constructed dynamically. - -\membersection{wxDocTemplate::m\_docTypeName} - -\member{wxString}{m\_docTypeName} - -The named type of the document associated with this template. - -\membersection{wxDocTemplate::m\_documentManager} - -\member{wxDocTemplate*}{m\_documentManager} - -A pointer to the document manager for which this template was created. - -\membersection{wxDocTemplate::m\_fileFilter} - -\member{wxString}{m\_fileFilter} - -The file filter (such as \verb$*.txt$) to be used in file selector dialogs. - -\membersection{wxDocTemplate::m\_flags} - -\member{long}{m\_flags} - -The flags passed to the constructor. - -\membersection{wxDocTemplate::m\_viewClassInfo} - -\member{wxClassInfo*}{m\_viewClassInfo} - -Run-time class information that allows view instances to be constructed dynamically. - -\membersection{wxDocTemplate::m\_viewTypeName} - -\member{wxString}{m\_viewTypeName} - -The named type of the view associated with this template. - -\membersection{wxDocTemplate::wxDocTemplate} - -\func{}{wxDocTemplate}{\param{wxDocManager* }{manager}, \param{const wxString\& }{descr}, \param{const wxString\& }{filter}, - \param{const wxString\& }{dir}, \param{const wxString\& }{ext}, \param{const wxString\& }{docTypeName}, - \param{const wxString\& }{viewTypeName}, \param{wxClassInfo* }{docClassInfo = NULL}, - \param{wxClassInfo* }{viewClassInfo = NULL}, \param{long}{ flags = wxDEFAULT\_TEMPLATE\_FLAGS}} - -Constructor. Create instances dynamically near the start of your application after creating -a wxDocManager instance, and before doing any document or view operations. - -{\it manager} is the document manager object which manages this template. - -{\it descr} is a short description of what the template is for. This string will be displayed in the -file filter list of Windows file selectors. - -{\it filter} is an appropriate file filter such as \verb$*.txt$. - -{\it dir} is the default directory to use for file selectors. - -{\it ext} is the default file extension (such as txt). - -{\it docTypeName} is a name that should be unique for a given type of document, used for -gathering a list of views relevant to a particular document. - -{\it viewTypeName} is a name that should be unique for a given view. - -{\it docClassInfo} is a pointer to the run-time document class information as returned -by the CLASSINFO macro, e.g. CLASSINFO(MyDocumentClass). If this is not supplied, -you will need to derive a new wxDocTemplate class and override the CreateDocument -member to return a new document instance on demand. - -{\it viewClassInfo} is a pointer to the run-time view class information as returned -by the CLASSINFO macro, e.g. CLASSINFO(MyViewClass). If this is not supplied, -you will need to derive a new wxDocTemplate class and override the CreateView -member to return a new view instance on demand. - -{\it flags} is a bit list of the following: - -\begin{itemize}\itemsep=0pt -\item wxTEMPLATE\_VISIBLE The template may be displayed to the user in dialogs. -\item wxTEMPLATE\_INVISIBLE The template may not be displayed to the user in dialogs. -\item wxDEFAULT\_TEMPLATE\_FLAGS Defined as wxTEMPLATE\_VISIBLE. -\end{itemize} - -\membersection{wxDocTemplate::\destruct{wxDocTemplate}} - -\func{void}{\destruct{wxDocTemplate}}{\void} - -Destructor. - -\membersection{wxDocTemplate::CreateDocument} - -\func{wxDocument *}{CreateDocument}{\param{const wxString\& }{path}, \param{long}{ flags = 0}} - -Creates a new instance of the associated document class. If you have not supplied -a wxClassInfo parameter to the template constructor, you will need to override this -function to return an appropriate document instance. - -\membersection{wxDocTemplate::CreateView} - -\func{wxView *}{CreateView}{\param{wxDocument *}{doc}, \param{long}{ flags = 0}} - -Creates a new instance of the associated view class. If you have not supplied -a wxClassInfo parameter to the template constructor, you will need to override this -function to return an appropriate view instance. - -\membersection{wxDocTemplate::GetDefaultExtension} - -\func{wxString}{GetDefaultExtension}{\void} - -Returns the default file extension for the document data, as passed to the document template constructor. - -\membersection{wxDocTemplate::GetDescription} - -\func{wxString}{GetDescription}{\void} - -Returns the text description of this template, as passed to the document template constructor. - -\membersection{wxDocTemplate::GetDirectory} - -\func{wxString}{GetDirectory}{\void} - -Returns the default directory, as passed to the document template constructor. - -\membersection{wxDocTemplate::GetDocumentManager} - -\func{wxDocManager *}{GetDocumentManager}{\void} - -Returns a pointer to the document manager instance for which this template was created. - -\membersection{wxDocTemplate::GetDocumentName} - -\func{wxString}{GetDocumentName}{\void} - -Returns the document type name, as passed to the document template constructor. - -\membersection{wxDocTemplate::GetFileFilter} - -\func{wxString}{GetFileFilter}{\void} - -Returns the file filter, as passed to the document template constructor. - -\membersection{wxDocTemplate::GetFlags} - -\func{long}{GetFlags}{\void} - -Returns the flags, as passed to the document template constructor. - -\membersection{wxDocTemplate::GetViewName} - -\func{wxString}{GetViewName}{\void} - -Returns the view type name, as passed to the document template constructor. - -\membersection{wxDocTemplate::IsVisible} - -\func{bool}{IsVisible}{\void} - -Returns TRUE if the document template can be shown in user dialogs, FALSE otherwise. - -\membersection{wxDocTemplate::SetDefaultExtension} - -\func{void}{SetDefaultExtension}{\param{const wxString\& }{ext}} - -Sets the default file extension. - -\membersection{wxDocTemplate::SetDescription} - -\func{void}{SetDescription}{\param{const wxString\& }{descr}} - -Sets the template description. - -\membersection{wxDocTemplate::SetDirectory} - -\func{void}{SetDirectory}{\param{const wxString\& }{dir}} - -Sets the default directory. - -\membersection{wxDocTemplate::SetDocumentManager} - -\func{void}{SetDocumentManager}{\param{wxDocManager *}{manager}} - -Sets the pointer to the document manager instance for which this template was created. -Should not be called by the application. - -\membersection{wxDocTemplate::SetFileFilter} - -\func{void}{SetFileFilter}{\param{const wxString\& }{filter}} - -Sets the file filter. - -\membersection{wxDocTemplate::SetFlags} - -\func{void}{SetFlags}{\param{long }{flags}} - -Sets the internal document template flags (see the constructor description for more details). - - diff --git a/docs/latex/wx/document.tex b/docs/latex/wx/document.tex deleted file mode 100644 index 99a4553c03..0000000000 --- a/docs/latex/wx/document.tex +++ /dev/null @@ -1,327 +0,0 @@ -\section{\class{wxDocument}}\label{wxdocument} - -The document class can be used to model an application's file-based -data. It is part of the document/view framework supported by wxWindows, -and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}\rtfsp -and \helpref{wxDocManager}{wxdocmanager} classes. - -\wxheading{Derived from} - -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxDocument overview}{wxdocumentoverview}, \helpref{wxView}{wxview},\rtfsp -\helpref{wxDocTemplate}{wxdoctemplate}, \helpref{wxDocManager}{wxdocmanager} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDocument::m\_commandProcessor} - -\member{wxCommandProcessor*}{m\_commandProcessor} - -A pointer to the command processor associated with this document. - -\membersection{wxDocument::m\_documentFile} - -\member{wxString}{m\_documentFile} - -Filename associated with this document (``" if none). - -\membersection{wxDocument::m\_documentModified} - -\member{bool}{m\_documentModified} - -TRUE if the document has been modified, FALSE otherwise. - -\membersection{wxDocument::m\_documentTemplate} - -\member{wxDocTemplate *}{m\_documentTemplate} - -A pointer to the template from which this document was created. - -\membersection{wxDocument::m\_documentTitle} - -\member{wxString}{m\_documentTitle} - -Document title. The document title is used for an associated -frame (if any), and is usually constructed by the framework from -the filename. - -\membersection{wxDocument::m\_documentTypeName}\label{documenttypename} - -\member{wxString}{m\_documentTypeName} - -The document type name given to the wxDocTemplate constructor, copied to this -variable when the document is created. If several document templates are -created that use the same document type, this variable is used in wxDocManager::CreateView -to collate a list of alternative view types that can be used on this kind of -document. Do not change the value of this variable. - -\membersection{wxDocument::m\_documentViews} - -\member{wxList}{m\_documentViews} - -List of wxView instances associated with this document. - -\membersection{wxDocument::wxDocument} - -\func{}{wxDocument}{\void} - -Constructor. Define your own default constructor to initialize application-specific -data. - -\membersection{wxDocument::\destruct{wxDocument}} - -\func{}{\destruct{wxDocument}}{\void} - -Destructor. Removes itself from the document manager. - -\membersection{wxDocument::AddView} - -\func{virtual bool}{AddView}{\param{wxView *}{view}} - -If the view is not already in the list of views, adds the view and calls OnChangedViewList. - -\membersection{wxDocument::Close} - -\func{virtual bool}{Close}{\void} - -Closes the document, by calling OnSaveModified and then (if this returned TRUE) OnCloseDocument. -This does not normally delete the document object: use DeleteAllViews to do this implicitly. - -\membersection{wxDocument::DeleteAllViews} - -\func{virtual bool}{DeleteAllViews}{\void} - -Calls wxView::Close and deletes each view. Deleting the final view will implicitly -delete the document itself, because the wxView destructor calls RemoveView. This -in turns calls wxDocument::OnChangedViewList, whose default implemention is to -save and delete the document if no views exist. - -\membersection{wxDocument::GetCommandProcessor} - -\constfunc{wxCommandProcessor*}{GetCommandProcessor}{\void} - -Returns a pointer to the command processor associated with this document. - -See \helpref{wxCommandProcessor}{wxcommandprocessor}. - -\membersection{wxDocument::GetDocumentTemplate} - -\constfunc{wxDocTemplate*}{GetDocumentTemplate}{\void} - -Gets a pointer to the template that created the document. - -\membersection{wxDocument::GetDocumentManager} - -\constfunc{wxDocManager*}{GetDocumentManager}{\void} - -Gets a pointer to the associated document manager. - -\membersection{wxDocument::GetDocumentName} - -\constfunc{wxString}{GetDocumentName}{\void} - -Gets the document type name for this document. See the comment for \helpref{documentTypeName}{documenttypename}. - -\membersection{wxDocument::GetDocumentWindow} - -\constfunc{wxWindow*}{GetDocumentWindow}{\void} - -Intended to return a suitable window for using as a parent for document-related -dialog boxes. By default, uses the frame associated with the first view. - -\membersection{wxDocument::GetFilename} - -\constfunc{wxString}{GetFilename}{\void} - -Gets the filename associated with this document, or NULL if none is -associated. - -\membersection{wxDocument::GetFirstView} - -\constfunc{wxView*}{GetFirstView}{\void} - -A convenience function to get the first view for a document, because -in many cases a document will only have a single view. - -\membersection{wxDocument::GetPrintableName} - -\constfunc{virtual void}{GetPrintableName}{\param{wxString\& }{name}} - -Copies a suitable document name into the supplied {\it name} buffer. The default -function uses the title, or if there is no title, uses the filename; or if no -filename, the string {\bf unnamed}. - -\membersection{wxDocument::GetTitle} - -\constfunc{wxString}{GetTitle}{\void} - -Gets the title for this document. The document title is used for an associated -frame (if any), and is usually constructed by the framework from -the filename. - -\membersection{wxDocument::IsModified}\label{wxdocumentismodified} - -\constfunc{virtual bool}{IsModified}{\void} - -Returns TRUE if the document has been modified since the last save, FALSE otherwise. -You may need to override this if your document view maintains its own -record of being modified (for example if using wxTextWindow to view and edit the document). - -See also \helpref{Modify}{wxdocumentmodify}. - -\membersection{wxDocument::LoadObject} - -\func{virtual istream\&}{LoadObject}{\param{istream\& }{stream}} - -Override this function and call it from your own LoadObject before -streaming your own data. LoadObject is called by the framework -automatically when the document contents need to be loaded. - -\membersection{wxDocument::Modify}\label{wxdocumentmodify} - -\func{virtual void}{Modify}{\param{bool}{ modify}} - -Call with TRUE to mark the document as modified since the last save, FALSE otherwise. -You may need to override this if your document view maintains its own -record of being modified (for example if using wxTextWindow to view and edit the document). - -See also \helpref{IsModified}{wxdocumentismodified}. - -\membersection{wxDocument::OnChangedViewList} - -\func{virtual void}{OnChangedViewList}{\void} - -Called when a view is added to or deleted from this document. The default -implementation saves and deletes the document if no views exist (the last -one has just been removed). - -\membersection{wxDocument::OnCloseDocument} - -\func{virtual bool}{OnCloseDocument}{\void} - -The default implementation calls DeleteContents (an empty implementation) -sets the modified flag to FALSE. Override this to -supply additional behaviour when the document is closed with Close. - -\membersection{wxDocument::OnCreate} - -\func{virtual bool}{OnCreate}{\param{const wxString\& }{path}, \param{long}{ flags}} - -Called just after the document object is created to give it a chance -to initialize itself. The default implementation uses the -template associated with the document to create an initial view. -If this function returns FALSE, the document is deleted. - -\membersection{wxDocument::OnCreateCommandProcessor} - -\func{virtual wxCommandProcessor*}{OnCreateCommandProcessor}{\void} - -Override this function if you want a different (or no) command processor -to be created when the document is created. By default, it returns -an instance of wxCommandProcessor. - -See \helpref{wxCommandProcessor}{wxcommandprocessor}. - -\membersection{wxDocument::OnNewDocument} - -\func{virtual bool}{OnNewDocument}{\void} - -The default implementation calls OnSaveModified and DeleteContents, makes a default title for the -document, and notifies the views that the filename (in fact, the title) has changed. - -\membersection{wxDocument::OnOpenDocument} - -\func{virtual bool}{OnOpenDocument}{\param{const wxString\& }{filename}} - -Constructs an input file stream for the given filename (which must not be NULL), -and calls LoadObject. If LoadObject returns TRUE, the document is set to -unmodified; otherwise, an error message box is displayed. The document's -views are notified that the filename has changed, to give windows an opportunity -to update their titles. All of the document's views are then updated. - -\membersection{wxDocument::OnSaveDocument} - -\func{virtual bool}{OnSaveDocument}{\param{const wxString\& }{filename}} - -Constructs an output file stream for the given filename (which must not be NULL), -and calls SaveObject. If SaveObject returns TRUE, the document is set to -unmodified; otherwise, an error message box is displayed. - -\membersection{wxDocument::OnSaveModified} - -\func{virtual bool}{OnSaveModified}{\void} - -If the document has been modified, prompts the user to ask if the changes should -be changed. If the user replies Yes, the Save function is called. If No, the -document is marked as unmodified and the function succeeds. If Cancel, the -function fails. - -\membersection{wxDocument::RemoveView} - -\func{virtual bool}{RemoveView}{\param{wxView* }{view}} - -Removes the view from the document's list of views, and calls OnChangedViewList. - -\membersection{wxDocument::Save} - -\func{virtual bool}{Save}{\void} - -Saves the document by calling OnSaveDocument if there is an associated filename, -or SaveAs if there is no filename. - -\membersection{wxDocument::SaveAs} - -\func{virtual bool}{SaveAs}{\void} - -Prompts the user for a file to save to, and then calls OnSaveDocument. - -\membersection{wxDocument::SaveObject} - -\func{virtual ostream\&}{SaveObject}{\param{ostream\& }{stream}} - -Override this function and call it from your own SaveObject before -streaming your own data. SaveObject is called by the framework -automatically when the document contents need to be saved. - -\membersection{wxDocument::SetCommandProcessor} - -\func{virtual void}{SetCommandProcessor}{\param{wxCommandProcessor *}{processor}} - -Sets the command processor to be used for this document. The document will then be responsible -for its deletion. Normally you should not call this; override OnCreateCommandProcessor -instead. - -See \helpref{wxCommandProcessor}{wxcommandprocessor}. - -\membersection{wxDocument::SetDocumentName} - -\func{void}{SetDocumentName}{\param{const wxString\& }{name}} - -Sets the document type name for this document. See the comment for \helpref{documentTypeName}{documenttypename}. - -\membersection{wxDocument::SetDocumentTemplate} - -\func{void}{SetDocumentTemplate}{\param{wxDocTemplate* }{templ}} - -Sets the pointer to the template that created the document. Should only be called by the -framework. - -\membersection{wxDocument::SetFilename} - -\func{void}{SetFilename}{\param{const wxString\& }{filename}} - -Sets the filename for this document. Usually called by the framework. - -\membersection{wxDocument::SetTitle} - -\func{void}{SetTitle}{\param{const wxString\& }{title}} - -Sets the title for this document. The document title is used for an associated -frame (if any), and is usually constructed by the framework from -the filename. - - diff --git a/docs/latex/wx/dropevt.tex b/docs/latex/wx/dropevt.tex deleted file mode 100644 index ff3e020e98..0000000000 --- a/docs/latex/wx/dropevt.tex +++ /dev/null @@ -1,72 +0,0 @@ -\section{\class{wxDropFilesEvent}}\label{wxdropfilesevent} - -This class is used for drop files events, that is, when files have been dropped -onto the window. This functionality is currently only available under Windows. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process a drop files event, use these event handler macros to direct input to a member -function that takes a wxDropFilesEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_DROP\_FILES(func)}}{Process a wxEVT\_DROP\_FILES event.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnDropFiles}{wxwindowondropfiles}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxDropFilesEvent::wxDropFilesEvent} - -\func{}{wxDropFilesEvent}{\param{WXTYPE }{id = 0}, \param{int }{noFiles = 0},\rtfsp -\param{wxString* }{files = NULL}} - -Constructor. - -\membersection{wxDropFilesEvent::m\_files} - -\member{wxString*}{m\_files} - -An array of filenames. - -\membersection{wxDropFilesEvent::m\_noFiles} - -\member{int}{m\_noFiles} - -The number of files dropped. - -\membersection{wxDropFilesEvent::m\_pos} - -\member{wxPoint}{m\_pos} - -The point at which the drop took place. - -\membersection{wxDropFilesEvent::GetFiles}\label{wxdropfileseventgetfiles} - -\constfunc{wxString*}{GetFiles}{\void} - -Returns an array of filenames. - -\membersection{wxDropFilesEvent::GetNumberOfFiles}\label{wxdropfileseventgetnumberoffiles} - -\constfunc{int}{GetNumberOfFiles}{\void} - -Returns the number of files dropped. - -\membersection{wxDropFilesEvent::GetPosition}\label{wxdropfileseventgetposition} - -\constfunc{wxPoint}{GetPosition}{\void} - -Returns the position at which the files were dropped. - -Returns an array of filenames. - - diff --git a/docs/latex/wx/eraseevt.tex b/docs/latex/wx/eraseevt.tex deleted file mode 100644 index 2c4a559780..0000000000 --- a/docs/latex/wx/eraseevt.tex +++ /dev/null @@ -1,48 +0,0 @@ -\section{\class{wxEraseEvent}}\label{wxeraseevent} - -An erase event is sent when a window's background needs to be repainted. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process an erase event, use this event handler macro to direct input to a member -function that takes a wxEraseEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_ERASE\_BACKGROUND(func)}}{Process a wxEVT\_ERASE\_BACKGROUND event.} -\end{twocollist}% - -\wxheading{Remarks} - -If the {\bf m\_DC} member is non-NULL, draw into this device context. - -\wxheading{See also} - -\helpref{wxWindow::OnEraseBackground}{wxwindowonerasebackground}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxEraseEvent::wxEraseEvent} - -\func{}{wxEraseEvent}{\param{int }{id = 0}, \param{wxDC* }{dc = NULL}} - -Constructor. - -\membersection{wxEraseEvent::m\_dc} - -\member{wxDC*}{m\_dc} - -The device context associated with the erase event (may be NULL). - -\membersection{wxEraseEvent::GetDC}\label{wxeraseeventgetdc} - -\constfunc{wxDC*}{GetDC}{\void} - -Returns the device context to draw into. If this is non-NULL, you should draw -into it to perform the erase operation. - diff --git a/docs/latex/wx/event.tex b/docs/latex/wx/event.tex deleted file mode 100644 index d44b4b3fb8..0000000000 --- a/docs/latex/wx/event.tex +++ /dev/null @@ -1,141 +0,0 @@ -\section{\class{wxEvent}}\label{wxevent} - -An event is a structure holding information about an event passed to a -callback or member function. {\bf wxEvent} used to be a multipurpose -event object, and is an abstract base class for other event classes (see below). - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxCommandEvent}{wxcommandevent},\rtfsp -\helpref{wxMouseEvent}{wxmouseevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxEvent::wxEvent} - -\func{}{wxEvent}{\param{int }{id = 0}} - -Constructor. Should not need to be used directly by an application. - -\membersection{wxEvent::m\_eventHandle} - -\member{char*}{m\_eventHandle} - -Handle of an underlying windowing system event handle, such as -XEvent. Not guaranteed to be instantiated. - -\membersection{wxEvent::m\_eventObject} - -\member{wxObject*}{m\_eventObject} - -The object (usually a window) that the event was generated from, -or should be sent to. - -\membersection{wxEvent::m\_eventType} - -\member{WXTYPE}{m\_eventType} - -The type of the event, such as wxEVENT\_TYPE\_BUTTON\_COMMAND. - -\membersection{wxEvent::m\_id} - -\member{int}{m\_id} - -Identifier for the window. - -\membersection{wxEvent::m\_skipped} - -\member{bool}{m\_skipped} - -Set to TRUE by {\bf Skip} if this event should be skipped. - -\membersection{wxEvent::m\_timeStamp} - -\member{long}{m\_timeStamp} - -Timestamp for this event. - -\membersection{wxEvent::GetEventClass} - -\func{WXTYPE}{GetEventClass}{\void} - -Returns the identifier of the given event class, -such as wxTYPE\_MOUSE\_EVENT. - -\membersection{wxEvent::GetEventObject} - -\func{wxObject*}{GetEventObject}{\void} - -Returns the object associated with the -event, if any. - -\membersection{wxEvent::GetEventType} - -\func{WXTYPE}{GetEventType}{\void} - -Returns the identifier of the given event type, -such as wxEVENT\_TYPE\_BUTTON\_COMMAND. - -\membersection{wxEvent::GetId} - -\func{int}{GetId}{\void} - -Returns the identifier associated with this event, such as a button command id. - -\membersection{wxEvent::GetObjectType} - -\func{WXTYPE}{GetObjectType}{\void} - -Returns the type of the object associated with the -event, such as wxTYPE\_BUTTON. - -\membersection{wxEvent::GetSkipped} - -\func{bool}{GetSkipped}{\void} - -Returns TRUE if the event handler should be skipped, FALSE otherwise. - -\membersection{wxEvent::GetTimestamp} - -\func{long}{GetTimestamp}{\void} - -Gets the timestamp for the event. - -\membersection{wxEvent::SetEventObject} - -\func{void}{SetEventObject}{\param{wxObject* }{object}} - -Sets the originating object. - -\membersection{wxEvent::SetEventType} - -\func{void}{SetEventType}{\param{WXTYPE }{typ}} - -Sets the event type. - -\membersection{wxEvent::SetId} - -\func{void}{SetId}{\param{int}{ id}} - -Sets the identifier associated with this event, such as a button command id. - -\membersection{wxEvent::SetTimestamp} - -\func{void}{SetTimestamp}{\param{long }{timeStamp}} - -Sets the timestamp for the event. - -Sets the originating object. - -\membersection{wxEvent::Skip}\label{wxeventskip} - -\func{void}{Skip}{\param{bool}{ skip = TRUE}} - -Called by an event handler to tell the event system that the -event handler should be skipped, and the next valid handler used -instead. - diff --git a/docs/latex/wx/evthand.tex b/docs/latex/wx/evthand.tex deleted file mode 100644 index 16e10a1bcb..0000000000 --- a/docs/latex/wx/evthand.tex +++ /dev/null @@ -1,269 +0,0 @@ -\section{\class{wxEvtHandler}}\label{wxevthandler} - -A class that can handle events from the windowing system. -wxWindow (and therefore all window classes) are derived from -this class. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\overview{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxEvtHandler::wxEvtHandler} - -\func{}{wxEvtHandler}{\void} - -Constructor. - -\membersection{wxEvtHandler::\destruct{wxEvtHandler}} - -\func{}{\destruct{wxEvtHandler}}{\void} - -Destructor. If the handler is part of a chain, the destructor will -unlink itself and restore the previous and next handlers so that they point to -each other. - -\membersection{wxEvtHandler::Default}\label{wxevthandlerdefault} - -\func{virtual long}{Default}{\void} - -Invokes default processing if this event handler is a window. - -\wxheading{Return value} - -System dependent. - -\wxheading{Remarks} - -A generic way of delegating processing to the default system behaviour. It calls a platform-dependent -default function, with parameters dependent on the event or message parameters -originally sent from the windowing system. - -Normally the application should call a base member, such as \helpref{wxWindow::OnChar}{wxwindowonchar}, which itself -may call {\bf Default}. - -\membersection{wxEvtHandler::GetClientData}\label{wxevthandlergetclientdata} - -\func{char* }{GetClientData}{\void} - -Gets user-supplied client data. - -\wxheading{Remarks} - -Normally, any extra data the programmer wishes to associate with the object -should be made available by deriving a new class -with new data members. - -\wxheading{See also} - -\helpref{wxEvtHandler::SetClientData}{wxevthandlersetclientdata} - -\membersection{wxEvtHandler::GetEvtHandlerEnabled}\label{wxevthandlergetevthandlerenabled} - -\func{bool}{GetEvtHandlerEnabled}{\void} - -Returns TRUE if the event handler is enabled, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxEvtHandler::SetEvtHandlerEnabled}{wxevthandlersetevthandlerenabled} - -\membersection{wxEvtHandler::GetNextHandler}\label{wxevthandlergetnexthandler} - -\func{wxEvtHandler*}{GetNextHandler}{\void} - -Gets the pointer to the next handler in the chain. - -\wxheading{See also} - -\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp -\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp -\helpref{wxEvtHandler::SetNextHandler}{wxevthandlersetnexthandler},\rtfsp -\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp -\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler} - -\membersection{wxEvtHandler::GetPreviousHandler}\label{wxevthandlergetprevioushandler} - -\func{wxEvtHandler*}{GetPreviousHandler}{\void} - -Gets the pointer to the previous handler in the chain. - -\wxheading{See also} - -\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp -\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp -\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp -\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp -\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler} - -\membersection{wxEvtHandler::ProcessEvent}\label{wxevthandlerprocessevent} - -\func{virtual bool}{ProcessEvent}{\param{wxEvent\& }{event}} - -Processes an event, searching event tables and calling zero or more suitable event handler function(s). - -\wxheading{Parameters} - -\docparam{event}{Event to process.} - -\wxheading{Return value} - -TRUE if a suitable event handler function was found and executed, and the function did not -call \helpref{wxEvent::Skip}{wxeventskip}. - -\wxheading{Remarks} - -Normally, your application would not call this function: it is called in the wxWindows -implementation to dispatch incoming user interface events to the framework (and application). - -However, you might need to call it if implementing new functionality (such as a new control) where -you define new event types, as opposed to allowing the user to override virtual functions. - -An instance where you might actually override the {\bf ProcessEvent} function is where you want -to direct event processing to event handlers not normally noticed by wxWindows. For example, -in the document/view architecture, documents and views are potential event handlers. -When an event reaches a frame, {\bf ProcessEvent} will need to be called on the associated -document and view in case event handler functions are associated with these objects. -The property classes library (wxProperty) also overrides {\bf ProcessEvent} for similar reasons. - -The normal order of event table searching is as follows: - -\begin{enumerate}\itemsep=0pt -\item If the object is disabled (via a call to \helpref{wxEvtHandler::SetEvtHandlerEnabled}{wxevthandlersetevthandlerenabled}) -the function skips to step (6). -\item If the object is a wxWindow, {\bf ProcessEvent} is recursively called on the window's\rtfsp -\helpref{wxValidator}{wxvalidator}. If this returns TRUE, the function exits. -\item {\bf SearchEventTable} is called for this event handler. If this fails, the base -class table is tried, and so on until no more tables exist or an appropriate function was found, -in which case the function exits. -\item The search is applied down the entire chain of event handlers (usually the chain has a length -of one). If this succeeds, the function exits. -\item If the object is a wxWindow and the event is a wxCommandEvent, {\bf ProcessEvent} is -recursively applied to the parent window's event handler. If this returns TRUE, the function exits. -\item Finally, {\bf ProcessEvent} is called on the wxApp object. -\end{enumerate} - -\wxheading{See also} - -\helpref{wxEvtHandler::SearchEventTable}{wxevthandlersearcheventtable} - -\membersection{wxEvtHandler::SearchEventTable}\label{wxevthandlersearcheventtable} - -\func{bool}{SearchEventTable}{\param{wxEventTable\& }{table}, \param{wxEvent\& }{event}} - -Searches the event table, executing an event handler function if an appropriate one -is found. - -\wxheading{Parameters} - -\docparam{table}{Event table to be searched.} - -\docparam{event}{Event to be matched against an event table entry.} - -\wxheading{Return value} - -TRUE if a suitable event handler function was found and executed, and the function did not -call \helpref{wxEvent::Skip}{wxeventskip}. - -\wxheading{Remarks} - -This function looks through the object's event table and tries to find an entry -that will match the event. - -An entry will match if: - -\begin{enumerate}\itemsep=0pt -\item The event type matches, and -\item the identifier or identifier range matches, or the event table entry's identifier is zero. -\end{enumerate} - -If a suitable function is called but calls \helpref{wxEvent::Skip}{wxeventskip}, this function will -fail, and searching will continue. - -\wxheading{See also} - -\helpref{wxEvtHandler::ProcessEvent}{wxevthandlerprocessevent} - -\membersection{wxEvtHandler::SetClientData}\label{wxevthandlersetclientdata} - -\func{void}{SetClientData}{\param{char* }{data}} - -Sets user-supplied client data. - -\wxheading{Parameters} - -\docparam{data}{Data to be associated with the event handler.} - -\wxheading{Remarks} - -Normally, any extra data the programmer wishes -to associate with the object should be made available by deriving a new class -with new data members. - -TODO: make this void*, char* only in compatibility mode. - -\wxheading{See also} - -\helpref{wxEvtHandler::GetClientData}{wxevthandlergetclientdata} - -\membersection{wxEvtHandler::SetEvtHandlerEnabled}\label{wxevthandlersetevthandlerenabled} - -\func{void}{SetEvtHandlerEnabled}{\param{bool }{enabled}} - -Enables or disables the event handler. - -\wxheading{Parameters} - -\docparam{enabled}{TRUE if the event handler is to be enabled, FALSE if it is to be disabled.} - -\wxheading{Remarks} - -You can use this function to avoid having to remove the event handler from the chain, for example -when implementing a dialog editor and changing from edit to test mode. - -\wxheading{See also} - -\helpref{wxEvtHandler::GetEvtHandlerEnabled}{wxevthandlergetevthandlerenabled} - -\membersection{wxEvtHandler::SetNextHandler}\label{wxevthandlersetnexthandler} - -\func{void}{SetNextHandler}{\param{wxEvtHandler* }{handler}} - -Sets the pointer to the next handler. - -\wxheading{Parameters} - -\docparam{handler}{Event handler to be set as the next handler.} - -\wxheading{See also} - -\helpref{wxEvtHandler::GetNextHandler}{wxevthandlergetnexthandler},\rtfsp -\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp -\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp -\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp -\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler} - -\membersection{wxEvtHandler::SetPreviousHandler}\label{wxevthandlersetprevioushandler} - -\func{void}{SetPreviousHandler}{\param{wxEvtHandler* }{handler}} - -Sets the pointer to the previous handler. - -\wxheading{Parameters} - -\docparam{handler}{Event handler to be set as the previous handler.} - -\wxheading{See also} - -\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp -\helpref{wxEvtHandler::SetNextHandler}{wxevthandlersetnexthandler},\rtfsp -\helpref{wxEvtHandler::GetNextHandler}{wxevthandlergetnexthandler},\rtfsp -\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp -\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler} - - diff --git a/docs/latex/wx/expr.tex b/docs/latex/wx/expr.tex deleted file mode 100644 index b6fd3020a4..0000000000 --- a/docs/latex/wx/expr.tex +++ /dev/null @@ -1,505 +0,0 @@ -\section{\class{wxExpr}}\label{wxexpr} - -The {\bf wxExpr} class is the building brick of expressions similar to Prolog -clauses, or objects. It can represent an expression of type long integer, float, string, word, -or list, and lists can be nested. - -\wxheading{Derived from} - -None - -\wxheading{See also} - -\helpref{wxExpr overview}{exproverview}, \helpref{wxExprDatabase}{wxexprdatabase} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxExpr::wxExpr}\label{wxexprconstr} - -\func{}{wxExpr}{\param{const wxString\&}{functor}} - -Construct a new clause with this form, supplying the functor name. A clause is an object -that will appear in the data file, with a list of attribute/value pairs. - -\func{}{wxExpr}{\param{wxExprType}{ type}, \param{const wxString\&}{ wordOrString = ``"}} - -Construct a new empty list, or a word (will be output with no quotes), or a string, depending on the -value of {\it type}. - -{\it type} can be {\bf wxExprList}, {\bf wxExprWord}, or {\bf wxExprString}. If {\it type} is wxExprList, -the value of {\it wordOrString} will be ignored. - -\func{}{wxExpr}{\param{long}{ value}} - -Construct an integer expression. - -\func{}{wxExpr}{\param{float}{ value}} - -Construct a floating point expression. - -\func{}{wxExpr}{\param{wxList* }{value}} - -Construct a list expression. The list's nodes' data should -themselves be {\bf wxExpr}s. - -The current version of this library no longer uses the {\bf wxList} -internally, so this constructor turns the list into its internal -format (assuming a non-nested list) and then deletes the supplied -list. - -\membersection{wxExpr::\destruct{wxExpr}} - -\func{}{\destruct{wxExpr}}{\void} - -Destructor. - -\membersection{wxExpr::AddAttributeValue}\label{wxexpraddattributevalue} - -Use these on clauses ONLY. Note that the functions for adding strings -and words must be differentiated by function name which is why -they are missing from this group (see \helpref{wxExpr::AddAttributeValueString}{wxexpraddattributevaluestring} and -\rtfsp\helpref{wxExpr::AddAttributeValueWord}{wxexpraddattributevalueword}). - -\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{float }{value}} - -Adds an attribute and floating point value pair to the clause. - -\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{long }{value}} - -Adds an attribute and long integer value pair to the clause. - -\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxList* }{value}} - -Adds an attribute and list value pair to the clause, converting the list into -internal form and then deleting {\bf value}. Note that the list should not contain -nested lists (except if in internal {\bf wxExpr} form.) - -\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxExpr* }{value}} - -Adds an attribute and wxExpr value pair to the clause. Do not delete\rtfsp -{\it value} once this function has been called. - -\membersection{wxExpr::AddAttributeValueString}\label{wxexpraddattributevaluestring} - -\func{void}{AddAttributeValueString}{\param{const wxString\&}{ attribute}, \param{const wxString\&}{ value}} - -Adds an attribute and string value pair to the clause. - -\membersection{wxExpr::AddAttributeValueStringList}\label{wxexpraddattributevaluestringlist} - -\func{void}{AddAttributeValueStringList}{\param{const wxString\&}{ attribute}, \param{wxList* }{value}} - -Adds an attribute and string list value pair to the clause. - -Note that the list passed to this function is a list of strings, NOT a list -of {\bf wxExpr}s; it gets turned into a list of {\bf wxExpr}s -automatically. This is a convenience function, since lists of strings -are often manipulated in C++. - -\membersection{wxExpr::AddAttributeValueWord}\label{wxexpraddattributevalueword} - -\func{void}{AddAttributeValueWord}{\param{const wxString\&}{ attribute}, \param{const wxString\&}{ value}} - -Adds an attribute and word value pair to the clause. - -\membersection{wxExpr::Append}\label{wxexprappend} - -\func{void}{Append}{\param{wxExpr*}{ value}} - -Append the {\bf value} to the end of the list. `this' must be a list. - -\membersection{wxExpr::Arg}\label{wxexprarg} - -\constfunc{wxExpr* }{Arg}{\param{wxExprType}{ type}, \param{int}{ n}} - -Get nth arg of the given clause (starting from 1). NULL is returned if -the expression is not a clause, or {\it n} is invalid, or the given type -does not match the actual type. See also \helpref{wxExpr::Nth}{wxexprnth}. - -\membersection{wxExpr::Insert}\label{wxexprinsert} - -\func{void}{Insert}{\param{wxExpr* }{value}} - -Insert the {\bf value} at the start of the list. `this' must be a list. - -\membersection{wxExpr::GetAttributeValue}\label{wxexprgetattributevalue} - -These functions are the easiest way to retrieve attribute values, by -passing a pointer to variable. If the attribute is present, the -variable will be filled with the appropriate value. If not, the -existing value is left alone. This style of retrieving attributes -makes it easy to set variables to default values before calling these -functions; no code is necessary to check whether the attribute is -present or not. - -\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxString\&}{ value}} - -Retrieve a string (or word) value. - -\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{float\& }{value}} - -Retrieve a floating point value. - -\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{int\& }{value}} - -Retrieve an integer value. - -\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{long\& }{value}} - -Retrieve a long integer value. - -\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxExpr**}{ value}} - -Retrieve a wxExpr pointer. - -\membersection{wxExpr::GetAttributeValueStringList}\label{wxexprgetattributestringlist} - -\constfunc{void}{GetAttributeValueStringList}{\param{const wxString\&}{attribute}, \param{wxList* }{value}} - -Use this on clauses ONLY. See above for comments on this style of -attribute value retrieval. This function expects to receive a pointer to -a new list (created by the calling application); it will append strings -to the list if the attribute is present in the clause. - -\membersection{wxExpr::AttributeValue}\label{wxexprattributevalue} - -\constfunc{wxExpr*}{AttributeValue}{\param{const wxString\&}{ word}} - -Use this on clauses ONLY. Searches the clause for an attribute -matching {\it word}, and returns the value associated with it. - -\membersection{wxExpr::Copy}\label{wxexprcopy} - -\constfunc{wxExpr*}{Copy}{\void} - -Recursively copies the expression, allocating new storage space. - -\membersection{wxExpr::DeleteAttributeValue}\label{wxexprdeletattributevalue} - -\func{void}{DeleteAttributeValue}{\param{const wxString\&}{ attribute}} - -Use this on clauses only. Deletes the attribute and its value (if any) from the -clause. - -\membersection{wxExpr::Functor}\label{wxexprfunctor} - -\constfunc{wxString}{Functor}{\void} - -Use this on clauses only. Returns the clause's functor (object name). - -\membersection{wxExpr::GetClientData}\label{wxexprgetclientdata} - -\constfunc{wxObject*}{GetClientData}{\void} - -Retrieve arbitrary data stored with this clause. This can be useful when -reading in data for storing a pointer to the C++ object, so when another -clause makes a reference to this clause, its C++ object can be retrieved. -See \helpref{wxExpr::SetClientData}{wxexprsetclientdata}. - -\membersection{wxExpr::GetFirst}\label{wxexprgetfirst} - -\constfunc{wxExpr*}{GetFirst}{\void} - -If this is a list expression (or clause), gets the first element in the list. - -See also \helpref{wxExpr::GetLast}{wxexprgetlast}, \helpref{wxExpr::GetNext}{wxexprgetnext}, \helpref{wxExpr::Nth}{wxexprnth}. - -\membersection{wxExpr::GetLast}\label{wxexprgetlast} - -\constfunc{wxExpr*}{GetLast}{\void} - -If this is a list expression (or clause), gets the last element in the list. - -See also \helpref{wxExpr::GetFirst}{wxexprgetfirst}, \helpref{wxExpr::GetNext}{wxexprgetnext}, \helpref{wxExpr::Nth}{wxexprnth}. - -\membersection{wxExpr::GetNext}\label{wxexprgetnext} - -\constfunc{wxExpr*}{GetNext}{\void} - -If this is a node in a list (any wxExpr may be a node in a list), gets the -next element in the list. - -See also \helpref{wxExpr::GetFirst}{wxexprgetfirst}, \helpref{wxExpr::GetLast}{wxexprgetlast}, \helpref{wxExpr::Nth}{wxexprnth}. - -\membersection{wxExpr::IntegerValue}\label{wxexprintegervalue} - -\constfunc{long}{IntegerValue}{\void} - -Returns the integer value of the expression. - -\membersection{wxExpr::Nth}\label{wxexprnth} - -\constfunc{wxExpr*}{Nth}{\param{int}{ n}} - -Get nth arg of the given list expression (starting from 0). NULL is returned if -the expression is not a list expression, or {\it n} is invalid. See also \helpref{wxExpr::Arg}{wxexprarg}. - -Normally, you would use attribute-value pairs to add and retrieve data -from objects (clauses) in a data file. However, if the data gets complex, -you may need to store attribute values as lists, and pick them apart -yourself. - -\membersection{wxExpr::RealValue}\label{wxexprrealvalue} - -\constfunc{float}{RealValue}{\void} - -Returns the floating point value of the expression. - -\membersection{wxExpr::SetClientData}\label{wxexprsetclientdata} - -\func{void}{SetClientData}{\param{wxObject *}{data}} - -Associate arbitrary data with this clause. This can be useful when -reading in data for storing a pointer to the C++ object, so when another -clause makes a reference to this clause, its C++ object can be retrieved. -See \helpref{wxExpr::GetClientData}{wxexprgetclientdata}. - -\membersection{wxExpr::StringValue}\label{wxexprstringvalue} - -\constfunc{wxString}{StringValue}{\void} - -Returns the string value of the expression. - -\membersection{wxExpr::Type}\label{wxexprtype} - -\constfunc{wxExprType}{Type}{\void} - -Returns the type of the expression. {\bf wxExprType} is defined as follows: - -\begin{verbatim} -typedef enum { - wxExprNull, - wxExprInteger, - wxExprReal, - wxExprWord, - wxExprString, - wxExprList -} wxExprType; -\end{verbatim} - -\membersection{wxExpr::WordValue}\label{wxexprwordvalue} - -\constfunc{wxString}{WordValue}{\void} - -Returns the word value of the expression. - -\membersection{wxExpr::WriteLispExpr}\label{wxexprwritelistexpr} - -\func{void}{WriteLispExpr}{\param{ostream\&}{ stream}} - -Writes the expression or clause to the given stream in LISP format. -Not normally needed, since the whole {\bf wxExprDatabase} will usually -be written at once. Lists are enclosed in parentheses will no commas. - -\membersection{wxExpr::WritePrologClause}\label{wxexprwriteprologclause} - -\func{void}{WritePrologClause}{\param{ostream\&}{ stream}} - -Writes the clause to the given stream in Prolog format. Not normally needed, since -the whole {\bf wxExprDatabase} will usually be written at once. The format is: -functor, open parenthesis, list of comma-separated expressions, close parenthesis, -full stop. - -\membersection{wxExpr::WriteExpr}\label{wxexprwriteexpr} - -\func{void}{WriteExpr}{\param{ostream\&}{ stream}} - -Writes the expression (not clause) to the given stream in Prolog -format. Not normally needed, since the whole {\bf wxExprDatabase} will -usually be written at once. Lists are written in square bracketed, -comma-delimited format. - -\membersection{Functions and macros} - -Below are miscellaneous functions and macros associated with wxExpr objects. - -\func{bool}{wxExprIsFunctor}{\param{wxExpr *}{expr}, \param{const wxString\&}{ functor}} - -Checks that the functor of {\it expr} is {\it functor}. - -\func{void}{wxExprCleanUp}{\void} - -Cleans up the wxExpr system (YACC/LEX buffers) to avoid memory-checking warnings as the program exits. - -\begin{verbatim} -#define wxMakeInteger(x) (new wxExpr((long)x)) -#define wxMakeReal(x) (new wxExpr((float)x)) -#define wxMakeString(x) (new wxExpr(PrologString, x)) -#define wxMakeWord(x) (new wxExpr(PrologWord, x)) -#define wxMake(x) (new wxExpr(x)) -\end{verbatim} - -Macros to help make wxExpr objects. - -\section{\class{wxExprDatabase}}\label{wxexprdatabase} - -The {\bf wxExprDatabase} class represents a database, or list, -of Prolog-like expressions. Instances of this class are used for reading, -writing and creating data files. - -\wxheading{Derived from} - -\helpref{wxList}{wxlist}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxExpr overview}{exproverview}, \helpref{wxExpr}{wxexpr} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxExprDatabase::wxExprDatabase}\label{wxexprdatabaseconstr} - -\func{void}{wxExprDatabase}{\param{proioErrorHandler}{ handler = 0}} - -Construct a new, unhashed database, with an optional error handler. The -error handler must be a function returning a bool and taking an integer and a string -argument. When an error occurs when reading or writing a database, this function is -called. The error is given as the first argument (currently one of WXEXPR\_ERROR\_GENERAL, -WXEXPR\_ERROR\_SYNTAX) and an error message is given as the second argument. If FALSE -is returned by the error handler, processing of the wxExpr operation stops. - -Another way of handling errors is simply to call \helpref{wxExprDatabase::GetErrorCount}{wxexprdatabasegeterrorcount} after -the operation, to check whether errors have occurred, instead of installing an error handler. -If the error count is more than zero, \helpref{wxExprDatabase::Write}{wxexprdatabasewrite} and -\rtfsp\helpref{wxExprDatabase::Read}{wxexprdatabaseread} will return FALSE to -the application. - -For example: - -\begin{verbatim} -bool myErrorHandler(int err, chat *msg) -{ - if (err == WXEXPR_ERROR_SYNTAX) - { - wxMessageBox(msg, "Syntax error"); - } - return FALSE; -} - -wxExprDatabase database(myErrorHandler); -\end{verbatim} - - -\func{}{wxExprDatabase}{\param{wxExprType}{ type}, \param{const wxString\&}{attribute}, -\rtfsp\param{int}{ size = 500}, \param{proioErrorHandler}{ handler = 0}} - -Construct a new database hashed on a combination of the clause functor and -a named attribute (often an integer identification). - -See above for an explanation of the error handler. - -\membersection{wxExprDatabase::\destruct{wxExprDatabase}} - -\func{}{\destruct{wxExprDatabase}}{\void} - -Delete the database and contents. - -\membersection{wxExprDatabase::Append}\label{wxexprdatabaseappend} - -\func{void}{Append}{\param{wxExpr* }{clause}} - -Append a clause to the end of the database. If the database is hashing, -the functor and a user-specified attribute will be hashed upon, giving the -option of random access in addition to linear traversal of the database. - -\membersection{wxExprDatabase::BeginFind}\label{wxexprdatabasebeginfind} - -\func{void}{BeginFind}{\void} - -Reset the current position to the start of the database. Subsequent -\rtfsp\helpref{wxExprDatabase::FindClause}{wxexprdatabasefindclause} calls will move the pointer. - -\membersection{wxExprDatabase::ClearDatabase}\label{wxexprdatabasecleardatabase} - -\func{void}{ClearDatabase}{\void} - -Clears the contents of the database. - -\membersection{wxExprDatabase::FindClause}\label{wxexprdatabasefindclause} - -Various ways of retrieving clauses from the database. A return -value of NULL indicates no (more) clauses matching the given criteria. -Calling the functions repeatedly retrieves more matching clauses, if any. - -\func{wxExpr* }{FindClause}{\param{long}{ id}} - -Find a clause based on the special ``id'' attribute. - -\func{wxExpr* }{FindClause}{\param{const wxString\&}{ attribute}, \param{const wxString\&}{ value}} - -Find a clause which has the given attribute set to the given string or word value. - -\func{wxExpr*}{FindClause}{\param{const wxString\&}{ attribute}, \param{long}{ value}} - -Find a clause which has the given attribute set to the given integer value. - -\func{wxExpr*}{FindClause}{\param{const wxString\&}{ attribute}, \param{float}{ value}} - -Find a clause which has the given attribute set to the given floating point value. - -\membersection{wxExprDatabase::FindClauseByFunctor}\label{wxexprdatabasefindclausebyfunctor} - -\func{wxExpr*}{FindClauseByFunctor}{\param{const wxString\&}{ functor}} - -Find the next clause with the specified functor. - -\membersection{wxExprDatabase::GetErrorCount}\label{wxexprdatabasegeterrorcount} - -\constfunc{int}{GetErrorCount}{\void} - -Returns the number of errors encountered during the last read or write operation. - -\membersection{wxExprDatabase::HashFind}\label{wxexprdatabasehashfind} - -\constfunc{wxExpr*}{HashFind}{\param{const wxString\&}{ functor}, \param{long}{ value}} - -Finds the clause with the given functor and with the attribute specified -in the database constructor having the given integer value. - -For example, - -\begin{verbatim} -// Hash on a combination of functor and integer "id" attribute when reading in -wxExprDatabase db(wxExprInteger, "id"); - -// Read it in -db.ReadProlog("data"); - -// Retrieve a clause with specified functor and id -wxExpr *clause = db.HashFind("node", 24); -\end{verbatim} - -This would retrieve a clause which is written: {\tt node(id = 24, ..., )}. - -\func{wxExpr*}{HashFind}{\param{const wxString\&}{ functor}, \param{const wxString\&}{ value}} - -Finds the clause with the given functor and with the attribute specified -in the database constructor having the given string value. - -\membersection{wxExprDatabase::Read}\label{wxexprdatabaseread} - -\func{bool}{Read}{\param{const wxString\&}{ filename}} - -Reads in the given file, returning TRUE if successful. - -\membersection{wxExprDatabase::ReadFromString}\label{wxexprdatabasereadfromstring} - -\func{bool}{ReadFromString}{\param{const wxString\&}{ buffer}} - -Reads a Prolog database from the given string buffer, returning TRUE if -successful. - -\membersection{wxExprDatabase::WriteLisp}\label{wxexprdatabasewritelisp} - -\func{bool}{WriteLisp}{\param{ostream\& }{stream}} - -Writes the database as a LISP-format file. - -\membersection{wxExprDatabase::Write}\label{wxexprdatabasewrite} - -\func{bool}{Write}{\param{ostream\& }{stream}} - -Writes the database as a Prolog-format file. - - diff --git a/docs/latex/wx/file.tex b/docs/latex/wx/file.tex deleted file mode 100644 index fec5c31d87..0000000000 --- a/docs/latex/wx/file.tex +++ /dev/null @@ -1,169 +0,0 @@ -\section{\class{wxFile}}\label{wxfile} - -A wxFile performs raw file I/O. Note that wxFile::Flush is not implemented on some Windows compilers -due to a missing fsync function, which reduces the usefulness of this class. - -\wxheading{Derived from} - -None. - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFile::wxFile}\label{wxfileconstr} - -\func{}{wxFile}{\void} - -Default constructor. - -\func{}{wxFile}{\param{const char*}{ filename}, \param{wxFile::OpenMode}{ mode = wxFile::read}} - -Opens a file with the given mode. - -\func{}{wxFile}{\param{int}{ fd}} - -Opens a file with the given file descriptor, which has already been opened. - -\wxheading{Parameters} - -\docparam{filename}{The filename.} - -\docparam{mode}{The mode in which to open the file. May be one of {\bf wxFile::read}, {\bf wxFile::write} and {\bf wxFile::read\_write}.} - -\docparam{fd}{An existing file descriptor.} - -\membersection{wxFile::\destruct{wxFile}} - -\func{}{\destruct{wxFile}}{\void} - -Destructor. This is not virtual, for efficiency. - -\membersection{wxFile::Attach}\label{wxfileattach} - -\func{void}{Attach}{\param{int}{ fd}} - -Attaches an existing file descriptor to the wxFile object. - -\membersection{wxFile::Close}\label{wxfileclose} - -\func{void}{Close}{\void} - -Closes the file. - -\membersection{wxFile::Create}\label{wxfilecreate} - -\func{bool}{Create}{\param{const char*}{ filename}, \param{bool}{ overwrite = FALSE}} - -Creates a file for writing. If the file already exists, setting {\bf overwrite} to TRUE -will ensure it is overwritten. - -\membersection{wxFile::Eof}\label{wxfileeof} - -\constfunc{bool}{Eof}{\void} - -Returns TRUE if the end of the file has been reached. - -\membersection{wxFile::Exists}\label{wxfileexists} - -\func{static bool}{Exists}{\param{const char*}{ filename}} - -Returns TRUE if the file exists. - -\membersection{wxFile::Flush}\label{wxfileflush} - -\func{bool}{Flush}{\void} - -Flushes the file descriptor. Not implemented for some Windows compilers. - -\membersection{wxFile::IsOpened}\label{wxfileisopened} - -\constfunc{bool}{IsOpened}{\void} - -Returns TRUE if the file has been opened. - -\membersection{wxFile::Length}\label{wxfilelength} - -\constfunc{off\_t}{Length}{\void} - -Returns the length of the file. - -\membersection{wxFile::Open}\label{wxfileopen} - -\func{bool}{Open}{\param{const char*}{ filename}, \param{wxFile::OpenMode}{ mode = wxFile::read}} - -Opens the file, returning TRUE if successful. - -\wxheading{Parameters} - -\docparam{filename}{The filename.} - -\docparam{mode}{The mode in which to open the file. May be one of {\bf wxFile::read}, {\bf wxFile::write} and {\bf wxFile::read\_write}.} - -\membersection{wxFile::Read}\label{wxfileread} - -\func{off\_t}{Read}{\param{void*}{ buffer}, \param{off\_t}{ count}} - -Reads the specified number of bytes into a buffer, returning the actual number read. - -\wxheading{Parameters} - -\docparam{buffer}{A buffer to receive the data.} - -\docparam{count}{The number of bytes to read.} - -\wxheading{Return value} - -The number of bytes read, or the symbol {\bf ofsInvalid} (-1) if there was an error. - -\membersection{wxFile::Seek}\label{wxfileseek} - -\func{off\_t}{Seek}{\param{off\_t }{ofs}, \param{wxFile::SeekMode }{mode = wxFile::FromStart}} - -Seeks to the specified position. - -\wxheading{Parameters} - -\docparam{ofs}{Offset to seek to.} - -\docparam{mode}{One of {\bf wxFile::FromStart}, {\bf wxFile::FromEnd}, {\bf wxFile::FromCurrent}.} - -\wxheading{Return value} - -The actual offset position achieved, or ofsInvalid on failure. - -\membersection{wxFile::SeekEnd}\label{wxfileseekend} - -\func{off\_t}{SeekEnd}{\param{off\_t }{ofs = 0}} - -Moves the file pointer to the specified number of bytes before the end of the file. - -\wxheading{Parameters} - -\docparam{ofs}{Number of bytes before the end of the file.} - -\wxheading{Return value} - -The actual offset position achieved, or ofsInvalid on failure. - -\membersection{wxFile::Tell}\label{wxfiletell} - -\constfunc{off\_t}{Tell}{\void} - -Returns the current position. - -\membersection{wxFile::Write}\label{wxfilewrite} - -\func{bool}{Write}{\param{const void*}{ buffer}, \param{off\_t}{ count}} - -Writes the specified number of bytes from a buffer. - -\wxheading{Parameters} - -\docparam{buffer}{A buffer containing the data.} - -\docparam{count}{The number of bytes to write.} - -\wxheading{Return value} - -TRUE if the operation was successful. - - diff --git a/docs/latex/wx/filedlg.tex b/docs/latex/wx/filedlg.tex deleted file mode 100644 index 69bf775c08..0000000000 --- a/docs/latex/wx/filedlg.tex +++ /dev/null @@ -1,179 +0,0 @@ -\section{\class{wxFileDialog}}\label{wxfiledialog} - -This class represents the file chooser dialog. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxFileDialog overview}{wxfiledialogoverview}, \helpref{wxFileSelector}{wxfileselector} -%\rtfsp\helpref{wxFileSelectorEx}{wxfileselectorex} -%\helpref{wxLoadFileSelector}{wxloadfileselector},\rtfsp -%\helpref{wxSaveFileSelector}{wxsavefileselector} - -\wxheading{Remarks} - -Pops up a file selector box. In Windows, this is the common file selector -dialog. In X, this is a file selector box with somewhat less functionality. -The path and filename are distinct elements of a full file pathname. -If path is ``", the current directory will be used. If filename is ``", -no default filename will be supplied. The wildcard determines what files -are displayed in the file selector, and file extension supplies a type -extension for the required filename. Flags may be a combination of wxOPEN, -wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, or 0. They are only significant -at present in Windows. - -Both the X and Windows versions implement a wildcard filter. Typing a -filename containing wildcards (*, ?) in the filename text item, and -clicking on Ok, will result in only those files matching the pattern being -displayed. In the X version, supplying no default name will result in the -wildcard filter being inserted in the filename text item; the filter is -ignored if a default name is supplied. - -Under Windows (only), 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" -\end{verbatim} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFileDialog::wxFileDialog}\label{wxfiledialogconstr} - -\func{}{wxFileDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message = "Choose a file"},\rtfsp -\param{const wxString\& }{defaultDir = ""}, \param{const wxString\& }{defaultFile = ``"},\rtfsp -\param{const wxString\& }{wildcard = ``*.*"}, \param{long }{style = 0}, \param{const wxPoint\& }{pos = wxDefaultPosition}} - -Constructor. Use \helpref{wxFileDialog::ShowModal}{wxfiledialogshowmodal} to show the dialog. - -\wxheading{Parameters} - -\docparam{parent}{Parent window.} - -\docparam{message}{Message to show on the dialog.} - -\docparam{defaultDir}{The default directory, or the empty string.} - -\docparam{defaultFile}{The default filename, or the empty string.} - -\docparam{wildcard}{A wildcard, such as ``*.*".} - -\docparam{style}{A dialog style. A bitlist of: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf wxOPEN}}{This is an open dialog (Windows only).} -\twocolitem{{\bf wxSAVE}}{This is a save dialog (Windows only).} -\twocolitem{{\bf wxHIDE\_READONLY}}{Hide read-only files (Windows only).} -\twocolitem{{\bf wxOVERWRITE\_PROMPT}}{Prompt for a conformation if a file will be overridden (Windows only).} -\end{twocollist}% -} - -\docparam{pos}{Dialog position. Not implemented.} - -\membersection{wxFileDialog::\destruct{wxFileDialog}} - -\func{}{\destruct{wxFileDialog}}{\void} - -Destructor. - -\membersection{wxFileDialog::GetDirectory}\label{wxfiledialoggetdirectory} - -\constfunc{wxString}{GetDirectory}{\void} - -Returns the default directory. - -\membersection{wxFileDialog::GetFilename}\label{wxfiledialoggetfilename} - -\constfunc{wxString}{GetFilename}{\void} - -Returns the default filename. - -\membersection{wxFileDialog::GetFilterIndex}\label{wxfiledialoggetfilterindex} - -\constfunc{int}{GetFilterIndex}{\void} - -Returns the index into the list of filters supplied, optionally, in the wildcard parameter. -Before the dialog is shown, this is the index which will be used when the dialog is first displayed. -After the dialog is shown, this is the index selected by the user. - -\membersection{wxFileDialog::GetMessage}\label{wxfiledialoggetmessage} - -\constfunc{wxString}{GetMessage}{\void} - -Returns the message that will be displayed on the dialog. - -\membersection{wxFileDialog::GetPath}\label{wxfiledialoggetpath} - -\constfunc{wxString}{GetPath}{\void} - -Returns the full path (directory and filename) of the selected file. - -\membersection{wxFileDialog::GetStyle}\label{wxfiledialoggetstyle} - -\constfunc{long}{GetStyle}{\void} - -Returns the dialog style. - -\membersection{wxFileDialog::GetWildcard}\label{wxfiledialoggetwildcard} - -\constfunc{wxString}{GetWildcard}{\void} - -Returns the file dialog wildcard. - -\membersection{wxFileDialog::SetDirectory}\label{wxfiledialogsetdirectory} - -\func{void}{SetDirectory}{\param{const wxString\& }{directory}} - -Sets the default directory. - -\membersection{wxFileDialog::SetFilename}\label{wxfiledialogsetfilename} - -\func{void}{SetFilename}{\param{const wxString\& }{setfilename}} - -Sets the default filename. - -\membersection{wxFileDialog::SetFilterIndex}\label{wxfiledialogsetfilterindex} - -\func{void}{SetFilterIndex}{\param{int }{filterIndex}} - -Sets the default filter index, starting from zero. Windows only. - -\membersection{wxFileDialog::SetMessage}\label{wxfiledialogsetmessage} - -\func{void}{SetMessage}{\param{const wxString\& }{message}} - -Sets the message that will be displayed on the dialog. - -\membersection{wxFileDialog::SetPath}\label{wxfiledialogsetpath} - -\func{void}{SetPath}{\param{const wxString\& }{path}} - -Sets the path (the combined directory and filename that will be returned when the dialog is dismissed). - -\membersection{wxFileDialog::SetStyle}\label{wxfiledialogsetstyle} - -\func{void}{SetStyle}{\param{long }{style}} - -Sets the dialog style. See \helpref{wxFileDialog::wxFileDialog}{wxfiledialogconstr} for details. - -\membersection{wxFileDialog::SetWildcard}\label{wxfiledialogsetwildcard} - -\func{void}{SetWildcard}{\param{const wxString\& }{wildCard}} - -Sets the wildcard, which in Windows can contain multiple file types. - -\membersection{wxFileDialog::ShowModal}\label{wxfiledialogshowmodal} - -\func{int}{ShowModal}{\void} - -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL -otherwise. - - diff --git a/docs/latex/wx/filehist.tex b/docs/latex/wx/filehist.tex deleted file mode 100644 index e136f1c6d8..0000000000 --- a/docs/latex/wx/filehist.tex +++ /dev/null @@ -1,93 +0,0 @@ -\section{\class{wxFileHistory}}\label{wxfilehistory} - -The wxFileHistory encapsulates a user interface convenience, the -list of most recently visited files as shown on a menu (usually the File menu). - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\overview{wxFileHistory overview}{wxfilehistoryoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFileHistory::m\_fileHistory} - -\member{char**}{m\_fileHistory} - -A character array of strings corresponding to the most recently opened -files. - -\membersection{wxFileHistory::m\_fileHistoryN} - -\member{int}{m\_fileHistoryN} - -The number of files stored in the history array. - -\membersection{wxFileHistory::m\_fileMaxFiles} - -\member{int}{m\_fileMaxFiles} - -The maximum number of files to be stored and displayed on the menu. - -\membersection{wxFileHistory::m\_fileMenu} - -\member{wxMenu*}{m\_fileMenu} - -The file menu used to display the file history list (if enabled). - -\membersection{wxFileHistory::wxFileHistory} - -\func{}{wxFileHistory}{\param{int}{ maxFiles = 9}} - -Constructor. Pass the maximum number of files that should be stored and displayed. - -\membersection{wxFileHistory::\destruct{wxFileHistory}} - -\func{}{\destruct{wxFileHistory}}{\void} - -Destructor. - -\membersection{wxFileHistory::AddFileToHistory} - -\func{void}{AddFileToHistory}{\param{const wxString\& }{filename}} - -Adds a file to the file history list, if the object has a pointer to an appropriate file menu. - -\membersection{wxFileHistory::FileHistoryLoad} - -\func{void}{FileHistoryLoad}{\param{const wxString\& }{resourceFile}, \param{const wxString\& }{sectionName}} - -Loads the file history from a resource file, using the given section. This must be called -explicitly by the application. - -\membersection{wxFileHistory::FileHistorySave} - -\func{void}{FileHistorySave}{\param{const wxString\& }{resourceFile}, \param{const wxString\& }{sectionName}} - -Saves the file history into a resource file, using the given section. This must be called -explicitly by the application. - -\membersection{wxFileHistory::FileHistoryUseMenu} - -\func{void}{FileHistoryUseMenu}{\param{wxMenu* }{menu}} - -Use this menu for appending recently-visited document filenames, for convenient -access. Calling this function with a valid menu pointer enables the history -list functionality. - -\membersection{wxFileHistory::GetMaxFiles} - -\func{int}{GetMaxFiles}{\void} - -Returns the maximum number of files that can be stored. - -\membersection{wxFileHistory::GetNoHistoryFiles} - -\func{int}{GetNoHistoryFiles}{\void} - -Returns the number of files currently stored in the file history. - - diff --git a/docs/latex/wx/focusevt.tex b/docs/latex/wx/focusevt.tex deleted file mode 100644 index e47b55d138..0000000000 --- a/docs/latex/wx/focusevt.tex +++ /dev/null @@ -1,34 +0,0 @@ -\section{\class{wxFocusEvent}}\label{wxfocusevent} - -A focus event is sent when a window's focus changes. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process a focus event, use these event handler macros to direct input to a member -function that takes a wxFocusEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_SET\_FOCUS(func)}}{Process a wxEVT\_SET\_FOCUS event.} -\twocolitem{{\bf EVT\_KILL\_FOCUS(func)}}{Process a wxEVT\_KILL\_FOCUS event.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnSetFocus}{wxwindowonsetfocus},\rtfsp -\helpref{wxWindow::OnKillFocus}{wxwindowonkillfocus},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFocusEvent::wxFocusEvent} - -\func{}{wxFocusEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}} - -Constructor. - diff --git a/docs/latex/wx/font.tex b/docs/latex/wx/font.tex deleted file mode 100644 index de553defbb..0000000000 --- a/docs/latex/wx/font.tex +++ /dev/null @@ -1,277 +0,0 @@ -\section{\class{wxFont}}\label{wxfont} - -A font is an object which determines the appearance of text. Fonts are -used for drawing text to a device context, and setting the appearance of -a window's text. - -\wxheading{Derived from} - -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxFont overview}{wxfontoverview}, \helpref{wxDC::SetFont}{wxdcsetfont},\rtfsp -\helpref{wxDC::DrawText}{wxdcdrawtext}, \helpref{wxDC::GetTextExtent}{wxdcgettextextent},\rtfsp -\helpref{wxFontDialog}{wxfontdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFont::wxFont}\label{wxfontconstr} - -\func{}{wxFont}{\void} - -Default constructor. - -\func{}{wxFont}{\param{int}{ pointSize}, \param{int}{ family}, \param{int}{ style}, \param{int}{ weight}, - \param{const bool}{ underline = FALSE}, \param{const wxString\& }{faceName = ""}} - -Creates a font object. - -\wxheading{Parameters} - -\docparam{pointSize}{Size in points.} - -\docparam{family}{Font family, a generic way of referring to fonts without specifying actual facename. One of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxDEFAULT}}{Chooses a default font.} -\twocolitem{{\bf wxDECORATIVE}}{A decorative font.} -\twocolitem{{\bf wxROMAN}}{A formal, serif font.} -\twocolitem{{\bf wxSCRIPT}}{A handwriting font.} -\twocolitem{{\bf wxSWISS}}{A sans-serif font.} -\twocolitem{{\bf wxMODERN}}{A fixed pitch font.} -\end{twocollist}} - -\docparam{style}{One of {\bf wxNORMAL}, {\bf wxSLANT} and {\bf wxITALIC}.} - -\docparam{weight}{One of {\bf wxNORMAL}, {\bf wxLIGHT} and {\bf wxBOLD}.} - -\docparam{underline}{The value can be TRUE or FALSE. At present this has an effect on Windows only.} - -\docparam{faceName}{An optional string specifying the actual typeface to be used. If the empty string, -a default typeface will chosen based on the family.} - -\wxheading{Remarks} - -If the desired font does not exist, the closest match will be chosen. -Under Windows, only scaleable TrueType fonts are used. - -Underlining only works under Windows at present. - -See also \helpref{wxDC::SetFont}{wxdcsetfont}, \helpref{wxDC::DrawText}{wxdcdrawtext} -and \helpref{wxDC::GetTextExtent}{wxdcgettextextent}. - -\membersection{wxFont::\destruct{wxFont}} - -\func{}{\destruct{wxFont}}{\void} - -Destructor. - -\wxheading{Remarks} - -The destructor may not delete the underlying font object of the native windowing -system, since wxBrush uses a reference counting system for efficiency. - -Although all remaining fonts are deleted when the application exits, -the application should try to clean up all fonts itself. This is because -wxWindows cannot know if a pointer to the font object is stored in an -application data structure, and there is a risk of double deletion. - -\membersection{wxFont::GetFaceName}\label{wxfontgetfacename} - -\constfunc{wxString}{GetFaceName}{\void} - -Returns the typeface name associated with the font, or the empty string if there is no -typeface information. - -\wxheading{See also} - -\helpref{wxFont::SetFaceName}{wxfontsetfacename} - -\membersection{wxFont::GetFamily}\label{wxfontgetfamily} - -\constfunc{int}{GetFamily}{\void} - -Gets the font family. See \helpref{wxFont::wxFont}{wxfontconstr} for a list of valid -family identifiers. - -\wxheading{See also} - -\helpref{wxFont::SetFamily}{wxfontsetfamily} - -\membersection{wxFont::GetFontId}\label{wxfontgetfontid} - -\constfunc{int}{GetFontId}{\void} - -Returns the font id, if the portable font system is in operation. See \helpref{Font overview}{wxfontoverview} for -further details. - -\membersection{wxFont::GetPointSize}\label{wxfontgetpointsize} - -\constfunc{int}{GetPointSize}{\void} - -Gets the point size. - -\wxheading{See also} - -\helpref{wxFont::SetPointSize}{wxfontsetpointsize} - -\membersection{wxFont::GetStyle}\label{wxfontgetstyle} - -\constfunc{int}{GetStyle}{\void} - -Gets the font style. See \helpref{wxFont::wxFont}{wxfontconstr} for a list of valid -styles. - -\wxheading{See also} - -\helpref{wxFont::SetStyle}{wxfontsetstyle} - -\membersection{wxFont::GetUnderlined}\label{wxfontgetunderlined} - -\constfunc{bool}{GetUnderlined}{\void} - -Returns TRUE if the font is underlined, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxFont::SetUnderlined}{wxfontsetunderlined} - -\membersection{wxFont::GetWeight}\label{wxfontgetweight} - -\constfunc{int}{GetWeight}{\void} - -Gets the font weight. See \helpref{wxFont::wxFont}{wxfontconstr} for a list of valid -weight identifiers. - -\wxheading{See also} - -\helpref{wxFont::SetWeight}{wxfontsetweight} - -\membersection{wxFont::SetFaceName}\label{wxfontsetfacename} - -\func{void}{SetFaceName}{\param{const wxString\& }{faceName}} - -Sets the facename for the font. - -\wxheading{Parameters} - -\docparam{faceName}{A valid facename, which should be on the end-user's system.} - -\wxheading{Remarks} - -To avoid portability problems, don't rely on a specific face, but specify the font family -instead or as well. A suitable font will be found on the end-user's system. If both the -family and the facename are specified, wxWindows will first search for the specific face, -and then for a font belonging to the same family. - -\wxheading{See also} - -\helpref{wxFont::GetFaceName}{wxfontgetfacename}, \helpref{wxFont::SetFamily}{wxfontsetfamily} - -\membersection{wxFont::SetFamily}\label{wxfontsetfamily} - -\func{void}{SetFamily}{\param{int}{ family}} - -Sets the font family. - -\wxheading{Parameters} - -\docparam{family}{One of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxDEFAULT}}{Chooses a default font.} -\twocolitem{{\bf wxDECORATIVE}}{A decorative font.} -\twocolitem{{\bf wxROMAN}}{A formal, serif font.} -\twocolitem{{\bf wxSCRIPT}}{A handwriting font.} -\twocolitem{{\bf wxSWISS}}{A sans-serif font.} -\twocolitem{{\bf wxMODERN}}{A fixed pitch font.} -\end{twocollist}} - -\wxheading{See also} - -\helpref{wxFont::GetFamily}{wxfontgetfamily}, \helpref{wxFont::SetFaceName}{wxfontsetfacename} - -\membersection{wxFont::SetPointSize}\label{wxfontsetpointsize} - -\func{void}{SetPointSize}{\param{int}{ pointSize}} - -Sets the point size. - -\wxheading{Parameters} - -\docparam{pointSize}{Size in points.} - -\wxheading{See also} - -\helpref{wxFont::GetPointSize}{wxfontgetpointsize} - -\membersection{wxFont::SetStyle}\label{wxfontsetstyle} - -\func{void}{SetStyle}{\param{int}{ style}} - -Sets the font style. - -\wxheading{Parameters} - -\docparam{style}{One of {\bf wxNORMAL}, {\bf wxSLANT} and {\bf wxITALIC}.} - -\wxheading{See also} - -\helpref{wxFont::GetStyle}{wxfontgetstyle} - -\membersection{wxFont::SetUnderlined}\label{wxfontsetunderlined} - -\func{void}{SetUnderlined}{\param{const bool}{ underlined}} - -Sets underlining. - -\wxheading{Parameters} - -\docparam{underlining}{TRUE to underline, FALSE otherwise.} - -\wxheading{See also} - -\helpref{wxFont::GetUnderlined}{wxfontgetunderlined} - -\membersection{wxFont::SetWeight}\label{wxfontsetweight} - -\func{void}{SetWeight}{\param{int}{ weight}} - -Sets the font weight. - -\wxheading{Parameters} - -\docparam{weight}{One of {\bf wxNORMAL}, {\bf wxLIGHT} and {\bf wxBOLD}.} - -\wxheading{See also} - -\helpref{wxFont::GetWeight}{wxfontgetweight} - -\membersection{wxFont::operator $=$}\label{wxfontassignment} - -\func{wxFont\&}{operator $=$}{\param{const wxFont\& }{font}} - -Assignment operator, using reference counting. Returns a reference -to `this'. - -\membersection{wxFont::operator $==$}\label{wxfontequals} - -\func{bool}{operator $==$}{\param{const wxFont\& }{font}} - -Equality operator. Two fonts are equal if they contain pointers -to the same underlying font data. It does not compare each attribute, -so two indefontdently-created fonts using the same parameters will -fail the test. - -\membersection{wxFont::operator $!=$}\label{wxfontnotequals} - -\func{bool}{operator $!=$}{\param{const wxFont\& }{font}} - -Inequality operator. Two fonts are not equal if they contain pointers -to different underlying font data. It does not compare each attribute. - - diff --git a/docs/latex/wx/fontdlg.tex b/docs/latex/wx/fontdlg.tex deleted file mode 100644 index d88e5c6ee9..0000000000 --- a/docs/latex/wx/fontdlg.tex +++ /dev/null @@ -1,187 +0,0 @@ -\section{\class{wxFontData}}\label{wxfontdata} - -\overview{wxFontDialog overview}{wxfontdialogoverview} - -This class holds a variety of information related to font dialogs. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Overview}{wxfontdialogoverview}, \helpref{wxFontDialog}{wxfontdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFontData::wxFontData} - -\func{}{wxFontData}{\void} - -Constructor. Initializes {\it fontColour} to black, {\it showHelp} to black, -\rtfsp{\it allowSymbols} to TRUE, {\it enableEffects} to TRUE, -\rtfsp{\it minSize} to 0 and {\it maxSize} to 0. - -\membersection{wxFontData::\destruct{wxFontData}} - -\func{}{\destruct{wxFontData}}{\void} - -Destructor. - -\membersection{wxFontData::EnableEffects} - -\func{void}{EnableEffects}{\param{bool}{ enable}} - -Enables or disables `effects' under MS Windows only. This refers to the -controls for manipulating colour, strikeout and underline properties. - -The default value is TRUE. - -\membersection{wxFontData::GetAllowSymbols} - -\func{bool}{GetAllowSymbols}{\void} - -Under MS Windows, returns a flag determining whether symbol fonts can be selected. Has no -effect on other platforms. - -The default value is TRUE. - -\membersection{wxFontData::GetColour} - -\func{wxColour\&}{GetColour}{\void} - -Gets the colour associated with the font dialog. - -The default value is black. - -\membersection{wxFontData::GetChosenFont} - -\func{wxFont}{GetChosenFont}{\void} - -Gets the font chosen by the user. If the user pressed OK (wxFontDialog::Show returned TRUE), this returns -a new font which is now `owned' by the application, and should be deleted -if not required. If the user pressed Cancel (wxFontDialog::Show returned FALSE) or -the colour dialog has not been invoked yet, this will return NULL. - -\membersection{wxFontData::GetEnableEffects} - -\func{bool}{GetEnableEffects}{\void} - -Determines whether `effects' are enabled under Windows. This refers to the -controls for manipulating colour, strikeout and underline properties. - -The default value is TRUE. - -\membersection{wxFontData::GetInitialFont} - -\func{wxFont}{GetInitialFont}{\void} - -Gets the font that will be initially used by the font dialog. This should have -previously been set by the application. - -\membersection{wxFontData::GetShowHelp} - -\func{bool}{GetShowHelp}{\void} - -Returns TRUE if the Help button will be shown (Windows only). - -The default value is FALSE. - -\membersection{wxFontData::SetAllowSymbols} - -\func{void}{SetAllowSymbols}{\param{bool}{ allowSymbols}} - -Under MS Windows, determines whether symbol fonts can be selected. Has no -effect on other platforms. - -The default value is TRUE. - -\membersection{wxFontData::SetChosenFont} - -\func{void}{SetChosenFont}{\param{const wxFont\& }{font}} - -Sets the font that will be returned to the user (for internal use only). - -\membersection{wxFontData::SetColour} - -\func{void}{SetColour}{\param{const wxColour\&}{ colour}} - -Sets the colour that will be used for the font foreground colour. - -The default colour is black. - -\membersection{wxFontData::SetInitialFont} - -\func{void}{SetInitialFont}{\param{const wxFont\&}{font}} - -Sets the font that will be initially used by the font dialog. - -\membersection{wxFontData::SetRange} - -\func{void}{SetRange}{\param{int}{ min}, \param{int}{ max}} - -Sets the valid range for the font point size (Windows only). - -The default is 0, 0 (unrestricted range). - -\membersection{wxFontData::SetShowHelp} - -\func{void}{SetShowHelp}{\param{bool}{ showHelp}} - -Determines whether the Help button will be displayed in the font dialog (Windows only). - -The default value is FALSE. - -\membersection{wxFontData::operator $=$} - -\func{void}{operator $=$}{\param{const wxFontData\&}{ data}} - -Assingment operator for the font data. - -\section{\class{wxFontDialog}}\label{wxfontdialog} - -This class represents the font chooser dialog. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Overview}{wxfontdialogoverview}, \helpref{wxFontData}{wxfontdata} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFontDialog::wxFontDialog} - -\func{}{wxFontDialog}{\param{wxWindow* }{parent}, \param{wxFontData* }{data = NULL}} - -Constructor. Pass a parent window, and optionally a pointer to a block of font -data, which will be copied to the font dialog's font data. - -\membersection{wxFontDialog::\destruct{wxFontDialog}} - -\func{}{\destruct{wxFontDialog}}{\void} - -Destructor. - -\membersection{wxFontDialog::GetFontData} - -\func{wxFontData\&}{GetFontData}{\void} - -Returns the \helpref{font data}{wxfontdata} associated with the font dialog. - -\membersection{wxFontDialog::ShowModal} - -\func{int}{ShowModal}{\void} - -Shows the dialog, returning wxID\_OK if the user pressed Ok, and wxID\_CANCEL -otherwise. - -If the user cancels the dialog (ShowModal returns wxID\_CANCEL), no font will be -created. If the user presses OK (ShowModal returns wxID\_OK), a new wxFont will -be created and stored in the font dialog's wxFontData structure. - diff --git a/docs/latex/wx/fontlist.tex b/docs/latex/wx/fontlist.tex deleted file mode 100644 index b6ee9b108b..0000000000 --- a/docs/latex/wx/fontlist.tex +++ /dev/null @@ -1,48 +0,0 @@ -\section{\class{wxFontList}}\label{wxfontlist} - -A font list is a list containing all fonts which have been created. There -is only one instance of this class: {\bf wxTheFontList}. Use this object to search -for a previously created font of the desired type and create it if not already found. -In some windowing systems, the font may be a scarce resource, so it is best to -reuse old resources if possible. When an application finishes, all fonts will be -deleted and their resources freed, eliminating the possibility of `memory leaks'. - -\wxheading{Derived from} - -\helpref{wxList}{wxlist}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxFont}{wxfont} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFontList::wxFontList} - -\func{}{wxFontList}{\void} - -Constructor. The application should not construct its own font list: -use the object pointer {\bf wxTheFontList}. - -\membersection{wxFontList::AddFont} - -\func{void}{AddFont}{\param{wxFont *}{font}} - -Used by wxWindows to add a font to the list, called in the font constructor. - -\membersection{wxFontList::FindOrCreateFont}\label{findorcreatefont} - -\func{wxFont *}{FindOrCreateFont}{\param{int}{ point\_size}, \param{int}{ family}, \param{int}{ style}, \param{int}{ weight}, \param{bool}{ underline = FALSE}, - \param{const wxString\& }{facename = NULL}} - -Finds a font of the given specification, or creates one and adds it to the list. See the \helpref{wxFont constructor}{wxfontconstr} for -details of the arguments. - -\membersection{wxFontList::RemoveFont} - -\func{void}{RemoveFont}{\param{wxFont *}{font}} - -Used by wxWindows to remove a font from the list. - - diff --git a/docs/latex/wx/forward.gif b/docs/latex/wx/forward.gif deleted file mode 100644 index 9c8421838a9822c3bcc3d5b9a40732a72647b558..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 109 zcmZ?wbh9u|RArE0_{hMpfB*jH&!6Y#=SMRz=r8~QNSuMGwx@sP>9_k^7`NQ&{w!+r zf%KU9zk~i;0ZD#X^N5AuKea*5ueKt+`*Q6=#S#sWkN~ N6xIITmGWvyEC7LnF*yJL diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex deleted file mode 100644 index 71f2df8904..0000000000 --- a/docs/latex/wx/frame.tex +++ /dev/null @@ -1,571 +0,0 @@ -\section{\class{wxFrame}}\label{wxframe} - -A frame is a window whose size and position can (usually) be changed by the user. It usually has -thick borders and a title bar, and can optionally contain a menu bar, toolbar and -status bar. A frame can contain any window that is not a frame or dialog. - -A frame that has a status bar and toolbar created via the CreateStatusBar/CreateToolBar functions -manages these windows, and adjusts the value returned by GetClientSize to reflect -the remaining size available to application windows. - -\wxheading{Derived from} - -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxICONIZE}}{Display the frame iconized (minimized) (Windows only).} -\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the frame.} -\twocolitem{\windowstyle{wxDEFAULT\_FRAME\_STYLE}}{Defined as {\bf wxMINIMIZE\_BOX \pipe wxMAXIMIZE\_BOX \pipe wxTHICK\_FRAME \pipe wxSYSTEM\_MENU \pipe wxCAPTION}.} -\twocolitem{\windowstyle{wxMINIMIZE}}{Identical to {\bf wxICONIZE}.} -\twocolitem{\windowstyle{wxMINIMIZE\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxMAXIMIZE}}{Displays the frame maximized (Windows only).} -\twocolitem{\windowstyle{wxMAXIMIZE\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{Stay on top of other windows (Windows only).} -\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Displays a system menu (Windows and Motif only).} -\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Displays a thick frame around the window (Windows and Motif only).} -\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Displays a resizeable border around the window (Motif only).} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Remarks} - -An application should normally define an \helpref{OnCloseWindow}{wxwindowonclosewindow} handler for the -frame to respond to system close events, for example so that related data and subwindows can be cleaned up. - -\wxheading{See also} - -\helpref{wxMDIParentFrame}{wxmdiparentframe}, \helpref{wxMDIChildFrame}{wxmdichildframe},\rtfsp -\helpref{wxMiniFrame}{wxminiframe}, \helpref{wxDialog}{wxdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxFrame::wxFrame}\label{wxframeconstr} - -\func{}{wxFrame}{\void} - -Default constructor. - -\func{}{wxFrame}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Constructor, creating the window. - -\wxheading{Parameters} - -\docparam{parent}{The window parent. This may be NULL. If it is non-NULL, the frame will -always be displayed on top of the parent window on Windows.} - -\docparam{id}{The window identifier. It may take a value of -1 to indicate a default value.} - -\docparam{title}{The caption to be displayed on the frame's title bar.} - -\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{style}{The window style. See \helpref{wxFrame}{wxframe}.} - -\docparam{name}{The name of the window. This parameter is used to associate a name with the item, -allowing the application user to set Motif resource values for -individual windows.} - -\wxheading{Remarks} - -For Motif, MWM (the Motif Window Manager) should be running for any window styles to work -(otherwise all styles take effect). - -\wxheading{See also} - -\helpref{wxFrame::Create}{wxframecreate} - -\membersection{wxFrame::\destruct{wxFrame}} - -\func{void}{\destruct{wxFrame}}{\void} - -Destructor. Destroys all child windows and menu bar if present. - -\membersection{wxFrame::Centre}\label{wxframecentre} - -\func{void}{Centre}{\param{int}{ direction = wxBOTH}} - -Centres the frame on the display. - -\wxheading{Parameters} - -\docparam{direction}{The parameter may be {\tt wxHORIZONTAL}, {\tt wxVERTICAL} or {\tt wxBOTH}.} - -\membersection{wxFrame::Command}\label{wxframecommand} - -\func{void}{Command}{\param{int }{id}} - -Simulate a menu command. - -\wxheading{Parameters} - -\docparam{id}{The identifier for a menu item.} - -\membersection{wxFrame::Create}\label{wxframecreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Used in two-step frame construction. See \helpref{wxFrame::wxFrame}{wxframeconstr}\rtfsp -for further details. - -\membersection{wxFrame::CreateStatusBar}\label{wxframecreatestatusbar} - -\func{virtual wxStatusBar*}{CreateStatusBar}{\param{int}{ number = 1}, - \param{long}{ style = 0}, - \param{wxWindowID}{ id = -1}, \param{const wxString\&}{ name = "statusBar"}} - -Creates a status bar at the bottom of the frame. - -\wxheading{Parameters} - -\docparam{number}{The number of fields to create. Specify a -value greater than 1 to create a multi-field status bar.} - -\docparam{style}{The status bar style. See \helpref{wxStatusBar}{wxstatusbar} for a list -of valid styles.} - -\docparam{id}{The status bar window identifier. If -1, an identifier will be chosen by -wxWindows.} - -\docparam{name}{The status bar window name.} - -\wxheading{Return value} - -A pointer to the the status bar if it was created successfully, NULL otherwise. - -\wxheading{Remarks} - -The width of the status bar is the whole width of the frame (adjusted automatically when -resizing), and the height and text size are chosen by the host windowing system. - -By default, the status bar is an instance of wxStatusBar. To use a different class, -override \helpref{wxFrame::OnCreateStatusBar}{wxframeoncreatestatusbar}. - -Note that you can put controls and other windows on the status bar if you wish. - -\wxheading{See also} - -\helpref{wxFrame::SetStatusText}{wxframesetstatustext},\rtfsp -\helpref{wxFrame::OnCreateStatusBar}{wxframeoncreatestatusbar},\rtfsp -\helpref{wxFrame::GetStatusBar}{wxframegetstatusbar} - -\membersection{wxFrame::CreateToolBar}\label{wxframecreatetoolbar} - -\func{virtual wxToolBar*}{CreateToolBar}{\param{long}{ style = wxNO\_BORDER \pipe wxTB\_HORIZONTAL}, - \param{wxWindowID}{ id = -1}, \param{const wxString\&}{ name = "toolBar"}} - -Creates a toolbar at the top or left of the frame. - -\wxheading{Parameters} - -\docparam{style}{The toolbar style. See \helpref{wxToolBar}{wxtoolbar} for a list -of valid styles.} - -\docparam{id}{The toolbar window identifier. If -1, an identifier will be chosen by -wxWindows.} - -\docparam{name}{The toolbar window name.} - -\wxheading{Return value} - -A pointer to the the toolbar if it was created successfully, NULL otherwise. - -\wxheading{Remarks} - -By default, the toolbar is an instance of wxToolBar (which is defined to be -a suitable toolbar class on each platform, such as wxToolBar95). To use a different class, -override \helpref{wxFrame::OnCreateToolBar}{wxframeoncreatetoolbar}. - -When a toolbar has been created with this function, or made known to the frame -with \helpref{wxFrame::SetToolBar}{wxframesettoolbar}, the frame will manage the toolbar -position and adjust the return value from \helpref{wxWindow::GetClientSize}{wxwindowgetclientsize} to -reflect the available space for application windows. - -\wxheading{See also} - -\helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar},\rtfsp -\helpref{wxFrame::OnCreateToolBar}{wxframeoncreatetoolbar},\rtfsp -\helpref{wxFrame::SetToolBar}{wxframesettoolbar},\rtfsp -\helpref{wxFrame::GetToolBar}{wxframegettoolbar} - -\membersection{wxFrame::GetMenuBar}\label{wxframegetmenubar} - -\constfunc{wxMenuBar*}{GetMenuBar}{\void} - -Returns a pointer to the menubar currently associated with the frame (if any). - -\wxheading{See also} - -\helpref{wxFrame::SetMenuBar}{wxframesetmenubar}, \helpref{wxMenuBar}{wxmenubar}, \helpref{wxMenu}{wxmenu} - -\membersection{wxFrame::GetStatusBar}\label{wxframegetstatusbar} - -\func{wxStatusBar*}{GetStatusBar}{\void} - -Returns a pointer to the status bar currently associated with the frame (if any). - -\wxheading{See also} - -\helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}, \helpref{wxStatusBar}{wxstatusbar} - -\membersection{wxFrame::GetTitle}\label{wxframegettitle} - -\func{wxString\&}{GetTitle}{\void} - -Gets a temporary pointer to the frame title. See -\helpref{wxFrame::SetTitle}{wxframesettitle}. - -\membersection{wxFrame::GetToolBar}\label{wxframegettoolbar} - -\func{wxToolBar*}{GetToolBar}{\void} - -Returns a pointer to the toolbar currently associated with the frame (if any). - -\wxheading{See also} - -\helpref{wxFrame::CreateToolBar}{wxframecreatetoolbar}, \helpref{wxToolBar}{wxtoolbar},\rtfsp -\helpref{wxFrame::SetToolBar}{wxframesettoolbar} - -\membersection{wxFrame::Iconize}\label{wxframeiconize} - -\func{void}{Iconize}{\param{const bool}{ iconize}} - -Iconizes or restores the frame. - -\wxheading{Parameters} - -\docparam{izonize}{If TRUE, iconizes the frame; if FALSE, shows and restores it.} - -\wxheading{See also} - -\helpref{wxFrame::IsIconized}{wxframeisiconized}, \helpref{wxFrame::Maximize}{wxframemaximize}. - -\membersection{wxFrame::IsIconized}\label{wxframeisiconized} - -\func{bool}{IsIconized}{\void} - -Returns TRUE if the frame is iconized. - -\membersection{wxFrame::LoadAccelerators}\label{wxframeloadaccelerators} - -\func{void}{LoadAccelerators}{\param{const wxString\& }{table}} - -Loads a keyboard accelerator table for this frame. - -\wxheading{Parameters} - -\docparam{table}{Accelerator table to load.} - -\wxheading{Return value} - -TRUE if the operation was successful, FALSE otherwise. - -\wxheading{Remarks} - -Accelerator tables map keystrokes onto control and menu identifiers, so the -programmer does not have to explicitly program this correspondence. - -See the hello demo ({\tt hello.cpp} and {\tt hello.rc}) for -an example of accelerator usage. This is a fragment from {\tt hello.rc}: - -\begin{verbatim} -#define HELLO_LOAD_FILE 111 - -menus_accel ACCELERATORS -{ - -"^L", HELLO_LOAD_FILE - -} -\end{verbatim} - -This function only works under Windows. - -% huh? If you call LoadAccelerators, you need to override wxFrame::OnActivate to do nothing. - -\membersection{wxFrame::Maximize}\label{wxframemaximize} - -\func{void}{Maximize}{\param{const bool }{maximize}} - -Maximizes or restores the frame. - -\wxheading{Parameters} - -\docparam{maximize}{If TRUE, maximizes the frame, otherwise it restores it}. - -\wxheading{Remarks} - -This function only works under Windows. - -\wxheading{See also} - -\helpref{wxFrame::Iconize}{wxframeiconize} - -\membersection{wxFrame::OnActivate} - -\func{void}{OnActivate}{\param{bool}{ active}} - -Called when a window is activated or deactivated (MS Windows -only). If the window is being activated, {\it active} is TRUE, else it -is FALSE. - -If you call wxFrame::LoadAccelerators, you need to override this function e.g. - -\begin{verbatim} - void OnActivate(bool) {}; -\end{verbatim} - -\membersection{wxFrame::OnCreateStatusBar}\label{wxframeoncreatestatusbar} - -\func{virtual wxStatusBar*}{OnCreateStatusBar}{\param{int }{number} - \param{long}{ style}, - \param{wxWindowID}{ id}, \param{const wxString\&}{ name}} - -Virtual function called when a status bar is requested by \helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}. - -\wxheading{Parameters} - -\docparam{number}{The number of fields to create.} - -\docparam{style}{The window style. See \helpref{wxStatusBar}{wxstatusbar} for a list -of valid styles.} - -\docparam{id}{The window identifier. If -1, an identifier will be chosen by -wxWindows.} - -\docparam{name}{The window name.} - -\wxheading{Return value} - -A status bar object. - -\wxheading{Remarks} - -An application can override this function to return a different kind of status bar. The default -implementation returns an instance of \helpref{wxStatusBar}{wxstatusbar}. - -\wxheading{See also} - -\helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}, \helpref{wxStatusBar}{wxstatusbar}. - -\membersection{wxFrame::OnCreateToolBar}\label{wxframeoncreatetoolbar} - -\func{virtual wxToolBar*}{OnCreateToolBar}{\param{long}{ style}, - \param{wxWindowID}{ id}, \param{const wxString\&}{ name}} - -Virtual function called when a toolbar is requested by \helpref{wxFrame::CreateToolBar}{wxframecreatetoolbar}. - -\wxheading{Parameters} - -\docparam{style}{The toolbar style. See \helpref{wxToolBar}{wxtoolbar} for a list -of valid styles.} - -\docparam{id}{The toolbar window identifier. If -1, an identifier will be chosen by -wxWindows.} - -\docparam{name}{The toolbar window name.} - -\wxheading{Return value} - -A toolbar object. - -\wxheading{Remarks} - -An application can override this function to return a different kind of toolbar. The default -implementation returns an instance of \helpref{wxToolBar}{wxtoolbar}. - -\wxheading{See also} - -\helpref{wxFrame::CreateToolBar}{wxframecreatetoolbar}, \helpref{wxToolBar}{wxtoolbar}. - -\membersection{wxFrame::OnMenuCommand}\label{wxframeonmenucommand} - -\func{void}{OnMenuCommand}{\param{wxCommandEvent\&}{ event}} - -See \helpref{wxWindow::OnMenuCommand}{wxwindowonmenucommand}. - -\membersection{wxFrame::OnMenuHighlight}\label{wxframeonmenuhighlight} - -\func{void}{OnMenuHighlight}{\param{wxMenuEvent\&}{ event}} - -See \helpref{wxWindow::OnMenuHighlight}{wxwindowonmenuhighlight}. - -\membersection{wxFrame::OnSize}\label{wxframeonsize} - -\func{void}{OnSize}{\param{wxSizeEvent\& }{event}} - -See \helpref{wxWindow::OnSize}{wxwindowonsize}. - -The default {\bf wxFrame::OnSize} implementation looks for a single subwindow, -and if one is found, resizes it to fit -inside the frame. Override this member if more complex behaviour -is required (for example, if there are several subwindows). - -\membersection{wxFrame::SetIcon}\label{wxframeseticon} - -\func{void}{SetIcon}{\param{const wxIcon\& }{icon}} - -Sets the icon for this frame. - -\wxheading{Parameters} - -\docparam{icon}{The icon to associate with this frame.} - -\wxheading{Remarks} - -The frame takes a `copy' of {\it icon}, but since it uses reference -counting, the copy is very quick. It is safe to delete {\it icon} after -calling this function. - -Under Windows, instead of using {\bf SetIcon}, you can add the -following lines to your MS Windows resource file: - -\begin{verbatim} -wxSTD_MDIPARENTFRAME ICON icon1.ico -wxSTD_MDICHILDFRAME ICON icon2.ico -wxSTD_FRAME ICON icon3.ico -\end{verbatim} - -where icon1.ico will be used for the MDI parent frame, icon2.ico -will be used for MDI child frames, and icon3.ico will be used for -non-MDI frames. - -If these icons are not supplied, and {\bf SetIcon} is not called either, -then the following defaults apply if you have included wx.rc. - -\begin{verbatim} -wxDEFAULT_FRAME ICON std.ico -wxDEFAULT_MDIPARENTFRAME ICON mdi.ico -wxDEFAULT_MDICHILDFRAME ICON child.ico -\end{verbatim} - -You can replace std.ico, mdi.ico and child.ico with your own defaults -for all your wxWindows application. Currently they show the same icon. - -{\it Note:} a wxWindows application linked with subsystem equal to 4.0 -(i.e. marked as a Windows 95 application) doesn't respond properly -to wxFrame::SetIcon. To work around this until a solution is found, -mark your program as a 3.5 application. This will also ensure -that Windows provides small icons for the application automatically. - -See also \helpref{wxIcon}{wxicon}. - -\membersection{wxFrame::SetMenuBar}\label{wxframesetmenubar} - -\func{void}{SetMenuBar}{\param{wxMenuBar* }{menuBar}} - -Tells the frame to show the given menu bar. - -\wxheading{Parameters} - -\docparam{menuBar}{The menu bar to associate with the frame.} - -\wxheading{Remarks} - -If the frame is destroyed, the -menu bar and its menus will be destroyed also, so do not delete the menu -bar explicitly (except by resetting the frame's menu bar to another -frame or NULL). - -Under Windows, a call to \helpref{wxFrame::OnSize}{wxframeonsize} is generated, so be sure to initialize -data members properly before calling {\bf SetMenuBar}. - -Note that it is not possible to call this function twice for the same frame object. - -\wxheading{See also} - -\helpref{wxFrame::GetMenuBar}{wxframegetmenubar}, \helpref{wxMenuBar}{wxmenubar}, \helpref{wxMenu}{wxmenu}. - -\membersection{wxFrame::SetStatusBar}\label{wxframesetstatusbar} - -\func{void}{SetStatusBar}{\param{wxStatusBar*}{ statusBar}} - -Associates a status bar with the frame. - -\wxheading{See also} - -\helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}, \helpref{wxStatusBar}{wxstatusbar},\rtfsp -\helpref{wxFrame::GetStatusBar}{wxframegetstatusbar} - -\membersection{wxFrame::SetStatusText}\label{wxframesetstatustext} - -\func{virtual void}{SetStatusText}{\param{const wxString\& }{ text}, \param{int}{ number = 0}} - -Sets the status bar text and redraws the status bar. - -\wxheading{Parameters} - -\docparam{text}{The text for the status field.} - -\docparam{number}{The status field (starting from zero).} - -\wxheading{Remarks} - -Use an empty string to clear the status bar. - -\wxheading{See also} - -\helpref{wxFrame::CreateStatusBar}{wxframecreatestatusbar}, \helpref{wxStatusBar}{wxstatusbar} - -\membersection{wxFrame::SetStatusWidths}\label{wxframesetstatuswidths} - -\func{virtual void}{SetStatusWidths}{\param{int}{ n}, \param{int *}{widths}} - -Sets the widths of the fields in the status bar. - -\wxheading{Parameters} - -\wxheading{n}{The number of fields in the status bar. It must be the -same used in \helpref{CreateStatusBar}{wxframecreatestatusbar}.} - -\docparam{widths}{Must contain an array of {\it n} integers, each of which is a status field width -in pixels. A value of -1 indicates that the field is variable width; at least one -field must be -1. You should delete this array after calling {\bf SetStatusWidths}.} - -\wxheading{Remarks} - -The widths of the variable fields are calculated from the total width of all fields, -minus the sum of widths of the non-variable fields, divided by the number of -variable fields. - -\membersection{wxFrame::SetToolBar}\label{wxframesettoolbar} - -\func{void}{SetToolBar}{\param{wxToolBar*}{ toolBar}} - -Associates a toolbar with the frame. - -\wxheading{See also} - -\helpref{wxFrame::CreateToolBar}{wxframecreatetoolbar}, \helpref{wxToolBar}{wxtoolbar},\rtfsp -\helpref{wxFrame::GetToolBar}{wxframegettoolbar} - -\membersection{wxFrame::SetTitle}\label{wxframesettitle} - -\func{virtual void}{SetTitle}{\param{const wxString\& }{ title}} - -Sets the frame title. - -\wxheading{Parameters} - -\docparam{title}{The frame title.} - -\wxheading{See also} - -\helpref{wxFrame::GetTitle}{wxframegettitle} - diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex deleted file mode 100644 index 15c982dbe2..0000000000 --- a/docs/latex/wx/function.tex +++ /dev/null @@ -1,1562 +0,0 @@ -\chapter{Functions}\label{functions} -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage} - -The functions defined in wxWindows are described here. - -\section{File functions}\label{filefunctions} - -See also \helpref{wxPathList}{wxpathlist}. - -\membersection{::wxDirExists} - -\func{bool}{wxDirExists}{\param{const wxString\& }{dirname}} - -Returns TRUE if the directory exists. - -\membersection{::wxDos2UnixFilename} - -\func{void}{Dos2UnixFilename}{\param{const wxString\& }{s}} - -Converts a DOS to a UNIX filename by replacing backslashes with forward -slashes. - -\membersection{::wxFileExists} - -\func{bool}{wxFileExists}{\param{const wxString\& }{filename}} - -Returns TRUE if the file exists. - -\membersection{::wxFileNameFromPath} - -\func{wxString}{wxFileNameFromPath}{\param{const wxString\& }{path}} - -Returns a temporary pointer to the filename for a full path. -Copy this pointer for long-term use. - -\membersection{::wxFindFirstFile}\label{wxfindfirstfile} - -\func{wxString}{wxFindFirstFile}{\param{const wxString\& }{spec}, \param{int}{ flags = 0}} - -This function does directory searching; returns the first file -that matches the path {\it spec}, or NULL. Use \helpref{wxFindNextFile}{wxfindnextfile} to -get the next matching file. - -{\it spec} may contain wildcards. - -{\it flags} is reserved for future use. - -The returned filename is a pointer to static memory so should -not be freed. - -For example: - -\begin{verbatim} - wxString f = wxFindFirstFile("/home/project/*.*"); - while (f) - { - ... - f = wxFindNextFile(); - } -\end{verbatim} - -\membersection{::wxFindNextFile}\label{wxfindnextfile} - -\func{wxString}{wxFindFirstFile}{\void} - -Returns the next file that matches the path passed to \helpref{wxFindFirstFile}{wxfindfirstfile}. - -\membersection{::wxIsAbsolutePath} - -\func{bool}{wxIsAbsolutePath}{\param{const wxString\& }{filename}} - -Returns TRUE if the argument is an absolute filename, i.e. with a slash -or drive name at the beginning. - -\membersection{::wxPathOnly} - -\func{wxString}{wxPathOnly}{\param{const wxString\& }{path}} - -Returns a temporary pointer to the directory part of the filename. Copy this -pointer for long-term use. - -\membersection{::wxUnix2DosFilename} - -\func{void}{wxUnix2DosFilename}{\param{const wxString\& }{s}} - -Converts a UNIX to a DOS filename by replacing forward -slashes with backslashes. - -\membersection{::wxConcatFiles} - -\func{bool}{wxConcatFiles}{\param{const wxString\& }{file1}, \param{const wxString\& }{file2}, -\param{const wxString\& }{file3}} - -Concatenates {\it file1} and {\it file2} to {\it file3}, returning -TRUE if successful. - -\membersection{::wxCopyFile} - -\func{bool}{wxCopyFile}{\param{const wxString\& }{file1}, \param{const wxString\& }{file2}} - -Copies {\it file1} to {\it file2}, returning TRUE if successful. - -\membersection{::wxGetHostName}\label{wxgethostname} - -\func{bool}{wxGetHostName}{\param{const wxString\& }{buf}, \param{int }{sz}} - -Copies the current host machine's name into the supplied buffer. - -Under Windows or NT, this function first looks in the environment -variable SYSTEM\_NAME; if this is not found, the entry {\bf HostName}\rtfsp -in the {\bf wxWindows} section of the WIN.INI file is tried. - -Returns TRUE if successful, FALSE otherwise. - -\membersection{::wxGetEmailAddress}\label{wxgetemailaddress} - -\func{bool}{wxGetEmailAddress}{\param{const wxString\& }{buf}, \param{int }{sz}} - -Copies the user's email address into the supplied buffer, by -concatenating the values returned by \helpref{wxGetHostName}{wxgethostname}\rtfsp -and \helpref{wxGetUserId}{wxgetuserid}. - -Returns TRUE if successful, FALSE otherwise. - -\membersection{::wxGetUserId}\label{wxgetuserid} - -\func{bool}{wxGetUserId}{\param{const wxString\& }{buf}, \param{int }{sz}} - -Copies the current user id into the supplied buffer. - -Under Windows or NT, this function first looks in the environment -variables USER and LOGNAME; if neither of these is found, the entry {\bf UserId}\rtfsp -in the {\bf wxWindows} section of the WIN.INI file is tried. - -Returns TRUE if successful, FALSE otherwise. - -\membersection{::wxGetUserName}\label{wxgetusername} - -\func{bool}{wxGetUserName}{\param{const wxString\& }{buf}, \param{int }{sz}} - -Copies the current user name into the supplied buffer. - -Under Windows or NT, this function looks for the entry {\bf UserName}\rtfsp -in the {\bf wxWindows} section of the WIN.INI file. If PenWindows -is running, the entry {\bf Current} in the section {\bf User} of -the PENWIN.INI file is used. - -Returns TRUE if successful, FALSE otherwise. - -\membersection{::wxGetWorkingDirectory} - -\func{wxString}{wxGetWorkingDirectory}{\param{const wxString\& }{buf=NULL}, \param{int }{sz=1000}} - -Copies the current working directory into the buffer if supplied, or -copies the working directory into new storage (which you must delete yourself) -if the buffer is NULL. - -{\it sz} is the size of the buffer if supplied. - -\membersection{::wxGetTempFileName} - -\func{wxString}{wxGetTempFileName}{\param{const wxString\& }{prefix}, \param{const wxString\& }{buf=NULL}} - -Makes a temporary filename based on {\it prefix}, opens and closes the file, -and places the name in {\it buf}. If {\it buf} is NULL, new store -is allocated for the temporary filename using {\it new}. - -Under Windows, the filename will include the drive and name of the -directory allocated for temporary files (usually the contents of the -TEMP variable). Under UNIX, the {\tt /tmp} directory is used. - -It is the application's responsibility to create and delete the file. - -\membersection{::wxIsWild}\label{wxiswild} - -\func{bool}{wxIsWild}{\param{const wxString\& }{pattern}} - -Returns TRUE if the pattern contains wildcards. See \helpref{wxMatchWild}{wxmatchwild}. - -\membersection{::wxMatchWild}\label{wxmatchwild} - -\func{bool}{wxMatchWild}{\param{const wxString\& }{pattern}, \param{const wxString\& }{text}, \param{bool}{ dot\_special}} - -Returns TRUE if the {\it pattern}\/ matches the {\it text}\/; if {\it -dot\_special}\/ is TRUE, filenames beginning with a dot are not matched -with wildcard characters. See \helpref{wxIsWild}{wxiswild}. - -\membersection{::wxMkdir} - -\func{bool}{wxMkdir}{\param{const wxString\& }{dir}} - -Makes the directory {\it dir}, returning TRUE if successful. - -\membersection{::wxRemoveFile} - -\func{bool}{wxRemoveFile}{\param{const wxString\& }{file}} - -Removes {\it file}, returning TRUE if successful. - -\membersection{::wxRenameFile} - -\func{bool}{wxRenameFile}{\param{const wxString\& }{file1}, \param{const wxString\& }{file2}} - -Renames {\it file1} to {\it file2}, returning TRUE if successful. - -\membersection{::wxRmdir} - -\func{bool}{wxRmdir}{\param{const wxString\& }{dir}, \param{int}{ flags=0}} - -Removes the directory {\it dir}, returning TRUE if successful. Does not work under VMS. - -The {\it flags} parameter is reserved for future use. - -\membersection{::wxSetWorkingDirectory} - -\func{bool}{wxSetWorkingDirectory}{\param{const wxString\& }{dir}} - -Sets the current working directory, returning TRUE if the operation succeeded. -Under MS Windows, the current drive is also changed if {\it dir} contains a drive specification. - -\section{String functions} - -\membersection{::copystring} - -\func{char*}{copystring}{\param{const char* }{s}} - -Makes a copy of the string {\it s} using the C++ new operator, so it can be -deleted with the {\it delete} operator. - -\membersection{::wxStringMatch} - -\func{bool}{wxStringMatch}{\param{const wxString\& }{s1}, \param{const wxString\& }{s2},\\ - \param{bool}{ subString = TRUE}, \param{bool}{ exact = FALSE}} - -Returns TRUE if the substring {\it s1} is found within {\it s2}, -ignoring case if {\it exact} is FALSE. If {\it subString} is FALSE, -no substring matching is done. - -\membersection{::wxStringEq}\label{wxstringeq} - -\func{bool}{wxStringEq}{\param{const wxString\& }{s1}, \param{const wxString\& }{s2}} - -A macro defined as: - -\begin{verbatim} -#define wxStringEq(s1, s2) (s1 && s2 && (strcmp(s1, s2) == 0)) -\end{verbatim} - -\membersection{::wxTransferFileToStream}\label{wxtransferfiletostream} - -\func{bool}{wxTransferFileToStream}{\param{const wxString\& }{filename}, \param{ostream\& }{stream}} - -Copies the given file to {\it stream}. Useful when converting an old application to -use streams (within the document/view framework, for example). - -Use of this function requires the file wx\_doc.h to be included. - -\membersection{::wxTransferStreamToFile}\label{wxtransferstreamtofile} - -\func{bool}{wxTransferStreamToFile}{\param{istream\& }{stream} \param{const wxString\& }{filename}} - -Copies the given stream to the file {\it filename}. Useful when converting an old application to -use streams (within the document/view framework, for example). - -Use of this function requires the file wx\_doc.h to be included. - -\section{Dialog functions}\label{dialogfunctions} - -Below are a number of convenience functions for getting input from the -user or displaying messages. Note that in these functions the last three -parameters are optional. However, it is recommended to pass a parent frame -parameter, or (in MS Windows or Motif) the wrong window frame may be brought to -the front when the dialog box is popped up. - -\membersection{::wxFileSelector}\label{wxfileselector} - -\func{wxString}{wxFileSelector}{\param{const wxString\& }{message}, \param{const wxString\& }{default\_path = NULL},\\ - \param{const wxString\& }{default\_filename = NULL}, \param{const wxString\& }{default\_extension = NULL},\\ - \param{const wxString\& }{wildcard = ``*.*''}, \param{int }{flags = 0}, \param{wxWindow *}{parent = NULL},\\ - \param{int}{ x = -1}, \param{int}{ y = -1}} - -Pops up a file selector box. In Windows, this is the common file selector -dialog. In X, this is a file selector box with somewhat less functionality. -The path and filename are distinct elements of a full file pathname. -If path is NULL, the current directory will be used. If filename is NULL, -no default filename will be supplied. The wildcard determines what files -are displayed in the file selector, and file extension supplies a type -extension for the required filename. Flags may be a combination of wxOPEN, -wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, or 0. They are only significant -at present in Windows. - -Both the X and Windows versions implement a wildcard filter. Typing a -filename containing wildcards (*, ?) in the filename text item, and -clicking on Ok, will result in only those files matching the pattern being -displayed. In the X version, supplying no default name will result in the -wildcard filter being inserted in the filename text item; the filter is -ignored if a default name is supplied. - -Under Windows (only), 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" -\end{verbatim} - -The application must check for a NULL return value (the user pressed -Cancel). For example: - -\begin{verbatim} -const wxString\& s = wxFileSelector("Choose a file to open"); -if (s) -{ - ... -} -\end{verbatim} - -Remember that the returned pointer is temporary and should be copied -if other wxWindows calls will be made before the value is to be used. - -\membersection{::wxGetTextFromUser}\label{wxgettextfromuser} - -\func{wxString}{wxGetTextFromUser}{\param{const wxString\& }{message}, \param{const wxString\& }{caption = ``Input text"},\\ - \param{const wxString\& }{default\_value = ``"}, \param{wxWindow *}{parent = NULL},\\ - \param{int}{ x = -1}, \param{int}{ y = -1}, \param{bool}{ centre = TRUE}} - -Pop up a dialog box with title set to {\it caption}, message {\it message}, and a -\rtfsp{\it default\_value}. The user may type in text and press OK to return this text, -or press Cancel to return NULL. - -If {\it centre} is TRUE, the message text (which may include new line characters) -is centred; if FALSE, the message is left-justified. - -\membersection{::wxGetMultipleChoice}\label{wxgetmultiplechoice} - -\func{int}{wxGetMultipleChoice}{\param{const wxString\& }{message}, \param{const wxString\& }{caption}, \param{int}{ n}, \param{const wxString\& }{choices[]},\\ - \param{int }{nsel}, \param{int *}{selection}, - \param{wxWindow *}{parent = NULL}, \param{int}{ x = -1}, \param{int}{ y = -1},\\ - \param{bool}{ centre = TRUE}, \param{int }{width=150}, \param{int }{height=200}} - -Pops up a dialog box containing a message, OK/Cancel buttons and a multiple-selection -listbox. The user may choose one or more item(s) and press OK or Cancel. - -The number of initially selected choices, and array of the selected indices, -are passed in; this array will contain the user selections on exit, with -the function returning the number of selections. {\it selection} must be -as big as the number of choices, in case all are selected. - -If Cancel is pressed, -1 is returned. - -{\it choices} is an array of {\it n} strings for the listbox. - -If {\it centre} is TRUE, the message text (which may include new line characters) -is centred; if FALSE, the message is left-justified. - -\membersection{::wxGetSingleChoice}\label{wxgetsinglechoice} - -\func{wxString}{wxGetSingleChoice}{\param{const wxString\& }{message}, \param{const wxString\& }{caption}, \param{int}{ n}, \param{const wxString\& }{choices[]},\\ - \param{wxWindow *}{parent = NULL}, \param{int}{ x = -1}, \param{int}{ y = -1},\\ - \param{bool}{ centre = TRUE}, \param{int }{width=150}, \param{int }{height=200}} - -Pops up a dialog box containing a message, OK/Cancel buttons and a single-selection -listbox. The user may choose an item and press OK to return a string or -Cancel to return NULL. - -{\it choices} is an array of {\it n} strings for the listbox. - -If {\it centre} is TRUE, the message text (which may include new line characters) -is centred; if FALSE, the message is left-justified. - -\membersection{::wxGetSingleChoiceIndex}\label{wxgetsinglechoiceindex} - -\func{int}{wxGetSingleChoiceIndex}{\param{const wxString\& }{message}, \param{const wxString\& }{caption}, \param{int}{ n}, \param{const wxString\& }{choices[]},\\ - \param{wxWindow *}{parent = NULL}, \param{int}{ x = -1}, \param{int}{ y = -1},\\ - \param{bool}{ centre = TRUE}, \param{int }{width=150}, \param{int }{height=200}} - -As {\bf wxGetSingleChoice} but returns the index representing the selected string. -If the user pressed cancel, -1 is returned. - -\membersection{::wxGetSingleChoiceData}\label{wxgetsinglechoicedata} - -\func{wxString}{wxGetSingleChoiceData}{\param{const wxString\& }{message}, \param{const wxString\& }{caption}, \param{int}{ n}, \param{const wxString\& }{choices[]},\\ - \param{const wxString\& }{client\_data[]}, \param{wxWindow *}{parent = NULL}, \param{int}{ x = -1},\\ - \param{int}{ y = -1}, \param{bool}{ centre = TRUE}, \param{int }{width=150}, \param{int }{height=200}} - -As {\bf wxGetSingleChoice} but takes an array of client data pointers -corresponding to the strings, and returns one of these pointers. - -\membersection{::wxMessageBox}\label{wxmessagebox} - -\func{int}{wxMessageBox}{\param{const wxString\& }{message}, \param{const wxString\& }{caption = ``Message"}, \param{int}{ style = wxOK \pipe wxCENTRE},\\ - \param{wxWindow *}{parent = NULL}, \param{int}{ x = -1}, \param{int}{ y = -1}} - -General purpose message dialog. {\it style} may be a bit list of the -following identifiers: - -\begin{twocollist}\itemsep=0pt -\twocolitem{wxYES\_NO}{Puts Yes and No buttons on the message box. May be combined with -wxCANCEL.} -\twocolitem{wxCANCEL}{Puts a Cancel button on the message box. May be combined with -wxYES\_NO or wxOK.} -\twocolitem{wxOK}{Puts an Ok button on the message box. May be combined with wxCANCEL.} -\twocolitem{wxCENTRE}{Centres the text.} -\twocolitem{wxICON\_EXCLAMATION}{Under Windows, displays an exclamation mark symbol.} -\twocolitem{wxICON\_HAND}{Under Windows, displays a hand symbol.} -\twocolitem{wxICON\_QUESTION}{Under Windows, displays a question mark symbol.} -\twocolitem{wxICON\_INFORMATION}{Under Windows, displays an information symbol.} -\end{twocollist} - -The return value is one of: wxYES, wxNO, wxCANCEL, wxOK. - -For example: - -\begin{verbatim} - ... - int answer = wxMessageBox("Quit program?", "Confirm", - wxYES_NO | wxCANCEL, main_frame); - if (answer == wxYES) - delete main_frame; - ... -\end{verbatim} - -{\it message} may contain newline characters, in which case the -message will be split into separate lines, to cater for large messages. - -Under Windows, the native MessageBox function is used unless wxCENTRE -is specified in the style, in which case a generic function is used. -This is because the native MessageBox function cannot centre text. -The symbols are not shown when the generic function is used. - -\section{GDI functions}\label{gdifunctions} - -The following are relevant to the GDI (Graphics Device Interface). - -\membersection{::wxColourDisplay} - -\func{bool}{wxColourDisplay}{\void} - -Returns TRUE if the display is colour, FALSE otherwise. - -\membersection{::wxDisplayDepth} - -\func{int}{wxDisplayDepth}{\void} - -Returns the depth of the display (a value of 1 denotes a monochrome display). - -\membersection{::wxMakeMetaFilePlaceable}\label{wxmakemetafileplaceable} - -\func{bool}{wxMakeMetaFilePlaceable}{\param{const wxString\& }{filename}, \param{int }{minX}, \param{int }{minY}, - \param{int }{maxX}, \param{int }{maxY}, \param{float }{scale=1.0}} - -Given a filename for an existing, valid metafile (as constructed using \helpref{wxMetaFileDC}{wxmetafiledc}) -makes it into a placeable metafile by prepending a header containing the given -bounding box. The bounding box may be obtained from a device context after drawing -into it, using the functions wxDC::MinX, wxDC::MinY, wxDC::MaxX and wxDC::MaxY. - -In addition to adding the placeable metafile header, this function adds -the equivalent of the following code to the start of the metafile data: - -\begin{verbatim} - SetMapMode(dc, MM_ANISOTROPIC); - SetWindowOrg(dc, minX, minY); - SetWindowExt(dc, maxX - minX, maxY - minY); -\end{verbatim} - -This simulates the MM\_TEXT mapping mode, which wxWindows assumes. - -Placeable metafiles may be imported by many Windows applications, and can be -used in RTF (Rich Text Format) files. - -{\it scale} allows the specification of scale for the metafile. - -This function is only available under Windows. - -\membersection{::wxSetCursor}\label{wxsetcursor} - -\func{void}{wxSetCursor}{\param{wxCursor *}{cursor}} - -Globally sets the cursor; only has an effect in MS Windows. -See also \helpref{wxCursor}{wxcursor}, \helpref{wxWindow::SetCursor}{wxwindowsetcursor}. - -\section{Printer settings}\label{printersettings} - -The following functions are used to control PostScript printing. Under -Windows, PostScript output can only be sent to a file. - -\membersection{::wxGetPrinterCommand} - -\func{wxString}{wxGetPrinterCommand}{\void} - -Gets the printer command used to print a file. The default is {\tt lpr}. - -\membersection{::wxGetPrinterFile} - -\func{wxString}{wxGetPrinterFile}{\void} - -Gets the PostScript output filename. - -\membersection{::wxGetPrinterMode} - -\func{int}{wxGetPrinterMode}{\void} - -Gets the printing mode controlling where output is sent (PS\_PREVIEW, PS\_FILE or PS\_PRINTER). -The default is PS\_PREVIEW. - -\membersection{::wxGetPrinterOptions} - -\func{wxString}{wxGetPrinterOptions}{\void} - -Gets the additional options for the print command (e.g. specific printer). The default is nothing. - -\membersection{::wxGetPrinterOrientation} - -\func{int}{wxGetPrinterOrientation}{\void} - -Gets the orientation (PS\_PORTRAIT or PS\_LANDSCAPE). The default is PS\_PORTRAIT. - -\membersection{::wxGetPrinterPreviewCommand} - -\func{wxString}{wxGetPrinterPreviewCommand}{\void} - -Gets the command used to view a PostScript file. The default depends on the platform. - -\membersection{::wxGetPrinterScaling} - -\func{void}{wxGetPrinterScaling}{\param{float *}{x}, \param{float *}{y}} - -Gets the scaling factor for PostScript output. The default is 1.0, 1.0. - -\membersection{::wxGetPrinterTranslation} - -\func{void}{wxGetPrinterTranslation}{\param{float *}{x}, \param{float *}{y}} - -Gets the translation (from the top left corner) for PostScript output. The default is 0.0, 0.0. - -\membersection{::wxSetPrinterCommand} - -\func{void}{wxSetPrinterCommand}{\param{const wxString\& }{command}} - -Sets the printer command used to print a file. The default is {\tt lpr}. - -\membersection{::wxSetPrinterFile} - -\func{void}{wxSetPrinterFile}{\param{const wxString\& }{filename}} - -Sets the PostScript output filename. - -\membersection{::wxSetPrinterMode} - -\func{void}{wxSetPrinterMode}{\param{int }{mode}} - -Sets the printing mode controlling where output is sent (PS\_PREVIEW, PS\_FILE or PS\_PRINTER). -The default is PS\_PREVIEW. - -\membersection{::wxSetPrinterOptions} - -\func{void}{wxSetPrinterOptions}{\param{const wxString\& }{options}} - -Sets the additional options for the print command (e.g. specific printer). The default is nothing. - -\membersection{::wxSetPrinterOrientation} - -\func{void}{wxSetPrinterOrientation}{\param{int}{ orientation}} - -Sets the orientation (PS\_PORTRAIT or PS\_LANDSCAPE). The default is PS\_PORTRAIT. - -\membersection{::wxSetPrinterPreviewCommand} - -\func{void}{wxSetPrinterPreviewCommand}{\param{const wxString\& }{command}} - -Sets the command used to view a PostScript file. The default depends on the platform. - -\membersection{::wxSetPrinterScaling} - -\func{void}{wxSetPrinterScaling}{\param{float }{x}, \param{float }{y}} - -Sets the scaling factor for PostScript output. The default is 1.0, 1.0. - -\membersection{::wxSetPrinterTranslation} - -\func{void}{wxSetPrinterTranslation}{\param{float }{x}, \param{float }{y}} - -Sets the translation (from the top left corner) for PostScript output. The default is 0.0, 0.0. - -\section{Clipboard functions}\label{clipsboard} - -These clipboard functions are implemented for Windows only. - -\membersection{::wxClipboardOpen} - -\func{bool}{wxClipboardOpen}{\void} - -Returns TRUE if this application has already opened the clipboard. - -\membersection{::wxCloseClipboard} - -\func{bool}{wxCloseClipboard}{\void} - -Closes the clipboard to allow other applications to use it. - -\membersection{::wxEmptyClipboard} - -\func{bool}{wxEmptyClipboard}{\void} - -Empties the clipboard. - -\membersection{::wxEnumClipboardFormats} - -\func{int}{wxEnumClipboardFormats}{\param{int}{dataFormat}} - -Enumerates the formats found in a list of available formats that belong -to the clipboard. Each call to this function specifies a known -available format; the function returns the format that appears next in -the list. - -{\it dataFormat} specifies a known format. If this parameter is zero, -the function returns the first format in the list. - -The return value specifies the next known clipboard data format if the -function is successful. It is zero if the {\it dataFormat} parameter specifies -the last format in the list of available formats, or if the clipboard -is not open. - -Before it enumerates the formats function, an application must open the clipboard by using the -wxOpenClipboard function. - -\membersection{::wxGetClipboardData} - -\func{wxObject *}{wxGetClipboardData}{\param{int}{dataFormat}} - -Gets data from the clipboard. - -{\it dataFormat} may be one of: - -\begin{itemize}\itemsep=0pt -\item wxCF\_TEXT or wxCF\_OEMTEXT: returns a pointer to new memory containing a null-terminated text string. -\item wxCF\_BITMAP: returns a new wxBitmap. -\end{itemize} - -The clipboard must have previously been opened for this call to succeed. - -\membersection{::wxGetClipboardFormatName} - -\func{bool}{wxGetClipboardFormatName}{\param{int}{dataFormat}, \param{const wxString\& }{formatName}, \param{int}{maxCount}} - -Gets the name of a registered clipboard format, and puts it into the buffer {\it formatName} which is of maximum -length {\it maxCount}. {\it dataFormat} must not specify a predefined clipboard format. - -\membersection{::wxIsClipboardFormatAvailable} - -\func{bool}{wxIsClipboardFormatAvailable}{\param{int}{dataFormat}} - -Returns TRUE if the given data format is available on the clipboard. - -\membersection{::wxOpenClipboard} - -\func{bool}{wxOpenClipboard}{\void} - -Opens the clipboard for passing data to it or getting data from it. - -\membersection{::wxRegisterClipboardFormat} - -\func{int}{wxRegisterClipboardFormat}{\param{const wxString\& }{formatName}} - -Registers the clipboard data format name and returns an identifier. - -\membersection{::wxSetClipboardData} - -\func{bool}{wxSetClipboardData}{\param{int}{dataFormat}, \param{wxObject *}{data}, \param{int}{width}, \param{int}{height}} - -Passes data to the clipboard. - -{\it dataFormat} may be one of: - -\begin{itemize}\itemsep=0pt -\item wxCF\_TEXT or wxCF\_OEMTEXT: {\it data} is a null-terminated text string. -\item wxCF\_BITMAP: {\it data} is a wxBitmap. -\item wxCF\_DIB: {\it data} is a wxBitmap. The bitmap is converted to a DIB (device independent bitmap). -\item wxCF\_METAFILE: {\it data} is a wxMetaFile. {\it width} and {\it height} are used to give recommended dimensions. -\end{itemize} - -The clipboard must have previously been opened for this call to succeed. - -\section{Miscellaneous functions}\label{miscellany} - -\membersection{::NewId} - -\func{long}{NewId}{\void} - -Generates an integer identifier unique to this run of the program. - -\membersection{::RegisterId} - -\func{void}{RegisterId}{\param{long}{ id}} - -Ensures that ids subsequently generated by {\bf NewId} do not clash with -the given {\bf id}. - -\membersection{::wxBeginBusyCursor}\label{wxbeginbusycursor} - -\func{void}{wxBeginBusyCursor}{\param{wxCursor *}{cursor = wxHOURGLASS\_CURSOR}} - -Changes the cursor to the given cursor for all windows in the application. -Use \helpref{wxEndBusyCursor}{wxendbusycursor} to revert the cursor back -to its previous state. These two calls can be nested, and a counter -ensures that only the outer calls take effect. - -See also \helpref{wxIsBusy}{wxisbusy}. - -\membersection{::wxBell} - -\func{void}{wxBell}{\void} - -Ring the system bell. - -\membersection{::wxCleanUp}\label{wxcleanup} - -\func{void}{wxCleanUp}{\void} - -Normally, wxWindows will call this cleanup function for you. However, if -you call \helpref{wxEntry}{wxentry} in order to initialize wxWindows -manually, then you should also call wxCleanUp before terminating wxWindows, -if wxWindows does not get a chance to do it. - -\membersection{::wxCreateDynamicObject}\label{wxcreatedynamicobject} - -\func{wxObject *}{wxCreateDynamicObject}{\param{const wxString\& }{className}} - -Creates and returns an object of the given class, if the class has been -registered with the dynamic class system using DECLARE... and IMPLEMENT... macros. - -\membersection{::wxDebugMsg} - -\func{void}{wxDebugMsg}{\param{const wxString\& }{fmt}, \param{...}{}} - -Display a debugging message; under Windows, this will appear on the -debugger command window, and under UNIX, it will be written to standard -error. - -The syntax is identical to {\bf printf}: pass a format string and a -variable list of arguments. - -Note that under Windows, you can see the debugging messages without a -debugger if you have the DBWIN debug log application that comes with -Microsoft C++. - -{\bf Tip:} under Windows, if your application crashes before the -message appears in the debugging window, put a wxYield call after -each wxDebugMsg call. wxDebugMsg seems to be broken under WIN32s -(at least for Watcom C++): preformat your messages and use OutputDebugString -instead. - -\membersection{::wxDisplaySize} - -\func{void}{wxDisplaySize}{\param{int *}{width}, \param{int *}{height}} - -Gets the physical size of the display in pixels. - -\membersection{::wxEntry}\label{wxentry} - -This initializes wxWindows in a platform-dependent way. Use this if you -are not using the default wxWindows entry code (e.g. main or WinMain). For example, -you can initialize wxWindows from an Microsoft Foundation Classes application using -this function. See also \helpref{wxCleanUp}{wxcleanup}. - -\func{void}{wxEntry}{\param{HANDLE}{ hInstance}, \param{HANDLE}{ hPrevInstance}, - \param{const wxString\& }{commandLine}, \param{int}{ cmdShow}, \param{bool}{ enterLoop = TRUE}} - -wxWindows initialization under Windows (non-DLL). If {\it enterLoop} is FALSE, the -function will return immediately after calling wxApp::OnInit. Otherwise, the wxWindows -message loop will be entered. - -\func{void}{wxEntry}{\param{HANDLE}{ hInstance}, \param{HANDLE}{ hPrevInstance}, - \param{WORD}{ wDataSegment}, \param{WORD}{ wHeapSize}, \param{const wxString\& }{ commandLine}} - -wxWindows initialization under Windows (for applications constructed as a DLL). - -\func{int}{wxEntry}{\param{int}{ argc}, \param{const wxString\& *}{argv}} - -wxWindows initialization under UNIX. - -\membersection{::wxError}\label{wxerror} - -\func{void}{wxError}{\param{const wxString\& }{msg}, \param{const wxString\& }{title = "wxWindows Internal Error"}} - -Displays {\it msg} and continues. This writes to standard error under -UNIX, and pops up a message box under Windows. Used for internal -wxWindows errors. See also \helpref{wxFatalError}{wxfatalerror}. - -\membersection{::wxEndBusyCursor}\label{wxendbusycursor} - -\func{void}{wxEndBusyCursor}{\void} - -Changes the cursor back to the original cursor, for all windows in the application. -Use with \helpref{wxBeginBusyCursor}{wxbeginbusycursor}. - -See also \helpref{wxIsBusy}{wxisbusy}. - -\membersection{::wxExecute}\label{wxexecute} - -\func{long}{wxExecute}{\param{const wxString\& }{command}, \param{bool }{sync = FALSE}, \param{wxProcess *}{callback = NULL}} - -\func{long}{wxExecute}{\param{const wxString\& *}{argv}, \param{bool }{sync = FALSE}, \param{wxProcess *}{callback = NULL}} - -Executes another program in UNIX or Windows. - -The first form takes a command string, such as {\tt "emacs file.txt"}. - -The second form takes an array of values: a command, any number of -arguments, terminated by NULL. - -If {\it sync} is FALSE (the default), flow of control immediately returns. -If TRUE, the current application waits until the other program has terminated. - -If execution is asynchronous, the return value is the process id, -otherwise it is a status value. A zero value indicates that the command could not -be executed. - -If callback isn't NULL and if execution is asynchronous, -\helpref{wxProcess::OnTerminate}{wxprocessonterminate} will be called when -the process finishes. - -See also \helpref{wxShell}{wxshell}, \helpref{wxProcess}{wxprocess}. - -\membersection{::wxExit}\label{wxexit} - -\func{void}{wxExit}{\void} - -Exits application after calling \helpref{wxApp::OnExit}{wxapponexit}. -Should only be used in an emergency: normally the top-level frame -should be deleted (after deleting all other frames) to terminate the -application. See \helpref{wxWindow::OnCloseWindow}{wxwindowonclosewindow} and \helpref{wxApp}{wxapp}. - -\membersection{::wxFatalError}\label{wxfatalerror} - -\func{void}{wxFatalError}{\param{const wxString\& }{msg}, \param{const wxString\& }{title = "wxWindows Fatal Error"}} - -Displays {\it msg} and exits. This writes to standard error under UNIX, -and pops up a message box under Windows. Used for fatal internal -wxWindows errors. See also \helpref{wxError}{wxerror}. - -\membersection{::wxFindMenuItemId} - -\func{int}{wxFindMenuItemId}{\param{wxFrame *}{frame}, \param{const wxString\& }{menuString}, \param{const wxString\& }{itemString}} - -Find a menu item identifier associated with the given frame's menu bar. - -\membersection{::wxFindWindowByLabel} - -\func{wxWindow *}{wxFindWindowByLabel}{\param{const wxString\& }{label}, \param{wxWindow *}{parent=NULL}} - -Find a window by its label. Depending on the type of window, the label may be a window title -or panel item label. If {\it parent} is NULL, the search will start from all top-level -frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy. -The search is recursive in both cases. - -\membersection{::wxFindWindowByName}\label{wxfindwindowbyname} - -\func{wxWindow *}{wxFindWindowByName}{\param{const wxString\& }{name}, \param{wxWindow *}{parent=NULL}} - -Find a window by its name (as given in a window constructor or {\bf Create} function call). -If {\it parent} is NULL, the search will start from all top-level -frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy. -The search is recursive in both cases. - -If no such named window is found, {\bf wxFindWindowByLabel} is called. - -\membersection{::wxGetActiveWindow}\label{wxgetactivewindow} - -\func{wxWindow *}{wxGetActiveWindow}{\void} - -Gets the currently active window (Windows only). - -\membersection{::wxGetDisplayName}\label{wxgetdisplayname} - -\func{wxString}{wxGetDisplayName}{\void} - -Under X only, returns the current display name. See also \helpref{wxSetDisplayName}{wxsetdisplayname}. - -\membersection{::wxGetHomeDir} - -\func{wxString}{wxGetHomeDir}{\param{const wxString\& }{buf}} - -Fills the buffer with a string representing the user's home directory (UNIX only). - -\membersection{::wxGetHostName} - -\func{bool}{wxGetHostName}{\param{const wxString\& }{buf}, \param{int}{ bufSize}} - -Copies the host name of the machine the program is running on into the -buffer {\it buf}, of maximum size {\it bufSize}, returning TRUE if -successful. Under UNIX, this will return a machine name. Under Windows, -this returns ``windows''. - -\membersection{::wxGetElapsedTime}\label{wxgetelapsedtime} - -\func{long}{wxGetElapsedTime}{\param{bool}{ resetTimer = TRUE}} - -Gets the time in milliseconds since the last \helpref{::wxStartTimer}{wxstarttimer}. - -If {\it resetTimer} is TRUE (the default), the timer is reset to zero -by this call. - -See also \helpref{wxTimer}{wxtimer}. - -\membersection{::wxGetFreeMemory} - -\func{long}{wxGetFreeMemory}{\void} - -Returns the amount of free memory in Kbytes under environments which -support it, and -1 if not supported. Currently, returns a positive value -under Windows, and -1 under UNIX. - -\membersection{::wxGetMousePosition} - -\func{void}{wxGetMousePosition}{\param{int* }{x}, \param{int* }{y}} - -Returns the mouse position in screen coordinates. - -\membersection{::wxGetOsVersion} - -\func{int}{wxGetOsVersion}{\param{int *}{major = NULL}, \param{int *}{minor = NULL}} - -Gets operating system version information. - -\begin{twocollist}\itemsep=0pt -\twocolitemruled{Platform}{Return tyes} -\twocolitem{Macintosh}{Return value is wxMACINTOSH.} -\twocolitem{Motif}{Return value is wxMOTIF\_X, {\it major} is X version, {\it minor} is X revision.} -\twocolitem{OS/2}{Return value is wxOS2\_PM.} -\twocolitem{Windows 3.1}{Return value is wxWINDOWS, {\it major} is 3, {\it minor} is 1.} -\twocolitem{Windows NT}{Return value is wxWINDOWS\_NT, {\it major} is 3, {\it minor} is 1.} -\twocolitem{Windows 95}{Return value is wxWIN95, {\it major} is 3, {\it minor} is 1.} -\twocolitem{Win32s (Windows 3.1)}{Return value is wxWIN32S, {\it major} is 3, {\it minor} is 1.} -\twocolitem{Watcom C++ 386 supervisor mode (Windows 3.1)}{Return value is wxWIN386, {\it major} is 3, {\it minor} is 1.} -\end{twocollist} - -\membersection{::wxGetResource}\label{wxgetresource} - -\func{bool}{wxGetResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{const wxString\& *}{value}, \param{const wxString\& }{file = NULL}} - -\func{bool}{wxGetResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{float *}{value}, \param{const wxString\& }{file = NULL}} - -\func{bool}{wxGetResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{long *}{value}, \param{const wxString\& }{file = NULL}} - -\func{bool}{wxGetResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{int *}{value}, \param{const wxString\& }{file = NULL}} - -Gets a resource value from the resource database (for example, WIN.INI, or -.Xdefaults). If {\it file} is NULL, WIN.INI or .Xdefaults is used, -otherwise the specified file is used. - -Under X, if an application class (wxApp::wx\_class) has been defined, -it is appended to the string /usr/lib/X11/app-defaults/ to try to find -an applications default file when merging all resource databases. - -The reason for passing the result in an argument is that it -can be convenient to define a default value, which gets overridden -if the value exists in the resource file. It saves a separate -test for that resource's existence, and it also allows -the overloading of the function for different types. - -See also \helpref{wxWriteResource}{wxwriteresource}. - -\membersection{::wxGetUserId} - -\func{bool}{wxGetUserId}{\param{const wxString\& }{buf}, \param{int}{ bufSize}} - -Copies the user's login identity (such as ``jacs'') into the buffer {\it -buf}, of maximum size {\it bufSize}, returning TRUE if successful. -Under Windows, this returns ``user''. - -\membersection{::wxGetUserName} - -\func{bool}{wxGetUserName}{\param{const wxString\& }{buf}, \param{int}{ bufSize}} - -Copies the user's name (such as ``Julian Smart'') into the buffer {\it -buf}, of maximum size {\it bufSize}, returning TRUE if successful. -Under Windows, this returns ``unknown''. - -\membersection{::wxKill}\label{wxkill} - -\func{int}{wxKill}{\param{long}{ pid}, \param{int}{ sig}} - -Under UNIX (the only supported platform), equivalent to the UNIX kill function. -Returns 0 on success, -1 on failure. - -Tip: sending a signal of 0 to a process returns -1 if the process does not exist. -It does not raise a signal in the receiving process. - -\membersection{::wxInitClipboard}\label{wxinitclipboard} - -\func{void}{wxInitClipboard}{\void} - -Initializes the generic clipboard system by creating an instance of -the class \helpref{wxClipboard}{wxclipboard}. - -\membersection{::wxIPCCleanUp}\label{wxipccleanup} - -\func{void}{wxIPCCleanUp}{\void} - -Call this when your application is terminating, if you have -called \helpref{wxIPCInitialize}{wxipcinitialize}. - -\membersection{::wxIPCInitialize}\label{wxipcinitialize} - -\func{void}{wxIPCInitialize}{\void} - -Initializes for interprocess communication operation. May -be called multiple times without harm. - -See also \helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEConnection}{wxddeconnection} -and the relevant section of the user manual. - -\membersection{::wxIsBusy}\label{wxisbusy} - -\func{bool}{wxIsBusy}{\void} - -Returns TRUE if between two \helpref{wxBeginBusyCursor}{wxbeginbusycursor} and\rtfsp -\helpref{wxEndBusyCursor}{wxendbusycursor} calls. - -\membersection{::wxLoadUserResource}\label{wxloaduserresource} - -\func{wxString}{wxLoadUserResource}{\param{const wxString\& }{resourceName}, \param{const wxString\& }{resourceType=``TEXT"}} - -Loads a user-defined Windows resource as a string. If the resource is found, the function creates -a new character array and copies the data into it. A pointer to this data is returned. If unsuccessful, NULL is returned. - -The resource must be defined in the {\tt .rc} file using the following syntax: - -\begin{verbatim} -myResource TEXT file.ext -\end{verbatim} - -where {\tt file.ext} is a file that the resource compiler can find. - -One use of this is to store {\tt .wxr} files instead of including the data in the C++ file; some compilers -cannot cope with the long strings in a {\tt .wxr} file. The resource data can then be parsed -using \helpref{wxResourceParseString}{wxresourceparsestring}. - -This function is available under Windows only. - -\membersection{::wxNow}\label{wxnow} - -\func{wxString}{wxNow}{\void} - -Returns a string representing the current date and time. - -\membersection{::wxPostDelete}\label{wxpostdelete} - -\func{void}{wxPostDelete}{\param{wxObject *}{object}} - -Under X, tells the system to delete the specified object when -all other events have been processed. In some environments, it is -necessary to use this instead of deleting a frame directly with the -delete operator, because X will still send events to the window. - -Now obsolete: use \helpref{wxWindow::Close}{wxwindowclose} instead. - -\membersection{::wxSetDisplayName}\label{wxsetdisplayname} - -\func{void}{wxSetDisplayName}{\param{const wxString\& }{displayName}} - -Under X only, sets the current display name. This is the X host and display name such -as ``colonsay:0.0", and the function indicates which display should be used for creating -windows from this point on. Setting the display within an application allows multiple -displays to be used. - -See also \helpref{wxGetDisplayName}{wxgetdisplayname}. - -\membersection{::wxShell}\label{wxshell} - -\func{bool}{wxShell}{\param{const wxString\& }{command = NULL}} - -Executes a command in an interactive shell window. If no command is -specified, then just the shell is spawned. - -See also \helpref{wxExecute}{wxexecute}. - -\membersection{::wxSleep} - -\func{void}{wxSleep}{\param{int}{ secs}} - -Under X, sleeps for the specified number of seconds. - -\membersection{::wxStripMenuCodes} - -\func{void}{wxStripMenuCodes}{\param{const wxString\& }{in}, \param{const wxString\& }{out}} - -Strips any menu codes from {\it in} and places the result -in {\it out}. Menu codes include \& (mark the next character with an underline -as a keyboard shortkey in Windows and Motif) and $\backslash$t (tab in Windows). - -\membersection{::wxStartTimer}\label{wxstarttimer} - -\func{void}{wxStartTimer}{\void} - -Starts a stopwatch; use \helpref{::wxGetElapsedTime}{wxgetelapsedtime} to get the elapsed time. - -See also \helpref{wxTimer}{wxtimer}. - -\membersection{::wxToLower}\label{wxtolower} - -\func{char}{wxToLower}{\param{char }{ch}} - -Converts the character to lower case. This is implemented as a macro for efficiency. - -\membersection{::wxToUpper}\label{wxtoupper} - -\func{char}{wxToUpper}{\param{char }{ch}} - -Converts the character to upper case. This is implemented as a macro for efficiency. - -\membersection{::wxTrace}\label{wxtrace} - -\func{void}{wxTrace}{\param{const wxString\& }{fmt}, \param{...}{}} - -Takes printf-style variable argument syntax. Output -is directed to the current output stream (see \helpref{wxDebugContext}{wxdebugcontextoverview}). - -\membersection{::wxTraceLevel}\label{wxtracelevel} - -\func{void}{wxTraceLevel}{\param{int}{ level}, \param{const wxString\& }{fmt}, \param{...}{}} - -Takes printf-style variable argument syntax. Output -is directed to the current output stream (see \helpref{wxDebugContext}{wxdebugcontextoverview}). -The first argument should be the level at which this information is appropriate. -It will only be output if the level returned by wxDebugContext::GetLevel is equal to or greater than -this value. - -\membersection{::wxWriteResource}\label{wxwriteresource} - -\func{bool}{wxWriteResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{const wxString\& }{value}, \param{const wxString\& }{file = NULL}} - -\func{bool}{wxWriteResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{float }{value}, \param{const wxString\& }{file = NULL}} - -\func{bool}{wxWriteResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{long }{value}, \param{const wxString\& }{file = NULL}} - -\func{bool}{wxWriteResource}{\param{const wxString\& }{section}, \param{const wxString\& }{entry}, - \param{int }{value}, \param{const wxString\& }{file = NULL}} - -Writes a resource value into the resource database (for example, WIN.INI, or -.Xdefaults). If {\it file} is NULL, WIN.INI or .Xdefaults is used, -otherwise the specified file is used. - -Under X, the resource databases are cached until the internal function -\rtfsp{\bf wxFlushResources} is called automatically on exit, when -all updated resource databases are written to their files. - -Note that it is considered bad manners to write to the .Xdefaults -file under UNIX, although the WIN.INI file is fair game under Windows. - -See also \helpref{wxGetResource}{wxgetresource}. - -\membersection{::wxYield} - -\func{bool}{wxYield}{\void} - -Yields control to pending messages in the windowing system. This can be useful, for example, when a -time-consuming process writes to a text window. Without an occasional -yield, the text window will not be updated properly, and (since Windows -multitasking is cooperative) other processes will not respond. - -Caution should be exercised, however, since yielding may allow the -user to perform actions which are not compatible with the current task. -Disabling menu items or whole menus during processing can avoid unwanted -reentrance of code. - -\section{Macros}\label{macros} - -These macros are defined in wxWindows. - -\membersection{CLASSINFO}\label{classinfo} - -\func{wxClassInfo *}{CLASSINFO}{className} - -Returns a pointer to the wxClassInfo object associated with this class. - -\membersection{WXDEBUG\_NEW}\label{debugnew} - -\func{}{WXDEBUG\_NEW}{arg} - -This is defined in debug mode to be call the redefined new operator -with filename and line number arguments. The definition is: - -\begin{verbatim} -#define WXDEBUG_NEW new(__FILE__,__LINE__) -\end{verbatim} - -In non-debug mode, this is defined as the normal new operator. - -\membersection{DECLARE\_ABSTRACT\_CLASS} - -\func{}{DECLARE\_ABSTRACT\_CLASS}{className} - -Used inside a class declaration to declare that the class should be -made known to the class hierarchy, but objects of this class cannot be created -dynamically. The same as DECLARE\_CLASS. - -Example: - -\begin{verbatim} -class wxCommand: public wxObject -{ - DECLARE_ABSTRACT_CLASS(wxCommand) - - private: - ... - public: - ... -}; -\end{verbatim} - -\membersection{DECLARE\_APP}\label{declareapp} - -\func{}{DECLARE\_APP}{className} - -This is used in headers to create a forward declaration of the wxGetApp function implemented -by IMPLEMENT\_APP. It creates the declaration {\tt className\& wxGetApp(void)}. - -Example: - -\begin{verbatim} - DECLARE_APP(MyApp) -\end{verbatim} - -\membersection{DECLARE\_CLASS} - -\func{}{DECLARE\_CLASS}{className} - -Used inside a class declaration to declare that the class should be -made known to the class hierarchy, but objects of this class cannot be created -dynamically. The same as DECLARE\_ABSTRACT\_CLASS. - -\membersection{DECLARE\_DYNAMIC\_CLASS} - -\func{}{DECLARE\_DYNAMIC\_CLASS}{className} - -Used inside a class declaration to declare that the objects of this class should be dynamically -createable from run-time type information. - -Example: - -\begin{verbatim} -class wxFrame: public wxWindow -{ - DECLARE_DYNAMIC_CLASS(wxFrame) - - private: - const wxString\& frameTitle; - public: - ... -}; -\end{verbatim} - -\membersection{IMPLEMENT\_ABSTRACT\_CLASS} - -\func{}{IMPLEMENT\_ABSTRACT\_CLASS}{className, baseClassName} - -Used in a C++ implementation file to complete the declaration of -a class that has run-time type information. The same as IMPLEMENT\_CLASS. - -Example: - -\begin{verbatim} -IMPLEMENT_ABSTRACT_CLASS(wxCommand, wxObject) - -wxCommand::wxCommand(void) -{ -... -} -\end{verbatim} - -\membersection{IMPLEMENT\_ABSTRACT\_CLASS2} - -\func{}{IMPLEMENT\_ABSTRACT\_CLASS2}{className, baseClassName1, baseClassName2} - -Used in a C++ implementation file to complete the declaration of -a class that has run-time type information and two base classes. The same as IMPLEMENT\_CLASS2. - -\membersection{IMPLEMENT\_APP}\label{implementapp} - -\func{}{IMPLEMENT\_APP}{className} - -This is used in the application class implementation file to make the application class known to -wxWindows for dynamic construction. You use this instead of - -Old form: - -\begin{verbatim} - MyApp myApp; -\end{verbatim} - -New form: - -\begin{verbatim} - IMPLEMENT_APP(MyApp) -\end{verbatim} - -See also \helpref{DECLARE\_APP}{declareapp}. - -\membersection{IMPLEMENT\_CLASS} - -\func{}{IMPLEMENT\_CLASS}{className, baseClassName} - -Used in a C++ implementation file to complete the declaration of -a class that has run-time type information. The same as IMPLEMENT\_ABSTRACT\_CLASS. - -\membersection{IMPLEMENT\_CLASS2} - -\func{}{IMPLEMENT\_CLASS2}{className, baseClassName1, baseClassName2} - -Used in a C++ implementation file to complete the declaration of a -class that has run-time type information and two base classes. The -same as IMPLEMENT\_ABSTRACT\_CLASS2. - -\membersection{IMPLEMENT\_DYNAMIC\_CLASS} - -\func{}{IMPLEMENT\_DYNAMIC\_CLASS}{className, baseClassName} - -Used in a C++ implementation file to complete the declaration of -a class that has run-time type information, and whose instances -can be created dynamically. - -Example: - -\begin{verbatim} -IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow) - -wxFrame::wxFrame(void) -{ -... -} -\end{verbatim} - -\membersection{IMPLEMENT\_DYNAMIC\_CLASS2} - -\func{}{IMPLEMENT\_DYNAMIC\_CLASS2}{className, baseClassName1, baseClassName2} - -Used in a C++ implementation file to complete the declaration of -a class that has run-time type information, and whose instances -can be created dynamically. Use this for classes derived from two -base classes. - -\membersection{WXTRACE}\label{trace} - -\func{}{WXTRACE}{formatString, ...} - -Calls wxTrace with printf-style variable argument syntax. Output -is directed to the current output stream (see \helpref{wxDebugContext}{wxdebugcontextoverview}). - -\membersection{WXTRACELEVEL}\label{tracelevel} - -\func{}{WXTRACELEVEL}{level, formatString, ...} - -Calls wxTraceLevel with printf-style variable argument syntax. Output -is directed to the current output stream (see \helpref{wxDebugContext}{wxdebugcontextoverview}). -The first argument should be the level at which this information is appropriate. -It will only be output if the level returned by wxDebugContext::GetLevel is equal to or greater than -this value. - -\section{wxWindows resource functions}\label{resourcefuncs} - -\overview{wxWindows resource system}{resourceformats} - -This section details functions for manipulating wxWindows (.WXR) resource -files and loading user interface elements from resources. - -\normalbox{Please note that this use of the word `resource' is different from that used when talking -about initialisation file resource reading and writing, using such functions -as wxWriteResource and wxGetResource. It's just an unfortunate clash of terminology.} - -\helponly{For an overview of the wxWindows resource mechanism, see \helpref{the wxWindows resource system}{resourceformats}.} - -See also \helpref{wxWindow::LoadFromResource}{wxwindowloadfromresource} for -loading from resource data. - -\membersection{::wxResourceAddIdentifier}\label{wxresourceaddidentifier} - -\func{bool}{wxResourceAddIdentifier}{\param{const wxString\& }{name}, \param{int }{value}} - -Used for associating a name with an integer identifier (equivalent to dynamically\rtfsp -\verb$#$defining a name to an integer). Unlikely to be used by an application except -perhaps for implementing resource functionality for interpreted languages. - -\membersection{::wxResourceClear} - -\func{void}{wxResourceClear}{\void} - -Clears the wxWindows resource table. - -\membersection{::wxResourceCreateBitmap} - -\func{wxBitmap *}{wxResourceCreateBitmap}{\param{const wxString\& }{resource}} - -Creates a new bitmap from a file, static data, or Windows resource, given a valid -wxWindows bitmap resource identifier. For example, if the .WXR file contains -the following: - -\begin{verbatim} -static const wxString\& aiai_resource = "bitmap(name = 'aiai_resource',\ - bitmap = ['aiai', wxBITMAP_TYPE_BMP_RESOURCE, 'WINDOWS'],\ - bitmap = ['aiai.xpm', wxBITMAP_TYPE_XPM, 'X'])."; -\end{verbatim} - -then this function can be called as follows: - -\begin{verbatim} - wxBitmap *bitmap = wxResourceCreateBitmap("aiai_resource"); -\end{verbatim} - -\membersection{::wxResourceCreateIcon} - -\func{wxIcon *}{wxResourceCreateIcon}{\param{const wxString\& }{resource}} - -Creates a new icon from a file, static data, or Windows resource, given a valid -wxWindows icon resource identifier. For example, if the .WXR file contains -the following: - -\begin{verbatim} -static const wxString\& aiai_resource = "icon(name = 'aiai_resource',\ - icon = ['aiai', wxBITMAP_TYPE_ICO_RESOURCE, 'WINDOWS'],\ - icon = ['aiai', wxBITMAP_TYPE_XBM_DATA, 'X'])."; -\end{verbatim} - -then this function can be called as follows: - -\begin{verbatim} - wxIcon *icon = wxResourceCreateIcon("aiai_resource"); -\end{verbatim} - -\membersection{::wxResourceCreateMenuBar} - -\func{wxMenuBar *}{wxResourceCreateMenuBar}{\param{const wxString\& }{resource}} - -Creates a new menu bar given a valid wxWindows menubar resource -identifier. For example, if the .WXR file contains the following: - -\begin{verbatim} -static const wxString\& menuBar11 = "menu(name = 'menuBar11',\ - menu = \ - [\ - ['&File', 1, '', \ - ['&Open File', 2, 'Open a file'],\ - ['&Save File', 3, 'Save a file'],\ - [],\ - ['E&xit', 4, 'Exit program']\ - ],\ - ['&Help', 5, '', \ - ['&About', 6, 'About this program']\ - ]\ - ])."; -\end{verbatim} - -then this function can be called as follows: - -\begin{verbatim} - wxMenuBar *menuBar = wxResourceCreateMenuBar("menuBar11"); -\end{verbatim} - - -\membersection{::wxResourceGetIdentifier} - -\func{int}{wxResourceGetIdentifier}{\param{const wxString\& }{name}} - -Used for retrieving the integer value associated with an identifier. -A zero value indicates that the identifier was not found. - -See \helpref{wxResourceAddIdentifier}{wxresourceaddidentifier}. - -\membersection{::wxResourceParseData}\label{wxresourcedata} - -\func{bool}{wxResourceParseData}{\param{const wxString\& }{resource}, \param{wxResourceTable *}{table = NULL}} - -Parses a string containing one or more wxWindows resource objects. If -the resource objects are global static data that are included into the -C++ program, then this function must be called for each variable -containing the resource data, to make it known to wxWindows. - -{\it resource} should contain data in the following form: - -\begin{verbatim} -dialog(name = 'dialog1', - style = 'wxCAPTION | wxDEFAULT_DIALOG_STYLE', - title = 'Test dialog box', - x = 312, y = 234, width = 400, height = 300, - modal = 0, - control = [wxGroupBox, 'Groupbox', '0', 'group6', 5, 4, 380, 262, - [11, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]], - control = [wxMultiText, 'Multitext', 'wxVERTICAL_LABEL', 'multitext3', - 156, 126, 200, 70, 'wxWindows is a multi-platform, GUI toolkit.', - [11, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0], - [11, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]]). -\end{verbatim} - -This function will typically be used after including a {\tt .wxr} file into -a C++ program as follows: - -\begin{verbatim} -#include "dialog1.wxr" -\end{verbatim} - -Each of the contained resources will declare a new C++ variable, and each -of these variables should be passed to wxResourceParseData. - -\membersection{::wxResourceParseFile} - -\func{bool}{wxResourceParseFile}{\param{const wxString\& }{filename}, \param{wxResourceTable *}{table = NULL}} - -Parses a file containing one or more wxWindows resource objects -in C++-compatible syntax. Use this function to dynamically load -wxWindows resource data. - -\membersection{::wxResourceParseString}\label{wxresourceparsestring} - -\func{bool}{wxResourceParseString}{\param{const wxString\& }{resource}, \param{wxResourceTable *}{table = NULL}} - -Parses a string containing one or more wxWindows resource objects. If -the resource objects are global static data that are included into the -C++ program, then this function must be called for each variable -containing the resource data, to make it known to wxWindows. - -{\it resource} should contain data with the following form: - -\begin{verbatim} -static const wxString\& dialog1 = "dialog(name = 'dialog1',\ - style = 'wxCAPTION | wxDEFAULT_DIALOG_STYLE',\ - title = 'Test dialog box',\ - x = 312, y = 234, width = 400, height = 300,\ - modal = 0,\ - control = [wxGroupBox, 'Groupbox', '0', 'group6', 5, 4, 380, 262,\ - [11, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ - control = [wxMultiText, 'Multitext', 'wxVERTICAL_LABEL', 'multitext3',\ - 156, 126, 200, 70, 'wxWindows is a multi-platform, GUI toolkit.',\ - [11, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0],\ - [11, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]])."; -\end{verbatim} - -This function will typically be used after calling \helpref{wxLoadUserResource}{wxloaduserresource} to -load an entire {\tt .wxr file} into a string. - -\membersection{::wxResourceRegisterBitmapData}\label{registerbitmapdata} - -\func{bool}{wxResourceRegisterBitmapData}{\param{const wxString\& }{name}, \param{const wxString\& }{xbm\_data}, \param{int }{width}, -\param{int }{height}, \param{wxResourceTable *}{table = NULL}} - -\func{bool}{wxResourceRegisterBitmapData}{\param{const wxString\& }{name}, \param{const wxString\& *}{xpm\_data}} - -Makes \verb$#$included XBM or XPM bitmap data known to the wxWindows resource system. -This is required if other resources will use the bitmap data, since otherwise there -is no connection between names used in resources, and the global bitmap data. - -\membersection{::wxResourceRegisterIconData} - -Another name for \helpref{wxResourceRegisterBitmapData}{registerbitmapdata}. - diff --git a/docs/latex/wx/gauge.tex b/docs/latex/wx/gauge.tex deleted file mode 100644 index 6e9d9f61c5..0000000000 --- a/docs/latex/wx/gauge.tex +++ /dev/null @@ -1,182 +0,0 @@ -\section{\class{wxGauge}}\label{wxgauge} - -A gauge is a horizontal or vertical bar which shows a quantity (often time). -There are no user commands for the gauge. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxEvtHandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxGA\_HORIZONTAL}}{Creates a horizontal gauge.} -\twocolitem{\windowstyle{wxGA\_VERTICAL}}{Creates a vertical gauge.} -\twocolitem{\windowstyle{wxGA\_PROGRESSBAR}}{Under Windows 95, creates a horizontal progress bar.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -wxGauge is read-only so generates no events. - -\wxheading{See also} - -\helpref{wxSlider}{wxslider}, \helpref{wxScrollBar}{wxscrollbar} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxGauge::wxGauge}\label{wxgaugeconstr} - -\func{}{wxGauge}{\void} - -Default constructor. - -\func{}{wxGauge}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{int}{ range}, \param{const wxPoint\& }{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{long}{ style = wxGA\_HORIZONTAL}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``gauge"}} - -Constructor, creating and showing a gauge. - -\wxheading{Parameters} - -\docparam{parent}{Window parent.} - -\docparam{id}{Window identifier.} - -\docparam{range}{Integer range (maximum value) of the gauge.} - -\docparam{pos}{Window position.} - -\docparam{size}{Window size.} - -\docparam{style}{Gauge style. See \helpref{wxGauge}{wxgauge}.} - -\docparam{name}{Window name.} - -\wxheading{Remarks} - -Under Windows 95, there are two different styles of gauge: normal gauge, and progress bar (when -the {\bf wxGA\_PROGRESSBAR} style is used). A progress bar is always horizontal. - -\wxheading{See also} - -\helpref{wxGauge::Create}{wxgaugecreate} - -\membersection{wxGauge::\destruct{wxGauge}} - -\func{}{\destruct{wxGauge}}{\void} - -Destructor, destroying the gauge. - -\membersection{wxGauge::Create}\label{wxgaugecreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{int}{ range}, \param{const wxPoint\& }{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{long}{ style = wxGA\_HORIZONTAL}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``gauge"}} - -Creates the gauge for two-step construction. See \helpref{wxGauge::wxGauge}{wxgaugeconstr}\rtfsp -for further details. - -\membersection{wxGauge::GetBezelFace}\label{wxgaugegetbezelface} - -\constfunc{int}{GetBezelFace}{\void} - -Returns the width of the 3D bezel face. - -\wxheading{Remarks} - -Windows only, not for {\bf wxGA\_PROGRESSBAR}. - -\wxheading{See also} - -\helpref{wxGauge::SetBezelFace}{wxgaugesetbezelface} - -\membersection{wxGauge::GetRange}\label{wxgaugegetrange} - -\constfunc{int}{GetRange}{\void} - -Returns the maximum position of the gauge. - -\wxheading{See also} - -\helpref{wxGauge::SetRange}{wxgaugesetrange} - -\membersection{wxGauge::GetShadowWidth}\label{wxgaugegetshadowwidth} - -\constfunc{int}{GetShadowWidth}{\void} - -Returns the 3D shadow margin width. - -\wxheading{Remarks} - -Windows only, not for {\bf wxGA\_PROGRESSBAR}. - -\wxheading{See also} - -\helpref{wxGauge::SetShadowWidth}{wxgaugesetshadowwidth} - -\membersection{wxGauge::GetValue}\label{wxgaugegetvalue} - -\constfunc{int}{GetValue}{\void} - -Returns the current position of the gauge. - -\wxheading{See also} - -\helpref{wxGauge::SetValue}{wxgaugesetvalue} - -\membersection{wxGauge::SetBezelFace}\label{wxgaugesetbezelface} - -\func{void}{SetBezelFace}{\param{int }{width}} - -Sets the 3D bezel face width. - -\wxheading{Remarks} - -Windows only, not for {\bf wxGA\_PROGRESSBAR}. - -\wxheading{See also} - -\helpref{wxGauge::GetBezelFace}{wxgaugegetbezelface} - -\membersection{wxGauge::SetRange}\label{wxgaugesetrange} - -\func{void}{SetRange}{\param{int }{range}} - -Sets the range (maximum value) of the gauge. - -\wxheading{See also} - -\helpref{wxGauge::GetRange}{wxgaugegetrange} - -\membersection{wxGauge::SetShadowWidth}\label{wxgaugesetshadowwidth} - -\func{void}{SetShadowWidth}{\param{int }{width}} - -Sets the 3D shadow width. - -\wxheading{Remarks} - -Windows only, not for {\bf wxGA\_PROGRESSBAR}. - -\membersection{wxGauge::SetValue}\label{wxgaugesetvalue} - -\func{void}{SetValue}{\param{int }{pos}} - -Sets the position of the gauge. - -\wxheading{Parameters} - -\docparam{pos}{Position for the gauge level.} - -\wxheading{See also} - -\helpref{wxGauge::GetValue}{wxgaugegetvalue} - - diff --git a/docs/latex/wx/gdiobj.tex b/docs/latex/wx/gdiobj.tex deleted file mode 100644 index a2b98d53a3..0000000000 --- a/docs/latex/wx/gdiobj.tex +++ /dev/null @@ -1,26 +0,0 @@ -\section{\class{wxGDIObject}}\label{wxgdiobject} - -This class allows platforms to implement functionality to optimise GDI objects, such -as wxPen, wxBrush and wxFont. On Windows, the underling GDI objects are a scarce resource -and are cleaned up when a usage count goes to zero. On some platforms this -class may not have any special functionality. - -Since the functionality of this class is platform-specific, it is not documented here in detail. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxPen}{wxpen}, \helpref{wxBrush}{wxbrush}, \helpref{wxFont}{wxfont} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxGDIObject::wxGDIObject}\label{wxgdiobjectconstr} - -\func{}{wxGDIObject}{\void} - -Default constructor. - - diff --git a/docs/latex/wx/grid.tex b/docs/latex/wx/grid.tex deleted file mode 100644 index 7893892a05..0000000000 --- a/docs/latex/wx/grid.tex +++ /dev/null @@ -1,517 +0,0 @@ -\section{\class{wxGrid}}\label{wxgrid} - -wxGrid is a class for displaying and editing tabular information. - -\wxheading{Derived from} - -\helpref{wxPanel}{wxpanel}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -There are no specific window styles for this class. - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{See also} - -\helpref{wxGrid classes overview}{gridoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxGrid::wxGrid}\label{wxgridconstr} - -\func{void}{wxGrid}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxPoint\&}{ pos}, -\rtfsp\param{const wxSize\&}{ size}, \param{long}{ style=0}, \param{const wxString\& }{name="grid"}} - -Constructor. Before using a wxGrid object, you must call CreateGrid to set up the required rows and columns. - -\membersection{wxGrid::AdjustScrollbars}\label{wxgridadjustscrollbars} - -\func{void}{AdjustScrollbars}{\void} - -Call this function whenever a change has been made via the API that might alter the scrollbar characteristics: -particularly when adding or deleting rows, or changing row or column dimensions. For example, -removing rows might make it unnecessary to show the vertical scrollbar. - -\membersection{wxGrid::AppendCols}\label{wxgridappendcols} - -\func{bool}{AppendCols}{\param{int}{ n=1}, \param{bool}{ updateLabels=TRUE}} - -Appends {\it n} columns to the grid. If {\it updateLabels} is TRUE, -the function OnChangeLabels is called to give the application the opportunity to relabel. - -\membersection{wxGrid::AppendRows}\label{wxgridappendrows} - -\func{bool}{AppendRows}{\param{int}{ n=1}, \param{bool}{ updateLabels=TRUE}} - -Appends {\it n} rows to the grid. If {\it updateLabels} is TRUE, -the function OnChangeLabels is called to give the application the opportunity to relabel. - -\membersection{wxGrid::BeginBatch}\label{wxgridbeginbatch} - -\func{void}{BeginBatch}{\void} - -Start a BeginBatch/EndBatch pair between which, calls to SetCellValue or -SetCellBitmap will not cause a refresh. This allows you to speed up some operations -(for example, setting several hundred cell values). You can nest, but not overlap, -these two functions. - -See also \helpref{wxGrid::EndBatch}{wxgridendbatch}, \helpref{wxGrid::GetBatchCount}{wxgridgetbatchcount}. - -\membersection{wxGrid::CellHitTest}\label{wxgridcellhittest} - -\func{bool}{CellHitTest}{\param{int}{ x}, \param{int}{ y}, \param{int *}{row}, \param{int *}{col}} - -Returns TRUE if the x, y panel position coincides with a cell. If so, {\it row} and {\it col} are -returned. - -\membersection{wxGrid::CreateGrid}\label{wxgridcreategrid} - -\func{bool}{CreateGrid}{\param{int}{ rows}, \param{int}{ cols}, \param{wxString **}{cellValues=NULL}, - \param{short *}{widths=NULL}, \param{short}{ defaultWidth=wxGRID\_DEFAULT\_CELL\_WIDTH}, - \param{short}{ defaultHeight=wxGRID\_DEFAULT\_CELL\_HEIGHT}} - -Creates a grid {\it rows} high and {\it cols} wide. You can optionally specify an array of initial values -and widths, and/or default cell width and height. - -Call this function after creating the wxGrid object. - -\membersection{wxGrid::CurrentCellVisible}\label{wxgridcurrentcellvisible} - -\func{bool}{CurrentCellVisible}{\void} - -Returns TRUE if the currently selected cell is visible, FALSE otherwise. - -\membersection{wxGrid::DeleteCols}\label{wxgriddeletecols} - -\func{bool}{DeleteCols}{\param{int}{ pos=0}, \param{int}{ n=1}, \param{bool}{ updateLabels=TRUE}} - -Deletes {\it n} columns from the grid at position {\it pos}. If {\it updateLabels} is TRUE, -the function OnChangeLabels is called to give the application the opportunity to relabel. - -\membersection{wxGrid::DeleteRows}\label{wxgriddeleterows} - -\func{bool}{DeleteRows}{\param{int}{ pos=0}, \param{int}{ n=1}, \param{bool}{ updateLabels=TRUE}} - -Deletes {\it n} rows from the grid at position {\it pos}. If {\it updateLabels} is TRUE, -the function OnChangeLabels is called to give the application the opportunity to relabel. - -\membersection{wxGrid::EndBatch}\label{wxgridendbatch} - -\func{void}{EndBatch}{\void} - -End a BeginBatch/EndBatch pair between which, calls to SetCellValue or -SetCellBitmap will not cause a refresh. This allows you to speed up some operations -(for example, setting several hundred cell values). You can nest, but not overlap, -these two functions. - -See also \helpref{wxGrid::BeginBatch}{wxgridbeginbatch}, \helpref{wxGrid::GetBatchCount}{wxgridgetbatchcount}. - -\membersection{wxGrid::GetBatchCount}\label{wxgridgetbatchcount} - -\func{void}{GetBatchCount}{\void} - -Return the level of batch nesting. This is initially zero, and will be incremented -every time BeginBatch is called, and decremented when EndBatch is called. When the -batch count is more zero, some functions (such as SetCellValue and SetCellBitmap) will -not refresh the cell. - -See also \helpref{wxGrid::BeginBatch}{wxgridbeginbatch}, \helpref{wxGrid::EndBatch}{wxgridendbatch}. - -\membersection{wxGrid::GetCell}\label{wxgridgetcell} - -\func{wxGridCell *}{GetCell}{\param{int}{ row}, \param{int}{ col}} - -Returns the grid cell object associated with this position. - -wxGenericGrid implementation only. - -\membersection{wxGrid::GetCellAlignment}\label{wxgridgetcellalignment} - -\func{int}{GetCellAlignment}{\param{int}{ row}, \param{int}{ col}} - -\func{int}{GetCellAlignment}{\void} - -Sets the text alignment for the cell at the given position, or the global alignment value. -The return value is wxLEFT, wxRIGHT or wxCENTRE. - -\membersection{wxGrid::GetCellBackgroundColour}\label{wxgridgetcellbackgroundcolour} - -\func{wxColour\&}{GetCellBackgroundColour}{\param{int}{ row}, \param{int}{ col}} - -\func{wxColour\&}{GetCellBackgroundColour}{\void} - -Gets the background colour for the cell at the given position, or the global background colour. - -\membersection{wxGrid::GetCells}\label{wxgridgetcells} - -\func{wxGridCell ***}{GetCells}{\void} - -Returns the array of grid cell object associated with this wxGrid. - -\membersection{wxGrid::GetCellTextColour}\label{wxgridgetcelltextcolour} - -\func{wxColour\&}{GetCellTextColour}{\param{int}{ row}, \param{int}{ col}} - -\func{wxColour\&}{GetCellTextColour}{\void} - -Gets the text colour for the cell at the given position, or the global text colour. - -\membersection{wxGrid::GetCellTextFont}\label{wxgridgetcelltextfont} - -\func{wxFont *}{GetCellTextFont}{\param{int}{ row}, \param{int}{ col}} - -\func{wxFont *}{GetCellTextFont}{\void} - -Gets the text font for the cell at the given position, or the global text font. - -\membersection{wxGrid::GetCellValue}\label{wxgridgetcellvalue} - -\func{wxString\&}{GetCellValue}{\param{int}{ row}, \param{int}{ col}} - -Returns the cell value at the given position. - -\membersection{wxGrid::GetCols}\label{wxgridgetcols} - -\func{int}{GetCols}{\void} - -Returns the number of columns in the grid. - -\membersection{wxGrid::GetColumnWidth}\label{wxgridcolumnwidth} - -\func{int}{GetColumnWidth}{\param{int}{ col}} - -Gets the width in pixels for column {\it col}. - -\membersection{wxGrid::GetCurrentRect}\label{wxgridgetcurrentrect} - -\func{wxRectangle *}{GetCurrentRect}{\void} - -Returns a pointer to the rectangle enclosing the currently selected cell. -Do not delete this pointer. - -\membersection{wxGrid::GetCursorColumn}\label{wxgridgetcursorcolumn} - -\func{int}{GetCursorColumn}{\void} - -Returns the column position of the currently selected cell. - -\membersection{wxGrid::GetCursorRow}\label{wxgridgetcursorrow} - -\func{int}{GetCursorRow}{\void} - -Returns the row position of the currently selected cell. - -\membersection{wxGrid::GetEditable}\label{wxgridgeteditable} - -\func{bool}{GetEditable}{\void} - -Returns TRUE if the grid cells can be edited. - -\membersection{wxGrid::GetHorizScrollBar}\label{wxgridgethorizscrollbar} - -\func{wxScrollBar *}{GetHorizScrollBar}{\void} - -Returns a pointer to the horizontal scrollbar. - -\membersection{wxGrid::GetLabelAlignment}\label{wxgridgetlabelalignment} - -\func{int}{GetLabelAlignment}{\param{int}{ orientation}} - -Gets the row or column label alignment. {\it orientation} should -be wxHORIZONTAL to specify column label, wxVERTICAL to specify row label.\rtfsp -{\it alignment} should be wxCENTRE, wxLEFT or wxRIGHT. - -\membersection{wxGrid::GetLabelBackgroundColour}\label{wxgridgetlabelbackgroundcolour} - -\func{wxColour\&}{GetLabelBackgroundColour}{\void} - -Gets a row and column label text colour. - -\membersection{wxGrid::GetLabelSize}\label{wxgridgetlabelsize} - -\func{int}{GetLabelSize}{\param{int}{ orientation}} - -Gets the row label height, or column label width, in pixels. {\it orientation} should -be wxHORIZONTAL to specify column label, wxVERTICAL to specify row label. - -\membersection{wxGrid::GetLabelTextColour}\label{wxgridgetlabeltextcolour} - -\func{wxColour\&}{GetLabelTextColour}{\void} - -Gets a row and column label text colour. - -\membersection{wxGrid::GetLabelTextFont}\label{wxgridgetlabeltextfont} - -\func{wxFont *}{GetLabelTextFont}{\void} - -Gets the font to be used for the row and column labels. - -\membersection{wxGrid::GetLabelValue}\label{wxgridgetlabelvalue} - -\func{wxString\&}{GetLabelValue}{\param{int}{ orientation}, \param{int}{ pos}} - -Gets a row or column label value. {\it orientation} should -be wxHORIZONTAL to specify column label, wxVERTICAL to specify row label.\rtfsp -{\it pos} is the label position. - -\membersection{wxGrid::GetRowHeight}\label{wxgridgetrowheight} - -\func{int}{GetRowHeight}{\param{int}{ row}} - -Gets the height in pixels for row {\it row}. - -\membersection{wxGrid::GetRows}\label{wxgridgetrows} - -\func{int}{GetRows}{\void} - -Returns the number of rows in the grid. - -\membersection{wxGrid::GetScrollPosX}\label{wxgridgetscrollposx} - -\func{int}{GetScrollPosX}{\void} - -Returns the column scroll position. - -\membersection{wxGrid::GetScrollPosY}\label{wxgridgetscrollposy} - -\func{int}{GetScrollPosY}{\void} - -Returns the row scroll position. - -\membersection{wxGrid::GetTextItem}\label{wxgridgettextitem} - -\func{wxText *}{GetTextItem}{\void} - -Returns a pointer to the text item used for entering text into a cell. - -\membersection{wxGrid::GetVertScrollBar}\label{wxgridgetvertscrollbar} - -\func{wxScrollBar *}{GetVertScrollBar}{\void} - -Returns a pointer to the vertical scrollbar. - -\membersection{wxGrid::InsertCols}\label{wxgridinsertcols} - -\func{bool}{InsertCols}{\param{int}{ pos=0}, \param{int}{ n=1}, \param{bool}{ updateLabels=TRUE}} - -Inserts {\it n} number of columns before position {\it pos}. If {\it updateLabels} is TRUE, -the function OnChangeLabels is called to give the application the opportunity to relabel. - -\membersection{wxGrid::InsertRows}\label{wxgridinsertrows} - -\func{bool}{InsertRows}{\param{int}{ pos=0}, \param{int}{ n=1}, \param{bool}{ updateLabels=TRUE}} - -Inserts {\it n} number of rows before position {\it pos}. If {\it updateLabels} is TRUE, -the function OnChangeLabels is called to give the application the opportunity to relabel. - -\membersection{wxGrid::OnActivate}\label{wxgridonactivate} - -\func{void}{OnActivate}{\param{bool}{ active}} - -Sets the text item to have the focus. Call this function when the wxGrid window should have the -focus, for example from wxFrame::OnActivate. - -\membersection{wxGrid::OnChangeLabels}\label{wxgridonchangelabels} - -\func{void}{OnChangeLabels}{\void} - -Called when rows and columns are created or deleted, to allow the application an -opportunity to update the labels. By default, columns are labelled alphabetically, -and rows numerically. - -\membersection{wxGrid::OnChangeSelectionLabel}\label{wxgridonchangeselectionlabel} - -\func{void}{OnChangeSelectionLabel}{\void} - -Called when a cell is selected, to allow the application an -opportunity to update the selection label (the label of the wxText item -used for entering cell text). By default, the cell column letter and row -number are concatenated to form the selection label. - -\membersection{wxGrid::OnCreateCell}\label{wxgridoncreatecell} - -\func{wxGridCell *}{OnCreateCell}{\void} - -Override this virtual function if you want to replace the normal wxGridCell with a derived -class. - -\membersection{wxGrid::OnCellLeftClick}\label{wxgridoncellleftclick} - -\func{void}{OnLeftClick}{\param{int}{ row}, \param{int}{ col}, \param{int}{ x}, \param{int}{ y}, \param{bool}{ control}, \param{bool}{ shift}} - -Virtual function called when the left button is depressed within a cell, just after OnSelectCell is called. - -\membersection{wxGrid::OnCellRightClick}\label{wxgridoncellrightclick} - -\func{void}{OnRightClick}{\param{int}{ row}, \param{int}{ col}, \param{int}{ x}, \param{int}{ y}, \param{bool}{ control}, \param{bool}{ shift}} - -Virtual function called when the right button is depressed within a cell, just after OnSelectCell is called. - -\membersection{wxGrid::OnLabelLeftClick}\label{wxgridonlabelleftclick} - -\func{void}{OnLeftClick}{\param{int}{ row}, \param{int}{ col}, \param{int}{ x}, \param{int}{ y}, \param{bool}{ control}, \param{bool}{ shift}} - -Virtual function called when the left button is depressed within a -label. - -{\it row} will be {\it -1} if the click is in the top labels. - -{\it col} will be {\it -1} if the click is in the left labels. - -{\it row} and {\it col} will be {\it -1} if the click is in the upper -left corner. - -\membersection{wxGrid::OnLabelRightClick}\label{wxgridonlabelrightclick} - -\func{void}{OnRightClick}{\param{int}{ row}, \param{int}{ col}, \param{int}{ x}, \param{int}{ y}, \param{bool}{ control}, \param{bool}{ shift}} - -Virtual function called when the right button is depressed within a label. - -{\it row} will be {\it -1} if the click is in the top labels. - -{\it col} will be {\it -1} if the click is in the left labels. - -{\it row} and {\it col} will be {\it -1} if the click is in the upper -left corner. - -\membersection{wxGrid::OnSelectCell}\label{wxgridonselectcell} - -\func{void}{OnSelectCell}{\param{int}{ row}, \param{int}{ col}} - -Virtual function called when the user left-clicks on a cell. - -\membersection{wxGrid::OnSelectCellImplementation}\label{wxgridonselectcellimplementation} - -\func{void}{OnSelectCellImplementation}{\param{wxDC *}{dc}, \param{int}{ row}, \param{int}{ col}} - -Virtual function called when the user left-clicks on a cell. If you override this function, -call wxGrid::OnSelectCell to apply the default behaviour. - -\membersection{wxGrid::SetCellAlignment}\label{wxgridsetcellalignment} - -\func{void}{SetCellAlignment}{\param{int}{ alignment}, \param{int}{ row}, \param{int}{ col}} - -\func{void}{SetCellAlignment}{\param{int}{ alignment}} - -Sets the text alignment for the cell at the given position, or for the whole grid. {\it alignment} may be wxLEFT, wxRIGHT or wxCENTRE. - -\membersection{wxGrid::SetCellBackgroundColour}\label{wxgridsetcellbackgroundcolour} - -\func{void}{SetCellBackgroundColour}{\param{const wxColour\&}{ colour}, \param{int}{ row}, \param{int}{ col}} - -\func{void}{SetCellBackgroundColour}{\param{const wxColour\&}{ colour}} - -Sets the background colour for the cell at the given position, or for the whole grid. - -\membersection{wxGrid::SetCellTextColour}\label{wxgridsetcelltextcolour} - -\func{void}{SetCellTextColour}{\param{const wxColour\&}{ colour}, \param{int}{ row}, \param{int}{ col}} - -\func{void}{SetCellTextColour}{\param{const wxColour\&}{ colour}} - -Sets the text colour for the cell at the given position, or for the whole grid. - -\membersection{wxGrid::SetCellTextFont}\label{wxgridsetcelltextfont} - -\func{void}{SetCellTextFont}{\param{wxFont *}{font}, \param{int}{ row}, \param{int}{ col}} - -\func{void}{SetCellTextFont}{\param{wxFont *}{font}} - -Sets the text font for the cell at the given position, or for the whole grid. - -\membersection{wxGrid::SetCellValue}\label{wxgridsetcellvalue} - -\func{void}{SetCellValue}{\param{const wxString\&}{ val}, \param{int}{ row}, \param{int}{ col}} - -Sets the cell value at the given position. - -\membersection{wxGrid::SetColumnWidth}\label{wxgridsetcolumnwidth} - -\func{void}{SetColumnWidth}{\param{int}{ col}, \param{int}{ width}} - -Sets the width in pixels for column {\it col}. - -\membersection{wxGrid::SetDividerPen}\label{wxgridsetdividerpen} - -\func{void}{SetDividerPen}{\param{wxPen *}{pen}} - -Specifies the pen to be used for drawing the divisions between cells. The default -is a light grey. If NULL is specified, the divisions will not be drawn. - -\membersection{wxGrid::SetEditable}\label{wxgridseteditable} - -\func{void}{SetEditable}{\param{bool}{ editable}} - -If {\it editable} is TRUE (the default), the grid cells will be editable by means of the -text edit control. If FALSE, the text edit control will be hidden and the user will not -be able to edit the cell contents. - -\membersection{wxGrid::SetGridCursor}\label{wxgridsetgridcursor} - -\func{void}{SetGridCursor}{\param{int }{row}, \param{int}{ col}} - -Sets the position of the selected cell. - -\membersection{wxGrid::SetLabelAlignment}\label{wxgridsetlabelalignment} - -\func{void}{SetLabelAlignment}{\param{int}{ orientation}, \param{int}{ alignment}} - -Sets the row or column label alignment. {\it orientation} should -be wxHORIZONTAL to specify column label, wxVERTICAL to specify row label.\rtfsp -{\it alignment} should be wxCENTRE, wxLEFT or wxRIGHT. - -\membersection{wxGrid::SetLabelBackgroundColour}\label{wxgridsetlabelbackgroundcolour} - -\func{void}{SetLabelBackgroundColour}{\param{const wxColour\&}{ value}} - -Sets a row or column label background colour. - -\membersection{wxGrid::SetLabelSize}\label{wxgridsetlabelsize} - -\func{void}{SetLabelSize}{\param{int}{ orientation}, \param{int}{ size}} - -Sets the row label height, or column label width, in pixels. {\it orientation} should -be wxHORIZONTAL to specify column label, wxVERTICAL to specify row label. - -If a dimension of zero is specified, the row or column labels will not be -shown. - -\membersection{wxGrid::SetLabelTextColour}\label{wxgridsetlabeltextcolour} - -\func{void}{SetLabelTextColour}{\param{const wxColour\&}{ value}} - -Sets a row and column label text colour. - -\membersection{wxGrid::SetLabelTextFont}\label{wxgridsetlabeltextfont} - -\func{void}{SetLabelTextFont}{\param{wxFont *}{font}} - -Sets the font to be used for the row and column labels. - -\membersection{wxGrid::SetLabelValue}\label{wxgridsetlabelvalue} - -\func{void}{SetLabelValue}{\param{int}{ orientation}, \param{const wxString\&}{ value}, \param{int}{ pos}} - -Sets a row or column label value. {\it orientation} should -be wxHORIZONTAL to specify column label, wxVERTICAL to specify row label.\rtfsp -{\it pos} is the label position. - -\membersection{wxGrid::SetRowHeight}\label{wxgridsetrowheight} - -\func{void}{SetRowHeight}{\param{int}{ row}, \param{int}{ height}} - -Sets the height in pixels for row {\it row}. - -\membersection{wxGrid::UpdateDimensions}\label{wxgridupdatedimensions} - -\func{void}{UpdateDimensions}{\void} - -Call this function whenever a change has been made via the API that -might alter size characteristics. You may also need to follow it with -a call to AdjustScrollbars. - - diff --git a/docs/latex/wx/grid1.bmp b/docs/latex/wx/grid1.bmp deleted file mode 100644 index 100be252da9ebd63d6dda0aa100973c91cb8a192..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68518 zcmeHQJ#XB~6`kh<*usDmCp{mD)i)Xd3dupBl7b)Dn z(uIxu5>*1yEVeKpt76WbZw~KJBY|rzFK5zI^$jHk%DRo&Kk~jx47=SPsZHwHv{T!kBIuAfpjQ-xt z$r#~r)ih$X3M|dW^WwF-mV{C97?miD1ZKeFS{6nSImFn=!pQR2ETKI%lG-D%a9X7n zDyHwyU}&S0?>i_b8zZIzkT$K}bs;2~8!@l#0EFSuf>^u#tjAUkglEQJJa+ySg;$e~ z4X5{R?QQ$+3;39ahEl*P#55y0b`x1V+>8r|nS`kG7LoCu1v77~dO^=LtqpJr+c4YztX`)BeTj}gd`%2Ax*2ji5#0*MQwAI zW};ONk2D@d&gUdNR*XzQid=1EkC{`K8@rZ1mg6yeH8=n7ttv*@&#U39a=BWq7}-!Z zb-XM+A6uE&nTt712&{6SbC!THG)SpD;!DYu8)Hbt=~TIX}dRWY>& zOV2l6D;&*fRnq#L495CBGOvzOZB1Q{uTA8wJnH^KYTuz3wb~w1EXI|81Q0uZ3^N^q z$HJ@8IlZg7Fr zk?S9$1}ROebv`E*K|kO2v)SC#<+2xY2dY+etE}zO31Wu73#f55kQZ5PWRICsmm9m5 zK2~E+jX8-(rq*ET`I2f3vsJ5AtBEQ~wKa9Qq#DC))v9c**6&z{nun)ly+h~J<%U;C zJlXabzVVPd?x+|OHRx>1IT_#7<(NzKT^X$|V$H)M;%XQqi;X$q>qmLtcR2d$n)!a* zvbmP^4xLk%8(tytWa6r$llEfUV+68d47!+FgQe#SHON?1t6H&Dt3e;7+M2pts6oc6 zTCG}5q%pMyOV5{7W0_k5bkd&X z>Y6}?{?^d(5?ZBpu$JS7H<(4frj|f;3ABK zPY6b(jtJvcB|PfwA>vz z4r#x49`}kdMv}KH#;!c&p2;Qi$lRT&=X0KV+)?Lq7?LAb8`)##)aAymrH?&9d#o4( zE2Z}$d?I5ln8!t|>sW;jvb^uOf>^Gux~uLI|FF{rIqxnz@?G7*p8W3!&^bp_POD*A z#{-^MuW%{Cc-P%&gw}x5`VI?Y7$QFaBOqvS5k|tN-vkesky_dmq_&_;QIQ;vkDBYa zyS&sA4H$LaU?lUfFg|WQz*Q_!WDHn?ktjYej6tmBF-IfRbO8@V9m04CJvq1%Fx~;g z6+m5HA(9${g3w{c)kn_f5JsCooiqLZz_j|f`J8!S437X0=sT$4g%sPydtf|15@SG^ zx7z%n-jULBy$^AjT>n@xa(8R;=a;?l$khG;{Uh_~p{um+rR9cKNIZ#FmpY%r;pTj$ z_kHSe32Vb_!Xx)vBsKgL=h?NKm+?(qj=4nNRWa%wL@tkEB48O96}pez@viIC@s4^D zpe9S(Uivd^k1>xx*X{7?j(0n3ci49@$Q{zmG3uXPAJZ1_Xw&ULrFICyNE{M83shsB z4Mx|QHyc=O6Z*$ktE5f9Q^X*($72}8DA_(8u2#=4blRjCqu-Q4mODfpfHF{lQMbt1 zU~J7GYJf4C2Ox}~Ozn=<4linuV3bG&tsxyQk2#Fd{Hnp|@VGqz4>q9A4`VdHsxeYu zp;N#$e~e)w02nDU1yx#0(X&8EGvu*{F(AoX6=QU7+Q=R=OUsR&Lm$hx z^Wl-fK#j2^wajNZ*VN^>YxH~xk0n@US0=%@iZtrX@O3j4rzH|a%w1u;~qhZgKYob4g?hA6|{6Ws( zPD169@nac}xL zILKLf9_&j63>A5#i-p5f=a zlw&UvJ1fQ~<)>5^F=eb>!eei8B%kSh!;>%8|0ZaHawDfOhg!39F~1SHRZJS@kq{-pdKdFj_q??bYYO@h!_^#W)Z4 zLM@lYBSy??yeP?SkE>?oF=C+#EpaqUIkJVX{evlZgjO{+!5AHTBKA?=;b|273{Wx7Shc)X(Ps!sD|Y;7els9u%V7*HQ;4;J zD(f8b{K;GtkI-zy7;@2ys@|cf)J)7m9wWdr0Txx$W5m!3!z<4o%?e<7MzdOB@Vr(l zW^q__mcust7~QlLzyTfr5=isUjGqr1Or~}zMqi9DfbgTNUv*V;aMA z4z)R&)3IcsJzA|QVOsSuhoB&Qz<8L>hv4F=z#dvGt5io+LH-M{Sjs`@rM(dd5dx$Y-h_TP( z`?b0_dG_I*7hs5+I_7x4Hp0Qa|0#2~8Y0D2&tuXan}0pOIDPT*)Yp*`#>W{!U zY>d9|NaAX<{`k$9| diff --git a/docs/latex/wx/grid1.eps b/docs/latex/wx/grid1.eps deleted file mode 100644 index 76fcc9540b..0000000000 --- a/docs/latex/wx/grid1.eps +++ /dev/null @@ -1,771 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: /home/jacs/wx/utils/wxgrid/docs/grid1.eps -%%Creator: XV Version 3.10a Rev: 12/29/94 - by John Bradley -%%BoundingBox: 36 216 576 576 -%%Pages: 1 -%%DocumentFonts: -%%EndComments -%%EndProlog - -%%Page: 1 1 - -% remember original state -/origstate save def - -% build a temporary dictionary -20 dict begin - -% define space for color conversions -/grays 450 string def % space for gray scale line -/npixls 0 def -/rgbindx 0 def - -% lower left corner -36 216 translate - -% size of image (on paper, in 1/72inch coords) -540.00000 360.00000 scale - -% define 'colorimage' if it isn't defined -% ('colortogray' and 'mergeprocs' come from xwd2ps -% via xgrab) -/colorimage where % do we know about 'colorimage'? - { pop } % yes: pop off the 'dict' returned - { % no: define one - /colortogray { % define an RGB->I function - /rgbdata exch store % call input 'rgbdata' - rgbdata length 3 idiv - /npixls exch store - /rgbindx 0 store - 0 1 npixls 1 sub { - grays exch - rgbdata rgbindx get 20 mul % Red - rgbdata rgbindx 1 add get 32 mul % Green - rgbdata rgbindx 2 add get 12 mul % Blue - add add 64 idiv % I = .5G + .31R + .18B - put - /rgbindx rgbindx 3 add store - } for - grays 0 npixls getinterval - } bind def - - % Utility procedure for colorimage operator. - % This procedure takes two procedures off the - % stack and merges them into a single procedure. - - /mergeprocs { % def - dup length - 3 -1 roll - dup - length - dup - 5 1 roll - 3 -1 roll - add - array cvx - dup - 3 -1 roll - 0 exch - putinterval - dup - 4 2 roll - putinterval - } bind def - - /colorimage { % def - pop pop % remove 'false 3' operands - {colortogray} mergeprocs - image - } bind def - } ifelse % end of 'false' case - - - -% define the colormap -/cmap 39 string def - - -% load up the colormap -currentfile cmap readhexstring -000000 bf0000 00bf00 bfbf00 0000bf 00bfbf c0c0c0 808080 ff0000 00ff00 -ffff00 00ffff ffffff -pop pop % lose return values from readhexstring - - -% rlecmapimage expects to have 'w h bits matrix' on stack -/rlecmapimage { - /buffer 1 string def - /rgbval 3 string def - /block 384 string def - - % proc to read a block from file, and return RGB data - { currentfile buffer readhexstring pop - /bcount exch 0 get store - bcount 128 ge - { % it's a non-run block - 0 1 bcount 128 sub - { currentfile buffer readhexstring pop pop - - % look up value in color map - /rgbval cmap buffer 0 get 3 mul 3 getinterval store - - % and put it in position i*3 in block - block exch 3 mul rgbval putinterval - } for - block 0 bcount 127 sub 3 mul getinterval - } - - { % else it's a run block - currentfile buffer readhexstring pop pop - - % look up value in colormap - /rgbval cmap buffer 0 get 3 mul 3 getinterval store - - 0 1 bcount { block exch 3 mul rgbval putinterval } for - - block 0 bcount 1 add 3 mul getinterval - } ifelse - } % end of proc - false 3 colorimage -} bind def - - -450 300 8 % dimensions of data -[450 0 0 -300 0 300] % mapping matrix -rlecmapimage - -7f067f067f0640060000 -81060c7f0c7f0c7f0c3d0c810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c068106047f047f047f0438040106810700 -82060c068106048204060c820c060783070c0702010203098102047f047f047f04260401 -06810700 -82060c068106048104060106830001020781070283020702098109028102047f047f0472 -040e0c81000c0d0c81000481040c0d0c81000481040682060700 -82060c06810604810406010601008102078507020902070201028109047f047f04720481 -0c060b068307000c060b068207000482040c060b068207000481040682060700 -82060c0681060481040601068300040307820702098409020702098109041104040c0604 -010c0404010c0504030c1904010c7f047f042504810c060b068307000c06810600070001 -068207000482040c060b068207000481040682060700 -82060c0681060481040601068304000a0789070209020002070209041004010c0204010c -0c04010c0404010c0104010c1804010c7f047f042504810c060b068307000c0681060007 -0001068207000482040c06010601000306010001068207000481040682060700 -82060c068106048204070681060001000107010286000209020702041004010c1104010c -0404010c1c04010c7f047f042504810c060b068307000c06820600060506810006830607 -000482040c06020601000106010002068207000481040682060700 -82060c0681060485040c0607060c010c8407020002090109820200040104010c81040c82 -0c040c820c040c820c040c820c040c810c040504020c81040c810c0481040c030c040401 -0c0604030c0104060c0104040c0104010c0104030c7f047f041f04810c060b068307000c -06820600060506810006830607000482040c060306030003068207000481040682060700 - -82060c068106048104070507010006020204010c81040c820c040c820c040c820c040c82 -0c040c820c040c020c0104010c0104010c81040c810c0481040c810c040404030c060401 -0c81040c820c040c820c040c820c040c810c0481040c820c040c820c040c810c0481040c -810c047f047f041d04810c060b068307000c06820600060506810006830607000482040c -060406010004068207000481040682060700 -82060c068106048104050505010006030204070c0104020c0104010c0204010c0104010c -0104010c81040c810c0481040c810c040704010c0204040c81040c820c040c820c040c82 -0c040c810c0481040c820c040c820c040c040c7f047f041e04810c060b068307000c0682 -0600060506810006830607000482040c060306030003068207000481040682060700 -82060c0681060481040b010b8205010b830b05030a020a81030a810a040104070c010402 -0c0104010c0204010c0104010c0104010c81040c810c0481040c810c040704010c010401 -0c0104010c81040c820c040c820c040c820c040c810c0481040c820c040c820c040c810c -047f047f042104810c060b068307000c06820600060506810006830607000482040c0602 -0601000106010002068207000481040682060700 -82060c068106048c040b05070507050b05030a030a840a03000a040204010c0104010c01 -04010c81040c820c040c810c0481040c010c0104010c0104010c81040c810c0481040c81 -0c040304010c0104010c0104010c0104010c81040c820c040c820c040c820c040c810c04 -81040c820c040c820c040c810c0481040c810c047f047f041d04810c0601060500030683 -07000c06820600060506810006830607000482040c060106010003060100010682070004 -81040682060700 -82060c0681060482040b08020886070b05030a030a010a82030a040204010c0104010c01 -04010c81040c810c0481040c040c0104010c0104010c0104040c0504030c0304040c8104 -0c820c040c820c040c820c040c030c0104010c0104030c7f047f041f04810c0601060500 -03068307000c06810600070001068207000482040c060b068207000481040682060700 -82060c0681060482040b080208010b8205030a810a0384030a030a044304010c7f047f04 -2c04810c060b068307000c060b068207000482040c060b068207000481040682060700 -82060c0681060482040b080308850b05030a030a010a82000a044304010c7f047f042c04 -810c070c0782000c070c0781000482040c070c0781000481040682060700 -82060c068106048c040b05080108010b05030a030a810a0382030a047f047f0472041f00 -01040f0001040106810700 -82060c0681060481040b050b8205030a050a7f047f047f0427040106810700 -82060c068106047f047f047f0438040106810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c0607060400840600060006120602000e068100067f067f067f060306810700 -82060c0607068100060506810006110681000601068100060606810006820600067f067f -067f060606810700 -82060c060706810006050681000611068100060a06810006820600067f067f067f060606 -810700 -82060c0607068100060306830006000681060001000d0681000605060200010601008106 -00860006000600060081000601060300010601007f067f067406810700 -82060c060706030001068500060006000601068100060c06020002068100060106830006 -000682060006830600060081000684060006000601068300060006820600067f067f0672 -06810700 -82060c060706810006030684000600060003001006810006810600030082060006820600 -06840600060006010683000600060106810006820600067f067f067406810700 -82060c060706810006030685000600060006130681000682060006030681000682060006 -84060006000601068300060006010681000601068100067f067f067306810700 -82060c06070681000603068500060006000601068100060b068100060106810006820600 -060106830006000682060006840600060006010683000600060106830006000682060006 -7f067f067206810700 -82060c0607068100060306830006000681060001000e0602000306020002068100068606 -00060006000601068100068106000200010601007f067f067406810700 -82060c0642068100067f067f067706810700 -82060c060606050015060600140603007f067f067906810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c061b067f077f077f071e070106810700 -82060c061b068107007f007f007f001b000206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c810c000200820c000c0a0c81000c0f0c81000c820c000c7f0c7f -0c700c0206810700 -82060c060806810006040681000609068207000c820c000c0f0c81000c0f0c81000c820c -000c7f0c7f0c700c0206810700 -82060c0607068300060006020601000a068207000c820c000c020c81000c810c00010001 -0c0600040c0200020c0200010c81000c820c000c7f0c7f0c700c0206810700 -82060c06070683000600060106830006000609068207000c810c000200820c000c820c00 -0c010c81000c030c81000c030c81000c010c83000c000c010c83000c000c820c000c7f0c -7f0c700c0206810700 -82060c0606068100060106810006020681000609068207000c820c000c020c81000c820c -000c020c0200010c81000c030c81000c030c0400820c000c820c000c7f0c7f0c700c0206 -810700 -82060c0606060400030681000609068207000c820c000c020c81000c820c000c050c8300 -0c000c030c81000c010c83000c000c030c81000c820c000c7f0c7f0c700c0206810700 -82060c0606068100060106810006020681000609068207000c820c000c020c81000c820c -000c010c0300010c0100040c0200020c0300820c000c820c000c7f0c7f0c700c02068107 -00 -82060c0605068100060306810006010681000609068207000c7f0c7f0c7f0c1a0c020681 -0700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068207000c7f0c7f0c7f0c1a0c0206810700 -82060c061b068107067f067f067f061e06810700 -82060c061b067f0c7f0c7f0c1e0c0106810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -82060c068106007f007f007f0028000e0681000682060700 -82060c0682060006250681000c4d0c81000c4d0c81000c4d0c81000c7f0c0f0c81060c0b -0c8207000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060f06 -810c060a068207000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060f06 -810c060a068207000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060f06 -810c060a068207000682060700 -82060c0682060006250682000c0624060200240682000c0622060500230682000c062406 -0400220682000c065e0604002b06810c060a068207000682060700 -82060c0682060006250682000c0624060200240682000c06220601000206010022068200 -0c062306010002060100210682000c065e060100010601002a06810c0603068100060406 -8207000682060700 -82060c0682060006250682000c0623060100810600810006220682000c06220601000206 -0100220682000c0622060100270682000c065e060100020601002906810c060206020004 -068207000682060700 -82060c0682060006250682000c0623060100810600810006220682000c06220601000206 -0100220682000c0622060100270682000c065e060100020601002906810c060106040003 -068207000682060700 -82060c0682060006250682000c0623060100810600810006220682000c06220605002306 -82000c0622060100270682000c065e060100020601002906810c06810600050002068207 -000682060700 -82060c0682060006250682000c062206010002060100220682000c062206010002060100 -220682000c0622060100270682000c065e060100020601002906810c060a068207000682 -060700 -82060c0682060006250682000c062206010002060100220682000c062206010002060100 -220682000c0622060100270682000c065e060100020601002906810c060a068207000682 -060700 -82060c0682060006250682000c0622060600220682000c06220601000206010022068200 -0c0622060100270682000c065e060100020601002906810c060a068207000682060700 -82060c0682060006250682000c062106010004060100210682000c062206010002060100 -220682000c062306010002060100210682000c065e060100010601002a06810c060a0682 -07000682060700 -82060c0682060006250682000c062106010004060100210682000c062206050023068200 -0c0624060400220682000c065e0604002b060d0781000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060e06 -0f000106810700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f061d06 -81000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060f06 -0c0c8207000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060f06 -810c060a068207000682060700 -82060c0682060006250682000c064c0682000c064c0682000c064c0682000c067f060f06 -810c060a068207000682060700 -82060c068106007f007f007f00280082060c060a068207000682060700 -82060c068206000c250c4f0081060c4d0c81060c4d0c81060c7f0c0f0c82060c060a0682 -07000682060700 -82060c068306000c06240601004c0c8200060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240601004c0c8200060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240601004c0c8200060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c0624060100030c0700210c0100010c0100180c8200060c4d0c81060c -4d0c81060c7f0c0f0c82060c060a068207000682060700 -82060c068306000c061006010011060100040c81000c030c83000c000c0b0c81000c110c -81000c010c81000c170c8200060c4d0c81060c4d0c81060c7f0c0f0c82060c060a068207 -000682060700 -82060c068306000c060f06020011060100040c81000c820c000c820c000c0d0c81000c11 -0c81000c010c81000c170c8200060c4d0c81060c4d0c81060c7f0c0f0c82060c060a0682 -07000682060700 -82060c068306000c060e06030011060100040c81000c820c000c010c0100810c0082000c -0082000c000100810c000200050c0200020c0200020c81000c010c81000c170c8200060c -4d0c81060c4d0c81060c7f0c0f0c82060c060a068207000682060700 -82060c068306000c060e068200060081000610060100040c0300030c81000c840c000c00 -0c820c000c020c81000c050c81000c820c000c820c000c820c000c820c000c010c81000c -180c8200060c4d0c81060c4d0c81060c7f0c0f0c82060c060a068207000682060700 -82060c068306000c061006010011060100030c81000c820c000c020c81000c010c010002 -0c81000c020c81000c050c81000c020c81000c010c81000c820c000c010c81000c180c82 -00060c4d0c81060c4d0c81060c7f0c0f0c8106070c0781000682060700 -82060c068306000c061006010011060100030c81000c820c000c020c81000c010c81000c -030c81000c010c81000c040c81000c030c81000c820c000c010c81000c010c81000c180c -8200060c4d0c81060c4d0c81060c7f0c0f0c0f000106810700 -82060c068306000c061006010011060100030c81000c050c81000c010c81000c040c8100 -0c820c000c040c81000c030c0200030c81000c010c81000c180c8200060c4d0c81060c4d -0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c061006010011060100020c81000c050c81000c010c81000c020c8100 -0c860c000c000c000c030c81000c820c000c820c000c010c83000c000c010c81000c190c -8200060c4d0c81060c4d0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c061006010011060100010c0200050c0100010c81000c020c0200010c -0100060c0100030c0200010c0100010c0100190c8200060c4d0c81060c4d0c81060c7f0c -0f0c8107060c0681070682060700 -82060c068306000c0610060100110601004c0c8200060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240601004c0c8200060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240601004c0c8200060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240601004c0c8200060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068206000625064f0081060c4d0c81060c4d0c81060c7f0c0f0c8107060c068107 -0682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c050c81080c150c81080c210c81080c820c -080c060c81060c4d0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060e060300110681000c4d0c81060c040c83080c080c100c81080c01 -0c81080c210c81080c820c080c060c81060c4d0c81060c7f0c0f0c8107060c0681070682 -060700 -82060c068306000c060d06010001060100100681000c4d0c81060c040c83080c080c100c -81080c010c81080c210c81080c820c080c060c81060c4d0c81060c7f0c0f0c8107060c06 -81070682060700 -82060c068306000c0611060100100681000c4d0c81060c040c83080c080c020c82080c08 -81080c020c0208010c0208010c82080c0881080c020c0208020c83080c080c040c020803 -0c0208020c81080c820c080c060c81060c4d0c81060c7f0c0f0c8107060c068107068206 -0700 -82060c068306000c0611060100100681000c4d0c81060c030c81080c010c81080c010c01 -08010c81080c820c080c010c81080c820c080c010c0108010c81080c820c080c010c8108 -0c810c0881080c040c81080c010c81080c820c080c010c81080c820c080c820c080c060c -81060c4d0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c030c81080c010c81080c010c81 -080c010c81080c820c080c010c81080c820c080c010c81080c010c81080c820c080c010c -81080c820c080c050c81080c040c81080c010c81080c820c080c820c080c060c81060c4d -0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060f060200110681000c4d0c81060c020c0608010c81080c010c8108 -0c820c080c010c81080c820c080c010c81080c010c81080c810c080308010c81080c050c -81080c040c0408010c81080c820c080c060c81060c4d0c81060c7f0c0f0c8107060c0681 -070682060700 -82060c068306000c060f060100120681000c4d0c81060c020c81080c030c81080c820c08 -0c010c81080c820c080c010c81080c820c080c010c81080c010c81080c820c080c040c81 -080c050c81080c040c81080c040c81080c820c080c060c81060c4d0c81060c7f0c0f0c81 -07060c0681070682060700 -82060c068306000c060e060100130681000c4d0c81060c010c81080c050c83080c080c01 -0c81080c820c080c010c81080c820c080c010c81080c010c81080c820c080c010c81080c -820c080c050c81080c010c81080c820c080c010c81080c820c080c820c080c060c81060c -4d0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d060100140681000c4d0c81060c010c81080c050c83080c080c01 -0c81080c010c0208020c0108010c81080c010c81080c010c0208020c81080c060c020803 -0c0208020c81080c820c080c060c81060c4d0c81060c7f0c0f0c8107060c068107068206 -0700 -82060c068306000c060d060500100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c0682060006250681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b020b81000b030b81000b280b -81000b170b81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060b030b81000b010b81 -000b080b81000b1a0b81000b010b81000b170b81060c7f0c0f0c8107060c068107068206 -0700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060b030b8100 -0b010b81000b080b81000b1a0b81000b010b81000b170b81060c7f0c0f0c8107060c0681 -070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060b040b83000b000b03 -0b0200010b0200060b0200020b82000b0081000b020b0200010b0200010b82000b008100 -0b020b0200020b83000b000b040b81000b820b060c7f0c0f0c8107060c06810706820607 -00 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060b040b83000b000b02 -0b81000b010b81000b820b000b050b81000b010b81000b810b0081000b820b000b820b00 -0b010b81000b820b000b010b0100010b81000b820b000b010b81000b810b0081000b040b -81000b010b81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060f060200110681000c4d0c81060c4d0c81060b050b81000b030b81 -000b010b81000b820b000b090b81000b820b000b010b81000b820b000b010b81000b820b -000b010b81000b010b81000b820b000b010b81000b820b000b050b81000b010b81060c7f -0c0f0c8107060c0681070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060b050b81000b030b04 -00010b81000b060b0300010b81000b010b81000b820b000b010b81000b820b000b010b81 -000b010b81000b810b000300010b81000b050b81000b010b81060c7f0c0f0c8107060c06 -81070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060b050b81000b030b81 -000b040b81000b050b81000b010b81000b820b000b010b81000b820b000b010b81000b82 -0b000b010b81000b010b81000b820b000b040b81000b050b81000b010b81060c7f0c0f0c -8107060c0681070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060b050b81000b030b81 -000b010b81000b820b000b050b81000b810b0081000b820b000b010b81000b820b000b01 -0b81000b820b000b010b81000b010b81000b820b000b010b81000b820b000b050b81000b -010b81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060b050b8100 -0b040b0200020b0100060b0100820b000b820b000b010b81000b010b0200020b0100010b -81000b010b81000b010b0200020b81000b060b81000b820b060c7f0c0f0c8107060c0681 -070682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c810706 -0c0681070682060700 -82060c0682060006250681000c4d0c81060c4d0c81060b4d0b81060c7f0c0f0c8107060c -0681070682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060f060200110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060f060200110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060e0682000600810006100681000c4d0c81060c4d0c81060c4d0c81 -060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060e0682000600810006100681000c4d0c81060c4d0c81060c4d0c81 -060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06810006810600810006100681000c4d0c81060c4d0c81060c4d -0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d060500100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c0682060006250681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c060e060400100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060e060100130681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d060100140681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d060400110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c0682060006250681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c060f060200110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060e068100068106008100060f0681000c4d0c81060c4d0c81060c4d -0c81060c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d060100140681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d060100140681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d060400110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c0682060006250681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c060d060500100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0611060100100681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c0610060100110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060f060100120681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060f060100120681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060f060100120681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060e060100130681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060e060100130681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060e060100130681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c0682060006250681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c0681060027007f067f067f06820607060c0681070682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c8107060c -0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c810706 -0c0681070682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c8107060c0681070682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c0e0681000682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c81060c0b0c8207000682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c82060c060a068207000682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c82060c060a068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -06810600050002068207000682060700 -82060c0682060006250681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c06 -0106040003068207000682060700 -82060c0681060027007f067f067f060106810c060206020004068207000682060700 -82060c068206000c250c81000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c06 -030681000604068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c06240681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f0c82060c -060a068207000682060700 -82060c068306000c060e060300110681000c4d0c81060c4d0c81060c4d0c81060c7f0c0f -0c8106070c0781000682060700 -82060c068306000c060d06010001060100100681000c4d0c81060c4d0c81060c4d0c8106 -0c7f0c0f0c0f000106810700 -82060c060f068100060d068100077f077f0778070e068100061006810700 -82060c0601060c0c830700060c0b0c820700067f067f0679060c0c820700061006810700 - -82060c060106810c060a06840700060c060a06820700067f067f067906810c060a068207 -00061006810700 -82060c060106810c060a06840700060c060a06820700067f067f067906810c060a068207 -00061006810700 -82060c060106810c0604068100060306840700060c060a06820700067f067f067906810c -0602068100060506820700061006810700 -82060c060106810c06030601000406840700060c060a06820700067f067f067906810c06 -020601000506820700061006810700 -82060c060106810c06020602000406840700060c060a06820700067f067f067906810c06 -020602000406820700061006810700 -82060c060106810c06010603000406840700060c060a06820700067f067f067906810c06 -020603000306820700061006810700 -82060c060106810c06020602000406840700060c060a06820700067f067f067906810c06 -020602000406820700061006810700 -82060c060106810c06030601000406840700060c060a06820700067f067f067906810c06 -020601000506820700061006810700 -82060c060106810c0604068100060306840700060c060a06820700067f067f067906810c -0602068100060506820700061006810700 -82060c060106810c060a06840700060c060a06820700067f067f067906810c060a068207 -00061006810700 -82060c060106810c060a06840700060c060a06820700067f067f067906810c060a068207 -00061006810700 -82060c060106810c060a06840700060c060a06820700067f067f067906810c060a068207 -00061006810700 -82060c0601060d07820006070c078100067f067f0679060d078100061006810700 -82060c068106001e007f077f0779070f001106810700 -82060c067f067f067f063c06810700 -82060c067f067f067f063c06810700 -8106077f077f077f073e070000 -7f007f007f004100 - -% -% Compression made this file 3.88% of the uncompressed size. -% - - -showpage - -% stop using temporary dictionary -end - -% restore original state -origstate restore - -%%Trailer diff --git a/docs/latex/wx/grid1.gif b/docs/latex/wx/grid1.gif deleted file mode 100644 index 4cdbde7c49944024527e507039f482a56cedc080..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 485 zcmVM)j$~<` zXsWJk>jB3j5yS)#1A+*OBJ4eya7ZLRj>jS)Ib=4G%BYm)oLaBgtai)odcWYXcucm+ zI0(QQz;3rCX=*24JEUVXf+N9CARGn*3xW%S3r|!JiA#!%NR3R9k42M0kBUi|n3a-M zWuKs-qNAjxrdekPZfq23YpZW|H%oJ~a4@MZy1Tr+zQ4f1!o$QNcexcX6fn$gALTMTt`BbTm-F)U_VsG_`uqI-{{H|23LHqV zpuvL(6DnM|a6-Ek?-)v)NU@^Dix@L%+{n?MLtOsrLW&$ovZToo?Xvw+6D*c5mM^2d zM8->IO`0cD*d&It!W~(7uC463g4HsWE@1XDstRdRqAZv))ul9NQD{zqLA}Lw4M$jD z!-^eCwyara9XZBGt8p#cw{ZOh)$lXr)?`gZu(=cuNj^1yALZkFBrra|3US4?=yvhM b#*QN|o|~aANL6=L?3KJwG3SP#8A1+C0fpzv diff --git a/docs/latex/wx/hand1.bmp b/docs/latex/wx/hand1.bmp deleted file mode 100644 index 1b2d73e2369667519f3edeca45fe519b0c5656fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 454 zcma)%I}QRd3`D&WeQ4+@_Z;*{oQ66_+luq}2I0*(EFe*kWc$2WxjijaJ&>Kt0UfqML982^4 OPs`@_k3X_v|81Y!vHc4G diff --git a/docs/latex/wx/hash.tex b/docs/latex/wx/hash.tex deleted file mode 100644 index 5cb1232974..0000000000 --- a/docs/latex/wx/hash.tex +++ /dev/null @@ -1,118 +0,0 @@ -\section{\class{wxHashTable}}\label{wxhashtable} - -This class provides hash table functionality for wxWindows, and for an -application if it wishes. Data can be hashed on an integer or string -key. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{Example} - -Below is an example of using a hash table. - -\begin{verbatim} - wxHashTable table(KEY_STRING); - - wxPoint *point = new wxPoint(100, 200); - table.Put("point 1", point); - - .... - - wxPoint *found_point = (wxPoint *)table.Get("point 1"); -\end{verbatim} - -A hash table is implemented as an array of pointers to lists. When no -data has been stored, the hash table takes only a little more space than -this array (default size is 1000). When a data item is added, an -integer is constructed from the integer or string key that is within the -bounds of the array. If the array element is NULL, a new (keyed) list is -created for the element. Then the data object is appended to the list, -storing the key in case other data objects need to be stored in the list -also (when a `collision' occurs). - -Retrieval involves recalculating the array index from the key, and searching -along the keyed list for the data object whose stored key matches the passed -key. Obviously this is quicker when there are fewer collisions, so hashing -will become inefficient if the number of items to be stored greatly exceeds -the size of the hash table. - -\wxheading{See also} - -\helpref{wxList}{wxlist} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxHashTable::wxHashTable} - -\func{}{wxHashTable}{\param{unsigned int}{ key\_type}, \param{int}{ size = 1000}} - -Constructor. {\it key\_type} is one of wxKEY\_INTEGER, or wxKEY\_STRING, -and indicates what sort of keying is required. {\it size} is optional. - -\membersection{wxHashTable::\destruct{wxHashTable}} - -\func{}{\destruct{wxHashTable}}{\void} - -Destroys the hash table. - -\membersection{wxHashTable::BeginFind} - -\func{void}{BeginFind}{\void} - -The counterpart of {\it Next}. If the application wishes to iterate -through all the data in the hash table, it can call {\it BeginFind} and -then loop on {\it Next}. - -\membersection{wxHashTable::Clear} - -\func{void}{Clear}{\void} - -Clears the hash table of all nodes (but as usual, doesn't delete user data). - -\membersection{wxHashTable::Delete} - -\func{wxObject *}{Delete}{\param{long}{ key}} - -\func{wxObject *}{Delete}{\param{const wxString\& }{ key}} - -Deletes entry in hash table and returns the user's data (if found). - -\membersection{wxHashTable::Get} - -\func{wxObject *}{Get}{\param{long}{ key}} - -\func{wxObject *}{Get}{\param{const wxString\& }{ key}} - -Gets data from the hash table, using an integer or string key (depending on which -has table constructor was used). - -\membersection{wxHashTable::MakeKey} - -\func{long}{MakeKey}{\param{const wxString\& }{string}} - -Makes an integer key out of a string. An application may wish to make a key -explicitly (for instance when combining two data values to form a key). - -\membersection{wxHashTable::Next} - -\func{wxNode *}{Next}{\void} - -If the application wishes to iterate through all the data in the hash -table, it can call {\it BeginFind} and then loop on {\it Next}. This function -returns a {\bf wxNode} pointer (or NULL if there are no more nodes). See the -description for \helpref{wxNode}{wxnode}. The user will probably only wish to use the -{\bf wxNode::Data} function to retrieve the data; the node may also be deleted. - -\membersection{wxHashTable::Put} - -\func{void}{Put}{\param{long}{ key}, \param{wxObject *}{object}} - -\func{void}{Put}{\param{const wxString\& }{ key}, \param{wxObject *}{object}} - -Inserts data into the hash table, using an integer or string key (depending on which -has table constructor was used). The key string is copied and stored by the hash -table implementation. - - diff --git a/docs/latex/wx/hellow.bmp b/docs/latex/wx/hellow.bmp deleted file mode 100644 index 3814ae2483cf62528da530d32c038e3cf54d25aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55918 zcmds=&5qp4b;nyk0CA~VdGrR^2M7XW=S^054dJeY>rKdkjmsXyP*Z^5u@Jzc*~AZ# zMPhhyy}N#ey0n+*XPgU`&$s)UlY>j-Thb&eVi|5q&s8gqk-9P{5*Z;FI z_!o|U%l~hmZ8ksS|JmkmEPwyscCy0@j{5iT{bs{w^Zob!#F6CYPk;K;X1m=|aInwj za8QbW{*=X`s;cca%eF7JTT=Y}136Vy-0Z3W1fzT)3(ai`81CpW&D^!$Z2(oN(SG+KW>F% zXnwbog$(=A+{?EmI+ru~5y)-n2hUjv{6nOVo*y;>kYq$d>#Jf1bvqK!NFrc1 z^W;Lk>N)+QJ~_34na@!*Mq)-bB|JYs+<+XNp@fgm;;1_W^YjCTT4fE9##$b>8i)$R zFYqJaZ2S-%;zWcK(QpCjs`@rFR;)+|{hwJs2Y!IErNkh~lYvCbvSV+~<%iX$kpkC^ z^onwo@2U+Bksf09szAY^ARsE4Qu0w9DLN_>u}3u{9LGU^pUG8GZLzzeB8YXkCz8}@ zVje$SxX0KanOu<$>!%h!I_NHQQDCp&vC-i>37X=^%&-YTlUElWCpuP}+jJ+Y>_s+c zL1!EkU&j8xYSy1Hqo$gdv1l0#uXc8P^X40%m61+fUsvC}sdS6M?QK&%lA#AJ!+~xq zu!8y57`%S{`qislK33ez&mZ1bZ(hCnD0ubio9g95-kPC_5@t{6M-855%N(nc$>s>S z*B?LrWmk@r9%s9ohljV-n~$$w{iXWw@NnO`Q~d`8W`YAH9YK8DMU|xE%^Q037~k=n zJb#FApLeU}`L-%D=|>IAaKg8eqT|36po`4pl?#+GE9lkD3*rjm$8$`u8I~m#rAX4z zLuKY==?;A&xYP4P;|JoUvB9jQq-_ycfsSEvWqyqxRqh>#Md^4HKTZ-l^}5%Oi}0g# z?vNiO-L5R9s;24AF$-1^*9R(;PR2OD8}9nST#cJpUegbAw$|mxooQhK1#VaFIORJb z?=;vuUrMN4|iAOWl+r$q`449?pEh^|~Iv>MeCe?cU5Vf^_ zNRH43{s|tVA4MrTtk{*VL`^803x*zYRY^_-r;V`wp3$R3rv;AgC=GQoJ0-13mP{7* zE9=^;#AcVBB8)=~4d$WD?R=Nt9J6vbr+wR;v|5o|)%=)q)9gBZe%ucuJ&;?@eul4T zawYv(haX+JLZr%>pA*UOa+Pfv)la>1PW_%-&AH{wI$|l&%M0=2OeAOA7UgOse)QyO z20~|6@%Cyp{pi}OGjW`Ao5|IB`f)LSc)2=9Kgt>1)U&%Y?l`wfl&h2VV?W2hUD{rC z^g}LB<297lLv}354VSE&S4#WK!x&tSAKt%e#t)n|+}Z;7|IR63hkI)-HeNB#5t9Pk zYCQX}mM*t11(&0v?_cfjN=4xbSKm2pZ2&~r)@HwoN9+zETXm+~naj%+_~9z!HwJ|1 z{k>69F=2=+Jfb6aK06$r3P0jFh=0Wt2RbA_k|1`J_ywKafysqMQxvk@F?Ys^fkk9N zv}hlP3(J)sKMEnWN90-k2H72x8T5k@K&U%SqL}^@11Q~IgegnYi4UarpZug2SKO3;t8 zxjLlia35ZO8i6Xs#?X9}t6D!=k9~Yn_Nr`}NzrlhyAdirefl^IV#oge2*B96wC1*3%E~M@9`v(UIrh{a^mmkKcV){*-eTko@Vp z@7$01O%%-WvzMzzKNR@J1uR(?V!?^j+q}a> zg=ryaR$Iu^Ho)rcV6ObpsL-xeCFr#LHDPezZDsfn+0B$lwGW z3BP0p9Z{~<^sjt}Aec#hB>a*m;$O|9V_dFg`|a!LN86())BG5p4}O}%4~>JDSsyG9 zH}~T@m(cS${OJ2v;}1Hgq_MlYyG-iGI6wX}gCB7mTq}N6w#d&@{BRGi#|-Z`2{y*& z&0bwbKMqN`I^0wvbbRyB?u>|d@7(gQdL@1c?q|-qF6&BNxk}REZa%ze;G0)Xx|$(Y zVV_LaS&;EAhq;Y4Mkge+ODsT-j;?-u?nQH7wxClamuL#&I4J#KNx-ImS`J`4RCUK3 zj|}EATq?z%rCe@j=8T#-;*Zw(YJts_nj+@p=8az>L_Xh_Eqp#d42N@-`|@6h1!&zf znl!oc`XTRJ&N+^+7NE>!xB14NY;BrTK8#a>1Na_P!i2$IK(Z3@`OpVyOE25C5l61t zUHkcWwpV@dFh?aiG`0OJdp1%50w7Z#!Ai4`7AONcY>q<0*|qXA9sEoy+|Z%p^Mh+$ zCr6A{y$-%(7h+x5e`WlD1o#nPS3D0`1;RuiB(j&>QoiP{p(ET^LXqv5@9_gVT6laO zA2B|?J(-RsekD5CKqxvSLG};QtO$DSZ9Yg9kzjL0qnMeZ(Qx8dEBG=^s;kbxFK~ixeEFL6(}yXHLcW9`@ZCFlWz&l{T#k{$xK&;CMqo(7 z?w&aguBRV8x$<-bj4I3IGeSP7dDF71&25ego;C_BRZT$ zLO={j*xhsG%KKM1d78#Ck;6}7rUy~@b!5s?=9(_*LMwqJ>TV`mD9ggJ6X(R+3 z|0|4xrXPDhyU@-)mbkQ0l$VJ#sbadP<&bJ`(?V_NlS9tSHM|PcGpvSWb2#Eh3^iy_ zPw?aXaggyNOrLlM&o7;6dQplFKnqSFAAnbKnU!d!QZ_gbr3UEm7E6wCf*)tfmDdl@ zjC1T#>0OzN4}Lo2m}>)?K^cSK11rRnbR4lOj364+Q~Ws7UYUL{r9uHT@rEA?nbEzoMt}Xj4Utfrx<%x}wm7F6)b!**hQe z0~agYl&AP{o?ON8qld*Am#A+Wj_fXl4?)upH-A4Ey0Xkzr`=dG-Hu;TQ5?{UwIxc< zN_p8*Nx0T2g5{}7sj7-C=udG8t_S#mU{NBtd7p?UmR4o{0gbKWR~Ql2%rz2fkRzc{ z5FY}G;=)l{vh@RGRZYX9jf>g_Pmn}qS7e|!h#}UNv`FDXl~f{>R4&D^R}&b9RBH&+&(aX10a_LU zZ?A0r!8RV}_CCG|%h6{Wtr;3IK$svqk`~}yDHM!RQiK$+Ln%?AnzqHU4_pC*H&tQLZki9}(}HFc{+SOae0+ytPENI1a9)9|Lk_-i$D+Ro%;3 z0?8RgCRgj}$AG=cYpkNG*Ob*IM+s(^IN3+pO~&Q@s}?pjA!UQmU`nyee7j9li*mJ+ zejLkHTgdr3#CyX#fuN_0Sx&LpB&vCPb+Pr2-joAEj6D;B`v3m%kL53a`LCOQ{N7VF za5TBPpnmjhCxlohw}fo~Nzsx2@jp^@T-d)lGEISy9(l*Kxa#lzE3>UQ$7RZia^%1Cye_zEPOXatqKOgk9S`|o&5ROAd?TW?oVW%_H@p9$Y2X~IIX(WcGP$AJk z0-dCZRw*=cR~+;=W_ynw9`L-197|lA3J6u?cpRc! zp&x{#6yB`Egge^~%Ga(a@+s;9NK#qCv0RP<0;q&@NtE3u_2{7AhX6uy1-~8xaU9G< zNA=voi6K;ItAw`sP_aS2I;RE1uXGiu6MMK_1a)8@9q2mNcZwmMhL0|4|0=F?!ViU- z75Xf})k34>031ApB*0pi&|$fv!(JgQyASB<$LMH>irm*~*KJ|$RqbC9W0xi%JGcM9iRs6YMpi?ULq#TqTc90Mh| z&Xm-JR@bV>EHS2kXNwsgROE8`G3}xPfmEbV*Jo6 z+RH=3kEwx9p}B_Wlj(?ZRb@&o4lO#Skd%r{)fp!*j)R%@DJ%|+0h3Le066k*6II5G zZA8%gV`Y9!lOa#*{rxzm=@QYg)&9hl`7wtMa~aDtzGJ0$gp9};Z)+?rRBABl$ILM< zOh(3#P2}rgMaKMmU4G1B2WXycw5-!s=SN;9y0Tr=S{P|(Pp2=!4_8hj5^9_~j9i2t zC(t2XKgVcYf*(^ud6!u>8R=%txH39c){j%z!6CSy%!#D^KF+HAI904bn2BjQfp@>yey?avew;zZIk7Blpq8Jwn!P%Qj%4Jp z&k28xmuP$#-eQSkqpyTaJjSkHw^qJ{;!a5T*zXaWchVChoJE#NHrd zEqmpEEUc<-tLwyPt5SZ2?-~i$Kd{v;oOMjy>TBta%s~2~7&Yp`v`Vz`O1Ab<22f0~ z0e!uJRZ;`m;2S{qHuqSADyd$)xO$fOT)hxnJu`S=R~+i=)U9e&NO;KjolfS1yywrs ze!W<~gxCw$udZ(G@9OGW$*Zep zT1b$Q-$cl9A z!OH0HvWIJF^jOfSCKk)*v$ZIqFt&KB^&s&h30KeFR@e9U)i3f7A8y`OzrDV_{_wNB zdRyGw+$L|7I9^LcFuKCuj~_bc{BCaMzj`p+HiHVAjg1a}0|J;;ASx1C3b6~>qQ{r1 zAzHgaaFXz{y1LGHH#f!GUH-EVSJyZE<@fhDRW9L5!!z*5X)m^@x7QB_68q};jP)EL z3Iv8YVJx|lH)hn=WyaA^O#;U)Vw&+InyYP6%~6o-=IVBbeY&cuUvRwsg=`gyce}ey zYZj%~k|nIvw&q8qgI+Ai_DC6u2ljt^J%Gg+po$gh;WFVbMF6d2IqD3<<^BjJdhCth$HwSZ?8aI3J%Uvi3md4_z|kn zh-%PPlR{o~^x(RCnY`QED}~#kBgPZ$v0{Y2i9|)iV2DTjYj%i9d_80fq~~1D;Kx8e z&&~4oN>7dUs)fNqNfUC|J*6L$N|2~vGUWR!*sFz*Z#N?y!(`d<0*7p+_^ux*FF-(e z#9H$YMZwYiMupZ&d1ck_bDF(si^SKMu2z~4Ubrtb{61NJusuh?!s!nt{;z@`8ql9E zKlC!$JiymDfge*AXL*&F2uak%8qnwSV`?zyI3`OFHT%UacZz<<%|+>IFjvd`DxZ~d z%g&-|;+M~AZm@^PrVBIeRo4+5z%1cj4%D8JwGKZ}rX)<#nY??ba5fz$>Bl6V6Lbz? zn#`LoSMD@>6`ne%&&Z={oF>f$9W&9ulB%IAK`P6f$VpE*@!^co4UJNXvquI0qy)El>oIKTDp?Ja)Mer$2 z$@ysnXS8*~CyNln?;s-iM6v0#W8_;ohCpV*G2_8>4blpT4og{t(NeUrxOx~rY~Q2Q zBn6U(+2c9#&)3R8hB`i^#E({bPS8 zWd!qXw&62({vkFHehbi~qC72bulSAxt>j>L9fuT2l+Wi!#5YoMbgpSUDmgP_w^ytX z$yE=gz8L8wdqsOmSezeVr%YE7$NtBzHcClL%6#D1X&Kl!jJ&e0!{MtDn z;O!MIrJOPTFm(PVX;xQ5U>+|PfiwTXLxE2G66LMo?=pU{p-#*25H!%$H7T{d(t17U z=@l;PVQQ$4JE8(Vyy`30ek563V4tqD?r8J}vK9f2A3R9QMf7R&%TG1>b%J`v5B*A8 zQ9v}P(y>;)*E&sGt}q;75f&`{WLy;al#YBB2EHYTw}jP0tbipHU43r;m2{Oa7vkrx zM`^4pb{AqWa=L>tDw$&LDfL5N*jM>{c3 z_?vAAl~gbY?Ycwh5kh5BhXG%GFZ-Et*^QXmUJbXiaBh(eHpq8Z4HJUDYvTgl*>wG2 zD)Phc<*XjJ0?;G=5%m4oQlnXc9k?IUAz2|IpxB>S*zmj(Nnbj`uA))pS^ zG6TpQB7|QjW!;oQZRDau_&^6~-N3t8+Z}C?K{fs?-x{>1(V#sR{_w<1j^{o{)n#`l zpte^$hP_fA0X?tcg1s}gj|l`K9UGCzV>VziBn#ZJ*=-C-D$=FG)%JC92N?4J{~ zms4k>j)x)Cqb+XR2seGI{97fr&v#n$R)!wxO$rI?KGA|)9Td2lK}ysQo|hTB;e>S& zvH=3&8Ji88<&2Ju9)kuwIP{%${veINY6!`r!YxK%@5m0CN&dVK$Zr;LQ)|oD_SS8p;UUS zO!ZYCisu+tZBoq49#JfMsV&6G-hE4&4F3S-TiTvxZHXRL7AEMq(NXBfl6zm9(B+Qf zrm&v@0`%19I?D9g8H9BXfH?R|vaLK8G-p{FuMp%_YRvc+?GbrdQ@QTy)^MwP)VxeD z#!AoQ%p@cwZ`aBS5ikEYTdyhv}C8FCPQv>k|g=N$=flT zKu6FHhu@n3$4w{fFKP8#^W<(y%N0w3^xTl2h_?GVxXlNbdi1jG%00mV607v{$oqvIrdg+V8bZz14#_7~*a$Hw0|-M4t1)A*4bR2j0|*TD}w1R`}d zJtLB#KLbBS(8ZUd<0O74?1&?#s5YJ`&SVMdY~ms`j9-LD`sL`D)DOAb=61{T6CM2A zuvSa(;j|A&UzEi)-yo;>>zAWrk{_ZW!;=O?2MSselrP;KFUrdaWe#1TMCFz*v2QHY1ut_1}#I&E~1wa3nSB=6ehlKv0 zuDy~gnTaWy+zR~`2z7&)_;Pei@&l`+$(>?+$khadS>@uR+>8dN{41O$9D8B};>V=e zOjekI(OFd{`5`(i)}cxJkn3-GF-m_H4vXC6`Qb+hsdE=>*t0@7vdHsRYQ*znj11XY z3nxLHrvt(9F1zqiia#B`I55gtMHn4|#qznNy#eu!ubfj`YJKyrP#fMGGzJtKcl} zI4ivco)AAYN|>Ywd0RbF^bexw@J*H(9Tt`^h=vpLS0EQ+;Em$XUy>E}Y|jsp68)g> zwv;BiJRQ(QnBR23_`xE8#A>6Lft6-mp`nAl6xyufXX>b&aaYY_55`wCAKeWt{SYo- ziz4XH*c0@l$hBUfaxE`Fi>h&gA0ge)fiLOQPTeW0YMi#a9*yu=1I>62F5(H;nU1JO zEeRTQK8s(04!xg__GkqJ)lnL#o9F8Wou`-4Uo_}$ql3<|;Co$l$%N;J*?-~E;A0Qb zB*`NK9oFZDl1ISkZWs};Qh?ugh}Js{@M%1!xeB$GKLvic!In*~AVmv@q>lhP`w;k{ z%H~>{U&Do#G|-l{pv8}YN0?lN{2@AqZt#@RP%5$@XBWu=D5;0pQzK}l&8S^?ivgK)>HBi8huOGw@8v(xV1MHBG z@%2OY*FlCD;cX<_02K`}O>wMP+m$YDNk9o|I4jmc7f%Ur#qSh9E5puG$Eym8sfCaf z_G>1J z!gpm4Cz$5U3X+mjOq1ax&0*?K?vz31O*+ec>cp@jWS1f3-!PG-8 zJKI2ar9c*#Vm?m|_D^`fj~D5AN4Zy;U0_d_1#7j_C{vha9}xopvORu2xb%E21}>Ue zAQ1~6&FW4S=XLgIEqY%p(6}A^D=wA-v&-ruANY~c#ws=tOyB~KlkHUSmP3qRE!Vh> zKZdn}Tn+khzi#kL7a+rj0ek=?bY3fx_UH$oazw9*U$b#qaZ?4e{q%r{Hi-qh436XO z!3@rs@3KduUpJs_(gm|9P$P AqyPW_ diff --git a/docs/latex/wx/hellow.gif b/docs/latex/wx/hellow.gif deleted file mode 100644 index cc98dcdae53e660b062e3951e528b427f55a393b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 112 zcmZ?wbhEHboWLl~xS0V2_Ji?$Fts1Z+rR(7fddT<4gZ1S{~7*+DIg7G0f7!k2S_gi v%Rhkyo~!p-ygs}8e}YC|O6I(bRqJxHJ@a(Vm*n2B=sSG-pg+5Ul7}JyRW2?< diff --git a/docs/latex/wx/hellox.bmp b/docs/latex/wx/hellox.bmp deleted file mode 100644 index e80bf33384bb7aebefcdc400e737bfd23ffba57a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 64118 zcmeI5y>cT-c7;KOLS6Ej)^fcy_YGE_6!P^N9kWiyL?~hb#u^}FBL<)|qjt7QNBtU- zwfib^7-O|tJ94P++?!dIS(Wtzuz*I7CJ9t!!^r>*8&Ad&XZ@D_*O={KZckiLUtqvq?8J#k^AZd zFxDG2O8X}bJL_V%=5K>uouaR^XeU!p42l9P00Yu)qe~4WZyV5^0Fz=cjGy!g?|JD-E5E_zqQq7KOmauHj9P=l7t7=TP$6 zi2&8FB^7;vz{VdMq*rDNE-;JlUKWCW%3Kb#4^Ynlu7-~fTe_%KT_}tXBv!v>mE?P4)ziBN;Ww?TOTyjo3}eHQS>a_zc}V-eP}+#K4b`E)8oj@IgmxWn%7Sse5jlc z)C_`_4F}EAukQNr^=)RCZXYuXzqVLy>mPch^-Lu($c2$o&}V)2>&e0*%ye+%{j59rvUVSP>F`3ssSNcLj@zgGci+6r zU*GJXp3+7nbw30?q*>hZ;3+QpV%}Y+eNN!Gef;kEb1yvq_%O{#%E#-~sMo@NTW?z+ z6MWQ9f9`=$!t*yz*=V#4wy_3>_*gt(=XEN=I3KrH40eVAktg#7{LejF}sF0y4E_O~=UYwG|RIeD^DsAtz~ z1nZ`fT^He2lKN^aWSo!N{~YGy$B$|#3*2TT*O`6T=ClSB5exz{^5@&s$V$Y-m5u=k z$I|cYk(r3fvMo&@JerT^0*x@d4z8pF63r;RKdPDYo(78}wl!x5tt zi71Q@gg1W^AXb;Vv%p7VA>({JeLu{{^MehD1|^1F%QH!hUP(FZnTP0*%Gl#JQ!doV z_O_I4!|gUN3xN=PeN`dYeWfl0h}>u&Eg@rk)KBkO@;-AQybtTTUA=$*`T1!Z<)<}y z9cyqjJZF5EEPiPBYY-_(FGRCFZDFw>xC*XUapcDN`0(931%%e=`Q7KwI=|Q9-TQ=( z+FO=f2{!9diXi1^LK2T6HF*a_8oxdCIL61z)AuGeq?qIZhsWRly5-|<=Fp-vo5Y#U z?Bf6lXBG{71Phtq;~!w*eH1_P0gmUK51((>-2b(7w055JF;mQ`VhtZ*ZW-kRy}~T8 zh*3C{pZ z>|<*xwrLejU>dzTF&{p+jPfx$@1}e>4oTmJgpb!4beWB2zM{W+%X<{Zm|v2vgRWPJ zjSJ1W`0zDk9LM*mO6Bp?ztV1D{kNT~moO+aI8JOIM#uyo<-0)xl;JS)cTS6==&a{M z+HrJxJ70l=jz{^J>$lgk1zwqEC48jz5!`i^mIKQ&t)oTpHrz`wbVT(yj?gTfO-Xr= z+c;n%WSkFkOmcOKSLt*mzhuWeo_Zx+KB6pg*yWD9Cy0>dF|p_?N+O8lymK;d*!)D? zL{j8M;xTeToF)<+^gYVQ%k4hO-93Mk-q+gB;SU`g2_J~nxO|cZ91bVouoQ+^LK0`# z5m@ES8}oGcfR!vvc##>7?F5d&8{3DEEv+xOBeh(svR2y3+)c*RmA`!pa+dHT4=6gV;@9Z z@6ai`Cp15vIPN>uf+6AK`!#d{J>}!2{_pIvku5~F>!-)>-{XpW)}aaS_fH8Owb6iA zlH+Lf$}}OsKtPu`UKgBqE6^UAl366ztL{2j_x5r>eE9JAc=LGwaR2bIe+=O%g%Kdv zoHM<$c}PlAMJ`N`4vb8=?!`#iaU4JOaFFo$^q|+{hc@%$Hb|eH=J3%K_1NnUj+fhi zPDT0YvAZXoY*9ZvHJzq)+V}tt*~jvsV;{GfxBb(|0$$qbX)!1!hpi2bUS;;N6rdg- zTjt9qjN!_*AI0&_2o4*JbVR!A`BLJ?c6xk#O11i@ zk&U-8y{dUS#PivdoYdbvy?wm=^eI*A+cEnX&?^}jI>cI*!N~Wo;xI0D?(zYSaHlRQ zj?gPnA+IFg+@-DM?4!7hbnN3NlwKq1VH8Jt#}O+at{`-%u-pbmcfN9Wc5P0$obpEN z%z5D|ZZgX2l@B9#*9f<+{Ltm2{+t>-3N=wEKFe8k`a%76=GH?q?2?g8@_ABnGa$385ygY5`JPzow^HnN;j3;~`WEFsDj4jwEv_5!Z z01T7zZ0L;vDj~dqQ3Ysf$spF@)dVDZpG3#t? zKu2+u=PRpMIy8EfDYo4^CE^?#?eU?BSF@*yGKynpzAAxGlQyyp_F4R^m)bWBoRCo* z2hLYzK8_v#ZoM8Kap%VfS#rKg_{ep>E7Eb-UHgbTKSs#ysphNWWF4v1&Ct4{`rG1n2uPkr7$3%FmUSf0WgAT zKLVHxy4LNGH53eui$7TDJBk<21IaOa{9M9O2jApn{qJLyb2&vi+RIxf-5quF)mG$VtleYsihQ6?CIbuE z`ekmY^{XXKsCs&p@NtZwQ*}ywVCkkafawhC2&j6~fKUYWqIwcc-_Fd3TY4=)W)rgB zr#LER6IE|R!pEx&VStz-AMW(p=PEkVv~qQ09X^=Sw^@-d!iOvb>rj|W$Yy`HT2)BP zjKweHFo$lfemo?63=HY3lFNL^LIQvQCyFz8u1)+G;BU8>3PNqOvJDO6=>Rg^oxa5LQx&YWt4ekDeM@UWotChFE8R6qjrbAhMh{2o^i73ZOw-oZG$dmKvKA{Sk+yJGtsU!z;!ORCz zO>=q&Mti+}`WUk25u(9Fv2<6o!_GP8E$8-ue8?FF>l!=CWTSg@FC@q_%4=7gj%T16^wjv zp9L+D;Rzxs4Kjx2_QW#80U?}}DG*9jk|E(##^E9yM2LxnVxd~Kexszjp4UOIOgYSU zO}y6}tVKsz#t}cz9dAVDSV*lQl8;qsbcp{D$PBDBIE<>-h+nK*;v>Rf5&7g&%$Tx} zlbntHF6!_OW~@@zJit z;YMW6eMl|Yn5n=aJHG%v>SUmA{f=se+lzhRnXr14#j1C(n4JS`L#;p zMTe}NW*t16edH4J5k;4$HJXI3Bw7o|Zhg1c?=YZSgY)jW?4z{~lag=F+qpBm2?CGS z7&gM&tmKqzvofA@zWFM(4ihBW`UD}hgjd+q@F7S!jyle}wtmRhkVi>*6j3KJ*bIUa z<-U8e{9E%x%rBv|b`#|*C!sfA<-H5Z+EpvpH)UiYDihtf$OCrHFQy_FPLlu0d)4YL z56hh^p~1b9H>im6^&ua5iSCJb&DvT|Ro&;j$Pb<2YigH4`pzoiZGx=}t+XXFz=S z#YKyf90%rN!z~eY?<9J-KQ!ymS$5$i9Sg3?= z;KT1DoDW$65M0?Ld5BBpxH6j;A1=SLRVe6YA4i9e!6COvYr;Zuxw}_Lff&Yzq85-d zMnzT#ZCXsp&Oi%*lH?AKqIH-=tn0J4PP!26x~5mdAwDdQyoxpQE7gM`QF?&XMHXtt z;wqTw)tKT4$ZH63v%z>}A9O6kkUY)<*km%UdgMt7rBxEur>2l=#aTa;Wfmlr>*Bx$ z1_LItox7J+YNS@j(ku9|4G>Me`V&2xP?=YeTvL-~VEqv+k4Z~KC`z7YVV{C+E)xXJ z2Pq%T{ZmN}z8k`x?-|N`A1JbLO4;Kmjkff5u1cwhvEvF*@F(PbzBtcmrj{-rfd?->r#;n8S zf|271kzNHpfTQ(54o9?d8Are*a3pI1u}KW1aV`Ui42SBnmYA$)YUk5B!(G+j%-m-n zPpQ?L^h(Mi1hN&wM%05672Lc%o*e<^*Lgjqwe~S?9WK{jM+LoRr$cwe>ve&msW4k(Q5{`l3nes1W8W zw~qx8gr*`NbF9PU$J5##14Mci=BwpVwDZ+`*^UHKBR%$^WvoBjydGKLd>gq0RGZ6W;hZ+4^yab(nN|nwyI`dByi4_50MP zw2#BA<47P0AI8kG2eXgu*K3LLyzGBCNdsp2XvUlM7yLP2pRb7&-Z6M!Su)A}W)-X_< zWXZ1v{9wrTM`@KHA4mu|2yP$R`5@MAeke!sA(#b_$iWW*LMW?j4(9li0uId_!Rh4Q zUR$yTY4lKQ_qm2VN@3*s&lgnFnJ`*Y6{yunXhVvGh9aaYo2cYvytR!GGQ^hr7{ei{ zJzqGaZkC|ld9pe$+~^Iy}9|-$A`_s?)Fz7`Ej4C&Gr7n?dIc0(tH5WM`>nO zE3|NJ`e1q^tALLMk z`>@-6e7GO4Nwd;)_&|jNAE&@!)+auM#I%ZtR6cv(++W|=Hd2C$o$20@wmsf zMr)GEtSFP<$Ge21auv}0vRr^@rmKzYqZ#`WA6UiB&GkKKbh^G;-{0IbQ$5}*ZM3HN zfOT*PirEKi*}^Y|6cpfKreRo1+U;rA4|}tJF{bxU=535gtHx@=hvrP-K)=jBmRBo{ zlv}G<4gd@l!_{8WdiBFYET`YiuuooXPkjy5sYrDu&#!6>-SCTv8IN5%Q z4bjyV%k$`)%!v|%E%ev(#b{_6V#+yhIN9@$^TP1;ycx#DBKEn5$!T2oH~yL|I#u9Q ze9Rk>S~nf~516kH`hQ-_hncPpAeQQz^?a$Ol6Gd}Sdb52vJxQ{h|b3G3m=`)W`103 zOxmV@;iDak!(zY8SEJ)KPgm zV%6jAd2U)^qrMSrC#*NbK-fIItTyS?-Cdl~cHh$c-+Xv5Gs`UmOP*SbjSJADc zi6jBrpl;Yk*uYv7s0H+9b3r(CK{73<6i-S@;?>baN|}eHxyU-9;@>vf8@ zm;4w9g#^0dWcpZ{UJ4N{fkO{R2>}Niu%%F2q90572c%hFbgb`v?if+VPqFb9ghS%r z0eVIB?v592?5j7VK&Ga?&;&Lk0*ejGKGfX;0eP&IJL`_&U0bYanH}tYM|?wHgU#SW zfT&T>C@9$oR+|i9Y1eS%)3B7 zc4d}vIE$?xmB=>OSSYu7fqaw&ok+dF`D$F^TG@T)WHukR1v<$0$jm-2Rxvj| zH7cC>H52^@^txMb_I#!L)ZwtCjg5{8Tj%6A8|V$3xqSF1^#=KfTP97ruZWD|U}Yh{ z{~4jVd`vWMyN0ijJ*zrSE;vxFtO6Hv`OpXVN5XjSNX0_d#F*$CQ6)a+-4C9TkBP2~ zj~@KFdH?W-AF=U)!J5#8Zm*-)6K&PS$_Mk&F+yE(d$S}T z8YPlUq8BDz48}FS~M)?4SzMKk}G9PioU0~}E8{@`P9PhCa%p`5?O^C2a zcK+e!&?FzrE{R$Mmq<~}cRu+1a2Ny}6kevC=5I-jtTX+Rl*pDlS?b-^LMtQP){J5w zPS%C)?JDg@=~L(O;VfVSRaJRge2f;K$dmg%QG&surDdABLcqtt^{*#rTAwTCRrx23 z?a~;N0QzbHpJeBw)ZM0ay|4Tm2l}*l6>#W>u=L{J(UC}-YPqrl&Di%esHwqwqwj7| z%6;d)!`<}AzK{RzSCgWM8nvtL#t=w8 z3g|vX%C5qd@T;y(6N;z7afG6DX-XE2zFX08A;qnh<1>6fUj$-AuVtLxm8U6hLYLMY0w(ozuQ2}cUWi+9X(VOWsm$hw0A;}Uad^K=rDeMH4*HY3Z zZ2U+yXifQ`u0gmaIflgN7!!g7-^VeIGW_7%9p#$bCZO;+-ANTfe+w@%wi}g3{ z7M5{NbMyHaT-`2&kGbplAP!XP%ZJ%~Xxn%o)C1|~OrF1f=)TuBezbiha&)pM^%sF7 z_`8L%lOMxd4|o)~H?Z3@-!#FQ)fGY0*Ow0?^A(Q1sgjL3Q3)+v`omk(m69$5#~>d} zLr86cnu!}9Z~{I0Yj6yG^Xj}DA?LtE1P;5WX2i`JxI;xWxPYW^PZVzP>hp?R>}_Pe zs%^+M{?3P+NuiaCz%k56E&WG>!mq&$&<3uHz%gPUG7nV9_F%eq>nSZ4fn)G~kllGL z8REn2gM%!?Ubb0h=J*}-pxvB7{HBYs`O20DV?@OT zr`g8fqIorKeaXluAM!-luPS~@@Jk9^=)2(qP514}uw|*ISAxLucR5y201%P_AM*J$ z_#v42YW=V+=7>Xv?V*julrMdb{*@Mqh=Ma>ZELvV*$eBvVA;eaR}q#-(p;wPbHy(q zI3IRPmkhFGGriI?8Q(Am2fsrEY&`*}*dVVI<+_IhkTy9-8qWd~Nf2bK-Diz0wjkk* z4^gn*ud2%JoaZol#KdC^lnv)sQC&nFszWQ0DAiS4XF)+!a}FpBs>#eDDhN@x51+soW6wcp{K<@+3VZiKUS}_FFl3$X6zrqZfeBuFB1+~s z^h11YfWS)%s0RWyzpv}xl(rqhHq9=bq*nBEO+;;vqcP`Ww8&SH>3n<@qK*pr^Wj7D z)z=?>K77ax)V&_lz8`EGkx48`3Z9=*n%lrH8!>T%q*@r@BYbeuP9E3MHh0?t33id( zq$Ff^^7RMExGewT$e9y2@n?dA|Imu-)O?sn$MxL#Mkj7=0kAtwf?_&o7c;F3b7jV+usBJ?bOT!0)jkxY>p+9kD zF>$$-CC_eRb-#Kc!N!{5<$l%q&`DaQB$E=lghK^QW~d;}0xBpMgF_r3l$752sC63@^PW!%@!-z$L#W#T2Or0r`+`Ewy!SmcFD01HLWFn zq42HRQ?opUTcNf)o+9comL4qHm#f|^)De>uj-fmgonu&R){?X)GK0e$;(zvlj!VLV ze1Jd?#Wd$?;4CaRNP4D-$RgQ;pb&yqEr4#1nfQ*HH zu=vGBOt%``!|F&c%g`w1iVjZ^yjc;h)=$*QDFkoZ?9Nv$bUy^&jVx97g>;CKu)H)OZevB`+ diff --git a/docs/latex/wx/helpinst.tex b/docs/latex/wx/helpinst.tex deleted file mode 100644 index 40d2fafefa..0000000000 --- a/docs/latex/wx/helpinst.tex +++ /dev/null @@ -1,122 +0,0 @@ -\section{\class{wxHelpControllerBase}}\label{wxhelpcontrollerbase} - -This class defines the interface by which -applications may invoke a help viewer to provide on-line help. - -Other classes derive from this class to provide actual implementations -of help controllers. - -A help controller allows an application to display help, at the contents -or at a particular topic, and shut the help program down on termination. -This avoids proliferation of many instances of the help viewer whenever the -user requests a different topic via the application's menus or buttons. - -Typically, an application will create a help controller instance -when it starts, and immediately call {\bf Initialize}\rtfsp -to associate a filename with it. The help viewer will only get run, however, -just before the first call to display something. - -\wxheading{Derivation} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxWinHelpController}{wxwinhelpcontroller} - -\wxheading{Include file} - -{\tt } (for just wxHelpControllerBase) - -{\tt } (to include the platform-specific controller, e.g. wxWinHelpController) - - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxHelpControllerBase::wxHelpControllerBase} - -\func{}{wxHelpControllerBase}{\void} - -Constructs a help instance object, but does not invoke the help viewer. - -\membersection{wxHelpControllerBase::\destruct{wxHelpControllerBase}} - -\func{}{\destruct{wxHelpControllerBase}}{\void} - -Destroys the help instance, closing down the viewer if it is running. - -\membersection{wxHelpControllerBase::Initialize}\label{wxhelpcontrollerbaseinitialize} - -\func{virtual void}{Initialize}{\param{const wxString\& }{file}} - -\func{virtual void}{Initialize}{\param{const wxString\& }{file}, \param{int}{ server}} - -Initializes the help instance with a help filename, and optionally a server (socket) -number. Does not invoke the help viewer. -This must be called directly after the help instance object is created and before -any attempts to communicate with the viewer. - -You may omit the file extension and a suitable one will be chosen. - -\membersection{wxHelpControllerBase::DisplayBlock}\label{wxhelpcontrollerbasedisplayblock} - -\func{virtual bool}{DisplayBlock}{\param{long}{ blockNo}} - -If the help viewer is not running, runs it and displays the file at the given block number. -The interpretation of {\it blockNo} differs between help viewers. If using Windows Help, this -refers to the context number. If wxHelp, this is the wxHelp block number. - -\membersection{wxHelpControllerBase::DisplayContents}\label{wxhelpcontrollerbasedisplaycontents} - -\func{virtual bool}{DisplayContents}{\void} - -If the help viewer is not running, runs it and displays the -contents. - -\membersection{wxHelpControllerBase::DisplaySection}\label{wxhelpcontrollerbasedisplaysection} - -\func{virtual bool}{DisplaySection}{\param{int}{ sectionNo}} - -If the help viewer is not running, runs it and displays the given section. -Sections are numbered starting from 1. - -For wxHelp, section numbers may be viewed by running wxHelp in edit mode. - -DisplaySection does not apply to WinHelp. - -\membersection{wxHelpControllerBase::KeywordSearch}\label{wxhelpcontrollerbasekeywordsearch} - -\func{virtual bool}{KeywordSearch}{\param{const wxString\& }{keyWord}} - -If the help viewer is not running, runs it, and searches for sections matching the given keyword. If one -match is found, the file is displayed at this section. If more than one -match is found, the Search dialog is displayed with the matches (wxHelp) -or the first topic is displayed (Windows Help). - -\membersection{wxHelpControllerBase::LoadFile}\label{wxhelpcontrollerbaseloadfile} - -\func{virtual bool}{LoadFile}{\param{const wxString\& }{file = NULL}} - -If the help viewer is not running, runs it and loads the given file. -If the filename is not supplied or is -NULL, the file specified in {\bf Initialize} is used. If the viewer is -already displaying the specified file, it will not be reloaded. This -member function may be used before each display call in case the user -has opened another file. - -\membersection{wxHelpControllerBase::OnQuit}\label{wxhelpcontrollerbaseonquit} - -\func{virtual bool}{OnQuit}{\void} - -Overridable member called when this application's viewer is quit by the user. - -This only works for wxXLPHelpController. - -\membersection{wxHelpControllerBase::Quit}\label{wxhelpcontrollerbasequit} - -\func{virtual bool}{Quit}{\void} - -If the viewer is running, quits it by disconnecting. - -For Windows Help, the viewer will only close if no other application is using it. - diff --git a/docs/latex/wx/icon.tex b/docs/latex/wx/icon.tex deleted file mode 100644 index 3e1df35864..0000000000 --- a/docs/latex/wx/icon.tex +++ /dev/null @@ -1,397 +0,0 @@ -\section{\class{wxIcon}}\label{wxicon} - -An icon is a small rectangular bitmap usually used for denoting a -minimized application. - -\wxheading{Remarks} - -It is optional (but desirable) to associate a -pertinent icon with a frame. Obviously icons in X and MS Windows are -created in a different manner, and colour icons in X are difficult -to arrange. Therefore, separate icons will be created for the different -environments. Platform-specific methods for creating a {\bf wxIcon}\rtfsp -structure are catered for, and this is an occasion where conditional -compilation will probably be required. - -Note that a new icon must be created for every time the icon is to be -used for a new window. In X, this will ensure that fresh X resources -are allocated for this frame. In MS Windows, the icon will not be -reloaded if it has already been used. An icon allocated to a frame will -be deleted when the frame is deleted. - -The following shows the conditional compilation required to define an -icon in X and in MS Windows. The alternative is to use the string -version of the icon constructor, which loads a file under X and a -resource under MS Windows, but has the disadvantage of requiring the -X icon file to be available at run-time. - -\begin{verbatim} -#ifdef wx_x -#include "aiai.xbm" -#endif -#ifdef wx_msw - wxIcon *icon = new wxIcon("aiai"); -#endif -#ifdef wx_x - wxIcon *icon = new wxIcon(aiai_bits, aiai_width, aiai_height); -#endif -\end{verbatim} - -\wxheading{Derived from} - -\helpref{wxBitmap}{wxbitmap}\\ -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxIcon overview}{wxiconoverview}, \helpref{wxDC::DrawIcon}{wxdcdrawicon}, \helpref{wxCursor}{wxcursor} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxIcon::wxIcon}\label{wxiconconstr} - -\func{}{wxIcon}{\void} - -Default constructor. - -\func{}{wxIcon}{\param{const wxIcon\& }{icon}} - -\func{}{wxIcon}{\param{const wxIcon* }{icon}} - -Copy constructors. - -\func{}{wxIcon}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates an icon from the given data, which can be of arbitrary type. - -\func{}{wxIcon}{\param{const char}{ bits[]}, \param{int}{ width}, \param{int}{ height}\\ - \param{int}{ depth = 1}} - -Creates an icon from an array of bits. - -\func{}{wxIcon}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a new icon. - -\func{}{wxIcon}{\param{const char**}{ bits}} - -Creates an icon from XPM data. - -\func{}{wxIcon}{\param{const wxString\& }{name}, \param{long}{ type}} - -Loads an icon from a file or resource. - -\wxheading{Parameters} - -\docparam{bits}{Specifies an array of pixel values.} - -\docparam{width}{Specifies the width of the icon.} - -\docparam{height}{Specifies the height of the icon.} - -\docparam{depth}{Specifies the depth of the icon. If this is omitted, the display depth of the -screen is used.} - -\docparam{name}{This can refer to a resource name under MS Windows, or a filename under MS Windows and X. -Its meaning is determined by the {\it flags} parameter.} - -\docparam{type}{May be one of the following: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_ICO}}}{Load a Windows icon file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_ICO\_RESOURCE}}}{Load a Windows icon from the resource database.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_GIF}}}{Load a GIF bitmap file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_XBM}}}{Load an X bitmap file.} -\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_XPM}}}{Load an XPM bitmap file.} -%\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_RESOURCE}}}{Load a Windows resource name.} -\end{twocollist} - -The validity of these flags depends on the platform and wxWindows configuration. -If all possible wxWindows settings are used, the Windows platform supports ICO, ICO\_RESOURCE, -XPM\_DATA, and XPM. Under X, the available formats are BMP, GIF, XBM, and XPM.} - -\wxheading{Remarks} - -The first form constructs an icon object with no data; an assignment or another member function such as Create -or LoadFile must be called subsequently. - -The second and third forms provide copy constructors. Note that these do not copy the -icon data, but instead a pointer to the data, keeping a reference count. They are therefore -very efficient operations. - -The fourth form constructs an icon from data whose type and value depends on -the value of the {\it type} argument. - -The fifth form constructs a (usually monochrome) icon from an array of pixel values, under both -X and Windows. - -The sixth form constructs a new icon. - -The seventh form constructs an icon from pixmap (XPM) data, if wxWindows has been configured -to incorporate this feature. - -To use this constructor, you must first include an XPM file. For -example, assuming that the file {\tt mybitmap.xpm} contains an XPM array -of character pointers called mybitmap: - -\begin{verbatim} -#include "mybitmap.xpm" - -... - -wxIcon *icon = new wxIcon(mybitmap); -\end{verbatim} - -The eighth form constructs an icon from a file or resource. {\it name} can refer -to a resource name under MS Windows, or a filename under MS Windows and X. - -Under Windows, {\it type} defaults to wxBITMAP\_TYPE\_ICO\_RESOURCE. -Under X, {\it type} defaults to wxBITMAP\_TYPE\_XBM. - -\wxheading{See also} - -\helpref{wxIcon::LoadFile}{wxiconloadfile} - -\membersection{wxIcon::\destruct{wxIcon}} - -\func{}{\destruct{wxIcon}}{\void} - -Destroys the wxIcon object and possibly the underlying icon data. -Because reference counting is used, the icon may not actually be -destroyed at this point - only when the reference count is zero will the -data be deleted. - -If the application omits to delete the icon explicitly, the icon will be -destroyed automatically by wxWindows when the application exits. - -Do not delete an icon that is selected into a memory device context. - -\begin{comment} -\membersection{wxIcon::Create}\label{wxiconcreate} - -\func{virtual bool}{Create}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates a fresh icon. If the final argument is omitted, the display depth of -the screen is used. - -\func{virtual bool}{Create}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}} - -Creates an icon from the given data, which can be of arbitrary type. - -\wxheading{Parameters} - -\docparam{width}{The width of the icon in pixels.} - -\docparam{height}{The height of the icon in pixels.} - -\docparam{depth}{The depth of the icon in pixels. If this is -1, the screen depth is used.} - -\docparam{data}{Data whose type depends on the value of {\it type}.} - -\docparam{type}{An icon type identifier - see \helpref{wxIcon::wxIcon}{wxiconconstr} for a list -of possible values.} - -\wxheading{Return value} - -TRUE if the call succeeded, FALSE otherwise. - -\wxheading{Remarks} - -The first form works on all platforms. The portability of the second form depends on the -type of data. - -\wxheading{See also} - -\helpref{wxIcon::wxIcon}{wxiconconstr} - -\end{comment} - -\membersection{wxIcon::GetDepth} - -\constfunc{int}{GetDepth}{\void} - -Gets the colour depth of the icon. A value of 1 indicates a -monochrome icon. - -\membersection{wxIcon::GetHeight}\label{wxicongetheight} - -\constfunc{int}{GetHeight}{\void} - -Gets the height of the icon in pixels. - -\membersection{wxIcon::GetWidth}\label{wxicongetwidth} - -\constfunc{int}{GetWidth}{\void} - -Gets the width of the icon in pixels. - -\wxheading{See also} - -\helpref{wxIcon::GetHeight}{wxicongetheight} - -\membersection{wxIcon::LoadFile}\label{wxiconloadfile} - -\func{bool}{LoadFile}{\param{const wxString\&}{ name}, \param{long}{ type}} - -Loads an icon from a file or resource. - -\wxheading{Parameters} - -\docparam{name}{Either a filename or a Windows resource name. -The meaning of {\it name} is determined by the {\it type} parameter.} - -\docparam{type}{One of the following values: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf wxBITMAP\_TYPE\_ICO}}{Load a Windows icon file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_ICO\_RESOURCE}}{Load a Windows icon from the resource database.} -\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.} -\end{twocollist} - -The validity of these flags depends on the platform and wxWindows configuration.} - -\wxheading{Return value} - -TRUE if the operation succeeded, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxIcon::wxIcon}{wxiconconstr} - -\membersection{wxIcon::Ok}\label{wxiconok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if icon data is present. - -\begin{comment} -\membersection{wxIcon::SaveFile}\label{wxiconsavefile} - -\func{bool}{SaveFile}{\param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}} - -Saves an icon in the named file. - -\wxheading{Parameters} - -\docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.} - -\docparam{type}{One of the following values: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf wxBITMAP\_TYPE\_ICO}}{Save a Windows icon file.} -%\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Save a GIF icon file.} -%\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Save an X bitmap file.} -\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.} -\end{twocollist} - -The validity of these flags depends on the platform and wxWindows configuration.} - -\docparam{palette}{An optional palette used for saving the icon. TODO: this parameter should -probably be eliminated; instead the app should set the palette before saving.} - -\wxheading{Return value} - -TRUE if the operation succeeded, FALSE otherwise. - -\wxheading{Remarks} - -Depending on how wxWindows has been configured, not all formats may be available. - -\wxheading{See also} - -\helpref{wxIcon::LoadFile}{wxiconloadfile} -\end{comment} - -\membersection{wxIcon::SetDepth}\label{wxiconsetdepth} - -\func{void}{SetDepth}{\param{int }{depth}} - -Sets the depth member (does not affect the icon data). - -\wxheading{Parameters} - -\docparam{depth}{Icon depth.} - -\membersection{wxIcon::SetHeight}\label{wxiconsetheight} - -\func{void}{SetHeight}{\param{int }{height}} - -Sets the height member (does not affect the icon data). - -\wxheading{Parameters} - -\docparam{height}{Icon height in pixels.} - -\membersection{wxIcon::SetOk} - -\func{void}{SetOk}{\param{int }{isOk}} - -Sets the validity member (does not affect the icon data). - -\wxheading{Parameters} - -\docparam{isOk}{Validity flag.} - -\membersection{wxIcon::SetWidth} - -\func{void}{SetWidth}{\param{int }{width}} - -Sets the width member (does not affect the icon data). - -\wxheading{Parameters} - -\docparam{width}{Icon width in pixels.} - -\membersection{wxIcon::operator $=$} - -\func{wxIcon\& }{operator $=$}{\param{const wxIcon\& }{icon}} - -Assignment operator. This operator does not copy any data, but instead -passes a pointer to the data in {\it icon} and increments a reference -counter. It is a fast operation. - -\wxheading{Parameters} - -\docparam{icon}{Icon to assign.} - -\wxheading{Return value} - -Returns 'this' object. - -\membersection{wxIcon::operator $==$} - -\func{bool}{operator $==$}{\param{const wxIcon\& }{icon}} - -Equality operator. This operator tests whether the internal data pointers are -equal (a fast test). - -\wxheading{Parameters} - -\docparam{icon}{Icon to compare with 'this'} - -\wxheading{Return value} - -Returns TRUE if the icons were effectively equal, FALSE otherwise. - -\membersection{wxIcon::operator $!=$} - -\func{bool}{operator $!=$}{\param{const wxIcon\& }{icon}} - -Inequality operator. This operator tests whether the internal data pointers are -unequal (a fast test). - -\wxheading{Parameters} - -\docparam{icon}{Icon to compare with 'this'} - -\wxheading{Return value} - -Returns TRUE if the icons were unequal, FALSE otherwise. - - diff --git a/docs/latex/wx/idleevt.tex b/docs/latex/wx/idleevt.tex deleted file mode 100644 index 8cd51fe633..0000000000 --- a/docs/latex/wx/idleevt.tex +++ /dev/null @@ -1,59 +0,0 @@ -\section{\class{wxIdleEvent}}\label{wxidleevent} - -This class is used for idle events, which are generated when the system is idle. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process an idle event, use this event handler macro to direct input to a member -function that takes a wxIdleEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_IDLE(func)}}{Process a wxEVT\_IDLE event.} -\end{twocollist}% - -\wxheading{Remarks} - -Idle events can be caught by the wxApp class, or by top-level window classes. - -\wxheading{See also} - -\helpref{wxApp::OnIdle}{wxapponidle}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxIdleEvent::wxIdleEvent} - -\func{}{wxIdleEvent}{\void} - -Constructor. - -\membersection{wxIdleEvent::RequestMore}\label{wxidleeventrequestmore} - -\func{void}{RequestMore}{\param{bool}{ needMore = TRUE}} - -Tells wxWindows that more processing is required. This function can be called by an OnIdle -handler for a window or window event handler to indicate that wxApp::OnIdle should -forward the OnIdle event once more to the application windows. If no window calls this function -during OnIdle, then the application will remain in a passive event loop (not calling OnIdle) until a -new event is posted to the application by the windowing system. - -\wxheading{See also} - -\helpref{wxIdleEvent::MoreRequested}{wxidleeventmorerequested}, \helpref{wxApp::OnIdle}{wxapponidle} - -\membersection{wxIdleEvent::MoreRequested}\label{wxidleeventmorerequested} - -\constfunc{bool}{MoreRequested}{\void} - -Returns TRUE if the OnIdle function processing this event requested more processing time. - -\wxheading{See also} - -\helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}, \helpref{wxApp::OnIdle}{wxapponidle} - diff --git a/docs/latex/wx/ilayout.tex b/docs/latex/wx/ilayout.tex deleted file mode 100644 index 5ac17df12d..0000000000 --- a/docs/latex/wx/ilayout.tex +++ /dev/null @@ -1,133 +0,0 @@ -\section{\class{wxIndividualLayoutConstraint}}\label{wxindividuallayoutconstraint} - -Objects of this class are stored in the wxIndividualLayoutConstraint class -as one of eight possible constraints that a window can be involved in. - -Constraints are initially set to have the relationship wxUnconstrained, -which means that their values should be calculated by looking at known constraints. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Overview and examples}{constraintsoverview},\rtfsp -\helpref{wxLayoutConstraints}{wxlayoutconstraints}, \helpref{wxWindow::SetConstraints}{wxwindowsetconstraints}. - -\latexignore{\rtfignore{\wxheading{Members}}} - -\subsection{Edges and relationships} - -TODO: put this in a different section. - -The {\it wxEdge}\index{wxEdge} enumerated type specifies the type of edge or dimension of a window. - -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLeft}{The left edge.} -\twocolitem{wxTop}{The top edge.} -\twocolitem{wxRight}{The right edge.} -\twocolitem{wxBottom}{The bottom edge.} -\twocolitem{wxCentreX}{The x-coordinate of the centre of the window.} -\twocolitem{wxCentreY}{The y-coordinate of the centre of the window.} -\end{twocollist} - -The {\it wxRelationship}\index{wxRelationship} enumerated type specifies the relationship that -this edge or dimension has with another specified edge or dimension. Normally, the user -doesn't use these directly because functions such as {\it Below} and {\it RightOf} are a convenience -for using the more general {\it Set} function. - -\begin{twocollist}\itemsep=0pt -\twocolitem{wxUnconstrained}{The edge or dimension is unconstrained (the default for edges.} -\twocolitem{wxAsIs}{The edge or dimension is to be taken from the current window position or size (the -default for dimensions.} -\twocolitem{wxAbove}{The edge should be above another edge.} -\twocolitem{wxBelow}{The edge should be below another edge.} -\twocolitem{wxLeftOf}{The edge should be to the left of another edge.} -\twocolitem{wxRightOf}{The edge should be to the right of another edge.} -\twocolitem{wxSameAs}{The edge or dimension should be the same as another edge or dimension.} -\twocolitem{wxPercentOf}{The edge or dimension should be a percentage of another edge or dimension.} -\twocolitem{wxAbsolute}{The edge or dimension should be a given absolute value.} -\end{twocollist} - -\membersection{wxIndividualLayoutConstraint::wxIndividualLayoutConstraint} - -\func{void}{wxIndividualLayoutConstraint}{\void} - -Constructor. Not used by the end-user. - -\membersection{wxIndividualLayoutConstraint::Above} - -\func{void}{Above}{\param{wxWindow *}{otherWin}, \param{int}{ margin = 0}} - -Constrains this edge to be above the given window, with an -optional margin. Implicitly, this is relative to the top edge of the other window. - -\membersection{wxIndividualLayoutConstraint::Absolute} - -\func{void}{Absolute}{\param{int}{ value}} - -Constrains this edge or dimension to be the given absolute value. - -\membersection{wxIndividualLayoutConstraint::AsIs} - -\func{void}{AsIs}{\void} - -Sets this edge or constraint to be whatever the window's value is -at the moment. If either of the width and height constraints -are {\it as is}, the window will not be resized, but moved instead. -This is important when considering panel items which are intended -to have a default size, such as a button, which may take its size -from the size of the button label. - -\membersection{wxIndividualLayoutConstraint::Below} - -\func{void}{Below}{\param{wxWindow *}{otherWin}, \param{int}{ margin = 0}} - -Constrains this edge to be below the given window, with an -optional margin. Implicitly, this is relative to the bottom edge of the other window. - -\membersection{wxIndividualLayoutConstraint::Unconstrained} - -\func{void}{Unconstrained}{\void} - -Sets this edge or dimension to be unconstrained, that is, dependent on -other edges and dimensions from which this value can be deduced. - -\membersection{wxIndividualLayoutConstraint::LeftOf} - -\func{void}{LeftOf}{\param{wxWindow *}{otherWin}, \param{int}{ margin = 0}} - -Constrains this edge to be to the left of the given window, with an -optional margin. Implicitly, this is relative to the left edge of the other window. - -\membersection{wxIndividualLayoutConstraint::PercentOf} - -\func{void}{PercentOf}{\param{wxWindow *}{otherWin}, \param{wxEdge}{ edge}, \param{int}{ margin = 0}} - -Constrains this edge or dimension to be to a percentage of the given window, with an -optional margin. - -\membersection{wxIndividualLayoutConstraint::RightOf} - -\func{void}{RightOf}{\param{wxWindow *}{otherWin}, \param{int}{ margin = 0}} - -Constrains this edge to be to the right of the given window, with an -optional margin. Implicitly, this is relative to the right edge of the other window. - -\membersection{wxIndividualLayoutConstraint::SameAs} - -\func{void}{SameAs}{\param{wxWindow *}{otherWin}, \param{wxEdge}{ edge}, \param{int}{ margin = 0}} - -Constrains this edge or dimension to be to the same as the edge of the given window, with an -optional margin. - -\membersection{wxIndividualLayoutConstraint::Set} - -\func{void}{Set}{\param{wxRelationship}{ rel}, \param{wxWindow *}{otherWin}, \param{wxEdge}{ otherEdge}, - \param{int}{ value = 0}, \param{int}{ margin = 0}} - -Sets the properties of the constraint. Normally called by one of the convenience -functions such as Above, RightOf, SameAs. - - diff --git a/docs/latex/wx/imaglist.tex b/docs/latex/wx/imaglist.tex deleted file mode 100644 index a1f79912d9..0000000000 --- a/docs/latex/wx/imaglist.tex +++ /dev/null @@ -1,160 +0,0 @@ -\section{\class{wxImageList}}\label{wximagelist} - -A wxImageList contains a list of images, which are stored in -an unspecified form. Images can have masks for transparent -drawing, and can be made from a variety of sources including bitmaps -and icons. - -wxImageList is used principally in conjunction with \helpref{wxTreeCtrl}{wxtreectrl} and -\rtfsp\helpref{wxListCtrl}{wxlistctrl} classes. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxTreeCtrl}{wxtreectrl}, \helpref{wxListCtrl}{wxlistctrl} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxImageList::wxImageList}\label{wximagelistconstr} - -\func{}{wxImageList}{\void} - -Default constructor. - -\func{}{wxImageList}{\param{int }{width}, \param{int }{height}, \param{const bool }{mask = TRUE},\rtfsp -\param{int }{initialCount = 1}} - -Constructor specifying the image size, whether image masks should be created, and the initial size of the list. - -\wxheading{Parameters} - -\docparam{width}{Width of the images in the list.} - -\docparam{height}{Height of the images in the list.} - -\docparam{mask}{TRUE if masks should be created for all images.} - -\docparam{initialCount}{The initial size of the list.} - -\wxheading{See also} - -\helpref{wxImageList::Create}{wximagelistcreate} - -\membersection{wxImageList::Add}\label{wximagelistadd} - -\func{int}{Add}{\param{const wxBitmap\&}{ bitmap}, \param{const wxBitmap\&}{ mask = wxNullBitmap}} - -Adds a new image using a bitmap and optional mask bitmap. - -\func{int}{Add}{\param{const wxBitmap\&}{ bitmap}, \param{const wxColour\&}{ maskColour}} - -Adds a new image using a bitmap and mask colour. - -\func{int}{Add}{\param{const wxIcon\&}{ icon}} - -Adds a new image using an icon. - -\wxheading{Parameters} - -\docparam{bitmap}{Bitmap representing the opaque areas of the image.} - -\docparam{mask}{Monochrome mask bitmap, representing the transparent areas of the image.} - -\docparam{maskColour}{Colour indicating which parts of the image are transparent.} - -\docparam{icon}{Icon to use as the image.} - -\wxheading{Return value} - -The new zero-based image index. - -\wxheading{Remarks} - -The original bitmap or icon is not affected by the {\bf Add} operation, and can be deleted afterwards. - -\membersection{wxImageList::Create}\label{wximagelistcreate} - -\func{bool}{Create}{\param{int }{width}, \param{int }{height}, \param{const bool }{mask = TRUE},\rtfsp -\param{int }{initialCount = 1}} - -Initializes the list. See \helpref{wxImageList::wxImageList}{wximagelistconstr} for details. - -\membersection{wxImageList::Draw}\label{wximagelistdraw} - -\func{bool}{Draw}{\param{int}{ index}, \param{wxDC\&}{ dc}, \param{int }{x},\rtfsp -\param{int }{x}, \param{int }{flags = wxIMAGELIST\_DRAW\_NORMAL},\rtfsp -\param{const bool }{solidBackground = FALSE}} - -Draws a specified image onto a device context. - -\wxheading{Parameters} - -\docparam{index}{Image index, starting from zero.} - -\docparam{dc}{Device context to draw on.} - -\docparam{x}{X position on the device context.} - -\docparam{y}{Y position on the device context.} - -\docparam{flags}{How to draw the image. A bitlist of a selection of the following: - -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxIMAGELIST\_DRAW\_NORMAL}}{Draw the image normally.} -\twocolitem{{\bf wxIMAGELIST\_DRAW\_TRANSPARENT}}{Draw the image with transparency.} -\twocolitem{{\bf wxIMAGELIST\_DRAW\_SELECTED}}{Draw the image in selected state.} -\twocolitem{{\bf wxIMAGELIST\_DRAW\_FOCUSED}}{Draw the image in a focussed state.} -\end{twocollist} -} - -\docparam{solidBackground}{For optimisation - drawing can be faster if the function is told -that the background is solid.} - -\membersection{wxImageList::GetImageCount}\label{wximagelistgetimagecount} - -\constfunc{int}{GetImageCount}{\void} - -Returns the number of images in the list. - -\membersection{wxImageList::Remove}\label{wximagelistremove} - -\func{bool}{Remove}{\param{int}{ index}} - -Removes the image at the given position. - -\membersection{wxImageList::RemoveAll}\label{wximagelistremoveall} - -\func{bool}{RemoveAll}{\void} - -Removes all the images in the list. - -\membersection{wxImageList::Replace}\label{wximagelistreplace} - -\func{bool}{Replace}{\param{int}{ index}, \param{const wxBitmap\&}{ bitmap}, \param{const wxBitmap\&}{ mask = wxNullBitmap}} - -Replaces the existing image with the new image. - -\func{bool}{Replace}{\param{int}{ index}, \param{const wxIcon\&}{ icon}} - -Replaces the existing image with the new image. - -\wxheading{Parameters} - -\docparam{bitmap}{Bitmap representing the opaque areas of the image.} - -\docparam{mask}{Monochrome mask bitmap, representing the transparent areas of the image.} - -\docparam{icon}{Icon to use as the image.} - -\wxheading{Return value} - -TRUE if the replacement was successful, FALSE otherwise. - -\wxheading{Remarks} - -The original bitmap or icon is not affected by the {\bf Replace} operation, and can be deleted afterwards. - - diff --git a/docs/latex/wx/indlgevt.tex b/docs/latex/wx/indlgevt.tex deleted file mode 100644 index 067cf580ab..0000000000 --- a/docs/latex/wx/indlgevt.tex +++ /dev/null @@ -1,34 +0,0 @@ -\section{\class{wxInitDialogEvent}}\label{wxinitdialogevent} - -A wxInitDialogEvent is sent as a dialog or panel is being initialised. -Handlers for this event can transfer data to the window. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process an activate event, use these event handler macros to direct input to a member -function that takes a wxInitDialogEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_INIT\_DIALOG(func)}}{Process a wxEVT\_INIT\_DIALOG event.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnInitDialog}{wxwindowoninitdialog},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxInitDialogEvent::wxInitDialogEvent} - -\func{}{wxInitDialogEvent}{\param{int }{id = 0}} - -Constructor. - - diff --git a/docs/latex/wx/joyevent.tex b/docs/latex/wx/joyevent.tex deleted file mode 100644 index f8da76cf65..0000000000 --- a/docs/latex/wx/joyevent.tex +++ /dev/null @@ -1,118 +0,0 @@ -\section{\class{wxJoystickEvent}}\label{wxjoystickevent} - -This event class contains information about mouse events, particularly -events received by windows. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent} - -\wxheading{Event table macros} - -To process a mouse event, use these event handler macros to direct input to member -functions that take a wxJoystickEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_JOY\_BUTTON\_DOWN(func)}}{Process a wxEVT\_JOY\_BUTTON\_DOWN event.} -\twocolitem{{\bf EVT\_JOY\_BUTTON\_UP(func)}}{Process a wxEVT\_JOY\_BUTTON\_UP event.} -\twocolitem{{\bf EVT\_JOY\_MOVE(func)}}{Process a wxEVT\_JOY\_MOVE event.} -\twocolitem{{\bf EVT\_JOY\_ZMOVE(func)}}{Process a wxEVT\_JOY\_ZMOVE event.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxJoystick}{wxjoystick} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxJoystickEvent::wxJoystickEvent} - -\func{}{wxJoystickEvent}{\param{WXTYPE}{ eventType = 0}, \param{int}{ state = 0}, - \param{int}{ joystick = wxJOYSTICK1}, \param{int }{change = 0}} - -Constructor. - -\membersection{wxJoystickEvent::ButtonDown}\label{wxjoystickeventbuttondown} - -\constfunc{bool}{ButtonDown}{\param{int}{ button = wxJOY\_BUTTON\_ANY}} - -Returns TRUE if the event was a down event from the specified button (or any button). - -\wxheading{Parameters} - -\docparam{button}{Can be wxJOY\_BUTTONn where n is 1, 2, 3 or 4; or wxJOY\_BUTTON\_ANY to -indicate any button down event.} - -\membersection{wxJoystickEvent::ButtonIsDown}\label{wxjoystickeventbuttonisdown} - -\constfunc{bool}{ButtonIsDown}{\param{int}{ button = wxJOY\_BUTTON\_ANY}} - -Returns TRUE if the specified button (or any button) was in a down state. - -\wxheading{Parameters} - -\docparam{button}{Can be wxJOY\_BUTTONn where n is 1, 2, 3 or 4; or wxJOY\_BUTTON\_ANY to -indicate any button down event.} - -\membersection{wxJoystickEvent::ButtonUp}\label{wxjoystickeventbuttonup} - -\constfunc{bool}{ButtonUp}{\param{int}{ button = wxJOY\_BUTTON\_ANY}} - -Returns TRUE if the event was an up event from the specified button (or any button). - -\wxheading{Parameters} - -\docparam{button}{Can be wxJOY\_BUTTONn where n is 1, 2, 3 or 4; or wxJOY\_BUTTON\_ANY to -indicate any button down event.} - -\membersection{wxJoystickEvent::GetButtonChange}\label{wxjoystickeventgetbuttonchange} - -\constfunc{int}{GetButtonChange}{\void} - -Returns the identifier of the button changing state. This is a wxJOY\_BUTTONn identifier, where -n is one of 1, 2, 3, 4. - -\membersection{wxJoystickEvent::GetButtonState}\label{wxjoystickeventgetbuttonstate} - -\constfunc{int}{GetButtonState}{\void} - -Returns the down state of the buttons. This is a bitlist of wxJOY\_BUTTONn identifiers, where -n is one of 1, 2, 3, 4. - -\membersection{wxJoystickEvent::GetJoystick}\label{wxjoystickeventgetjoystick} - -\constfunc{int}{GetJoystick}{\void} - -Returns the identifier of the joystick generating the event - one of wxJOYSTICK1 and wxJOYSTICK2. - -\membersection{wxJoystickEvent::GetPosition}\label{wxjoystickeventgetposition} - -\constfunc{wxPoint}{GetPosition}{\void} - -Returns the x, y position of the joystick event. - -\membersection{wxJoystickEvent::GetZPosition}\label{wxjoystickeventgetzposition} - -\constfunc{int}{GetZPosition}{\void} - -Returns the z position of the joystick event. - -\membersection{wxJoystickEvent::IsButton}\label{wxjoystickeventisbutton} - -\constfunc{bool}{IsButton}{\void} - -Returns TRUE if this was a button up or down event ({\it not} 'is any button down?'). - -\membersection{wxJoystickEvent::IsMove}\label{wxjoystickeventismove} - -\constfunc{bool}{IsMove}{\void} - -Returns TRUE if this was an x, y move event. - -\membersection{wxJoystickEvent::IsZMove}\label{wxjoystickeventiszmove} - -\constfunc{bool}{IsZMove}{\void} - -Returns TRUE if this was a z move event. - diff --git a/docs/latex/wx/joystick.tex b/docs/latex/wx/joystick.tex deleted file mode 100644 index 338f11668f..0000000000 --- a/docs/latex/wx/joystick.tex +++ /dev/null @@ -1,294 +0,0 @@ -\section{\class{wxJoystick}}\label{wxjoystick} - -wxJoystick allows an application to control one or more joysticks. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxJoystickEvent}{wxjoystickevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxJoystick::wxJoystick}\label{wxjoystickconstr} - -\func{}{wxJoystick}{\param{int}{ joystick = wxJOYSTICK1}} - -Constructor. {\it joystick} may be one of wxJOYSTICK1, wxJOYSTICK2, indicating the joystick -controller of interest. - -\membersection{wxJoystick::\destruct{wxJoystick}} - -\func{}{\destruct{wxJoystick}}{\void} - -Destroys the wxJoystick object. - -\membersection{wxJoystick::GetButtonState}\label{wxjoystickgetbuttonstate} - -\constfunc{int}{GetButtonState}{\void} - -Returns the state of the joystick buttons. A bitlist of wxJOY\_BUTTONn identifiers, -where n is 1, 2, 3 or 4. - -\membersection{wxJoystick::GetManufacturerId}\label{wxjoystickgetmanufacturerid} - -\constfunc{int}{GetManufacturerId}{\void} - -Returns the manufacturer id. - -\membersection{wxJoystick::GetMovementThreshold}\label{wxjoystickgetmovementthreshold} - -\constfunc{int}{GetMovementThreshold}{\void} - -Returns the movement threshold, the number of steps outside which the joystick is deemed to have -moved. - -\membersection{wxJoystick::GetNumberAxes}\label{wxjoystickgetnumberaxes} - -\constfunc{int}{GetNumberAxes}{\void} - -Returns the number of axes for this joystick. - -\membersection{wxJoystick::GetNumberButtons}\label{wxjoystickgetnumberbuttons} - -\constfunc{int}{GetNumberButtons}{\void} - -Returns the number of buttons for this joystick. - -\membersection{wxJoystick::GetNumberJoysticks}\label{wxjoystickgetnumberjoysticks} - -\constfunc{int}{GetNumberJoysticks}{\void} - -Returns the number of joysticks currently attached to the computer. - -\membersection{wxJoystick::GetPollingMax}\label{wxjoystickgetpollingmax} - -\constfunc{int}{GetPollingMax}{\void} - -Returns the maximum polling frequency. - -\membersection{wxJoystick::GetPollingMin}\label{wxjoystickgetpollingmin} - -\constfunc{int}{GetPollingMin}{\void} - -Returns the minimum polling frequency. - -\membersection{wxJoystick::GetProductId}\label{wxjoystickgetproductid} - -\constfunc{int}{GetProductId}{\void} - -Returns the product id for the joystick. - -\membersection{wxJoystick::GetProductName}\label{wxjoystickgetproductname} - -\constfunc{wxString}{GetProductName}{\void} - -Returns the product name for the joystick. - -\membersection{wxJoystick::GetPosition}\label{wxjoystickgetposition} - -\constfunc{wxPoint}{GetPosition}{\void} - -Returns the x, y position of the joystick. - -\membersection{wxJoystick::GetPOVPosition}\label{wxjoystickgetpovposition} - -\constfunc{int}{GetPOVPosition}{\void} - -Returns the point-of-view position, expressed in discrete units. - -\membersection{wxJoystick::GetPOVCTSPosition}\label{wxjoystickgetpovctsposition} - -\constfunc{int}{GetPOVCTSPosition}{\void} - -Returns the point-of-view position, expressed in continuous, one-hundredth of a degree units. - -\membersection{wxJoystick::GetRudderMax}\label{wxjoystickgetruddermax} - -\constfunc{int}{GetRudderMax}{\void} - -Returns the maximum rudder position. - -\membersection{wxJoystick::GetRudderMin}\label{wxjoystickgetruddermin} - -\constfunc{int}{GetRudderMin}{\void} - -Returns the minimum rudder position. - -\membersection{wxJoystick::GetRudderPosition}\label{wxjoystickgetrudderposition} - -\constfunc{int}{GetRudderPosition}{\void} - -Returns the rudder position. - -\membersection{wxJoystick::GetUMax}\label{wxjoystickgetumax} - -\constfunc{int}{GetUMax}{\void} - -Returns the maximum U position. - -\membersection{wxJoystick::GetUMin}\label{wxjoystickgetumin} - -\constfunc{int}{GetUMin}{\void} - -Returns the minimum U position. - -\membersection{wxJoystick::GetUPosition}\label{wxjoystickgetuposition} - -\constfunc{int}{GetUPosition}{\void} - -Gets the position of the fifth axis of the joystick, if it exists. - -\membersection{wxJoystick::GetVMax}\label{wxjoystickgetvmax} - -\constfunc{int}{GetVMax}{\void} - -Returns the maximum V position. - -\membersection{wxJoystick::GetVMin}\label{wxjoystickgetvmin} - -\constfunc{int}{GetVMin}{\void} - -Returns the minimum V position. - -\membersection{wxJoystick::GetVPosition}\label{wxjoystickgetvposition} - -\constfunc{int}{GetVPosition}{\void} - -Gets the position of the sixth axis of the joystick, if it exists. - -\membersection{wxJoystick::GetXMax}\label{wxjoystickgetxmax} - -\constfunc{int}{GetXMax}{\void} - -Returns the maximum x position. - -\membersection{wxJoystick::GetXMin}\label{wxjoystickgetxmin} - -\constfunc{int}{GetXMin}{\void} - -Returns the minimum x position. - -\membersection{wxJoystick::GetYMax}\label{wxjoystickgetymax} - -\constfunc{int}{GetYMax}{\void} - -Returns the maximum y position. - -\membersection{wxJoystick::GetYMin}\label{wxjoystickgetymin} - -\constfunc{int}{GetYMin}{\void} - -Returns the minimum y position. - -\membersection{wxJoystick::GetZMax}\label{wxjoystickgetzmax} - -\constfunc{int}{GetZMax}{\void} - -Returns the maximum z position. - -\membersection{wxJoystick::GetZMin}\label{wxjoystickgetzmin} - -\constfunc{int}{GetXMin}{\void} - -Returns the minimum z position. - -\membersection{wxJoystick::GetZPosition}\label{wxjoystickgetzposition} - -\constfunc{int}{GetZPosition}{\void} - -Returns the z position of the joystick. - -\membersection{wxJoystick::HasPOV}\label{wxjoystickhaspov} - -\constfunc{bool}{HasPOV}{\void} - -Returns TRUE if the joystick has a point of view control. - -\membersection{wxJoystick::HasPOV4Dir}\label{wxjoystickhaspovfdir} - -\constfunc{bool}{HasPOV4Dir}{\void} - -Returns TRUE if the joystick point-of-view supports discrete values (centered, forward, backward, left, and right). - -\membersection{wxJoystick::HasPOVCTS}\label{wxjoystickhaspovcts} - -\constfunc{bool}{HasPOVCTS}{\void} - -Returns TRUE if the joystick point-of-view supports continuous degree bearings. - -\membersection{wxJoystick::HasRudder}\label{wxjoystickhasrudder} - -\constfunc{bool}{HasRudder}{\void} - -Returns TRUE if there is a rudder attached to the computer. - -\membersection{wxJoystick::HasU}\label{wxjoystickhasu} - -\constfunc{bool}{HasU}{\void} - -Returns TRUE if the joystick has a U axis. - -\membersection{wxJoystick::HasV}\label{wxjoystickhasv} - -\constfunc{bool}{HasV}{\void} - -Returns TRUE if the joystick has a V axis. - -\membersection{wxJoystick::HasZ}\label{wxjoystickhasz} - -\constfunc{bool}{HasZ}{\void} - -Returns TRUE if the joystick has a Z axis. - -\membersection{wxJoystick::IsOk}\label{wxjoystickisok} - -\constfunc{bool}{IsOk}{\void} - -Returns TRUE if the joystick is functioning. - -\membersection{wxJoystick::ReleaseCapture}\label{wxjoystickreleasecapture} - -\func{bool}{ReleaseCapture}{\void} - -Releases the capture set by {\bf SetCapture}. - -\wxheading{Return value} - -TRUE if the capture release succeeded. - -\wxheading{See also} - -\helpref{wxJoystick::SetCapture}{wxjoysticksetcapture}, \helpref{wxJoystickEvent}{wxjoystickevent} - -\membersection{wxJoystick::SetCapture}\label{wxjoysticksetcapture} - -\func{bool}{SetCapture}{\param{wxWindow*}{ win}, \param{int}{ pollingFreq = 0}} - -Sets the capture to direct joystick events to {\it win}. - -\wxheading{Parameters} - -\docparam{win}{The window that will receive joystick events.} - -\docparam{pollingFreq}{If zero, movement events are sent when above the -threshold. If greater than zero, events are received every {\it pollingFreq} milliseconds.} - -\wxheading{Return value} - -TRUE if the capture succeeded. - -\wxheading{See also} - -\helpref{wxJoystick::ReleaseCapture}{wxjoystickreleasecapture}, \helpref{wxJoystickEvent}{wxjoystickevent} - -\membersection{wxJoystick::SetMovementThreshold}\label{wxjoysticksetmovementthreshold} - -\func{void}{SetMovementThreshold}{\param{int}{ threshold}} - -Sets the movement threshold, the number of steps outside which the joystick is deemed to have -moved. - - diff --git a/docs/latex/wx/keyevent.tex b/docs/latex/wx/keyevent.tex deleted file mode 100644 index 0f86725e3c..0000000000 --- a/docs/latex/wx/keyevent.tex +++ /dev/null @@ -1,197 +0,0 @@ -\section{\class{wxKeyEvent}}\label{wxkeyevent} - -This event class contains information about keypress (character) events. See \helpref{wxWindow::OnChar}{wxwindowonchar}. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent} - -\wxheading{Event table macros} - -To process a key event, use these event handler macros to direct input to member -functions that take a wxKeyEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_CHAR(func)}}{Process a wxEVT\_CHAR event.} -\twocolitem{{\bf EVT\_CHAR\_HOOK(func)}}{Process a wxEVT\_CHAR\_HOOK event.} -\end{twocollist}% - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxKeyEvent::m\_altDown} - -\member{bool}{m\_altDown} - -TRUE if the Alt key is pressed down. - -\membersection{wxKeyEvent::m\_controlDown} - -\member{bool}{m\_controlDown} - -TRUE if control is pressed down. - -\membersection{wxKeyEvent::m\_keyCode} - -\member{long}{m\_keyCode} - -Virtual keycode. An enumerated type, one of: - -\begin{verbatim} - WXK_BACK = 8 - WXK_TAB = 9 - WXK_RETURN = 13 - WXK_ESCAPE = 27 - WXK_SPACE = 32 - WXK_DELETE = 127 - - WXK_START = 300 - WXK_LBUTTON - WXK_RBUTTON - WXK_CANCEL - WXK_MBUTTON - WXK_CLEAR - WXK_SHIFT - WXK_CONTROL - WXK_MENU - WXK_PAUSE - WXK_CAPITAL - WXK_PRIOR - WXK_NEXT - WXK_END - WXK_HOME - WXK_LEFT - WXK_UP - WXK_RIGHT - WXK_DOWN - WXK_SELECT - WXK_PRINT - WXK_EXECUTE - WXK_SNAPSHOT - WXK_INSERT - WXK_HELP - WXK_NUMPAD0 - WXK_NUMPAD1 - WXK_NUMPAD2 - WXK_NUMPAD3 - WXK_NUMPAD4 - WXK_NUMPAD5 - WXK_NUMPAD6 - WXK_NUMPAD7 - WXK_NUMPAD8 - WXK_NUMPAD9 - WXK_MULTIPLY - WXK_ADD - WXK_SEPARATOR - WXK_SUBTRACT - WXK_DECIMAL - WXK_DIVIDE - WXK_F1 - WXK_F2 - WXK_F3 - WXK_F4 - WXK_F5 - WXK_F6 - WXK_F7 - WXK_F8 - WXK_F9 - WXK_F10 - WXK_F11 - WXK_F12 - WXK_F13 - WXK_F14 - WXK_F15 - WXK_F16 - WXK_F17 - WXK_F18 - WXK_F19 - WXK_F20 - WXK_F21 - WXK_F22 - WXK_F23 - WXK_F24 - WXK_NUMLOCK - WXK_SCROLL -\end{verbatim} - -\membersection{wxKeyEvent::m\_metaDown} - -\member{bool}{m\_metaDown} - -TRUE if the Meta key is pressed down. - -\membersection{wxKeyEvent::m\_shiftDown} - -\member{bool}{m\_shiftDown} - -TRUE if shift is pressed down. - -\membersection{wxKeyEvent::m\_x} - -\member{int}{m\_x} - -X position of the event. - -\membersection{wxKeyEvent::m\_y} - -\member{int}{m\_y} - -Y position of the event. - -\membersection{wxKeyEvent::wxKeyEvent} - -\func{}{wxKeyEvent}{\param{WXTYPE}{ keyEventType}} - -Constructor. Currently, the only valid event types are wxEVT\_CHAR and wxEVT\_CHAR\_HOOK. - -\membersection{wxKeyEvent::AltDown} - -\func{bool}{AltDown}{\void} - -Returns TRUE if the Alt key was down at the time of the key event. - -\membersection{wxKeyEvent::ControlDown} - -\func{bool}{ControlDown}{\void} - -Returns TRUE if the control key was down at the time of the key event. - -\membersection{wxKeyEvent::GetX} - -\func{float}{GetX}{\void} - -Returns the X position of the event. - -\membersection{wxKeyEvent::GetY} - -\func{float}{GetY}{\void} - -Returns the Y position of the event. - -\membersection{wxKeyEvent::KeyCode} - -\func{long}{KeyCode}{\void} - -Returns the virtual key code. ASCII events return normal ASCII values, -while non-ASCII events return values such as {\bf WXK\_LEFT} for the -left cursor key. See {\tt wx\_defs.h} for a full list of the virtual key codes. - -\membersection{wxKeyEvent::MetaDown} - -\func{bool}{MetaDown}{\void} - -Returns TRUE if the Meta key was down at the time of the key event. - -\membersection{wxKeyEvent::Position} - -\func{void}{Position}{\param{float *}{x}, \param{float *}{y}} - -Obtains the position at which the key was pressed. - -\membersection{wxKeyEvent::ShiftDown} - -\func{bool}{ShiftDown}{\void} - -Returns TRUE if the shift key was down at the time of the key event. - - diff --git a/docs/latex/wx/layout.tex b/docs/latex/wx/layout.tex deleted file mode 100644 index 2b9e2e5dbc..0000000000 --- a/docs/latex/wx/layout.tex +++ /dev/null @@ -1,94 +0,0 @@ -\section{\class{wxLayoutConstraints}}\label{wxlayoutconstraints} - -Objects of this class can be associated with a window to define its -layout constraints, with respect to siblings or its parent. - -The class consists of the following eight constraints of class wxIndividualLayoutConstraint, -some or all of which should be accessed directly to set the appropriate -constraints. - -\begin{itemize}\itemsep=0pt -\item {\bf left:} represents the left hand edge of the window -\item {\bf right:} represents the right hand edge of the window -\item {\bf top:} represents the top edge of the window -\item {\bf bottom:} represents the bottom edge of the window -\item {\bf width:} represents the width of the window -\item {\bf height:} represents the height of the window -\item {\bf centreX:} represents the horizontal centre point of the window -\item {\bf centreY:} represents the vertical centre point of the window -\end{itemize} - -Most constraints are initially set to have the relationship wxUnconstrained, -which means that their values should be calculated by looking at known constraints. -The exceptions are {\it width} and {\it height}, which are set to wxAsIs to -ensure that if the user does not specify a constraint, the existing -width and height will be used, to be compatible with panel items which often -have take a default size. If the constraint is wxAsIs, the dimension will -not be changed. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{Overview and examples}{constraintsoverview},\rtfsp -\helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}, \helpref{wxWindow::SetConstraints}{wxwindowsetconstraints} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxLayoutConstraints::wxLayoutConstraints} - -\func{}{wxLayoutConstraints}{\void} - -Constructor. - -\membersection{wxLayoutConstraints::bottom} - -\member{wxIndividualLayoutConstraint}{bottom} - -Constraint for the bottom edge. - -\membersection{wxLayoutConstraints::centreX} - -\member{wxIndividualLayoutConstraint}{centreX} - -Constraint for the horizontal centre point. - -\membersection{wxLayoutConstraints::centreY} - -\member{wxIndividualLayoutConstraint}{centreY} - -Constraint for the vertical centre point. - -\membersection{wxLayoutConstraints::height} - -\member{wxIndividualLayoutConstraint}{height} - -Constraint for the height. - -\membersection{wxLayoutConstraints::left} - -\member{wxIndividualLayoutConstraint}{left} - -Constraint for the left-hand edge. - -\membersection{wxLayoutConstraints::right} - -\member{wxIndividualLayoutConstraint}{right} - -Constraint for the right-hand edge. - -\membersection{wxLayoutConstraints::top} - -\member{wxIndividualLayoutConstraint}{top} - -Constraint for the top edge. - -\membersection{wxLayoutConstraints::width} - -\member{wxIndividualLayoutConstraint}{width} - -Constraint for the width. - - diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex deleted file mode 100644 index 3af91125d3..0000000000 --- a/docs/latex/wx/list.tex +++ /dev/null @@ -1,217 +0,0 @@ -\section{\class{wxList}}\label{wxlist} - -This class provides linked list functionality for wxWindows, and for an application -if it wishes. Depending on the form of constructor used, a list can be keyed on -integer or string keys to provide a primitive look-up ability. See \helpref{wxHashTable}{wxhashtable}\rtfsp -for a faster method of storage when random access is required. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{Example} - -It is very common to iterate on a list as follows: - -\begin{verbatim} - ... - wxPoint *point1 = new wxPoint(100, 100); - wxPoint *point2 = new wxPoint(200, 200); - - wxList SomeList; - SomeList.Append(point1); - SomeList.Append(point2); - - ... - - wxNode *node = SomeList.First(); - while (node) - { - wxPoint *point = (wxPoint *)node->Data(); - ... - node = node->Next(); - } -\end{verbatim} - -To delete nodes in a list as the list is being traversed, replace - -\begin{verbatim} - ... - node = node->Next(); - ... -\end{verbatim} - -with - -\begin{verbatim} - ... - delete point; - delete node; - node = SomeList.First(); - ... -\end{verbatim} - -See \helpref{wxNode}{wxnode} for members that retrieve the data associated with a node, and -members for getting to the next or previous node. - -Note that a cast is required when retrieving the data from a node. Although a -node is defined to store objects of type {\bf wxObject} and derived types, other -types (such as char*) may be used with appropriate casting. - -\wxheading{See also} - -\helpref{wxNode}{wxnode}, \helpref{wxStringList}{wxstringlist} - -\latexignore{\rtfignore{\wxheading{Members}}} - - -\membersection{wxList::wxList} - -\func{}{wxList}{\void} - -\func{}{wxList}{\param{unsigned int}{ key\_type}} - -\func{}{wxList}{\param{int}{ n}, \param{wxObject *}{objects[]}} - -\func{}{wxList}{\param{wxObject *}{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). - -{\it objects} is an array of {\it n} objects with which to initialize the list. - -The variable-length argument list constructor must be supplied with a -terminating NULL. - -\membersection{wxList::\destruct{wxList}} - -\func{}{\destruct{wxList}}{\void} - -Destroys the list. Also destroys any remaining nodes, but does not destroy -client data held in the nodes. - -\membersection{wxList::Append} - -\func{wxNode *}{Append}{\param{wxObject *}{object}} - -\func{wxNode *}{Append}{\param{long}{ key}, \param{wxObject *}{object}} - -\func{wxNode *}{Append}{\param{const wxString\& }{key}, \param{wxObject *}{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. - -The key string is copied and stored by the list implementation. - -\membersection{wxList::Clear} - -\func{void}{Clear}{\void} - -Clears the list (but does not delete the client data stored with each node). - -\membersection{wxList::DeleteContents} - -\func{void}{DeleteContents}{\param{bool}{ destroy}} - -If {\it destroy} is TRUE, instructs the list to call {\it delete} on the client contents of -a node whenever the node is destroyed. The default is FALSE. - -\membersection{wxList::DeleteNode} - -\func{bool}{DeleteNode}{\param{wxNode *}{node}} - -Deletes the given node from the list, returning TRUE if successful. - -\membersection{wxList::DeleteObject} - -\func{bool}{DeleteObject}{\param{wxObject *}{object}} - -Finds the given client {\it object} and deletes the appropriate node from the list, returning -TRUE if successful. The application must delete the actual object separately. - -\membersection{wxList::Find} - -\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. - -\membersection{wxList::First} - -\func{wxNode *}{First}{\void} - -Returns the first node in the list (NULL if the list is empty). - -\membersection{wxList::Insert} - -\func{wxNode *}{Insert}{\param{wxObject *}{object}} - -Insert object at front of list. - -\func{wxNode *}{Insert}{\param{wxNode *}{position}, \param{wxObject *}{object}} - -Insert object before {\it position}. - - -\membersection{wxList::Last} - -\func{wxNode *}{Last}{\void} - -Returns the last node in the list (NULL if the list is empty). - -\membersection{wxList::Member} - -\func{wxNode *}{Member}{\param{wxObject *}{object}} - -Returns the node associated with {\it object} if it is in the list, NULL otherwise. - -\membersection{wxList::Nth} - -\func{wxNode *}{Nth}{\param{int}{ n}} - -Returns the {\it nth} node in the list, indexing from zero (NULL if the list is empty -or the nth node could not be found). - -\membersection{wxList::Number} - -\func{int}{Number}{\void} - -Returns the number of elements in the list. - -\membersection{wxList::Sort} - -\func{void}{Sort}{\param{wxSortCompareFunction}{ compfunc}} - -\begin{verbatim} - // Type of compare function for list sort operation (as in 'qsort') - typedef int (*wxSortCompareFunction)(const void *elem1, const void *elem2); -\end{verbatim} - -Allows the sorting of arbitrary lists by giving -a function to compare two list elements. We use the system {\bf qsort} function -for the actual sorting process. The sort function receives pointers to wxObject pointers (wxObject **), -so be careful to dereference appropriately. - -Example: - -\begin{verbatim} - int listcompare(const void *arg1, const void *arg2) - { - return(compare(**(wxString **)arg1, // use the wxString 'compare' - **(wxString **)arg2)); // function - } - - void main() - { - wxList list; - - list.Append(new wxString("DEF")); - list.Append(new wxString("GHI")); - list.Append(new wxString("ABC")); - list.Sort(listcompare); - } -\end{verbatim} - - diff --git a/docs/latex/wx/listbox.tex b/docs/latex/wx/listbox.tex deleted file mode 100644 index e10378099b..0000000000 --- a/docs/latex/wx/listbox.tex +++ /dev/null @@ -1,356 +0,0 @@ -\section{\class{wxListBox}}\label{wxlistbox} - -A listbox is used to select one or more of a list of strings. The -strings are displayed in a scrolling box, with the selected string(s) -marked in reverse video. A listbox can be single selection (if an item -is selected, the previous selection is removed) or multiple selection -(clicking an item toggles the item on or off independently of other -selections). - -List box elements are numbered from zero. - -A listbox callback gets an event wxEVT\_COMMAND\_LISTBOX\_SELECT for single clicks, and -wxEVT\_COMMAND\_LISTBOX\_DOUBLE\_CLICKED for double clicks. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm}% -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxLB\_SINGLE}}{Single-selection list.} -\twocolitem{\windowstyle{wxLB\_MULTIPLE}}{Multiple-selection list: the user can toggle multiple -items on and off.} -\twocolitem{\windowstyle{wxLB\_EXTENDED}}{Extended-selection list: the user can -select multiple items using the SHIFT key and the mouse or special key combinations.} -\twocolitem{\windowstyle{wxLB\_HSCROLL}}{Create horizontal scrollbar if contents are too wide (Windows only).} -\twocolitem{\windowstyle{wxLB\_ALWAYS\_SB}}{Always show a vertical scrollbar.} -\twocolitem{\windowstyle{wxLB\_NEEDED\_SB}}{Only create a vertical scrollbar if needed.} -\twocolitem{\windowstyle{wxLB\_SORT}}{The listbox contents are sorted in alphabetical order.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_LISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_SELECTED event, -when an item on the list is selected.} -\twocolitem{{\bf EVT\_LISTBOX\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_DOUBLECLICKED event, -when the listbox is doubleclicked.} -\end{twocollist} - -\wxheading{See also} - -\helpref{wxChoice}{wxchoice}, \helpref{wxComboBox}{wxcombobox}, \helpref{wxListCtrl}{wxlistctrl}, -\rtfsp\helpref{wxCommandEvent}{wxcommandevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxListBox::wxListBox}\label{wxlistboxconstr} - -\func{}{wxListBox}{\void} - -Default constructor. - -\func{}{wxListBox}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{int}{ n}, \param{const wxString }{choices[] = NULL},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``listBox"}} - -Constructor, creating and showing a list box. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{pos}{Window position.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then the window is sized -appropriately.} - -\docparam{n}{Number of strings with which to initialise the control.} - -\docparam{choices}{An array of strings with which to initialise the control.} - -\docparam{style}{Window style. See \helpref{wxListBox}{wxlistbox}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxListBox::Create}{wxlistboxcreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxListBox::\destruct{wxListBox}} - -\func{void}{\destruct{wxListBox}}{\void} - -Destructor, destroying the list box. - -\membersection{wxListBox::Append}\label{wxlistboxappend} - -\func{void}{Append}{\param{const wxString\& }{ item}} - -Adds the item to the end of the list box. - -\func{void}{Append}{\param{const wxString\& }{ item}, \param{char* }{clientData}} - -Adds the item to the end of the list box, associating the given data -with the item. - -\wxheading{Parameters} - -\docparam{item}{String to add.} - -\docparam{clientData}{Client data to associate with the item.} - -\membersection{wxListBox::Clear}\label{wxlistboxclear} - -\func{void}{Clear}{\void} - -Clears all strings from the list box. - -\membersection{wxListBox::Create}\label{wxlistboxcreate} - -\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{int}{ n}, \param{const wxString }{choices[] = NULL},\rtfsp -\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``listBox"}} - -Creates the listbox for two-step construction. See \helpref{wxListBox::wxListBox}{wxlistboxconstr}\rtfsp -for further details. - -\membersection{wxListBox::Delete}\label{wxlistboxdelete} - -\func{void}{Delete}{\param{int}{ n}} - -Deletes an item from the listbox. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item index.} - -\membersection{wxListBox::Deselect}\label{wxlistboxdeselect} - -\func{void}{Deselect}{\param{int}{ n}} - -Deselects an item in the list box. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item to deselect.} - -\wxheading{Remarks} - -This applies to multiple selection listboxes only. - -\membersection{wxListBox::FindString}\label{wxlistboxfindstring} - -\func{int}{FindString}{\param{const wxString\& }{string}} - -Finds an item matching the given string. - -\wxheading{Parameters} - -\docparam{string}{String to find.} - -\wxheading{Return value} - -The zero-based position of the item, or -1 if the string was not found. - -\membersection{wxListBox::GetClientData}\label{wxlistboxgetclientdata} - -\constfunc{char*}{GetClientData}{\param{int}{ n}} - -Returns a pointer to the client data associated with the given item (if any). - -\wxheading{Parameters} - -\docparam{n}{The zero-based position of the item.} - -\wxheading{Return value} - -A pointer to the client data, or NULL if not present. - -\membersection{wxListBox::GetSelection}\label{wxlistboxgetselection} - -\constfunc{int}{GetSelection}{\void} - -Gets the position of the selected item. - -\wxheading{Return value} - -The position of the current selection. - -\wxheading{Remarks} - -Applicable to single selection list boxes only. - -\wxheading{See also} - -\helpref{wxListBox::SetSelection}{wxlistboxsetselection},\rtfsp -\helpref{wxListBox::GetStringSelection}{wxlistboxgetstringselection},\rtfsp -\helpref{wxListBox::GetSelections}{wxlistboxgetselections} - -\membersection{wxListBox::GetSelections}\label{wxlistboxgetselections} - -\constfunc{int}{GetSelections}{\param{int **}{selections}} - -Gets an array containing the positions of the selected strings. - -\wxheading{Parameters} - -\docparam{selections}{A pointer to an integer array, which will be allocated by the function if -selects are present. Do not deallocate the returned array - it will be deallocated by the listbox.} - -\wxheading{Return value} - -The number of selections. - -\wxheading{Remarks} - -Use this with a multiple selection listbox. - -\wxheading{See also} - -\helpref{wxListBox::GetSelection}{wxlistboxgetselection},\rtfsp -\helpref{wxListBox::GetStringSelection}{wxlistboxgetstringselection},\rtfsp -\helpref{wxListBox::SetSelection}{wxlistboxsetselection} - -\membersection{wxListBox::GetString}\label{wxlistboxgetstring} - -\constfunc{wxString}{GetString}{\param{int}{ n}} - -Returns the string at the given position. - -\wxheading{Parameters} - -\docparam{n}{The zero-based position.} - -\wxheading{Return value} - -The string, or an empty string if the position was invalid. - -\membersection{wxListBox::GetStringSelection}\label{wxlistboxgetstringselection} - -\constfunc{wxString}{GetStringSelection}{\void} - -Gets the selected string - for single selection list boxes only. This -must be copied by the calling program if long term use is to be made of -it. - -\wxheading{See also} - -\helpref{wxListBox::GetSelection}{wxlistboxgetselection},\rtfsp -\helpref{wxListBox::GetSelections}{wxlistboxgetselections},\rtfsp -\helpref{wxListBox::SetSelection}{wxlistboxsetselection} - -\membersection{wxListBox::Number}\label{wxlistboxnumber} - -\constfunc{int}{Number}{\void} - -Returns the number of items in the listbox. - -\membersection{wxListBox::Selected}\label{wxlistboxselected} - -\constfunc{bool}{Selected}{\param{int}{ n}} - -Determines whether an item is selected. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item index.} - -\wxheading{Return value} - -TRUE if the given item is selected, FALSE otherwise. - -\membersection{wxListBox::Set}\label{wxlistboxset} - -\func{void}{Set}{\param{int}{ n}, \param{const wxString*}{ choices}} - -Clears the list box and adds the given strings. - -\wxheading{Parameters} - -\docparam{n}{The number of strings to set.} - -\docparam{choices}{An array of strings to set.} - -\wxheading{Remarks} - -Deallocate the array from the calling program -after this function has been called. - -\membersection{wxListBox::SetClientData}\label{wxlistboxsetclientdata} - -\func{void}{SetClientData}{\param{int}{ n}, \param{char* }{data}} - -Associates the given client data pointer with the given item. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item index.} - -\docparam{data}{The client data to associate with the item.} - -\membersection{wxListBox::SetFirstItem}\label{wxlistboxsetfirstitem} - -\func{void}{SetFirstItem}{\param{int}{ n}} - -\func{void}{SetFirstItem}{\param{const wxString\& }{string}} - -Set the specified item to be the first visible item. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item index.} - -\docparam{string}{The string that should be visible.} - -\membersection{wxListBox::SetSelection}\label{wxlistboxsetselection} - -\func{void}{SetSelection}{\param{int}{ n}, \param{const bool }{select = TRUE}} - -Selects or deselects the given item. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item index.} - -\docparam{select}{If TRUE, will select the item. If FALSE, will deselect it.} - -\membersection{wxListBox::SetString}\label{wxlistboxsetstring} - -\func{void}{SetString}{\param{int}{ n}, \param{const wxString\& }{ string}} - -Sets the string value of an item. - -\wxheading{Parameters} - -\docparam{n}{The zero-based item index.} - -\docparam{string}{The string to set.} - -\membersection{wxListBox::SetStringSelection}\label{wxlistboxsetstringselection} - -\func{void}{SetStringSelection}{\param{const wxString\& }{ string}, \param{const bool}{ select = TRUE}} - -Sets the current selection. - -\wxheading{Parameters} - -\docparam{string}{The item to select.} - -\docparam{select}{If TRUE, will select the item. If FALSE, will deselect it.} - diff --git a/docs/latex/wx/listctrl.tex b/docs/latex/wx/listctrl.tex deleted file mode 100644 index 557b320039..0000000000 --- a/docs/latex/wx/listctrl.tex +++ /dev/null @@ -1,545 +0,0 @@ -\section{\class{wxListCtrl}}\label{wxlistctrl} - -A list control presents lists in a number of formats: list view, report view, icon view -and small icon view. Elements are numbered from zero. - -To intercept events from a list control, use the event table macros described in \helpref{wxListEvent}{wxlistevent}. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxLC\_LIST}}{multicolumn list view, with optional small icons. -Columns are computed automatically, i.e. you don't set columns as in wxLC\_REPORT. In other words, -the list wraps, unlike a wxListBox.} -\twocolitem{\windowstyle{wxLC\_REPORT}}{single or multicolumn report view, with optional header.} -\twocolitem{\windowstyle{wxLC\_ICON}}{Large icon view, with optional labels.} -\twocolitem{\windowstyle{wxLC\_SMALL\_ICON}}{Small icon view, with optional labels.} -\twocolitem{\windowstyle{wxLC\_ALIGN\_TOP}}{Icons align to the top (default).} -\twocolitem{\windowstyle{wxLC\_ALIGN\_LEFT}}{Icons align to the left.} -\twocolitem{\windowstyle{wxLC\_AUTOARRANGE}}{Icons arrange themselves.} -\twocolitem{\windowstyle{wxLC\_USER\_TEXT}}{The application provides label text on demand, except for column headers.} -\twocolitem{\windowstyle{wxLC\_EDIT\_LABELS}}{Labels are editable: the application will be notified when editing starts.} -\twocolitem{\windowstyle{wxLC\_NO\_HEADER}}{No header in report mode.} -\twocolitem{\windowstyle{wxLC\_SINGLE\_SEL}}{Single selection.} -\twocolitem{\windowstyle{wxLC\_SORT\_ASCENDING}}{Sort in ascending order (must still supply a comparison callback in SortItems.} -\twocolitem{\windowstyle{wxLC\_SORT\_DESCENDING}}{Sort in descending order (must still supply a comparison callback in SortItems.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -To process input from a list control, use these event handler macros to direct input to member -functions that take a \helpref{wxListEvent}{wxlistevent} argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_LIST\_BEGIN\_DRAG(id, func)}}{Begin dragging with the left mouse button.} -\twocolitem{{\bf EVT\_LIST\_BEGIN\_RDRAG(id, func)}}{Begin dragging with the right mouse button.} -\twocolitem{{\bf EVT\_LIST\_BEGIN\_LABEL\_EDIT(id, func)}}{Begin editing a label.} -\twocolitem{{\bf EVT\_LIST\_END\_LABEL\_EDIT(id, func)}}{Finish editing a label.} -\twocolitem{{\bf EVT\_LIST\_DELETE\_ITEM(id, func)}}{Delete an item.} -\twocolitem{{\bf EVT\_LIST\_DELETE\_ALL\_ITEMS(id, func)}}{Delete all items.} -\twocolitem{{\bf EVT\_LIST\_GET\_INFO(id, func)}}{Request information from the application, usually the item text.} -\twocolitem{{\bf EVT\_LIST\_SET\_INFO(id, func)}}{Information is being supplied (not implemented).} -\twocolitem{{\bf EVT\_LIST\_ITEM\_SELECTED(id, func)}}{The item has been selected.} -\twocolitem{{\bf EVT\_LIST\_ITEM\_DESELECTED(id, func)}}{The item has been deselected.} -\twocolitem{{\bf EVT\_LIST\_KEY\_DOWN(id, func)}}{A key has been pressed.} -\twocolitem{{\bf EVT\_LIST\_INSERT\_ITEM(id, func)}}{An item has been inserted.} -\twocolitem{{\bf EVT\_LIST\_COL\_CLICK(id, func)}}{A column ({\bf m\_col}) has been left-clicked.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxListCtrl overview}{wxlistctrloverview}, \helpref{wxListBox}{wxlistbox}, \helpref{wxTreeCtrl}{wxtreectrl},\rtfsp -\helpref{wxImageList}{wximagelist}, \helpref{wxListEvent}{wxlistevent} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxListCtrl::wxListCtrl}\label{wxlistctrlconstr} - -\func{}{wxListCtrl}{\void} - -Default constructor. - -\func{}{wxListCtrl}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{long}{ style = wxLC\_ICON}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``listCtrl"}} - -Constructor, creating and showing a list control. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{pos}{Window position.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then the window is sized -appropriately.} - -\docparam{style}{Window style. See \helpref{wxListCtrl}{wxlistctrl}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxListCtrl::Create}{wxlistctrlcreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxListCtrl::\destruct{wxListCtrl}} - -\func{void}{\destruct{wxListCtrl}}{\void} - -Destructor, destroying the list control. - -\membersection{wxListCtrl::Arrange}\label{wxlistctrlarrange} - -\func{bool}{Arrange}{\param{int }{flag = wxLIST\_ALIGN\_DEFAULT}} - -Arranges the items in icon or small icon view. {\it flag} is one of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_ALIGN\_DEFAULT}{Default alignment.} -\twocolitem{wxLIST\_ALIGN\_LEFT}{Align to the left side of the control.} -\twocolitem{wxLIST\_ALIGN\_TOP}{Align to the top side of the control.} -\twocolitem{wxLIST\_ALIGN\_SNAP\_TO\_GRID}{Snap to grid.} -\end{twocollist} - -\membersection{wxListCtrl::Create}\label{wxlistctrlcreate} - -\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{long}{ style = wxLC\_ICON}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``listCtrl"}} - -Creates the list control. See \helpref{wxListCtrl::wxListCtrl}{wxlistctrlconstr} for further details. - -\membersection{wxListCtrl::DeleteItem}\label{wxlistctrldeleteitem} - -\func{bool}{DeleteItem}{\param{long }{item}} - -Deletes the specified item. - -\membersection{wxListCtrl::DeleteAllItems}\label{wxlistctrldeleteallitems} - -\func{bool}{DeleteAllItems}{\void} - -Deletes all the items in the list control. - -\membersection{wxListCtrl::DeleteColumn}\label{wxlistctrldeletecolumn} - -\func{bool}{DeleteColumn}{\param{int }{col}} - -Deletes a column. - -\membersection{wxListCtrl::Edit}\label{wxlistctrledit} - -\func{wxTextCtrl\&}{Edit}{\param{long }{item}} - -Starts editing a label. - -\membersection{wxListCtrl::EnsureVisible}\label{wxlistctrlensurevisible} - -\func{bool}{EnsureVisible}{\param{long }{item}} - -Ensures this item is visible. - -\membersection{wxListCtrl::FindItem}\label{wxlistctrlfinditem} - -\func{long}{FindItem}{\param{long }{start}, \param{const wxString\& }{str}, \param{const bool }{partial = FALSE}} - -Find an item whose label matches this string, starting from the item after {\it start} or -the beginning if {\it start} is -1. - -\func{long}{FindItem}{\param{long }{start}, \param{long }{data}} - -Find an item whose data matches this data, starting from the item after {\it start} or -the beginning if 'start' is -1. - -\func{long}{FindItem}{\param{long }{start}, \param{const wxPoint\& }{pt}, \param{int }{direction}} - -Find an item nearest this position in the specified direction, starting from -the item after {\it start} or the beginning if {\it start} is -1. - -\membersection{wxListCtrl::GetColumn}\label{wxlistctrlgetcolumn} - -\constfunc{bool}{GetColumn}{\param{int }{col}, \param{wxListItem\& }{item}} - -Gets information about this column. See \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem} for more -information. - -\membersection{wxListCtrl::GetColumnWidth}\label{wxlistctrlgetcolumnwidth} - -\constfunc{int}{GetColumnWidth}{\param{int }{col}} - -Gets the column width (report view only). - -\membersection{wxListCtrl::GetCountPerPage}\label{wxlistctrlgetcountperpage} - -\constfunc{int}{GetCountPerPage}{\void} - -Gets the number of items that can fit vertically in the -visible area of the list control (list or report view) -or the total number of items in the list control (icon -or small icon view). - -\membersection{wxListCtrl::GetEditControl}\label{wxlistctrlgeteditcontrol} - -\constfunc{wxTextCtrl\&}{GetEditControl}{\void} - -Gets the edit control for editing labels. - -\membersection{wxListCtrl::GetImageList}\label{wxlistctrlgetimagelist} - -\constfunc{wxImageList*}{GetImageList}{\param{int }{which}} - -Returns the specified image list. {\it which} may be one of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxIMAGE\_LIST\_NORMAL}}{The normal (large icon) image list.} -\twocolitem{\windowstyle{wxIMAGE\_LIST\_SMALL}}{The small icon image list.} -\twocolitem{\windowstyle{wxIMAGE\_LIST\_STATE}}{The user-defined state image list (unimplemented).} -\end{twocollist} - -\membersection{wxListCtrl::GetItem}\label{wxlistctrlgetitem} - -\constfunc{bool}{GetItem}{\param{wxListItem\& }{info}} - -Gets information about the item. See \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem} for more -information. - -\membersection{wxListCtrl::GetItemData}\label{wxlistctrlgetitemdata} - -\constfunc{long}{GetItemData}{\param{long }{item}} - -Gets the application-defined data associated with this item. - -\membersection{wxListCtrl::GetItemPosition}\label{wxlistctrlgetitemposition} - -\constfunc{bool}{GetItemPosition}{\param{long }{item}, \param{wxPoint\& }{pos}} - -Returns the position of the item, in icon or small icon view. - -\membersection{wxListCtrl::GetItemRect}\label{wxlistctrlgetitemrect} - -\constfunc{bool}{GetItemRect}{\param{long }{item}, \param{wxRect\& }{rect}, \param{int }{code = wxLIST\_RECT\_BOUNDS}} - -Returns the rectangle representing the item's size and position, in client coordinates. - -{\it code} is one of wxLIST\_RECT\_BOUNDS, wxLIST\_RECT\_ICON, wxLIST\_RECT\_LABEL. - -\membersection{wxListCtrl::GetItemState}\label{wxlistctrlgetitemstate} - -\constfunc{int}{GetItemState}{\param{long }{item}, \param{long }{stateMask}} - -Gets the item state. For a list of state flags, see \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem}. - -The {\bf stateMask} indicates which state flags are of interest. - -\membersection{wxListCtrl::GetItemCount}\label{wxlistctrlgetitemcount} - -\constfunc{int}{GetItemCount}{\void} - -Returns the number of items in the list control. - -\membersection{wxListCtrl::GetItemSpacing}\label{wxlistctrlgetitemspacing} - -\constfunc{int}{GetItemSpacing}{\param{bool }{isSmall}} - -Retrieves the spacing between icons in pixels. -If {\it small} is TRUE, gets the spacing for the small icon -view, otherwise the large icon view. - -\membersection{wxListCtrl::GetItemText}\label{wxlistctrlgetitemtext} - -\constfunc{wxString}{GetItemText}{\param{long }{item}} - -Gets the item text for this item. - -\membersection{wxListCtrl::GetNextItem}\label{wxlistctrlgetnextitem} - -\constfunc{long}{GetNextItem}{\param{long }{item}, \param{int }{geometry = wxLIST\_NEXT\_ALL}, \param{int }{state = wxLIST\_STATE\_DONTCARE}} - -Searches for an item with the given goemetry or state, starting from {\it item}. {\it item} can be -1 -to find the first item that matches the specified flags. - -Returns the item or -1 if unsuccessful. - -{\it geometry} can be one of: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_NEXT\_ABOVE}{Searches for an item above the specified item.} -\twocolitem{wxLIST\_NEXT\_ALL}{Searches for subsequent item by index.} -\twocolitem{wxLIST\_NEXT\_BELOW}{Searches for an item below the specified item.} -\twocolitem{wxLIST\_NEXT\_LEFT}{Searches for an item to the left of the specified item.} -\twocolitem{wxLIST\_NEXT\_RIGHT}{Searches for an item to the right of the specified item.} -\end{twocollist} - -{\it state} can be a bitlist of the following: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_STATE\_DONTCARE}{Don't care what the state is.} -\twocolitem{wxLIST\_STATE\_DROPHILITED}{The item indicates it is a drop target.} -\twocolitem{wxLIST\_STATE\_FOCUSED}{The item has the focus.} -\twocolitem{wxLIST\_STATE\_SELECTED}{The item is selected.} -\twocolitem{wxLIST\_STATE\_CUT}{The item is selected as part of a cut and paste operation.} -\end{twocollist} - -\membersection{wxListCtrl::GetSelectedItemCount}\label{wxlistctrlgetselecteditemcount} - -\constfunc{int}{GetSelectedItemCount}{\void} - -Returns the number of selected items in the list control. - -\membersection{wxListCtrl::GetTextColour}\label{wxlistctrlgettextcolour} - -\constfunc{wxColour}{GetTextColour}{\void} - -Gets the text colour of the list control. - -\membersection{wxListCtrl::GetTopItem}\label{wxlistctrlgettopitem} - -\constfunc{long}{GetTopItem}{\void} - -Gets the index of the topmost visible item when in -list or report view. - -\membersection{wxListCtrl::HitTest}\label{wxlistctrlhittest} - -\func{long}{HitTest}{\param{const wxPoint\& }{point}, \param{int\& }{flags}} - -Determines which item (if any) is at the specified point, -giving details in {\it flags}. {\it flags} will be a combination of the following flags: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_HITTEST\_ABOVE}{Above the client area.} -\twocolitem{wxLIST\_HITTEST\_BELOW}{Below the client area.} -\twocolitem{wxLIST\_HITTEST\_NOWHERE}{In the client area but below the last item.} -\twocolitem{wxLIST\_HITTEST\_ONITEMICON}{On the bitmap associated with an item.} -\twocolitem{wxLIST\_HITTEST\_ONITEMLABEL}{On the label (string) associated with an item.} -\twocolitem{wxLIST\_HITTEST\_ONITEMRIGHT}{In the area to the right of an item.} -\twocolitem{wxLIST\_HITTEST\_ONITEMSTATEICON}{On the state icon for a tree view item that is in a user-defined state.} -\twocolitem{wxLIST\_HITTEST\_TOLEFT}{To the right of the client area.} -\twocolitem{wxLIST\_HITTEST\_TORIGHT}{To the left of the client area.} -\twocolitem{wxLIST\_HITTEST\_ONITEM}{Combination of wxLIST\_HITTEST\_ONITEMICON, wxLIST\_HITTEST\_ONITEMLABEL, -wxLIST\_HITTEST\_ONITEMSTATEICON.} -\end{twocollist} - -\membersection{wxListCtrl::InsertColumn}\label{wxlistctrlinsertcolumn} - -\func{long}{InsertColumn}{\param{long }{col}, \param{wxListItem\& }{info}} - -For list view mode (only), inserts a column. For more details, see \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem}. - -\func{long}{InsertColumn}{\param{long }{col}, \param{const wxString\& }{heading}, \param{int }{format = wxLIST\_FORMAT\_LEFT},\rtfsp -\param{int }{width = -1}} - -For list view mode (only), inserts a column. For more details, see \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem}. - -\membersection{wxListCtrl::InsertItem}\label{wxlistctrlinsertitem} - -\func{long}{InsertItem}{\param{wxListItem\& }{info}} - -Inserts an item, returning the index of the new item if successful, --1 otherwise. - -\func{long}{InsertItem}{\param{long }{index}, \param{const wxString\& }{label}} - -Inserts a string item. - -\func{long}{InsertItem}{\param{long }{index}, \param{int }{imageIndex}} - -Inserts an image item. - -\func{long}{InsertItem}{\param{long }{index}, \param{const wxString\& }{label}, \param{int }{imageIndex}} - -Insert an image/string item. - -\wxheading{Parameters} - -\docparam{info}{wxListItem object} - -\docparam{index}{Index of the new item, supplied by the application} - -\docparam{label}{String label} - -\docparam{imageIndex}{index into the image list associated with this control and view style} - -\membersection{wxListCtrl::ScrollList}\label{wxlistctrlscrolllist} - -\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. - -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. - -\membersection{wxListCtrl::SetBackgroundColour}\label{wxlistctrlsetbackgroundcolour} - -\func{void}{SetBackgroundColour}{\param{const wxColour\& }{col}} - -Sets the background colour (GetBackgroundColour already implicit in -wxWindow class). - -\membersection{wxListCtrl::SetColumn}\label{wxlistctrlsetcolumn} - -\func{bool}{SetColumn}{\param{int }{col}, \param{wxListItem\& }{item}} - -Sets information about this column. See \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem} for more -information. - -\membersection{wxListCtrl::SetColumnWidth}\label{wxlistctrlsetcolumnwidth} - -\func{bool}{SetColumnWidth}{\param{int }{col}, \param{int }{width}} - -Sets the column width. - -{\it width} can be a width in pixels or wxLIST\_AUTOSIZE (-1) or wxLIST\_AUTOSIZE\_USEHEADER (-2). - -In small or normal icon view, {\it col} must be -1, and the column width is set for all columns. - -\membersection{wxListCtrl::SetImageList}\label{wxlistctrlsetimagelist} - -\func{void}{SetImageList}{\param{wxImageList*}{ imageList}, \param{int }{which}} - -Sets the image list associated with the control. {\it which} is one of -wxIMAGE\_LIST\_NORMAL, wxIMAGE\_LIST\_SMALL, wxIMAGE\_LIST\_STATE (the last is unimplemented). - -\membersection{wxListCtrl::SetItem}\label{wxlistctrlsetitem} - -\func{bool}{SetItem}{\param{wxListItem\& }{info}} - -Sets information about the item. - -wxListItem is a class with the following members: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{long m\_mask}{Indicates which fields are valid. See the list of valid mask flags below.} -\twocolitem{long m\_itemId}{The zero-based item position.} -\twocolitem{int m\_col}{Zero-based column, if in report mode.} -\twocolitem{long m\_state}{The state of the item. See the list of valid state flags below.} -\twocolitem{long m\_stateMask}{A mask indicating which state flags are valid. See the list of valid state flags below.} -\twocolitem{wxString m\_text}{The label/header text.} -\twocolitem{int m\_image}{The zero-based index into an image list.} -\twocolitem{long m\_data}{Application-defined data.} -\twocolitem{int m\_format}{For columns only: the format. Can be wxLIST\_FORMAT\_LEFT, wxLIST\_FORMAT\_RIGHT or -wxLIST\_FORMAT\_CENTRE.} -\twocolitem{int m\_width}{For columns only: the column width.} -\end{twocollist} - -The {\bf m\_mask} member contains a bitlist specifying which of the other fields are valid. The flags are: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_MASK\_STATE}{The {\bf m\_state} field is valid.} -\twocolitem{wxLIST\_MASK\_TEXT}{The {\bf m\_text} field is valid.} -\twocolitem{wxLIST\_MASK\_IMAGE}{The {\bf m\_image} field is valid.} -\twocolitem{wxLIST\_MASK\_DATA}{The {\bf m\_data} field is valid.} -\twocolitem{wxLIST\_MASK\_WIDTH}{The {\bf m\_width} field is valid.} -\twocolitem{wxLIST\_MASK\_FORMAT}{The {\bf m\_format} field is valid.} -\end{twocollist} - -The {\bf m\_stateMask} and {\bf m\_state} members take flags from the following: - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_STATE\_DONTCARE}{Don't care what the state is.} -\twocolitem{wxLIST\_STATE\_DROPHILITED}{The item is highlighted to receive a drop event.} -\twocolitem{wxLIST\_STATE\_FOCUSED}{The item has the focus.} -\twocolitem{wxLIST\_STATE\_SELECTED}{The item is selected.} -\twocolitem{wxLIST\_STATE\_CUT}{The item is in the cut state.} -\end{twocollist} - -\func{long}{SetItem}{\param{long }{index}, \param{int }{col}, \param{const wxString\& }{label}, \param{int }{imageId = -1}} - -Sets a string field at a particular column. - -\membersection{wxListCtrl::SetItemData}\label{wxlistctrlsetitemdata} - -\func{bool}{SetItemData}{\param{long }{item}, \param{long }{data}} - -Associates application-defined data with this item. - -\membersection{wxListCtrl::SetItemImage}\label{wxlistctrlsetitemimage} - -\func{bool}{SetItemImage}{\param{long }{item}, \param{int }{image}, \param{int }{selImage}} - -Sets the unselected and selected images associated with the item. The images are indices into the -image list associated with the list control. - -\membersection{wxListCtrl::SetItemPosition}\label{wxlistctrlsetitemposition} - -\func{bool}{SetItemPosition}{\param{long }{item}, \param{const wxPoint\& }{pos}} - -Sets the position of the item, in icon or small icon view. - -\membersection{wxListCtrl::SetItemState}\label{wxlistctrlsetitemstate} - -\func{bool}{SetItemState}{\param{long }{item}, \param{long }{state}, \param{long }{stateMask}} - -Sets the item state. For a list of state flags, see \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem}. - -The {\bf stateMask} indicates which state flags are valid. - -\membersection{wxListCtrl::SetItemText}\label{wxlistctrlsetitemtext} - -\func{void}{SetItemText}{\param{long }{item}, \param{const wxString\& }{text}} - -Sets the item text for this item. - -\membersection{wxListCtrl::SetSingleStyle}\label{wxlistctrlsetsinglestyle} - -\func{void}{SetSingleStyle}{\param{long }{style}, \param{const bool }{add = TRUE}} - -Adds or removes a single window style. - -\membersection{wxListCtrl::SetTextColour}\label{wxlistctrlsettextcolour} - -\func{void}{SetTextColour}{\param{const wxColour\& }{col}} - -Sets the text colour of the list control. - -\membersection{wxListCtrl::SetWindowStyleFlag}\label{wxlistctrlsetwindowstyleflag} - -\func{void}{SetWindowStyleFlag}{\param{long }{style}} - -Sets the whole window style. - -\membersection{wxListCtrl::SortItems}\label{wxlistctrlsortitems} - -\func{bool}{SortItems}{\param{wxListCtrlCompare }{fn}, \param{long }{data}} - -Sorts the items in the list control. - -fn is a function which takes 3 long arguments: item1, item2, data. - -item1 is the long data associated with a first item (NOT the index). - -item2 is the long data associated with a second item (NOT the index). - -data is the same value as passed to SortItems. - -The return value is a negative number if the first item should precede the second -item, a positive number of the second item should precede the first, -or zero if the two items are equivalent. - -data is arbitrary data to be passed to the sort function. - diff --git a/docs/latex/wx/listevt.tex b/docs/latex/wx/listevt.tex deleted file mode 100644 index e1561cda4d..0000000000 --- a/docs/latex/wx/listevt.tex +++ /dev/null @@ -1,87 +0,0 @@ -\section{\class{wxListEvent}}\label{wxlistevent} - -A list event holds information about events associated with wxListCtrl objects. - -\wxheading{Derived from} - -\helpref{wxCommandEvent}{wxcommandevent}\\ -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process input from a list control, use these event handler macros to direct input to member -functions that take a wxListEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_LIST\_BEGIN\_DRAG(id, func)}}{Begin dragging with the left mouse button.} -\twocolitem{{\bf EVT\_LIST\_BEGIN\_RDRAG(id, func)}}{Begin dragging with the right mouse button.} -\twocolitem{{\bf EVT\_LIST\_BEGIN\_LABEL\_EDIT(id, func)}}{Begin editing a label.} -\twocolitem{{\bf EVT\_LIST\_END\_LABEL\_EDIT(id, func)}}{Finish editing a label.} -\twocolitem{{\bf EVT\_LIST\_DELETE\_ITEM(id, func)}}{Delete an item.} -\twocolitem{{\bf EVT\_LIST\_DELETE\_ALL\_ITEMS(id, func)}}{Delete all items.} -\twocolitem{{\bf EVT\_LIST\_GET\_INFO(id, func)}}{Request information from the application, usually the item text.} -\twocolitem{{\bf EVT\_LIST\_SET\_INFO(id, func)}}{Information is being supplied (not implemented).} -\twocolitem{{\bf EVT\_LIST\_ITEM\_SELECTED(id, func)}}{The item has been selected.} -\twocolitem{{\bf EVT\_LIST\_ITEM\_DESELECTED(id, func)}}{The item has been deselected.} -\twocolitem{{\bf EVT\_LIST\_KEY\_DOWN(id, func)}}{A key has been pressed.} -\twocolitem{{\bf EVT\_LIST\_INSERT\_ITEM(id, func)}}{An item has been inserted.} -\twocolitem{{\bf EVT\_LIST\_COL\_CLICK(id, func)}}{A column ({\bf m\_col}) has been left-clicked.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxListCtrl}{wxlistctrl} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxListEvent::wxListEvent} - -\func{}{wxListEvent}{\param{WXTYPE }{commandType = 0}, \param{int }{id = 0}} - -Constructor. - -\membersection{wxListEvent::m\_code} - -\member{int}{m\_code} - -Key code if the event is a keypress event. - -\membersection{wxListEvent::m\_itemIndex} - -\member{long}{m\_itemIndex} - -The item index. - -\membersection{wxListEvent::m\_oldItemIndex} - -\member{long}{m\_oldItemIndex} - -The old item index. - -\membersection{wxListEvent::m\_col} - -\member{int}{m\_col} - -The column position. - -\membersection{wxListEvent::m\_cancelled} - -\member{bool}{m\_cancelled} - -TRUE if this event is an end edit event and the user cancelled the edit. - -\membersection{wxListEvent::m\_pointDrag} - -\member{wxPoint}{m\_pointDrag} - -The position of the mouse pointer if the event is a drag event. - -\membersection{wxListEvent::m\_item} - -\member{wxListItem}{m\_item} - -An item object, used by some events. See also \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem}. - - diff --git a/docs/latex/wx/manual.tex b/docs/latex/wx/manual.tex deleted file mode 100644 index 5cceeb4106..0000000000 --- a/docs/latex/wx/manual.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{report} -% JACS: doesn't make it through Tex2RTF, sorry.I'll put it into texhelp.sty -% since Tex2RTF doesn't parse it. -% BTW, style MUST be report for it to work for Tex2RTF. -%KB: -%\addtolength{\textwidth}{1in} -%\addtolength{\oddsidemargin}{-0.5in} -%\addtolength{\topmargin}{-0.5in} -%\addtolength{\textheight}{1in} -%\sloppy -%end of my changes -\newcommand{\indexit}[1]{#1\index{#1}}% -\newcommand{\pipe}[0]{$\|$\ }% -\definecolour{black}{0}{0}{0}% -\definecolour{cyan}{0}{255}{255}% -\definecolour{green}{0}{255}{0}% -\definecolour{magenta}{255}{0}{255}% -\definecolour{red}{255}{0}{0}% -\definecolour{blue}{0}{0}{200}% -\definecolour{yellow}{255}{255}{0}% -\definecolour{white}{255}{255}{255}% -% -\input psbox.tex -% Remove this for processing with dvi2ps instead of dvips -%\special{!/@scaleunit 1 def} -\parskip=10pt -\parindent=0pt -\title{User Manual for wxWindows 2.0: a portable C++ GUI toolkit} -\winhelponly{\author{by Julian Smart -%\winhelponly{\\$$\image{1cm;0cm}{wxwin.wmf}$$} -}} -\winhelpignore{\author{Julian Smart} -\date{July 31st 1998} -} -\makeindex -\begin{document} -\maketitle -\pagestyle{fancyplain} -\bibliographystyle{plain} -\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}} -\setfooter{\thepage}{}{}{}{}{\thepage}% -\pagenumbering{roman} -\tableofcontents - -% A special table of contents for the WinHelp manual -\begin{comment} -\winhelponly{ -\chapter*{wxWindows class library reference}\label{winhelpcontents} - -\center{ -%\image{}{wxwin.wmf} -}% - -\sethotspotcolour{off}% -\sethotspotunderline{on}% -\large{ -\image{}{cpp.bmp} \helpref{Alphabetical class reference}{classref} - -\image{}{shelves.bmp} \helpref{Classes by category}{classesbycat} - -\image{}{book1.bmp} \helpref{Topic overviews}{overviews} - -\image{}{hand1.bmp} \helpref{Guide to wxWindows}{wxwinchapters} -} -\sethotspotcolour{on}% -\sethotspotunderline{on}% - -\chapter*{Overview of wxWindows}\label{wxwinchapters} - -\helpref{Introduction}{introduction}\\ -%\helpref{Resource guide}{resguide}\\ -%\helpref{Comparison with other GUI models}{comparison}\\ -%\helpref{Multi-platform development with wxWindows}{multiplat}\\ -%\helpref{Tutorial}{tutorial}\\ -\helpref{The wxWindows resource system}{resourceformats}\\ -\helpref{Utilities}{utilities}\\ -\helpref{Programming strategies}{strategies}\\ -\helpref{Bugs and future directions}{bugs}\\ -\helpref{References}{bibliography} -} -\end{comment} - -\chapter*{Copyright notice} -\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -\begin{center} -Copyright (c) 1998 Julian Smart, Markus Holzem, Robert Roebling and other -members of the wxWindows team\\ -Portions (c) 1996 Artificial Intelligence Applications Institute\\ -\end{center} - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose is hereby granted without fee, provided that the -above copyright notice, author statement and this permission notice appear in -all copies of this software and related documentation. - -THE SOFTWARE IS PROVIDED ``AS-IS'' AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, -IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE -UNIVERSITY OF EDINBURGH OR ANY MEMBERS OF THE WXWINDOWS TEAM BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR -CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF -DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH -THE USE OR PERFORMANCE OF THIS SOFTWARE. - -\input{body.tex} -\helpinput{classes.tex} -\helpinput{category.tex} -\helpinput{topics.tex} - -\begin{comment} -\newpage - -% Puts books in the bibliography without needing to cite them in the -% text -\nocite{helpbook}% -\nocite{wong93}% -\nocite{pree94}% -\nocite{gamma95}% -\nocite{smart95a}% -\nocite{smart95b}% - -\bibliography{refs} -\addcontentsline{toc}{chapter}{Bibliography} -\setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% -\end{comment} - -\newpage -\addcontentsline{toc}{chapter}{Index} -\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% -\printindex -\end{document} diff --git a/docs/latex/wx/mask.tex b/docs/latex/wx/mask.tex deleted file mode 100644 index 7f004df69e..0000000000 --- a/docs/latex/wx/mask.tex +++ /dev/null @@ -1,76 +0,0 @@ -\section{\class{wxMask}}\label{wxmask} - -This class encapsulates a monochrome mask bitmap, where the masked area is black and -the unmasked area is white. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -A mask may be associated with a \helpref{wxBitmap}{wxbitmap}. It is used in \helpref{wxDC::Blit}{wxdcblit} when -the source device context is a \helpref{wxMemoryDC}{wxmemorydc} with wxBitmap selected into it that -contains a mask. - -\wxheading{See also} - -\helpref{wxBitmap}{wxbitmap}, \helpref{wxDC::Blit}{wxdcblit}, \helpref{wxMemoryDC}{wxmemorydc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMask::wxMask}\label{wxmaskconstr} - -\func{}{wxMask}{\void} - -Default constructor. - -\func{}{wxMask}{\param{const wxBitmap\& }{bitmap}} - -Constructs a mask from a monochrome bitmap. - -\func{}{wxMask}{\param{const wxBitmap\& }{bitmap}, \param{const wxColour\& }{colour}} - -Constructs a mask from a bitmap and a colour that indicates the background. - -\func{}{wxMask}{\param{const wxBitmap\& }{bitmap}, \param{int}{ index}} - -Constructs a mask from a bitmap and a palette index that indicates the background. - -\wxheading{Parameters} - -\docparam{bitmap}{A valid bitmap.} - -\docparam{colour}{A colour specifying the transparency RGB values.} - -\docparam{index}{Index into a palette, specifying the transparency colour.} - -\membersection{wxMask::\destruct{wxMask}} - -\func{}{\destruct{wxMask}}{\void} - -Destroys the wxMask object and the underlying bitmap data. - -\membersection{wxMask::Create}\label{wxmaskcreate} - -\func{bool}{Create}{\param{const wxBitmap\& }{bitmap}} - -Constructs a mask from a monochrome bitmap. - -\func{bool}{Create}{\param{const wxBitmap\& }{bitmap}, \param{const wxColour\& }{colour}} - -Constructs a mask from a bitmap and a colour that indicates the background. - -\func{bool}{Create}{\param{const wxBitmap\& }{bitmap}, \param{int}{ index}} - -Constructs a mask from a bitmap and a palette index that indicates the background. - -\wxheading{Parameters} - -\docparam{bitmap}{A valid bitmap.} - -\docparam{colour}{A colour specifying the transparency RGB values.} - -\docparam{index}{Index into a palette, specifying the transparency colour.} - - diff --git a/docs/latex/wx/mdi.tex b/docs/latex/wx/mdi.tex deleted file mode 100644 index 11666e82c5..0000000000 --- a/docs/latex/wx/mdi.tex +++ /dev/null @@ -1,515 +0,0 @@ -\section{\class{wxMDIChildFrame}}\label{wxmdichildframe} - -An MDI child frame is a frame that can only exist on a \helpref{wxMDIClientWindow}{wxmdiclientwindow}, -which is itself a child of \helpref{wxMDIParentFrame}{wxmdiparentframe}. - -\wxheading{Derived from} - -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the frame.} -\twocolitem{\windowstyle{wxDEFAULT\_FRAME\_STYLE}}{Defined as {\bf wxMINIMIZE\_BOX \pipe wxMAXIMIZE\_BOX \pipe wxTHICK\_FRAME \pipe wxSYSTEM\_MENU \pipe wxCAPTION}.} -\twocolitem{\windowstyle{wxICONIZE}}{Display the frame iconized (minimized) (Windows only).} -\twocolitem{\windowstyle{wxMAXIMIZE}}{Displays the frame maximized (Windows only).} -\twocolitem{\windowstyle{wxMAXIMIZE\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxMINIMIZE}}{Identical to {\bf wxICONIZE}.} -\twocolitem{\windowstyle{wxMINIMIZE\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Displays a resizeable border around the window (Motif only; -for Windows, it is implicit in wxTHICK\_FRAME).} -\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{Stay on top of other windows (Windows only).} -\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Displays a system menu (Windows and Motif only).} -\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Displays a thick frame around the window (Windows and Motif only).} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Remarks} - -Although internally an MDI child frame is a child of the MDI client window, in wxWindows -you create it as a child of \helpref{wxMDIParentFrame}{wxmdiparentframe}. You can usually -forget that the client window exists. - -MDI child frames are clipped to the area of the MDI client window, and may be iconized -on the client window. - -You can associate a menubar with a child frame as usual, although an MDI child doesn't display -its menubar under its own title bar. The MDI parent frame's menubar will be changed to -reflect the currently active child frame. If there are currently no children, the parent -frame's own menubar will be displayed. - -\wxheading{See also} - -\helpref{wxMDIClientWindow}{wxmdiclientwindow}, \helpref{wxMDIParentFrame}{wxmdiparentframe},\rtfsp -\helpref{wxFrame}{wxframe} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMDIChildFrame::wxMDIChildFrame}\label{wxmdichildframeconstr} - -\func{}{wxMDIChildFrame}{\void} - -Default constructor. - -\func{}{wxMDIChildFrame}{\param{wxMDIParentFrame* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Constructor, creating the window. - -\wxheading{Parameters} - -\docparam{parent}{The window parent. This should not be NULL.} - -\docparam{id}{The window identifier. It may take a value of -1 to indicate a default value.} - -\docparam{title}{The caption to be displayed on the frame's title bar.} - -\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{style}{The window style. See \helpref{wxMDIChildFrame}{wxmdichildframe}.} - -\docparam{name}{The name of the window. This parameter is used to associate a name with the item, -allowing the application user to set Motif resource values for -individual windows.} - -\wxheading{Remarks} - -None. - -\wxheading{See also} - -\helpref{wxMDIChildFrame::Create}{wxmdichildframecreate} - -\membersection{wxMDIChildFrame::\destruct{wxMDIChildFrame}} - -\func{}{\destruct{wxMDIChildFrame}}{\void} - -Destructor. Destroys all child windows and menu bar if present. - -\membersection{wxMDIChildFrame::Activate}\label{wxmdichildframeactivate} - -\func{void}{Activate}{\void} - -Activates this MDI child frame. - -\wxheading{See also} - -\helpref{wxMDIChildFrame::Maximize}{wxmdichildframemaximize},\rtfsp -\helpref{wxMDIChildFrame::Restore}{wxmdichildframerestore} - -\membersection{wxMDIChildFrame::Create}\label{wxmdichildframecreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Used in two-step frame construction. See \helpref{wxMDIChildFrame::wxMDIChildFrame}{wxmdichildframeconstr}\rtfsp -for further details. - -\membersection{wxMDIChildFrame::Maximize}\label{wxmdichildframemaximize} - -\func{void}{Maximize}{\void} - -Maximizes this MDI child frame. - -\wxheading{See also} - -\helpref{wxMDIChildFrame::Activate}{wxmdichildframeactivate},\rtfsp -\helpref{wxMDIChildFrame::Restore}{wxmdichildframerestore} - -\membersection{wxMDIChildFrame::Restore}\label{wxmdichildframerestore} - -\func{void}{Restore}{\void} - -Restores this MDI child frame (unmaximizes). - -\wxheading{See also} - -\helpref{wxMDIChildFrame::Activate}{wxmdichildframeactivate},\rtfsp -\helpref{wxMDIChildFrame::Maximize}{wxmdichildframemaximize} - - -\section{\class{wxMDIClientWindow}}\label{wxmdiclientwindow} - -An MDI client window is a child of \helpref{wxMDIParentFrame}{wxmdiparentframe}, and manages zero or -more \helpref{wxMDIChildFrame}{wxmdichildframe} objects. - -\wxheading{Derived from} - -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -The client window is the area where MDI child windows exist. It doesn't have to cover the whole -parent frame; other windows such as toolbars and a help window might coexist with it. -There can be scrollbars on a client window, which are controlled by the parent window style. - -The {\bf wxMDIClientWindow} class is usually adequate without further derivation, and it is created -automatically when the MDI parent frame is created. If the application needs to derive a new class, -the function \helpref{wxMDIParentFrame::OnCreateClient}{wxmdiparentframeoncreateclient} must be -overridden in order to give an opportunity to use a different class of client window. - -Under Windows 95, the client window will automatically have a sunken border style when -the active child is not maximized, and no border style when a child is maximized. - -\wxheading{See also} - -\helpref{wxMDIChildFrame}{wxmdichildframe}, \helpref{wxMDIParentFrame}{wxmdiparentframe},\rtfsp -\helpref{wxFrame}{wxframe} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMDIClientWindow::wxMDIClientWindow}\label{wxmdiclientwindowconstr} - -\func{}{wxMDIClientWindow}{\void} - -Default constructor. - -\func{}{wxMDIClientWindow}{\param{wxMDIParentFrame* }{parent}, \param{long}{ style = 0}} - -Constructor, creating the window. - -\wxheading{Parameters} - -\docparam{parent}{The window parent.} - -\docparam{style}{The window style. Currently unused.} - -\wxheading{Remarks} - -The second style of constructor is called within \helpref{wxMDIParentFrame::OnCreateClient}{wxmdiparentframeoncreateclient}. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::wxMDIParentFrame}{wxmdiparentframeconstr},\rtfsp -\helpref{wxMDIParentFrame::OnCreateClient}{wxmdiparentframeoncreateclient} - -\membersection{wxMDIClientWindow::\destruct{wxMDIClientWindow}} - -\func{}{\destruct{wxMDIClientWindow}}{\void} - -Destructor. - -\membersection{wxMDIClientWindow::CreateClient}\label{wxmdiclientwindowcreateclient} - -\func{bool}{CreateClient}{\param{wxMDIParentFrame* }{parent}, \param{long}{ style = 0}} - -Used in two-step frame construction. See \helpref{wxMDIClientWindow::wxMDIClientWindow}{wxmdiclientwindowconstr}\rtfsp -for further details. - -\section{\class{wxMDIParentFrame}}\label{wxmdiparentframe} - -An MDI (Multiple Document Interface) parent frame is a window which can contain -MDI child frames in its own `desktop'. It is a convenient way to avoid window clutter, -and is used in many popular Windows applications, such as Microsoft Word(TM). - -\wxheading{Derived from} - -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -There may be multiple MDI parent frames in a single application, but this probably only makes sense -within programming development environments. - -Child frames may be either \helpref{wxMDIChildFrame}{wxmdichildframe}, or \helpref{wxFrame}{wxframe}. - -An MDI parent frame always has a \helpref{wxMDIClientWindow}{wxmdiclientwindow} associated with it, which -is the parent for MDI client frames. -This client window may be resized to accomodate non-MDI windows, as seen in Microsoft Visual C++ (TM) and -Microsoft Publisher (TM), where a documentation window is placed to one side of the workspace. - -MDI remains popular despite dire warnings from Microsoft itself that MDI is an obsolete -user interface style. - -The implementation is native in Windows, and simulated under Motif. Under Motif, -the child window frames will often have a different appearance from other frames -because the window decorations are simulated. - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the frame.} -\twocolitem{\windowstyle{wxDEFAULT\_FRAME\_STYLE}}{Defined as {\bf wxMINIMIZE\_BOX \pipe wxMAXIMIZE\_BOX \pipe wxTHICK\_FRAME \pipe wxSYSTEM\_MENU \pipe wxCAPTION}.} -\twocolitem{\windowstyle{wxHSCROLL}}{Displays a horizontal scrollbar in the {\it client window}, allowing -the user to view child frames that are off the current view.} -\twocolitem{\windowstyle{wxICONIZE}}{Display the frame iconized (minimized) (Windows only).} -\twocolitem{\windowstyle{wxMAXIMIZE}}{Displays the frame maximized (Windows only).} -\twocolitem{\windowstyle{wxMAXIMIZE\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxMINIMIZE}}{Identical to {\bf wxICONIZE}.} -\twocolitem{\windowstyle{wxMINIMIZE\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Displays a resizeable border around the window (Motif only; -for Windows, it is implicit in wxTHICK\_FRAME).} -\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{Stay on top of other windows (Windows only).} -\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Displays a system menu (Windows and Motif only).} -\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Displays a thick frame around the window (Windows and Motif only).} -\twocolitem{\windowstyle{wxVSCROLL}}{Displays a vertical scrollbar in the {\it client window}, allowing -the user to view child frames that are off the current view.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{See also} - -\helpref{wxMDIChildFrame}{wxmdichildframe}, \helpref{wxMDIClientWindow}{wxmdiclientwindow},\rtfsp -\helpref{wxFrame}{wxframe}, \helpref{wxDialog}{wxdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMDIParentFrame::wxMDIParentFrame}\label{wxmdiparentframeconstr} - -\func{}{wxMDIParentFrame}{\void} - -Default constructor. - -\func{}{wxMDIParentFrame}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE \pipe wxVSCROLL \pipe wxHSCROLL},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Constructor, creating the window. - -\wxheading{Parameters} - -\docparam{parent}{The window parent. This should be NULL.} - -\docparam{id}{The window identifier. It may take a value of -1 to indicate a default value.} - -\docparam{title}{The caption to be displayed on the frame's title bar.} - -\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{style}{The window style. See \helpref{wxMDIParentFrame}{wxmdiparentframe}.} - -\docparam{name}{The name of the window. This parameter is used to associate a name with the item, -allowing the application user to set Motif resource values for -individual windows.} - -\wxheading{Remarks} - -During the construction of the frame, the client window will be created. To use a different class -from \helpref{wxMDIClientWindow}{wxmdiclientwindow}, override\rtfsp -\helpref{wxMDIParentFrame::OnCreateClient}{wxmdiparentframeoncreateclient}. - -Under Windows 95, the client window will automatically have a sunken border style when -the active child is not maximized, and no border style when a child is maximized. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::Create}{wxmdiparentframecreate},\rtfsp -\helpref{wxMDIParentFrame::OnCreateClient}{wxmdiparentframeoncreateclient} - -\membersection{wxMDIParentFrame::\destruct{wxMDIParentFrame}} - -\func{}{\destruct{wxMDIParentFrame}}{\void} - -Destructor. Destroys all child windows and menu bar if present. - -\membersection{wxMDIParentFrame::ActivateNext}\label{wxmdiparentframeactivatenext} - -\func{void}{ActivateNext}{\void} - -Activates the MDI child following the currently active one. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::ActivatePrevious}{wxmdiparentframeactivateprevious} - -\membersection{wxMDIParentFrame::ActivatePrevious}\label{wxmdiparentframeactivateprevious} - -\func{void}{ActivatePrevious}{\void} - -Activates the MDI child preceding the currently active one. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::ActivateNext}{wxmdiparentframeactivatenext} - - -\membersection{wxMDIParentFrame::ArrangeIcons}\label{wxmdiparentframearrangeicons} - -\func{void}{ArrangeIcons}{\void} - -Arranges any iconized (minimized) MDI child windows. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::Cascade}{wxmdiparentframecascade},\rtfsp -\helpref{wxMDIParentFrame::Tile}{wxmdiparentframetile} - -\membersection{wxMDIParentFrame::Cascade}\label{wxmdiparentframecascade} - -\func{void}{Cascade}{\void} - -Arranges the MDI child windows in a cascade. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::Tile}{wxmdiparentframetile},\rtfsp -\helpref{wxMDIParentFrame::ArrangeIcons}{wxmdiparentframearrangeicons} - -\membersection{wxMDIParentFrame::Create}\label{wxmdiparentframecreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE \pipe wxVSCROLL \pipe wxHSCROLL},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Used in two-step frame construction. See \helpref{wxMDIParentFrame::wxMDIParentFrame}{wxmdiparentframeconstr}\rtfsp -for further details. - -\membersection{wxMDIParentFrame::GetClientSize}\label{wxmdiparentframegetclientsize} - -\constfunc{virtual void}{GetClientSize}{\param{int* }{width}, \param{int* }{height}} - -This gets the size of the frame `client area' in pixels. - -\wxheading{Parameters} - -\docparam{width}{Receives the client width in pixels.} - -\docparam{height}{Receives the client height in pixels.} - -\wxheading{Remarks} - -The client area is the area which may be drawn on by the programmer, excluding title bar, border, status bar, -and toolbar if present. - -If you wish to manage your own toolbar (or perhaps you have more than one), -provide an {\bf OnSize} event handler. Call {\bf GetClientSize} to -find how much space there is for your windows and don't forget to set the size and position -of the MDI client window as well as your toolbar and other windows (but not the status bar). - -If you have set a toolbar with \helpref{wxMDIParentFrame::SetToolbar}{wxmdiparentframesettoolbar}, -the client size returned will have subtracted the toolbar height. However, the available positions -for the client window and other windows of the frame do not start at zero - you must add the toolbar height. - -The position and size of the status bar and toolbar (if known to the frame) are always managed -by {\bf wxMDIParentFrame}, regardless of what behaviour is defined in your {\bf OnSize} event handler. -However, the client window position and size are always set in {\bf OnSize}, so if you override this -event handler, make sure you deal with the client window. - -You do not have to manage the size and position of MDI child windows, since they are managed -automatically by the client window. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::GetToolBar}{wxmdiparentframegettoolbar},\rtfsp -\helpref{wxMDIParentFrame::SetToolBar}{wxmdiparentframesettoolbar},\rtfsp -\helpref{wxWindow}{wxwindowonsize},\rtfsp -\helpref{wxMDIClientWindow}{wxmdiclientwindow} - -\membersection{wxMDIParentFrame::GetActiveChild}\label{wxmdiparentframegetactivechild} - -\constfunc{wxMDIChildFrame*}{GetActiveChild}{\void} - -Returns a pointer to the active MDI child, if there is one. - -\membersection{wxMDIParentFrame::GetClientWindow}\label{wxmdiparentframegetclientwindow} - -\constfunc{wxMDIClientWindow*}{GetClientWindow}{\void} - -Returns a pointer to the client window. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::OnCreateClient}{wxmdiparentframeoncreateclient} - -\membersection{wxMDIParentFrame::GetToolBar}\label{wxmdiparentframegettoolbar} - -\constfunc{virtual wxWindow*}{GetToolBar}{\void} - -Returns the window being used as the toolbar for this frame. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::SetToolBar}{wxmdiparentframesettoolbar} - -\membersection{wxMDIParentFrame::OnCreateClient}\label{wxmdiparentframeoncreateclient} - -\func{virtual wxMDIClientWindow*}{OnCreateClient}{\void} - -Override this to return a different kind of client window. - -\wxheading{Remarks} - -You might wish to derive from \helpref{wxMDIClientWindow}{wxmdiclientwindow} in order -to implement different erase behaviour, for example, such as painting a bitmap -on the background. - -Note that it is probably impossible to have a client window that scrolls as well as painting -a bitmap or pattern, since in {\bf OnScroll}, the scrollbar positions always return zero. -(Solutions to: \verb$julian.smart@ukonline.co.uk$). - -\wxheading{See also} - -\helpref{wxMDIParentFrame::GetClientWindow}{wxmdiparentframegetclientwindow},\rtfsp -\helpref{wxMDIClientWindow}{wxmdiclientwindow} - -\membersection{wxMDIParentFrame::SetToolBar}\label{wxmdiparentframesettoolbar} - -\func{virtual void}{SetToolBar}{\param{wxWindow*}{ toolbar}} - -Sets the window to be used as a toolbar for this -MDI parent window. It saves the application having to manage the positioning -of the toolbar MDI client window. - -\wxheading{Parameters} - -\docparam{toolbar}{Toolbar to manage.} - -\wxheading{Remarks} - -When the frame is resized, the toolbar is resized to be the width of -the frame client area, and the toolbar height is kept the same. - -The parent of the toolbar must be this frame. - -If you wish to manage your own toolbar (or perhaps you have more than one), -don't call this function, and instead manage your subwindows and the MDI client window by -providing an {\bf OnSize} event handler. Call \helpref{wxMDIParentFrame::GetClientSize}{wxmdiparentframegetclientsize} to -find how much space there is for your windows. - -Note that SDI (normal) frames and MDI child windows must always have their -toolbars managed by the application. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::GetToolBar}{wxmdiparentframegettoolbar},\rtfsp -\helpref{wxMDIParentFrame::GetClientSize}{wxmdiparentframegetclientsize} - -\membersection{wxMDIParentFrame::Tile}\label{wxmdiparentframetile} - -\func{void}{Tile}{\void} - -Tiles the MDI child windows. - -\wxheading{See also} - -\helpref{wxMDIParentFrame::Cascade}{wxmdiparentframecascade},\rtfsp -\helpref{wxMDIParentFrame::ArrangeIcons}{wxmdiparentframearrangeicons} - - diff --git a/docs/latex/wx/memorydc.tex b/docs/latex/wx/memorydc.tex deleted file mode 100644 index ac29294fa4..0000000000 --- a/docs/latex/wx/memorydc.tex +++ /dev/null @@ -1,57 +0,0 @@ -\section{\class{wxMemoryDC}}\label{wxmemorydc} - -A memory device context provides a means to draw graphics onto a bitmap. - -\wxheading{Derived from} - -\helpref{wxDC}{wxdc}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -A bitmap must be selected into the new memory DC before it may be used -for anything. Typical usage is as follows: - -\begin{verbatim} - // Create a memory DC - wxMemoryDC temp_dc; - temp_dc.SelectObject(test_bitmap); - - // We can now draw into the memory DC... - // Copy from this DC to another DC. - old_dc.Blit(250, 50, BITMAP_WIDTH, BITMAP_HEIGHT, temp_dc, 0, 0); -\end{verbatim} - -Note that the memory DC {\it must} be deleted (or the bitmap selected out of it) before a bitmap -can be reselected into another memory DC. - -\wxheading{See also} - -\helpref{wxBitmap}{wxbitmap}, \helpref{wxDC}{wxdc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMemoryDC::wxMemoryDC} - -\func{}{wxMemoryDC}{\void} - -Constructs a new memory device context. - -Use the {\it Ok} member to test whether the constructor was successful -in creating a useable device context. Don't forget to select a bitmap -into the DC before drawing on it. - -\membersection{wxMemoryDC::SelectObject} - -\func{}{SelectObject}{\param{const wxBitmap\& }{bitmap}} - -Selects the given bitmap into the device context, to use as the memory -bitmap. Selecting the bitmap into a memory DC allows you to draw into -the DC (and therefore the bitmap) and also to use {\bf Blit} to copy -the bitmap to a window. For this purpose, you may find \helpref{wxDC::DrawIcon}{wxdcdrawicon}\rtfsp -easier to use instead. - -If the argument is wxNullBitmap (or some other uninitialised wxBitmap) the current bitmap is selected out of the device -context, and the original bitmap restored, allowing the current bitmap to -be destroyed safely. - diff --git a/docs/latex/wx/menu.tex b/docs/latex/wx/menu.tex deleted file mode 100644 index c39660ccbf..0000000000 --- a/docs/latex/wx/menu.tex +++ /dev/null @@ -1,611 +0,0 @@ -\section{\class{wxMenu}}\label{wxmenu} - -A menu is a popup (or pull down) list of items, one of which may be -selected before the menu goes away (clicking elsewhere dismisses the -menu). Menus may be used to construct either menu bars or popup menus. - -A menu item has an integer ID associated with it which can be used to -identify the selection, or to change the menu item in some way. - -\wxheading{Derived from} - -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event handling} - -If the menu is part of a menubar, then \helpref{wxMenuBar}{wxmenubar} event processing is used. - -With a popup menu, there is a variety of ways to handle a menu selection event -(wxEVT\_COMMAND\_MENU\_SELECTED). - -\begin{enumerate}\itemsep=0pt -\item Define a callback of type wxFunction, which you pass to the wxMenu constructor. -The callback takes a reference to the menu, and a reference to a \helpref{wxCommandEvent}{wxcommandevent}. -\item Derive a new class from wxMenu and define event table entries using the EVT\_MENU macro. -\item Set a new event handler for wxMenu, using an object whose class has EVT\_MENU entries. -\item Provide EVT\_MENU handlers in the window which pops up the menu, or in an ancestor of -this window. -\end{enumerate} - -\wxheading{See also} - -\helpref{wxMenuBar}{wxmenubar}, \helpref{wxWindow::PopupMenu}{wxwindowpopupmenu},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMenu::wxMenu}\label{wxmenuconstr} - -\func{}{wxMenu}{\param{const wxString\& }{title = ""}, \param{const wxFunction}{ func = NULL}} - -Constructs a wxMenu object. - -\wxheading{Parameters} - -\docparam{title}{A title for the popup menu: the empty string denotes no title.} - -\docparam{func}{A callback function if the menu is used as a popup using \helpref{wxWindow::PopupMenu}{wxwindowpopupmenu}.} - -\membersection{wxMenu::\destruct{wxMenu}} - -\func{}{\destruct{wxMenu}}{\void} - -Destructor, destroying the menu. - -\membersection{wxMenu::Append}\label{wxmenuappend} - -\func{void}{Append}{\param{int}{ id}, \param{const wxString\& }{ item}, \param{const wxString\& }{helpString = ""},\rtfsp -\param{const bool}{ checkable = FALSE}} - -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. - -\func{void}{Append}{\param{wxMenuItem*}{ menuItem}} - -Adds a menu item object. You can specify various extra properties of a menu item this way, -such as bitmaps and fonts. - -\wxheading{Parameters} - -\docparam{id}{The menu command identifier.} - -\docparam{item}{The string to appear on the menu item.} - -\docparam{menu}{Pull-right submenu.} - -\docparam{checkable}{If TRUE, this item is checkable.} - -\docparam{helpString}{An optional help string associated with the item. -By default, \helpref{wxFrame::OnMenuHighlight}{wxframeonmenuhighlight} displays -this string in the status line.} - -\docparam{menuItem}{A menuitem object. It will be owned by the wxMenu object after this function -is called, so do not delete it yourself.} - -\wxheading{Remarks} - -This command can be used after the menu has been shown, as well as on initial -creation of a menu or menubar. - -\wxheading{See also} - -\helpref{wxMenu::AppendSeparator}{wxmenuappendseparator}, \helpref{wxMenu::SetLabel}{wxmenusetlabel}, \helpref{wxMenu::GetHelpString}{wxmenugethelpstring},\rtfsp -\helpref{wxMenu::SetHelpString}{wxmenusethelpstring}, \helpref{wxMenuItem}{wxmenuitem} - -\membersection{wxMenu::AppendSeparator}\label{wxmenuappendseparator} - -\func{void}{AppendSeparator}{\void} - -Adds a separator to the end of the menu. - -\wxheading{See also} - -\helpref{wxMenu::Append}{wxmenuappend} - -\membersection{wxMenu::Break}\label{wxmenubreak} - -\func{void}{Break}{\void} - -Inserts a break in a menu, causing the next appended item to appear in a new column. - -\membersection{wxMenu::Check}\label{wxmenucheck} - -\func{void}{Check}{\param{int}{ id}, \param{const bool}{ check}} - -Checks or unchecks the menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\docparam{check}{If TRUE, the item will be checked, otherwise it will be unchecked.} - -\wxheading{See also} - -\helpref{wxMenu::IsChecked}{wxmenuischecked} - -\membersection{wxMenu::Enable}\label{wxmenuenable} - -\func{void}{Enable}{\param{int}{ id}, \param{const bool}{ enable}} - -Enables or disables (greys out) a menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\docparam{enable}{TRUE to enable the menu item, FALSE to disable it.} - -\wxheading{See also} - -\helpref{wxMenu::IsEnabled}{wxmenuisenabled} - -\membersection{wxMenu::FindItem}\label{wxmenufinditem} - -\constfunc{int}{FindItem}{\param{const wxString\& }{itemString}} - -Finds the menu item id for a menu item string. - -\wxheading{Parameters} - -\docparam{itemString}{Menu item string to find.} - -\wxheading{Return value} - -Menu item identifier, or -1 if none is found. - -\wxheading{Remarks} - -Any special menu codes are stripped out of source and target strings -before matching. - -\wxheading{See also} - -\helpref{wxMenu::FindItemForId}{wxmenufinditemforid} - -\membersection{wxMenu::FindItemForId}\label{wxmenufinditemforid} - -\constfunc{wxMenuItem*}{FindItemForId}{\param{int}{ id}} - -Finds the menu item object associated with the given menu item identifier. - -\wxheading{Parameters} - -\docparam{id}{Menu item identifier.} - -\wxheading{Return value} - -Returns the menu item object, or NULL if it is not found. - -\wxheading{See also} - -\helpref{wxMenu::FindItem}{wxmenufinditem} - -\membersection{wxMenu::GetHelpString}\label{wxmenugethelpstring} - -\constfunc{wxString}{GetHelpString}{\param{int}{ id}} - -Returns the help string associated with a menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -The help string, or the empty string if there is no help string or the -item was not found. - -\wxheading{See also} - -\helpref{wxMenu::SetHelpString}{wxmenusethelpstring}, \helpref{wxMenu::Append}{wxmenuappend} - -\membersection{wxMenu::GetLabel}\label{wxmenugetlabel} - -\constfunc{wxString}{GetLabel}{\param{int}{ id}} - -Returns a menu item label. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -The item label, or the empty string if the item was not found. - -\wxheading{See also} - -\helpref{wxMenu::SetLabel}{wxmenusetlabel} - -\membersection{wxMenu::GetTitle}\label{wxmenugettitle} - -\constfunc{wxString}{GetTitle}{\void} - -Returns the title of the menu. - -\wxheading{Remarks} - -This is relevant only to popup menus. - -\wxheading{See also} - -\helpref{wxMenu::SetTitle}{wxmenusettitle} - -\membersection{wxMenu::IsChecked}\label{wxmenuischecked} - -\constfunc{bool}{IsChecked}{\param{int}{ id}} - -Determines whether a menu item is checked. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -TRUE if the menu item is checked, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxMenu::Check}{wxmenucheck} - -\membersection{wxMenu::IsEnabled}\label{wxmenuisenabled} - -\constfunc{bool}{IsEnabled}{\param{int}{ id}} - -Determines whether a menu item is enabled. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -TRUE if the menu item is enabled, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxMenu::Enable}{wxmenuenable} - -\membersection{wxMenu::SetHelpString}\label{wxmenusethelpstring} - -\func{void}{SetHelpString}{\param{int}{ id}, \param{const wxString\& }{helpString}} - -Sets an item's help string. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\docparam{helpString}{The help string to set.} - -\wxheading{See also} - -\helpref{wxMenu::GetHelpString}{wxmenugethelpstring} - -\membersection{wxMenu::SetLabel}\label{wxmenusetlabel} - -\func{void}{SetLabel}{\param{int}{ id}, \param{const wxString\& }{label}} - -Sets the label of a menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\docparam{label}{The menu item label to set.} - -\wxheading{See also} - -\helpref{wxMenu::Append}{wxmenuappend}, \helpref{wxMenu::GetLabel}{wxmenugetlabel} - -\membersection{wxMenu::SetTitle}\label{wxmenusettitle} - -\func{void}{SetTitle}{\param{const wxString\& }{title}} - -Sets the title of the menu. - -\wxheading{Parameters} - -\docparam{title}{The title to set.} - -\wxheading{Remarks} - -This is relevant only to popup menus. - -\wxheading{See also} - -\helpref{wxMenu::SetTitle}{wxmenusettitle} - -\section{\class{wxMenuBar}}\label{wxmenubar} - -A menu bar is a series of menus accessible from the top of a frame. - -\wxheading{Derived from} - -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event handling} - -To respond to a menu selection, provide a handler for EVT\_MENU, in the frame -that contains the menu bar. - -\wxheading{See also} - -\helpref{wxMenu}{wxmenu}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMenuBar::wxMenuBar}\label{wxmenubarconstr} - -\func{void}{wxMenuBar}{\void} - -Default constructor. - -\func{void}{wxMenuBar}{\param{int}{ n}, \param{wxMenu*}{ menus[]}, \param{const wxString }{titles[]}} - -Construct a menu bar from arrays of menus and titles. - -\wxheading{Parameters} - -\docparam{n}{The number of menus.} - -\docparam{menus}{An array of menus. Do not use this array again - it now belongs to the -menu bar.} - -\docparam{titles}{An array of title strings. Deallocate this array after creating the menu bar.} - -\membersection{wxMenuBar::\destruct{wxMenuBar}} - -\func{void}{\destruct{wxMenuBar}}{\void} - -Destructor, destroying the menu bar and removing it from the parent frame (if any). - -\membersection{wxMenuBar::Append}\label{wxmenubarappend} - -\func{void}{Append}{\param{wxMenu *}{menu}, \param{const wxString\& }{title}} - -Adds the item to the end of the menu bar. - -\wxheading{Parameters} - -\docparam{menu}{The menu to add. Do not deallocate this menu after calling {\bf Append}.} - -\docparam{title}{The title of the menu.} - -\membersection{wxMenuBar::Check}\label{wxmenubarcheck} - -\func{void}{Check}{\param{int}{ id}, \param{const bool}{ check}} - -Checks or unchecks a menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\docparam{check}{If TRUE, checks the menu item, otherwise the item is unchecked.} - -\wxheading{Remarks} - -Only use this when the menu bar has been associated -with a frame; otherwise, use the wxMenu equivalent call. - -\membersection{wxMenuBar::Enable}\label{wxmenubarenable} - -\func{void}{Enable}{\param{int}{ id}, \param{const bool}{ enable}} - -Enables or disables (greys out) a menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\docparam{enable}{TRUE to enable the item, FALSE to disable it.} - -\wxheading{Remarks} - -Only use this when the menu bar has been -associated with a frame; otherwise, use the wxMenu equivalent call. - -\membersection{wxMenuBar::EnableTop}\label{wxmenubarenabletop} - -\func{void}{EnableTop}{\param{int}{ pos}, \param{const bool}{ enable}} - -Enables or disables a whole menu. - -\wxheading{Parameters} - -\docparam{pos}{The position of the menu, starting from zero.} - -\docparam{enable}{TRUE to enable the menu, FALSE to disable it.} - -\wxheading{Remarks} - -Only use this when the menu bar has been -associated with a frame. - -\membersection{wxMenuBar::FindMenuItem}\label{wxmenubarfindmenuitem} - -\constfunc{int}{FindMenuItem}{\param{const wxString\& }{menuString}, \param{const wxString\& }{itemString}} - -Finds the menu item id for a menu name/menu item string pair. - -\wxheading{Parameters} - -\docparam{menuString}{Menu title to find.} - -\docparam{itemString}{Item to find.} - -\wxheading{Return value} - -The menu item identifier, or -1 if none was found. - -\wxheading{Remarks} - -Any special menu codes are stripped out of source and target strings -before matching. - -\membersection{wxMenuBar::FindItemById}\label{wxmenubarfinditembyid} - -\constfunc{wxMenuItem *}{FindItemById}{\param{int}{ id}} - -Finds the menu item object associated with the given menu item identifier, - -\wxheading{Parameters} - -\docparam{id}{Menu item identifier.} - -\wxheading{Return value} - -The found menu item object, or NULL if one was not found. - -\membersection{wxMenuBar::GetHelpString}\label{wxmenubargethelpstring} - -\constfunc{wxString}{GetHelpString}{\param{int}{ id}} - -Gets the help string associated with the menu item identifer. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -The help string, or the empty string if there was no help string or the menu item -was not found. - -\wxheading{See also} - -\helpref{wxMenuBar::SetHelpString}{wxmenubarsethelpstring} - -\membersection{wxMenuBar::GetLabel}\label{wxmenubargetlabel} - -\constfunc{wxString}{GetLabel}{\param{int}{ id}} - -Gets the label associated with a menu item. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -The menu item label, or the empty string if the item was not found. - -\wxheading{Remarks} - -Use only after the menubar has been associated with a frame. - -\membersection{wxMenuBar::GetLabelTop}\label{wxmenubargetlabeltop} - -\constfunc{wxString}{GetLabelTop}{\param{int}{ pos}} - -Returns the label of a top-level menu. - -\wxheading{Parameters} - -\docparam{pos}{Position of the menu on the menu bar, starting from zero.} - -\wxheading{Return value} - -The menu label, or the empty string if the menu was not found. - -\wxheading{Remarks} - -Use only after the menubar has been associated with a frame. - -\wxheading{See also} - -\helpref{wxMenuBar::SetLabelTop}{wxmenubarsetlabeltop} - -\membersection{wxMenuBar::IsChecked}\label{wxmenubarischecked} - -\constfunc{bool}{IsChecked}{\param{int}{ id}} - -Determines whether an item is checked. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -TRUE if the item was found and is checked, FALSE otherwise. - -\membersection{wxMenuBar::IsEnabled}\label{wxmenubarisenabled} - -\constfunc{bool}{IsEnabled}{\param{int}{ id}} - -Determines whether an item is enabled. - -\wxheading{Parameters} - -\docparam{id}{The menu item identifier.} - -\wxheading{Return value} - -TRUE if the item was found and is enabled, FALSE otherwise. - -\membersection{wxMenuBar::SetHelpString}\label{wxmenubarsethelpstring} - -\func{void}{SetHelpString}{\param{int}{ id}, \param{const wxString\& }{helpString}} - -Sets the help string associated with a menu item. - -\wxheading{Parameters} - -\docparam{id}{Menu item identifier.} - -\docparam{helpString}{Help string to associate with the menu item.} - -\wxheading{See also} - -\helpref{wxMenuBar::GetHelpString}{wxmenubargethelpstring} - -\membersection{wxMenuBar::SetLabel}\label{wxmenubarsetlabel} - -\func{void}{SetLabel}{\param{int}{ id}, \param{const wxString\& }{label}} - -Sets the label of a menu item. - -\wxheading{Parameters} - -\docparam{id}{Menu item identifier.} - -\docparam{label}{Menu item label.} - -\wxheading{Remarks} - -Use only after the menubar has been associated with a frame. - -\wxheading{See also} - -\helpref{wxMenuBar::GetLabel}{wxmenubargetlabel} - -\membersection{wxMenuBar::SetLabelTop}\label{wxmenubarsetlabeltop} - -\func{void}{SetLabelTop}{\param{int}{ pos}, \param{const wxString\& }{label}} - -Sets the label of a top-level menu. - -\wxheading{Parameters} - -\docparam{pos}{The position of a menu on the menu bar, starting from zero.} - -\docparam{label}{The menu label.} - -\wxheading{Remarks} - -Use only after the menubar has been associated with a frame. - -\wxheading{See also} - -\helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop} - diff --git a/docs/latex/wx/menuevt.tex b/docs/latex/wx/menuevt.tex deleted file mode 100644 index 65c864b9a0..0000000000 --- a/docs/latex/wx/menuevt.tex +++ /dev/null @@ -1,53 +0,0 @@ -\section{\class{wxMenuEvent}}\label{wxmenuevent} - -This class is used for a variety of menu-related events. Note that -these do not include menu command events. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process a menu event, use these event handler macros to direct input to member -functions that take a wxMenuEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_MENU\_CHAR(func)}}{Process a wxEVT\_MENU\_CHAR event (a keypress -when a menu is showing). Windows only. TODO} -\twocolitem{{\bf EVT\_MENU\_INIT(func)}}{Process a wxEVT\_MENU\_INIT event (the menu -is about to pop up). Windows only. TODO} -\twocolitem{{\bf EVT\_MENU\_HIGHLIGHT(func)}}{Process a wxEVT\_MENU\_HIGHLIGHT event (a menu -item is being highlighted). Windows only.} -\twocolitem{{\bf EVT\_POPUP\_MENU(func)}}{Process a wxEVT\_POPUP\_MENU event (a menu -item is being highlighted). Windows only. TODO} -\twocolitem{{\bf EVT\_CONTEXT\_MENU(func)}}{Process a wxEVT\_CONTEXT\_MENU event (F1 has -been pressed with a particular menu item highlighted). Windows only. TODO} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnMenuHighlight}{wxwindowonmenuhighlight}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMenuEvent::wxMenuEvent} - -\func{}{wxMenuEvent}{\param{WXTYPE }{id = 0}, \param{int }{id = 0}, \param{wxDC* }{dc = NULL}} - -Constructor. - -\membersection{wxMenuEvent::m\_menuId} - -\member{int}{m\_menuId} - -The relevant menu identifier. - -\membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid} - -\constfunc{int}{GetMenuId}{\void} - -Returns the menu identifier associated with the event. - diff --git a/docs/latex/wx/menuitem.tex b/docs/latex/wx/menuitem.tex deleted file mode 100644 index 00706c3f42..0000000000 --- a/docs/latex/wx/menuitem.tex +++ /dev/null @@ -1,191 +0,0 @@ -\section{\class{wxMenuItem}}\label{wxmenuitem} - -A menu item represents an item in a popup menu. Note that the majority of this -class is only implemented under Windows so far, but everything except fonts, colours and -bitmaps can be achieved via wxMenu on all platforms. - -\wxheading{Derived from} - -wxOwnerDrawn (Windows only)\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxMenuBar}{wxmenubar}, \helpref{wxMenu}{wxmenu}, \helpref{wxOwnerDrawn}{wxownerdrawn} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMenuItem::wxMenuItem}\label{wxmenuitemconstr} - -\func{}{wxMenuItem}{\param{wxMenu*}{ parentMenu = NULL}, \param{int}{ id = ID\_SEPARATOR}, - \param{const wxString\& }{text = ""}, \param{const wxString\& }{helpString = ""}, - \param{bool }{checkable = FALSE}, \param{wxMenu*}{ subMenu = NULL}, } - -Constructs a wxMenuItem object. - -\wxheading{Parameters} - -\docparam{parentMenu}{Menu that the menu item belongs to.} - -\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{helpString}{Optional help string that will be shown on the status bar.} - -\docparam{checkable}{TRUE if this menu item is checkable.} - -\docparam{subMenu}{If non-NULL, indicates that the menu item is a submenu.} - -\membersection{wxMenuItem::\destruct{wxMenuItem}} - -\func{}{\destruct{wxMenuItem}}{\void} - -Destructor. - -\membersection{wxMenuItem::Check}\label{wxmenuitemcheck} - -\func{void}{Check}{\param{bool}{ check}} - -Checks or unchecks the menu item. - -\membersection{wxMenuItem::DeleteSubMenu}\label{wxmenuitemdeletesubmenu} - -\func{void}{DeleteSubMenu}{\void} - -Deletes the submenu, if any. - -\membersection{wxMenuItem::Enable}\label{wxmenuitemenable} - -\func{void}{Enable}{\param{bool}{ enable}} - -Enables or disables the menu item. - -\membersection{wxMenuItem::GetBackgroundColour}\label{wxmenuitemgetbackgroundcolour} - -\constfunc{wxColour\&}{GetBackgroundColour}{\void} - -Returns the background colour associated with the menu item (Windows only). - -\membersection{wxMenuItem::GetBitmap}\label{wxmenuitemgetbitmap} - -\constfunc{wxBitmap\&}{GetBitmap}{\param{bool}{ checked = TRUE}} - -Returns the checked or unchecked bitmap (Windows only). - -\membersection{wxMenuItem::GetFont}\label{wxmenuitemgetfont} - -\constfunc{wxFont\&}{GetFont}{\void} - -Returns the font associated with the menu item (Windows only). - -\membersection{wxMenuItem::GetHelp}\label{wxmenuitemgethelp} - -\constfunc{wxString}{GetHelp}{\void} - -Returns the help string associated with the menu item. - -\membersection{wxMenuItem::GetId}\label{wxmenuitemgetid} - -\constfunc{int}{GetId}{\void} - -Returns the menu item identifier. - -\membersection{wxMenuItem::GetMarginWidth}\label{wxmenuitemgetmarginwidth} - -\constfunc{int}{GetMarginWidth}{\void} - -Gets the width of the menu item checkmark bitmap (Windows only). - -\membersection{wxMenuItem::GetName}\label{wxmenuitemgetname} - -\constfunc{wxString}{GetName}{\void} - -Returns the text associated with the menu item. - -\membersection{wxMenuItem::GetSubMenu}\label{wxmenuitemgetsubmenu} - -\constfunc{wxMenu*}{GetSubMenu}{\void} - -Returns the submenu associated with the menu item, or NULL if there isn't one. - -\membersection{wxMenuItem::GetTextColour}\label{wxmenuitemgettextcolour} - -\constfunc{wxColour\&}{GetTextColour}{\void} - -Returns the text colour associated with the menu item (Windows only). - -\membersection{wxMenuItem::IsCheckable}\label{wxmenuitemischeckable} - -\constfunc{bool}{IsCheckable}{\void} - -Returns TRUE if the item is checkable. - -\membersection{wxMenuItem::IsChecked}\label{wxmenuitemischecked} - -\constfunc{bool}{IsChecked}{\void} - -Returns TRUE if the item is checked. - -\membersection{wxMenuItem::IsEnabled}\label{wxmenuitemisenabled} - -\constfunc{bool}{IsEnabled}{\void} - -Returns TRUE if the item is enabled. - -\membersection{wxMenuItem::IsSeparator}\label{wxmenuitemisseparator} - -\constfunc{bool}{IsSeparator}{\void} - -Returns TRUE if the item is a separator. - -\membersection{wxMenuItem::SetBackgroundColour}\label{wxmenuitemsetbackgroundcolour} - -\constfunc{void}{SetBackgroundColour}{\param{const wxColour\& }{colour}} - -Sets the background colour associated with the menu item (Windows only). - -\membersection{wxMenuItem::SetBitmaps}\label{wxmenuitemsetbitmaps} - -\constfunc{void}{SetBitmaps}{\param{const wxBitmap\& }{checked}, - \param{const wxBitmap\& }{unchecked = wxNullBitmap}} - -Sets the checked/unchecked bitmaps for the menu item (Windows only). The first bitmap -is also used as the single bitmap for uncheckable menu items. - -\membersection{wxMenuItem::SetFont}\label{wxmenuitemsetfont} - -\constfunc{void}{SetFont}{\param{const wxFont\& }{font}} - -Sets the font associated with the menu item (Windows only). - -\membersection{wxMenuItem::SetHelp}\label{wxmenuitemsethelp} - -\constfunc{void}{SetHelp}{\param{const wxString\& }{helpString}} - -Sets the help string. - -\membersection{wxMenuItem::SetMarginWidth}\label{wxmenuitemsetmarginwidth} - -\constfunc{void}{SetMarginWidth}{\param{int}{ width}} - -Sets the width of the menu item checkmark bitmap (Windows only). - -\membersection{wxMenuItem::SetName}\label{wxmenuitemsetname} - -\constfunc{void}{SetName}{\param{const wxString\& }{text}} - -Sets the text associated with the menu item. - -\membersection{wxMenuItem::SetTextColour}\label{wxmenuitemsettextcolour} - -\constfunc{void}{SetTextColour}{\param{const wxColour\& }{colour}} - -Sets the text colour associated with the menu item (Windows only). - - - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: "referenc" -%%% End: diff --git a/docs/latex/wx/metafile.tex b/docs/latex/wx/metafile.tex deleted file mode 100644 index 8242804101..0000000000 --- a/docs/latex/wx/metafile.tex +++ /dev/null @@ -1,125 +0,0 @@ - -\section{\class{wxMetaFile}}\label{wxmetafile} - -A {\bf wxMetaFile} represents the MS Windows metafile object, so metafile -operations have no effect in X. In wxWindows, only sufficient functionality -has been provided for copying a graphic to the clipboard; this may be extended -in a future version. Presently, the only way of creating a metafile -is to use a wxMetafileDC. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxMetaFileDC}{wxmetafiledc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMetaFile::wxMetaFile} - -\func{}{wxMetaFile}{\param{const wxString\& }{filename = ""}} - -Constructor. If a filename is given, the Windows disk metafile is -read in. Check whether this was performed successfully by -using the \helpref{wxMetaFile::Ok}{wxmetafileok} member. - -\membersection{wxMetaFile::\destruct{wxMetaFile}} - -\func{}{\destruct{wxMetaFile}}{\void} - -Destructor. - -\membersection{wxMetaFile::Ok}\label{wxmetafileok} - -\func{bool}{Ok}{\void} - -Returns TRUE if the metafile is valid. - -\membersection{wxMetaFile::Play}\label{wxmetafileplay} - -\func{bool}{Play}{\param{wxDC *}{dc}} - -Plays the metafile into the given device context, returning -TRUE if successful. - -\membersection{wxMetaFile::SetClipboard} - -\func{bool}{SetClipboard}{\param{int}{ width = 0}, \param{int}{ height = 0}} - -Passes the metafile data to the clipboard. The metafile can no longer be -used for anything, but the wxMetaFile object must still be destroyed by -the application. - -Below is a example of metafle, metafile device context and clipboard use -from the {\tt hello.cpp} example. Note the way the metafile dimensions -are passed to the clipboard, making use of the device context's ability -to keep track of the maximum extent of drawing commands. - -\begin{verbatim} - wxMetaFileDC dc; - if (dc.Ok()) - { - Draw(dc, FALSE); - wxMetaFile *mf = dc.Close(); - if (mf) - { - bool success = mf->SetClipboard((int)(dc.MaxX() + 10), (int)(dc.MaxY() + 10)); - delete mf; - } - } -\end{verbatim} - -\section{\class{wxMetaFileDC}}\label{wxmetafiledc} - -This is a type of device context that allows a metafile object to be -created (Windows only), and has most of the characteristics of a normal -\rtfsp{\bf wxDC}. The \helpref{wxMetaFileDC::Close}{wxmetafiledcclose} member must be called after drawing into the -device context, to return a metafile. The only purpose for this at -present is to allow the metafile to be copied to the clipboard (see \helpref{wxMetaFile}{wxmetafile}). - -Adding metafile capability to an application should be easy if you -already write to a wxDC; simply pass the wxMetaFileDC to your drawing -function instead. You may wish to conditionally compile this code so it -is not compiled under X (although no harm will result if you leave it -in). - -Note that a metafile saved to disk is in standard Windows metafile format, -and cannot be imported into most applications. To make it importable, -call the function \helpref{::wxMakeMetaFilePlaceable}{wxmakemetafileplaceable} after -closing your disk-based metafile device context. - -\wxheading{Derived from} - -\helpref{wxDC}{wxdc}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxMetaFile}{wxmetafile}, \helpref{wxDC}{wxdc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMetaFileDC::wxMetaFileDC} - -\func{}{wxMetaFileDC}{\param{const wxString\& }{filename = ""}} - -Constructor. If no filename is passed, the metafile is created -in memory. - -\membersection{wxMetaFileDC::\destruct{wxMetaFileDC}} - -\func{}{\destruct{wxMetaFileDC}}{\void} - -Destructor. - -\membersection{wxMetaFileDC::Close}\label{wxmetafiledcclose} - -\func{wxMetaFile *}{Close}{\void} - -This must be called after the device context is finished with. A -metafile is returned, and ownership of it passes to the calling -application (so it should be destroyed explicitly). - - diff --git a/docs/latex/wx/minifram.tex b/docs/latex/wx/minifram.tex deleted file mode 100644 index c749a749eb..0000000000 --- a/docs/latex/wx/minifram.tex +++ /dev/null @@ -1,108 +0,0 @@ -\section{\class{wxMiniFrame}}\label{wxminiframe} - -A miniframe is a frame with a small title bar. It is suitable for floating toolbars that must not -take up too much screen area. - -\wxheading{Derived from} - -\helpref{wxFrame}{wxframe}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxICONIZE}}{Display the frame iconized (minimized) (Windows only).} -\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the frame.} -\twocolitem{\windowstyle{wxDEFAULT\_FRAME\_STYLE}}{Defined as {\bf wxMINIMIZE\_BOX \pipe wxMAXIMIZE\_BOX \pipe wxTHICK\_FRAME \pipe wxSYSTEM\_MENU \pipe wxCAPTION}.} -\twocolitem{\windowstyle{wxMINIMIZE}}{Identical to {\bf wxICONIZE}.} -\twocolitem{\windowstyle{wxMINIMIZE\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxMAXIMIZE}}{Displays the frame maximized (Windows only).} -\twocolitem{\windowstyle{wxMAXIMIZE\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).} -\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{Stay on top of other windows (Windows only).} -\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Displays a system menu (Windows and Motif only).} -\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Displays a thick frame around the window (Windows and Motif only).} -\twocolitem{\windowstyle{wxTINY\_CAPTION\_HORIZ}}{Displays a small horizontal caption. Use instead of -wxCAPTION.} -\twocolitem{\windowstyle{wxTINY\_CAPTION\_VERT}}{Under Windows, displays a small vertical caption. Use instead of -wxCAPTION.} -\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Displays a resizeable border around the window (Motif only; -for Windows, it is implicit in {\bf wxTHICK\_FRAME}).} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Remarks} - -This class has miniframe functionality only under Windows. On other platforms, -it behaves like a normal frame. - -\wxheading{See also} - -\helpref{wxMDIParentFrame}{wxmdiparentframe}, \helpref{wxMDIChildFrame}{wxmdichildframe},\rtfsp -\helpref{wxFrame}{wxframe}, \helpref{wxDialog}{wxdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMiniFrame::wxMiniFrame}\label{wxminiframeconstr} - -\func{}{wxMiniFrame}{\void} - -Default constructor. - -\func{}{wxMiniFrame}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Constructor, creating the window. - -\wxheading{Parameters} - -\docparam{parent}{The window parent. This may be NULL. If it is non-NULL, the frame will -always be displayed on top of the parent window on Windows.} - -\docparam{id}{The window identifier. It may take a value of -1 to indicate a default value.} - -\docparam{title}{The caption to be displayed on the frame's title bar.} - -\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{style}{The window style. See \helpref{wxMiniFrame}{wxminiframe}.} - -\docparam{name}{The name of the window. This parameter is used to associate a name with the item, -allowing the application user to set Motif resource values for -individual windows.} - -\wxheading{Remarks} - -The frame behaves like a normal frame on non-Windows platforms. - -\wxheading{See also} - -\helpref{wxMiniFrame::Create}{wxminiframecreate} - -\membersection{wxMiniFrame::\destruct{wxMiniFrame}} - -\func{void}{\destruct{wxMiniFrame}}{\void} - -Destructor. Destroys all child windows and menu bar if present. - -\membersection{wxMiniFrame::Create}\label{wxminiframecreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp -\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE},\rtfsp -\param{const wxString\& }{name = ``frame"}} - -Used in two-step frame construction. See \helpref{wxMiniFrame::wxMiniFrame}{wxminiframeconstr}\rtfsp -for further details. - - - diff --git a/docs/latex/wx/mltchdlg.tex b/docs/latex/wx/mltchdlg.tex deleted file mode 100644 index 8c6a74e54a..0000000000 --- a/docs/latex/wx/mltchdlg.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{\class{wxMultipleChoiceDialog}}\label{wxmultiplechoicedialog} - -This class represents a dialog that shows a list of strings, and allows -the user to select one or more. - -TODO. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxMultipleChoiceDialog overview}{wxmultiplechoicedialogoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - - diff --git a/docs/latex/wx/module.tex b/docs/latex/wx/module.tex deleted file mode 100644 index 3bd382e920..0000000000 --- a/docs/latex/wx/module.tex +++ /dev/null @@ -1,85 +0,0 @@ -\section{\class{wxModule}}\label{wxmodule} - -The module system is a very simple mechanism to allow applications (and parts of wxWindows itself) to -define initialization and cleanup functions that are automatically called on wxWindows -startup and exit. - -To define a new kind of module, derive a class from wxModule, override the OnInit and OnExit functions, -and add the DECLARE\_DYNAMIC\_CLASS and IMPLEMENT\_DYNAMIC\_CLASS to header and implementation files -(which can be the same file). On initialization, wxWindows will find all classes derived from wxModule, -create an instance of each, and call each OnInit function. On exit, wxWindows will call the OnExit -function for each module instance. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxModule::wxModule}\label{wxmoduleconstr} - -\func{}{wxModule}{\void} - -Constructs a wxModule object. - -\membersection{wxModule::\destruct{wxModule}} - -\func{}{\destruct{wxModule}}{\void} - -Destructor. - -\membersection{wxModule::CleanupModules}\label{wxmodulecleanupmodules} - -\func{static void}{CleanupModules}{\void} - -Calls Exit for each module instance. Called by wxWindows on exit, so there is no -need for an application to call it. - -\membersection{wxModule::Exit}\label{wxmoduleexit} - -\func{void}{Exit}{\void} - -Calls OnExit. This function is called by wxWindows and should not need to be called -by an application. - -\membersection{wxModule::Init}\label{wxmoduleinit} - -\func{bool}{Init}{\void} - -Calls OnInit. This function is called by wxWindows and should not need to be called -by an application. - -\membersection{wxModule::InitializeModules}\label{wxmoduleinitializemodules} - -\func{static bool}{InitializeModules}{\void} - -Calls Init for each module instance. Called by wxWindows on startup, so there is no -need for an application to call it. - -\membersection{wxModule::OnExit}\label{wxmoduleonexit} - -\func{virtual bool}{OnExit}{\void} - -Provide this function with appropriate cleanup for your module. - -\membersection{wxModule::OnInit}\label{wxmoduleoninit} - -\func{virtual bool}{OnInit}{\void} - -Provide this function with appropriate initialization for your module. If the function -returns FALSE, wxWindows will exit immediately. - -\membersection{wxModule::RegisterModule}\label{wxmoduleregistermodule} - -\func{static void}{RegisterModule}{\param{wxModule*}{ module}} - -Registers this module with wxWindows. Called by wxWindows on startup, so there is no -need for an application to call it. - -\membersection{wxModule::RegisterModules}\label{wxmoduleregistermodules} - -\func{static bool}{RegisterModules}{\void} - -Creates instances of and registers all modules. Called by wxWindows on startup, so there is no -need for an application to call it. - diff --git a/docs/latex/wx/mouseevt.tex b/docs/latex/wx/mouseevt.tex deleted file mode 100644 index a116241989..0000000000 --- a/docs/latex/wx/mouseevt.tex +++ /dev/null @@ -1,327 +0,0 @@ -\section{\class{wxMouseEvent}}\label{wxmouseevent} - -This event class contains information about mouse events. -See \helpref{wxWindow::OnMouseEvent}{wxwindowonmouseevent}. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent} - -\wxheading{Event table macros} - -To process a mouse event, use these event handler macros to direct input to member -functions that take a wxMouseEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_LEFT\_DOWN(func)}}{Process a wxEVT\_LEFT\_DOWN event.} -\twocolitem{{\bf EVT\_LEFT\_UP(func)}}{Process a wxEVT\_LEFT\_UP event.} -\twocolitem{{\bf EVT\_LEFT\_DCLICK(func)}}{Process a wxEVT\_LEFT\_DCLICK event.} -\twocolitem{{\bf EVT\_MIDDLE\_DOWN(func)}}{Process a wxEVT\_MIDDLE\_DOWN event.} -\twocolitem{{\bf EVT\_MIDDLE\_UP(func)}}{Process a wxEVT\_MIDDLE\_UP event.} -\twocolitem{{\bf EVT\_MIDDLE\_DCLICK(func)}}{Process a wxEVT\_MIDDLE\_DCLICK event.} -\twocolitem{{\bf EVT\_RIGHT\_DOWN(func)}}{Process a wxEVT\_RIGHT\_DOWN event.} -\twocolitem{{\bf EVT\_RIGHT\_UP(func)}}{Process a wxEVT\_RIGHT\_UP event.} -\twocolitem{{\bf EVT\_RIGHT\_DCLICK(func)}}{Process a wxEVT\_RIGHT\_DCLICK event.} -\twocolitem{{\bf EVT\_MOTION(func)}}{Process a wxEVT\_MOTION event.} -\twocolitem{{\bf EVT\_ENTER\_WINDOW(func)}}{Process a wxEVT\_ENTER\_WINDOW event.} -\twocolitem{{\bf EVT\_LEAVE\_WINDOW(func)}}{Process a wxEVT\_LEAVE\_WINDOW event.} -\twocolitem{{\bf EVT\_MOUSE\_EVENTS(func)}}{Process all mouse events.} -\end{twocollist}% - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMouseEvent::m\_altDown} - -\member{bool}{m\_altDown} - -TRUE if the Alt key is pressed down. - -\membersection{wxMouseEvent::m\_controlDown} - -\member{bool}{m\_controlDown} - -TRUE if control key is pressed down. - -\membersection{wxMouseEvent::m\_leftDown} - -\member{bool}{m\_leftDown} - -TRUE if the left mouse button is currently pressed down. - -\membersection{wxMouseEvent::m\_middleDown} - -\member{bool}{m\_middleDown} - -TRUE if the middle mouse button is currently pressed down. - -\membersection{wxMouseEvent::m\_rightDown} - -\member{bool}{m\_rightDown} - -TRUE if the right mouse button is currently pressed down. - -\membersection{wxMouseEvent::m\_leftDown} - -\member{bool}{m\_leftDown} - -TRUE if the left mouse button is currently pressed down. - -\membersection{wxMouseEvent::m\_metaDown} - -\member{bool}{m\_metaDown} - -TRUE if the Meta key is pressed down. - -\membersection{wxMouseEvent::m\_shiftDown} - -\member{bool}{m\_shiftDown} - -TRUE if shift is pressed down. - -\membersection{wxMouseEvent::m\_x} - -\member{float}{m\_x} - -X-coordinate of the event. - -\membersection{wxMouseEvent::m\_y} - -\member{float}{m\_y} - -Y-coordinate of the event. - -\membersection{wxMouseEvent::wxMouseEvent} - -\func{}{wxMouseEvent}{\param{WXTYPE}{ mouseEventType = 0}, \param{int}{ id = 0}} - -Constructor. Valid event types are: - -\begin{itemize} -\itemsep=0pt -\item {\bf wxEVT\_ENTER\_WINDOW} -\item {\bf wxEVT\_LEAVE\_WINDOW} -\item {\bf wxEVT\_LEFT\_DOWN} -\item {\bf wxEVT\_LEFT\_UP} -\item {\bf wxEVT\_LEFT\_DCLICK} -\item {\bf wxEVT\_MIDDLE\_DOWN} -\item {\bf wxEVT\_MIDDLE\_UP} -\item {\bf wxEVT\_MIDDLE\_DCLICK} -\item {\bf wxEVT\_RIGHT\_DOWN} -\item {\bf wxEVT\_RIGHT\_UP} -\item {\bf wxEVT\_RIGHT\_DCLICK} -\item {\bf wxEVT\_MOTION} -\end{itemize} - -\membersection{wxMouseEvent::AltDown} - -\func{bool}{AltDown}{\void} - -Returns TRUE if the Alt key was down at the time of the event. - -\membersection{wxMouseEvent::Button} - -\func{bool}{Button}{\param{int}{ button}} - -Returns TRUE if the identified mouse button is changing state. Valid -values of {\it button} are 1, 2 or 3 for left, middle and right -buttons respectively. - -Not all mice have middle buttons so a portable application should avoid -this one. - -\membersection{wxMouseEvent::ButtonDClick}\label{buttondclick} - -\func{bool}{ButtonDClick}{\param{int}{ but = -1}} - -If the argument is omitted, this returns TRUE if the event was a mouse -double click event. Otherwise the argument specifies which double click event -was generated (1, 2 or 3 for left, middle and right buttons respectively). - -\membersection{wxMouseEvent::ButtonDown} - -\func{bool}{ButtonDown}{\param{int}{ but = -1}} - -If the argument is omitted, this returns TRUE if the event was a mouse -button down event. Otherwise the argument specifies which button-down event -was generated (1, 2 or 3 for left, middle and right buttons respectively). - -\membersection{wxMouseEvent::ButtonUp} - -\func{bool}{ButtonUp}{\param{int}{ but = -1}} - -If the argument is omitted, this returns TRUE if the event was a mouse -button up event. Otherwise the argument specifies which button-up event -was generated (1, 2 or 3 for left, middle and right buttons respectively). - -\membersection{wxMouseEvent::ControlDown} - -\func{bool}{ControlDown}{\void} - -Returns TRUE if the control key was down at the time of the event. - -\membersection{wxMouseEvent::Dragging} - -\func{bool}{Dragging}{\void} - -Returns TRUE if this was a dragging event (motion while a button is depressed). - -\membersection{wxMouseEvent::Entering}\label{wxmouseevententering} - -\func{bool}{Entering}{\void} - -Returns TRUE if the mouse was entering the window (MS Windows and Motif). - -See also \helpref{wxMouseEvent::Leaving}{wxmouseeventleaving}. - -\membersection{wxMouseEvent::GetX}\label{wxmouseeventgetx} - -\func{float}{GetX}{\void} - -Returns X coordinate of the mouse event position. - -\membersection{wxMouseEvent::GetY}\label{wxmouseeventgety} - -\func{float}{GetY}{\void} - -Returns Y coordinate of the mouse event position. - -\membersection{wxMouseEvent::IsButton} - -\func{bool}{IsButton}{\void} - -Returns TRUE if the event was a mouse button event (not necessarily a button down event - -that may be tested using {\it ButtonDown}). - -\membersection{wxMouseEvent::Leaving}\label{wxmouseeventleaving} - -\func{bool}{Leaving}{\void} - -Returns TRUE if the mouse was leaving the window (MS Windows and Motif). - -See also \helpref{wxMouseEvent::Entering}{wxmouseevententering}. - -\membersection{wxMouseEvent::LeftDClick} - -\func{bool}{LeftDClick}{\void} - -Returns TRUE if the event was a left double click. - -\membersection{wxMouseEvent::LeftDown} - -\func{bool}{LeftDown}{\void} - -Returns TRUE if the left mouse button changed to down. - -\membersection{wxMouseEvent::LeftIsDown} - -\func{bool}{LeftIsDown}{\void} - -Returns TRUE if the left mouse button is currently down, independent -of the current event type. - -\membersection{wxMouseEvent::LeftUp} - -\func{bool}{LeftUp}{\void} - -Returns TRUE if the left mouse button changed to up. - -\membersection{wxMouseEvent::MetaDown} - -\func{bool}{MetaDown}{\void} - -Returns TRUE if the Meta key was down at the time of the event. - -\membersection{wxMouseEvent::MiddleDClick} - -\func{bool}{MiddleDClick}{\void} - -Returns TRUE if the event was a middle double click. - -\membersection{wxMouseEvent::MiddleDown} - -\func{bool}{MiddleDown}{\void} - -Returns TRUE if the middle mouse button changed to down. - -\membersection{wxMouseEvent::MiddleIsDown} - -\func{bool}{MiddleIsDown}{\void} - -Returns TRUE if the middle mouse button is currently down, independent -of the current event type. - -\membersection{wxMouseEvent::MiddleUp} - -\func{bool}{MiddleUp}{\void} - -Returns TRUE if the middle mouse button changed to up. - -\membersection{wxMouseEvent::Moving} - -\func{bool}{Moving}{\void} - -Returns TRUE if this was a motion event (no buttons depressed). - -\membersection{wxMouseEvent::Position} - -\func{void}{Position}{\param{float *}{x}, \param{float *}{y}} - -Sets *x and *y to the position at which the event occurred. If the -window is a window, the position is converted to logical units -(according to the current mapping mode) with scrolling taken into -account. To get back to device units (for example to calculate where on the -screen to place a dialog box associated with a window mouse event), use -\rtfsp{\bf wxDC::LogicalToDeviceX} and {\bf wxDC::LogicalToDeviceY}. - -For example, the following code calculates screen pixel coordinates -from the frame position, window view start (assuming the window is the only -subwindow on the frame and therefore at the top left of it), and the -logical event position. A menu is popped up at the position where the -mouse click occurred. (Note that the application should also check that -the dialog box will be visible on the screen, since the click could have -occurred near the screen edge!) - -\begin{verbatim} - float event_x, event_y; - event.Position(&event_x, &event_y); - frame->GetPosition(&x, &y); - window->ViewStart(&x1, &y1); - int mouse_x = (int)(window->GetDC()->LogicalToDeviceX(event_x + x - x1); - int mouse_y = (int)(window->GetDC()->LogicalToDeviceY(event_y + y - y1); - - char *choice = wxGetSingleChoice("Menu", "Pick a node action", - no_choices, choices, frame, mouse_x, mouse_y); -\end{verbatim} - -\membersection{wxMouseEvent::RightDClick} - -\func{bool}{RightDClick}{\void} - -Returns TRUE if the event was a right double click. - -\membersection{wxMouseEvent::RightDown} - -\func{bool}{RightDown}{\void} - -Returns TRUE if the right mouse button changed to down. - -\membersection{wxMouseEvent::RightIsDown} - -\func{bool}{RightIsDown}{\void} - -Returns TRUE if the right mouse button is currently down, independent -of the current event type. - -\membersection{wxMouseEvent::RightUp} - -\func{bool}{RightUp}{\void} - -Returns TRUE if the right mouse button changed to up. - -\membersection{wxMouseEvent::ShiftDown} - -\func{bool}{ShiftDown}{\void} - -Returns TRUE if the shift key was down at the time of the event. - diff --git a/docs/latex/wx/moveevt.tex b/docs/latex/wx/moveevt.tex deleted file mode 100644 index 8be4e9ba06..0000000000 --- a/docs/latex/wx/moveevt.tex +++ /dev/null @@ -1,38 +0,0 @@ -\section{\class{wxMoveEvent}}\label{wxmoveevent} - -A move event holds information about move change events. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process a move event, use this event handler macro to direct input to a member -function that takes a wxMoveEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_MOVE(func)}}{Process a wxEVT\_MOVE event, which is generated -when a window is moved.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnMove}{wxwindowonmove}, \helpref{wxPoint}{wxpoint}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMoveEvent::wxMoveEvent} - -\func{}{wxMoveEvent}{\param{const wxPoint\& }{pt}, \param{int }{id = 0}} - -Constructor. - -\membersection{wxMoveEvent::GetPosition}\label{wxmoveeventgetposition} - -\constfunc{wxPoint}{GetPosition}{\void} - -Returns the position of the window generating the move change event. - diff --git a/docs/latex/wx/msgdlg.tex b/docs/latex/wx/msgdlg.tex deleted file mode 100644 index c121b4d865..0000000000 --- a/docs/latex/wx/msgdlg.tex +++ /dev/null @@ -1,63 +0,0 @@ -\section{\class{wxMessageDialog}}\label{wxmessagedialog} - -This class represents a dialog that shows a single or multi-line message, -with a choice of OK, Yes, No and Cancel buttons. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxMessageDialog overview}{wxmessagedialogoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMessageDialog::wxMessageDialog}\label{wxmessagedialogconstr} - -\func{}{wxMessageDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp -\param{const wxString\& }{caption = "Message box"}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}} - -Constructor. Use \helpref{wxMessageDialog::ShowModal}{wxmessagedialogshowmodal} to show the dialog. - -\wxheading{Parameters} - -\docparam{parent}{Parent window.} - -\docparam{message}{Message to show on the dialog.} - -\docparam{caption}{The dialog caption.} - -\docparam{style}{A dialog style (bitlist) containing flags chosen from the following: - -\twocolwidtha{5cm} -\begin{twocollist} -\twocolitem{{\bf wxOK}}{Show an OK button.} -\twocolitem{{\bf wxCANCEL}}{Show a Cancel button.} -\twocolitem{{\bf wxYES\_NO}}{Show Yes and No buttons.} -\twocolitem{{\bf wxCENTRE}}{Centre the message. Not Windows.} -\twocolitem{{\bf wxICON\_EXCLAMATION}}{Shows an exclamation mark icon. Windows only.} -\twocolitem{{\bf wxICON\_HAND}}{Shows a hand icon. Windows only.} -\twocolitem{{\bf wxICON\_QUESTION}}{Shows a question mark icon. Windows only.} -\twocolitem{{\bf wxICON\_INFORMATION}}{Shows an information (i) icon. Windows only.} -\end{twocollist} -} - -\docparam{pos}{Dialog position. Not Windows.} - -\membersection{wxMessageDialog::\destruct{wxMessageDialog}} - -\func{}{\destruct{wxMessageDialog}}{\void} - -Destructor. - -\membersection{wxMessageDialog::ShowModal}\label{wxmessagedialogshowmodal} - -\func{int}{ShowModal}{\void} - -Shows the dialog, returning one of wxID\_OK, wxID\_CANCEL, wxID\_YES, wxID\_NO. - diff --git a/docs/latex/wx/mutex.tex b/docs/latex/wx/mutex.tex deleted file mode 100644 index 9b992c4509..0000000000 --- a/docs/latex/wx/mutex.tex +++ /dev/null @@ -1,86 +0,0 @@ -\section{\class{wxMutex}}\label{wxmutex} - -A wxMutex controls mutual exclusion, to prevent two or more threads accessing -the same piece of code. - -\wxheading{Derived from} - -None. - -\wxheading{See also} - -\helpref{wxThread}{wxthread}, \helpref{wxCondition}{wxcondition} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxMutex::wxMutex}\label{wxmutexconstr} - -\func{}{wxMutex}{\void} - -Default constructor. - -\membersection{wxMutex::\destruct{wxMutex}} - -\func{}{\destruct{wxMutex}}{\void} - -Destroys the wxMutex object. - -\membersection{wxMutex::IsLocked}\label{wxmutexislocked} - -\constfunc{bool}{IsLocked}{\void} - -Returns TRUE if the mutex is locked, FALSE otherwise. - -\membersection{wxMutex::Lock}\label{wxmutexlock} - -\func{wxMutexError}{Lock}{\void} - -Locks the mutex object. - -\wxheading{Return value} - -One of: - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf MUTEX\_NO\_ERROR}}{There was no error.} -\twocolitem{{\bf MUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.} -\twocolitem{{\bf MUTEX\_BUSY}}{The mutex is already locked by another thread.} -\end{twocollist} - -\membersection{wxMutex::TryLock}\label{wxmutextrylock} - -\func{wxMutexError}{TryLock}{\void} - -Tries to lock the mutex object. If it can't, returns immediately with an error. - -\wxheading{Return value} - -One of: - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf MUTEX\_NO\_ERROR}}{There was no error.} -\twocolitem{{\bf MUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.} -\twocolitem{{\bf MUTEX\_BUSY}}{The mutex is already locked by another thread.} -\end{twocollist} - -\membersection{wxMutex::Unlock}\label{wxmutexunlock} - -\func{wxMutexError}{Unlock}{\void} - -Unlocks the mutex object. - -\wxheading{Return value} - -One of: - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf MUTEX\_NO\_ERROR}}{There was no error.} -\twocolitem{{\bf MUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.} -\twocolitem{{\bf MUTEX\_BUSY}}{The mutex is already locked by another thread.} -\twocolitem{{\bf MUTEX\_UNLOCKED}}{The calling thread tries to unlock an unlocked mutex.} -\end{twocollist} - - diff --git a/docs/latex/wx/node.tex b/docs/latex/wx/node.tex deleted file mode 100644 index 417329092f..0000000000 --- a/docs/latex/wx/node.tex +++ /dev/null @@ -1,41 +0,0 @@ -\section{\class{wxNode}}\label{wxnode} - -A node structure used in linked lists (see \helpref{wxList}{wxlist}). - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxList}{wxlist}, \helpref{wxHashTable}{wxhashtable} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxNode::Data} - -\func{wxObject *}{Data}{\void} - -Retrieves the client data pointer associated with the node. This will -have to be cast to the correct type. - -\membersection{wxNode::Next} - -\func{wxNode *}{Next}{\void} - -Retrieves the next node (NULL if at end of list). - -\membersection{wxNode::Previous} - -\func{wxNode *}{Previous}{\void} - -Retrieves the previous node (NULL if at start of list). - -\membersection{wxNode::SetData} - -\func{void}{SetData}{\param{wxObject *}{data}} - -Sets the data associated with the node (usually the pointer will have been -set when the node was created). - - diff --git a/docs/latex/wx/object.tex b/docs/latex/wx/object.tex deleted file mode 100644 index 1cce58e408..0000000000 --- a/docs/latex/wx/object.tex +++ /dev/null @@ -1,213 +0,0 @@ -\section{\class{wxObject}}\label{wxobject} - -This is the root class of all wxWindows classes. -It declares a virtual destructor which ensures that -destructors get called for all derived class objects where necessary. - -wxObject is the hub of a dynamic object creation -scheme, enabling a program to create instances of a class only knowing -its string class name, and to query the class hierarchy. - -The class contains optional debugging versions -of {\bf new} and {\bf delete}, which can help trace memory allocation -and deallocation problems. - -wxObject can be used to implement reference counted objects, such as -wxPen, wxBitmap and others. - -\wxheading{See also} - -\helpref{wxClassInfo}{wxclassinfo}, \helpref{Debugging overview}{debuggingoverview},\rtfsp -\helpref{wxObjectRefData}{wxobjectrefdata} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxObject::wxObject}\label{wxobjectconstr} - -\func{}{wxObject}{\void} - -Default constructor. - -\membersection{wxObject::\destruct{wxObject}} - -\func{}{wxObject}{\void} - -Destructor. Performs dereferencing, for those objects -that use reference counting. - -\membersection{wxObject::m\_refData}\label{wxobjectmrefdata} - -\member{wxObjectRefData* }{m\_refData} - -Pointer to an object which is the object's reference-counted data. - -\wxheading{See also} - -\helpref{wxObject::Ref}{wxobjectref}, \helpref{wxObject::UnRef}{wxobjectunref},\rtfsp -\helpref{wxObject::SetRefData}{wxobjectsetrefdata},\rtfsp -\helpref{wxObject::GetRefData}{wxobjectgetrefdata},\rtfsp -\helpref{wxObjectRefData}{wxobjectrefdata} - -\membersection{wxObject::Dump}\label{wxobjectdump} - -\func{void}{Dump}{\param{ostream\&}{ stream}} - -A virtual function that should be redefined by derived classes to allow dumping of -memory states. - -\wxheading{Parameters} - -\docparam{stream}{Stream on which to output dump information.} - -\wxheading{Remarks} - -Currently wxWindows does not define Dump for derived classes, but -programmers may wish to use it for their own applications. Be sure to -call the Dump member of the class's base class to allow all information to be dumped. - -The implementation of this function just writes the class name of the object. -If DEBUG is undefined or zero, the implementation is empty. - -\membersection{wxObject::GetClassInfo}\label{wxobjectgetclassinfo} - -\func{wxClassInfo *}{GetClassInfo}{\void} - -This virtual function is redefined for every class that requires run-time -type information, when using DECLARE\_CLASS macros. - -\membersection{wxObject::GetRefData}\label{wxobjectgetrefdata} - -\constfunc{wxObjectRefData*}{GetRefData}{\void} - -Returns the {\bf m\_refData} pointer. - -\wxheading{See also} - -\helpref{wxObject::Ref}{wxobjectref}, \helpref{wxObject::UnRef}{wxobjectunref}, \helpref{wxObject::m\_refData}{wxobjectmrefdata},\rtfsp -\helpref{wxObject::SetRefData}{wxobjectsetrefdata},\rtfsp -\helpref{wxObjectRefData}{wxobjectrefdata} - -\membersection{wxObject::IsKindOf}\label{wxobjectiskindof} - -\func{bool}{IsKindOf}{\param{wxClassInfo *}{info}} - -Determines whether this class is a subclass of (or the same class as) -the given class. - -\wxheading{Parameters} - -\docparam{info}{A pointer to a class information object, which may be obtained -by using the CLASSINFO macro.} - -\wxheading{Return value} - -TRUE if the class represented by {\it info} is the same class as -this one or is derived from it. - -\wxheading{Example} - -\begin{verbatim} - bool tmp = obj->IsKindOf(CLASSINFO(wxFrame)); -\end{verbatim} - -\membersection{wxObject::Ref}\label{wxobjectref} - -\func{void}{Ref}{\param{const wxObject\& }{clone}} - -Makes this object refer to the data in {\it clone}. - -\wxheading{Parameters} - -\docparam{clone}{The object to `clone'.} - -\wxheading{Remarks} - -First this function calls \helpref{wxObject::UnRef}{wxobjectunref} on itself -to decrement (and perhaps free) the data it is currently referring to. - -It then sets its own m\_refData to point to that of {\it clone}, and increments the reference count -inside the data. - -\wxheading{See also} - -\helpref{wxObject::UnRef}{wxobjectunref}, \helpref{wxObject::m\_refData}{wxobjectmrefdata},\rtfsp -\helpref{wxObject::SetRefData}{wxobjectsetrefdata}, \helpref{wxObject::GetRefData}{wxobjectgetrefdata},\rtfsp -\helpref{wxObjectRefData}{wxobjectrefdata} - -\membersection{wxObject::SetRefData}\label{wxobjectsetrefdata} - -\func{void}{SetRefData}{\param{wxObjectRefData*}{ data}} - -Sets the {\bf m\_refData} pointer. - -\wxheading{See also} - -\helpref{wxObject::Ref}{wxobjectref}, \helpref{wxObject::UnRef}{wxobjectunref}, \helpref{wxObject::m\_refData}{wxobjectmrefdata},\rtfsp -\helpref{wxObject::GetRefData}{wxobjectgetrefdata},\rtfsp -\helpref{wxObjectRefData}{wxobjectrefdata} - -\membersection{wxObject::UnRef}\label{wxobjectunref} - -\func{void}{UnRef}{\void} - -Decrements the reference count in the associated data, and if it is zero, deletes the data. -The {\bf m\_refData} member is set to NULL. - -\wxheading{See also} - -\helpref{wxObject::Ref}{wxobjectref}, \helpref{wxObject::m\_refData}{wxobjectmrefdata},\rtfsp -\helpref{wxObject::SetRefData}{wxobjectsetrefdata}, \helpref{wxObject::GetRefData}{wxobjectgetrefdata},\rtfsp -\helpref{wxObjectRefData}{wxobjectrefdata} - -\membersection{wxObject::operator new}\label{wxobjectnew} - -\func{void *}{new}{\param{size\_t }{size}, \param{const wxString\& }{filename = NULL}, \param{int}{ lineNum = 0}} - -The {\it new} operator is defined for debugging versions of the library only, when -the identifier DEBUG is defined and is more than zero. It takes over memory allocation, allowing -wxDebugContext operations. - -\membersection{wxObject::operator delete}\label{wxobjectdelete} - -\func{void}{delete}{\param{void }{buf}} - -The {\it delete} operator is defined for debugging versions of the library only, when -the identifier DEBUG is defined and is more than zero. It takes over memory deallocation, allowing -wxDebugContext operations. - -\section{\class{wxObjectRefData}}\label{wxobjectrefdata} - -This class is used to store reference-counted data. Derive classes from this to -store your own data. When retrieving information from a {\bf wxObject}'s reference data, -you will need to cast to your own derived class. - -\wxheading{Friends} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxObject}{wxobject} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxObjectRefData::m\_count} - -\member{int}{m\_count} - -Reference count. When this goes to zero during a \helpref{wxObject::UnRef}{wxobjectunref}, an object -can delete the {\bf wxObjectRefData} object. - -\membersection{wxObjectRefData::wxObjectRefData}\label{wxobjectrefdataconstr} - -\func{}{wxObjectRefData}{\void} - -Default constructor. Initialises the {\bf m\_count} member to 1. - -\membersection{wxObjectRefData::\destruct{wxObjectRefData}} - -\func{}{wxObjectRefData}{\void} - -Destructor. - - diff --git a/docs/latex/wx/pagedlg.tex b/docs/latex/wx/pagedlg.tex deleted file mode 100644 index 082970f2c0..0000000000 --- a/docs/latex/wx/pagedlg.tex +++ /dev/null @@ -1,242 +0,0 @@ -\section{\class{wxPageSetupData}}\label{wxpagesetupdata} - -This class holds a variety of information related to \helpref{wxPageSetupDialog}{wxpagesetupdialog}. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxPageSetupDialog}{wxpagesetupdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPageSetupData::wxPageSetupData} - -\func{}{wxPageSetupData}{\void} - -Constructor. - -\membersection{wxPageSetupData::\destruct{wxPageSetupData}} - -\func{}{\destruct{wxPageSetupData}}{\void} - -Destructor. - -\membersection{wxPageSetupData::EnableHelp}\label{wxpagesetupdataenablehelp} - -\func{void}{EnableHelp}{\param{bool }{flag}} - -Enables or disables the `Help' button (Windows only). - -\membersection{wxPageSetupData::EnableMargins}\label{wxpagesetupdataenablemargins} - -\func{void}{EnableMargins}{\param{bool }{flag}} - -Enables or disables the margin controls (Windows only). - -\membersection{wxPageSetupData::EnableOrientation}\label{wxpagesetupdataenableorientation} - -\func{void}{EnableOrientation}{\param{bool }{flag}} - -Enables or disables the orientation control (Windows only). - -\membersection{wxPageSetupData::EnablePaper}\label{wxpagesetupdataenablepaper} - -\func{void}{EnablePaper}{\param{bool }{flag}} - -Enables or disables the paper size control (Windows only). - -\membersection{wxPageSetupData::EnablePrinter}\label{wxpagesetupdataenableprinter} - -\func{void}{EnablePrinter}{\param{bool }{flag}} - -Enables or disables the {\bf Printer} button, which invokes a printer setup dialog. - -\membersection{wxPageSetupData::GetPaperSize}\label{wxpagesetupdatagetpapersize} - -\func{wxPoint}{GetPaperSize}{\void} - -Returns the paper size in millimetres. - -\membersection{wxPageSetupData::GetMarginTopLeft}\label{wxpagesetupdatagetmargintopleft} - -\func{wxPoint}{GetMarginTopLeft}{\void} - -Returns the left (x) and top (y) margins. - -\membersection{wxPageSetupData::GetMarginBottomRight}\label{wxpagesetupdatagetmarginbottomright} - -\func{wxPoint}{GetMarginBottomRight}{\void} - -Returns the right (x) and bottom (y) margins. - -\membersection{wxPageSetupData::GetMinMarginTopLeft}\label{wxpagesetupdatagetminmargintopleft} - -\func{wxPoint}{GetMinMarginTopLeft}{\void} - -Returns the left (x) and top (y) minimum margins the user can enter (Windows only). - -\membersection{wxPageSetupData::GetMinMarginBottomRight}\label{wxpagesetupdatagetminmarginbottomright} - -\func{wxPoint}{GetMinMarginBottomRight}{\void} - -Returns the right (x) and bottom (y) minimum margins the user can enter (Windows only). - -\membersection{wxPageSetupData::GetOrientation}\label{wxpagesetupdatagetorientation} - -\func{int}{GetOrientation}{\void} - -Returns the orientation, which can be wxPORTRAIT or wxLANDSCAPE. - -\membersection{wxPageSetupData::GetDefaultMinMargins}\label{wxpagesetupdatagetdefaultminmargins} - -\func{bool}{GetDefaultMinMargins}{\void} - -Returns TRUE if the page setup dialog will take its minimum margin values from the currently -selected printer properties. Windows only. - -\membersection{wxPageSetupData::GetEnableMargins}\label{wxpagesetupdatagetenablemargins} - -\func{bool}{GetEnableMargins}{\void} - -Returns TRUE if the margin controls are enabled (Windows only). - -\membersection{wxPageSetupData::GetEnableOrientation}\label{wxpagesetupdatagetenableorientation} - -\func{bool}{GetEnableOrientation}{\void} - -Returns TRUE if the orientation control is enabled (Windows only). - -\membersection{wxPageSetupData::GetEnablePaper}\label{wxpagesetupdatagetenablepaper} - -\func{bool}{GetEnablePaper}{\void} - -Returns TRUE if the paper size control is enabled (Windows only). - -\membersection{wxPageSetupData::GetEnablePrinter}\label{wxpagesetupdatagetenableprinter} - -\func{bool}{GetEnablePrinter}{\void} - -Returns TRUE if the printer setup button is enabled. - -\membersection{wxPageSetupData::GetEnableHelp}\label{wxpagesetupdatagetenablehelp} - -\func{bool}{GetEnableHelp}{\void} - -Returns TRUE if the printer setup button is enabled. - -\membersection{wxPageSetupData::GetDefaultInfo}\label{wxpagesetupdatagetdefaultinfo} - -\func{bool}{GetDefaultInfo}{\void} - -Returns TRUE if the dialog will simply return default printer information (such as orientation) -instead of showing a dialog. Windows only. - -\membersection{wxPageSetupData::SetPaperSize}\label{wxpagesetupdatasetpapersize} - -\func{void}{SetPaperSize}{\param{const wxPoint\& }{size}} - -Sets the paper size in millimetres. - -\membersection{wxPageSetupData::SetMarginTopLeft}\label{wxpagesetupdatasetmargintopleft} - -\func{void}{GetMarginTopLeft}{\param{const wxPoint\& }{pt}} - -Sets the left (x) and top (y) margins. - -\membersection{wxPageSetupData::SetMarginBottomRight}\label{wxpagesetupdatasetmarginbottomright} - -\func{void}{SetMarginBottomRight}{\param{const wxPoint\& }{pt}} - -Sets the right (x) and bottom (y) margins. - -\membersection{wxPageSetupData::SetMinMarginTopLeft}\label{wxpagesetupdatasetminmargintopleft} - -\func{void}{SetMinMarginTopLeft}{\param{const wxPoint\& }{pt}} - -Sets the left (x) and top (y) minimum margins the user can enter (Windows only). - -\membersection{wxPageSetupData::SetMinMarginBottomRight}\label{wxpagesetupdatasetminmarginbottomright} - -\func{void}{SetMinMarginBottomRight}{\param{const wxPoint\& }{pt}} - -Sets the right (x) and bottom (y) minimum margins the user can enter (Windows only). - -\membersection{wxPageSetupData::SetOrientation}\label{wxpagesetupdatasetorientation} - -\func{void}{SetOrientation}{\param{int }{orientation}} - -Sets the orientation, which can be wxPORTRAIT or wxLANDSCAPE. - -\membersection{wxPageSetupData::SetDefaultMinMargins}\label{wxpagesetupdatasetdefaultminmargins} - -\func{void}{SetDefaultMinMargins}{\param{bool}{ flag}} - -Pass TRUE if the page setup dialog will take its minimum margin values from the currently -selected printer properties. Windows only. - -\membersection{wxPageSetupData::SetDefaultInfo}\label{wxpagesetupdatasetdefaultinfo} - -\func{void}{SetDefaultInfo}{\param{bool}{ flag}} - -Pass TRUE if the dialog will simply return default printer information (such as orientation) -instead of showing a dialog. Windows only. - -\section{\class{wxPageSetupDialog}}\label{wxpagesetupdialog} - -This class represents the page setup common dialog. The page setup dialog is standard from -Windows 95 on, replacing the print setup dialog (which is retained in Windows and wxWindows -for backward compatibility). On Windows 95 and NT 4.0 and above, the page setup dialog is -native to the windowing system, otherwise it is emulated. - -The page setup dialog contains controls for paper size (A4, A5 etc.), orientation (landscape -or portrait), and controls for setting left, top, right and bottom margin sizes in millimetres. -The page setup dialog does not set any global information (the exception being orientation -for PostScript printing) so you need to query the \helpref{wxPageSetupData}{wxpagesetupdata} object -associated with the dialog. - -Note that the OK and Cancel buttons do not destroy the dialog; this must be done by the -application. - -\wxheading{Derived from} - -\helpref{wxDialog}{wxdialog}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxPrintDialog}{wxprintdialog}, \helpref{wxPageSetupData}{wxpagesetupdata} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPageSetupDialog::wxPageSetupDialog} - -\func{}{wxPageSetupDialog}{\param{wxWindow* }{parent}, \param{wxPageSetupData* }{data = NULL}} - -Constructor. Pass a parent window, and optionally a pointer to a block of page setup -data, which will be copied to the print dialog's internal data. - -\membersection{wxPageSetupDialog::\destruct{wxPageSetupDialog}} - -\func{}{\destruct{wxPageSetupDialog}}{\void} - -Destructor. - -\membersection{wxPageSetupDialog::GetPageSetupData}\label{wxpagesetupdialoggetpagesetupdata} - -\func{wxPageSetupData\&}{GetPageSetupData}{\void} - -Returns the \helpref{page setup data}{wxpagesetupdata} associated with the dialog. - -\membersection{wxPageSetupDialog::ShowModal}\label{wxpagesetupdialogshowmodal} - -\func{int}{ShowModal}{\void} - -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCEL -otherwise. - - diff --git a/docs/latex/wx/paintdc.tex b/docs/latex/wx/paintdc.tex deleted file mode 100644 index 5589b42648..0000000000 --- a/docs/latex/wx/paintdc.tex +++ /dev/null @@ -1,35 +0,0 @@ -\section{\class{wxPaintDC}}\label{wxpaintdc} - -A wxPaintDC must be constructed if an application wishes to paint on the -client area of a window from within an {\bf OnPaint} event. -This should normally be constructed as a temporary stack object; don't store -a wxPaintDC object. - -Using wxPaintDC within OnPaint is important because it automatically -sets the clipping area to the damaged area of the window. Attempts to draw -outside this area do not appear. - -To draw on a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object. - -To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object -(Windows only). - -\wxheading{Derived from} - -\helpref{wxDC}{wxdc} - -\wxheading{See also} - -\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp -\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPaintDC::wxPaintDC} - -\func{}{wxPaintDC}{\param{wxWindow*}{ window}} - -Constructor. Pass a pointer to the window on which you wish to paint. - - - diff --git a/docs/latex/wx/paintevt.tex b/docs/latex/wx/paintevt.tex deleted file mode 100644 index b60f34bf16..0000000000 --- a/docs/latex/wx/paintevt.tex +++ /dev/null @@ -1,31 +0,0 @@ -\section{\class{wxPaintEvent}}\label{wxpaintevent} - -A paint event is sent when a window's contents needs to be repainted. - -\wxheading{Derived from} - -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process a paint event, use this event handler macro to direct input to a member -function that takes a wxPaintEvent argument. - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_PAINT(func)}}{Process a wxEVT\_PAINT event.} -\end{twocollist}% - -\wxheading{See also} - -\helpref{wxWindow::OnPaint}{wxwindowonpaint}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPaintEvent::wxPaintEvent} - -\func{}{wxPaintEvent}{\param{int }{id = 0}} - -Constructor. - diff --git a/docs/latex/wx/palette.tex b/docs/latex/wx/palette.tex deleted file mode 100644 index 14134b38da..0000000000 --- a/docs/latex/wx/palette.tex +++ /dev/null @@ -1,164 +0,0 @@ -\section{\class{wxPalette}}\label{wxpalette} - -A palette is a table that maps pixel values to RGB colours. It allows the colours -of a low-depth bitmap, for example, to be mapped to the available colours in a display. - -TODO: topic overview for wxPalette. - -\wxheading{Derived from} - -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxDC::SetPalette}{wxdcsetpalette}, \helpref{wxBitmap}{wxbitmap} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPalette::wxPalette}\label{wxpaletteconstr} - -\func{}{wxPalette}{\void} - -Default constructor. - -\func{}{wxPalette}{\param{const wxPalette\&}{ palette}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\func{}{wxPalette}{\param{const wxPalette*}{ palette}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\func{}{wxPalette}{\param{int}{ n}, \param{const unsigned char* }{red},\\ - \param{const unsigned char* }{green}, \param{const unsigned char* }{blue}} - -Creates a palette from arrays of size {\it n}, one for each -red, blue or green component. - -\wxheading{Parameters} - -\docparam{palette}{A pointer or reference to the palette to copy.} - -\docparam{n}{The number of indices in the palette.} - -\docparam{red}{An array of red values.} - -\docparam{green}{An array of green values.} - -\docparam{blue}{An array of blue values.} - -\wxheading{See also} - -\helpref{wxPalette::Create}{wxpalettecreate} - -\membersection{wxPalette::\destruct{wxPalette}} - -\func{}{\destruct{wxPalette}}{\void} - -Destructor. - -\membersection{wxPalette::Create}\label{wxpalettecreate} - -\func{bool}{Create}{\param{int}{ n}, \param{const unsigned char* }{red},\rtfsp - \param{const unsigned char* }{green}, \param{const unsigned char* }{blue}} - -Creates a palette from arrays of size {\it n}, one for each -red, blue or green component. - -\wxheading{Parameters} - -\docparam{n}{The number of indices in the palette.} - -\docparam{red}{An array of red values.} - -\docparam{green}{An array of green values.} - -\docparam{blue}{An array of blue values.} - -\wxheading{Return value} - -TRUE if the creation was successful, FALSE otherwise. - -\wxheading{See also} - -\helpref{wxPalette::wxPalette}{wxpaletteconstr} - -\membersection{wxPalette::GetPixel}\label{wxpalettegetpixel} - -\constfunc{int}{GetPixel}{\param{const unsigned char }{red}, \param{const unsigned char }{green},\rtfsp - \param{const unsigned char }{blue}} - -Returns a pixel value (index into the palette) for the given RGB values. - -\wxheading{Parameters} - -\docparam{red}{Red value.} - -\docparam{green}{Green value.} - -\docparam{blue}{Blue value.} - -\wxheading{Return value} - -The nearest palette index. - -\wxheading{See also} - -\helpref{wxPalette::GetRGB}{wxpalettegetrgb} - -\membersection{wxPalette::GetRGB}\label{wxpalettegetrgb} - -\constfunc{bool}{GetPixel}{\param{int}{ pixel}, \param{const unsigned char* }{red}, \param{const unsigned char* }{green},\rtfsp - \param{const unsigned char* }{blue}} - -Returns RGB values for a given palette index. - -\wxheading{Parameters} - -\docparam{pixel}{The palette index.} - -\docparam{red}{Receives the red value.} - -\docparam{green}{Receives the green value.} - -\docparam{blue}{Receives the blue value.} - -\wxheading{Return value} - -TRUE if the operation was successful. - -\wxheading{See also} - -\helpref{wxPalette::GetPixel}{wxpalettegetpixel} - -\membersection{wxPalette::Ok}\label{wxpaletteok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if palette data is present. - -\membersection{wxPalette::operator $=$}\label{wxpaletteassignment} - -\func{wxPalette\&}{operator $=$}{\param{const wxPalette\& }{palette}} - -Assignment operator, using reference counting. Returns a reference -to `this'. - -\membersection{wxPalette::operator $==$}\label{wxpaletteequals} - -\func{bool}{operator $==$}{\param{const wxPalette\& }{palette}} - -Equality operator. Two palettes are equal if they contain pointers -to the same underlying palette data. It does not compare each attribute, -so two independently-created palettes using the same parameters will -fail the test. - -\membersection{wxPalette::operator $!=$}\label{wxpalettenotequals} - -\func{bool}{operator $!=$}{\param{const wxPalette\& }{palette}} - -Inequality operator. Two palettes are not equal if they contain pointers -to different underlying palette data. It does not compare each attribute. - - diff --git a/docs/latex/wx/panel.tex b/docs/latex/wx/panel.tex deleted file mode 100644 index af873dd390..0000000000 --- a/docs/latex/wx/panel.tex +++ /dev/null @@ -1,118 +0,0 @@ -\section{\class{wxPanel}}\label{wxpanel} - -A panel is a window on which controls are placed. It is usually placed within a frame. -It contains minimal extra functionality over and above its parent class wxWindow; its main -purpose is to be similar in appearance and functionality to a dialog, but with the flexibility of -having any window as a parent. - -\wxheading{Derived from} - -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -There are no specific styles for this window. - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Remarks} - -By default, a panel has the same colouring as a dialog. - -A panel may be loaded from a wxWindows resource file (extension {\tt wxr}). - -\wxheading{See also} - -\helpref{wxDialog}{wxdialog} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPanel::wxPanel}\label{wxpanelconstr} - -\func{}{wxPanel}{\void} - -Default constructor. - -\func{}{wxPanel}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp -\param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxTAB\_TRAVERSAL},\rtfsp -\param{const wxString\& }{name = ``panel"}} - -Constructor. - -\wxheading{Parameters} - -\docparam{parent}{The parent window.} - -\docparam{id}{An identifier for the panel. A value of -1 is taken to mean a default.} - -\docparam{pos}{The panel position. A value of (-1, -1) indicates a default position, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{size}{The panel size. A value of (-1, -1) indicates a default size, chosen by -either the windowing system or wxWindows, depending on platform.} - -\docparam{style}{The window style. See \helpref{wxPanel}{wxpanel}.} - -\docparam{name}{Used to associate a name with the window, -allowing the application user to set Motif resource values for -individual dialog boxes.} - -\wxheading{See also} - -\helpref{wxPanel::Create}{wxpanelcreate} - -\membersection{wxPanel::\destruct{wxPanel}} - -\func{}{\destruct{wxPanel}}{\void} - -Destructor. Deletes any child windows before deleting the physical window. - -\membersection{wxPanel::Create}\label{wxpanelcreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp -\param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxTAB\_TRAVERSAL},\rtfsp -\param{const wxString\& }{name = ``panel"}} - -Used for two-step panel construction. See \helpref{wxPanel::wxPanel}{wxpanelconstr}\rtfsp -for details. - -\membersection{wxPanel::InitDialog}\label{wxpanelinitdialog} - -\func{void}{InitDialog}{\void} - -Sends an \helpref{wxWindow::OnInitDialog}{wxwindowoninitdialog} event, which -in turn transfers data to the dialog via validators. - -\wxheading{See also} - -\helpref{wxWindow::OnInitDialog}{wxwindowoninitdialog} - -\membersection{wxPanel::OnSysColourChanged}\label{wxpanelonsyscolourchanged} - -\func{void}{OnSysColourChanged}{\param{wxSysColourChangedEvent\& }{event}} - -The default handler for wxEVT\_SYS\_COLOUR\_CHANGED. - -\wxheading{Parameters} - -\docparam{event}{The colour change event.} - -\wxheading{Remarks} - -Changes the panel's colour to conform to the current settings (Windows only). -Add an event table entry for your panel class if you wish the behaviour -to be different (such as keeping a user-defined -background colour). If you do override this function, call \helpref{wxWindow::OnSysColourChanged}{wxwindowonsyscolourchanged} to -propagate the notification to child windows and controls. - -\wxheading{See also} - -\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent} - - diff --git a/docs/latex/wx/pantabv.tex b/docs/latex/wx/pantabv.tex deleted file mode 100644 index 69e9cc8546..0000000000 --- a/docs/latex/wx/pantabv.tex +++ /dev/null @@ -1,69 +0,0 @@ -\section{\class{wxPanelTabView}}\label{wxpaneltabview} - -The wxPanelTabView is responsible for input and output on a wxPanel. - -\wxheading{Derived from} - -\helpref{wxTabView}{wxtabview}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxTabView overview}{wxtabviewoverview}, \helpref{wxTabView}{wxtabview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPanelTabView::wxPanelTabView}\label{wxpaneltabviewconstr} - -\func{void}{wxPanelTabView}{\param{wxPanel *}{panel}, \param{long }{style = wxTAB\_STYLE\_DRAW\_BOX \pipe wxTAB\_STYLE\_COLOUR\_INTERIOR}} - -Constructor. {\it panel} should be a wxTabbedPanel or wxTabbedDialog: the type will be checked by the view at run time. - -{\it style} may be a bit list of the following: - -\begin{twocollist}\itemsep=0pt -\twocolitem{wxTAB\_STYLE\_DRAW\_BOX}{Draw a box around the view area. Most commonly used for dialogs.} -\twocolitem{wxTAB\_STYLE\_COLOUR\_INTERIOR}{Draw tab backgrounds in the specified colour. Omitting this style -will ensure that the tab background matches the dialog background.} -\end{twocollist} - -\membersection{wxPanelTabView::\destruct{wxPanelTabView}} - -\func{void}{\destruct{wxPanelTabView}}{\void} - -Destructor. This destructor deletes all the panels associated with the view. -If you do not wish this to happen, call ClearWindows with argument FALSE before the -view is likely to be destroyed. This will clear the list of windows, without deleting them. - -\membersection{wxPanelTabView::AddTabWindow}\label{wxpaneltabviewaddtabwindow} - -\func{void}{AddTabPanel}{\param{int}{ id}, \param{wxWindow *}{window}} - -Adds a window to the view. The window is associated with the tab identifier, and will be shown or hidden as the tab -is selected or deselected. - -\membersection{wxPanelTabView::ClearWindows} - -\func{void}{ClearWindows}{\param{bool}{ deleteWindows = TRUE}} - -Removes the child windows from the view. If {\it deleteWindows} is TRUE, the windows will be deleted. - -\membersection{wxPanelTabView::GetCurrentWindow} - -\func{wxPanel *}{GetCurrentWindow}{\void} - -Returns the child window currently being displayed on the tabbed panel or dialog box. - -\membersection{wxPanelTabView::GetTabWindow} - -\func{wxWindow *}{GetTabWindow}{\param{int}{ id}} - -Returns the window associated with the tab identifier. - -\membersection{wxPanelTabView::ShowWindowForTab} - -\func{void}{ShowWindowForTab}{\param{int}{ id}} - -Shows the child window corresponding to the tab identifier, and hides the previously shown window. - - diff --git a/docs/latex/wx/pathlist.tex b/docs/latex/wx/pathlist.tex deleted file mode 100644 index 8310d24e3f..0000000000 --- a/docs/latex/wx/pathlist.tex +++ /dev/null @@ -1,75 +0,0 @@ -\section{\class{wxPathList}}\label{wxpathlist} - -The path list is a convenient way of storing a number of directories, and -when presented with a filename without a directory, searching for an existing file -in those directories. Storing the filename only in an application's files and -using a locally-defined list of directories makes the application and its files more -portable. - -Use the {\it wxFileNameFromPath} global function to extract the filename -from the path. - -\wxheading{Derived from} - -\helpref{wxList}{wxlist}\\ -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxList}{wxlist} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPathList::wxPathList} - -\func{}{wxPathList}{\void} - -Constructor. - -\membersection{wxPathList::AddEnvList} - -\func{void}{AddEnvList}{\param{const wxString\& }{env\_variable}} - -Finds the value of the given environment variable, and adds all paths -to the path list. Useful for finding files in the PATH variable, for -example. - -\membersection{wxPathList::Add} - -\func{void}{Add}{\param{const wxString\& }{path}} - -Adds the given directory to the path list, but does not -check if the path was already on the list (use wxPathList::Member) -for this). - -\membersection{wxPathList::EnsureFileAccessible} - -\func{void}{EnsureFileAccessible}{\param{const wxString\& }{filename}} - -Given a full filename (with path), ensures that files in the same path -can be accessed using the pathlist. It does this by stripping the -filename and adding the path to the list if not already there. - -\membersection{wxPathList::FindAbsoluteValidPath} - -\func{wxString}{FindAbsoluteValidPath}{\param{const wxString\& }{file}} - -Searches for a full path for an existing file by appending {\it file} to -successive members of the path list. If the file exists, a temporary -pointer to the absolute path is returned. - -\membersection{wxPathList::FindValidPath} - -\func{wxString}{FindValidPath}{\param{const wxString\& }{file}} - -Searches for a full path for an existing file by appending {\it file} to -successive members of the path list. If the file exists, a temporary -pointer to the full path is returned. This path may be relative to the current -working directory. - -\membersection{wxPathList::Member} - -\func{bool}{Member}{\param{const wxString\& }{file}} - -TRUE if the path is in the path list (ignoring case). - diff --git a/docs/latex/wx/pen.tex b/docs/latex/wx/pen.tex deleted file mode 100644 index c0490876e9..0000000000 --- a/docs/latex/wx/pen.tex +++ /dev/null @@ -1,380 +0,0 @@ -\section{\class{wxPen}}\label{wxpen} - -A pen is a drawing tool for drawing outlines. It is used for drawing -lines and painting the outline of rectangles, ellipses, etc. It has a -colour, a width and a style. - -\wxheading{Remarks} - -On a monochrome display, wxWindows shows all non-white pens as black. - -Do not initialize objects on the stack before the program commences, -since other required structures may not have been set up yet. Instead, -define global pointers to objects and create them in {\it OnInit} or -when required. - -An application may wish to dynamically create pens with different -characteristics, and there is the consequent danger that a large number -of duplicate pens will be created. Therefore an application may wish to -get a pointer to a pen by using the global list of pens {\bf -wxThePenList}, and calling the member function {\bf FindOrCreatePen}. -See the entry for \helpref{wxPenList}{wxpenlist}. - -TODO: an overview for wxPen. - -\wxheading{See also} - -\helpref{wxPenList}{wxpenlist}, \helpref{wxDC}{wxdc}, \helpref{wxDC::SetPen}{wxdcsetpen} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPen::wxPen}\label{wxpenconstr} - -\func{}{wxPen}{\void} - -Default constructor. The pen will be uninitialised, and \helpref{wxPen::Ok}{wxpenok} will -return FALSE. - -\func{}{wxPen}{\param{const wxColour\&}{ colour}, \param{int}{ width}, \param{int}{ style}} - -Constructs a pen from a colour object, pen width and style. - -\func{}{wxPen}{\param{const wxString\& }{colourName}, \param{int}{ width}, \param{int}{ style}} - -Constructs a pen from a colour name, pen width and style. - -\func{}{wxPen}{\param{const wxBitmap\&}{ stipple}, \param{int}{ width}} - -Constructs a stippled pen from a stipple bitmap and a width. - -\func{}{wxPen}{\param{const wxPen\&}{ pen}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\func{}{wxPen}{\param{const wxPen*}{ pen}} - -Copy constructor. This uses reference counting so is a cheap operation. - -\wxheading{Parameters} - -\docparam{colour}{A colour object.} - -\docparam{colourName}{A colour name.} - -\docparam{width}{Pen width. Under Windows, the pen width cannot be greater than 1 if -the style is wxDOT, wxLONG\_DASH, wxSHORT\_DASH, wxDOT\_DASH, or wxUSER\_DASH.} - -\docparam{stipple}{A stipple bitmap.} - -\docparam{pen}{A pointer or reference to a pen to copy.} - -\docparam{width}{Pen width. Under Windows, the pen width cannot be greater than 1 if -the style is wxDOT, wxLONG\_DASH, wxSHORT\_DASH, wxDOT\_DASH, or wxUSER\_DASH.} - -\docparam{style}{The style may be one of the following: - -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxSOLID}}{Solid style.} -\twocolitem{{\bf wxTRANSPARENT}}{No pen is used.} -\twocolitem{{\bf wxDOT}}{Dotted style.} -\twocolitem{{\bf wxLONG\_DASH}}{Long dashed style.} -\twocolitem{{\bf wxSHORT\_DASH}}{Short dashed style.} -\twocolitem{{\bf wxDOT\_DASH}}{Dot and dash style.} -\twocolitem{{\bf wxSTIPPLE}}{Use the stipple bitmap.} -\twocolitem{{\bf wxUSER\_DASH}}{Use the user dashes: see \helpref{wxPen::SetDashes}{wxpensetdashes}.} -\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.} -\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.} -\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.} -\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.} -\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.} -\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.} -\end{twocollist}} - -\wxheading{Remarks} - -If the named colour form is used, an appropriate {\bf wxColour} structure -is found in the colour database. - -{\it style} may be one of wxSOLID, wxDOT, wxLONG\_DASH, wxSHORT\_DASH and -wxDOT\_DASH. - -\wxheading{See also} - -\helpref{wxPen::SetStyle}{wxpensetstyle}, \helpref{wxPen::SetColour}{wxpensetcolour},\rtfsp -\helpref{wxPen::SetWidth}{wxpensetwidth}, \helpref{wxPen::SetStipple}{wxpensetstipple} - -\membersection{wxPen::\destruct{wxPen}} - -\func{}{\destruct{wxPen}}{\void} - -Destructor. - -\wxheading{Remarks} - -The destructor may not delete the underlying pen object of the native windowing -system, since wxBrush uses a reference counting system for efficiency. - -Although all remaining pens are deleted when the application exits, -the application should try to clean up all pens itself. This is because -wxWindows cannot know if a pointer to the pen object is stored in an -application data structure, and there is a risk of double deletion. - -\membersection{wxPen::GetCap}\label{wxpengetcap} - -\constfunc{int}{GetCap}{\void} - -Returns the pen cap style, which may be one of {\bf wxCAP\_ROUND}, {\bf wxCAP\_PROJECTING} and -\rtfsp{\bf wxCAP\_BUTT}. The default is {\bf wxCAP\_ROUND}. - -\wxheading{See also} - -\helpref{wxPen::SetCap}{wxpensetcap} - -\membersection{wxPen::GetColour}\label{wxpengetcolour} - -\constfunc{wxColour\&}{GetColour}{\void} - -Returns a reference to the pen colour. - -\wxheading{See also} - -\helpref{wxPen::SetColour}{wxpensetcolour} - -\membersection{wxPen::GetDashes}\label{wxpengetdashes} - -\constfunc{int}{GetDashes}{\param{wxDash**}{ dashes}} - -Gets an array of dashes (defined as char in X, DWORD under Windows). -{\it dashes} is a pointer to the internal array. Do not deallocate or store this pointer. -The function returns the number of dashes associated with this pen. - -\wxheading{See also} - -\helpref{wxPen::SetDashes}{wxpensetdashes} - -\membersection{wxPen::GetJoin}\label{wxpengetjoin} - -\constfunc{int}{GetJoin}{\void} - -Returns the pen join style, which may be one of {\bf wxJOIN\_BEVEL}, {\bf wxJOIN\_ROUND} and -\rtfsp{\bf wxJOIN\_MITER}. The default is {\bf wxJOIN\_ROUND}. - -\wxheading{See also} - -\helpref{wxPen::SetJoin}{wxpensetjoin} - -\membersection{wxPen::GetStipple}\label{wxpengetstipple} - -\constfunc{wxBitmap* }{GetStipple}{\void} - -Gets a pointer to the stipple bitmap. - -\wxheading{See also} - -\helpref{wxPen::SetStipple}{wxpensetstipple} - -\membersection{wxPen::GetStyle}\label{wxpengetstyle} - -\constfunc{int}{GetStyle}{\void} - -Returns the pen style. - -\wxheading{See also} - -\helpref{wxPen::wxPen}{wxpenconstr}, \helpref{wxPen::SetStyle}{wxpensetstyle} - -\membersection{wxPen::GetWidth}\label{wxpengetwidth} - -\constfunc{int}{GetWidth}{\void} - -Returns the pen width. - -\wxheading{See also} - -\helpref{wxPen::SetWidth}{wxpensetwidth} - -\membersection{wxPen::Ok}\label{wxpenok} - -\constfunc{bool}{Ok}{\void} - -Returns TRUE if the pen is initialised. - -\membersection{wxPen::SetCap}\label{wxpensetcap} - -\func{void}{SetCap}{\param{int}{ capStyle}} - -Sets the pen cap style, which may be one of {\bf wxCAP\_ROUND}, {\bf wxCAP\_PROJECTING} and -\rtfsp{\bf wxCAP\_BUTT}. The default is {\bf wxCAP\_ROUND}. - -\wxheading{See also} - -\helpref{wxPen::GetCap}{wxpengetcap} - -\membersection{wxPen::SetColour}\label{wxpensetcolour} - -\func{void}{SetColour}{\param{wxColour\&}{ colour}} - -\func{void}{SetColour}{\param{const wxString\& }{colourName}} - -\func{void}{SetColour}{\param{int}{ red}, \param{int}{ green}, \param{int}{ blue}} - -The pen's colour is changed to the given colour. - -\wxheading{See also} - -\helpref{wxPen::GetColour}{wxpengetcolour} - -\membersection{wxPen::SetDashes}\label{wxpensetdashes} - -\func{void}{SetDashes}{\param{int }{n}, \param{wxDash*}{ dashes}} - -Associates an array of pointers to dashes (defined as char in X, DWORD under Windows) -with the pen. The array is not deallocated by wxPen, but neither must it be -deallocated by the calling application until the pen is deleted or this -function is called with a NULL array. - -TODO: describe in detail. - -\wxheading{See also} - -\helpref{wxPen::GetDashes}{wxpengetdashes} - -\membersection{wxPen::SetJoin}\label{wxpensetjoin} - -\func{void}{SetJoin}{\param{int}{join\_style}} - -Sets the pen join style, which may be one of {\bf wxJOIN\_BEVEL}, {\bf wxJOIN\_ROUND} and -\rtfsp{\bf wxJOIN\_MITER}. The default is {\bf wxJOIN\_ROUND}. - -\wxheading{See also} - -\helpref{wxPen::GetJoin}{wxpengetjoin} - -\membersection{wxPen::SetStipple}\label{wxpensetstipple} - -\func{void}{SetStipple}{\param{wxBitmap* }{stipple}} - -Sets the bitmap for stippling. - -\wxheading{See also} - -\helpref{wxPen::GetStipple}{wxpengetstipple} - -\membersection{wxPen::SetStyle}\label{wxpensetstyle} - -\func{void}{SetStyle}{\param{int}{ style}} - -Set the pen style. - -\wxheading{See also} - -\helpref{wxPen::wxPen}{wxpenconstr} - -\membersection{wxPen::SetWidth}\label{wxpensetwidth} - -\func{void}{SetWidth}{\param{int}{ width}} - -Sets the pen width. - -\wxheading{See also} - -\helpref{wxPen::GetWidth}{wxpengetwidth} - -\membersection{wxPen::operator $=$}\label{wxpenassignment} - -\func{wxPen\&}{operator $=$}{\param{const wxPen\& }{pen}} - -Assignment operator, using reference counting. Returns a reference -to `this'. - -\membersection{wxPen::operator $==$}\label{wxpenequals} - -\func{bool}{operator $==$}{\param{const wxPen\& }{pen}} - -Equality operator. Two pens are equal if they contain pointers -to the same underlying pen data. It does not compare each attribute, -so two independently-created pens using the same parameters will -fail the test. - -\membersection{wxPen::operator $!=$}\label{wxpennotequals} - -\func{bool}{operator $!=$}{\param{const wxPen\& }{pen}} - -Inequality operator. Two pens are not equal if they contain pointers -to different underlying pen data. It does not compare each attribute. - -\section{\class{wxPenList}}\label{wxpenlist} - -There is only one instance of this class: {\bf wxThePenList}. Use -this object to search for a previously created pen of the desired -type and create it if not already found. In some windowing systems, -the pen may be a scarce resource, so it can pay to reuse old -resources if possible. When an application finishes, all pens will -be deleted and their resources freed, eliminating the possibility of -`memory leaks'. However, it is best not to rely on this automatic -cleanup because it can lead to double deletion in some circumstances. - -There are two mechanisms in recent versions of wxWindows which make the -pen list less useful than it once was. Under Windows, scarce resources -are cleaned up internally if they are not being used. Also, a referencing -counting mechanism applied to all GDI objects means that some sharing -of underlying resources is possible. You don't have to keep track of pointers, -working out when it is safe delete a pen, because the referencing counting does -it for you. For example, you can set a pen in a device context, and then -immediately delete the pen you passed, because the pen is `copied'. - -So you may find it easier to ignore the pen list, and instead create -and copy pens as you see fit. If your Windows resource meter suggests -your application is using too many resources, you can resort to using -GDI lists to share objects explicitly. - -The only compelling use for the pen list is for wxWindows to keep -track of pens in order to clean them up on exit. It is also kept for -backward compatibility with earlier versions of wxWindows. - -\wxheading{See also} - -\helpref{wxPen}{wxpen} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxPenList::wxPenList} - -\func{void}{wxPenList}{\void} - -Constructor. The application should not construct its own pen list: -use the object pointer {\bf wxThePenList}. - -\membersection{wxPenList::AddPen}\label{wxpenlistaddpen} - -\func{void}{AddPen}{\param{wxPen*}{ pen}} - -Used internally by wxWindows to add a pen to the list. - -\membersection{wxPenList::FindOrCreatePen}\label{wxpenlistfindorcreatepen} - -\func{wxPen*}{FindOrCreatePen}{\param{const wxColour\& }{colour}, \param{int}{ width}, \param{int}{ style}} - -Finds a pen with the specified attributes and returns it, else creates a new pen, adds it -to the pen list, and returns it. - -\func{wxPen*}{FindOrCreatePen}{\param{const wxString\& }{colourName}, \param{int}{ width}, \param{int}{ style}} - -Finds a pen with the specified attributes and returns it, else creates a new pen, adds it -to the pen list, and returns it. - -\wxheading{Parameters} - -\docparam{colour}{Colour object.} - -\docparam{colourName}{Colour name, which should be in the colour database.} - -\docparam{style}{Pen style. See \helpref{wxPen::wxPen}{wxpenconstr} for a list of styles.} - -\membersection{wxPenList::RemovePen}\label{wxpenlistremovepen} - -\func{void}{RemovePen}{\param{wxPen*}{ pen}} - -Used by wxWindows to remove a pen from the list. - - diff --git a/docs/latex/wx/plug.bmp b/docs/latex/wx/plug.bmp deleted file mode 100644 index 6541a1ffb0ba166e81f4b25ecebfaf010706ea54..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 384 zcmX|+J4ixt6vlr=MARD57_>As3bkY}a42esh)|Glkhql44J4!-?qF~SDa#uOIXFmM z$U(tC@=rJji6lfcNE8?-Svm+ku*dB|ALl#g$N83X#->dj{K(V>0|xc|xrM*L*#E1= zpl|;u4Mvep{|=)Yh!6r%6x6d3^7%ZxzhN`q^ZFrJ)q)g0KhWlf`AqDSY&H$Q5PxY9 zYt+%}RrG3^Xt_kBbW8ZQNVs@S==u`v@&fH5MR963>Motxsok cc0JNN&`ba1ID<ps translator used. -% History: -% 1.31: adds \psforDVIALW(?) -% 1.30: adds \splitfile & \joinfiles for multi-file management -% 1.24: fix error handling & add \psonlyboxes -% 1.23: adds \putsp@ce for OzTeX fix -% 1.22: makes \drawingBox \global for use in Phyzzx -% 1.21: accepts %%BoundingBox: (atend) -% 1.20: tries to add \psfordvitps for the TeXPS package. -% 1.10: adds \psforoztex, error handling... -%2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 2345678 7 23456789 -% -\def\temp{1.31} -\let\tempp=\relax -\expandafter\ifx\csname psboxversion\endcsname\relax - \message{version: \temp} -\else - \ifdim\temp cm>\psboxversion cm - \message{version: \temp} - \else - \message{psbox(\psboxversion) is already loaded: I won't load - psbox(\temp)!} - \let\temp=\psboxversion - \let\tempp=\endinput - \fi -\fi -\tempp -\let\psboxversion=\temp -\catcode`\@=11 -% Every macro likes a little privacy... -% -% Some common defs -% -\def\execute#1{#1}% NOT stupid: cs in #1 are then identified BEFORE execution -\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex -\def\executeinspecs#1{% -\execute{\begingroup\let\do\psm@keother\dospecials\catcode`\^^M=9#1\endgroup}} -% -%Trying to tame the variety of \special commands for Postscript: the -% universal internal command \PSspeci@l##1##2 takes ##1 to be the -% filename and ##2 to be the integer scale factor*1000 (as for usual -% TeX \scale commands) -% -\def\psfortextures{% For TeXtures on the Macintosh -%----------------- -\def\PSspeci@l##1##2{% -\special{illustration ##1\space scaled ##2}% -}} -% -\def\psfordvitops{% For the DVItoPS converter on IBM mainframes -%---------------- -\def\PSspeci@l##1##2{% -\special{dvitops: import ##1\space \the\drawingwd \the\drawinght}% -}} -% -\def\psfordvips{% For DVIPS converter on VAX, UNIX and PC's -%-------------- -\def\PSspeci@l##1##2{% -% \special{/@scaleunit 1000 def}% never read dox without trying! -\d@my=0.1bp \d@mx=\drawingwd \divide\d@mx by\d@my% -\special{PSfile=##1\space llx=\psllx\space lly=\pslly\space% -urx=\psurx\space ury=\psury\space rwi=\number\d@mx}% -}} -% -\def\psforoztex{% For the OzTeX shareware on the Macintosh -%-------------- -\def\PSspeci@l##1##2{% -\special{##1 \space - ##2 1000 div dup scale - \putsp@ce{\number-\psllx} \putsp@ce{\number-\pslly} translate -}% -}} -\def\putsp@ce#1{#1 } -% -\def\psfordvitps{% From the UNIX TeXPS package, vers.>3.12 -%--------------- -% Convert a dimension into the number \psn@sp (in scaled points) -\def\psdimt@n@sp##1{\d@mx=##1\relax\edef\psn@sp{\number\d@mx}} -\def\PSspeci@l##1##2{% -% psfig.psr contains the def of "startTexFig": if you can locate it -% and include the correct pathname, it should work -\special{dvitps: Include0 "psfig.psr"}% contains def of "startTexFig" -\psdimt@n@sp{\drawingwd} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\drawinght} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\psllx bp} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\pslly bp} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\psurx bp} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\psury bp} -\special{dvitps: Literal "\psn@sp\space startTexFig\space"} -\special{dvitps: Include1 "##1"} -\special{dvitps: Literal "endTexFig\space"} -}} -\def\psforDVIALW{% Try for dvialw, a UNIX public domain -%--------------- -\def\PSspeci@l##1##2{ -\special{language "PS" -literal "##2 1000 div dup scale" -include "##1"}}} -\def\psonlyboxes{% Draft-like behaviour if none of the others works -%--------------- -\def\PSspeci@l##1##2{% -\at(0cm;0cm){\boxit{\vbox to\drawinght - {\vss - \hbox to\drawingwd{\at(0cm;0cm){\hbox{(##1)}}\hss} - }}} -}% -} -% -\def\psloc@lerr#1{% -\let\savedPSspeci@l=\PSspeci@l% -\def\PSspeci@l##1##2{% -\at(0cm;0cm){\boxit{\vbox to\drawinght - {\vss - \hbox to\drawingwd{\at(0cm;0cm){\hbox{(##1) #1}}\hss} - }}} -\let\PSspeci@l=\savedPSspeci@l% restore normal output for other figs! -}% -} -% -%\def\psfor... add your own! -% -% \ReadPSize{PSfilename} reads the dimensions of a PostScript drawing -% and stores it in \drawinght(wd) -\newread\pst@mpin -\newdimen\drawinght\newdimen\drawingwd -\newdimen\psxoffset\newdimen\psyoffset -\newbox\drawingBox -\newif\ifNotB@undingBox -\newhelp\PShelp{Proceed: you'll have a 5cm square blank box instead of -your graphics (Jean Orloff).} -\def\@mpty{} -\def\s@tsize#1 #2 #3 #4\@ndsize{ - \def\psllx{#1}\def\pslly{#2}% - \def\psurx{#3}\def\psury{#4}% needed by a crazyness of dvips! - \ifx\psurx\@mpty\NotB@undingBoxtrue% this is not a valid one! - \else - \drawinght=#4bp\advance\drawinght by-#2bp - \drawingwd=#3bp\advance\drawingwd by-#1bp -% !Units related by crazy factors as bp/pt=72.27/72 should be BANNED! - \fi - } -\def\sc@nline#1:#2\@ndline{\edef\p@rameter{#1}\edef\v@lue{#2}} -\def\g@bblefirstblank#1#2:{\ifx#1 \else#1\fi#2} -\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex -\def\execute#1{#1}% Seems stupid, but cs are identified BEFORE execution -{\catcode`\%=12 -\xdef\B@undingBox{%%BoundingBox} -} %% is not a true comment in PostScript, even if % is! -\def\ReadPSize#1{ - \edef\PSfilename{#1} - \openin\pst@mpin=#1\relax - \ifeof\pst@mpin \errhelp=\PShelp - \errmessage{I haven't found your postscript file (\PSfilename)} - \psloc@lerr{was not found} - \s@tsize 0 0 142 142\@ndsize - \closein\pst@mpin - \else - \immediate\write\psbj@inaux{#1,} - \loop - \executeinspecs{\catcode`\ =10\global\read\pst@mpin to\n@xtline} - \ifeof\pst@mpin - \errhelp=\PShelp - \errmessage{(\PSfilename) is not an Encapsulated PostScript File: - I could not find any \B@undingBox: line.} - \edef\v@lue{0 0 142 142:} - \psloc@lerr{is not an EPSFile} - \NotB@undingBoxfalse - \else - \expandafter\sc@nline\n@xtline:\@ndline - \ifx\p@rameter\B@undingBox\NotB@undingBoxfalse - \edef\t@mp{% - \expandafter\g@bblefirstblank\v@lue\space\space\space} - \expandafter\s@tsize\t@mp\@ndsize - \else\NotB@undingBoxtrue - \fi - \fi - \ifNotB@undingBox\repeat - \closein\pst@mpin - \fi -\message{#1} -} -% -% \psboxto(xdim;ydim){psfilename}: you specify the dimensions and -% TeX uniformly scales to fit the largest one. If xdim=0pt, the -% scale is fully determined by ydim and vice versa. -% Notice: psboxes are a real vboxes; couldn't take hbox otherwise all -% indentation and all cr's would be interpreted as spaces (hugh!). -% -\newcount\xscale \newcount\yscale \newdimen\pscm\pscm=1cm -\newdimen\d@mx \newdimen\d@my -\let\ps@nnotation=\relax -\def\psboxto(#1;#2)#3{\vbox{ - \ReadPSize{#3} - \divide\drawingwd by 1000 - \divide\drawinght by 1000 - \d@mx=#1 - \ifdim\d@mx=0pt\xscale=1000 - \else \xscale=\d@mx \divide \xscale by \drawingwd\fi - \d@my=#2 - \ifdim\d@my=0pt\yscale=1000 - \else \yscale=\d@my \divide \yscale by \drawinght\fi - \ifnum\yscale=1000 - \else\ifnum\xscale=1000\xscale=\yscale - \else\ifnum\yscale<\xscale\xscale=\yscale\fi - \fi - \fi - \divide \psxoffset by 1000\multiply\psxoffset by \xscale - \divide \psyoffset by 1000\multiply\psyoffset by \xscale - \global\divide\pscm by 1000 - \global\multiply\pscm by\xscale - \multiply\drawingwd by\xscale \multiply\drawinght by\xscale - \ifdim\d@mx=0pt\d@mx=\drawingwd\fi - \ifdim\d@my=0pt\d@my=\drawinght\fi - \message{scaled \the\xscale} - \hbox to\d@mx{\hss\vbox to\d@my{\vss - \global\setbox\drawingBox=\hbox to 0pt{\kern\psxoffset\vbox to 0pt{ - \kern-\psyoffset - \PSspeci@l{\PSfilename}{\the\xscale} - \vss}\hss\ps@nnotation} - \global\ht\drawingBox=\the\drawinght - \global\wd\drawingBox=\the\drawingwd - \baselineskip=0pt - \copy\drawingBox - \vss}\hss} - \global\psxoffset=0pt - \global\psyoffset=0pt% These are local to one figure - \global\pscm=1cm - \global\drawingwd=\drawingwd - \global\drawinght=\drawinght -}} -% -% \psboxscaled{scalefactor*1000}{PSfilename} allows to bypass the -% rounding errors of TeX integer divisions for situations where the -% TeX box should fit the original BoundingBox with a precision better -% than 1/1000. -% -\def\psboxscaled#1#2{\vbox{ - \ReadPSize{#2} - \xscale=#1 - \message{scaled \the\xscale} - \divide\drawingwd by 1000\multiply\drawingwd by\xscale - \divide\drawinght by 1000\multiply\drawinght by\xscale - \divide \psxoffset by 1000\multiply\psxoffset by \xscale - \divide \psyoffset by 1000\multiply\psyoffset by \xscale - \global\divide\pscm by 1000 - \global\multiply\pscm by\xscale - \global\setbox\drawingBox=\hbox to 0pt{\kern\psxoffset\vbox to 0pt{ - \kern-\psyoffset - \PSspeci@l{\PSfilename}{\the\xscale} - \vss}\hss\ps@nnotation} - \global\ht\drawingBox=\the\drawinght - \global\wd\drawingBox=\the\drawingwd - \baselineskip=0pt - \copy\drawingBox - \global\psxoffset=0pt - \global\psyoffset=0pt% These are local to one figure - \global\pscm=1cm - \global\drawingwd=\drawingwd - \global\drawinght=\drawinght -}} -% -% \psbox{PSfilename} makes a TeX box having the minimal size to -% enclose the picture -\def\psbox#1{\psboxscaled{1000}{#1}} -% -% -% \joinfiles file1, file2, ...n \into joinedfilename . -% makes one file out of many -% \splitfile joinedfilename -% the opposite -% -%\def\execute#1{#1}% NOT stupid: cs in #1 are then identified BEFORE execution -%\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex -%\def\executeinspecs#1{% -%\execute{\begingroup\let\do\psm@keother\dospecials\catcode`\^^M=9#1\endgroup}} -%\newread\pst@mpin -\newif\ifn@teof\n@teoftrue -\newif\ifc@ntrolline -\newif\ifmatch -\newread\j@insplitin -\newwrite\j@insplitout -\newwrite\psbj@inaux -\immediate\openout\psbj@inaux=psbjoin.aux -\immediate\write\psbj@inaux{\string\joinfiles} -\immediate\write\psbj@inaux{\jobname,} -% -% We redefine input to keep track of the various files inputted -% -\immediate\let\oldinput=\input -\def\input#1 { - \immediate\write\psbj@inaux{#1,} - \oldinput #1 } -\def\empty{} -\def\setmatchif#1\contains#2{ - \def\match##1#2##2\endmatch{ - \def\tmp{##2} - \ifx\empty\tmp - \matchfalse - \else - \matchtrue - \fi} - \match#1#2\endmatch} -\def\warnopenout#1#2{ - \setmatchif{TrashMe,psbjoin.aux,psbjoin.all}\contains{#2} - \ifmatch - \else - \immediate\openin\pst@mpin=#2 - \ifeof\pst@mpin - \else - \errhelp{If the content of this file is so precious to you, abort (ie -press x or e) and rename it before retrying.} - \errmessage{I'm just about to replace your file named #2} - \fi - \immediate\closein\pst@mpin - \fi - \message{#2} - \immediate\openout#1=#2} -% No comments allowed below: % will have an unusual catcode -{ -\catcode`\%=12 -\gdef\splitfile#1 { - \immediate\openin\j@insplitin=#1 - \message{Splitting file #1 into:} - \warnopenout\j@insplitout{TrashMe} - \loop - \ifeof - \j@insplitin\immediate\closein\j@insplitin\n@teoffalse - \else - \n@teoftrue - \executeinspecs{\global\read\j@insplitin to\spl@tinline\expandafter - \ch@ckbeginnewfile\spl@tinline%Beginning-Of-File-Named:%\endcheck} - \ifc@ntrolline - \else - \toks0=\expandafter{\spl@tinline} - \immediate\write\j@insplitout{\the\toks0} - \fi - \fi - \ifn@teof\repeat - \immediate\closeout\j@insplitout} -\gdef\ch@ckbeginnewfile#1%Beginning-Of-File-Named:#2%#3\endcheck{ - \def\t@mp{#1} - \ifx\empty\t@mp - \def\t@mp{#3} - \ifx\empty\t@mp - \global\c@ntrollinefalse - \else - \immediate\closeout\j@insplitout - \warnopenout\j@insplitout{#2} - \global\c@ntrollinetrue - \fi - \else - \global\c@ntrollinefalse - \fi} -\gdef\joinfiles#1\into#2 { - \message{Joining following files into} - \warnopenout\j@insplitout{#2} - \message{:} - { - \edef\w@##1{\immediate\write\j@insplitout{##1}} - \w@{% This text was produced with psbox's \string\joinfiles.} - \w@{% To decompose and tex it:} - \w@{%-save this with a filename CONTAINING ONLY LETTERS, and no extensions} - \w@{% (say, JOINTFIL), in some uncrowded directory;} - \w@{%-make sure you can \string\input\space psbox.tex (version>=1.3);} - \w@{%-tex JOINTFIL using Plain, or LaTeX, or whatever is needed by} - \w@{% the first part in the joining (after splitting JOINTFIL into} - \w@{% it's constituents, TeX will try to process it as it stands).} - \w@{\string\input\space psbox.tex} - \w@{\string\splitfile{\string\jobname}} - } - \tre@tfilelist#1, \endtre@t - \immediate\closeout\j@insplitout} -\gdef\tre@tfilelist#1, #2\endtre@t{ - \def\t@mp{#1} - \ifx\empty\t@mp - \else - \llj@in{#1} - \tre@tfilelist#2, \endtre@t - \fi} -\gdef\llj@in#1{ - \immediate\openin\j@insplitin=#1 - \ifeof\j@insplitin - \errmessage{I couldn't find file #1.} - \else - \message{#1} - \toks0={%Beginning-Of-File-Named:#1} - \immediate\write\j@insplitout{\the\toks0} - \executeinspecs{\global\read\j@insplitin to\oldj@ininline} - \loop - \ifeof\j@insplitin\immediate\closein\j@insplitin\n@teoffalse - \else\n@teoftrue - \executeinspecs{\global\read\j@insplitin to\j@ininline} - \toks0=\expandafter{\oldj@ininline} - \let\oldj@ininline=\j@ininline - \immediate\write\j@insplitout{\the\toks0} - \fi - \ifn@teof - \repeat - \immediate\closein\j@insplitin - \fi} -} -% To be put at the end of a file, for making an tar-like file containing -% everything it used. -\def\autojoin{ - \immediate\write\psbj@inaux{\string\into\space psbjoin.all} - \immediate\closeout\psbj@inaux - \input psbjoin.aux -} -% -% Annotations & Captions etc... -% -% -% \centinsert{anybox} is just a centered \midinsert, but is included as -% people barely use the original inserts from TeX. -% -\def\centinsert#1{\midinsert\line{\hss#1\hss}\endinsert} -\def\psannotate#1#2{\def\ps@nnotation{#2\global\let\ps@nnotation=\relax}#1} -\def\pscaption#1#2{\vbox{ - \setbox\drawingBox=#1 - \copy\drawingBox - \vskip\baselineskip - \vbox{\hsize=\wd\drawingBox\setbox0=\hbox{#2} - \ifdim\wd0>\hsize - \noindent\unhbox0\tolerance=5000 - \else\centerline{\box0} - \fi -}}} -% for compatibility with older versions -\def\psfig#1#2#3{\pscaption{\psannotate{#1}{#2}}{#3}} -\def\psfigurebox#1#2#3{\pscaption{\psannotate{\psbox{#1}}{#2}}{#3}} -% -% \at(#1;#2)#3 puts #3 at #1-higher and #2-right of the current -% position without moving it (to be used in annotations). -\def\at(#1;#2)#3{\setbox0=\hbox{#3}\ht0=0pt\dp0=0pt - \rlap{\kern#1\vbox to0pt{\kern-#2\box0\vss}}} -% -% \gridfill(ht;wd) makes a 1cm*1cm grid of ht by wd whose lower-left -% corner is the current point -\newdimen\gridht \newdimen\gridwd -\def\gridfill(#1;#2){ - \setbox0=\hbox to 1\pscm - {\vrule height1\pscm width.4pt\leaders\hrule\hfill} - \gridht=#1 - \divide\gridht by \ht0 - \multiply\gridht by \ht0 - \gridwd=#2 - \divide\gridwd by \wd0 - \multiply\gridwd by \wd0 - \advance \gridwd by \wd0 - \vbox to \gridht{\leaders\hbox to\gridwd{\leaders\box0\hfill}\vfill}} -% -% Useful to measure where to put annotations -\def\fillinggrid{\at(0cm;0cm){\vbox{ - \gridfill(\drawinght;\drawingwd)}}} -% -% \textleftof\anybox: Sample text\endtext -% inserts "Sample text" on the left of \anybox ie \vbox, \psbox. -% \textrightof is the symmetric (not documented, too uggly) -% Welcome any suggestion about clean wraparound macros from -% TeXhackers reading this -% -\def\textleftof#1:{ - \setbox1=#1 - \setbox0=\vbox\bgroup - \advance\hsize by -\wd1 \advance\hsize by -2em} -\def\textrightof#1:{ - \setbox0=#1 - \setbox1=\vbox\bgroup - \advance\hsize by -\wd0 \advance\hsize by -2em} -\def\endtext{ - \egroup - \hbox to \hsize{\valign{\vfil##\vfil\cr% -\box0\cr% -\noalign{\hss}\box1\cr}}} -% -% \frameit{\thick}{\skip}{\anybox} -% draws with thickness \thick a box around \anybox, leaving \skip of -% blank around it. eg \frameit{0.5pt}{1pt}{\hbox{hello}} -% \boxit{\anybox} is a shortcut. -\def\frameit#1#2#3{\hbox{\vrule width#1\vbox{ - \hrule height#1\vskip#2\hbox{\hskip#2\vbox{#3}\hskip#2}% - \vskip#2\hrule height#1}\vrule width#1}} -\def\boxit#1{\frameit{0.4pt}{0pt}{#1}} -% -% -\catcode`\@=12 % cs containing @ are unreachable -% -% CUSTOMIZE YOUR DEFAULT DRIVER: -% Uncomment the line corresponding to your TeX system: -%\psfortextures% For TeXtures on the Macintosh -%\psforoztex % For OzTeX shareware on the Macintosh -%\psfordvitops % For the DVItoPS converter for TeX on IBM mainframes - \psfordvips % For DVIPS converter on VAX and UNIX -%\psfordvitps % For dvitps from TeXPS package under UNIX -%\psforDVIALW % For DVIALW, UNIX public domain -%\psonlyboxes % Blank Boxes (when all else fails). diff --git a/docs/latex/wx/query.tex b/docs/latex/wx/query.tex deleted file mode 100644 index 02988522f4..0000000000 --- a/docs/latex/wx/query.tex +++ /dev/null @@ -1,206 +0,0 @@ -\section{\class{wxQueryCol}}\label{wxquerycol} - -Every ODBC data column is represented by an instance of this class. - -\wxheading{Derivation} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\overview{wxQueryCol overview}{wxquerycoloverview}, \overview{wxDatabase overview}{wxdatabaseoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxQueryCol::wxQueryCol} - -\func{void}{wxQueryCol}{\void} - -Constructor. Sets the attributes of the column to default values. - -\membersection{wxQueryCol::\destruct{wxQueryCol}} - -\func{void}{\destruct{wxQueryCol}}{\void} - -Destructor. Deletes the wxQueryField list. - -\membersection{wxQueryCol::BindVar} - -\func{void *}{BindVar}{\param{void *}{v}, \param{long}{ sz}} - -Binds a user-defined variable to a column. Whenever a column is bound to a -variable, it will automatically copy the data of the current field into this -buffer (to a maximum of {\it sz} bytes). - -\membersection{wxQueryCol::FillVar} - -\func{void}{FillVar}{\param{int}{ recnum}} - -Fills the bound variable with the data of the field recnum. When no variable -is bound to the column nothing will happen. - -\membersection{wxQueryCol::GetData} - -\func{void *}{GetData}{\param{int}{ field}} - -Returns a pointer to the data of the field. - -\membersection{wxQueryCol::GetName} - -\func{wxString}{GetName}{\void} - -Returns the name of a column. - -\membersection{wxQueryCol::GetType} - -\func{short}{GetType}{\void} - -Returns the data type of a column. - -\membersection{wxQueryCol::GetSize} - -\func{long}{GetSize}{\param{int}{ field}} - -Return the size of the data of the field field. - -\membersection{wxQueryCol::IsRowDirty} - -\func{bool}{IsRowDirty}{\param{int}{ field}} - -Returns TRUE if the given field has been changed, but not saved. - -\membersection{wxQueryCol::IsNullable} - -\func{bool}{IsNullable}{\void} - -Returns TRUE if a column may contain no data. - -\membersection{wxQueryCol::AppendField} - -\func{void}{AppendField}{\param{void *}{buf}, \param{long}{ len}} - -Appends a wxQueryField instance to the field list of the column. {\it len} bytes from\rtfsp -{\it buf} will be copied into the field's buffer. - -\membersection{wxQueryCol::SetData} - -\func{bool}{SetData}{\param{int}{ field}, \param{void *}{buf}, \param{long}{ len}} - -Sets the data of a field. This function finds the wxQueryField corresponding to\rtfsp -{\it field} and calls wxQueryField::SetData with {\it buf} and {\it len} arguments. - -\membersection{wxQueryCol::SetName} - -\func{void}{SetName}{\param{const wxString\& }{name}} - -Sets the name of a column. Only useful when creating new tables or -appending columns. - -\membersection{wxQueryCol::SetNullable} - -\func{void}{SetNullable}{\param{bool}{ nullable}} - -Determines whether a column may contain no data. Only useful when creating new tables or -appending columns. - -\membersection{wxQueryCol::SetFieldDirty} - -\func{void}{SetFieldDirty}{\param{int}{ field}, \param{bool }{dirty = TRUE}} - -Sets the dirty tag of a given field. - -\membersection{wxQueryCol::SetType} - -\func{void}{SetType}{\param{short}{ type}} - -Sets the data type of a column. Only useful when creating new tables or -appending columns. - -\section{\class{wxQueryField}}\label{wxqueryfield} - -Represents the data item for one or several columns. - -\wxheading{Derivation} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\overview{wxQueryField overview}{wxqueryfieldoverview}, \overview{wxDatabase overview}{wxdatabaseoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxQueryField::wxQueryField} - -\func{}{wxQueryField}{\void} - -Constructor. Sets type and size of the field to default values. - -\membersection{wxQueryField::\destruct{wxQueryField}} - -\func{}{\destruct{wxQueryField}}{\void} - -Destructor. Frees the associated memory depending on the field type. - -\membersection{wxQueryField::AllocData} - -\func{bool}{AllocData}{\void} - -Allocates memory depending on the size and type of the field. - -\membersection{wxQueryField::ClearData} - -\func{void}{ClearData}{\void} - -Deletes the contents of the field buffer without deallocating the memory. - -\membersection{wxQueryField::GetData} - -\func{void *}{GetData}{\void} - -Returns a pointer to the field buffer. - -\membersection{wxQueryField::GetSize} - -\func{long}{GetSize}{\void} - -Returns the size of the field buffer. - -\membersection{wxQueryField::GetType} - -\func{short}{GetType}{\void} - -Returns the type of the field (currently SQL\_CHAR, SQL\_VARCHAR or SQL\_INTEGER). - -\membersection{wxQueryField::IsDirty} - -\func{bool}{IsDirty}{\void} - -Returns TRUE if the data of a field has been changed, but not saved. - -\membersection{wxQueryField::SetData} - -\func{bool}{SetData}{\param{void *}{data}, \param{long}{ sz}} - -Allocates memory of the size {\it sz} and copies the contents of {\it d} into the -field buffer. - -\membersection{wxQueryField::SetDirty} - -\func{void}{SetDirty}{\param{bool}{ dirty = TRUE}} - -Sets the dirty tag of a field. - -\membersection{wxQueryField::SetSize} - -\func{void}{SetSize}{\param{long}{ size}} - -Resizes the field buffer. Stored data will be lost. - -\membersection{wxQueryField::SetType} - -\func{void}{SetType}{\param{short }{type}} - -Sets the type of the field. Currently the types SQL\_CHAR, SQL\_VARCHAR and -SQL\_INTEGER are supported. - diff --git a/docs/latex/wx/radiobox.tex b/docs/latex/wx/radiobox.tex deleted file mode 100644 index c679667354..0000000000 --- a/docs/latex/wx/radiobox.tex +++ /dev/null @@ -1,226 +0,0 @@ -\section{\class{wxRadioBox}}\label{wxradiobox} - -A radio box item is used to select one of number of mutually exclusive -choices. It is displayed as a vertical column or horizontal row of -labelled buttons. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxRA\_HORIZONTAL}}{Lays the radiobox out in rows.} -\twocolitem{\windowstyle{wxRA\_VERTICAL}}{Lays the radiobox out in columns.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_RADIOBOX(id, func)}}{Process a wxEVT\_COMMAND\_RADIOBOX\_SELECTED event, -when a radiobutton is clicked.} -\end{twocollist} - -\wxheading{See also} - -\helpref{Event handling overview}{eventhandlingoverview}, \helpref{wxRadioButton}{wxradiobutton},\rtfsp -\helpref{wxCheckBox}{wxcheckbox} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxRadioBox::wxRadioBox}\label{wxradioboxconstr} - -\func{}{wxRadioBox}{\void} - -Default constructor. - -\func{}{wxRadioBox}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{const wxString\& }{label},\rtfsp -\param{const wxPoint\& }{point = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{int}{ n = 0}, \param{const wxString}{ choices[] = NULL},\rtfsp -\param{int}{ majorDimension = 0}, \param{long}{ style = wxRA\_HORIZONTAL},\rtfsp -\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp -\param{const wxString\& }{name = ``radioBox"}} - -Constructor, creating and showing a radiobox. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{label}{Label for the static box surrounding the radio buttons.} - -\docparam{pos}{Window position. If the position (-1, -1) is specified then a default position is chosen.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then a default size is chosen.} - -\docparam{n}{Number of choices with which to initialize the radiobox.} - -\docparam{choices}{An array of choices with which to initialize the radiobox.} - -\docparam{majorDimension}{Specifies the number of rows (if style is wxRA\_VERTICAL) or columns (if style is wxRA\_HORIZONTAL) for a two-dimensional -radiobox.} - -\docparam{style}{Window style. See \helpref{wxRadioBox}{wxradiobox}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxRadioBox::Create}{wxradioboxcreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxRadioBox::\destruct{wxRadioBox}} - -\func{}{\destruct{wxRadioBox}}{\void} - -Destructor, destroying the radiobox item. - -\membersection{wxRadioBox::Create}\label{wxradioboxcreate} - -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{const wxString\& }{label},\rtfsp -\param{const wxPoint\& }{point = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{int}{ n = 0}, \param{const wxString}{ choices[] = NULL},\rtfsp -\param{int}{ majorDimension = 0}, \param{long}{ style = wxRA\_HORIZONTAL},\rtfsp -\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp -\param{const wxString\& }{name = ``radioBox"}} - -Creates the radiobox for two-step construction. See \helpref{wxRadioBox::wxRadioBox}{wxradioboxconstr}\rtfsp -for further details. - -\membersection{wxRadioBox::Enable}\label{wxradioboxenable} - -\func{void}{Enable}{\param{const bool}{ enable}} - -Enables or disables the entire radiobox. - -\func{void}{Enable}{\param{int}{ n}, \param{const bool}{ enable}} - -Enables or disables an individual button in the radiobox. - -\wxheading{Parameters} - -\docparam{enable}{TRUE to enable, FALSE to disable.} - -\docparam{n}{The zero-based button to enable or disable.} - -\membersection{wxRadioBox::FindString}\label{wxradioboxfindstring} - -\constfunc{int}{FindString}{\param{const wxString\& }{string}} - -Finds a button matching the given string, returning the position if found, or --1 if not found. - -\wxheading{Parameters} - -\docparam{string}{The string to find.} - -\membersection{wxRadioBox::GetLabel}\label{wxradioboxgetlabel} - -\constfunc{wxString}{GetLabel}{\void} - -Returns the radiobox label. - -\constfunc{wxString}{GetLabel}{\param{int }{n}} - -Returns the label for the given button. - -\wxheading{Parameters} - -\docparam{n}{The zero-based button index.} - -\wxheading{See also} - -\helpref{wxRadioBox::SetLabel}{wxradioboxsetlabel} - -\membersection{wxRadioBox::GetSelection}\label{wxradioboxgetselection} - -\constfunc{int}{GetSelection}{\void} - -Returns the zero-based position of the selected button. - -\membersection{wxRadioBox::GetStringSelection}\label{wxradioboxgetstringselection} - -\constfunc{wxString}{GetStringSelection}{\void} - -Returns the selected string. - -\membersection{wxRadioBox::Number}\label{wxradioboxnumber} - -\constfunc{int}{Number}{\void} - -Returns the number of buttons in the radiobox. - -\membersection{wxRadioBox::SetLabel}\label{wxradioboxsetlabel} - -\func{void}{SetLabel}{\param{const wxString\&}{ label}} - -Sets the radiobox label. - -\func{void}{SetLabel}{\param{int }{n}, \param{const wxString\&}{ label}} - -Sets a label for a radio button. - -\wxheading{Parameters} - -\docparam{label}{The label to set.} - -\docparam{n}{The zero-based button index.} - -\membersection{wxRadioBox::SetSelection}\label{wxradioboxsetselection} - -\func{void}{SetSelection}{\param{int}{ n}} - -Sets a button by passing the desired string position. - -\wxheading{Parameters} - -\docparam{n}{The zero-based button position.} - -\membersection{wxRadioBox::SetStringSelection}\label{wxradioboxsetstringselection} - -\func{void}{SetStringSelection}{\param{const wxString\& }{string}} - -Sets a button by passing the desired string. - -\wxheading{Parameters} - -\docparam{string}{The label of the button to select.} - -\membersection{wxRadioBox::Show}\label{wxradioboxshow} - -\func{void}{Show}{\param{const bool}{ show}} - -Shows or hides the entire radiobox. - -\func{void}{Show}{\param{int }{item}, \param{const bool}{ show}} - -Shows or hides individual buttons. - -\wxheading{Parameters} - -\docparam{show}{TRUE to show, FALSE to hide.} - -\docparam{item}{The zero-based position of the button to show or hide.} - -\membersection{wxRadioBox::GetString}\label{wxradioboxgetstring} - -\constfunc{wxString}{GetString}{\param{int}{ n}} - -Returns the label for the button at the given position. - -\wxheading{Parameters} - -\docparam{n}{The zero-based button position.} - - diff --git a/docs/latex/wx/radiobut.tex b/docs/latex/wx/radiobut.tex deleted file mode 100644 index 8d4f225add..0000000000 --- a/docs/latex/wx/radiobut.tex +++ /dev/null @@ -1,103 +0,0 @@ -\section{\class{wxRadioButton}}\label{wxradiobutton} - -A radio button item is a button which usually denotes one of several mutually -exclusive options. It has a text label next to a (usually) round button. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -There are no specific styles for this class. - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_RADIOBUTTON(id, func)}}{Process a wxEVT\_COMMAND\_RADIOBUTTON\_SELECTED event, -when the radiobutton is clicked.} -\end{twocollist} - -\wxheading{See also} - -\helpref{Event handling overview}{eventhandlingoverview}, \helpref{wxRadioBox}{wxradiobox},\rtfsp -\helpref{wxCheckBox}{wxcheckbox} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxRadioButton::wxRadioButton}\label{wxradiobuttonconstr} - -\func{}{wxRadioButton}{\void} - -Default constructor. - -\func{}{wxRadioButton}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{long}{ style = 0},\rtfsp -\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp -\param{const wxString\& }{name = ``radioButton"}} - -Constructor, creating and showing a radio button. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{label}{Label for the radio button.} - -\docparam{pos}{Window position. If the position (-1, -1) is specified then a default position is chosen.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then a default size is chosen.} - -\docparam{style}{Window style. See \helpref{wxRadioButton}{wxradiobutton}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxRadioButton::Create}{wxradiobuttoncreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxRadioButton::\destruct{wxRadioButton}} - -\func{void}{\destruct{wxRadioButton}}{\void} - -Destructor, destroying the radio button item. - -\membersection{wxRadioButton::Create}\label{wxradiobuttoncreate} - -\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp -\param{long}{ style = 0},\rtfsp -\param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp -\param{const wxString\& }{name = ``radioButton"}} - -Creates the choice for two-step construction. See \helpref{wxRadioButton::wxRadioButton}{wxradiobuttonconstr} for -further details. - -\membersection{wxRadioButton::GetValue}\label{wxradiobuttongetvalue} - -\constfunc{bool}{GetValue}{\void} - -Returns TRUE if the radio button is depressed, FALSE otherwise. - -\membersection{wxRadioButton::SetValue}\label{wxradiobuttonsetvalue} - -\func{void}{SetValue}{\param{const bool}{ value}} - -Sets the radio button to selected or deselected status. - -\wxheading{Parameters} - -\docparam{value}{TRUE to select, FALSE to deselect.} - - diff --git a/docs/latex/wx/realpoin.tex b/docs/latex/wx/realpoin.tex deleted file mode 100644 index 380e997f2a..0000000000 --- a/docs/latex/wx/realpoin.tex +++ /dev/null @@ -1,31 +0,0 @@ -\section{\class{wxRealPoint}}\label{wxrealpoint} - -A {\bf wxRealPoint} is a useful data structure for graphics operations. -It contains floating point point {\it x} and {\it y} members. -See also \helpref{wxPoint}{wxpoint} for an integer version. - -\wxheading{Derivation} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxPoint}{wxpoint} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxRealPoint::wxRealPoint} - -\func{}{wxRealPoint}{\void} - -\func{}{wxRealPoint}{\param{double}{ x}, \param{double}{ y}} - -Create a point. - -\member{double}{ x} - -\member{double}{ y} - -Members of the {\bf wxRealPoint} object. - - diff --git a/docs/latex/wx/recrdset.tex b/docs/latex/wx/recrdset.tex deleted file mode 100644 index 532bddfef1..0000000000 --- a/docs/latex/wx/recrdset.tex +++ /dev/null @@ -1,599 +0,0 @@ -\section{\class{wxRecordSet}}\label{wxrecordset} - -Each wxRecordSet represents an ODBC database query. You can make multiple queries -at a time by using multiple wxRecordSets with a wxDatabase or you can make -your queries in sequential order using the same wxRecordSet. - -\wxheading{Derivation} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxRecordSet overview}{wxrecordsetoverview}, \helpref{wxDatabase overview}{wxdatabaseoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxRecordSet::wxRecordSet} - -\func{}{wxRecordSet}{\param{wxDatabase *}{db}, \param{int}{ type = wxOPEN\_TYPE\_DYNASET}, - \param{int}{ opt = wxOPTION\_DEFAULT}} - -Constructor. {\it db} is a pointer to the wxDatabase instance you wish to use the -wxRecordSet with. Currently there are two possible values of {\it type}: - -\begin{itemize}\itemsep=0pt -\item wxOPEN\_TYPE\_DYNASET: Loads only one record at a time into memory. The other -data of the result set will be loaded dynamically when -moving the cursor. This is the default type. -\item wxOPEN\_TYPE\_SNAPSHOT: Loads all records of a result set at once. This will -need much more memory, but will result in -faster access to the ODBC data. -\end{itemize} - -The {\it option} parameter is not used yet. - -The constructor appends the wxRecordSet object to the parent database's list of -wxRecordSet objects, for later destruction when the wxDatabase is destroyed. - -\membersection{wxRecordSet::\destruct{wxRecordSet}} - -\func{}{\destruct{wxRecordSet}}{\void} - -Destructor. All data except that stored in user-defined variables will be lost. -It also unlinks the wxRecordSet object from the parent database's list of -wxRecordSet objects. - -\membersection{wxRecordSet::AddNew} - -\func{void}{AddNew}{\void} - -Not implemented. - -\membersection{wxRecordSet::BeginQuery} - -\func{bool}{BeginQuery}{\param{int}{ openType}, \param{const wxString\& }{sql = NULL}, \param{int}{ options = wxOPTION\_DEFAULT}} - -Not implemented. - -\membersection{wxRecordSet::BindVar} - -\func{void *}{BindVar}{\param{int}{ col}, \param{void *}{buf}, \param{long}{ size}} - -Binds a user-defined variable to the column col. Whenever the current field's -data changes, it will be copied into buf (maximum {\it size} bytes). - -\func{void *}{BindVar}{\param{const wxString\& }{col}, \param{void *}{buf}, \param{long}{ size}} - -The same as above, but uses the column name as the identifier. - -\membersection{wxRecordSet::CanAppend} - -\func{bool}{CanAppend}{\void} - -Not implemented. - -\membersection{wxRecordSet::Cancel} - -\func{void}{Cancel}{\void} - -Not implemented. - -\membersection{wxRecordSet::CanRestart} - -\func{bool}{CanRestart}{\void} - -Not implemented. - -\membersection{wxRecordSet::CanScroll} - -\func{bool}{CanScroll}{\void} - -Not implemented. - -\membersection{wxRecordSet::CanTransact} - -\func{bool}{CanTransact}{\void} - -Not implemented. - -\membersection{wxRecordSet::CanUpdate} - -\func{bool}{CanUpdate}{\void} - -Not implemented. - -\membersection{wxRecordSet::ConstructDefaultSQL} - -\func{bool}{ConstructDefaultSQL}{\void} - -Not implemented. - -\membersection{wxRecordSet::Delete} - -\func{bool}{Delete}{\void} - -Deletes the current record. Not implemented. - -\membersection{wxRecordSet::Edit} - -\func{void}{Edit}{\void} - -Not implemented. - -\membersection{wxRecordSet::EndQuery} - -\func{bool}{EndQuery}{\void} - -Not implemented. - -\membersection{wxRecordSet::ExecuteSQL}\label{wxrecordsetexecutesql} - -\func{bool}{ExecuteSQL}{\param{const wxString\& }{sql}} - -Directly executes a SQL statement. The data will be presented as a normal -result set. Note that the recordset must have been created as a snapshot, not -dynaset. Dynasets will be implemented in the near future. - -Examples of common SQL statements are given in \helpref{A selection of SQL commands}{sqlcommands}. - -\membersection{wxRecordSet::FillVars} - -\func{void}{FillVars}{\param{int}{ recnum}} - -Fills in the user-defined variables of the columns. You can set these -variables with wxQueryCol::BindVar. This function will be automatically -called after every successful database operation. - -\membersection{wxRecordSet::GetColName} - -\func{wxString}{GetColName}{\param{int}{ col}} - -Returns the name of the column at position {\it col}. Returns NULL if {\it col} does not -exist. - -\membersection{wxRecordSet::GetColType} - -\func{short}{GetColType}{\param{int}{ col}} - -Returns the data type of the column at position {\it col}. Returns SQL\_TYPE\_NULL -if {\it col} does not exist. - -\func{short}{GetColType}{\param{const wxString\& }{ name}} - -The same as above, but uses the column name as the identifier. - -See \helpref{ODBC SQL data types}{sqltypes} for a list -of possible data types. - -\membersection{wxRecordSet::GetColumns} - -\func{bool}{GetColumns}{\param{const wxString\& }{table = NULL}} - -Returns the columns of the table with the specified name. If no name is -given the class member {\it tablename} will be used. If both names are NULL -nothing will happen. The data will be presented as a normal result set, organized -as follows: - -\begin{twocollist}\itemsep=0pt -\twocolitem{0 (VARCHAR)}{TABLE\_QUALIFIER} -\twocolitem{1 (VARCHAR)}{TABLE\_OWNER} -\twocolitem{2 (VARCHAR)}{TABLE\_NAME} -\twocolitem{3 (VARCHAR)}{COLUMN\_NAME} -\twocolitem{4 (SMALLINT)}{DATA\_TYPE} -\twocolitem{5 (VARCHAR)}{TYPE\_NAME} -\twocolitem{6 (INTEGER)}{PRECISION} -\twocolitem{7 (INTEGER)}{LENGTH} -\twocolitem{8 (SMALLINT)}{SCALE} -\twocolitem{9 (SMALLINT)}{RADIX} -\twocolitem{10 (SMALLINT)}{NULLABLE} -\twocolitem{11 (VARCHAR)}{REMARKS} -\end{twocollist} - -\membersection{wxRecordSet::GetCurrentRecord} - -\func{long}{GetCurrentRecord}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetDatabase} - -\func{wxDatabase *}{GetDatabase}{\void} - -Returns the wxDatabase object bound to a wxRecordSet. - -\membersection{wxRecordSet::GetDataSources}\label{wxrecordsetgetdatasources} - -\func{bool}{GetDataSources}{\void} - -Gets the currently-defined data sources via the ODBC manager. The data will be presented -as a normal result set. See the documentation for the ODBC function SQLDataSources for how the data -is organized. - -Example: - -\begin{verbatim} - wxDatabase Database; - - wxRecordSet *Record = new wxRecordSet(&Database); - - if (!Record->GetDataSources()) { - char buf[300]; - sprintf(buf, "%s %s\n", Database.GetErrorClass(), Database.GetErrorMessage()); - frame->output->SetValue(buf); - } - else { - do { - frame->DataSource->Append((char*)Record->GetFieldDataPtr(0, SQL_CHAR)); - } while (Record->MoveNext()); - } -\end{verbatim} - -\membersection{wxRecordSet::GetDefaultConnect} - -\func{wxString}{GetDefaultConnect}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetDefaultSQL} - -\func{wxString}{GetDefaultSQL}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetErrorCode} - -\func{wxRETCODE}{GetErrorCode}{\void} - -Returns the error code of the last ODBC action. This will be one of: - -\begin{twocollist}\itemsep=0pt -\twocolitem{SQL\_ERROR}{General error.} -\twocolitem{SQL\_INVALID\_HANDLE}{An invalid handle was passed to an ODBC function.} -\twocolitem{SQL\_NEED\_DATA}{ODBC expected some data.} -\twocolitem{SQL\_NO\_DATA\_FOUND}{No data was found by this ODBC call.} -\twocolitem{SQL\_SUCCESS}{The call was successful.} -\twocolitem{SQL\_SUCCESS\_WITH\_INFO}{The call was successful, but further information can be -obtained from the ODBC manager.} -\end{twocollist} - -\membersection{wxRecordSet::GetFieldData}\label{wxrecordsetgetfielddata} - -\func{bool}{GetFieldData}{\param{int}{ col}, \param{int}{ dataType}, \param{void *}{dataPtr}} - -Copies the current data of the column at position {\it col} into the buffer -\rtfsp{\it dataPtr}. To be sure to get the right type of data, the user has to pass the -correct data type. The function returns FALSE if {\it col} does not -exist or the wrong data type was given. - -\func{bool}{GetFieldData}{\param{const wxString\& }{name}, \param{int}{ dataType}, \param{void *}{dataPtr}} - -The same as above, but uses the column name as the identifier. - -See \helpref{ODBC SQL data types}{sqltypes} for a list -of possible data types. - -\membersection{wxRecordSet::GetFieldDataPtr}\label{wxrecordsetgetfielddataptr} - -\func{void *}{GetFieldDataPtr}{\param{int}{ col}, \param{int}{ dataType}} - -Returns the current data pointer of the column at position {\it col}. -To be sure to get the right type of data, the user has to pass the -data type. Returns NULL if {\it col} does not exist or if {\it dataType} is -incorrect. - -\func{void *}{GetFieldDataPtr}{\param{const wxString\& }{name}, \param{int}{ dataType}} - -The same as above, but uses the column name as the identifier. - -See \helpref{ODBC SQL data types}{sqltypes} for a list -of possible data types. - -\membersection{wxRecordSet::GetFilter} - -\func{wxString}{GetFilter}{\void} - -Returns the current filter. - -\membersection{wxRecordSet::GetForeignKeys} - -\func{bool}{GetPrimaryKeys}{\param{const wxString\& }{ptable = NULL}, \param{const wxString\& }{ftable -= NULL}} - -Returns a list of foreign keys in the specified table (columns in the -specified table that refer to primary keys in other tables), or -a list of foreign keys in other tables that refer to the primary key in -the specified table. - -If {\it ptable} contains a table name, this function returns a result -set containing the primary key of the specified table. - -If {\it ftable} contains a table name, this functions returns a result set -of containing all of the foreign keys in the specified table and the -primary keys (in other tables) to which they refer. - -If both {\it ptable} and {\it ftable} contain table names, this -function returns the foreign keys in the table specified in {\it -ftable} that refer to the primary key of the table specified in {\it -ptable}. This should be one key at most. - -GetForeignKeys returns results as a standard result set. If the foreign -keys associated with a primary key are requested, the result set is -ordered by FKTABLE\_QUALIFIER, FKTABLE\_OWNER, FKTABLE\_NAME, and KEY\_SEQ. -If the primary keys associated with a foreign key are requested, the -result set is ordered by PKTABLE\_QUALIFIER, PKTABLE\_OWNER, PKTABLE\_NAME, -and KEY\_SEQ. The following table lists the columns in the result set. - -\begin{twocollist}\itemsep=0pt -\twocolitem{0 (VARCHAR)}{PKTABLE\_QUALIFIER} -\twocolitem{1 (VARCHAR)}{PKTABLE\_OWNER} -\twocolitem{2 (VARCHAR)}{PKTABLE\_NAME} -\twocolitem{3 (VARCHAR)}{PKCOLUMN\_NAME} -\twocolitem{4 (VARCHAR)}{FKTABLE\_QUALIFIER} -\twocolitem{5 (VARCHAR)}{FKTABLE\_OWNER} -\twocolitem{6 (VARCHAR)}{FKTABLE\_NAME} -\twocolitem{7 (VARCHAR)}{FKCOLUMN\_NAME} -\twocolitem{8 (SMALLINT)}{KEY\_SEQ} -\twocolitem{9 (SMALLINT)}{UPDATE\_RULE} -\twocolitem{10 (SMALLINT)}{DELETE\_RULE} -\twocolitem{11 (VARCHAR)}{FK\_NAME} -\twocolitem{12 (VARCHAR)}{PK\_NAME} -\end{twocollist} - -\membersection{wxRecordSet::GetNumberCols} - -\func{long}{GetNumberCols}{\void} - -Returns the number of columns in the result set. - -\membersection{wxRecordSet::GetNumberFields} - -\func{int}{GetNumberFields}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetNumberParams} - -\func{int}{GetNumberParams}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetNumberRecords} - -\func{long}{GetNumberRecords}{\void} - -Returns the number of records in the result set. - -\membersection{wxRecordSet::GetPrimaryKeys} - -\func{bool}{GetPrimaryKeys}{\param{const wxString\& }{table = NULL}} - -Returns the column names that comprise the primary key of the table with the specified name. If no name is -given the class member {\it tablename} will be used. If both names are NULL -nothing will happen. The data will be presented as a normal result set, organized -as follows: - -\begin{twocollist}\itemsep=0pt -\twocolitem{0 (VARCHAR)}{TABLE\_QUALIFIER} -\twocolitem{1 (VARCHAR)}{TABLE\_OWNER} -\twocolitem{2 (VARCHAR)}{TABLE\_NAME} -\twocolitem{3 (VARCHAR)}{COLUMN\_NAME} -\twocolitem{4 (SMALLINT)}{KEY\_SEQ} -\twocolitem{5 (VARCHAR)}{PK\_NAME} -\end{twocollist} - -\membersection{wxRecordSet::GetOptions} - -\func{int}{GetOptions}{\void} - -Returns the options of the wxRecordSet. Options are not supported yet. - -\membersection{wxRecordSet::GetResultSet} - -\func{bool}{GetResultSet}{\void} - -Copies the data presented by ODBC into wxRecordSet. Depending on the -wxRecordSet type all or only one record(s) will be copied. -Usually this function will be called automatically after each successful -database operation. - -\membersection{wxRecordSet::GetSortString} - -\func{wxString}{GetSortString}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetSQL} - -\func{wxString}{GetSQL}{\void} - -Not implemented. - -\membersection{wxRecordSet::GetTableName} - -\func{wxString}{GetTableName}{\void} - -Returns the name of the current table. - -\membersection{wxRecordSet::GetTables} - -\func{bool}{GetTables}{\void} - -Gets the tables of a database. The data will be presented as a normal result -set, organized as follows: - -\begin{twocollist}\itemsep=0pt -\twocolitem{0 (VARCHAR)}{TABLE\_QUALIFIER} -\twocolitem{1 (VARCHAR)}{TABLE\_OWNER} -\twocolitem{2 (VARCHAR)}{TABLE\_NAME} -\twocolitem{3 (VARCHAR)}{TABLE\_TYPE (TABLE, VIEW, SYSTEM TABLE, GLOBAL TEMPORARY, LOCAL TEMPORARY, -ALIAS, SYNONYM, or database-specific type)} -\twocolitem{4 (VARCHAR)}{REMARKS} -\end{twocollist} - -\membersection{wxRecordSet::GetType} - -\func{int}{GetType}{\void} - -Returns the type of the wxRecordSet: wxOPEN\_TYPE\_DYNASET or -wxOPEN\_TYPE\_SNAPSHOT. See the wxRecordSet description for details. - -\membersection{wxRecordSet::GoTo} - -\func{bool}{GoTo}{\param{long}{ n}} - -Moves the cursor to the record with the number n, where the first record -has the number 0. - -\membersection{wxRecordSet::IsBOF} - -\func{bool}{IsBOF}{\void} - -Returns TRUE if the user tried to move the cursor before the first record -in the set. - -\membersection{wxRecordSet::IsFieldDirty} - -\func{bool}{IsFieldDirty}{\param{int}{ field}} - -Returns TRUE if the given field has been changed but not saved yet. - -\func{bool}{IsFieldDirty}{\param{const wxString\& }{name}} - -Same as above, but uses the column name as the identifier. - -\membersection{wxRecordSet::IsFieldNull} - -\func{bool}{IsFieldNull}{\param{int}{ field}} - -Returns TRUE if the given field has no data. - -\func{bool}{IsFieldNull}{\param{const wxString\& }{ name}} - -Same as above, but uses the column name as the identifier. - -\membersection{wxRecordSet::IsColNullable} - -\func{bool}{IsColNullable}{\param{int}{ col}} - -Returns TRUE if the given column may contain no data. - -\func{bool}{IsColNullable}{\param{const wxString\& }{name}} - -Same as above, but uses the column name as the identifier. - -\membersection{wxRecordSet::IsEOF} - -\func{bool}{IsEOF}{\void} - -Returns TRUE if the user tried to move the cursor behind the last record -in the set. - -\membersection{wxRecordSet::IsDeleted} - -\func{bool}{IsDeleted}{\void} - -Not implemented. - -\membersection{wxRecordSet::IsOpen} - -\func{bool}{IsOpen}{\void} - -Returns TRUE if the parent database is open. - -\membersection{wxRecordSet::Move} - -\func{bool}{Move}{\param{long}{ rows}} - -Moves the cursor a given number of rows. Negative values are allowed. - -\membersection{wxRecordSet::MoveFirst} - -\func{bool}{MoveFirst}{\void} - -Moves the cursor to the first record. - -\membersection{wxRecordSet::MoveLast} - -\func{bool}{MoveLast}{\void} - -Moves the cursor to the last record. - -\membersection{wxRecordSet::MoveNext}\label{wxrecordsetmovenext} - -\func{bool}{MoveNext}{\void} - -Moves the cursor to the next record. - -\membersection{wxRecordSet::MovePrev}\label{wxrecordsetmoveprev} - -\func{bool}{MovePrev}{\void} - -Moves the cursor to the previous record. - -\membersection{wxRecordSet::Query} - -\func{bool}{Query}{\param{const wxString\& }{columns}, \param{const wxString\& }{table}, \param{const wxString\& }{filter = NULL}} - -Start a query. An SQL string of the following type will automatically be -generated and executed: ``SELECT columns FROM table WHERE filter". - -\membersection{wxRecordSet::RecordCountFinal} - -\func{bool}{RecordCountFinal}{\void} - -Not implemented. - -\membersection{wxRecordSet::Requery} - -\func{bool}{Requery}{\void} - -Re-executes the last query. Not implemented. - -\membersection{wxRecordSet::SetFieldDirty} - -\func{void}{SetFieldDirty}{\param{int}{ field}, \param{bool}{ dirty = TRUE}} - -Sets the dirty tag of the field field. Not implemented. - -\func{void}{SetFieldDirty}{\param{const wxString\& }{name}, \param{bool}{ dirty = TRUE}} - -Same as above, but uses the column name as the identifier. - -\membersection{wxRecordSet::SetDefaultSQL} - -\func{void}{SetDefaultSQL}{\param{const wxString\& }{s}} - -Not implemented. - -\membersection{wxRecordSet::SetFieldNull} - -\func{void}{SetFieldNull}{\param{void *}{p}, \param{bool }{isNull = TRUE}} - -Not implemented. - -\membersection{wxRecordSet::SetOptions} - -\func{void}{SetOptions}{\param{int}{ opt}} - -Sets the options of the wxRecordSet. Not implemented. - -\membersection{wxRecordSet::SetTableName} - -\func{void}{SetTableName}{\param{const wxString\& }{tablename}} - -Specify the name of the table you want to use. - -\membersection{wxRecordSet::SetType} - -\func{void}{SetType}{\param{int}{ type}} - -Sets the type of the wxRecordSet. See the wxRecordSet class description for details. - -\membersection{wxRecordSet::Update} - -\func{bool}{Update}{\void} - -Writes back the current record. Not implemented. - - diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex deleted file mode 100644 index 48d4889041..0000000000 --- a/docs/latex/wx/rect.tex +++ /dev/null @@ -1,159 +0,0 @@ -\section{\class{wxRect}}\label{wxrect} - -A class for manipulating rectangles. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxPoint}{wxpoint}, \helpref{wxSize}{wxsize} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxRect::wxRect} - -\func{}{wxRect}{\void} - -Default constructor. - -\func{}{wxRect}{\param{int}{ x}, \param{int}{ y}, \param{int}{ width}, \param{int}{ height}} - -Creates a wxRect object from x, y, width and height values. - -\func{}{wxRect}{\param{const wxPoint\&}{ topLeft}, \param{const wxPoint\&}{ bottomRight}} - -Creates a wxRect object from top-left and bottom-right points. - -\func{}{wxRect}{\param{const wxPoint\&}{ pos}, \param{const wxSize\&}{ size}} - -Creates a wxRect object from position and size values. - -\membersection{wxRect::x} - -\member{int}{x} - -x member. - -\membersection{wxRect::y} - -\member{int}{y} - -y member. - -\membersection{wxRect::width} - -\member{int}{width} - -Width member. - -\membersection{wxRect::height} - -\member{int}{height} - -Height member. - -\membersection{wxRect::GetBottom}\label{wxrectgetbottom} - -\constfunc{int}{GetBottom}{\void} - -Gets the bottom point of the rectangle. - -\membersection{wxRect::GetHeight}\label{wxrectgetheight} - -\constfunc{int}{GetHeight}{\void} - -Gets the height member. - -\membersection{wxRect::GetLeft}\label{wxrectgetleft} - -\constfunc{int}{GetLeft}{\void} - -Gets the left point of the rectangle (the same as \helpref{wxRect::GetX}{wxrectgetx}). - -\membersection{wxRect::GetPosition}\label{wxrectgetposition} - -\constfunc{wxPoint}{GetPosition}{\void} - -Gets the position. - -\membersection{wxRect::GetRight}\label{wxrectgetright} - -\constfunc{int}{GetRight}{\void} - -Gets the right point of the rectangle. - -\membersection{wxRect::GetSize}\label{wxrectgetsize} - -\constfunc{wxSize}{GetSize}{\void} - -Gets the size. - -\membersection{wxRect::GetTop}\label{wxrectgettop} - -\constfunc{int}{GetTop}{\void} - -Gets the top point of the rectangle (the same as \helpref{wxRect::GetY}{wxrectgety}). - -\membersection{wxRect::GetWidth}\label{wxrectgetwidth} - -\constfunc{int}{GetWidth}{\void} - -Gets the width member. - -\membersection{wxRect::GetX}\label{wxrectgetx} - -\constfunc{int}{GetX}{\void} - -Gets the x member. - -\membersection{wxRect::GetY}\label{wxrectgety} - -\constfunc{int}{GetY}{\void} - -Gets the y member. - -\membersection{wxRect::SetHeight}\label{wxrectsetheight} - -\func{void}{SetHeight}{\param{int}{ height}} - -Sets the height. - -\membersection{wxRect::SetWidth}\label{wxrectsetwidth} - -\func{void}{SetWidth}{\param{int}{ width}} - -Sets the width. - -\membersection{wxRect::SetX}\label{wxrectsetx} - -\func{void}{SetX}{\param{int}{ x}} - -Sets the x position. - -\membersection{wxRect::SetY}\label{wxrectsety} - -\func{void}{SetY}{\param{int}{ y}} - -Sets the y position. - -\membersection{wxRect::operator $=$} - -\func{void}{operator $=$}{\param{const wxRect\& }{rect}} - -Assignment operator. - -\membersection{wxRect::operator $==$} - -\func{bool}{operator $==$}{\param{const wxRect\& }{rect}} - -Equality operator. - -\membersection{wxRect::operator $!=$} - -\func{bool}{operator $!=$}{\param{const wxRect\& }{rect}} - -Inequality operator. - - diff --git a/docs/latex/wx/referenc.tex b/docs/latex/wx/referenc.tex deleted file mode 100644 index ea75f9f517..0000000000 --- a/docs/latex/wx/referenc.tex +++ /dev/null @@ -1,82 +0,0 @@ -\documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{thesis} -%KB: -\addtolength{\textwidth}{1in} -\addtolength{\oddsidemargin}{-0.5in} -\addtolength{\topmargin}{-0.5in} -\addtolength{\textheight}{1in} -\sloppy -%end of my changes -%\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report} -\newcommand{\indexit}[1]{#1\index{#1}} -\newcommand{\pipe}[0]{$\|$\ }% -\input psbox.tex - -% Remove this for processing with dvi2ps instead of dvips -%\special{!/@scaleunit 1 def} - -\parskip=10pt -\parindent=0pt -\title{Reference Manual for wxWindows 2.0: a portable C++ GUI toolkit} -\author{Julian Smart} -\date{July 31st 1998} - -\makeindex -\begin{document} -\maketitle - -\pagestyle{fancyplain} -\bibliographystyle{plain} -\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}} -\setfooter{\thepage}{}{}{}{}{\thepage} -\pagenumbering{roman} -\tableofcontents - - -\chapter*{Copyright notice} -\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}% -\setfooter{\thepage}{}{}{}{}{\thepage} - -\begin{center} -Copyright (c) 1998 Julian Smart, Markus Holzem, Robert Roebling and other -members of the wxWindows team\\ -Portions (c) 1996 Artificial Intelligence Applications Institute\\ -\end{center} - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose is hereby granted without fee, provided that the -above copyright notice, author statement and this permission notice appear in -all copies of this software and related documentation. - -THE SOFTWARE IS PROVIDED ``AS-IS'' AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, -IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE -UNIVERSITY OF EDINBURGH OR ANY MEMBERS OF THE WXWINDOWS TEAM BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR -CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF -DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH -THE USE OR PERFORMANCE OF THIS SOFTWARE. - -\chapter{This manual} -\pagenumbering{arabic}% -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage} - -wxWindows is a class library for C++ providing GUI (Graphical User -Interface) and other facilities on more than one platform. This document -gives detailed information about the classes and functions that make up -the wxWindows API (Application Programming Interface). Please refer to the -wxWindows user manual for a more general description of wxWindows. - -\input{classes.tex} -\input{category.tex} -\input{topics.tex} - -\addcontentsline{toc}{chapter}{Index} -\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% -\setfooter{\thepage}{}{}{}{}{\thepage} -\printindex - -\end{document} - diff --git a/docs/latex/wx/refs.bib b/docs/latex/wx/refs.bib deleted file mode 100644 index 836814c312..0000000000 --- a/docs/latex/wx/refs.bib +++ /dev/null @@ -1,59 +0,0 @@ -@techreport{robins87, -author = {Robins, Gabriel}, -title = {The {ISI} grapher: a portable tool for displaying graphs pictorially (ISI/RS-87-196)}, -institution = {University of South California}, -year = {1987}, -month = {September} -} -@book{helpbook, -author = {Boggan, Scott and Fakas, David and Welinske, Joe} -, title = {Developing on-line help for {W}indows} -, publisher = {Sams Publishing} -, address = {11711 North College, Carmel, Indiana 46032, USA} -, year = {1993} -} -@book{wong93, -author = {Wong, William} -, title = {Plug and play programming} -, publisher = {M and T Books} -, address = {115 West 18th Street, New York, New York 10011} -, year = {1993} -} -@book{pree94, -author = {Pree, Wolfgang} -, title = {Design patterns for object-oriented software development} -, publisher = {Addison-Wesley} -, address = {Reading, MA} -, year = {1994} -} -@book{gamma95, -author = {Gamma, Erich and Helm, Richard and Johnson, Ralph and Vlissides, John} -, title = {Design patterns: elements of reusable object-oriented software} -, publisher = {Addison-Wesley} -, address = {Reading, MA} -, year = {1994} -} -@book{kopka, -author = {Kopka, Helmut and Daly, Patrick W.} -, title = {A Guide to LaTeX} -, publisher = {Addison-Wesley} -, year = {1993} -} -@manual{smart95a, -author = {Smart, Julian} -, title = {wxCLIPS User Manual} -, publisher = {Artificial Intelligence Applications Institute} -, organization = {University of Edinburgh} -, address = {80 South Bridge, Edinburgh, EH1 1HN} -, year = {1995} -} - -@manual{smart95b, -author = {Smart, Julian} -, title = {Tex2RTF User Manual} -, publisher = {Artificial Intelligence Applications Institute} -, organization = {University of Edinburgh} -, address = {80 South Bridge, Edinburgh, EH1 1HN} -, year = {1995} -} - diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex deleted file mode 100644 index 1d3c224ada..0000000000 --- a/docs/latex/wx/region.tex +++ /dev/null @@ -1,182 +0,0 @@ -\section{\class{wxRegion}}\label{wxregion} - -A wxRegion represents a simple or complex region on a device context or window. It uses -reference counting, so copying and assignment operations are fast. - -\wxheading{Derived from} - -\helpref{wxGDIObject}{wxgdiobject}\\ -\helpref{wxObject}{wxobject} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxRegion::wxRegion}\label{wxregionconstr} - -\func{}{wxRegion}{\void} - -Default constructor. - -\func{}{wxRegion}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Constructs a rectangular region with the given position and size. - -\func{}{wxRegion}{\param{const wxPoint\&}{ topLeft}, \param{const wxPoint\&}{ bottomRight}} - -Constructs a rectangular region from the top left point and the bottom right point. - -\func{}{wxRegion}{\param{const wxRect\&}{ rect}} - -Constructs a rectangular region a wxRect object. - -\func{}{wxRegion}{\param{const wxRegion\&}{ region}} - -Constructs a region by copying another region. - -\membersection{wxRegion::\destruct{wxRegion}} - -\func{}{\destruct{wxRegion}}{\void} - -Destructor. - -\membersection{wxRegion::Clear}\label{wxregionclear} - -\func{void}{Clear}{\void} - -Clears the current region. - -\membersection{wxRegion::Contains}\label{wxregioncontains} - -\constfunc{wxRegionContain}{Contains}{\param{long\& }{x}, \param{long\& }{y}} - -Returns a value indicating whether the given point is contained within the region. - -\constfunc{wxRegionContain}{Contains}{\param{const wxPoint\&}{ pt}} - -Returns a value indicating whether the given point is contained within the region. - -\constfunc{wxRegionContain}{Contains}{\param{long\& }{x}, \param{long\& }{y}, \param{long\& }{width}, \param{long\& }{height}} - -Returns a value indicating whether the given rectangle is contained within the region. - -\constfunc{wxRegionContain}{Contains}{\param{const wxRect\& }{rect}} - -Returns a value indicating whether the given rectangle is contained within the region. - -\wxheading{Return value} - -The return value is one of wxOutRegion, wxPartRegion and wxInRegion. - -On Windows, only wxOutRegion and wxInRegion are returned; a value wxInRegion then indicates that -all or some part of the region is contained in this region. - -\membersection{wxRegion::GetBox}\label{wxregiongetbox} - -\constfunc{void}{GetBox}{\param{long\& }{x}, \param{long\& }{y}, \param{long\& }{width}, \param{long\& }{height}} - -Returns the outer bounds of the region. - -\constfunc{wxRect}{GetBox}{\void} - -Returns the outer bounds of the region. - -\membersection{wxRegion::Intersect}\label{wxregionintersect} - -\func{bool}{Intersect}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Finds the intersection of this region and another, rectangular region, specified using position and size. - -\func{bool}{Intersect}{\param{const wxRect\&}{ rect}} - -Finds the intersection of this region and another, rectangular region. - -\func{bool}{Intersect}{\param{const wxRegion\&}{ region}} - -Finds the intersection of this region and another region. - -\wxheading{Return value} - -TRUE if successful, FALSE otherwise. - -\wxheading{Remarks} - -Creates the intersection of the two regions, that is, the parts which are in both regions. The result -is stored in this region. - -\membersection{wxRegion::IsEmpty}\label{wxregionisempty} - -\constfunc{bool}{IsEmpty}{\void} - -\func{bool}{IsEmpty}{\void} - -Returns TRUE if the region is empty, FALSE otherwise. - -\func{bool}{Subtract}{\param{const wxRect\&}{ rect}} - -Subtracts a rectangular region from this region. - -\func{bool}{Subtract}{\param{const wxRegion\&}{ region}} - -Subtracts a region from this region. - -\wxheading{Return value} - -TRUE if successful, FALSE otherwise. - -\wxheading{Remarks} - -This operation combines the parts of 'this' region that are not part of the second region. -The result is stored in this region. - -\membersection{wxRegion::Union}\label{wxregionunion} - -\func{bool}{Union}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Finds the union of this region and another, rectangular region, specified using position and size. - -\func{bool}{Union}{\param{const wxRect\&}{ rect}} - -Finds the union of this region and another, rectangular region. - -\func{bool}{Union}{\param{const wxRegion\&}{ region}} - -Finds the union of this region and another region. - -\wxheading{Return value} - -TRUE if successful, FALSE otherwise. - -\wxheading{Remarks} - -This operation creates a region that combines all of this region and the second region. -The result is stored in this region. - -\membersection{wxRegion::Xor}\label{wxregionxor} - -\func{bool}{Xor}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} - -Finds the Xor of this region and another, rectangular region, specified using position and size. - -\func{bool}{Xor}{\param{const wxRect\&}{ rect}} - -Finds the Xor of this region and another, rectangular region. - -\func{bool}{Xor}{\param{const wxRegion\&}{ region}} - -Finds the Xor of this region and another region. - -\wxheading{Return value} - -TRUE if successful, FALSE otherwise. - -\wxheading{Remarks} - -This operation creates a region that combines all of this region and the second region, except -for any overlapping areas. The result is stored in this region. - -\membersection{wxRegion::operator $=$}\label{wxregionassign} - -\func{void}{operator $=$}{\param{const wxRegion\&}{ region}} - -Copies {\it region} by reference counting. - - diff --git a/docs/latex/wx/screendc.tex b/docs/latex/wx/screendc.tex deleted file mode 100644 index 9c5b06a3ef..0000000000 --- a/docs/latex/wx/screendc.tex +++ /dev/null @@ -1,55 +0,0 @@ -\section{\class{wxScreenDC}}\label{wxscreendc} - -A wxScreenDC can be used to paint on the screen. -This should normally be constructed as a temporary stack object; don't store -a wxScreenDC object. - -\wxheading{Derived from} - -\helpref{wxDC}{wxdc} - -\wxheading{See also} - -\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp -\helpref{wxClientDC}{wxclientdc}, \helpref{wxWindowDC}{wxwindowdc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxScreenDC::wxScreenDC} - -\func{}{wxScreenDC}{\void} - -Constructor. - -\membersection{wxScreenDC::StartDrawingOnTop}\label{wxscreendcstartdrawingontop} - -\func{bool}{StartDrawingOnTop}{\param{wxWindow*}{ window}} - -\func{bool}{StartDrawingOnTop}{\param{wxRect*}{ rect = NULL}} - -Use this in conjunction with \helpref{EndDrawingOnTop}{wxscreendcenddrawingontop} to -ensure that drawing to the screen occurs on top of existing windows. Without this, -some window systems (such as X) only allow drawing to take place underneath -other windows. - -By using the first form of this function, an application is specifying that -the area that will be drawn on coincides with the given window. - -By using the second form, an application can specify an area of the screen -which is to be drawn on. If NULL is passed, the whole screen is available. - -It is recommended that an area of the screen is specified because with large regions, -flickering effects are noticeable when destroying the temporary transparent window used -to implement this feature. - -You might use this pair of functions when implementing a drag feature, for example -as in the \helpref{wxSplitterWindow}{wxsplitterwindow} implementation. - -\membersection{wxScreenDC::EndDrawingOnTop}\label{wxscreendcenddrawingontop} - -\func{bool}{EndDrawingOnTop}{\void} - -Use this in conjunction with \helpref{StartDrawingOnTop}{wxscreendcstartdrawingontop}. - -This function destroys the temporary window created to implement on-top drawing (X only). - diff --git a/docs/latex/wx/scrolbar.tex b/docs/latex/wx/scrolbar.tex deleted file mode 100644 index 89526994eb..0000000000 --- a/docs/latex/wx/scrolbar.tex +++ /dev/null @@ -1,295 +0,0 @@ -\section{\class{wxScrollBar}}\label{wxscrollbar} - -A wxScrollBar is a control that represents a horizontal or -vertical scrollbar. It is distinct from the two scrollbars that some windows -provide automatically, but the two types of scrollbar share the way -events are received. - -\wxheading{Derived from} - -\helpref{wxControl}{wxcontrol}\\ -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Remarks} - -A scrollbar has the following main attributes: {\it range}, {\it thumb size}, {\it page size}, and {\it position}. - -The range is the total number of units associated with the view represented by the scrollbar. -For a table with 15 columns, the range would be 15. - -The thumb size is the number of units that are currently visible. For the table example, the window -might be sized so that only 5 columns are currently visible, in which case the application would -set the thumb size to 5. When the thumb size becomes the same as or greater than the range, -the scrollbar will be automatically hidden on most platforms. - -The page size is the number of units that the scrollbar should scroll by, when `paging' through -the data. This value is normally the same as the thumb size length, because -it is natural to assume that the visible window size defines a page. - -The scrollbar position is the current thumb position. - -Most applications will find it convenient to provide a function called {\bf AdjustScrollbars} which can -be called initially, from an {\bf OnSize} event handler, and whenever the application data -changes in size. It will adjust the view, object and page size according -to the size of the window and the size of the data. - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxSB\_HORIZONTAL}}{Specifies a horizontal scrollbar.} -\twocolitem{\windowstyle{wxSB\_VERTICAL}}{Specifies a vertical scrollbar.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Event handling} - -To process input from a scrollbar, use one of these event handler macros to direct input to member -functions that take a \helpref{wxScrollEvent}{wxscrollevent} argument: - -\twocolwidtha{7cm} -\begin{twocollist} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Catch all scroll commands.} -\twocolitem{{\bf EVT\_COMMAND\_TOP(id, func)}}{Catch a command to put the scroll thumb at the maximum position.} -\twocolitem{{\bf EVT\_COMMAND\_BOTTOM(id, func)}}{Catch a command to put the scroll thumb at the maximum position.} -\twocolitem{{\bf EVT\_COMMAND\_LINEUP(id, func)}}{Catch a line up command.} -\twocolitem{{\bf EVT\_COMMAND\_LINEDOWN(id, func)}}{Catch a line down command.} -\twocolitem{{\bf EVT\_COMMAND\_PAGEUP(id, func)}}{Catch a page up command.} -\twocolitem{{\bf EVT\_COMMAND\_PAGEDOWN(id, func)}}{Catch a page down command.} -\twocolitem{{\bf EVT\_COMMAND\_THUMBTRACK(id, func)}}{Catch a thumbtrack command (continuous movement of the scroll thumb).} -\end{twocollist}% - -\wxheading{See also} - -\helpref{Scrolling overview}{scrollingoverview},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview},\rtfsp -\helpref{wxScrolledWindow}{wxscrolledwindow} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxScrollBar::wxScrollBar}\label{wxscrollbarconstr} - -\func{}{wxScrollBar}{\void} - -Default constructor. - -\func{}{wxScrollBar}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxSB\_HORIZONTAL}, \param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp -\param{const wxString\& }{name = ``scrollBar"}} - -Constructor, creating and showing a scrollbar. - -\wxheading{Parameters} - -\docparam{parent}{Parent window. Must not be NULL.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{pos}{Window position. If the position (-1, -1) is specified then a default position is chosen.} - -\docparam{size}{Window size. If the default size (-1, -1) is specified then a default size is chosen.} - -\docparam{style}{Window style. See \helpref{wxScrollBar}{wxscrollbar}.} - -\docparam{validator}{Window validator.} - -\docparam{name}{Window name.} - -\wxheading{See also} - -\helpref{wxScrollBar::Create}{wxscrollbarcreate}, \helpref{wxValidator}{wxvalidator} - -\membersection{wxScrollBar::\destruct{wxScrollBar}} - -\func{void}{\destruct{wxScrollBar}}{\void} - -Destructor, destroying the scrollbar. - -\membersection{wxScrollBar::Create}\label{wxscrollbarcreate} - -\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxSB\_HORIZONTAL}, \param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp -\param{const wxString\& }{name = ``scrollBar"}} - -Scrollbar creation function called by the scrollbar constructor. -See \helpref{wxScrollBar::wxScrollBar}{wxscrollbarconstr} for details. - -\membersection{wxScrollBar::GetRange}\label{wxscrollbargetrange} - -\constfunc{int}{GetRange}{\void} - -Returns the length of the scrollbar. - -\wxheading{See also} - -\helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar} - -\membersection{wxScrollBar::GetPageSize}\label{wxscrollbargetpagesize} - -\constfunc{int}{GetPageSize}{\void} - -Returns the page size of the scrollbar. This is the number of scroll units -that will be scrolled when the user pages up or down. Often it is the -same as the thumb size. - -\wxheading{See also} - -\helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar} - -\membersection{wxScrollBar::GetPosition}\label{wxscrollbargetposition} - -\constfunc{int}{GetPosition}{\void} - -Returns the current position of the scrollbar. - -\wxheading{See also} - -\helpref{wxScrollBar::SetPosition}{wxscrollbarsetposition} - -\membersection{wxScrollBar::GetThumbLength}\label{wxscrollbargetthumblength} - -\constfunc{int}{GetThumbLength}{\void} - -Returns the thumb or `view' size. - -\wxheading{See also} - -\helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar} - -\begin{comment} -\membersection{wxScrollBar::SetObjectLength}\label{wxscrollbarsetobjectlength} - -\func{void}{SetObjectLength}{\param{int}{ objectLength}} - -Sets the object length for the scrollbar. This is the total object size (virtual size). You must -call \helpref{SetViewLength}{wxscrollbarsetviewlength} {\it before} calling SetObjectLength. - -\wxheading{Parameters} - -\docparam{objectLength}{The object length of the scrollbar.} - -\wxheading{Remarks} - -Example: you are implementing scrollbars on a text window, where text lines have a maximum width -of 100 characters. Your text window has a current width of 60 characters. So the view length is 60, -and the object length is 100. The scrollbar will then enable you to scroll to see the other 40 characters. - -You will need to call {\bf SetViewLength} and {\bf SetObjectLength} whenever there -is a change in the size of the window (the view size) or the size of the -contents (the object length). - -\wxheading{See also} - -\helpref{wxScrollBar::GetObjectLength}{wxscrollbargetobjectlength} - -\membersection{wxScrollBar::SetPageSize}\label{wxscrollbarsetpagesize} - -\func{void}{SetPageSize}{\param{int}{ pageSize}} - -Sets the page size for the scrollbar. This is the number of scroll units which are scrolled when the -user pages down (clicks on the scrollbar outside the thumbtrack area). - -\wxheading{Parameters} - -\docparam{pageSize}{The page size in scroll units.} - -\wxheading{Remarks} - -At present, this needs to be called {\it before} other set functions. - -\wxheading{See also} - -\helpref{wxScrollBar::GetPageSize}{wxscrollbargetpagesize} -\end{comment} - -\membersection{wxScrollBar::SetPosition}\label{wxscrollbarsetposition} - -\func{void}{SetPosition}{\param{int}{ viewStart}} - -Sets the position of the scrollbar. - -\wxheading{Parameters} - -\docparam{viewStart}{The position of the scrollbar thumb.} - -\wxheading{See also} - -\helpref{wxScrollBar::GetPosition}{wxscrollbargetposition} - -\membersection{wxScrollBar::SetScrollbar}\label{wxscrollbarsetscrollbar} - -\func{virtual void}{SetScrollbar}{\param{int }{position},\rtfsp -\param{int }{thumbSize}, \param{int }{range},\rtfsp -\param{int }{pageSize},\rtfsp -\param{const bool }{refresh = TRUE}} - -Sets the scrollbar properties. - -\wxheading{Parameters} - -\docparam{position}{The position of the scrollbar in scroll units.} - -\docparam{thumbSize}{The size of the thumb, or visible portion of the scrollbar, in scroll units.} - -\docparam{range}{The maximum position of the scrollbar.} - -\docparam{pageSize}{The size of the page size in scroll units. This is the number of units -the scrollbar will scroll when it is paged up or down. Often it is the same as -the thumb size.} - -\docparam{refresh}{TRUE to redraw the scrollbar, FALSE otherwise.} - -\wxheading{Remarks} - -Let's say you wish to display 50 lines of text, using the same font. -The window is sized so that you can only see 16 lines at a time. - -You would use: - -{\small% -\begin{verbatim} - scrollbar->SetScrollbar(0, 16, 50, 15); -\end{verbatim} -} - -The page size is 1 less than the thumb size so that the last line of the previous -page will be visible on the next page, to help orient the user. - -Note that with the window at this size, the thumb position can never go -above 50 minus 16, or 34. - -You can determine how many lines are currently visible by dividing the current view -size by the character height in pixels. - -When defining your own scrollbar behaviour, you will always need to recalculate -the scrollbar settings when the window size changes. You could therefore put your -scrollbar calculations and SetScrollbar -call into a function named AdjustScrollbars, which can be called initially and also -from a \helpref{wxWindow::OnSize}{wxwindowonsize} event handler function. - -\wxheading{See also} - -\helpref{Scrolling overview}{scrollingoverview},\rtfsp -\helpref{wxWindow::SetScrollbar}{wxwindowsetscrollbar}, \helpref{wxScrolledWindow}{wxscrolledwindow} - -\begin{comment} -\membersection{wxScrollBar::SetViewLength}\label{wxscrollbarsetviewlength} - -\func{void}{SetViewLength}{\param{int}{ viewLength}} - -Sets the view length for the scrollbar. - -\wxheading{Parameters} - -\docparam{viewLength}{View length.} - -\wxheading{See also} - -\helpref{wxScrollBar::GetViewLength}{wxscrollbargetviewlength} -\end{comment} - diff --git a/docs/latex/wx/scrolevt.tex b/docs/latex/wx/scrolevt.tex deleted file mode 100644 index 7ed9ea26de..0000000000 --- a/docs/latex/wx/scrolevt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\section{\class{wxScrollEvent}}\label{wxscrollevent} - -A scroll event holds information about events sent from scrollbars and scrolling windows. - -\wxheading{Derived from} - -\helpref{wxCommandEvent}{wxcommandevent}\\ -\helpref{wxEvent}{wxevent}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Event table macros} - -To process a scroll event, use these event handler macros to direct input to member -functions that take a wxScrollEvent argument. You can use EVT\_COMMAND\_SCROLL... macros -with window IDs for when intercepting scroll events from controls, or EVT\_SCROLL... macros -without window IDs for intercepting scroll events from the receiving window. - -\twocolwidtha{7cm} -\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.} -\twocolitem{{\bf EVT\_SCROLL\_BOTTOM(func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-bottom events.} -\twocolitem{{\bf EVT\_SCROLL\_LINEUP(func)}}{Process wxEVT\_SCROLL\_LINEUP line up events.} -\twocolitem{{\bf EVT\_SCROLL\_LINEDOWN(func)}}{Process wxEVT\_SCROLL\_LINEDOWN line down events.} -\twocolitem{{\bf EVT\_SCROLL\_PAGEUP(func)}}{Process wxEVT\_SCROLL\_PAGEUP page up events.} -\twocolitem{{\bf EVT\_SCROLL\_PAGEDOWN(func)}}{Process wxEVT\_SCROLL\_PAGEDOWN page down events.} -\twocolitem{{\bf EVT\_SCROLL\_THUMBTRACK(func)}}{Process wxEVT\_SCROLL\_THUMBTRACK thumbtrack events (frequent events -sent as the user drags the thumtrack).} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Process all scroll events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_TOP(id, func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-top events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_BOTTOM(id, func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-bottom events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_LINEUP(id, func)}}{Process wxEVT\_SCROLL\_LINEUP line up events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_LINEDOWN(id, func)}}{Process wxEVT\_SCROLL\_LINEDOWN line down events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_PAGEUP(id, func)}}{Process wxEVT\_SCROLL\_PAGEUP page up events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_PAGEDOWN(id, func)}}{Process wxEVT\_SCROLL\_PAGEDOWN page down events.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_THUMBTRACK(id, func)}}{Process wxEVT\_SCROLL\_THUMBTRACK thumbtrack events (frequent events -sent as the user drags the thumtrack).} -\end{twocollist}% - -\wxheading{Remarks} - -Note that unless specifying a scroll control identifier, you will need to test for scrollbar -orientation with \helpref{wxScrollEvent::GetOrientation}{wxscrolleventgetorientation}, since -horizontal and vertical scroll events are processed using the same event handler. - -\wxheading{See also} - -\helpref{wxWindow::OnScroll}{wxwindowonscroll}, \helpref{wxScrollBar}{wxscrollbar}, \helpref{Event handling overview}{eventhandlingoverview} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxScrollEvent::wxScrollEvent} - -\func{}{wxScrollEvent}{\param{WXTYPE }{commandType = 0}, \param{int }{id = 0}, \param{int}{ pos = 0}, -\rtfsp\param{int}{ orientation = 0}} - -Constructor. - -\membersection{wxScrollEvent::GetOrientation}\label{wxscrolleventgetorientation} - -\constfunc{int}{GetOrientation}{\void} - -Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollbar. - -\membersection{wxScrollEvent::GetPosition}\label{wxscrolleventgetposition} - -\constfunc{int}{GetPosition}{\void} - -Returns the position of the scrollbar. - - diff --git a/docs/latex/wx/scrolwin.tex b/docs/latex/wx/scrolwin.tex deleted file mode 100644 index 631761b8a7..0000000000 --- a/docs/latex/wx/scrolwin.tex +++ /dev/null @@ -1,335 +0,0 @@ -\section{\class{wxScrolledWindow}}\label{wxscrolledwindow} - -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}. - -You have the option of handling the \helpref{OnPaint}{wxscrolledwindowonpaint} handler -or overriding the \helpref{OnDraw}{wxscrolledwindowondraw} function, which is passed -a pre-scrolled device context (prepared by \helpref{PrepareDC}{wxscrolledwindowpreparedc}). - -If you don't wish to calculate your own scrolling, you must call PrepareDC when not drawing from -within OnDraw, to set the device origin for the device context according to the current -scroll position. - -\wxheading{Derived from} - -\helpref{wxWindow}{wxwindow}\\ -\helpref{wxEvtHandler}{wxevthandler}\\ -\helpref{wxObject}{wxobject} - -\wxheading{Window styles} - -\twocolwidtha{5cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxRETAINED}}{Uses a backing pixmap to speed refreshes. Motif only.} -\end{twocollist} - -See also \helpref{window styles overview}{windowstyles}. - -\wxheading{Remarks} - -Use wxScrolledWindow for applications where the user scrolls by a fixed amount, and -where a `page' can be interpreted to be the current visible portion of the window. For -more sophisticated applications, use the wxScrolledWindow implementation as a guide -to build your own scroll behaviour. - -\wxheading{See also} - -\helpref{wxScrollBar}{wxscrollbar}, \helpref{wxClientDC}{wxclientdc}, \helpref{wxPaintDC}{wxpaintdc} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxScrolledWindow::wxScrolledWindow}\label{wxscrolledwindowconstr} - -\func{}{wxScrolledWindow}{\void} - -Default constructor. - -\func{}{wxScrolledWindow}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id = -1},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxHSCROLL \pipe wxVSCROLL}, \param{const wxString\& }{name = ``scrolledWindow"}} - -Constructor. - -\wxheading{Parameters} - -\docparam{parent}{Parent window.} - -\docparam{id}{Window identifier. A value of -1 indicates a default value.} - -\docparam{pos}{Window position. If a position of (-1, -1) is specified then a default position -is chosen.} - -\docparam{size}{Window size. If a size of (-1, -1) is specified then the window is sized -appropriately.} - -\docparam{style}{Window style. See \helpref{wxScrolledWindow}{wxscrolledwindow}.} - -\docparam{name}{Window name.} - -\wxheading{Remarks} - -The window is initially created without visible scrollbars. -Call \helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars} to -specify how big the virtual window size should be. - -\membersection{wxScrolledWindow::\destruct{wxScrolledWindow}} - -\func{}{\destruct{wxScrolledWindow}}{\void} - -Destructor. - -\membersection{wxScrolledWindow::Create}\label{wxscrolledwindowcreate} - -\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id = -1},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp -\param{long}{ style = wxHSCROLL \pipe wxVSCROLL}, \param{const wxString\& }{name = ``scrolledWindow"}} - -Creates the window for two-step construction. Derived classes -should call or replace this function. See \helpref{wxScrolledWindow::wxScrolledWindow}{wxscrolledwindowconstr}\rtfsp -for details. - -\membersection{wxScrolledWindow::EnableScrolling}\label{wxscrolledwindowenablescrolling} - -\func{void}{EnableScrolling}{\param{const bool}{ xScrolling}, \param{const bool}{ yScrolling}} - -Enable or disable physical scrolling in the given direction. Physical -scrolling is the physical transfer of bits up or down the -screen when a scroll event occurs. If the application scrolls by a -variable amount (e.g. if there are different font sizes) then physical -scrolling will not work, and you should switch it off. - -\wxheading{Parameters} - -\docparam{xScrolling}{If TRUE, enables physical scrolling in the x direction.} - -\docparam{yScrolling}{If TRUE, enables physical scrolling in the y direction.} - -\wxheading{Remarks} - -Physical scrolling may not be available on all platforms. Where it is available, it is enabled -by default. - -\membersection{wxScrolledWindow::GetScrollPixelsPerUnit}\label{wxscrolledwindowgetscrollpixelsperunit} - -\constfunc{void}{GetScrollPixelsPerUnit}{\param{int* }{xUnit}, \param{int* }{yUnit}} - -Get the number of pixels per scroll unit (line), in each direction, as set -by \helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars}. A value of zero indicates no -scrolling in that direction. - -\wxheading{Parameters} - -\docparam{xUnit}{Receives the number of pixels per horizontal unit.} - -\docparam{yUnit}{Receives the number of pixels per vertical unit.} - -\wxheading{See also} - -\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars},\rtfsp -\helpref{wxScrolledWindow::GetVirtualSize}{wxscrolledwindowgetvirtualsize} - -\membersection{wxScrolledWindow::GetVirtualSize}\label{wxscrolledwindowgetvirtualsize} - -\constfunc{void}{GetVirtualSize}{\param{int* }{x}, \param{int* }{y}} - -Gets the size in device units of the scrollable window area (as -opposed to the client size, which is the area of the window currently -visible). - -\wxheading{Parameters} - -\docparam{x}{Receives the length of the scrollable window, in pixels.} - -\docparam{y}{Receives the height of the scrollable window, in pixels.} - -\wxheading{Remarks} - -Use \helpref{wxDC::DeviceToLogicalX}{wxdcdevicetologicalx} and \helpref{wxDC::DeviceToLogicalY}{wxdcdevicetologicaly}\rtfsp -to translate these units to logical units. - -\wxheading{See also} - -\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars},\rtfsp -\helpref{wxScrolledWindow::GetScrollPixelsPerUnit}{wxscrolledwindowgetscrollpixelsperunit} - -\membersection{wxScrolledWindow::IsRetained}\label{wxscrolledwindowisretained} - -\constfunc{bool}{IsRetained}{\void} - -TRUE if the window has a backing bitmap. - -\membersection{wxScrolledWindow::PrepareDC}\label{wxscrolledwindowpreparedc} - -\func{void}{PrepareDC}{\param{wxDC\& }{dc}} - -Call this function to prepare the device context for drawing a scrolled image. It -sets the device origin according to the current scroll position. - -PrepareDC is called automatically within the default \helpref{wxScrolledWindow::OnPaint}{wxscrolledwindowonpaint} event -handler, so your \helpref{wxScrolledWindow::OnDraw}{wxscrolledwindowondraw} override -will be passed a 'pre-scrolled' device context. However, if you wish to draw from -outside of OnDraw (via OnPaint), or you wish to implement OnPaint yourself, you must -call this function yourself. For example: - -\begin{verbatim} -void MyWindow::OnEvent(wxMouseEvent& event) -{ - wxClientDC dc(this); - PrepareDC(dc); - - dc.SetPen(*wxBLACK_PEN); - float x, y; - event.Position(&x, &y); - if (xpos > -1 && ypos > -1 && event.Dragging()) - { - dc.DrawLine(xpos, ypos, x, y); - } - xpos = x; - ypos = y; -} -\end{verbatim} - -\membersection{wxScrolledWindow::OnDraw}\label{wxscrolledwindowondraw} - -\func{virtual void}{OnDraw}{\param{wxDC\& }{dc}} - -Called by the default \helpref{wxScrolledWindow::OnPaint}{wxscrolledwindowonpaint} implementation -to allow the application to define painting behaviour without having to worry about -calling \helpref{wxScrolledWindow::PrepareDC}{wxscrolledwindowpreparedc}. - -\membersection{wxScrolledWindow::OnPaint}\label{wxscrolledwindowonpaint} - -\func{void}{OnPaint}{\param{wxPaintEvent\& }{event}} - -Sent to the window when the window must be refreshed. - -For more details, see \helpref{wxWindow::OnPaint}{wxwindowonpaint}. - -The default implementation for wxScrolledWindow's OnPaint handler is simply: - -\begin{verbatim} -void wxScrolledWindow::OnPaint(wxPaintEvent& event) -{ - wxPaintDC dc(this); - PrepareDC(dc); - - OnDraw(dc); -} -\end{verbatim} - -\membersection{wxScrolledWindow::OnScroll}\label{wxscrolledwindowonscroll} - -\func{void}{OnScroll}{\param{wxScrollEvent\& }{event}} - -Override this function to intercept scroll events. This -member function implements the default scroll behaviour. If -you do not call the default function, you will have to manage -all scrolling behaviour including drawing the window contents -at an appropriate position relative to the scrollbars. - -For more details, see \helpref{wxWindow::OnScroll}{wxwindowonscroll}. - -\wxheading{See also} - -\helpref{wxScrollEvent}{wxscrollevent} - -\membersection{wxScrolledWindow::Scroll}\label{wxscrolledwindowscroll} - -\func{void}{Scroll}{\param{int}{ x}, \param{int}{ y}} - -Scrolls a window so the view start is at the given point. - -\wxheading{Parameters} - -\docparam{x}{The x position to scroll to, in scroll units.} - -\docparam{y}{The y position to scroll to, in scroll units.} - -\wxheading{Remarks} - -The positions are in scroll units, not pixels, so to convert to pixels you -will have to multiply by the number of pixels per scroll increment. -If either parameter is -1, that position will be ignored (no change in -that direction). - -\wxheading{See also} - -\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars},\rtfsp -\helpref{wxScrolledWindow::GetScrollPixelsPerUnit}{wxscrolledwindowgetscrollpixelsperunit} - -\membersection{wxScrolledWindow::SetScrollbars}\label{wxscrolledwindowsetscrollbars} - -\func{void}{SetScrollbars}{\param{int}{ pixelsPerUnitX}, \param{int}{ pixelsPerUnitY},\rtfsp -\param{int}{ noUnitsX}, \param{int}{ noUnitsY},\rtfsp -\param{int }{xPos = 0}, \param{int}{ yPos = 0}} - -Sets up vertical and/or horizontal scrollbars. - -\wxheading{Parameters} - -\docparam{pixelsPerUnitX}{Pixels per scroll unit in the horizontal direction.} - -\docparam{pixelsPerUnitY}{Pixels per scroll unit in the vertical direction.} - -\docparam{noUnitsX}{Number of units in the horizontal direction.} - -\docparam{noUnitsY}{Number of units in the vertical direction.} - -\docparam{xPos}{Position to initialize the scrollbars in the horizontal direction, in scroll units.} - -\docparam{yPos}{Position to initialize the scrollbars in the vertical direction, in scroll units.} - -\wxheading{Remarks} - -The first pair of parameters give the number of pixels per `scroll step', i.e. amount -moved when the up or down scroll arrows are pressed. -The second pair gives the length of scrollbar in scroll steps, which sets the size of the virtual -window. - -{\it xPos} and {\it yPos} optionally specify a position to scroll to immediately. - -For example, the following gives a window horizontal and vertical -scrollbars with 20 pixels per scroll step, and a size of 50 steps (1000 -pixels) in each direction. - -\begin{verbatim} - window->SetScrollbars(20, 20, 50, 50); -\end{verbatim} - -wxScrolledWindow manages the page size itself, -using the current client window size as the page size. - -Note that for more sophisticated scrolling applications, for example where -scroll steps may be variable according to the position in the document, it will be -necessary to derive a new class from wxWindow, overriding {\bf OnSize} and -adjusting the scrollbars appropriately. - -\membersection{wxScrolledWindow::ViewStart}\label{wxscrolledwindowviewstart} - -\constfunc{void}{ViewStart}{\param{int* }{x}, \param{int* }{ y}} - -Get the position at which the visible portion of the window starts. - -\wxheading{Parameters} - -\docparam{x}{Receives the first visible x position in scroll units.} - -\docparam{y}{Receives the first visible y position in scroll units.} - -\wxheading{Remarks} - -If either of the scrollbars is not at the home position, {\it x} and/or -\rtfsp{\it y} will be greater than zero. Combined with \helpref{wxWindow::GetClientSize}{wxwindowgetclientsize}, -the application can use this function to efficiently redraw only the -visible portion of the window. The positions are in logical scroll -units, not pixels, so to convert to pixels you will have to multiply -by the number of pixels per scroll increment. - -\wxheading{See also} - -\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars} - diff --git a/docs/latex/wx/settings.tex b/docs/latex/wx/settings.tex deleted file mode 100644 index c85151e9b6..0000000000 --- a/docs/latex/wx/settings.tex +++ /dev/null @@ -1,141 +0,0 @@ -\section{\class{wxSystemSettings}}\label{wxsystemsettings} - -wxSystemSettings allows the application to ask for details about -the system. This can include settings such as standard colours, fonts, -and user interface element sizes. - -\wxheading{Derived from} - -\helpref{wxObject}{wxobject} - -\wxheading{See also} - -\helpref{wxFont}{wxfont}, \helpref{wxColour}{wxcolour} - -\latexignore{\rtfignore{\wxheading{Members}}} - -\membersection{wxSystemSettings::wxSystemSettings} - -\func{}{wxSystemSettings}{\void} - -Default constructor. You don't need to create an instance of wxSystemSettings -since all of its functions are static. - -\membersection{wxSystemSettings::GetSystemColour}\label{wxsystemsettingsgetsystemcolour} - -\func{static wxColour}{GetSystemColour}{\param{int}{ index}} - -Returns a system colour. - -{\it index} can be one of: - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxSYS\_COLOUR\_SCROLLBAR}}{The scrollbar grey area.} -\twocolitem{{\bf wxSYS\_COLOUR\_BACKGROUND}}{The desktop colour.} -\twocolitem{{\bf wxSYS\_COLOUR\_ACTIVECAPTION}}{Active window caption.} -\twocolitem{{\bf wxSYS\_COLOUR\_INACTIVECAPTION}}{Inactive window caption.} -\twocolitem{{\bf wxSYS\_COLOUR\_MENU}}{Menu background.} -\twocolitem{{\bf wxSYS\_COLOUR\_WINDOW}}{Window background.} -\twocolitem{{\bf wxSYS\_COLOUR\_WINDOWFRAME}}{Window frame.} -\twocolitem{{\bf wxSYS\_COLOUR\_MENUTEXT}}{Menu text.} -\twocolitem{{\bf wxSYS\_COLOUR\_WINDOWTEXT}}{Text in windows.} -\twocolitem{{\bf wxSYS\_COLOUR\_CAPTIONTEXT}}{Text in caption, size box and scrollbar arrow box.} -\twocolitem{{\bf wxSYS\_COLOUR\_ACTIVEBORDER}}{Active window border.} -\twocolitem{{\bf wxSYS\_COLOUR\_INACTIVEBORDER}}{Inactive window border.} -\twocolitem{{\bf wxSYS\_COLOUR\_APPWORKSPACE}}{Background colour MDI applications.} -\twocolitem{{\bf wxSYS\_COLOUR\_HIGHLIGHT}}{Item(s) selected in a control.} -\twocolitem{{\bf wxSYS\_COLOUR\_HIGHLIGHTTEXT}}{Text of item(s) selected in a control.} -\twocolitem{{\bf wxSYS\_COLOUR\_BTNFACE}}{Face shading on push buttons.} -\twocolitem{{\bf wxSYS\_COLOUR\_BTNSHADOW}}{Edge shading on push buttons.} -\twocolitem{{\bf wxSYS\_COLOUR\_GRAYTEXT}}{Greyed (disabled) text.} -\twocolitem{{\bf wxSYS\_COLOUR\_BTNTEXT}}{Text on push buttons.} -\twocolitem{{\bf wxSYS\_COLOUR\_INACTIVECAPTIONTEXT}}{Colour of text in active captions.} -\twocolitem{{\bf wxSYS\_COLOUR\_BTNHIGHLIGHT}}{Highlight colour for buttons (same as wxSYS\_COLOUR\_3DHILIGHT).} -\twocolitem{{\bf wxSYS\_COLOUR\_3DDKSHADOW}}{Dark shadow for three-dimensional dispaly elements.} -\twocolitem{{\bf wxSYS\_COLOUR\_3DLIGHT}}{Light colour for three-dimensional display elements.} -\twocolitem{{\bf wxSYS\_COLOUR\_INFOTEXT}}{Text colour for tooltip controls.} -\twocolitem{{\bf wxSYS\_COLOUR\_INFOBK}}{Background colour for tooltip controls.} -\twocolitem{{\bf wxSYS\_COLOUR\_DESKTOP}}{Same as wxSYS\_COLOUR\_BACKGROUND.} -\twocolitem{{\bf wxSYS\_COLOUR\_3DFACE}}{Same as wxSYS\_COLOUR\_BTNFACE.} -\twocolitem{{\bf wxSYS\_COLOUR\_3DSHADOW}}{Same as wxSYS\_COLOUR\_BTNSHADOW.} -\twocolitem{{\bf wxSYS\_COLOUR\_3DHIGHLIGHT}}{Same as wxSYS\_COLOUR\_BTNHIGHLIGHT.} -\twocolitem{{\bf wxSYS\_COLOUR\_3DHILIGHT}}{Same as wxSYS\_COLOUR\_BTNHIGHLIGHT.} -\twocolitem{{\bf wxSYS\_COLOUR\_BTNHILIGHT}}{Same as wxSYS\_COLOUR\_BTNHIGHLIGHT.} -\end{twocollist} - -\membersection{wxSystemSettings::GetSystemFont}\label{wxsystemsettingsgetsystemfont} - -\func{static wxFont}{GetSystemFont}{\param{int}{ index}} - -Returns a system font. - -{\it index} can be one of: - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxSYS\_OEM\_FIXED\_FONT}}{Original equipment manufacturer dependent fixed-pitch font.} -\twocolitem{{\bf wxSYS\_ANSI\_FIXED\_FONT}}{Windows fixed-pitch font.} -\twocolitem{{\bf wxSYS\_ANSI\_VAR\_FONT}}{Windows variable-pitch (proportional) font.} -\twocolitem{{\bf wxSYS\_SYSTEM\_FONT}}{System font.} -\twocolitem{{\bf wxSYS\_DEVICE\_DEFAULT\_FONT}}{Device-dependent font (Windows NT only).} -\twocolitem{{\bf wxSYS\_DEFAULT\_GUI\_FONT}}{Default font for user interface objects such as menus and dialog boxes. -Not available in versions of Windows earlier than Windows 95 or Windows NT 4.0.} -\end{twocollist} - -\membersection{wxSystemSettings::GetSystemMetric}\label{wxsystemsettingsgetsystemmetric} - -\func{static int}{GetSystemMetric}{\param{int}{ index}} - -Returns a system metric. - -{\it index} can be one of: - -\twocolwidtha{7cm} -\begin{twocollist}\itemsep=0pt -\twocolitem{{\bf wxSYS\_MOUSE\_BUTTONS}}{Number of buttons on mouse, or zero if no mouse was installed.} -\twocolitem{{\bf wxSYS\_BORDER\_X}}{Width of single border.} -\twocolitem{{\bf wxSYS\_BORDER\_Y}}{Height of single border.} -\twocolitem{{\bf wxSYS\_CURSOR\_X}}{Width of cursor.} -\twocolitem{{\bf wxSYS\_CURSOR\_Y}}{Height of cursor.} -\twocolitem{{\bf wxSYS\_DCLICK\_X}}{Width in pixels of rectangle within which two successive mouse -clicks must fall to generate a double-click.} -\twocolitem{{\bf wxSYS\_DCLICK\_Y}}{Height in pixels of rectangle within which two successive mouse -clicks must fall to generate a double-click.} -\twocolitem{{\bf wxSYS\_DRAG\_X}}{Width in pixels of a rectangle centered on a drag point -to allow for limited movement of the mouse pointer before a drag operation begins.} -\twocolitem{{\bf wxSYS\_DRAG\_Y}}{Height in pixels of a rectangle centered on a drag point -to allow for limited movement of the mouse pointer before a drag operation begins.} -\twocolitem{{\bf wxSYS\_EDGE\_X}}{Width of a 3D border, in pixels. } -\twocolitem{{\bf wxSYS\_EDGE\_Y}}{Height of a 3D border, in pixels. } -\twocolitem{{\bf wxSYS\_HSCROLL\_ARROW\_X}}{Width of arrow bitmap on horizontal scrollbar.} -\twocolitem{{\bf wxSYS\_HSCROLL\_ARROW\_Y}}{Height of arrow bitmap on horizontal scrollbar.} -\twocolitem{{\bf wxSYS\_HTHUMB\_X}}{Width of horizontal scrollbar thumb.} -\twocolitem{{\bf wxSYS\_ICON\_X}}{The default width of an icon.} -\twocolitem{{\bf wxSYS\_ICON\_Y}}{The default height of an icon.} -\twocolitem{{\bf wxSYS\_ICONSPACING\_X}}{Width of a grid cell for items in large icon view, -in pixels. Each item fits into a rectangle of this size when arranged.} -\twocolitem{{\bf wxSYS\_ICONSPACING\_Y}}{Height of a grid cell for items in large icon view, -in pixels. Each item fits into a rectangle of this size when arranged.} -\twocolitem{{\bf wxSYS\_WINDOWMIN\_X}}{Minimum width of a window.} -\twocolitem{{\bf wxSYS\_WINDOWMIN\_Y}}{Minimum height of a window.} -\twocolitem{{\bf wxSYS\_SCREEN\_X}}{Width of the screen in pixels.} -\twocolitem{{\bf wxSYS\_SCREEN\_Y}}{Height of the screen in pixels.} -\twocolitem{{\bf wxSYS\_FRAMESIZE\_X}}{Width of the window frame for a wxTHICK\_FRAME window.} -\twocolitem{{\bf wxSYS\_FRAMESIZE\_Y}}{Height of the window frame for a wxTHICK\_FRAME window.} -\twocolitem{{\bf wxSYS\_SMALLICON\_X}}{Recommended width of a small icon (in window captions, and small icon view).} -\twocolitem{{\bf wxSYS\_SMALLICON\_Y}}{Recommended height of a small icon (in window captions, and small icon view).} -\twocolitem{{\bf wxSYS\_HSCROLL\_Y}}{Height of horizontal scrollbar in pixels.} -\twocolitem{{\bf wxSYS\_VSCROLL\_X}}{Width of vertical scrollbar in pixels.} -\twocolitem{{\bf wxSYS\_VSCROLL\_ARROW\_X}}{Width of arrow bitmap on a vertical scrollbar.} -\twocolitem{{\bf wxSYS\_VSCROLL\_ARROW\_Y}}{Height of arrow bitmap on a vertical scrollbar.} -\twocolitem{{\bf wxSYS\_VTHUMB\_Y}}{Height of vertical scrollbar thumb.} -\twocolitem{{\bf wxSYS\_CAPTION\_Y}}{Height of normal caption area.} -\twocolitem{{\bf wxSYS\_MENU\_Y}}{Height of single-line menu bar.} -\twocolitem{{\bf wxSYS\_NETWORK\_PRESENT}}{1 if there is a network present, 0 otherwise.} -\twocolitem{{\bf wxSYS\_PENWINDOWS\_PRESENT}}{1 if PenWindows is installed, 0 otherwise.} -\twocolitem{{\bf wxSYS\_SHOW\_SOUNDS}}{Non-zero if the user requires an application to present information visually in situations -where it would otherwise present the information only in audible form; zero otherwise.} -\twocolitem{{\bf wxSYS\_SWAP\_BUTTONS}}{Non-zero if the meanings of the left and right mouse buttons are swapped; zero otherwise.} -\end{twocollist} - diff --git a/docs/latex/wx/shelves.bmp b/docs/latex/wx/shelves.bmp deleted file mode 100644 index 2e9a62cc5c91d14dc639e3788a65ae5306afea04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 630 zcmaixF;2ul3`KuXiV>`2_6C%cE74G+v|MLHx0YzO&@c>InDD<29yVs7yr!L0Z>0} zG}TM1zu00w%hP(xs#hHI?|0PJ7RIRWOWV5jJDxtc^t+zi4y@MS_WyZPwXPd`v9dZQ z{_GTd`myA{@<7yMSP!g@+&2Da-SB&(pYEetlh|MN1J{lEYi447ur5+OX