]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Mon, 15 Jun 2009 17:49:27 +0000 (17:49 +0000)]
no real changes, just extract private classes from msw/dc.cpp into a private header so that they could be reused from button owner drawing code too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61060
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 15 Jun 2009 17:28:58 +0000 (17:28 +0000)]
fix Doxygen syntax error which prevented output for this page from being generated at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61059
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 15 Jun 2009 17:14:50 +0000 (17:14 +0000)]
use WPARAM (which is 64 bit under Win64) for timer ids instead of long (which is still 32 bit) (see #10896)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61058
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 15 Jun 2009 04:23:54 +0000 (04:23 +0000)]
implement images support for wxButton under XP and later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61054
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 15 Jun 2009 03:36:16 +0000 (03:36 +0000)]
include wx/bitmap.h which is required by wxButton now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61053
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 15 Jun 2009 03:35:30 +0000 (03:35 +0000)]
added missing parentheses in a couple of GetHxxxOf() macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61052
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 14 Jun 2009 22:55:24 +0000 (22:55 +0000)]
preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61051
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sun, 14 Jun 2009 14:45:20 +0000 (14:45 +0000)]
Updated info on wxRefCounter and related classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61049
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sun, 14 Jun 2009 14:11:07 +0000 (14:11 +0000)]
Make wxDataViewModel derive from wxRefCounter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Jun 2009 19:42:28 +0000 (19:42 +0000)]
don't leave the document in modified state after loading it (closes #10081)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61046
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 13 Jun 2009 14:55:45 +0000 (14:55 +0000)]
Converted wxVariant to use wxObject's reference counting facilities. Should make sense as wxVariant already derived from wxObject and now wxVariantData inherits wxRefCounter/wxObjectRefData.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61043
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Jun 2009 02:48:38 +0000 (02:48 +0000)]
added own{fg,bg,font} allowing to set non-inheritable fore/background colours and font from XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61038
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Jun 2009 00:33:07 +0000 (00:33 +0000)]
fix compilation after wxRefCounter changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61037
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 12 Jun 2009 20:29:59 +0000 (20:29 +0000)]
Update docs to mention wxRefCounter class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61036
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 12 Jun 2009 20:18:17 +0000 (20:18 +0000)]
Use wxRefCounter instead of wxObjecrDataRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61035
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 12 Jun 2009 20:16:07 +0000 (20:16 +0000)]
Rename wxObjectDataRef wxRefCounter, use it in wxVariant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61034
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 20:11:21 +0000 (20:11 +0000)]
added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61033
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 19:37:40 +0000 (19:37 +0000)]
compilation fix after wxLoadFileSelector() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61032
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 19:36:58 +0000 (19:36 +0000)]
remove unnecessary refCount=1 parameter from wxObjectRefData ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61031
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 12 Jun 2009 19:03:41 +0000 (19:03 +0000)]
wxPGCellRenderer ctor doesn't really need refCount argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61030
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 18:24:37 +0000 (18:24 +0000)]
fix memory leak in SetColFormat() if the column already had an attribute (closes #1807)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61029
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 18:02:57 +0000 (18:02 +0000)]
only allow selecting existing files in wxLoadFileSelector; use this function instead of wxFileSelector in the samples (closes #10693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61028
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 17:40:11 +0000 (17:40 +0000)]
added XRC handler for wxFileCtrl (closes #10785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 17:26:11 +0000 (17:26 +0000)]
added new wx-config --query-xxx options and use them in (Unix) bakefile presets instead of parsing --selected-config output to fix the use of presets when cross-compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61026
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 17:14:28 +0000 (17:14 +0000)]
reuse wxObjectRefData for various ref-counted classes (closes #10886)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61025
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 12 Jun 2009 16:15:35 +0000 (16:15 +0000)]
Remove remaining bits of marker drawing during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61024
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 15:35:17 +0000 (15:35 +0000)]
clatify alpha discussion (closes #10888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61023
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Jun 2009 15:28:45 +0000 (15:28 +0000)]
make more wxFileName methods const (closes #10887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 12 Jun 2009 14:01:25 +0000 (14:01 +0000)]
Added missing virtual dtor for wxPGMultiButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61017
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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