Paul Cornett
b143cf708b
64-bit warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:36:31 +00:00
Vadim Zeitlin
5c2603c2e8
make log messages more readable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:24:19 +00:00
Robert Roebling
3bb918c097
Added test to reproduce [ 1541148 ] wxTreeCtrol: crash if right mouse click
...
The MSW tree control sends a series of invalid events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:13:17 +00:00
Vadim Zeitlin
998cee6792
make control children of a panel and not directly the frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 23:43:35 +00:00
Włodzimierz Skiba
b2c82287f6
Final steps to move to common icon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:43:18 +00:00
Stefan Neis
344d066d17
Use xpm for PM port on OS/2 as well.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:13:51 +00:00
Václav Slavík
0c36b36e98
test changing of selected item's icon in DoToggleIcon as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:27:36 +00:00
Włodzimierz Skiba
5f60a273bd
PRIOR/NEXT build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 12:17:48 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Kevin Hock
9489a5357f
Add comment to ITEM_MENU reflecting why it's the best choice for context menus in a tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 03:03:40 +00:00
Vadim Zeitlin
5fd60e085a
test EVT_TREE_ITEM_RIGHT_CLICK as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 22:32:24 +00:00
Vadim Zeitlin
c545c23009
log right mouse down/up events too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:03:32 +00:00
Vadim Zeitlin
646a8a4d0e
make it possible to change the text of the item being edited from OnBeginLabelEdit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 00:27:52 +00:00
Vadim Zeitlin
ef46ef23cb
added EVT_TREE_ITEM_MENU test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:13:41 +00:00
Vadim Zeitlin
bee09d36e2
avoid asserts from calling isprint(c) with non ASCII c
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:03:14 +00:00
Robert Roebling
ac103441d1
Applied patch which solved conflicts between wxWidgets
...
and GTK+'s context menu code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:27:15 +00:00
Włodzimierz Skiba
b713f8919c
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Ryan Norton
0c6099b79e
Revert files to previous version that were affected by wxIsXXX((wxChar)X) change. Note - passing a negative value to those c lib functions is undefined, and could return true on platforms using a lookup table, for example (might crash also?), which is what will happen when casting to char to ansii mode and a char is above 127
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 07:09:35 +00:00
Włodzimierz Skiba
32b1391332
Warning fixes to unused variables, int/wxChar keycode and other typecasting, not mixing 'type*' and 'type' variables in single line, IsEmpty to empty replacement etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:18:04 +00:00
Włodzimierz Skiba
925e9792d3
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
b29903d485
wxUSE_LOG fixes and sizer adjustements related to positioning with/without LOG output.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:29:21 +00:00
Dimitri Schoolwerth
2153bf897a
replaced menu calls Append([...], true) with the less cryptic AppendCheckItem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 00:02:35 +00:00
Włodzimierz Skiba
9013f51341
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 17:23:15 +00:00
Mattia Barbon
e4f3eb42f2
Compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:21:11 +00:00
Vadim Zeitlin
dc631754fc
added Select() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:35:36 +00:00
Julian Smart
dacaa6f142
Applied patch [ 846809 ] Cleaning of 11 samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:25:46 +00:00
Vadim Zeitlin
e4a8a17202
fixed crash on startup under GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 20:08:12 +00:00
Vadim Zeitlin
a67c56641d
added IsVisible() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 19:40:35 +00:00
Julian Smart
256b8649ff
Add longtool tip for a button in wxToolBar test
...
Various warning suppressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 12:52:20 +00:00
Mattia Barbon
7df07b10aa
various compilation/warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:04:42 +00:00
Vadim Zeitlin
2d75caaa6d
fixes for deprecated warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:01:00 +00:00
Vadim Zeitlin
ae8c4b33a3
added state image support (patch 530155)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:46:48 +00:00
Julian Smart
1cf1238db4
Reset m_lastItem to avoid crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 15:38:55 +00:00
Julian Smart
8dda7c0c48
Applied [ 703017 ] TreeCtrl sample build fails when using generic control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:40:35 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Ron Lee
b1d4dd7add
Split this out from other changes to keep things sane..
...
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/ / and s/TRUE/true/ etc. a couple of these too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Ron Lee
99006e446e
Added wxTreeCtrl::GetItemParent to deprecate GetParent.
...
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.
Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.
Updated docs to suit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Václav Slavík
3acd4349a5
Unicode compilation fixes for treectrl sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:21:33 +00:00
Vadim Zeitlin
1944ad7618
1. more consistency in wxTree/ListEvent methods naming convention:
...
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Vadim Zeitlin
9602d7ae69
made the validation message more clear
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:35:52 +00:00
Chris Elliott
6f4aae6098
treectrl sample modified to use XPMs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:05:01 +00:00
Julian Smart
9f24e0b5b4
BC++ 32-bit makefile now copies setup.h to the correct place
...
Fixed compilo in treetest.cpp
Fixed version numbers in make*.env
Added dummy keyboard.rc so makefile.vc works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:12:56 +00:00
Václav Slavík
368d59f0d8
don't use deprecated wxImage methods inside wxWin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Vadim Zeitlin
11ab1dfbfe
enhanced sample to show the state of the different styles, added reset to default command
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:10:43 +00:00
Vadim Zeitlin
75cd928833
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 13:49:40 +00:00
Julian Smart
ec312631c6
Finally reverted treectrl name back to treetest after a long
...
history of problems with the name clash. This cures a link problem
with the sample compiled with wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:22:02 +00:00
Ron Lee
5301d93336
renamed treectrl sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:37:46 +00:00
Vadim Zeitlin
dee1b66f85
changed default image size to 16
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 01:17:08 +00:00
Julian Smart
4767810533
Fixed blatant non-initialisation bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 11:45:03 +00:00
Vadim Zeitlin
2c8e47380e
1. wxShell fixes: now really uses shell (it wasn't different from wxExecute!)
...
and also added a version which captures the programs output
2. fix for compilers which have void ftime() (my mingw does) in timercmn.cpp
3. updated console sample to test wxShell/wxExecute
4. treetest now can toggle images or change their size
5. wxTreeCtrl doesn't crash if it has no image list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 10:31:34 +00:00