Commit Graph

48914 Commits

Author SHA1 Message Date
Jaakko Salli
bd035313c1 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
2009-06-12 19:03:41 +00:00
Vadim Zeitlin
4a53f7010a 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
2009-06-12 18:24:37 +00:00
Vadim Zeitlin
f2a18fbec6 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
2009-06-12 18:02:57 +00:00
Vadim Zeitlin
0d14e4f21d added XRC handler for wxFileCtrl (closes #10785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:40:11 +00:00
Vadim Zeitlin
e5405b6b21 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
2009-06-12 17:26:11 +00:00
Vadim Zeitlin
92ffc98a08 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
2009-06-12 17:14:28 +00:00
Robert Roebling
58e914f015 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
2009-06-12 16:15:35 +00:00
Vadim Zeitlin
0241477aee clatify alpha discussion (closes #10888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:35:17 +00:00
Vadim Zeitlin
d9e80dce15 make more wxFileName methods const (closes #10887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:28:45 +00:00
Jaakko Salli
517add0d35 Added missing virtual dtor for wxPGMultiButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 14:01:25 +00:00
Jaakko Salli
b7d1985040 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
2009-06-12 13:49:59 +00:00
Vadim Zeitlin
fb330c2ec3 disable MSVC warning 4275 correctly (closes #10885)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 03:37:47 +00:00
Michael Wetherell
527983315d Forward port r56500.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 00:17:37 +00:00
Stefan Csomor
f0ceebb7e0 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
2009-06-11 23:07:05 +00:00
Vadim Zeitlin
4cd15b49b4 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
2009-06-11 16:46:19 +00:00
Vadim Zeitlin
89391a4ea1 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
2009-06-11 16:11:07 +00:00
Vadim Zeitlin
588ca87143 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
2009-06-11 16:02:16 +00:00
Vadim Zeitlin
4644cfba41 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
2009-06-11 16:00:01 +00:00
Vadim Zeitlin
522c340481 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
2009-06-11 15:57:29 +00:00
Robert Roebling
e946566e73 Remove ugly flicker during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 15:37:53 +00:00
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