Commit Graph

15557 Commits

Author SHA1 Message Date
Robin Dunn
1df7d9c158 Added a --inplace flag to wx-config which will assume that it is
executing from the build directory and will then output -I and -L
flags to use the build directory copies of things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 20:28:10 +00:00
Vadim Zeitlin
6f793e7d30 simply added a wxLogTrace for debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 15:26:27 +00:00
Vadim Zeitlin
4a39ae8916 fixed the bug which resulted in the focus being stolen from the panel child even if it had been explicitly set to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 15:25:55 +00:00
Vadim Zeitlin
ecc4fd1e37 SetFilterIndex() is not only for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:56:22 +00:00
Vadim Zeitlin
a26c4b2ee7 fixed SetFilterIndex() which was broken by the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:55:55 +00:00
Vadim Zeitlin
07b3c46cb6 added wxFileDialog::SetfilterIndex() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:54:50 +00:00
Chris Elliott
27579129e9 just made maxpath a bit shorter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 12:15:48 +00:00
Julian Smart
d7561efabf DeleteRows 1st arg is not number of rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 09:27:10 +00:00
Vadim Zeitlin
04ffef0afc don't try to process LVN_ITEMCHANGED events with iItem == -1 (this is always the case for virtual list controls and results in error messages)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 22:12:46 +00:00
Vadim Zeitlin
61c2fbda5b fix after renaming wxListBox::CreateItem() to CreateLboxItem()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 21:45:17 +00:00
Vadim Zeitlin
34a8dbd28e renamed wxListBox::CreateItem() to CreateLboxItem() to aviod conflict with wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 21:02:00 +00:00
Vadim Zeitlin
c1094350b3 made wxFont::GetResourceHandle() const as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 20:58:43 +00:00
Vadim Zeitlin
44314d0d50 removed (unimplemented) wxBitmapCheckBox (fixes another part of bug 612658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 20:56:25 +00:00
Julian Smart
d4aeebb808 Added wxX11 distribution script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 19:07:03 +00:00
Václav Slavík
0357e1513d sanitized library names in contrib hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 15:08:16 +00:00
Vadim Zeitlin
4bfedab037 added missing _T()s; deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 14:53:45 +00:00
Julian Smart
556469d8ba Fixed bug [ 413614 ] native wxDragImage w/o mask is broken
by adding ILC_MASK even when there's no mask.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 14:32:23 +00:00
Julian Smart
91bbbdf8a6 Fixed bug [ 495532 ] wxFileDialog limits multiple file load
"The wxMAXPATH constant prevents the loading of
multiple file names in a multiple selection dialog
when selecting a large number of files.

The number of selected files can easily exceed the
memory allocated to store the selected file names and
paths."

I'm increasing the buffer size to 65536 which should be adequate
for most purposes. There's apparently no way to work around the
fixed buffer size. -- JACS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 11:36:52 +00:00
Mattia Barbon
7242785858 Fixed wxRadioBox for Lesstif when compiled to emulate Motif 1.2
(as in Debian 3.0).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 08:46:08 +00:00
Vadim Zeitlin
833adb3bb1 made GetResourceHandle() const everywhere, not just in wxBrush (fixes first part of the bug 612658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 23:01:25 +00:00
Vadim Zeitlin
e2531c0c29 removed mdig.cpp (??) from msw/files.lst as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 21:59:53 +00:00
Mattia Barbon
490317bb9f Before this change wxComboBox was unconditionally white, which looked
very ugly. Now the textcontrol and popup background are unconditionally
white, while the rest has parent's background color. I think it
looks better now...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:53:58 +00:00
Stefan Csomor
4df9aff134 added new command ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:52:34 +00:00
Stefan Csomor
8ffb0bb9f0 added forcing for bitmap types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:51:00 +00:00
Stefan Csomor
7143fe6b26 switched menu handling to command ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:49:35 +00:00
Vadim Zeitlin
c6ec726bd8 fixed some warnings about assigning literal strings to char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:42:40 +00:00
Vadim Zeitlin
ad2e39c11d made ProvideBackground() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:38:05 +00:00
Vadim Zeitlin
a34d639546 really override IsCanvasWindow() in wxPanel (this wasn't the case because of a missing const before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:32:53 +00:00
Vadim Zeitlin
1b3947754a fix warning about hiding virtual Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:31:32 +00:00
Vadim Zeitlin
f637c8e680 compilation fix: removed trailing comma in enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:27:57 +00:00
Vadim Zeitlin
9551c623db removed C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:25:56 +00:00
Julian Smart
59a6c6e6c9 Added Makefile.in for Windows samples, so we can build
them using MinGW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 17:20:52 +00:00
Stefan Csomor
9ad7df7d60 corrected var overflow under classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:26:05 +00:00
Stefan Csomor
c175803628 corrected typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:21:15 +00:00
Mattia Barbon
64e8d107f0 Applied Motif patches from Ian Brown
[ 609894 ] motif staticbox improvement
[ 611042 ] fix for motif crash

Everything looks fine with Lesstif from Debian 3.0 (emulated
Motif version is 1.2).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:20:49 +00:00
Mattia Barbon
93add80831 GCC 3.2 is really picky about friends & dllexport.
Now wxWindows compiles (again) as DLL with MinGW GCC 3.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:16:57 +00:00
Julian Smart
b2162f4c83 Fixed bug [ 597643 ] SashWindow-borders cause sticky arrow
Needed an OnSetCursor as per splitter window, for MSW only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 14:16:24 +00:00
Václav Slavík
69c18e92a0 fixed stupid bug in my previous check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 13:53:53 +00:00
Ron Lee
63b53115ce Ok, so the patch looks huge, but it's really not that scary.
Most of it is just reformatting to our coding standard to
make debugging possible in the first place.  The (finally)
significant change is in DeleteSubGroup where we now check
correctly for deleting the last group from the root.
Prior to this it was impossible without a crash or worse.
Since it was such a pig to track down, I've left the LogTrace
code in place for now too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 12:20:47 +00:00
Vadim Zeitlin
f14f5c6740 don't set Alt/Ctrl modifiers for the AltGr char events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 11:44:49 +00:00
Vadim Zeitlin
3f4d464b9b fixed operator++() for wxRegioIterator in wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 10:38:36 +00:00
Stefan Neis
b8595cfb2a Fixed bug introduced in v 1.8 by changed parameter list of SelectBlock, but
mostly hidden by default values of new parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 01:49:20 +00:00
Stefan Neis
d2121dd382 Fixed yet another part of the typo fixed in 1.232.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 00:26:08 +00:00
Stefan Neis
e19f4ed3fa Added some sanity checks for empty grids.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 00:07:20 +00:00
Stefan Neis
07cbd27aaa Fix in wxArrayString::Grow to also handle situation where array is not yet
full but the nIncrement is greater than the space left.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 00:01:26 +00:00
Vadim Zeitlin
6d9a4c4d6f 1. fixed bug in wxRegion::Combine() which was modifying all shared regions,
not just the given one
2. added wxRegionIterator copy ctor and assignment operator
3. fixed wxRegionIterator::operators++() to do what they say
4. generic code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:36:23 +00:00
Vadim Zeitlin
b254accad1 base class must have virtual dtors and wxMBConv is no exception
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:01:58 +00:00
Vadim Zeitlin
302adc47d6 use _tcsdup() for compilers with TCHAR support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:00:32 +00:00
Vadim Zeitlin
93fe555876 no changes, really
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:00:08 +00:00
Robin Dunn
9441da1902 Fix in <array>::Grow for when the array is not yet full but the
nIncrement is greater than the space left.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:39:59 +00:00