Commit Graph

31786 Commits

Author SHA1 Message Date
Vadim Zeitlin
cdf003d465 send wxEVT_MENU_CLOSE at least sometimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:44:57 +00:00
Vadim Zeitlin
4626c57c58 1. changed wxStringTokenizer to not modify the string we're iterating over
but to just update our position in it (makes the code much more clear)
2. added GetLastDelimiter() to make up for lack of mode combining
   wxTOKEN_RET_EMPTY_ALL and RET_DELIMS
3. documented it and added unit tests for it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:12:54 +00:00
Vadim Zeitlin
505a8c2ced added a couple more wxTOKEN_RET_DELIMS tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:01:11 +00:00
Vadim Zeitlin
8aa57160a0 even more test cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:54:50 +00:00
Vadim Zeitlin
822c2b9f65 corrected expected test results to conform to current wxTOKEN_RET_EMPTY behaviour; added the value of loop index for which the test fails to the diagnostic messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:38:22 +00:00
Vadim Zeitlin
2461117002 more test cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:27:25 +00:00
Jouk Jansen
39b7aa3f5e Committing in .
configuration update for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 07:42:38 +00:00
David Surovell
ec4a2b5df2 more cleanup - added comment regarding possible stipple brush problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 05:16:45 +00:00
Vadim Zeitlin
dfc69c6d5b corrected handling of timeouts in wxConditionInternal::WaitTimeout(): check for wxSEMA_TIMEOUT, not wxSEMA_BUSY; return wxCOND_TIMEOUT, not wxCOND_MISC_ERROR (bug 1387179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:20:38 +00:00
Vadim Zeitlin
98cb8dcb0c don't set minimal column width, it should be possible to set it even to 0 if desired (e.g. to hide a column)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:00:30 +00:00
Vadim Zeitlin
d241d258cf correct dll export declaration for wxVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 00:59:29 +00:00
Vadim Zeitlin
1440bc7afa added wxRTTI macros to wxControlWithItems: it's not private any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 00:58:32 +00:00
Robin Dunn
ac9251e323 Fix for bug #1266745 and #1387725 in the wxFindReplaceDialog on MSW.
Actually check we are using MSLU before doing the hack designed to
workaround a bug in MSLU!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:33:08 +00:00
Václav Slavík
5aad18a52b reverted previous accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:11:36 +00:00
Václav Slavík
48e5284db6 wxMac linking fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:04:05 +00:00
Kevin Ollivier
2f91e3dfd2 Fixes so that wxPython builds on 2.7. Mostly removing references to all functions that require WXWIN_2_4_COMPATIBILITY to be defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 06:57:46 +00:00
Kevin Ollivier
c1ebcef04d Use the now 'official' makemo.py when building packages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 06:09:26 +00:00
Kevin Ollivier
fbc661d006 Updating version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 05:55:50 +00:00
Kevin Ollivier
5e66e38e9f Moving the 2.6 branch change in how SWIG is found to CVS HEAD now that Robin's build system uses it too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:24:47 +00:00
Vadim Zeitlin
bdcb882076 added wxListAttr::AssignFrom()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:10:35 +00:00
Vadim Zeitlin
0f3888a5f8 don't overwrite the existing attributes when setting one new one, i.e. SetItemBackgroundColour() after SetItemTextColour() doesn't reset the text colour to default one any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:07:48 +00:00
Vadim Zeitlin
5421785005 update from liou xiao <liouxiao@hotmail.com>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 02:41:53 +00:00
David Surovell
c394a432fa fixed error in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 01:14:06 +00:00
Vadim Zeitlin
53599fbbd8 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 00:17:22 +00:00
Vadim Zeitlin
20a34d96ef regenerated makefiles after adding tokenizer.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 00:11:26 +00:00
Robin Dunn
fa31aeda87 After a conversaion with Vadim I reverted the last change and instead
just allowed for the specific situation that was incorrectly causing
the assert.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 20:51:14 +00:00
Robin Dunn
d2be15217a Fix for Bug #1387359, bail out early from DoWriteText if the string is empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 20:19:14 +00:00
David Surovell
fbc1d11bde minor cleanup; remove focus patch scaffolding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 19:54:48 +00:00
Vadim Zeitlin
fe224552a9 g++ 4/wxMAC_USE_CORE_GRAPHICS warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 16:12:48 +00:00
Vadim Zeitlin
6c28639791 just added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 16:11:58 +00:00
Vadim Zeitlin
423d529ccb compilation test for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 01:23:17 +00:00
Dimitri Schoolwerth
6f72133189 fixed compile errors (code was using unnamed objects, resulting in compiler ambiguity)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:52:36 +00:00
Vadim Zeitlin
421274fade added tests showing that current wxStringTokenizer code doesn't handle multiple delimiters at the end of string properly in mode != wxTOKEN_STRTOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:48:41 +00:00
Vadim Zeitlin
8b6d5b1fc3 extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:34:09 +00:00
Vadim Zeitlin
a67f601b14 extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:30:12 +00:00
Vadim Zeitlin
80ca48ebc6 update from Wei-Lun Chao
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 14:40:18 +00:00
Dimitri Schoolwerth
769627d79e fixed unreachable code warnings (occurred in MSVC6+Release mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 14:25:36 +00:00
Kevin Ollivier
acb4c4bdb0 Remove references to now removed iewin module. Replaced by activex/wxie.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 05:44:51 +00:00
Kevin Ollivier
4136a15d56 Removing old iewin extension. Replaced by activex/wxie.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 05:37:59 +00:00
Vadim Zeitlin
f3c49b55b0 added newline at end of file (avoids gcc warning when building with Xcode 2.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 01:47:09 +00:00
Julian Smart
398c701f70 Fixed problem trying to print from a preview, whereby wrong printer
class was used instead of Gnome printer class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 20:38:47 +00:00
Vadim Zeitlin
0b6d76bfd4 don't crash when XIM is used under IRIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 16:06:31 +00:00
Vadim Zeitlin
c8a448977c removed DllMain(): we don't even compile it with any compiler but VC8 and with VC8 it results in a crash; we need another way to make it possible to use wx DLL from another DLL, this one is flawed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 14:34:12 +00:00
Vadim Zeitlin
a44fb285c5 documented Set/GetIcon(), added (not quite pure) virtual GetIcon() in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 13:56:23 +00:00
Vadim Zeitlin
333c869716 return a valid bitmap from GetBitmap() even if we created an icon internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 13:46:23 +00:00
Julian Smart
62bdd4db0e wxMac changes documented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 12:04:11 +00:00
Włodzimierz Skiba
9d8b1d2f3e Somebody forgot to restore from testing phase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 11:09:19 +00:00
Włodzimierz Skiba
1ed6437807 __WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:55:11 +00:00
Włodzimierz Skiba
a71d815bbe __WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:47:44 +00:00
Vadim Zeitlin
634fb75048 fix for compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:03:04 +00:00