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
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
d577449426
Removed macros to create enum and flag props with custom, static choice sets. Now use wxPGProperty::SetChoices() instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:39:09 +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
ff0447493d
mention that you need to update samples/samples.dsw manually currently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:40:58 +00:00
Jaakko Salli
b55018ecbf
Replaced @link with @ref
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:14:13 +00:00
Jaakko Salli
216214f83f
Made section names more globally unique
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:53:47 +00:00
Vadim Zeitlin
87c819f9c9
improve display of hints during column move ( #9884 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:33:39 +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
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
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
ff2201cc74
added swap() for the other arrays too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:51:41 +00:00
Vadim Zeitlin
9127686895
added wxArrayString::swap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:35:32 +00:00
Vadim Zeitlin
4b02d42e37
replace the static control in wxMessageDialog with an edit control with a vertical scrollbar if the message box is too big to fit on the screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 10:39:49 +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
Václav Slavík
a6d7c65b26
don't center tables, it looks ugly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 13:31:41 +00:00
Vadim Zeitlin
b6d2b072d8
allow copying text in the log dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:32:12 +00:00
Vadim Zeitlin
9276358892
added support for custom labels in wxMessageBox for wxGTK too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 17:27:20 +00:00
Vadim Zeitlin
2e9e197cf2
emphasize that mingw32-make and not MSYS make must be used to build using makefile.gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 23:02:44 +00:00
Vadim Zeitlin
c5397b42e3
reverted accidentally committed change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 17:03:59 +00:00
Vadim Zeitlin
70231bce2d
don't set SHOW_FILES, its value is yes by default anyhow and using it provokes a warning from older doxygen versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 13:00:41 +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
a6919a6aca
Mention wxString caching in UTF-8 ode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 12:46:41 +00:00
Robert Roebling
2a00b84736
Minor correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 13:21:56 +00:00
Robert Roebling
68a9f95249
Updated readme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 11:06:49 +00:00
Vadim Zeitlin
98d8a7ece5
honour user scale and source offset in wxDC::Blit() ( #2605 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 00:52:13 +00:00
Vadim Zeitlin
d2ffaf168d
add support for using bitmap2 for checked menu item bitmap in XRC ( #9878 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:27:58 +00:00
Vadim Zeitlin
42561c3caf
document wxSpinCtrlDouble ( #9834 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:41:27 +00:00
Václav Slavík
f3fda1aa01
fixed typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:14:27 +00:00
Vadim Zeitlin
c6e4d276a3
don't call OnCloseDocument() from OnNewDocument(), this plainly doesn't make sense ( #1508 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 12:17:52 +00:00
Vadim Zeitlin
9016f3ad73
add support for multiline labels in wxToggleButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:47:01 +00:00
Vadim Zeitlin
8758875e0b
added enabled and hidden attributes to radio box items in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
0c7db140c5
add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
Stefan Csomor
1bd9252b5b
adding logo on frontpage of pdflatex output
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 17:24:14 +00:00
Vadim Zeitlin
6b1eedc1bb
add more stock items ( #9799 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:38:02 +00:00
Stefan Csomor
f6852ff105
attempt to commit as utf8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 10:31:35 +00:00
Vadim Zeitlin
dfbe9d4f59
implement wxBitmap ctor from XBM data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 14:07:54 +00:00
Vadim Zeitlin
2186321ff5
big wxURI cleanup; it now handles Unicode characters correctly ( #3874 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 23:14:51 +00:00
Vadim Zeitlin
a6eac99d9e
mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Vadim Zeitlin
67ef83eb03
added wxFlexGridSizer::Add{Row,Col}Growable() ( #2603 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:06:50 +00:00
Vadim Zeitlin
9379b3f68d
mention that GetItemRect() is new in 2.9.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:02:38 +00:00
Vadim Zeitlin
f75e0c15ae
show busy cursor in wxLaunchDefaultBrowser and add a new flag to avoid it ( #9678 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:32:16 +00:00
Vadim Zeitlin
a29ab61c56
remove mentions of pos attribute, it never worked and it's time to remove it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 00:26:51 +00:00
Vadim Zeitlin
e974c5d258
implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
929b79014a
support wxListCtrl::GetViewRect() in report view too; test it in the sample ( #9484 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:12:12 +00:00