Commit Graph

15157 Commits

Author SHA1 Message Date
Gilles Depeyrot
ab7ce33c56 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
2002-09-07 12:28:46 +00:00
Stefan Neis
3ed884a0b8 Some refresh optimizations.
Untabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:03 +00:00
Julian Smart
be604faa7b 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
2002-09-07 10:38:23 +00:00
Julian Smart
4e3ad7c095 Removed rundant files, updated readme.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 10:16:03 +00:00
Stefan Csomor
4d8ef9ec7d 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
2002-09-07 08:26:16 +00:00
Stefan Csomor
da4fe3f3d1 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
2002-09-07 06:36:59 +00:00
Julian Smart
47610ec22a Added missing rejigged IPC Latex files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 22:38:25 +00:00
Julian Smart
9e04d98299 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
2002-09-06 22:24:37 +00:00
Robin Dunn
0dacfc5ce4 Latest PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 21:24:51 +00:00
Robin Dunn
e37a28a0de 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
2002-09-06 20:03:03 +00:00
Julian Smart
4589ec39c0 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
2002-09-06 19:45:26 +00:00
Václav Slavík
3a9a01661a 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
2002-09-06 19:03:36 +00:00
Robin Dunn
e9378bd661 Updated html version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:03:30 +00:00
Vadim Zeitlin
6a1359c0a5 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
2002-09-06 18:28:58 +00:00
Vadim Zeitlin
8f262dc567 fix for radio items creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:23:09 +00:00
Robin Dunn
31988931ca Incremented preview number, reswigged a couple things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:01:04 +00:00
Vadim Zeitlin
9042a01738 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
2002-09-06 18:00:32 +00:00
Robin Dunn
42ba812b70 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
2002-09-06 17:11:52 +00:00
Robin Dunn
a834585d74 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
2002-09-06 16:59:31 +00:00
Mattia Barbon
b38f3ff378 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
2002-09-06 16:53:02 +00:00
Julian Smart
fc8eba27ef Removed #ifdef __WXMAC__ around dialog initialisation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:32:34 +00:00
Julian Smart
8dd8f87530 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
2002-09-06 14:42:47 +00:00
Julian Smart
9832266054 Corrected wxMenu::Append item symbol documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 12:19:25 +00:00
Chris Elliott
2dcd33c258 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
2002-09-06 10:51:49 +00:00
Julian Smart
07ed7e32ee 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
2002-09-06 08:18:31 +00:00
Julian Smart
15f43e762c 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
2002-09-06 08:13:05 +00:00
Jouk Jansen
b2ddee86fe 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
2002-09-06 06:10:53 +00:00
Robin Dunn
4ea97290b8 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 01:45:55 +00:00
Vadim Zeitlin
59d04dff03 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
2002-09-05 23:33:42 +00:00
Václav Slavík
40dd6c07aa fix va_arg(.,short int) problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 23:02:56 +00:00
Robin Dunn
248bcf0aa5 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
2002-09-05 22:58:06 +00:00
Robin Dunn
4eb65923fc SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:40:34 +00:00
Robin Dunn
09cca25189 Added IsEditCancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:39:42 +00:00
Gilles Depeyrot
50bcbd3d0e corrected comments (should not be C++ style!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:04:29 +00:00
Mattia Barbon
11a2ce5ad2 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
2002-09-05 20:57:34 +00:00
Mattia Barbon
79f1dd05ad Build without 2.2 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:56:42 +00:00
Mattia Barbon
159f4b336e Revert apparently accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:55:14 +00:00
Robin Dunn
da906b9742 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
2002-09-05 20:54:30 +00:00
Guillermo Rodriguez Garcia
aa6ca3dcc9 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
2002-09-05 20:49:18 +00:00
Robin Dunn
e26c13cffd 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
2002-09-05 20:12:08 +00:00
Julian Smart
ae31cc57f7 Eliminated unreachable code warning in VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:02 +00:00
Julian Smart
e11f2e1645 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
2002-09-05 19:59:34 +00:00
Julian Smart
dd23c25cde 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
2002-09-05 19:50:41 +00:00
Robin Dunn
67a92fff32 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:41:45 +00:00
Robin Dunn
fd512ba286 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
2002-09-05 19:39:28 +00:00
Robin Dunn
d8f3f98359 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
2002-09-05 19:38:13 +00:00
Robin Dunn
db54b04615 Added some accessors for wxEffects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:37:25 +00:00
Robin Dunn
40716a510b some tweaks for LINK_LEXERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:36:59 +00:00
Julian Smart
e015d1f7da 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
2002-09-05 16:15:30 +00:00
Gilles Depeyrot
85d5e282e9 -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
2002-09-05 16:15:06 +00:00