Commit Graph

93 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
477350ceb4 1. fruitless attempts to reproduce wxNotebook bug in the sample
2. multiple selection related changes in the treetest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:49:05 +00:00
Vadim Zeitlin
7cc8c9884d multiple/single sel mode can now be toggled from menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 00:30:59 +00:00
Sylvain Bougnoux
5d097345ba tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:13:09 +00:00
Vadim Zeitlin
3dbeaa523d added dnd support to generic wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 22:12:58 +00:00
Vadim Zeitlin
e97320d40d compilation fix for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:07:51 +00:00
Vadim Zeitlin
5888ef1e7d 1. dnd demo in treetest
2. compilation fix in drawing (for VC++)
3. refresh bug fixed in regtest, dnd/copying keys seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:57:33 +00:00
Vadim Zeitlin
31405c014d added test of bg colour in the tree sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:56:41 +00:00
Vadim Zeitlin
75c74ca055 1. added test for wxTreeCtrl::Insert(size_t index)
2. temporary test code for wxCalendarCtrl in controls.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:29:26 +00:00
Vadim Zeitlin
9ec64fa758 wxTreeCtrl has colours and fonts too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 13:18:14 +00:00
Robert Roebling
247e5b1632 TreeTest compiles again,
Found flickering bug wrt cursors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 19:56:38 +00:00
Robert Roebling
f7a11f8c8e Updated configure (not only configure.in)
Refresh improvements


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 19:38:05 +00:00
Robert Roebling
5fd11f0971 Added test for wxTreeCtrl::GetChildrenCount()
Fixed Reparent (added heaps of debug code for this)
  Small mods to glcanvas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 19:43:56 +00:00
Vadim Zeitlin
8dc9904630 fixed compilation and added support for all 4 images (as a side effect) to the
generic tree control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:25:19 +00:00
Vadim Zeitlin
74b31181b3 1. Implemented support for different icons for different states (expanded,
selected, combination of them) for the tree control (and doc'd it)
2. removed code which was sending extra event if wxFrame::SetSize() was
   used
3. important changes to wxWizard interface
4. small compilation corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 22:47:56 +00:00
Sylvain Bougnoux
9ce29a28cd change some #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-18 12:50:30 +00:00