Francesco Montorsi
bc35c72867
fix default argument values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:50:52 +00:00
Jaakko Salli
3c26d11be9
Moved SetPropertyAttributeAll() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:42:08 +00:00
Jaakko Salli
bba3f9b5bc
A lot of documentation revision. Updated doctest code in propgrid sample to reflect sample code on overview page.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 14:13:32 +00:00
Václav Slavík
40fcf546f6
added wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads accepting single wxSize argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 09:35:49 +00:00
Vadim Zeitlin
77d2c45c38
add const synonyms for wxGridTableBase::GetNumberRows/Cols(), using const_cast<> all the time is painful
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 22:03:27 +00:00
Vadim Zeitlin
ba4d737a9e
allow specifying the initial modifier keys values in the ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:59:39 +00:00
Vadim Zeitlin
8a3e536cd5
- Main change is the addition of wxGridSelectRowsOrColumns selection mode
...
(which is still probably buggy, wxGridSelection needs to be reviewed)
- Add XYToCell() overloads returning wxGridCellCoords (instead of modifying the
argument passed by reference -- where did this come from?) and document them.
- Added GoToCell() which does make the new current cell visible unlike
SetGridCursor() (which was documented as doing it, but wasn't)
- Changed SetCurrentCell() to only not change the cell if wxEVT_GRID_SELECT_CELL
it generates is vetoed, not just processed as this seems to make more sense
- Split jumbo (~400 lines) ProcessGridCellMouseEvent() function into chunks
- Add many more comments to make reading this code seem less like puzzle
solving for the next unfortunate soul to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:33:04 +00:00
Vadim Zeitlin
0e0977894a
make wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirectly via wxMouseState in the case of the latter) to make Get/HasModifiers() available in wxMouseEvent as well while avoiding code duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 18:41:41 +00:00
Jaakko Salli
939d936402
Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:57:33 +00:00
Vadim Zeitlin
41f6f17d01
return 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB for the files in sysfs under Linux ( #9965 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:11:44 +00:00
Francesco Montorsi
f910f4d5cb
fix default arguments for various functions/ctors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:47:34 +00:00
Francesco Montorsi
f1d5aa1285
few details fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:34:33 +00:00
Jaakko Salli
35f6f7de48
Removed unused comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:47:19 +00:00
Jaakko Salli
e342075f46
Document struct wxPGPaintData in function docs of only function that uses it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:43:15 +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
Robert Roebling
682f6de664
minor corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:08:46 +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
Vadim Zeitlin
5039f140c4
document wxGridTableBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:18:39 +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
Vadim Zeitlin
dac8712fcf
document wxDELETE() and wxDELETEA() (now committing the right file, please disregard comment of r55648)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:12:07 +00:00
Vadim Zeitlin
08dd9b5aed
reviewed, updated and corrected wxGrid docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 12:07:25 +00:00
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
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
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
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
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
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
Vadim Zeitlin
5d81550097
made wxLogGui more flexible and documented it and added example of customizing it to the dialogs sample (now with the docs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:03:48 +00:00
Václav Slavík
a302d5958c
added XRC format documentation to the manual (per-class properties docs still missing)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 13:35:29 +00:00
Vadim Zeitlin
e08931c05a
make it possible to use stock ids for custom message box labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:02:49 +00:00
Robert Roebling
424c9ce771
Made wxMSW wxMutex non-recursive by checking reentrance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:54:09 +00:00
Robert Roebling
9c5313d170
Formating corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:26:28 +00:00
Robert Roebling
0dd8898753
More wxMutex doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:16:36 +00:00
Robert Roebling
3ad41c280f
Add wxCRITSEC_DEFAULT and NON_RECURSIVE styles, updated and restored wxThread and related docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:06:07 +00:00
Vadim Zeitlin
fac938f8fd
fix some typos and other minor problems ( #9886 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:36:54 +00:00
Vadim Zeitlin
63408203cd
better documentation of DeviceToLogicalXXX() ( #9896 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:28:38 +00:00
Vadim Zeitlin
278f584fed
add wxSP_THIN_SASH for completeness ( #9902 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:26:47 +00:00
Robert Roebling
98d45c55a1
Readded wxTreeCtrl event docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 19:45:06 +00:00
Robert Roebling
2e2b4d24bb
Readded event docs for wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 14:35:36 +00:00
Robert Roebling
d23914f898
Mention wxEditableLisBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 14:22:54 +00:00
Robert Roebling
32ace3892c
Mention that wxEditableListBox emit events from wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 14:18:32 +00:00
Robert Roebling
7d01d660c1
Readded event documentation for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 14:14:52 +00:00
Robert Roebling
23ae751e16
Minor doc update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 13:48:57 +00:00
Robert Roebling
1d7c0c0828
try to correct wxListCtrl docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 08:05:29 +00:00
Vadim Zeitlin
45a591faba
more Doxygen warnings corrections and fixes from Tim S
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 23:58:45 +00:00
Vadim Zeitlin
792255cc6d
more Doxygen warnings corrections from Tim S
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:44:43 +00:00
Vadim Zeitlin
8b73c5318c
chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 23:28:42 +00:00