Vadim Zeitlin
9298a1c2ac
use a slightly less ugly way to conditionally suppress unused parameter warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 13:36:23 +00:00
Vadim Zeitlin
fba41cf33a
skip the header click event to allow sorting (done in the default handler) to take place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 21:14:00 +00:00
Vadim Zeitlin
fed76ce1e7
test non-resizeable and resizeable but with min size set columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 16:50:26 +00:00
Francesco Montorsi
8b6264b43e
add a 'Paint background' check menu item in the MyImageFrame class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 20:49:30 +00:00
Francesco Montorsi
3c5ab89b18
fix background repainting under wxMSW (not sure this is the best way to do it - but it works)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 22:53:38 +00:00
Jaakko Salli
8a337f95d8
Implement ability to rapidly change spin value of SpinCtrl property editor by moving mouse while one of the spin buttons is depressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:39:40 +00:00
Vadim Zeitlin
e2517f176b
add support for creating drop down toolbar buttons from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:11:54 +00:00
Vadim Zeitlin
2291f2f1b7
show the use of check and radio items in the toolbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:56:09 +00:00
Vadim Zeitlin
e7ae8a69ea
demonstrate column reordering -- currently it demonstrates that it's completely broken in various and interesting ways
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 00:23:34 +00:00
Vadim Zeitlin
24973882e4
removed small and tabular grid tests which didn't seem to do anything useful (will replace the latter with a test of column reodering soon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:13:46 +00:00
Vadim Zeitlin
ebaa7e48fe
really fix the typo in the message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:53:13 +00:00
Francesco Montorsi
0a29d575ca
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:49:56 +00:00
Francesco Montorsi
1bf045456f
fix crash caused by cancelling querybitmap dialog; fix crash caused by clicking 'add widget icons' on an empty bitmapcombobox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:32:00 +00:00
Vadim Zeitlin
f3fe2d4ecb
remove wxVSCROLL from wxMessageDialog style (left over from prior experiments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 20:59:52 +00:00
Vadim Zeitlin
80cc5fc7ad
document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 19:11:22 +00:00
Vadim Zeitlin
21e413b224
fix file dialog caption
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:27:50 +00:00
Vadim Zeitlin
95706ac162
ignore files produced by the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:52:34 +00:00
Vadim Zeitlin
e536b75069
really ensure that the pointer returned from MyConnection::OnRequest() remains valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 11:00:32 +00:00
Vadim Zeitlin
6f0114437c
assert in AddCatalog() if Init() hadn't been called and also check that we have a valid language spec in wxMsgCatalogFile::Load() to ensure we don't form invalid paths there; call Init() before AddCatalog() in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 19:06:59 +00:00
Robert Roebling
7448d67c49
Added wxChoice renderer to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:08:38 +00:00
Vadim Zeitlin
d2824cdb7f
Review/simplify/cleanup MDI classes for all platforms and introduce base
...
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.
Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 02:46:19 +00:00
Francesco Montorsi
4b905cbcb6
build fix (the sample uses an undocumented function of wxFont)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 19:32:23 +00:00
Vadim Zeitlin
81d3348a9b
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:43:11 +00:00
Jaakko Salli
d7e2b52235
Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 18:53:37 +00:00
Vadim Zeitlin
254cb7348f
grid sample doesn't need neither html nor xml library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 02:06:25 +00:00
Václav Slavík
b6e2aaace5
must close output file before reading back from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:22:31 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Robert Roebling
62957e523c
Remove wxLog hack and put all controls in a panel to test TAB traversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 18:33:31 +00:00
Jaakko Salli
a8f4019041
Removed unused data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:23:42 +00:00
Jaakko Salli
68f9e025b9
Simplistic tab support is now default (tab focuses editor if unfocused, otherwise goes out of grid), no longer recognizes wxTAB_TRAVERSAL, unified key handling code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:11:44 +00:00
Robert Roebling
11339a3884
Use xpms for checked/unchecked states instead of drawing them (yielded junk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:58:39 +00:00
Robert Roebling
ea91ff8e33
Write directly to log target wxTextCtrl to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:27:16 +00:00
Robert Roebling
896074b9ba
wxMac actually crashes in any logging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:17:56 +00:00
Robert Roebling
b57748f93f
wxMac crashes in wxLog() statements with string.GetData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:06:58 +00:00
Jaakko Salli
c324ed9459
Add maximum width for sample's frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:31:46 +00:00
Jaakko Salli
7bb89a662b
Update 'intro' comment in propgrid sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:24:27 +00:00
Jaakko Salli
1425eca550
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:19:50 +00:00
Vadim Zeitlin
65669e3152
add very simple (but already exposing many problems) wxIPC benchmark
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:35:03 +00:00
Vadim Zeitlin
f34851f5af
remove obsolete makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 10:02:45 +00:00
Vadim Zeitlin
fa05a943e9
implement GetSizeAvailableForScrollTarget() in MyScrolledWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:39:27 +00:00
Robert Roebling
04aac2dd12
For some reason, wxMac now requires explicit sizes in this sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:56:14 +00:00
Jouk Jansen
ea279fc5af
update XPM variable names for docview sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:40:55 +00:00
Vadim Zeitlin
00a1c49a77
compilation fix for wxUSE_STD_IOSTREAM==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:22:53 +00:00
Jaakko Salli
2fd4a52415
wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 17:15:59 +00:00
Vadim Zeitlin
ea84f255b1
no real changes, just come cleanup (use constants instead of hardcoded values; remove _T()s; don't allocate things on the heap unnecessarily; don't make members public or protected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 13:29:26 +00:00
Vadim Zeitlin
916eabe60e
add wxGenericStaticText ( #9656 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:04:00 +00:00
Jaakko Salli
703ee9f5ec
GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:22:08 +00:00
Robert Roebling
a400d56be1
Added test for Select()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:55:23 +00:00
Jaakko Salli
9b5bafcf38
Removed dysfunctional wxPGPropery::PrepareValueForDialogEditing(); Replaced its functionality with wxPropertyGrid::GetPendingEditedValue(); Added wxPropertyGrid::PerformValidation() flags so it can be called in generic context.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:15:10 +00:00
Vadim Zeitlin
7da8bfe30d
add VC9 project files ( closes #9960 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:42:00 +00:00
Vadim Zeitlin
8ece421c6c
rebaked makefiles with 0.2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:44:49 +00:00
Jaakko Salli
d61d8cffa9
Eliminated last property generation macros from props.h (colour property gen ones, now use subclassing facilities present in wx(System)ColourProperty)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:28:05 +00:00
Jaakko Salli
3a89adc1f0
Removed wxLongStringProperty derived property creator macros (just subclass and implement OnButtonClick()); Partially fixed wxPGProperty::PrepareValueForDialogEditing()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:56:43 +00:00
Jaakko Salli
5a45dd6fd9
When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:48:27 +00:00
Jaakko Salli
75b6c4ce92
Removed GetExpandedProperties() (used to act as poor man's GetEditableState())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:24:05 +00:00
Jaakko Salli
ba9ed9d0c6
Removed wxPropertyGridInterface::ClearPropertyValue() (use SetPropertyValue(defaultValue) instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:10:00 +00:00
Jaakko Salli
ea5af9c535
Fix RCS-IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 18:03:43 +00:00
Jaakko Salli
58f43b41b1
Use wxPGEditor_X instead of wxPGEditor(X), as in new docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 14:23:28 +00:00
Vadim Zeitlin
45a50a2e8f
fix VC6 compilation problems due to its for variables scope brokenness ( closes #10035 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 21:52:59 +00:00
Vadim Zeitlin
73d28bdf3b
don't build memcheck (fails in release) and MFC (fails if MFC is not available) samples by default ( #10031 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:29:00 +00:00
Vadim Zeitlin
2d1df0fc58
merged docvwmdi sample into docview one to avoid having 2 almost identical samples; and modernized and cleaned up the code in the process
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:16:01 +00:00
Václav Slavík
cf78bdcb68
added wxTaskBarIcon::IsAvailable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:54:02 +00:00
Václav Slavík
d4b7035be4
fixed incorrect separators markup in samples/xrc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:04:32 +00:00
Jaakko Salli
704ceca8d2
Removed wxPG_EX_LEGACY_VALIDATORS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:52:57 +00:00
Jaakko Salli
c8074be06b
RegisterAdditionalEditors() to work even if no wxPropertyGrids created, in sample moved editor registration before first CreateGrid() call to prevent crash, removed wxPG_USE_WXMODULE support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:50:03 +00:00
Jaakko Salli
524d97b1c2
Register multibutton editor class in frame ctor instead of CreateGrid() (this fixes memleak in tests)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:29:50 +00:00
Jaakko Salli
adea524493
Use wxPropertyGridEventHandler in commented-out sample connect code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:17:21 +00:00
Jaakko Salli
effb029c30
wxPropertyGridInterface docs cleanup and fixes, removed some rarely needed member functions with simple workarounds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:09:33 +00:00
Jaakko Salli
7a344f1be4
Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer using PG specific class macros in its sample), other editors.h interface fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 14:03:10 +00:00
Jaakko Salli
5a8009d2f1
Removed wxPropertyGridManager::GetChildrentCount() member functions - now use page->GetRoot()->GetChildCount() and such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:23:54 +00:00
Jaakko Salli
0f457f4de2
Reduce ambiguity of selection functions in wxPropertyGridManager, make them better match for wxPropertyGrid ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:11:02 +00:00
Jaakko Salli
1802a91dec
Fixed bug: Settings property attribute to wxNullVariant would cause GetAttribute() to fail (wxPG SourceForge bug #2128485 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:13:32 +00:00
Jaakko Salli
a6162a3eaf
'wx(U)LongLong << variant' type safety improved (now works even if variant has plain long value). Added << operator and WXVARIANT template specialization for wx(U)LongLong_t as well. Changed WX_PG_DECLARE/IMPLEMENT_VARIANT_DATA so that classname << variant can be customized.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:54:22 +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
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