]>
git.saurik.com Git - wxWidgets.git/log
Robin Dunn [Sun, 8 Sep 2002 00:38:34 +0000 (00:38 +0000)]
SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17066
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 8 Sep 2002 00:29:08 +0000 (00:29 +0000)]
correct compilation fix for the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17065
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 8 Sep 2002 00:27:40 +0000 (00:27 +0000)]
the sample now builds in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17064
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 8 Sep 2002 00:11:00 +0000 (00:11 +0000)]
GetLanguageInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17063
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 7 Sep 2002 23:34:28 +0000 (23:34 +0000)]
Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17062
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 7 Sep 2002 23:17:14 +0000 (23:17 +0000)]
Some last minute little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17061
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 22:53:04 +0000 (22:53 +0000)]
added wxLocale::GetLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 7 Sep 2002 21:56:28 +0000 (21:56 +0000)]
Better placement of the AutoComplete listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17059
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 20:26:42 +0000 (20:26 +0000)]
don't give empty message box if Parse(FALSE) was called and there was --help on the cmd line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17058
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 20:26:07 +0000 (20:26 +0000)]
don't overwrite the app name with argv[0] if it had been already set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17057
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 20:25:43 +0000 (20:25 +0000)]
show the app name in the title of wxMsgOut message boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17056
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 20:16:02 +0000 (20:16 +0000)]
Added check for Refresh function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17055
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 20:09:55 +0000 (20:09 +0000)]
Changed second parameter of Refresh to "const wxRect*".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17054
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 20:07:22 +0000 (20:07 +0000)]
Fixed Refresh to use a "const wxRect *" parameter.
Optimized Refresh rectangles for subwindows in Refresh.
Replaced DisableCellEditControl by HideCellEditControl in two places,
where I explicitly didn't intent to store the editor's value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17053
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 7 Sep 2002 19:25:34 +0000 (19:25 +0000)]
wxHtmlWindow now grabs the focus when clicked on. (Didn't all windows
do this automatically in the past?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17052
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 19:24:45 +0000 (19:24 +0000)]
made SetDirectory() work, minor code cleanup (much is left to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17051
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 19:24:17 +0000 (19:24 +0000)]
added wxFileDialog::SetDirectory test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17050
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 7 Sep 2002 19:01:32 +0000 (19:01 +0000)]
Fix off-by-one in vertical scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17048
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 18:38:25 +0000 (18:38 +0000)]
fix for handling TAB presses in readonly text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17047
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 17:21:26 +0000 (17:21 +0000)]
applied the workaround for XUnionRectWithRegion() returning ampty result if the rect is empty to wxX11 and wxMotif as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17046
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 16:22:56 +0000 (16:22 +0000)]
Tried to fix bug 603906 by modifying GetModelValues to disable editor.
Also save and disable editor in SetModelValues. However, I don't have
a test case ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17045
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Sep 2002 14:25:03 +0000 (14:25 +0000)]
don't send clicked event for wxID_CANCEL button when Esc is pressed unless such button really exists (and then send it to the right window!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17044
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 13:58:25 +0000 (13:58 +0000)]
Commited John Labenski's patch giving access to the low level selection
representation (Patch 579754).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17043
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 13:46:57 +0000 (13:46 +0000)]
Applied patch showing off John Labenski's
cell overflowing and multi-cell handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17042
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Gilles Depeyrot [Sat, 7 Sep 2002 12:48:17 +0000 (12:48 +0000)]
display compilation warning under Mac OS X/Darwin for missing poll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17041
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 12:46:39 +0000 (12:46 +0000)]
Fixed bug in CoordToRowOrCol.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17040
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Gilles Depeyrot [Sat, 7 Sep 2002 12:28:46 +0000 (12:28 +0000)]
disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 7 Sep 2002 12:28:03 +0000 (12:28 +0000)]
Some refresh optimizations.
Untabified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17038
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 7 Sep 2002 10:38:23 +0000 (10:38 +0000)]
Fixed overlapping buttons in wizard on MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17037
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 7 Sep 2002 10:16:03 +0000 (10:16 +0000)]
Removed rundant files, updated readme.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17036
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 7 Sep 2002 08:26:16 +0000 (08:26 +0000)]
yet another code for wxMac properly resetting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17035
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 7 Sep 2002 06:36:59 +0000 (06:36 +0000)]
added code for wxMac properly resetting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17034
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 22:38:25 +0000 (22:38 +0000)]
Added missing rejigged IPC Latex files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17033
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 22:24:37 +0000 (22:24 +0000)]
Adjusted filelist.txt and wxUniv.dsp to use generic
version of wxImageList.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17032
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 21:24:51 +0000 (21:24 +0000)]
Latest PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17031
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 20:03:03 +0000 (20:03 +0000)]
The standalone PyShell and PyCrust apps need to set the focus to the
shell windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17030
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 19:45:26 +0000 (19:45 +0000)]
Applied patch [ 549256 ] fix minor bug in widgets sample
Arnout Engelen
The EVT_TEXT_ENTER event will not be caught in the 'widgets' sample since the wxTE_PROCESS_ENTER wasn't set for the wxTextCtrls. For some reason this does work correctly in wxMSW without this flag set, which could be considered a bug or documentation bug.
This patch adds the wxTE_PROCESS_ENTER flag and thus fixes this minor bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17029
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Fri, 6 Sep 2002 19:03:36 +0000 (19:03 +0000)]
documented need to install ZIP handler
(Julian's claim in previous commit was incorrect, mine is not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17028
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 19:03:30 +0000 (19:03 +0000)]
Updated html version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17027
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Sep 2002 18:28:58 +0000 (18:28 +0000)]
fix for creating radio items in a toolbar with non zero margin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17026
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Sep 2002 18:23:09 +0000 (18:23 +0000)]
fix for radio items creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17025
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 18:01:04 +0000 (18:01 +0000)]
Incremented preview number, reswigged a couple things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17024
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Sep 2002 18:00:32 +0000 (18:00 +0000)]
fixes for reading bitmapswith BI_BITFIELDS (patch 597906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17023
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 17:11:52 +0000 (17:11 +0000)]
Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17022
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 16:59:31 +0000 (16:59 +0000)]
Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Fri, 6 Sep 2002 16:53:02 +0000 (16:53 +0000)]
Fixed bug with SetValue on read-only combobox; don't call ::SetWindowText,
use SetStringSelection instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17018
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 16:32:34 +0000 (16:32 +0000)]
Removed #ifdef __WXMAC__ around dialog initialisation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17017
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 14:42:47 +0000 (14:42 +0000)]
Applied patch [ 605592 ] Unicode patch for dirctrlg.cpp
Markus Greither
just compiled the wxWindows CVS trunk using
BCC5.5.1 and UNICODE. I noticed a small bug in
girctrlg.cpp, that prevented compilation. There are more
such glitches in the wxGrid, but as I was running out of
time, I disabled this for now. Otherwise, compilation
worked fine and I was able to run the minimal sample
(using UNICOWS on my WIN98SE).
(I also corrected some wxGrid Unicode string typos -- JACS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17016
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 12:19:25 +0000 (12:19 +0000)]
Corrected wxMenu::Append item symbol documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17015
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Fri, 6 Sep 2002 10:51:49 +0000 (10:51 +0000)]
small bug fix for using multiple borland compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17014
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 08:18:31 +0000 (08:18 +0000)]
Added another reference to adding the zip handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17013
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Sep 2002 08:13:05 +0000 (08:13 +0000)]
Added note about adding the zip handler when using wxHtmlHelpController.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17012
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Fri, 6 Sep 2002 06:10:53 +0000 (06:10 +0000)]
Committing in .
Updates for OpenVMS
in utilsunx.cpp : OpenVMS does not have fork. So I use vfork there although
the source warns me that it may be broken on some systems.
Modified Files:
wxWindows/setup.h_vms wxWindows/src/unix/utilsunx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17011
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 6 Sep 2002 01:45:55 +0000 (01:45 +0000)]
SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17010
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 5 Sep 2002 23:33:42 +0000 (23:33 +0000)]
fixed the width of the (week day as number) field, should be 1, not 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17009
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 5 Sep 2002 23:02:56 +0000 (23:02 +0000)]
fix va_arg(.,short int) problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17008
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 22:58:06 +0000 (22:58 +0000)]
Allow wxGTK's wxToolbar to catch the standard window events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17007
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 21:40:34 +0000 (21:40 +0000)]
SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17006
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 21:39:42 +0000 (21:39 +0000)]
Added IsEditCancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17005
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Gilles Depeyrot [Thu, 5 Sep 2002 21:04:29 +0000 (21:04 +0000)]
corrected comments (should not be C++ style!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Thu, 5 Sep 2002 20:57:34 +0000 (20:57 +0000)]
XmNframeChildType is not in Lesstif if it was compiled with Motif 1.2
compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17003
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Thu, 5 Sep 2002 20:56:42 +0000 (20:56 +0000)]
Build without 2.2 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17002
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Thu, 5 Sep 2002 20:55:14 +0000 (20:55 +0000)]
Revert apparently accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17001
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 20:54:30 +0000 (20:54 +0000)]
Added effects.h to filelist.txt so it will get installed, fixed a
syntax problem in makeall.sh, regenerated all makefiles and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17000
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Guillermo Rodriguez Garcia [Thu, 5 Sep 2002 20:49:18 +0000 (20:49 +0000)]
Solved problems with handling of LOST events on Unix platforms (reported
on wxGTK). Main symptoms were spurious CONNECT events being delivered when
a connection had failed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16999
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 20:12:08 +0000 (20:12 +0000)]
Ensure -D_FILE_OFFSET_BITS=64 also gets on the command line when
needed, and also fix wx-config to output the largefile flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16998
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 5 Sep 2002 20:12:02 +0000 (20:12 +0000)]
Eliminated unreachable code warning in VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16997
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 5 Sep 2002 19:59:34 +0000 (19:59 +0000)]
Applied patch [ 605188 ] Fix to draw 24 bit bitmaps
Derry Bryson
Fix to wxPrinterDC::DrawBitmap() to print 24 bit bitmaps
at 24 bits rather than 8 bits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16996
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 5 Sep 2002 19:50:41 +0000 (19:50 +0000)]
Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent
Benjamin I. Williams
Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.
This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).
This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.
The patch is not very invasive, and is much smaller
than I had expected.
Please see the relevent discussion on the wx-dev list
for more details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 19:41:45 +0000 (19:41 +0000)]
SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16994
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 19:39:28 +0000 (19:39 +0000)]
Various wxPython updates to go along with recent changes in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16993
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 19:38:13 +0000 (19:38 +0000)]
Use the iconIndex in the default case too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16992
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 19:37:25 +0000 (19:37 +0000)]
Added some accessors for wxEffects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 5 Sep 2002 19:36:59 +0000 (19:36 +0000)]
some tweaks for LINK_LEXERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16990
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 5 Sep 2002 16:15:30 +0000 (16:15 +0000)]
Applied patch [ 603858 ] wxTextCtrl text alignment patch
Benjamin I. Williams
This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.
At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.
As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.
While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!
This patch also updates the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Gilles Depeyrot [Thu, 5 Sep 2002 16:15:06 +0000 (16:15 +0000)]
-o flag must be after PIC flag for gcc under HPUX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16988
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 5 Sep 2002 14:56:34 +0000 (14:56 +0000)]
Added #include <ctype.h> since it seems to have
gone missing from this file for non-Unicode
cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16987
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Gilles Depeyrot [Thu, 5 Sep 2002 13:59:18 +0000 (13:59 +0000)]
added -D_REENTRANT for hpux when threads are enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16986
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Webster [Thu, 5 Sep 2002 13:54:24 +0000 (13:54 +0000)]
Fix for child window positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16985
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 5 Sep 2002 12:42:16 +0000 (12:42 +0000)]
corrected code for doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16984
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Gilles Depeyrot [Thu, 5 Sep 2002 12:28:30 +0000 (12:28 +0000)]
corrected HPUX specific test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16983
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 5 Sep 2002 10:54:30 +0000 (10:54 +0000)]
fix Union(empty rect) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16982
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Sep 2002 22:17:09 +0000 (22:17 +0000)]
compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16981
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Sep 2002 22:07:25 +0000 (22:07 +0000)]
use own mutex for region iterator locking, not gui one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16980
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Sep 2002 22:07:19 +0000 (22:07 +0000)]
why the heck was the flag changed to T from Theme?! Broke my makefiles...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16979
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Sep 2002 22:07:12 +0000 (22:07 +0000)]
compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16978
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Sep 2002 22:07:00 +0000 (22:07 +0000)]
added watmgl.t to Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16977
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 4 Sep 2002 22:06:50 +0000 (22:06 +0000)]
whoever added mdig.cpp forgot to update the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16976
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Wed, 4 Sep 2002 16:42:53 +0000 (16:42 +0000)]
Missing #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16975
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 15:06:46 +0000 (15:06 +0000)]
should fix Unicode build for BC++ 5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16974
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 15:04:10 +0000 (15:04 +0000)]
don't use -mthreads switch if the compiler doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16973
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 14:56:55 +0000 (14:56 +0000)]
make --static default if configured with --disable-shared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16972
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 14:30:25 +0000 (14:30 +0000)]
use standard colour for the selected tree item text as well as background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16971
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 14:21:51 +0000 (14:21 +0000)]
mention that wxBase builds with BC++ now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16970
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 13:50:58 +0000 (13:50 +0000)]
fix crash if Delete menu command is used twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16969
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 13:45:39 +0000 (13:45 +0000)]
fix wxCheckListBox which was completely broken by the Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16968
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Webster [Wed, 4 Sep 2002 13:39:02 +0000 (13:39 +0000)]
For OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16967
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 13:16:46 +0000 (13:16 +0000)]
generic status bar now:
1. works correctly (handles negative widths according to the docs/MSW/Univ)
2. has shorter and simpler GetFieldRect() implementation
3. ... which is also more efficient (pixel widths are cached)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16966
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Wed, 4 Sep 2002 12:24:45 +0000 (12:24 +0000)]
move code from .h to .cpp to prevent Borland warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16965
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 4 Sep 2002 11:45:06 +0000 (11:45 +0000)]
fix wxBase apps compilation after ProcessIdle() change from the patch 588734
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16964
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775