]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoFor needs of wxPython bindings, (re)added a version of RegisterEditorClass() that...
Jaakko Salli [Fri, 12 Jun 2009 13:49:59 +0000 (13:49 +0000)] 
For needs of wxPython bindings, (re)added a version of RegisterEditorClass() that accepts a custom name for editor.

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

15 years agodisable MSVC warning 4275 correctly (closes #10885)
Vadim Zeitlin [Fri, 12 Jun 2009 03:37:47 +0000 (03:37 +0000)] 
disable MSVC warning 4275 correctly (closes #10885)

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

15 years agoForward port r56500.
Michael Wetherell [Fri, 12 Jun 2009 00:17:37 +0000 (00:17 +0000)] 
Forward port r56500.

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

15 years agorespecting more of the toolbar positions (tb_right not yet working), and fixing SetSi...
Stefan Csomor [Thu, 11 Jun 2009 23:07:05 +0000 (23:07 +0000)] 
respecting more of the toolbar positions (tb_right not yet working), and fixing SetSize in Realize, closes #10852

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

15 years agoallow customizing wxStandardPaths logic for the program directory determination
Vadim Zeitlin [Thu, 11 Jun 2009 16:46:19 +0000 (16:46 +0000)] 
allow customizing wxStandardPaths logic for the program directory determination

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

15 years agomake wxFileName::{Mk,Rm}dir() const (closes #10868)
Vadim Zeitlin [Thu, 11 Jun 2009 16:11:07 +0000 (16:11 +0000)] 
make wxFileName::{Mk,Rm}dir() const (closes #10868)

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

15 years agoMac appearance fixes: only use a border for wxDisclosureTriangle if wxCollapsiblePane...
Vadim Zeitlin [Thu, 11 Jun 2009 16:02:16 +0000 (16:02 +0000)] 
Mac appearance fixes: only use a border for wxDisclosureTriangle if wxCollapsiblePane itself has a border; don't set hardcoded background colour

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

15 years agoaccount for the label size in wxDisclosureTriangle under Carbon
Vadim Zeitlin [Thu, 11 Jun 2009 16:00:01 +0000 (16:00 +0000)] 
account for the label size in wxDisclosureTriangle under Carbon

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

15 years agoGetTextExtent() is not virtual any more (since r60984)
Vadim Zeitlin [Thu, 11 Jun 2009 15:57:29 +0000 (15:57 +0000)] 
GetTextExtent() is not virtual any more (since r60984)

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

15 years agoRemove ugly flicker during resizing
Robert Roebling [Thu, 11 Jun 2009 15:37:53 +0000 (15:37 +0000)] 
Remove ugly flicker during resizing

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

15 years agoGTK: In virtual list mode, map first row to 1, not to 0 as this is reserved for an...
Robert Roebling [Thu, 11 Jun 2009 15:21:18 +0000 (15:21 +0000)] 
GTK: In virtual list mode, map first row to 1, not to 0 as this is reserved for an invalid item

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

15 years agoIn virtual list mode, map first row to 1, not to 0 as this is reserved for an invalid...
Robert Roebling [Thu, 11 Jun 2009 15:10:52 +0000 (15:10 +0000)] 
In virtual list mode, map first row to 1, not to 0 as this is reserved for an invalid item

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

15 years agoadding missing release for editor
Stefan Csomor [Thu, 11 Jun 2009 06:54:37 +0000 (06:54 +0000)] 
adding missing release for editor

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

15 years agoadding events to single line textcontrols (password is not fully supported)
Stefan Csomor [Thu, 11 Jun 2009 06:40:24 +0000 (06:40 +0000)] 
adding events to single line textcontrols (password is not fully supported)

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

15 years agoAdded note about 'Py' prefix no longer being necessary when reimplementing property...
Jaakko Salli [Wed, 10 Jun 2009 20:51:25 +0000 (20:51 +0000)] 
Added note about 'Py' prefix no longer being necessary when reimplementing property member functions in wxPython

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

15 years agoAllow reparenting wxPropertyGrid(Manager) to work; Show error and suggest calling...
Jaakko Salli [Wed, 10 Jun 2009 20:36:56 +0000 (20:36 +0000)] 
Allow reparenting wxPropertyGrid(Manager) to work; Show error and suggest calling wxPropertyGrid::OnTLPChanging() if top-level parent changed indirectly.

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

15 years agoadd virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextEx...
Vadim Zeitlin [Wed, 10 Jun 2009 16:41:41 +0000 (16:41 +0000)] 
add virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextExtent() on wxWindow objects without any ugly casts/scope resolution operators

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

15 years agodon't disable the use of standard streams/strings by default under OS XE there is...
Vadim Zeitlin [Wed, 10 Jun 2009 15:07:03 +0000 (15:07 +0000)] 
don't disable the use of standard streams/strings by default under OS XE there is no reason to do it

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

15 years agoremoved the inexistent (at least in 10.4 SDK) and unneeded carbon/carbon.h header...
Vadim Zeitlin [Wed, 10 Jun 2009 15:05:07 +0000 (15:05 +0000)] 
removed the inexistent (at least in 10.4 SDK) and unneeded carbon/carbon.h header inclusion

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

15 years agoremove support/detection of Mac OS < X
Vadim Zeitlin [Wed, 10 Jun 2009 14:56:18 +0000 (14:56 +0000)] 
remove support/detection of Mac OS < X

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

15 years agoadded --disable-tls option and use it by default under NetBSD which is reported to...
Vadim Zeitlin [Wed, 10 Jun 2009 14:55:04 +0000 (14:55 +0000)] 
added --disable-tls option and use it by default under NetBSD which is reported to not have TLS support

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

15 years agodon't start menu IDs at 0 to avoid an assert under Mac
Vadim Zeitlin [Wed, 10 Jun 2009 14:54:09 +0000 (14:54 +0000)] 
don't start menu IDs at 0 to avoid an assert under Mac

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

15 years agodocument wxBase64DecodeMode and other minor fixes (closes #10882)
Vadim Zeitlin [Wed, 10 Jun 2009 14:44:26 +0000 (14:44 +0000)] 
document wxBase64DecodeMode and other minor fixes (closes #10882)

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

15 years agoadd missing DLL export declaration to fix linking in shared library build
Vadim Zeitlin [Wed, 10 Jun 2009 14:43:38 +0000 (14:43 +0000)] 
add missing DLL export declaration to fix linking in shared library build

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

15 years agomaking SetFocus bringing TLW to front as Carbon, see #10876
Stefan Csomor [Wed, 10 Jun 2009 07:04:33 +0000 (07:04 +0000)] 
making SetFocus bringing TLW to front as Carbon, see #10876

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

15 years agoallow mouse events being sent to parents, see #10876
Stefan Csomor [Wed, 10 Jun 2009 06:52:52 +0000 (06:52 +0000)] 
allow mouse events being sent to parents, see #10876

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

15 years agoallow vetoing on drop, see #10876
Stefan Csomor [Wed, 10 Jun 2009 06:46:05 +0000 (06:46 +0000)] 
allow vetoing on drop, see #10876

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

15 years agofixing coordinates for dnd, see #10876
Stefan Csomor [Wed, 10 Jun 2009 06:37:48 +0000 (06:37 +0000)] 
fixing coordinates for dnd, see #10876

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

15 years agomisc key-event fixes, see #10876
Stefan Csomor [Wed, 10 Jun 2009 06:10:33 +0000 (06:10 +0000)] 
misc key-event fixes, see #10876

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

15 years agofixes direction for scroll events, closes #10873
Stefan Csomor [Wed, 10 Jun 2009 05:24:28 +0000 (05:24 +0000)] 
fixes direction for scroll events, closes #10873

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

15 years agoadding idle processing in modal loop, closes #10871
Stefan Csomor [Wed, 10 Jun 2009 05:15:24 +0000 (05:15 +0000)] 
adding idle processing in modal loop, closes #10871

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

15 years agofixing modal dialog quit after nested message box problem
Stefan Csomor [Wed, 10 Jun 2009 05:04:58 +0000 (05:04 +0000)] 
fixing modal dialog quit after nested message box problem

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

15 years agodisclosure triangles on all implementations are able to give their true best size
Stefan Csomor [Wed, 10 Jun 2009 04:53:58 +0000 (04:53 +0000)] 
disclosure triangles on all implementations are able to give their true best size

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

15 years agofixing redraw of combobox on osx_cocoa
Stefan Csomor [Wed, 10 Jun 2009 04:38:20 +0000 (04:38 +0000)] 
fixing redraw of combobox on osx_cocoa

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

15 years agochanging disclosure triangle to allow for label
Stefan Csomor [Wed, 10 Jun 2009 04:06:05 +0000 (04:06 +0000)] 
changing disclosure triangle to allow for label

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

15 years agofixing border drawing for toplevel controls on dialogs, fixes #10877
Stefan Csomor [Wed, 10 Jun 2009 04:04:09 +0000 (04:04 +0000)] 
fixing border drawing for toplevel controls on dialogs, fixes #10877

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

15 years agofix typo in previous commit
Vadim Zeitlin [Sun, 7 Jun 2009 16:01:34 +0000 (16:01 +0000)] 
fix typo in previous commit

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

15 years agoderive wxStandardPathsCF from Unix wxStandardPaths implementation to make it possible...
Vadim Zeitlin [Sun, 7 Jun 2009 12:56:43 +0000 (12:56 +0000)] 
derive wxStandardPathsCF from Unix wxStandardPaths implementation to make it possible to return it from wxGUIAppTraits::GetStandardPaths()

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

15 years agomention support for multiselection in wxDirCtrl
Vadim Zeitlin [Sun, 7 Jun 2009 12:55:42 +0000 (12:55 +0000)] 
mention support for multiselection in wxDirCtrl

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

15 years agobracket <vector> inclusion by wx/beforestd.h and wx/afterstd.h to avoid warnings...
Vadim Zeitlin [Sun, 7 Jun 2009 12:44:25 +0000 (12:44 +0000)] 
bracket <vector> inclusion by wx/beforestd.h and wx/afterstd.h to avoid warnings in standard headers with MSVC

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

15 years agodisable a VC6 warning occurring inside a standard header
Vadim Zeitlin [Sun, 7 Jun 2009 12:41:52 +0000 (12:41 +0000)] 
disable a VC6 warning occurring inside a standard header

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

15 years agowork around apparent VC6 bug resulting in warnings about using non-const wxSize/Point...
Vadim Zeitlin [Sun, 7 Jun 2009 12:38:39 +0000 (12:38 +0000)] 
work around apparent VC6 bug resulting in warnings about using non-const wxSize/PointRefFromVariant versions

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

15 years agosuppress MSVC warning about cast truncating constant value
Vadim Zeitlin [Sun, 7 Jun 2009 12:31:24 +0000 (12:31 +0000)] 
suppress MSVC warning about cast truncating constant value

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

15 years agowork around MSVC warnings about using uninitialized variables in optimized build
Vadim Zeitlin [Sun, 7 Jun 2009 12:29:39 +0000 (12:29 +0000)] 
work around MSVC warnings about using uninitialized variables in optimized build

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

15 years agodisable MSVC warning 4275 which is harmless and can't be avoided anyhow
Vadim Zeitlin [Sun, 7 Jun 2009 12:27:07 +0000 (12:27 +0000)] 
disable MSVC warning 4275 which is harmless and can't be avoided anyhow

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

15 years agoremove inline from IosSeekDirToWxSeekMode() to work around VC6 release build (bogus...
Vadim Zeitlin [Sun, 7 Jun 2009 12:23:31 +0000 (12:23 +0000)] 
remove inline from IosSeekDirToWxSeekMode() to work around VC6 release build (bogus) warnings about uninitialized variables

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

15 years agocorrect bug with using uninitialized end variable (unused variable warnings are not...
Vadim Zeitlin [Sun, 7 Jun 2009 12:19:59 +0000 (12:19 +0000)] 
correct bug with using uninitialized end variable (unused variable warnings are not always useless)

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

15 years agoAdded section 'Changes from wxPropertyGrid 1.4'
Jaakko Salli [Sun, 7 Jun 2009 09:02:35 +0000 (09:02 +0000)] 
Added section 'Changes from wxPropertyGrid 1.4'

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

15 years agoImplementations of wxPGProperty::ChildChanged() must now return changed value of...
Jaakko Salli [Sun, 7 Jun 2009 07:52:53 +0000 (07:52 +0000)] 
Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.

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

15 years agoreturn wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get()...
Vadim Zeitlin [Sat, 6 Jun 2009 23:34:05 +0000 (23:34 +0000)] 
return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary

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

15 years agodisable warning about _set_se_translator() requiring /EHa for VC9 too (it was disable...
Vadim Zeitlin [Sat, 6 Jun 2009 23:27:37 +0000 (23:27 +0000)] 
disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8)

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

15 years agofix (bogus) warning about uninitialized variable in release MSVC build
Vadim Zeitlin [Sat, 6 Jun 2009 23:26:46 +0000 (23:26 +0000)] 
fix (bogus) warning about uninitialized variable in release MSVC build

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

15 years agomention wxTreeCtrl::SelectItem() fix of r60921
Vadim Zeitlin [Sat, 6 Jun 2009 23:25:56 +0000 (23:25 +0000)] 
mention wxTreeCtrl::SelectItem() fix of r60921

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

15 years agodisable MSVC 8+ warning about using Unicode characters as we do want to use them
Vadim Zeitlin [Sat, 6 Jun 2009 23:24:57 +0000 (23:24 +0000)] 
disable MSVC 8+ warning about using Unicode characters as we do want to use them

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

15 years agodisable warnings about unused parameters in CppUnit headers
Vadim Zeitlin [Sat, 6 Jun 2009 23:22:37 +0000 (23:22 +0000)] 
disable warnings about unused parameters in CppUnit headers

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

15 years agouse _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC
Vadim Zeitlin [Sat, 6 Jun 2009 23:20:12 +0000 (23:20 +0000)] 
use _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC

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

15 years agouse _fileno() instead of fileno() with VC
Vadim Zeitlin [Sat, 6 Jun 2009 23:18:52 +0000 (23:18 +0000)] 
use _fileno() instead of fileno() with VC

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

15 years agouse _unlink() instead of unlink() with VC
Vadim Zeitlin [Sat, 6 Jun 2009 23:17:34 +0000 (23:17 +0000)] 
use _unlink() instead of unlink() with VC

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

15 years agorename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name...
Vadim Zeitlin [Sat, 6 Jun 2009 23:16:27 +0000 (23:16 +0000)] 
rename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name defined in Windows headers

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

15 years agofix warnings about using signed values for chars and strdup() from VC9
Vadim Zeitlin [Sat, 6 Jun 2009 23:14:30 +0000 (23:14 +0000)] 
fix warnings about using signed values for chars and strdup() from VC9

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

15 years agofix unused parameter warning
Vadim Zeitlin [Sat, 6 Jun 2009 23:13:03 +0000 (23:13 +0000)] 
fix unused parameter warning

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

15 years agodefine _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functi...
Vadim Zeitlin [Sat, 6 Jun 2009 23:10:19 +0000 (23:10 +0000)] 
define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+

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

15 years agowork around (harmless) warnings in VC7 release build
Vadim Zeitlin [Sat, 6 Jun 2009 23:04:50 +0000 (23:04 +0000)] 
work around (harmless) warnings in VC7 release build

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

15 years agomake wxTreeCtrl::SelectItem(false) work in single selection controls under MSW (fixin...
Vadim Zeitlin [Sat, 6 Jun 2009 22:56:57 +0000 (22:56 +0000)] 
make wxTreeCtrl::SelectItem(false) work in single selection controls under MSW (fixing the recently added unit test); also set the previously selected item in the selection changing/changed messages

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

15 years agomore corrections from Y. KABA.
Vadim Zeitlin [Sat, 6 Jun 2009 22:26:31 +0000 (22:26 +0000)] 
more corrections from Y. KABA.

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

15 years agocorrect msgfmt warnings after last commit
Vadim Zeitlin [Sat, 6 Jun 2009 17:38:31 +0000 (17:38 +0000)] 
correct msgfmt warnings after last commit

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

15 years agoJapanese translations update from Y. KABA.
Vadim Zeitlin [Sat, 6 Jun 2009 17:31:14 +0000 (17:31 +0000)] 
Japanese translations update from Y. KABA.

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

15 years agosimplify code by removing workaround not needed any longer after fix of r60910 (see...
Vadim Zeitlin [Sat, 6 Jun 2009 17:27:29 +0000 (17:27 +0000)] 
simplify code by removing workaround not needed any longer after fix of r60910 (see #10830)

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

15 years agoAdded wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by...
Jaakko Salli [Sat, 6 Jun 2009 15:28:40 +0000 (15:28 +0000)] 
Added wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by wxPython bindings .m_value property

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

15 years agoAdded better asserts, helps with debugging strange wxVariant issues
Jaakko Salli [Sat, 6 Jun 2009 15:27:55 +0000 (15:27 +0000)] 
Added better asserts, helps with debugging strange wxVariant issues

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

15 years agofix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item...
Vadim Zeitlin [Sat, 6 Jun 2009 14:15:06 +0000 (14:15 +0000)] 
fix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item shouldn't toggle its selection (see #10830)

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

15 years agoadded multiple selections support to wxDirCtrl (closes #10830)
Vadim Zeitlin [Sat, 6 Jun 2009 14:00:51 +0000 (14:00 +0000)] 
added multiple selections support to wxDirCtrl (closes #10830)

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

15 years agocompilation fixes for OS X Cocoa build
Vadim Zeitlin [Sat, 6 Jun 2009 12:25:04 +0000 (12:25 +0000)] 
compilation fixes for OS X Cocoa build

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

15 years agodocument effect of loading an icon bundle on stream position
Vadim Zeitlin [Sat, 6 Jun 2009 12:09:30 +0000 (12:09 +0000)] 
document effect of loading an icon bundle on stream position

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

15 years agoexport wxStatusBarPaneArray from the DLL to fix Borland multilib build
Vadim Zeitlin [Sat, 6 Jun 2009 12:01:46 +0000 (12:01 +0000)] 
export wxStatusBarPaneArray from the DLL to fix Borland multilib build

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

15 years agoavoiding events during destruction, fixes #10855
Stefan Csomor [Fri, 5 Jun 2009 21:08:08 +0000 (21:08 +0000)] 
avoiding events during destruction, fixes #10855

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

15 years agocompilation fixes for g++ 3.2 (closes #10875)
Vadim Zeitlin [Fri, 5 Jun 2009 08:54:48 +0000 (08:54 +0000)] 
compilation fixes for g++ 3.2 (closes #10875)

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

15 years agoadded wxEditbaleListBox XRC handler
Vadim Zeitlin [Thu, 4 Jun 2009 23:41:51 +0000 (23:41 +0000)] 
added wxEditbaleListBox XRC handler

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

15 years agocorrect the fix for avoiding the integer multiplication overflow to really work
Vadim Zeitlin [Thu, 4 Jun 2009 22:28:48 +0000 (22:28 +0000)] 
correct the fix for avoiding the integer multiplication overflow to really work

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

15 years agouse wxAutoBufferedPaintDC to avoid needlessly double buffering under platforms which...
Vadim Zeitlin [Thu, 4 Jun 2009 22:27:02 +0000 (22:27 +0000)] 
use wxAutoBufferedPaintDC to avoid needlessly double buffering under platforms which already do this natively (closes #10869)

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

15 years agoaccount properly for the menu in SetShape() (closes #10870)
Vadim Zeitlin [Thu, 4 Jun 2009 22:24:13 +0000 (22:24 +0000)] 
account properly for the menu in SetShape() (closes #10870)

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

15 years agovalue of wrap parameter of wxStaticText must be specified in pixels, not characters
Vadim Zeitlin [Thu, 4 Jun 2009 12:17:34 +0000 (12:17 +0000)] 
value of wrap parameter of wxStaticText must be specified in pixels, not characters

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

15 years agopostpone the call to CopyAttributes() until the DC is fully initialized (closes ...
Vadim Zeitlin [Thu, 4 Jun 2009 08:55:44 +0000 (08:55 +0000)] 
postpone the call to CopyAttributes() until the DC is fully initialized (closes #10867)

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

15 years agoremoved assert checking that bit depth is 8 or 16 as the code appears to work correct...
Vadim Zeitlin [Thu, 4 Jun 2009 08:23:32 +0000 (08:23 +0000)] 
removed assert checking that bit depth is 8 or 16 as the code appears to work correctly for 1, 2 and4 bit depths as well (closes #10840)

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

15 years agoUse live update for splitter on Mac since Leopard seems even more susceptible to...
Julian Smart [Thu, 4 Jun 2009 08:01:58 +0000 (08:01 +0000)] 
Use live update for splitter on Mac since Leopard seems even more susceptible to screen drawing crashes

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

15 years agoavoid overdrawing, fixes #10865
Stefan Csomor [Thu, 4 Jun 2009 04:25:39 +0000 (04:25 +0000)] 
avoid overdrawing, fixes #10865

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

15 years agouse wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL...
Vadim Zeitlin [Wed, 3 Jun 2009 22:33:32 +0000 (22:33 +0000)] 
use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL

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

15 years agodon't fix the columns number to 1 by default in ctors (closes #10863)
Vadim Zeitlin [Wed, 3 Jun 2009 22:28:26 +0000 (22:28 +0000)] 
don't fix the columns number to 1 by default in ctors (closes #10863)

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

15 years agowork around g++ 4.3 warning about possibly ambiguous else
Vadim Zeitlin [Wed, 3 Jun 2009 22:19:13 +0000 (22:19 +0000)] 
work around g++ 4.3 warning about possibly ambiguous else

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

15 years agofix wxIconBundle creation from multiimage files broken by r60852
Vadim Zeitlin [Tue, 2 Jun 2009 16:22:49 +0000 (16:22 +0000)] 
fix wxIconBundle creation from multiimage files broken by r60852

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

15 years agoMake this header SWIG-safe
Jaakko Salli [Tue, 2 Jun 2009 14:16:20 +0000 (14:16 +0000)] 
Make this header SWIG-safe

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

15 years agocheck for integer overflow which could result in buffer overrun when loading an inval...
Vadim Zeitlin [Tue, 2 Jun 2009 13:51:26 +0000 (13:51 +0000)] 
check for integer overflow which could result in buffer overrun when loading an invalid TIFF file

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

15 years agodon't free() the same pointer twice if an error occurs during lines pointers allocation
Vadim Zeitlin [Tue, 2 Jun 2009 13:50:30 +0000 (13:50 +0000)] 
don't free() the same pointer twice if an error occurs during lines pointers allocation

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

15 years agoadded wxUINTn_MAX constants; document them together with the existing wxINTn_MIN...
Vadim Zeitlin [Tue, 2 Jun 2009 13:43:32 +0000 (13:43 +0000)] 
added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones

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

15 years agoadd wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions...
Francesco Montorsi [Tue, 2 Jun 2009 13:01:41 +0000 (13:01 +0000)] 
add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions

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

15 years agoadd wxProgressDialog::SetRange() function
Francesco Montorsi [Mon, 1 Jun 2009 23:19:25 +0000 (23:19 +0000)] 
add wxProgressDialog::SetRange() function

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

15 years agono change: fix a couple typos
Francesco Montorsi [Mon, 1 Jun 2009 23:05:37 +0000 (23:05 +0000)] 
no change: fix a couple typos

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

15 years agodo not show the timestamp column in the details pane of the wxLogDialog when timestam...
Francesco Montorsi [Mon, 1 Jun 2009 23:01:47 +0000 (23:01 +0000)] 
do not show the timestamp column in the details pane of the wxLogDialog when timestamping has been disabled

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

15 years agocorrect Borland #pragma hdrstop position
Vadim Zeitlin [Mon, 1 Jun 2009 20:54:03 +0000 (20:54 +0000)] 
correct Borland #pragma hdrstop position

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

15 years agonon-PCH compilo
Robert Roebling [Mon, 1 Jun 2009 15:26:24 +0000 (15:26 +0000)] 
non-PCH compilo

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