Commit Graph

7875 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Włodzimierz Skiba
d0ee33f5c6 '[1219035] cleanup: miscellaneous' and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Michael Wetherell
abc736fd0e Declare gtk_icon_size_lookup if it is missing from the GTK+ headers (Bug 1177079)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 12:04:15 +00:00
Robin Dunn
063c96c1c5 Subrelease version bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:00:06 +00:00
Vadim Zeitlin
f3411ec6f7 include wx/msw/wrapcctl.h instead of <commctrl.h> as otherwise value of _WIN32_IE is inconsistent when we do include wx/msw/wrapcctl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 21:47:29 +00:00
Vadim Zeitlin
4edb3b83fb don't define WINVER as 0x0600 for VC6, its standard headers warn against this if we do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 20:13:27 +00:00
Włodzimierz Skiba
222702b112 [ 1216436 ] cleanup 'shadow variable' warnings from gcc in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 15:17:42 +00:00
Włodzimierz Skiba
963ad140d0 Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:32:16 +00:00
Vadim Zeitlin
1033b8362a don't define WINVER in platform.h, do it in wrapwin.h and always define it as 0x0600 (current max)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:19:37 +00:00
Stefan Csomor
8f7eeefcba correcting condition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:18:11 +00:00
Włodzimierz Skiba
48f7ffbe93 First part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 19:01:45 +00:00
Vadim Zeitlin
79e7089470 define wxUSE_UNICODE before including wx/chkconf.h which uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:29:41 +00:00
Vadim Zeitlin
810ca88256 support not-quite-owner-drawn mode when we draw only the bitmap and the system takes care of the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:28:48 +00:00
Vadim Zeitlin
be2572a325 wxGetWinVersion() must be exported from base DLL, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:55:08 +00:00
Vadim Zeitlin
3cbb739d3d forgot to export wxGetWinVersion() from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:45:06 +00:00
Vadim Zeitlin
4c5da5e42d added wxGetWinVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 13:29:43 +00:00
Vadim Zeitlin
820a7a1b22 silently ignore wxUSE_UNICODE_MSLU in non-Unicode builds (see also rev 1.106 of wx/chkconf.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:28:31 +00:00
Vadim Zeitlin
97cffad594 use pragma warning push/pop under MSVC instead of enabling temporarily disabled warnings unconditionally (patch 1207689)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:10:48 +00:00
Stefan Csomor
080c6eeca7 support mac on little endian systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 03:25:23 +00:00
Vadim Zeitlin
d3fc175515 added wxLogBuffer which collects all log messages in a string buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:35:40 +00:00
Vadim Zeitlin
e12a951e75 added wxMessageOutputBest which tries to show the message to the user in the best possible way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:34:24 +00:00
Vadim Zeitlin
36a22fa34c removed check for wxUSE_UNICODE==1 if wxUSE_UNICODE_MSLU==1 as it makes it impossible to set wxUSE_UNICODE_MSLU to 1 in global wx/setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 00:05:56 +00:00
Dimitri Schoolwerth
70d7249586 fixed CodeWarrior Mach-O compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 13:12:06 +00:00
Vadim Zeitlin
15d0695440 added wxPLURAL() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 21:16:30 +00:00
Julian Smart
5e711f771a Made the colours more muted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 14:21:07 +00:00
Dimitri Schoolwerth
8003f8de3a added IDC_HAND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 13:37:13 +00:00
Robin Dunn
3100c3dbf3 Merge the cell size attribute the same way that other attributes are
merged, e.g., if it is already set to a non-default value in the
current wxGridCellAttr object then don't merge from the other.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 00:16:41 +00:00
Julian Smart
aadb4d67c8 Artwork replacement (c) Julian Smart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 20:29:11 +00:00
Vadim Zeitlin
3c96417a09 send wxEVT_SCROLL_CHANGED when using mouse wheel as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 15:33:43 +00:00
Vadim Zeitlin
cbc855087f added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 15:22:10 +00:00
Vadim Zeitlin
0cf1199546 keep correct default background but allow overriding it in user code too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 14:52:23 +00:00
Julian Smart
123865f20a Restored scrollbar background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 14:40:34 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Stefan Csomor
501db75a3c adding OS level Window Menu by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 05:13:38 +00:00
Robin Dunn
7a070ef1cb Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 19:52:20 +00:00