Commit Graph

30164 Commits

Author SHA1 Message Date
Chris Elliott
87b72f94f3 Fix Error between Get and Set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 14:43:52 +00:00
Julian Smart
af581392de Reverted patch which appears to be responsible for intermittent
crashes on exit in 2.6.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 14:02:35 +00:00
Václav Slavík
924b84ab94 changed exceptions handling to work under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 08:20:50 +00:00
Vadim Zeitlin
6c3c55cf30 define SetHelpText() to do nothing when wxUSE_HELP==0, otherwise we'd need to #ifdef all its calls in wx code to allow compilation with wxUSE_HELP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:25:06 +00:00
Vadim Zeitlin
c54a8b6456 compilation fix for wxUSE_LOGWINDOW==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:24:21 +00:00
Vadim Zeitlin
855ec94410 compilation fix for wxUSE_OLE and wxUSE_ACCEL==0 for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:24:08 +00:00
Vadim Zeitlin
58b76be1c2 compilation fix for wxUSE_OLE==0 for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:23:44 +00:00
Vadim Zeitlin
30b9db0245 (harmless) eVC4 release mode warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:22:56 +00:00
Vadim Zeitlin
40786029bd documented that wxFileModificationTime() returns 0 (and not a more natural -1) if an error occurs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:50:43 +00:00
Vadim Zeitlin
41cc03ddff reimplemented wxFileModificationTime() for CE without using wxDateTime (it also should be more efficient like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:50:11 +00:00
Vadim Zeitlin
ffbc1990d1 disable warning for eVC 4 (_MSC_VER == 1201) as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:49:27 +00:00
Vadim Zeitlin
0cdd4e199e added AutoHANDLE class to close a HANDLE automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:48:43 +00:00
Vadim Zeitlin
e38bacf884 WinCE does support strftime() now, no need to #ifdef it out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 22:44:51 +00:00
Vadim Zeitlin
68fc69f307 WinCE compilation fix (no SM_C[XY]DRAG under CE as there is no mouse cursor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 22:37:44 +00:00
Vadim Zeitlin
702c413357 added scopeguardtest.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 22:23:20 +00:00
Mattia Barbon
7360894949 Fix crash on exit with Lesstif (and possibly Motif 1.x).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 19:11:21 +00:00
Julian Smart
3550706df7 Corrected wrong size used when refreshing notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 19:11:11 +00:00
Robert Roebling
deb0a813ea Comitting correct wxGTK.spec again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 13:48:12 +00:00
David Elliott
070b7b8510 Set m_cocoaDataSource = NULL in default constructor so subclasses that
don't call our Create function (e.g. wxCheckListBox) don't crash on destruction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-18 03:39:46 +00:00
Vadim Zeitlin
f166217789 don't assert if kind == Item_None in wxSizerItem::IsShown(), this can happen during windows destruction (bug 1216428)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 21:46:20 +00:00
Vadim Zeitlin
0a936028d4 fixed typo in GetSelEnd() which made that the function didn't work (bug 1219791)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 21:41:39 +00:00
Vadim Zeitlin
6143d3b61e don't try to subclass tab control using the same window proc for our class, this doesn't work (really fixes bug 1222187, thanks go to Dave Dribin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 21:25:16 +00:00
Vadim Zeitlin
7862127b7b undid last commit, it's not needed after fixing the real bug in wxNotebook registration code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 20:17:50 +00:00
Jouk Jansen
8be6d81d5c Committing in .
Updated OpenVMS configuration

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 19:39:19 +00:00
Ron Lee
8c53958268 Fix the test for NO_GCC_PRAGMA to be faster and more accurate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 14:57:13 +00:00
Vadim Zeitlin
d52f6c4eed use generic sample icon; no need for separate .rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 14:36:24 +00:00
Vadim Zeitlin
ad30bb374f use empty string and not string().c_str() as title for the controls without it to workaround Windows bug which results in crashes with wxUSE_STL==1 (closes 1222187)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 14:32:28 +00:00
Vadim Zeitlin
48395c0369 create BAKEFILE_PATHS env var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 12:16:37 +00:00
Vadim Zeitlin
8f99c6a402 WXWIN env var should go to HKCU\Environment, not to Softward\Environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 12:10:05 +00:00
Vadim Zeitlin
83250f1a2b don't show wxLogDebug during app startup output in msg box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:45:25 +00:00
Włodzimierz Skiba
fd725bce37 Patch #1222244: Fixes for bug #1212853 with unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:29:55 +00:00
Włodzimierz Skiba
17e22c50bf Open Watcom adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:08:32 +00:00
Włodzimierz Skiba
03de0ad439 Adjust to different platform headers distributed with DMC (build fix after recent change in msw/treectrl.cpp).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 10:34:49 +00:00
Julian Smart
e3c93a3225 Fix for eVC++ 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 10:18:07 +00:00
Vadim Zeitlin
a45fb5b44c fixed problem with wxKill(SIGNONE) returning error for running process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:48:50 +00:00
Vadim Zeitlin
5f7348ce62 added test for wxScopeGuard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:47:30 +00:00
Vadim Zeitlin
1a64b24d3e documented wxScopeGuard; this class is too useful to not use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:46:33 +00:00
Vadim Zeitlin
426a63a3a2 fixed wxON_BLOCK_EXIT macros to work with new definition of wxMAKE_UNIQUE_NAME() (was broken for VC++...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:43:19 +00:00
Václav Slavík
ee196d6480 some 3rd party libs are not buildable under eVC, don't link against them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 18:40:20 +00:00
Julian Smart
50779e0648 Applied patch [ 1215991 ] Mac xrc enables unknown class
Implements Reparent for Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 18:03:43 +00:00
Julian Smart
b61261dfed Applied patch [ 1217859 ] Swedish translation for the internat sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:57:23 +00:00
Julian Smart
75285e227a Name correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:13:54 +00:00
Julian Smart
e3ad57026a Applied patch [ 1212208 ] Fix a bug in wxTreeCtrl with wxTR_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:01:19 +00:00
Julian Smart
8af56e0827 Change log update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 16:17:50 +00:00
Julian Smart
1cb853a8ca Applied patch [ 1217285 ] fix for bug 1040539
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 16:07:49 +00:00
Julian Smart
ce0e1aacbc Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
Also removed temporary fix to hardwire listbox background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:36:48 +00:00
Julian Smart
2ff53fd302 Applied patch [ 1218849 ] [wxMSW] Removes magic numbers from wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:34:41 +00:00
Michael Wetherell
ff8fbb8dbe Revert Cygwin changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:31:33 +00:00
Julian Smart
023e504bf1 Applied patch [ 1219269 ] [wxAll] Fix create button in listbox sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:18:57 +00:00
Dimitri Schoolwerth
3c832d589d added Thai/CP874 support for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 14:16:50 +00:00