Kevin Ollivier
7664a67f57
Rebake after bakefile changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:59:10 +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
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
7eac5c531c
Eliminated WX_PG_DECLARE_X_METHODS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:13:51 +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
Jaakko Salli
7926988b5f
Added section for propgrid sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:25:48 +00:00
Vadim Zeitlin
c70d645d7f
rebaked after propgrid sample addition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:44:48 +00:00
Jaakko Salli
85ead075be
Added 'propgrid'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 15:23:18 +00:00
Jaakko Salli
68545f7889
Removed some old testing code. Added more appropriate minimal content.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:49:52 +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
Jaakko Salli
938593c00a
Removed some test code left in a long time ago
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:00:42 +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
Vadim Zeitlin
4a25320b90
add SetUseNativeColLabels() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:05:16 +00:00
Vadim Zeitlin
d9f4cc1060
make the simple canvas larger as otherwise the simple frame couldn't be resized to make the horizontal scrollbar appear in it because of the title string width; some small cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 20:43:13 +00:00
Vadim Zeitlin
55ab5200fb
delete the old labels when recreating the spin controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:53:31 +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
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
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
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
Stefan Csomor
ffa9db0d2a
adding new toolkits for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:14:21 +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
Stefan Csomor
1aac44b9da
adding new toolkits for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 12:30:18 +00:00
Vadim Zeitlin
b3ca7c855f
don't use wxStrings in a statically initialized array of structs, VC6 doesn't like it (re-closes #9492 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 11:22:58 +00:00
Vadim Zeitlin
4e2dc7895b
add tests for the remaining message box flags (wxNO_DEFAULT and wxCENTRE)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-09 17:25:34 +00:00
Benjamin Williams
0766faa34e
fix aui sample breakage; added some accessor methods to wxAuiToolBarItem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 09:56:49 +00:00
Vadim Zeitlin
44b25eac69
added a dialog for wxMessageBox testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 00:49:06 +00:00
Vadim Zeitlin
5150a29ab9
no changes, fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:41:59 +00:00
Vadim Zeitlin
4223fc75b5
use more clear messaage about the custom labels in message box test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 16:56:45 +00:00
Kevin Ollivier
509f339a81
rebake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:57:32 +00:00
Vadim Zeitlin
0c6afdbf4c
test showing parent/sibling items too ( #9903 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:16:56 +00:00
Vadim Zeitlin
2549484fe5
compilation fix in wxUSE_STL case after r54761
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 15:05:02 +00:00
Vadim Zeitlin
e85eaef3fa
override DoOpen/SaveDocument() instead of OnOpen/SaveDocument(), just as in docmdi sample after r55141/r55142/r55143 changes ( #9892 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 11:38:12 +00:00
Vadim Zeitlin
f65e33a31d
get rid of duplicate enum ( #9895 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 09:59:11 +00:00
Benjamin Williams
b5d196c1d4
updated aui sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:28:26 +00:00
Stefan Csomor
d3d256efc1
fixing typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 14:14:35 +00:00
Vadim Zeitlin
b2c9e3447d
remove unneeded dependencies from bakefiles and regenerate the make/project files ( closes #9850 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 22:18:31 +00:00
Vadim Zeitlin
67abc78356
add a radio box to select the combobox type ( #9845 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:37:22 +00:00
Vadim Zeitlin
e928566f7d
document that text drawing is not affected by the current logical function and update the sample to not imply that it is ( #9842 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:14:58 +00:00
Vadim Zeitlin
e0ac7d941f
continue even if the bitmaps can't be found; look for them in argv[0] directory too; use more clear name for ROP screen in the menu ( #9839 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:06:21 +00:00
Stefan Csomor
c9d13e86a6
updating the comment as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:58:32 +00:00
Stefan Csomor
1c6dca77a1
using the 'new' bottleneck methods, fixing bugreport from Bengt Nilsson <bengt.nilsson11@spray.se>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:49:42 +00:00
Vadim Zeitlin
11986debff
don't use the same tool ids for multiple tools, this is bad idea under Windows and breaks tool commands handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:40:18 +00:00
Stefan Csomor
78a9167e55
adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:20:57 +00:00
Paul Cornett
28c45c53a6
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:26 +00:00
Vadim Zeitlin
2a998b7344
label different controls on spin page ( #9816 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 16:58:54 +00:00
Stefan Csomor
e5398809bc
custom info.plist with supported document types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 11:55:21 +00:00