Václav Slavík
e96ff06fc4
don't require <value> node in wxColourPickerCtrl's XRC handler, use black as default (i.e. do the same that C++ code does)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:34:34 +00:00
Václav Slavík
984f1d84fd
added default value argument to wxXmlResourceHandler::GetColour()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:32:57 +00:00
Václav Slavík
374caf2301
use <value> instead of <default-*> for initial value of picker controls in XRC, for consistency with other controls' handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:21:25 +00:00
Václav Slavík
af6ad98461
fixed crashes in wxFile/DirPickerCtrl::GetPath() due to incorrect casting in multiple inheritance hierarchy and incorrect casting to wxFilePickerWidget in wxFileDirPickerCtrlBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:13:04 +00:00
Václav Slavík
1029169f08
reformatted to fit on standard terminal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 12:25:48 +00:00
Václav Slavík
42c09d20bb
fixed typos in *picker.cpp files' headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 09:56:16 +00:00
Vadim Zeitlin
b0db68b22a
test for the bug in HasEntry() which could create non-existing group as a side effect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:48:00 +00:00
Vadim Zeitlin
2cf3a6d7be
don't create non-existing groups in HasEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:46:31 +00:00
Vadim Zeitlin
41f3015283
fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:08:43 +00:00
Robin Dunn
20eebe1aa8
Don't let SWIG see the wxTreeCtrl name anywhere so it will use the
...
type_info for our wxPyTreeCtrl instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:57:20 +00:00
Włodzimierz Skiba
f0fa8b47ab
PCH and wxUSE_* fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:03:10 +00:00
Benjamin Williams
483c90c20c
hint window pane should always be shown so that hints will be drawn for even currently hidden panes being dragged around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 13:56:22 +00:00
Mart Raudsepp
01207937f6
Return false from PositionToXY if passed in position is larger than the buffer. This should restore the
...
functionality of the boolean return value, while not returning false for valid input from end of buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 04:22:38 +00:00
Mart Raudsepp
5025996266
gtk_text_iter_get_line and get_line_offset work fine on the end iter. Don't bail if we are at the end of buffer.
...
Fixes one part of bug #1516281 , the other part is controversial and probably not reasonable to change.
Also deal with NULL being passed as the x or y pointer, as is done also on wxMSW (this was done on 2.6 branch as
well, but not noted).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 03:46:40 +00:00
Robin Dunn
d7a7616b9d
Get/SetManagedWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:26:04 +00:00
Robin Dunn
b8193d807f
Updated Scintilla to version 1.70
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:20:18 +00:00
Alex Bligh
dc8a1aa53d
Apply patch 1520776, partial completion on wxOwnerDrawnComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:06:32 +00:00
Alex Bligh
0d02dd54a0
Virtualize ProcessDockResult so people can override it to prevent docking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:03:54 +00:00
Robin Dunn
5d9dedfe38
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:49:13 +00:00
Robin Dunn
f5ed42f875
enable building just the unicode version, or both unicode and ansi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:40:46 +00:00
Robin Dunn
8cbbb5d41b
Add items for the _aui and _richtext .pyd's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:37:05 +00:00
Jamie Gadd
90d05e9b6e
Don't set background of wxMemoryDC before selecting bitmap into it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:41:55 +00:00
Robin Dunn
134d7051bf
Reverted part of rev 1.92. It causes probelms on Windows when
...
scrolling with the scrollbars since the mouse can be captured nativly
momentarily.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:18:04 +00:00
Robin Dunn
a6c129111b
Don't use a saved label size incase the size changes. Patch from Hong Yuan.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:48:47 +00:00
Vadim Zeitlin
fca418ae12
call SetHorizontalExtent() from SetString(); also simplified/cleaned up the former function and call InvalidateBestSize() from it automatically now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:44:34 +00:00
Robin Dunn
7521630773
wxPyDataObjectSimple::SetData should not be const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:19:20 +00:00
Stefan Neis
5824777356
Added support for MirOS, an OpenBSD variant (patch #1520208 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 08:59:53 +00:00
Benjamin Williams
461125ea4d
renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Robin Dunn
81f5836b89
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 00:19:25 +00:00
Robin Dunn
1d5ee7493b
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 21:17:27 +00:00
Benjamin Williams
673727f39c
wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows all main window drawing operations to be overridden to provide custom drawing behavior
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:24:25 +00:00
Robin Dunn
a2cccbc3f3
docstring fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:21:05 +00:00
Benjamin Williams
a189504e7f
wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 13:50:49 +00:00
Włodzimierz Skiba
315a592c4e
Fixed crash in book pages.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 12:40:38 +00:00
Włodzimierz Skiba
a7a11b21f5
Fixed conflict between wxFilePicker and wxButton.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 07:53:25 +00:00
Václav Slavík
f5bed7a885
refresh tree item after changing its icon so that the change is visible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:28:19 +00:00
Václav Slavík
0c36b36e98
test changing of selected item's icon in DoToggleIcon as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:27:36 +00:00
Robin Dunn
8c9126acc1
Adjust control size after Play
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:02:25 +00:00
Robin Dunn
619d593006
Overview string tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:00:43 +00:00
Robin Dunn
d04fcda14c
allow transparency flags on mac too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:00:06 +00:00
Robin Dunn
a0c6044d7d
remove WXDLLEXPORT modifiers since this isn't in the wx DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:58:21 +00:00
Robin Dunn
27e4589253
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:45:25 +00:00
Robin Dunn
3903f40824
pywrap should be treated as a gui script
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:04:31 +00:00
Robin Dunn
1200ae167b
Added the PseudoDC class from Paul Lanier. It provides a way to
...
record operations on a DC and then play them back later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:03:51 +00:00
Robin Dunn
4c16bedf17
Doh! I changed the AddPane parameter names but didn't change their usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:02:19 +00:00
Robin Dunn
7e664d85e6
Added the PseudoDC class from Paul Lanier. It provides a way to
...
record operations on a DC and then play them back later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 15:06:31 +00:00
Stefan Neis
8e372bbe07
Added implementation for wxGetKeyState and wxGetMouseState.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 17:44:08 +00:00
Mart Raudsepp
370b406c71
Use PangoFontMetrics to get wxDC::GetCharHeight, because that's the proper and clean way to get the body size of a
...
particular font, and it doesn't go through all the layoutting code (hence, 20-35% quicker than measuring H for
logical extents).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 03:46:01 +00:00
Benjamin Williams
dec588bd6e
reverted an earlier patch that was causing problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 18:50:18 +00:00
Kevin Ollivier
3335d62252
Give MSVS project files DOS line endings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 05:43:51 +00:00