]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Wed, 24 Sep 2008 13:38:53 +0000 (13:38 +0000)]
reverted r55167, see #9854
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55832
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Sep 2008 13:33:06 +0000 (13:33 +0000)]
restore the original selection when the dropdown is cancelled even if it was -1; this fixes the problem of #9995 and the existing code didn't deal correctly with the problem of losing current text in the combobox when the dropdown was cancelled anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55831
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Sep 2008 13:16:17 +0000 (13:16 +0000)]
document Connect(host, port) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55830
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 24 Sep 2008 09:18:38 +0000 (09:18 +0000)]
supporting GetSize, fixes #9969
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55828
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Sep 2008 17:37:27 +0000 (17:37 +0000)]
Document revisioning (including more wx-like formatting and internal function removal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55822
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Sep 2008 15:38:49 +0000 (15:38 +0000)]
Remove obsolete references to 'target page' concept
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55821
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Sep 2008 15:35:32 +0000 (15:35 +0000)]
Remove doc references to 'common value' (which is unfinished feature)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 23 Sep 2008 10:00:53 +0000 (10:00 +0000)]
fixing compiles under certain flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55818
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 22:42:17 +0000 (22:42 +0000)]
copied and pasted 2.8.9 change log section (was there anything there that didn't apply to trunk?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55817
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 22 Sep 2008 22:39:21 +0000 (22:39 +0000)]
fix signature of wxClipboard::UserPrimarySelection; in particular change the default value from true to false since in the real sources the default value has always been the latter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55816
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 22 Sep 2008 22:36:42 +0000 (22:36 +0000)]
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55815
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 22 Sep 2008 21:55:38 +0000 (21:55 +0000)]
BIG CHANGES:
- removed fix from the rungccxml.sh.in; not only it was unnecessary
but it's also better to keep all references to specific wxWidgets
classes in a single place: the ifacecheck sources;
- added g_bLogEnabled and LogNull class;
- added an HACK_TO_AUTO_CORRECT_ONLY_VIRTUAL_AND_CONST_ATTRIBUTES
mode for fixing virtualness and constness of interface headers
in an automated way
- added options to wxMethod::GetAsString to provide an easier way
to debug ifacecheck comparisons between wxMethods
- fixed wxMethod::FixMethod for single-line prototypes and added
a boolean return value from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55809
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 22 Sep 2008 19:01:17 +0000 (19:01 +0000)]
automated virtual/const fixes by ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55806
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 22 Sep 2008 18:21:32 +0000 (18:21 +0000)]
ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55805
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 17:33:41 +0000 (17:33 +0000)]
compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55804
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:30:17 +0000 (16:30 +0000)]
use wxGetDisplayPPI() instead of redoing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55803
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:27:43 +0000 (16:27 +0000)]
use factor of 10, not 100, to convert mm to cm after mm2inches was fixed in r55800
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55802
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:26:11 +0000 (16:26 +0000)]
use inches2mm instead of literal constant in wxGetDisplayPPI()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55801
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:20:43 +0000 (16:20 +0000)]
fix METRIC_CONVERSION_CONSTANT which got accidentally divided by 10 in r45721
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55800
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:15:35 +0000 (16:15 +0000)]
position the insertion point to the start, not end, of the selection for compatibility with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55799
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:12:46 +0000 (16:12 +0000)]
don't crash if the grid is being deleted while a cell editor is still shown (closes #9991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55798
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:06:56 +0000 (16:06 +0000)]
mention that width/height parameters to wxDisplaySize[MM]() can be NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55797
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 16:03:45 +0000 (16:03 +0000)]
added a simple test for wxGetDisplayXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55796
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 14:11:40 +0000 (14:11 +0000)]
fix the event handling in presence of pushed event handlers broken by r55784 (closes #9992)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55795
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 22 Sep 2008 14:00:03 +0000 (14:00 +0000)]
using new API instead of 2.8 compat, fixes #9990
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55794
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 22 Sep 2008 13:19:14 +0000 (13:19 +0000)]
fixing typo, thanks to Angelo Mottola
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55793
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 12:43:35 +0000 (12:43 +0000)]
no changes, just clarified meaning of various conversion functions in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55792
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 22 Sep 2008 12:24:52 +0000 (12:24 +0000)]
fixing override, fixes #9985 (second error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55791
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Mon, 22 Sep 2008 00:53:46 +0000 (00:53 +0000)]
Rebake after taskbar addition (apparently dlist.h commit didn't include rebake, so I'm committing that as well).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55790
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Mon, 22 Sep 2008 00:51:32 +0000 (00:51 +0000)]
Adding compiling (but not yet working) taskbar implementation for OS X Cocoa, mostly borrowed from wxCocoa. Also enabled HTML Help support as it seems this compiles fine now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55789
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 00:49:34 +0000 (00:49 +0000)]
no changes, just some markup fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55788
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 00:34:14 +0000 (00:34 +0000)]
use ProcessEventHere() instead of ProcessEvent() in TryValidator() to avoid passing the unhandled event to wxApp before it can be processed by this window itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55787
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 00:33:11 +0000 (00:33 +0000)]
hook the docview-specific customization of event handling logic at TryValidator() level instead of ProcessEvent(): this ensures that the events are not sent to wxApp before they're passed to all the handlers which might process them (before the events were passed to wxDocument and then immediately to wxApp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55786
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 00:10:58 +0000 (00:10 +0000)]
correct and expand (while omitting the irrelevant bits which only distract from the main topic) the explanation of how events are processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55785
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Sep 2008 00:08:28 +0000 (00:08 +0000)]
extracted the part of ProcessEvent() which is repeated multiple times during the handling of a single event in the new ProcessEventHere() method; this ensures that wxApp::FilterEvent() is not called multiple times for the same event unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55784
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 23:48:04 +0000 (23:48 +0000)]
other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55783
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 23:13:49 +0000 (23:13 +0000)]
various misc ifacecheck fixes (many virtual attributes missing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55782
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 22:35:10 +0000 (22:35 +0000)]
revised and fixed some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55781
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 21:11:31 +0000 (21:11 +0000)]
ignore preprocessor lines which #define a symbol to 'nothing'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55780
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 21:09:36 +0000 (21:09 +0000)]
complete rev55777 with some icon.h modifications which I missed in the first place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55779
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 21 Sep 2008 20:04:04 +0000 (20:04 +0000)]
fixing typo (lead to always floating layering for simple frames)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55778
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 20:03:14 +0000 (20:03 +0000)]
introduced wxICON_DEFAULT_TYPE and wxBITMAP_DEFAULT_TYPE; documented these default argument values; matched the wxBitmap and wxIcon interfaces to their real implementations; revised icon.h interface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55777
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 19:58:19 +0000 (19:58 +0000)]
Fixed non-precompiled headers compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55776
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 21 Sep 2008 19:04:42 +0000 (19:04 +0000)]
fixes #9982
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55775
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 21 Sep 2008 18:54:25 +0000 (18:54 +0000)]
Removed too strict check from wx-config that prevented wxwin.m4 from wx-2.8
from working with trunk version of wx (the "Extra unknown input
parameters : $input_parameters" error).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55774
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 21 Sep 2008 18:52:01 +0000 (18:52 +0000)]
fixing focus, fixes #9985
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55773
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 17:06:44 +0000 (17:06 +0000)]
Revised #ifndef WX_PRECOMP headers, added missing #include wx/wxcrtvararg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55772
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 16:54:22 +0000 (16:54 +0000)]
'wx(U)LongLong << variant' type safety improved (now works even if variant has plain long value). Added << operator and WXVARIANT template specialization for wx(U)LongLong_t as well. Changed WX_PG_DECLARE/IMPLEMENT_VARIANT_DATA so that classname << variant can be customized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55771
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 21 Sep 2008 16:50:52 +0000 (16:50 +0000)]
fix default argument values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55770
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 15:58:03 +0000 (15:58 +0000)]
Remove redundant GetValueRef() from wxVariantData impl macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55769
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 15:48:20 +0000 (15:48 +0000)]
Removed #include <typeinfo> (since C++ RTTI is no longer used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55768
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 15:42:08 +0000 (15:42 +0000)]
Moved SetPropertyAttributeAll() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 21 Sep 2008 14:13:32 +0000 (14:13 +0000)]
A lot of documentation revision. Updated doctest code in propgrid sample to reflect sample code on overview page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55766
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 21 Sep 2008 13:05:56 +0000 (13:05 +0000)]
don't waste time sending out update UI events for separators, they can't be updated anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55765
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 21 Sep 2008 11:38:31 +0000 (11:38 +0000)]
Get rid of gs_cairo; if wxGtkPrint* classes are used, Cairo is guaranteed to be available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55764
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 21 Sep 2008 10:27:24 +0000 (10:27 +0000)]
no changes, just reformat/reindent, remove wxT()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55763
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 21 Sep 2008 09:42:49 +0000 (09:42 +0000)]
route all Cairo calls in GTK printing code through gs_cairo (is this still needed?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55762
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 21 Sep 2008 09:35:49 +0000 (09:35 +0000)]
added wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads accepting single wxSize argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55761
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 21 Sep 2008 08:49:08 +0000 (08:49 +0000)]
progress message passed to wxDC::StartDoc() is not appropriate for PostScript document title
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55759
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sun, 21 Sep 2008 08:44:24 +0000 (08:44 +0000)]
Added wxDList<T>. not yet used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55758
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 21 Sep 2008 00:53:42 +0000 (00:53 +0000)]
Rebake after changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55756
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 21 Sep 2008 00:51:44 +0000 (00:51 +0000)]
Stubbed wxToolTip implementation to get code that uses it building.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55755
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 20 Sep 2008 23:59:10 +0000 (23:59 +0000)]
Rebake after bakefile changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 20 Sep 2008 23:56:18 +0000 (23:56 +0000)]
Copy headers and get MDI and glcanvas fully building for OS X Cocoa port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55753
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 20 Sep 2008 23:46:34 +0000 (23:46 +0000)]
Fix bakefiles. Precomp variable is used undefined when building samples (it was only defined inside the test bakefiles).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55752
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 20 Sep 2008 23:06:58 +0000 (23:06 +0000)]
Source changes needed to get MDI support compiling on OS X Cocoa, and a explicit cast to CGImageRef so the compiler doesn't complain.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55751
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 20 Sep 2008 22:03:27 +0000 (22:03 +0000)]
add const synonyms for wxGridTableBase::GetNumberRows/Cols(), using const_cast<> all the time is painful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55750
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 20 Sep 2008 21:58:20 +0000 (21:58 +0000)]
fix g++ warning about order of objects in the initializer list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55749
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 20 Sep 2008 00:09:28 +0000 (00:09 +0000)]
use a single wxKeyboardEvent parameter instead of 4 bools in tons of places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55748
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 23:59:39 +0000 (23:59 +0000)]
allow specifying the initial modifier keys values in the ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55747
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 23:33:04 +0000 (23:33 +0000)]
- Main change is the addition of wxGridSelectRowsOrColumns selection mode
(which is still probably buggy, wxGridSelection needs to be reviewed)
- Add XYToCell() overloads returning wxGridCellCoords (instead of modifying the
argument passed by reference -- where did this come from?) and document them.
- Added GoToCell() which does make the new current cell visible unlike
SetGridCursor() (which was documented as doing it, but wasn't)
- Changed SetCurrentCell() to only not change the cell if wxEVT_GRID_SELECT_CELL
it generates is vetoed, not just processed as this seems to make more sense
- Split jumbo (~400 lines) ProcessGridCellMouseEvent() function into chunks
- Add many more comments to make reading this code seem less like puzzle
solving for the next unfortunate soul to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55746
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 18:41:41 +0000 (18:41 +0000)]
make wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirectly via wxMouseState in the case of the latter) to make Get/HasModifiers() available in wxMouseEvent as well while avoiding code duplication
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55745
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 19 Sep 2008 17:39:09 +0000 (17:39 +0000)]
Removed macros to create enum and flag props with custom, static choice sets. Now use wxPGProperty::SetChoices() instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55744
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 19 Sep 2008 17:24:34 +0000 (17:24 +0000)]
Eliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55743
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 19 Sep 2008 17:13:51 +0000 (17:13 +0000)]
Eliminated WX_PG_DECLARE_X_METHODS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55742
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 19 Sep 2008 17:10:17 +0000 (17:10 +0000)]
Eliminate a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55741
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 19 Sep 2008 16:57:33 +0000 (16:57 +0000)]
Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55740
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 19 Sep 2008 16:43:40 +0000 (16:43 +0000)]
Do not insert client data if client data is not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55739
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Fri, 19 Sep 2008 10:42:18 +0000 (10:42 +0000)]
Change <checkout> slightly so that it doesn't display the branch as it makes
the column rather wide.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55735
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 19 Sep 2008 10:28:47 +0000 (10:28 +0000)]
improved support for typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55734
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 10:18:30 +0000 (10:18 +0000)]
add unit test for wxTextEntry methods of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55733
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 10:17:51 +0000 (10:17 +0000)]
fix bug in SetInsertionPoint(-1) implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55732
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 10:13:38 +0000 (10:13 +0000)]
set selection point to end in wxTextEntryBase::SetValue() as this should be done in all ports and in all controls (fixes a unit test failure for wxComboBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55731
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 10:08:02 +0000 (10:08 +0000)]
implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55730
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 09:03:01 +0000 (09:03 +0000)]
do enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much slower compilation than expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55729
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 08:55:25 +0000 (08:55 +0000)]
extract wxTextEntry unit tests in a reusable base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55728
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 08:18:30 +0000 (08:18 +0000)]
set buffer length after reading the file contents into it successfully (part of #9980)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55727
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 08:11:44 +0000 (08:11 +0000)]
return 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB for the files in sysfs under Linux (#9965)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55726
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 07:50:44 +0000 (07:50 +0000)]
fix ownerdrawn button label drawing in ODS_NOACCEL case (#3519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55725
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 19 Sep 2008 07:38:24 +0000 (07:38 +0000)]
cancel the current operation if mouse capture is lost (#9979)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 18 Sep 2008 19:05:21 +0000 (19:05 +0000)]
Move definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be used from elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55711
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 18 Sep 2008 18:47:57 +0000 (18:47 +0000)]
fix for gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 18 Sep 2008 18:47:34 +0000 (18:47 +0000)]
fix default arguments for various functions/ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55709
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 18 Sep 2008 18:34:33 +0000 (18:34 +0000)]
few details fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55708
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 18 Sep 2008 18:14:21 +0000 (18:14 +0000)]
remove tests, from trunk, until we've sorted out the hangs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 18 Sep 2008 17:47:19 +0000 (17:47 +0000)]
Removed unused comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55706
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 18 Sep 2008 17:43:15 +0000 (17:43 +0000)]
Document struct wxPGPaintData in function docs of only function that uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 18 Sep 2008 17:40:58 +0000 (17:40 +0000)]
mention that you need to update samples/samples.dsw manually currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55704
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 18 Sep 2008 17:25:48 +0000 (17:25 +0000)]
Added section for propgrid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 18 Sep 2008 17:14:13 +0000 (17:14 +0000)]
Replaced @link with @ref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55702
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775