Commit Graph

28692 Commits

Author SHA1 Message Date
Kevin Hock
95e568ee3e Create RunLoop that can be used to process pending events so that events will still be processed while the user is using a menu or scrollbar [ Patch 1160346 ] - this really needs to be in 2.5.5 so it can be widely tested before 2.6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 18:47:46 +00:00
Stefan Neis
264f00e7d9 Added new function wxGetProcessId.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 18:00:45 +00:00
Stefan Neis
bec7df871b Force wxUSE_DEBUGREPORT to disabled for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 17:59:34 +00:00
Kevin Hock
0c0f207436 Replaced gunshot sound with a more benign, but still impactful, sound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 17:14:01 +00:00
Julian Smart
196785e6b7 Rename wave file to be less agressive, for later replacement
with arbitrary sound


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 13:43:20 +00:00
Vadim Zeitlin
f6840be66e added GetHimagelist()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 12:22:45 +00:00
Michael Wetherell
34b8f3ef3d Minor compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 10:49:43 +00:00
Václav Slavík
43840d8b3a added wxTAB_TRAVERSAL to common styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:42:23 +00:00
Václav Slavík
311b2ea70a call SetupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:40:25 +00:00
Václav Slavík
b0802e6421 added wxWS_EX_VALIDATE_RECURSIVELY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:37:02 +00:00
Václav Slavík
0c00c86faf fixed dialog units in toplevel windows (bug #1170234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:28:44 +00:00
Vadim Zeitlin
c79146df7e do runtime check for GTK+ 2.4 and not only compile-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 00:42:24 +00:00
Vadim Zeitlin
714b4a3d30 corrected GTK wrapping line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 00:36:57 +00:00
Vadim Zeitlin
c4590236d7 use GTK_WRAP_WORD_CHAR for wxTE_BESTWRAP if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 00:36:04 +00:00
Vadim Zeitlin
c12b7f79a7 respect G_FILENAME_ENCODING in wxConvBrokenFileName and also use UTF-8 instead ASCII
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 00:16:37 +00:00
Vadim Zeitlin
44d12026b8 use wxLocale::GetSystemEncoding() to test whetehr we want to use UTF-8 in wxConvBrokenFileNames::UseUTF8()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 22:43:56 +00:00
Vadim Zeitlin
9d27183802 fixed test for GTK+ 2.4: was always false on a second or subsequent configure run if caching was used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 22:42:10 +00:00
Vadim Zeitlin
ede3a6d68a use popen() instead of wxExecute(), it works inside wxYield() unlike the latter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 22:22:24 +00:00
Vadim Zeitlin
3698ae7195 fixed compilation in non-Unicode build; fixed bug with buffer overrun in wxMBConvUTF8::MB2WC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 22:20:44 +00:00
Václav Slavík
172541f64b added XRC handler for wxStdDialogButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 21:28:27 +00:00
Robert Roebling
2f025841ee Use conversion class in native GTK+ file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 19:23:15 +00:00
Robert Roebling
37b5dea730 Actually make use of new cool file conversion
class in wxDir.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 19:00:42 +00:00
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