Commit Graph

12152 Commits

Author SHA1 Message Date
Vadim Zeitlin
b7bfef3806 implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:08:02 +00:00
Vadim Zeitlin
e2074948cb cancel the current operation if mouse capture is lost (#9979)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 07:38:24 +00:00
Robert Roebling
4f47a8d0c6 Move definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be used from elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 19:05:21 +00:00
Francesco Montorsi
8e1903816a fix for gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:47:57 +00:00
Vadim Zeitlin
856b41f96c use #defines, not typedefs, for compatibility class names declarations to avoid breaking existing code forward declaring them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:56:53 +00:00
Stefan Csomor
70bf329592 fixing deprecated constructors for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 09:12:32 +00:00
Stefan Csomor
326b62161d in release builds gcc on osx evaporates these inlines if not WXEXPORTed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 08:38:25 +00:00
Jaakko Salli
573cdf43af Removed wxPGProperty class overview docs from actual header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:15:36 +00:00
Jaakko Salli
15cbcd00da Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:11:49 +00:00
Jaakko Salli
e999688506 Removed unused commented-out define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:09:29 +00:00
Jaakko Salli
5b69ffcb68 Removed #ifndef DOXYGEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:08:22 +00:00
Jaakko Salli
c29e714c37 Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 17:34:22 +00:00
Jaakko Salli
f4bc1aa27c wxUSE_PROPGRID is now recognized by source and header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:00:00 +00:00
Stefan Csomor
e1214731e3 fixing redefine warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 18:00:21 +00:00
Vadim Zeitlin
10a4531d1d more grid folding: got rid of duplicate version of methods for finding the closest row/column edge, appending/inserting/deleting rows/columns, and moving cursor vertically/horizontally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:31:44 +00:00
Jaakko Salli
0372d42ea5 Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 15:55:53 +00:00
Robert Roebling
946954d3bf Added reverse iterator to wxVector<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 12:43:11 +00:00
Julian Smart
5cb0b827f1 Switched off some buggy optimisation that caused caret positioning/drawn text mismatch.
Fixed defragmentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 10:58:32 +00:00
Vadim Zeitlin
bec7026270 start of the great grid folding: introduce wxGridOperations class and use it to avoid duplicating the same code for rows and columns in a couple of methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 08:32:12 +00:00
Vadim Zeitlin
d41f34403c disable AUI (and also MDI in 2.8) under CE, it doesn't make much sense there and doesn't currently compile anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 08:03:55 +00:00
Vadim Zeitlin
1372f8ccd0 use wxSwap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:13:06 +00:00
Vadim Zeitlin
6ebd2716cf document wxDELETE() and wxDELETEA()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:06:36 +00:00
Vadim Zeitlin
ff72f628bb more cleanup (removed some TODOs/FIXMEs); use native header drawing for the corner window too if it is enabled at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:06:28 +00:00
Vadim Zeitlin
02f3ee3d10 remove the now unused GetScroll[XY]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 13:36:28 +00:00
Vadim Zeitlin
bf2c8b318e take old (wx 2.2? older?) wxGrid compatibility functions inside WXWIN_COMPATIBILITY_2_8; rearrange some declarations order but no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 12:18:07 +00:00
Vadim Zeitlin
69367c566e move the grid-specific workaround for scrollbar hysteresis to wxScrollHelper itself, the scrollbars now should not only appear but also disappear correctly during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 22:44:08 +00:00
Vadim Zeitlin
801a964104 no changes, just removed the unnecessary wxGrid:: qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 21:28:44 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stefan Csomor
e0e2cbbe94 fixes #9951
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 16:32:03 +00:00
Vadim Zeitlin
9ad2fe62d1 made wxLogGui more flexible and documented it and added example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:58:54 +00:00
Vadim Zeitlin
b2794028de added swap() for the other arrays too (and now committing the right files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:52:48 +00:00