Commit Graph

45342 Commits

Author SHA1 Message Date
Vadim Zeitlin
242ec2f7e9 really, really fix handling Enter in spin controls: only request it for the control if wxTE_PROCESS_ENTER is used to avoid breaking the use of Enter for the default item activation if it isn't; also document wxTE_PROCESS_ENTER style for wxSpinCtrl and add it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:50:30 +00:00
Vadim Zeitlin
a6aa377bb3 use transparent icons and clear the DC before drawing them to fix the background of state icons appearance (part of #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:15:19 +00:00
Jaakko Salli
f379342915 Have support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member function to propgridiface.cpp which is more logical location since class is in propgridiface.h. Added char* test cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 16:48:20 +00:00
Jaakko Salli
8f18b25245 Fixed bug: Setting property value string did not update children of composed parent (ported from wxPG SVN trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 16:20:48 +00:00
Jaakko Salli
9b5d2f3fae Removed remnant use of wxCHECK_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 14:59:47 +00:00
Jaakko Salli
258ccb95f5 Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:21 +00:00
Vadim Zeitlin
55f0bf1ff1 some wxGrid docs cleanup, it's still a huge mess though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:20 +00:00
Jaakko Salli
d665918bd2 wxVariant list used to translate between list of property child values and composite value string now maps values by names instead of labels. Naturally this means properties can no longer have empty name (this change allows using identical labels under same parent property. Ported from wxpropgrid SVN trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:14:32 +00:00
Michael Wetherell
1fb72f6116 New dev.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 10:07:30 +00:00
Jaakko Salli
dce297343e Adapt to 'premature' events being sent from editor controls (fixes datepicker editor crash)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 09:47:58 +00:00
Jaakko Salli
ac5760384a Fixed ambiguity with bitwise operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 09:02:26 +00:00
Jaakko Salli
4a84bb72a4 Removed dllimpexp declaration from std::vector typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 08:46:02 +00:00
Vadim Zeitlin
35c2aa4f19 added wxFileName::GetVolumeString() (#9950)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:18:05 +00:00
Vadim Zeitlin
19abad600c compilation fix after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:09:42 +00:00
Vadim Zeitlin
f524b09335 don't give spurious error messages if the default browser doesn't provide DDE interface; also use SEE_MASK_FLAG_NO_UI to avoid shell error messages as we give them ourselves (#9948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:46:39 +00:00
Vadim Zeitlin
4db307e110 build fixes for wxUSE_ON_FATAL_EXCEPTION==0 (#9937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:26:29 +00:00
Vadim Zeitlin
c11bdf68b8 make ellipses drawn with transparent pen more wxGC/Cairo-like (closes #9899)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:12:02 +00:00
Vadim Zeitlin
99774d589d check the item index inside Item() itself instead of checking it inside some callers of this function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:04:23 +00:00
Vadim Zeitlin
6bce2ad919 must include typeinfo before using typeid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:03:29 +00:00
Vadim Zeitlin
cac09ce8b7 cache the item text size to optimize tree layout/painting (#9956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 21:28:57 +00:00
Vadim Zeitlin
8239070ba9 no real changes, just some reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:55:34 +00:00
Jaakko Salli
f9189014b7 wxPropertyGrid::DoPropertyChanged() incorrectly passed raw m_wndEditor pointer to UpdateControl(). Now editor pointer is acquired via GetEditorControl(), as appropriate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:34:25 +00:00
Jaakko Salli
23b4f32040 wxPropertyGrid member m_visPropArray removed, now always recreated from scratch in DoDrawItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:14:20 +00:00
Robert Roebling
d27f4c7bcb Fix crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:02:59 +00:00
Jaakko Salli
30595b81f2 Cleaned up wxPropertyGrid::SetCurrentCategory()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:43:44 +00:00
Jaakko Salli
18b5bcb067 Needed to convert string variable's type from wxChar* to wxString because result of wxGetTranslation was assigned to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:35:52 +00:00
Jaakko Salli
a349c43322 Fixed warnings caused by docstrings in %pythoncode section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:18:59 +00:00
Robert Roebling
c83576039c include <typeinfo> in all files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 16:29:29 +00:00
Vadim Zeitlin
6a3a64f6ff must include typeinfo before using typeid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 22:14:46 +00:00
Vadim Zeitlin
ef2862569e must include typeinfo before using typeid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 21:22:27 +00:00
Vadim Zeitlin
fbfe2d4e7c PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 21:19:52 +00:00
Vadim Zeitlin
1c4293cb91 added wxPropertyGrid from Jaakko Salli (#9934)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Stefan Csomor
2bed17c862 implementing changes in toolbartool directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 19:38:27 +00:00
Stefan Csomor
01548e7c02 CoreText fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:36:08 +00:00
Stefan Csomor
f4cbd74e8c CoreText fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:35:16 +00:00
Stefan Csomor
6cc970f332 missin quote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:30:20 +00:00
Vadim Zeitlin
cc5e20f838 STL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 15:47:06 +00:00
Vadim Zeitlin
a3ac93e3ac return true from IsBeingDeleted() if any of the parent windows is marked for destruction too (see #9867)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 14:09:30 +00:00
Vadim Zeitlin
42b5841f5a add grid category and mark all grid-related classes as belonging to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 13:09:03 +00:00
Vadim Zeitlin
5d984f5d97 fix the event type in EVT_GRID_[CMD_]COL_MOVE declaration: this event handler receives wxGridEvent and not wxGridSizeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 12:49:11 +00:00
Stefan Csomor
fe21801d4a making state changing calls on tool virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 09:50:15 +00:00
Jouk Jansen
ad237a73a8 Update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 08:48:16 +00:00
Vadim Zeitlin
76a10a0dac fix crash under MSW due to constructing a static wxDDEClient instance (this arguably should work but currently doesn't because of use of (yet uninitialized) wxDDEClientObjects in wxDDEClient ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 01:36:09 +00:00
Vadim Zeitlin
24689293df add wxCANCEL_DEFAULT support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 00:06:42 +00:00
Vadim Zeitlin
72513c369e added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle() (argh, another forgotten file, should have been part of r55561)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:41:49 +00:00
Vadim Zeitlin
f0afc953c9 test wxCANCEL_DEFAULT flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:40:15 +00:00
Vadim Zeitlin
f45d6ade08 added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:37:35 +00:00
Jouk Jansen
c9b6cebdab OpenVMS chokes on external templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 20:50:12 +00:00
Stefan Csomor
021db427c3 adding missing y axis flip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 18:55:45 +00:00
Stefan Csomor
5da125c794 adding min and max size support for resizing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 17:02:52 +00:00