Commit Graph

28620 Commits

Author SHA1 Message Date
Vadim Zeitlin
8474a52c32 fix TestGLCanvas ctor (part of patch 1155132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:08:08 +00:00
Vadim Zeitlin
34a34b020f applied patch fixing problems with X server crash when using wxGLCanvas with nVidia cards (patch 1155132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:06:43 +00:00
Vadim Zeitlin
8d36b2167d fixed crash introduced by recently applied autowidth patch (patch 1171455)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:05:21 +00:00
Vadim Zeitlin
8d0a7b563a applied heavily modified patch 1116702: support for specifying disabled toolbar images and modified the sample to show how it works (badly, background of tools for which disabled bitmap is not specified is wrong)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:03:57 +00:00
Vadim Zeitlin
062b84dd49 use image mask colour if any instead of guessing that (0, 0) is always transparent in wxCreateGreyedImage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:00:58 +00:00
Vadim Zeitlin
ec023a6e0b added wxBitmap::GetMaskBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 17:47:39 +00:00
Robert Roebling
ea8ce907e1 Submit patch based on Michael W.'s invalid UTF8
to PUA patch. I added UTF8_TO_OCTAL and made
    that the default for filename conversion uner
    GTK2. More adapation, e.g. to G_FILENAME_ENCODING
    need to be done.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 17:23:15 +00:00
Vadim Zeitlin
894d74dcc2 applied part of patch 1169925: fix errors with multibyte <-> wx conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 16:39:02 +00:00
Vadim Zeitlin
58ad1bab8c use wxFileName to change catalog extension instead wxString methods, this fixes problems with dots inside file names (modified patch 1169837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 16:21:41 +00:00
Vadim Zeitlin
69120ee48a make it clear which GL(U) library we can't find in error messages, otherwise the user has no idea what exactly failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 16:12:13 +00:00
Vadim Zeitlin
4811590bb5 corrected library order to make the sample link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 16:01:18 +00:00
Vadim Zeitlin
9ec0e7da98 send wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED only once after end of dragging and not after each CHANGING event (modified patch 1076226)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 15:50:17 +00:00
Vadim Zeitlin
fb4888a650 added wxTE_BESTWRAP style (which is the default now); renamed wxTE_LINEWRAP to wxTE_CHARWRAP as this corresponds better to what it does; added tests for wxTE_*WRAP to the widgets sample (replaces patch 1156507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 15:25:21 +00:00
Vadim Zeitlin
120678ee96 don't crash when trying to dump struct members which are NULL pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 14:26:10 +00:00
Vadim Zeitlin
a67f1484e0 made Update() recursive under wxGTK2 (doesn't work for wxGTK1 because Refresh() is not recursive htere neither) and documented its behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 13:54:09 +00:00
Stefan Neis
f47af52bb4 Somewhat cleaned up handling of OMF mode for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 13:03:46 +00:00
David Elliott
6ecd355e0f Added documentation for using MW compilers with configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 09:28:39 +00:00
David Elliott
7347d453c5 Thinking about it, this is a bad idea as MW CRT's struct tm is two
fields shorter than BSD's as MW's lacks TZ fields.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:56:27 +00:00
David Elliott
97ae9d4cc7 Declare strptime when using MSL headers on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:48:30 +00:00
David Elliott
dcbd3762e8 Declare strptime when using MSL headers on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:38:34 +00:00
David Elliott
f0756afed9 Allow compilation with MW CRT on OS X. Unlike BSD CRT, MW CRT does not
define SIGTRAP so we have to use the Mac OS Debugger() function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:27:15 +00:00
David Elliott
d95fb7ebf8 EOVERFLOW is not available on classic Mac OS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 04:15:30 +00:00
David Elliott
898beab1cd Disable wxStackWalker on platforms other than Win32 or UNIX.
For instance, Mac OS (PEF) doesn't have an implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 04:06:37 +00:00
David Elliott
707c441892 Added #if wxUSE_STACKWALKER. Fixes compilation of OS X shared libraries.
TODO: What does it take to get wxStackWalker on OS X?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 01:59:17 +00:00
David Elliott
4ebd02e913 qadll depends on coredll. First part of OS X shared library build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 01:51:36 +00:00
David Elliott
2a12cc65c8 Improve type safety by doing a runtime check to make sure the
wxFontMapper really is a wxFontMapper when GUI code asks for it.
Remove some incorrect comments and add some new ones.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 21:47:54 +00:00
Robin Dunn
b1baed854d Add note about the recursive Refresh change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 21:00:40 +00:00
Vadim Zeitlin
84bdb0d8d7 compilation fix for wxUSE_ON_FATAL_EXCEPTION == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 19:07:13 +00:00
Vadim Zeitlin
dd5504ecd4 added deprecation note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 16:34:29 +00:00
Vadim Zeitlin
d181e05329 changed wxWindow::Refresh() to refresh the window children as well (as wxGTK already did); documented this as correct behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 16:32:48 +00:00
Vadim Zeitlin
3601f639a5 don't use *.* under Unix as it does not match all files, use wxFileSelectorDefaultWildcardStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 16:29:00 +00:00
Julian Smart
d44d0cbd73 Added C/wxString array constructors to wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 14:18:56 +00:00
Robert Roebling
f36a04a7b6 Small fix for generic print dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 12:44:49 +00:00
Robert Roebling
e1bfe89eee Commit empty wxConvBrokenFileNames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 12:14:40 +00:00
Julian Smart
e74d06a33b Fix for link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 08:34:51 +00:00
Julian Smart
7e3c8a0223 Added bakefile/makefiles for FoldBar extended samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 08:25:11 +00:00
David Elliott
73302af6dd Get rid of wxFontMapper in wxBase library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 07:10:52 +00:00
David Elliott
267e11c550 Use wxFontMapperBase::Get instead of wxFontMapper::Get from wxBase code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 06:51:56 +00:00
David Elliott
061896d126 Moved #if wxUSE_COMBOBOX after real wx/wxprec.h include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:51:07 +00:00
Stefan Csomor
bc2b0c1b2b correcting DoGetPosition for windows with borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:39:33 +00:00
David Elliott
9151dcec4f Metrowerks Objective-C++ is more strict about types than Apple's.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:28:40 +00:00
David Elliott
ed1f71875b Metrowerks: The unix.h header is part of MSL_Extras. It's not needed for
Darwin and so with the change I don't need to include MSL_Extras.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:25:14 +00:00
Stefan Csomor
6fe1627ca0 correct scrolling and clipping of list headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:12:57 +00:00
David Elliott
4301e38a45 Make expat's configure detect if -ext o is needed (MW) so tests work correctly.
Had to move the CC test earlier for this to work, thus the huge configure changes.  Did use autoconf 2.57 though so it matches perfectly otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 04:12:46 +00:00
David Elliott
6dcfc2898e Moved compiler detection macros to Bakefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 03:49:38 +00:00
Vadim Zeitlin
dc993cbfc6 do nothing in Freeze/Thaw() if the window is hidden, otherwise the window is not redrawn correctly after being eventually shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 23:49:48 +00:00
Robin Dunn
4a64a89c2f Fixed bug [ 1166937 ] Toolbar.DeleteToolByPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 22:39:20 +00:00
Michael Wetherell
df467a9d74 Some improvements to the zip stream docs thanks to helpful feedback
from Andrew Ziem, Stas Sergeev and Artur Kornacki.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 22:32:27 +00:00
Robin Dunn
f1cbd8fac7 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 20:37:29 +00:00
Robin Dunn
1fed7edaa7 Be a little smarter about converting unicode command-lines to string objects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 20:34:52 +00:00