Vadim Zeitlin
358e9f2f72
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
2008-09-22 14:11:40 +00:00
Stefan Csomor
41b93cd7d7
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
2008-09-22 14:00:03 +00:00
Stefan Csomor
451a00f7d7
fixing typo, thanks to Angelo Mottola
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 13:19:14 +00:00
Vadim Zeitlin
18666b42ca
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
2008-09-22 12:43:35 +00:00
Stefan Csomor
9f8062a0e4
fixing override, fixes #9985 (second error)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 12:24:52 +00:00
Kevin Ollivier
16edb7b520
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
2008-09-22 00:53:46 +00:00
Kevin Ollivier
01250f9b2c
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
2008-09-22 00:51:32 +00:00
Vadim Zeitlin
4eda9c09e4
no changes, just some markup fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:49:34 +00:00
Vadim Zeitlin
92089d00a1
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
2008-09-22 00:34:14 +00:00
Vadim Zeitlin
bba5e72ad3
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
2008-09-22 00:33:11 +00:00
Vadim Zeitlin
8319fb5212
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
2008-09-22 00:10:58 +00:00
Vadim Zeitlin
25250d335f
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
2008-09-22 00:08:28 +00:00
Francesco Montorsi
9d9c1c24d7
other ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 23:48:04 +00:00
Francesco Montorsi
98ccd54522
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
2008-09-21 23:13:49 +00:00
Francesco Montorsi
c977fa847c
revised and fixed some typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 22:35:10 +00:00
Francesco Montorsi
0d2f4076e0
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
2008-09-21 21:11:31 +00:00
Francesco Montorsi
c48d0d37c2
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
2008-09-21 21:09:36 +00:00
Stefan Csomor
e912ebe39f
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
2008-09-21 20:04:04 +00:00
Francesco Montorsi
cbea3ec6ae
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
2008-09-21 20:03:14 +00:00
Jaakko Salli
af27647706
Fixed non-precompiled headers compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 19:58:19 +00:00
Stefan Csomor
5f9c3802c1
fixes #9982
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 19:04:42 +00:00
Václav Slavík
ed33cad79e
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
2008-09-21 18:54:25 +00:00
Stefan Csomor
f50491352a
fixing focus, fixes #9985
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 18:52:01 +00:00
Jaakko Salli
4b5d2be396
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
2008-09-21 17:06:44 +00:00
Jaakko Salli
a6162a3eaf
'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
2008-09-21 16:54:22 +00:00
Francesco Montorsi
bc35c72867
fix default argument values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:50:52 +00:00
Jaakko Salli
a48fcef3e8
Remove redundant GetValueRef() from wxVariantData impl macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:58:03 +00:00
Jaakko Salli
472137baeb
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
2008-09-21 15:48:20 +00:00
Jaakko Salli
3c26d11be9
Moved SetPropertyAttributeAll() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:42:08 +00:00
Jaakko Salli
bba3f9b5bc
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
2008-09-21 14:13:32 +00:00
Vadim Zeitlin
74c80fe40b
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
2008-09-21 13:05:56 +00:00
Václav Slavík
f7b8e3d654
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
2008-09-21 11:38:31 +00:00
Vadim Zeitlin
a363af33bf
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
2008-09-21 10:27:24 +00:00
Václav Slavík
fc2bb342ec
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
2008-09-21 09:42:49 +00:00
Václav Slavík
40fcf546f6
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
2008-09-21 09:35:49 +00:00
Václav Slavík
0c75b29e1e
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
2008-09-21 08:49:08 +00:00
Robert Roebling
aef06ee169
Added wxDList<T>. not yet used anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:44:24 +00:00
Kevin Ollivier
056ae9962b
Rebake after changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 00:53:42 +00:00
Kevin Ollivier
78d990152a
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
2008-09-21 00:51:44 +00:00
Kevin Ollivier
7664a67f57
Rebake after bakefile changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:59:10 +00:00
Kevin Ollivier
d2e6c14109
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
2008-09-20 23:56:18 +00:00
Kevin Ollivier
9b294926cb
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
2008-09-20 23:46:34 +00:00
Kevin Ollivier
cfea8e619a
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
2008-09-20 23:06:58 +00:00
Vadim Zeitlin
77d2c45c38
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
2008-09-20 22:03:27 +00:00
Vadim Zeitlin
dfa569f0f9
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
2008-09-20 21:58:20 +00:00
Vadim Zeitlin
8b5f6d9d47
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
2008-09-20 00:09:28 +00:00
Vadim Zeitlin
ba4d737a9e
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
2008-09-19 23:59:39 +00:00
Vadim Zeitlin
8a3e536cd5
- 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
2008-09-19 23:33:04 +00:00
Vadim Zeitlin
0e0977894a
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
2008-09-19 18:41:41 +00:00
Jaakko Salli
d577449426
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
2008-09-19 17:39:09 +00:00