Vadim Zeitlin
952ff7bc3c
fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl; add a test for it to the widgets sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:31:09 +00:00
Václav Slavík
52bbab36a2
report Unicode characters when reporting EVT_CHAR in keyboard sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:09:20 +00:00
Václav Slavík
7ef3025745
use the new DoLogString signature (fixes with 2.8 compat switched off)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 10:57:48 +00:00
Robert Roebling
0286bbe9b3
wxCairoGraphics need a font event without drawing text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 18:53:02 +00:00
Robert Roebling
7e38ae608c
Some testing code for wxGraphicsContext printing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 18:50:27 +00:00
Robert Roebling
efdb961d8f
Reverted accidental change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:08:27 +00:00
Robert Roebling
32cb55b0bb
Reverted accidental change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:06:14 +00:00
Robert Roebling
e5a2506df5
Reverted accidental change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:04:52 +00:00
Robert Roebling
a4f03d8798
Layout improvements for CalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:01:13 +00:00
Robert Roebling
7b0ccb8a60
[ 1936700 ] wxCAL_SHOW_WEEK_NUMBERS, slightly modified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:31:50 +00:00
Robert Roebling
51e21862c3
Use correct tree style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-15 09:06:11 +00:00
Robert Roebling
0c8ed3eb3a
Support bitmaps and text and header columns using wxImageList, minor sizing corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 20:14:04 +00:00
Robert Roebling
419a360703
Corrected/added support for column headers with icon and text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 20:07:53 +00:00
Robert Roebling
c232dfe592
Add test for context menu, fixed mem leak, fixed focus problem when re-editing same item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 10:40:58 +00:00
Robert Roebling
f2b7492a88
By default, align renderers as column header under GTK+, too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 10:39:57 +00:00
Robert Roebling
e39de7022c
Split wxDataViewVirtualModel fork wxDataViewIndexModel to make the code clearer and let wxDataViewIndexModel behave the same on all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 09:27:21 +00:00
Robert Roebling
a39d750168
Test header and renderer aligment separately, II
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:16:04 +00:00
Robert Roebling
f593b0b9b0
Test header and renderer aligment separately
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:07:23 +00:00
Vadim Zeitlin
4e553af160
don't bounce back events to the text control recursively as this results in infinite recursion under wxGTK and probably other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 17:02:25 +00:00
Vadim Zeitlin
87e024f7d5
delay setting the window shape until it is realized (slightly modified patch 1935497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:14:49 +00:00
Vadim Zeitlin
f1223c8d55
added a note about entry point in Unicode build (patch 1934836)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:01:01 +00:00
Vadim Zeitlin
9b8d875536
demo toggling border and 3D sash styles (last part of patch 1927817)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:46:49 +00:00
Vadim Zeitlin
513f592da6
use wxJoin() instead of redoing it manually in the code logging the messages (part of patch 1927817)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:45:36 +00:00
Vadim Zeitlin
20fe9c5acc
demonstrate fuller about dialog in ShowFullAboutDialog() (part of patch 1927817)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:42:48 +00:00
Vadim Zeitlin
6bdf5153fe
no changes, just some cleanup (patch 1918720)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 13:57:23 +00:00
Robert Roebling
ede0e4968c
Also right-align second column
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 18:25:11 +00:00
Robert Roebling
78f6b056e4
Added test for right alignment of 1st column
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:29:08 +00:00
Robert Roebling
83087c601f
Added test for left/centre/right alignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:26:29 +00:00
Robert Roebling
0bdfa38835
Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:09:15 +00:00
Vadim Zeitlin
db0b0942f8
implemented toggling of wxCAL_MONDAY_FIRST in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:35:43 +00:00
Vadim Zeitlin
82c6027b47
implemented Mark() in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:26:39 +00:00
Vadim Zeitlin
ee22a3a2a6
implemented HitTest() in the native MSW version; added test for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:58:44 +00:00
Vadim Zeitlin
bf956fac0e
move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
628e155d8c
added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Robin Dunn
befc36f888
Use C++ names in the text, not wxPython names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:27:12 +00:00
Vadim Zeitlin
b3514fd617
MSW fixes for the last change: call Realize() after changing the toolbar; hide/show the window when removing/adding it back as it isn't done by Remove/InsertTool() under MSW unlike under GTK (should it?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:32:41 +00:00
Vadim Zeitlin
1be45608e7
Several fixes for removing/readding controls to the toolbar:
...
1. Don't destroy the control in wxToolBar::RemoveTool() as this prevents
it from being added back with is the purpose of using RemoveTool() rather
than DeleteTool().
2. Call wxToolBarTool::Attach/Detach() from the base code, not just from wxMSW
and wxMac (wasn't called by wxGTK at all).
3. Allow adding back the removed control tool in wxGTK.
4. Add test for removing/adding back a control tool to the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:10:19 +00:00
Francesco Montorsi
b052c79adc
the control which can be enabled/disabled is a text control not a listbox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 18:04:21 +00:00
Vadim Zeitlin
223867913b
add timing of synchronous execution
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:41:37 +00:00
Vadim Zeitlin
69328170cc
no real changes, just added a default value for the command used by exec with redirect to avoid having to type it every time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:37:04 +00:00
Vadim Zeitlin
1282ddbb4d
don't show more than 20 lines of redirected IO, just 10 first and last ones is enough to check that the code works correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:49:45 +00:00
Vadim Zeitlin
ea58aac580
correct the REDIRECT_COMMAND definition for Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 04:08:03 +00:00
Vadim Zeitlin
42c46d5283
kill the process launched by wxExecute(ASYNC) to avoid leaving unneeded processes running
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:55:03 +00:00
Vadim Zeitlin
331abcf7d7
uncomment wxExecute(ASYNC) test now that it's supposed to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:48:29 +00:00
Vadim Zeitlin
8cd6a9ad50
added wxSpinCtrlDouble (slightly modified patch 1835864)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 14:04:19 +00:00
Vadim Zeitlin
6ef2b23056
added test of focusing/selecting another item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:04:51 +00:00
Vadim Zeitlin
b1859b1a1b
added support for double arguments to wxCmdLineParser (patch 1907289)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:33:25 +00:00
Vadim Zeitlin
92c01615ec
remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit]() ones (patch 1905759)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:08:02 +00:00
Václav Slavík
fe828a03f4
reverted Julian's r44600, it broke help window behavior so that it prevented apps from closing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:58:32 +00:00
Vadim Zeitlin
647d7ce90b
use %p for printing out a pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 17:11:37 +00:00