]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agofixing compiles under certain flags
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

16 years agocopied and pasted 2.8.9 change log section (was there anything there that didn't...
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

16 years agofix signature of wxClipboard::UserPrimarySelection; in particular change the default...
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

16 years agofix typo
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

16 years agoBIG CHANGES:
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

16 years agoautomated virtual/const fixes by ifacecheck
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

16 years agoifacecheck fixes
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

16 years agocompilation fix for PCH-less build
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

16 years agouse wxGetDisplayPPI() instead of redoing it
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

16 years agouse factor of 10, not 100, to convert mm to cm after mm2inches was fixed in r55800
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

16 years agouse inches2mm instead of literal constant in wxGetDisplayPPI()
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

16 years agofix METRIC_CONVERSION_CONSTANT which got accidentally divided by 10 in r45721
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

16 years agoposition the insertion point to the start, not end, of the selection for compatibilit...
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

16 years agodon't crash if the grid is being deleted while a cell editor is still shown (closes...
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

16 years agomention that width/height parameters to wxDisplaySize[MM]() can be NULL
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

16 years agoadded a simple test for wxGetDisplayXXX() functions
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

16 years agofix the event handling in presence of pushed event handlers broken by r55784 (closes...
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

16 years agousing new API instead of 2.8 compat, fixes #9990
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

16 years agofixing typo, thanks to Angelo Mottola
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

16 years agono changes, just clarified meaning of various conversion functions in a comment
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

16 years agofixing override, fixes #9985 (second error)
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

16 years agoRebake after taskbar addition (apparently dlist.h commit didn't include rebake, so...
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

16 years agoAdding compiling (but not yet working) taskbar implementation for OS X Cocoa, mostly...
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

16 years agono changes, just some markup fixes
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

16 years agouse ProcessEventHere() instead of ProcessEvent() in TryValidator() to avoid passing...
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

16 years agohook the docview-specific customization of event handling logic at TryValidator(...
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

16 years agocorrect and expand (while omitting the irrelevant bits which only distract from the...
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

16 years agoextracted the part of ProcessEvent() which is repeated multiple times during the...
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

16 years agoother ifacecheck fixes
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

16 years agovarious misc ifacecheck fixes (many virtual attributes missing)
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

16 years agorevised and fixed some typos
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

16 years agoignore preprocessor lines which #define a symbol to 'nothing'
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

16 years agocomplete rev55777 with some icon.h modifications which I missed in the first place
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

16 years agofixing typo (lead to always floating layering for simple frames)
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

16 years agointroduced wxICON_DEFAULT_TYPE and wxBITMAP_DEFAULT_TYPE; documented these default...
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

16 years agoFixed non-precompiled headers compilation
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

16 years agofixes #9982
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

16 years agoRemoved too strict check from wx-config that prevented wxwin.m4 from wx-2.8
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

16 years agofixing focus, fixes #9985
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

16 years agoRevised #ifndef WX_PRECOMP headers, added missing #include wx/wxcrtvararg.h
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

16 years ago'wx(U)LongLong << variant' type safety improved (now works even if variant has plain...
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

16 years agofix default argument values
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

16 years agoRemove redundant GetValueRef() from wxVariantData impl macro
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

16 years agoRemoved #include <typeinfo> (since C++ RTTI is no longer used)
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

16 years agoMoved SetPropertyAttributeAll() to wxPropertyGridInterface
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

16 years agoA lot of documentation revision. Updated doctest code in propgrid sample to reflect...
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

16 years agodon't waste time sending out update UI events for separators, they can't be updated...
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

16 years agoGet rid of gs_cairo; if wxGtkPrint* classes are used, Cairo is guaranteed to be avail...
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

16 years agono changes, just reformat/reindent, remove wxT()s
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

16 years agoroute all Cairo calls in GTK printing code through gs_cairo (is this still needed?)
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

16 years agoadded wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads...
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

16 years agoprogress message passed to wxDC::StartDoc() is not appropriate for PostScript documen...
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

16 years agoAdded wxDList<T>. not yet used anywhere
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

16 years agoRebake after changes.
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

16 years agoStubbed wxToolTip implementation to get code that uses it building.
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

16 years agoRebake after bakefile changes.
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

16 years agoCopy headers and get MDI and glcanvas fully building for OS X Cocoa port.
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

16 years agoFix bakefiles. Precomp variable is used undefined when building samples (it was only...
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

16 years agoSource changes needed to get MDI support compiling on OS X Cocoa, and a explicit...
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

16 years agoadd const synonyms for wxGridTableBase::GetNumberRows/Cols(), using const_cast<>...
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

16 years agofix g++ warning about order of objects in the initializer list
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

16 years agouse a single wxKeyboardEvent parameter instead of 4 bools in tons of places
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

16 years agoallow specifying the initial modifier keys values in the ctor
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

16 years ago- Main change is the addition of wxGridSelectRowsOrColumns selection mode
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

16 years agomake wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirec...
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

16 years agoRemoved macros to create enum and flag props with custom, static choice sets. Now...
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

16 years agoEliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
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

16 years agoEliminated WX_PG_DECLARE_X_METHODS macros
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

16 years agoEliminate a warning
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

16 years agoMoved wxPGChoices m_choices member from various property classes to base wxPGProperty...
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

16 years agoDo not insert client data if client data is not used
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

16 years agoChange <checkout> slightly so that it doesn't display the branch as it makes
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

16 years agoimproved support for typedefs
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

16 years agoadd unit test for wxTextEntry methods of wxComboBox
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

16 years agofix bug in SetInsertionPoint(-1) implementation
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

16 years agoset selection point to end in wxTextEntryBase::SetValue() as this should be done...
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

16 years agoimplement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e....
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

16 years agodo enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much...
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

16 years agoextract wxTextEntry unit tests in a reusable base class
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

16 years agoset buffer length after reading the file contents into it successfully (part of ...
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

16 years agoreturn 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB...
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

16 years agofix ownerdrawn button label drawing in ODS_NOACCEL case (#3519)
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

16 years agocancel the current operation if mouse capture is lost (#9979)
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

16 years agoMove definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be...
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

16 years agofix for gccxml
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

16 years agofix default arguments for various functions/ctors
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

16 years agofew details fixed
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

16 years agoremove tests, from trunk, until we've sorted out the hangs
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

16 years agoRemoved unused comment
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

16 years agoDocument struct wxPGPaintData in function docs of only function that uses it
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

16 years agomention that you need to update samples/samples.dsw manually currently
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

16 years agoAdded section for propgrid sample
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

16 years agoReplaced @link with @ref
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

16 years agouse #defines, not typedefs, for compatibility class names declarations to avoid break...
Vadim Zeitlin [Thu, 18 Sep 2008 16:56:53 +0000 (16:56 +0000)] 
use #defines, not typedefs, for compatibility class names declarations to avoid breaking existing code forward declaring them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMade section names more globally unique
Jaakko Salli [Thu, 18 Sep 2008 16:53:47 +0000 (16:53 +0000)] 
Made section names more globally unique

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agorebaked after propgrid sample addition
Vadim Zeitlin [Thu, 18 Sep 2008 16:44:48 +0000 (16:44 +0000)] 
rebaked after propgrid sample addition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdded 'propgrid'
Jaakko Salli [Thu, 18 Sep 2008 15:23:18 +0000 (15:23 +0000)] 
Added 'propgrid'

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadding new commands for tests
Stefan Csomor [Thu, 18 Sep 2008 12:27:06 +0000 (12:27 +0000)] 
adding new commands for tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixing deprecated constructors for osx
Stefan Csomor [Thu, 18 Sep 2008 09:12:32 +0000 (09:12 +0000)] 
fixing deprecated constructors for osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoin release builds gcc on osx evaporates these inlines if not WXEXPORTed
Stefan Csomor [Thu, 18 Sep 2008 08:38:25 +0000 (08:38 +0000)] 
in release builds gcc on osx evaporates these inlines if not WXEXPORTed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775