Commit Graph

48994 Commits

Author SHA1 Message Date
Robert Roebling
0ae51f62de 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
2009-06-11 15:21:18 +00:00
Robert Roebling
86ba79ed17 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
2009-06-11 15:10:52 +00:00
Stefan Csomor
af665c2d7e adding missing release for editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 06:54:37 +00:00
Stefan Csomor
7cb2a24183 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
2009-06-11 06:40:24 +00:00
Jaakko Salli
0cd4552a99 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
2009-06-10 20:51:25 +00:00
Jaakko Salli
27c1f235ba 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
2009-06-10 20:36:56 +00:00
Vadim Zeitlin
6de7047076 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
2009-06-10 16:41:41 +00:00
Vadim Zeitlin
68d801c8b0 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
2009-06-10 15:07:03 +00:00
Vadim Zeitlin
806a83167b 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
2009-06-10 15:05:07 +00:00
Vadim Zeitlin
7fef8021ba remove support/detection of Mac OS < X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:56:18 +00:00
Vadim Zeitlin
7beff712f0 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
2009-06-10 14:55:04 +00:00
Vadim Zeitlin
99bc131391 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
2009-06-10 14:54:09 +00:00
Vadim Zeitlin
7aa3b31d1a 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
2009-06-10 14:44:26 +00:00
Vadim Zeitlin
ed70364591 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
2009-06-10 14:43:38 +00:00
Stefan Csomor
47e2984762 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
2009-06-10 07:04:33 +00:00
Stefan Csomor
2e4986548d 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
2009-06-10 06:52:52 +00:00
Stefan Csomor
5646fba6b0 allow vetoing on drop, see #10876
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 06:46:05 +00:00
Stefan Csomor
e6b3143a29 fixing coordinates for dnd, see #10876
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 06:37:48 +00:00
Stefan Csomor
4d61ae5fdf misc key-event fixes, see #10876
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 06:10:33 +00:00
Stefan Csomor
8704e09080 fixes direction for scroll events, closes #10873
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 05:24:28 +00:00
Stefan Csomor
336775c058 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
2009-06-10 05:15:24 +00:00
Stefan Csomor
a43a9e5521 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
2009-06-10 05:04:58 +00:00
Stefan Csomor
7971749aea 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
2009-06-10 04:53:58 +00:00
Stefan Csomor
d33e45f134 fixing redraw of combobox on osx_cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 04:38:20 +00:00
Stefan Csomor
17ad51edc7 changing disclosure triangle to allow for label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 04:06:05 +00:00
Stefan Csomor
4d949e7ff4 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
2009-06-10 04:04:09 +00:00
Vadim Zeitlin
0a6b9955db fix typo in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 16:01:34 +00:00
Vadim Zeitlin
0049c31e8d 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
2009-06-07 12:56:43 +00:00
Vadim Zeitlin
ae042ac1e2 mention support for multiselection in wxDirCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:55:42 +00:00
Vadim Zeitlin
9d4aa9c268 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
2009-06-07 12:44:25 +00:00
Vadim Zeitlin
845e4f9b32 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
2009-06-07 12:41:52 +00:00
Vadim Zeitlin
d21fc5bf4f 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
2009-06-07 12:38:39 +00:00
Vadim Zeitlin
6a8a90fe15 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
2009-06-07 12:31:24 +00:00
Vadim Zeitlin
92981c938d 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
2009-06-07 12:29:39 +00:00
Vadim Zeitlin
adcc13ac81 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
2009-06-07 12:27:07 +00:00
Vadim Zeitlin
5c4f18cc43 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
2009-06-07 12:23:31 +00:00
Vadim Zeitlin
0cb9ba2518 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
2009-06-07 12:19:59 +00:00
Jaakko Salli
8622887ce2 Added section 'Changes from wxPropertyGrid 1.4'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 09:02:35 +00:00
Jaakko Salli
b8b1ff481c 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
2009-06-07 07:52:53 +00:00
Vadim Zeitlin
25f49256ac 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
2009-06-06 23:34:05 +00:00
Vadim Zeitlin
5470512797 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
2009-06-06 23:27:37 +00:00
Vadim Zeitlin
73df4a1e3c 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
2009-06-06 23:26:46 +00:00
Vadim Zeitlin
04aa748dc4 mention wxTreeCtrl::SelectItem() fix of r60921
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:25:56 +00:00
Vadim Zeitlin
a8f1775855 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
2009-06-06 23:24:57 +00:00
Vadim Zeitlin
de83091077 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
2009-06-06 23:22:37 +00:00
Vadim Zeitlin
b4d47ca02c 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
2009-06-06 23:20:12 +00:00
Vadim Zeitlin
d4b1783215 use _fileno() instead of fileno() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:18:52 +00:00
Vadim Zeitlin
50a73bb104 use _unlink() instead of unlink() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:17:34 +00:00
Vadim Zeitlin
23a6a62ffa 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
2009-06-06 23:16:27 +00:00
Vadim Zeitlin
3bcd8f9790 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
2009-06-06 23:14:30 +00:00