Julian Smart
c29582d0b0
Applied patch [ 590247 ] Fix bad calculation of listctrl update.
...
In wxGenericListCtrl when removing single items a call to
RefreshAfter would cause bad things to happen in GTK/X11.
It would under certain circumstances put Xlib into an
exponential memory and cpu usage mode. Causing
eventual core dump but not before using all memory and
swap.
The problem is that RefreshAfter is passing a negative
height rectangle refresh to GTK/X11. This stems from a mixture
of using scrolled and unscrolled values to calculate the
update region.
This patch fixes the problem... by transforming to scrolled
values earlier. And also adds one optimization to not
update when the item is below the visible area.
Tested on GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:15:03 +00:00
Julian Smart
5ac7be7a9f
Applied patch [ 592363 ] Owner Draw Round 2 fixes
...
This patch fixes the following items in the owner draw
code:
* When an item is disabled, yet highlighted, the code
will now retrieve the user's system settings for
greyed-out text and use that color. Previously, the
code had continued to print the disabled text with an
embossed effect, which looked bad when the item was
highlighted.
* Menu formatting, such as hot-key underlining
(example, "&Open"), has been fixed.
* Measurements and alignments with
accelerators/hot-keys has been fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:10:04 +00:00
Julian Smart
2ad99bc139
Applied [ 590985 ] fix for radiobox under motif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:00:54 +00:00
Julian Smart
1c507b171a
Applied patch [ 592063 ] generic notebook does not OnSelChanging
...
Misc other mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 08:54:49 +00:00
Julian Smart
c266945cab
Removed bogus default parameters, applying
...
patch [ 592492 ] motif, solaris 8, gcc 3.1 build failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 08:51:22 +00:00
Robin Dunn
248834a066
Typo fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 21:06:33 +00:00
Robin Dunn
3e60899273
Bug fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 21:06:17 +00:00
Robin Dunn
7681345971
bug fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 21:05:58 +00:00
Julian Smart
e797067cba
Added error directive for MSW since no longer needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 20:21:26 +00:00
Robert Roebling
c31c771b2d
Added support for outlines printing under wxGTK. I still
...
have to figure out how to do scaling right, the current
values are guesswork.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 17:35:26 +00:00
Robert Roebling
8887e2341a
Compile fix for Unicode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 17:34:19 +00:00
Julian Smart
a437860367
Updated file list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:56:02 +00:00
Julian Smart
bacfb94fb3
Added scripts to make Tex2RTF distribution on Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:50:31 +00:00
Julian Smart
eefc691533
Added files to Tex2RTF file list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:48:29 +00:00
Julian Smart
eeff588280
Added licence docs for Tex2RTF
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:24:07 +00:00
Julian Smart
8bf469b985
Removed temporary file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 09:56:52 +00:00
Julian Smart
56d349220f
Added files for creating independent Tex2RTF distributions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 09:56:23 +00:00
Mattia Barbon
5991550a13
Fix makefile.g95 for make 3.77
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 08:56:08 +00:00
Julian Smart
6788de4d30
Added ProcessIdle virtual function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 07:56:09 +00:00
Robert Roebling
4e8e547ca5
Small fix for Pango printing with bitmaps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 20:51:52 +00:00
Mattia Barbon
f37907ff76
Patch [ 588732 ] makes wxRB_GROUP/radiobuttons working
...
from Marcin Wojdyr (wojdyr)
Applied with some modifications (remove buttons from the chain on
destruction, or the program will segfault).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:54:46 +00:00
Robert Roebling
f7c22a2874
Compile fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:14:44 +00:00
Robert Roebling
46eed000d6
Further code for Pango fonts (work now) and
...
some code for Pango prining. Doesn't work..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 18:58:19 +00:00
Robert Roebling
db16cab461
Lots of work to set PangoFontDescription as the
...
native font info data. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 16:41:31 +00:00
David Webster
b720b24da8
Lots of OS/2 updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 03:35:32 +00:00
David Webster
94640e0414
Some OS/2 Updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 03:34:32 +00:00
Vadim Zeitlin
0532a25881
added a more convenient version of wxFileType::GetOpenCommand()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:49:38 +00:00
Robert Roebling
401eb3dec2
Lots of Unix/Unicode compile fixes, some of which
...
are just #ifdef 0 such as the wxExecute calls
in gdcps.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Gilles Depeyrot
d7a7bd6d27
added missing include file for ProjectBuilder (Mac OS X)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:00:55 +00:00
Robert Roebling
fab591c5cc
Lots of updates for Unicode and GTK 2.0 support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:59:20 +00:00
Robert Roebling
dd398cd02c
Added various MACROS for converting strings
...
back and forth in the different ansi/unicode/gtk
mode/versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:57:53 +00:00
Robert Roebling
54afeafe9b
Compile fix (include order) for Unicode under Unix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:56:52 +00:00
Robert Roebling
b03f81b778
Miserable hack around problem when shrinking
...
a scrolled window with child windows when
it was maxiamally scrolled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:56:06 +00:00
David Webster
2eb96d03e6
OS/2 VA needs to include time.h to get the time calls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 15:53:21 +00:00
David Webster
cf4d0c5b0b
FALSE, not false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 15:50:05 +00:00
David Webster
b389a12d03
Lots of fixes for common dialogs, radioboxes, static text, checkboxes and so on.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:15:13 +00:00
David Webster
344e7ee2c5
Font fix for OS/2 common control creation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:13:59 +00:00
David Webster
760a4fb945
Fixes for common dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:12:36 +00:00
Julian Smart
d9cf726bf3
Applied patch from Benjamin Williams to improve
...
wxMenu ownerdraw behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 19:03:56 +00:00
Václav Slavík
bdf7416759
wxCmdLineParser's output goes to stderr, not message box, under Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 15:40:55 +00:00
Václav Slavík
df65cc5a4b
no more hacks needed in wxrc now that wxMessageOutput works...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 15:40:25 +00:00
Gilles Depeyrot
585a7f9db3
updated xml project file with latest changes (spinctrl, display, msgout, ...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 14:39:32 +00:00
Gilles Depeyrot
1327357121
add spinctrl header for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 13:02:23 +00:00
Gilles Depeyrot
d99937cdd8
only set focus on textctrl item if it exists (exists if combo box is editable)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 13:01:15 +00:00
Stefan Csomor
b8f2db1f34
added border clipping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 08:59:49 +00:00
Mattia Barbon
ef357cdac2
Mention wxMessageOutput in changes.txt
...
wxMessageOutputLog now available in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 23:30:55 +00:00
Stefan Csomor
7372fd0a3c
added option for getting visible region w/o children clipped, added to redrawing of control code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:05:43 +00:00
Stefan Csomor
d835f05e11
added option for getting visible region w/o children clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:03:41 +00:00
Mattia Barbon
09c1ea8517
Documented wxMotif changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 18:26:11 +00:00
Mattia Barbon
bd996abe63
Fixed yet another error in my wxCmdLineParser mdifications.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 17:55:54 +00:00