Francesco Montorsi
97f0dbd6f8
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
2008-09-22 21:55:38 +00:00
Francesco Montorsi
b7e94bd7eb
automated virtual/const fixes by ifacecheck
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 19:01:17 +00:00
Francesco Montorsi
62a7da7532
ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 18:21:32 +00:00
Vadim Zeitlin
fbfd8b1ace
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 17:33:41 +00:00
Vadim Zeitlin
90815a4597
use wxGetDisplayPPI() instead of redoing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:30:17 +00:00
Vadim Zeitlin
622f7a49ef
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
2008-09-22 16:27:43 +00:00
Vadim Zeitlin
d43be80dab
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
2008-09-22 16:26:11 +00:00
Vadim Zeitlin
eb00016c5a
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
2008-09-22 16:20:43 +00:00
Vadim Zeitlin
8b2e0e6d19
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
2008-09-22 16:15:35 +00:00
Vadim Zeitlin
b09b3048c9
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
2008-09-22 16:12:46 +00:00
Vadim Zeitlin
ed9dd91465
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
2008-09-22 16:06:56 +00:00
Vadim Zeitlin
841a25bbc3
added a simple test for wxGetDisplayXXX() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:03:45 +00:00
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