Commit Graph

30146 Commits

Author SHA1 Message Date
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
Michael Wetherell
3d94765e6e Let Cygwin be a Windows build for wxMSW and a unix build otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 13:58:23 +00:00
Vadim Zeitlin
e708485244 fix index of appended items (broken by previous commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:34:43 +00:00
Vadim Zeitlin
6af800ff6d initial attempt to make it work for eVC (WinCE) as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:18:22 +00:00
Vadim Zeitlin
92bdf9f72f don't redeclare struct tm if it's already declared in std headers; declare and define localtime() and company as extern C as they are supposed to be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:09:18 +00:00
Vadim Zeitlin
4fb9d560c4 (harmless) eVC4 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 23:44:18 +00:00
Václav Slavík
e943ebd8b5 previous commit didn't work with bkl-0.1.8, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:30:01 +00:00
Václav Slavík
965122c49f basic eVC support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:17:53 +00:00
Vadim Zeitlin
858cab30be WinCE compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:04:53 +00:00
Robin Dunn
3a2f2e31bc *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 18:34:57 +00:00
Włodzimierz Skiba
81eeaed832 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 15:53:44 +00:00
Mart Raudsepp
ccdd4b0b42 wxFrameLayout contains wxPen by value, so the wxPen class declaration from wx/pen.h is required so that the compiler
would know the size of wxFrameLayout class. Was a problem for projects using wxFL and including wx headers
one-by-one instead of using wx.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 02:08:12 +00:00
Robin Dunn
4d170c95f6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 01:11:54 +00:00
Robin Dunn
4eb5bfc61f Log the exception when writing to file fails.
Set the default encoding from wxGetDefaultPyEncoding again.
Recover from encoding errors when writing the memory file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:59:21 +00:00
Robin Dunn
aae5d34f85 docstring typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:54:22 +00:00
Robin Dunn
9c721ebf97 Unregister the object too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 21:03:59 +00:00
Mart Raudsepp
25b3661bd4 Fix "warning: operation on 'y' may be undefined".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 19:57:01 +00:00
Václav Slavík
c7ca49e407 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:46:49 +00:00
Václav Slavík
861a4cb2b0 removed debugging code checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:25:03 +00:00