From: Mattia Barbon Date: Wed, 2 Apr 2003 20:46:36 +0000 (+0000) Subject: Some updates for wxMotif documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70aac632a1f6221f5f0e7e9f14100a93ca689dd7 Some updates for wxMotif documentation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/motif/install.txt b/docs/motif/install.txt index 4fbdde99a4..8962f5c762 100644 --- a/docs/motif/install.txt +++ b/docs/motif/install.txt @@ -6,7 +6,7 @@ IMPORTANT NOTE: If you experience problems installing, please re-read these instructions and other related files (todo.txt, bugs.txt and osname.txt for your platform if it exists) carefully before - mailing wxwin-users or the author. Preferably, try to fix the + mailing wx-users or the author. Preferably, try to fix the problem first and then send a patch to the author. When sending bug reports tell us what version of wxWindows you are @@ -34,7 +34,7 @@ First steps - You can now use configure to build wxWindows and the samples. - Using configure is the recommended way to build the library. If it doesn't + Using configure is the only way to build the library. If it doesn't work for you for whatever reason, please report it (together with detailed information about your platform and the (relevant part of) contents of config.log file) to wx-dev@lists.wxwindows.org. @@ -79,26 +79,26 @@ such as for GTK and Motif, you can now build two complete libraries and use them concurrently. For this end, you have to create a directory for each build of wxWindows - you may also want to create different versions of wxWindows and test them concurrently. Most typically, this would be a version configured -with --enable-debug_flag and one without. Note, that only one build can +with --enable-debug and one without. Note, that only one build can currently be installed, so you'd have to use local version of the library for that purpose. For building three versions (one GTK, one Motif and a debug version of the GTK source) you'd do this: -md buildmotif +mkdir buildmotif cd buildmotif ../configure --with-motif make cd .. -md buildgtk +mkdir buildgtk cd buildgtk ../configure --with-gtk make cd .. -md buildgtkd +mkdir buildgtkd cd buildgtkd -../configure --with-gtk --enable-debug_flag +../configure --with-gtk --enable-debug make cd .. @@ -134,7 +134,7 @@ If you have general problems with installation, see the wxWindows website at http://www.wxwindows.org/ for newest information. If you still don't have any success, please send a bug -report to one of our mailing lists (see my homepage) INCLUDING A DESCRIPTION OF +report to one of our mailing lists (see my homepage) INCLUDING A DESCRIPTION OF YOUR SYSTEM AND YOUR PROBLEM, SUCH AS YOUR VERSION OF MOTIF, WXMOTIF, WHAT DISTRIBUTION YOU USE AND WHAT ERROR WAS REPORTED. I know this has no effect, but I tried... @@ -148,7 +148,7 @@ most of the Motif API without the licence restrictions of Motif. You can get the newest version of the Lesstif from the lesstif homepage at: - http://www.lesstif.org + http://www.lesstif.org/ * Additional libraries ---------------------- @@ -323,6 +323,9 @@ The following options handle the kind of library you want to build. --enable-dmalloc Use the dmalloc memory debugger. Read more at www.letters.com/dmalloc/ + --enable-debug Equivalent to --enable-debug_info plus + --enable-debug-flag. + --enable-debug_info Add debug info to object files and executables for use with debuggers such as gdb (or its many frontends). @@ -351,11 +354,8 @@ are --without-libjpeg Disables JPEG image format code. -{ --without-odbc Disables ODBC code. Not yet. } + --without-odbc Disables ODBC code. - --disable-resources Disables the use of *.wxr type - resources. - --disable-threads Disables threads. Will also disable sockets. @@ -365,8 +365,6 @@ are --disable-clipboard Disables Clipboard. - --disable-serial Disables object instance serialisation. - --disable-streams Disables the wxStream classes. --disable-file Disables the wxFile class. @@ -395,7 +393,7 @@ the library by typing: make make yourself some coffee, as it will take some time. On an old -386SX possibly two weeks. During compilation, you'll get a few +Pentium 200 around 40 minutes. During compilation, you may get a few warning messages depending in your compiler. If you want to be more selective, you can change into a specific @@ -469,7 +467,7 @@ and configure before you can type make. # anyhow # -- Julian Smart chmod a+x configure config.sub config.guess - ./configure --with-shared --with-motif --without-gtk --with-debug_flag --with-debug_info --enable-debug --without-threads --without-sockets --without-odbc + ./configure --with-shared --with-motif --with-debug_flag --with-debug_info --enable-debug --without-threads --without-sockets --without-odbc make -------:x-----Cut here-----:x----- @@ -503,14 +501,10 @@ Troubleshooting Other Notes ----------- -- Debugging mode is switched on by default in the makefiles, but using - configure will create a release build of the library by default: it's - recommended to use --with-debug_info and --with-debug_flag configure - switches while developing your application. To compile in non-debug - mode, remove the -D__WXDEBUG__ switch in make.env (or if using the - configure system, change --with-debug_flag to --without_debug_flag - and --with-debug_info to --without-debug_info in the makewxmotif - script). +- Using configure will create a release build of the library by + default: it's recommended to use --enable-debug configure switch + while developing your application. To compile in non-debug mode, use + --disable-debug configure switch. Bug reports ----------- diff --git a/docs/motif/issues.txt b/docs/motif/issues.txt index d0b8b527e8..b0d4fa8edd 100644 --- a/docs/motif/issues.txt +++ b/docs/motif/issues.txt @@ -5,8 +5,6 @@ Last updated 19/3/2000. See also: todo.txt. -- Sockets not yet working since idle wake-up not implemented. - - wxTextCtrl doesn't work as a stream buffer in Linux/gcc. - No wxToolTip (but see wxToolBar for a way of implementing it). @@ -37,6 +35,3 @@ See also: todo.txt. either cure the XPM loading problem, or provide alternative toolbar buttons (for HelpView) and icons (for places where icons are used e.g. in the log dialog). - -- Dialog Editor needs a lot of work. - diff --git a/docs/motif/makewxmotif b/docs/motif/makewxmotif index 729f90c709..78f7864eb4 100644 --- a/docs/motif/makewxmotif +++ b/docs/motif/makewxmotif @@ -9,7 +9,7 @@ if [ ! -f ./configure ]; then CONFIG=../configure fi -CONFIG="$CONFIG --disable-shared --with-motif --without-gtk --enable-debug_flag --enable-debug_info --enable-debug --disable-sockets --disable-odbc --enable-threads --enable-newgrid" +CONFIG="$CONFIG --disable-shared --with-motif --enable-debug --enable-threads" echo Invoking $CONFIG diff --git a/docs/motif/readme.txt b/docs/motif/readme.txt index d85d8ff975..6f0779fded 100644 --- a/docs/motif/readme.txt +++ b/docs/motif/readme.txt @@ -7,7 +7,7 @@ the wxWindows GUI library. More information about the wxWindows project as a whole can be found at: - http://www.wxwindows.org + http://www.wxwindows.org/ Information on how to install can be found in the file install.txt, but if you cannot wait, this should work on @@ -33,7 +33,7 @@ Alternatively, you may also use the bug reporting system linked from the wxWindows web page. The library produced by the install process will be called -libwx_motif.a (static) and libwx_motif-2.3.so.0.0.0 (shared) so that +libwx_motif.a (static) and libwx_motif-2.5.so.0.0.0 (shared) so that once a binary incompatible version of wxWindows/Motif comes out we'll augment the library version number to avoid linking problems. diff --git a/docs/motif/todo.txt b/docs/motif/todo.txt index 90504a7e69..7c0f0e1f59 100644 --- a/docs/motif/todo.txt +++ b/docs/motif/todo.txt @@ -21,15 +21,10 @@ High Priority anyway, so for example intercepting left-click in a widget doesn't disable the default behaviour. See TODOs in window.cpp. -- wxRadioBox doesn't show up in the controls sample, though it's - OK on other dialogs (e.g. printing sample). - - wxToolTip - Miscellaneous events. -- Use wxImage to load other formats into wxBitmaps, such as PNG, BMP. - - Allow wxFrame and other widgets to have mouse event handlers. Low Priority @@ -44,15 +39,6 @@ Low Priority - Work out why XFreeFont in font.cpp produces a segv. This is currently commented out, which presumably causes a memory leak. -- Better makefile system that can put objects in different dirs. - -- Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68 - wxImage code (derived from XV) for BMP/GIF but it's very bloated. However, - when implemented as extra bitmap handlers, the code won't be linked - unless needed. Update: see if wxImage can handle these formats. - -- Get Dialog Editor working (better) under Motif. - - New wxHelp version: try using the XmHTML widget at http://www.xs4all.nl/~ripley/XmHTML/. @@ -83,7 +69,5 @@ Low Priority - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for Linux) -- Get ODBC classes and sample working. - - Work out why wxTextCtrl doesn't work as a stream buffer under gcc