Kevin Hock
ef86428624
In GetTextColour, use GetDefaultAttributes instead of ListView_GetTextColor because the latter seems to return black all the time (instead of the theme color)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 19:24:43 +00:00
David Elliott
3b60ea2f22
Make wxToolBar accept first mouse clicks. That is, clicking on a toolbar
...
tool when the window is inactive will both activate the window and cause
the tool to be clicked.
TODO: User should be provided a way to override this behavior. The Apple HIG
are basically that "dangerous" tools (like delete) should not function
on an inactive window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 16:20:57 +00:00
David Elliott
acb96ac277
Add EndDialog helper which calls EndModal with the given return code if the
...
dialog is modal, and Show(false) if the dialog is not modal. This allows
the default handlers for OK and Cancel to function without assertions.
This code is copied more or less directly from src/msw/dialog.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 15:42:42 +00:00
Włodzimierz Skiba
38d4b1e4bc
Warning fixes for BCC, VC, OW and MinGW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:48:01 +00:00
Włodzimierz Skiba
812a5849e5
Default serting by name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:43:21 +00:00
Włodzimierz Skiba
3452f00b56
MSWUniv build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:37:07 +00:00
Włodzimierz Skiba
94c09a19ec
Better fix for modal/modeless wizards.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:30:54 +00:00
Mart Raudsepp
dfdc483a23
Revert revision 1.102.2.2:
...
date: 2002/10/13 21:03:45; author: RR; state: Exp; lines: +4 -2
Combox gets its own SetFocus()
wxDialog() set the focus to itself when shown. This will
the propagate to some control in the dialog. I am not
sure if this will override preceding user's call to
SetFocus() in one of the child windows.
=========================
It will override preceding users call to SetFocus, effectively introducing bug #1288889 (wxWindow::SetFocus does not
work on modal dialogs, and therefore wxButton::SetDefault does not work either). Reverting fixes that. Need to
investigate why it was needed in relation to Comboboxes, but SetFocus/SetDefault breakage is worser imho, hence the
revert for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 12:53:29 +00:00
Vadim Zeitlin
766a1d00c3
corrected #ifdef order (might help linking with wxUSE_MEMORY_TRACING==1)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 12:39:55 +00:00
Vadim Zeitlin
905a5e7f7c
fixed function declaration in wxFORCE_LINK_MODULE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 12:29:25 +00:00
Vadim Zeitlin
f36086d185
reset libtool version for new branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 09:02:24 +00:00
Vadim Zeitlin
151815eb93
added comment about things to update in version.bkl when changing the version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 08:59:51 +00:00
Włodzimierz Skiba
65e324b4b0
Root for OS2 - feedback from openwatcom newsgroups.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 08:44:35 +00:00
Stefan Csomor
ff23892253
fixing focus handling for generic controls in carbon-cfm
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 04:55:02 +00:00
Vadim Zeitlin
d1f024a8de
fixed wide char codeset detection for systems which do support LE/BE variants (broken by recent commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 01:02:14 +00:00
Vadim Zeitlin
c2b83fddb9
added tracing code to wide char codeset detection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:53:00 +00:00
Vadim Zeitlin
2fb18bf45b
use wxIsNullDouble instead of comparing m_ration with 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:31:47 +00:00
Vadim Zeitlin
4e115ed2c7
fixed variable shadowing icc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:29:42 +00:00
Vadim Zeitlin
8226a05440
fixed warnings about truncating 64 bit integers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:21:03 +00:00
Vadim Zeitlin
67036b2497
added wxIsNullDouble()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:58:29 +00:00
Vadim Zeitlin
ec52467188
fixed warnings about truncating 64 bit integers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:57:38 +00:00
Vadim Zeitlin
2cfcf22d47
added pragmas to disable icc warning when va_arg is used with a pointer type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:38:54 +00:00
Vadim Zeitlin
9f542367b7
fixed warnings about pointer to integer cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:36:10 +00:00
Vadim Zeitlin
3e8adad7d7
fix icc warning about printf() format mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:30:08 +00:00
Vadim Zeitlin
28c91b7deb
removed more extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:28:04 +00:00
Vadim Zeitlin
c77a67962c
use wxIsSameDouble() and wxIsNullDouble() for warning-less double comparison of doubles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:27:27 +00:00
Vadim Zeitlin
f1afd2e066
fix hiding a local variable by another one in the inner scope
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:51:07 +00:00
Vadim Zeitlin
b80388aab6
don't use deprecated cast operator to wxList&
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:50:26 +00:00
Vadim Zeitlin
123dca7d25
don't declare pthread_mutexattr_settype() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:48:06 +00:00
Vadim Zeitlin
fdda7199e8
don't declare strptime() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:42:43 +00:00
Vadim Zeitlin
7f47faf4f2
disable warning about data truncation (810) for icc (this is a useful warning and might be reenabled later but for now there are simply too many of them...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:35:48 +00:00
Vadim Zeitlin
f536f00539
don't declare strptime() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:34:03 +00:00
Michael Wetherell
20ceebaa87
Fixes for include guards, patch 1256967 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:49:40 +00:00
Vadim Zeitlin
c88c6e94c0
fixed a signed/unsigned comparison warning introudced by last warning fix...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:45:25 +00:00
Vadim Zeitlin
9000cdfb2a
don't use deprecated conversion operator in wxVariantDataList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:45:02 +00:00
Vadim Zeitlin
4e47fd5a1b
replaced gs_menuItems hack with a wxOwnerDrawn::m_isMenuItem field
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:43:35 +00:00
Vadim Zeitlin
81f6ea4a29
removed #errors in 2.7 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:39:23 +00:00
Vadim Zeitlin
53c5fb20ed
enable new font handling (working for i18n applications) by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:35:11 +00:00
Vadim Zeitlin
02bcd285fa
re-renamed DoCreate() to XmDoCreateTLW() to avoid virtual function hiding in other classes with their own DoCreate() and re-removed DoDestroy()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:29:58 +00:00
Vadim Zeitlin
48f625bc2c
corrected typo in check for icc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:25:33 +00:00
Vadim Zeitlin
84006e65e8
removed wxABI_VERSION checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:23:30 +00:00
Vadim Zeitlin
c6ece59558
added and documented SetEscapeId()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:17:01 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
bd090f77ee
position is always unsigned in InsetPage(), no need to compare it with 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:08:36 +00:00
Vadim Zeitlin
df6ddd9730
fix after adding wxFORCE_LINK_MODULE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 18:46:14 +00:00
Vadim Zeitlin
bc14c8b21f
added wxIsSameDouble() which wraps double comparison in a pragmas disabling icc warning about it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 18:14:53 +00:00
Vadim Zeitlin
6cf2fb76fe
added wxFORCE_LINK_MODULE public macro which can now be used outside of wxHTML too; modified it to not provoke icc warnings when used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 18:09:26 +00:00
Vadim Zeitlin
7a7bd38a77
fixed two icc warnings about local variables hiding parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 16:19:02 +00:00
Stefan Neis
8a077f2872
Applied [ 1186782 ] Setting thread stack size on Unix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 16:12:18 +00:00
Vadim Zeitlin
ab0ad5f175
add Intel compiler detection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 14:31:09 +00:00