Commit Graph

17235 Commits

Author SHA1 Message Date
Robin Dunn
d00fe0d422 Fixed wxMac's wxTextCtrl::SetSelection so that (-1,-1) will select the
entire value like other ports do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:38:56 +00:00
Vadim Zeitlin
7a7fb211dc return wxKILL_OK in krc instead of leaving it unchanged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:32:44 +00:00
Vadim Zeitlin
fd4b068652 fixed bug with searching in sorted arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:05:24 +00:00
Vadim Zeitlin
ae8b9dcc4a allow vetoing wxEVT_COMMAND_LIST_COL_BEGIN_DRAG (backported from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 19:08:41 +00:00
Stefan Csomor
5c80bed5e7 cleanup and classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:45:06 +00:00
Robin Dunn
1b3864922c Added a sample to the demo specifically for PopupMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:12:07 +00:00
Robin Dunn
62e3042f36 Backported fix allowing for wxMac popup menus to have submenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:10:57 +00:00
Robin Dunn
efe8d3eb34 Test a submenu on the popup menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 15:20:49 +00:00
Patrick K. O'Brien
5d054a19fd Fix column count.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 23:12:04 +00:00
Václav Slavík
83e991d00e don't use deprecated macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 23:01:42 +00:00
Robin Dunn
d268268837 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:58:06 +00:00
Robin Dunn
d8ac6a6267 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:58:03 +00:00
Robin Dunn
d6b4de54b5 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:57:22 +00:00
Robin Dunn
ba8161f46b Added __nonzero__ method to more classes that have a Ok or IsOk
method.  This allows code like "if obj: ..." to be the same as
"if obj.IsOk(): ..."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:45:27 +00:00
Robin Dunn
59f89e9738 No need to have the old PyCrust in the new namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:42:58 +00:00
Robin Dunn
88cd49f777 Added __nonzero__ method to more classes that have a Ok or IsOk
method.  This allows code like "if obj: ..." to be the same as
"if obj.Ok: ..."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:38:11 +00:00
Robin Dunn
d2d844fa99 Test code for removing a submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:35:39 +00:00
Robin Dunn
9b945ca87a SF patch [ 718899 ] wxGrid - output parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 15:49:00 +00:00
Vadim Zeitlin
4140358663 add missing symbols to wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 13:15:22 +00:00
Roman Rolinsky
22b3452638 - changed encoding selection, removed -i option
- replace command


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 09:31:39 +00:00
Gilles Depeyrot
8ed35e7493 if we are not in the main thread, output the assert directly and trap since
dialogs cannot be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 06:13:48 +00:00
Robin Dunn
ea841e4340 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:44:44 +00:00
Robin Dunn
ed23e4b31b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:43:17 +00:00
Robin Dunn
5d5c8aa70e Regenerated the default script batch files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:43:05 +00:00
Robin Dunn
9e52ade763 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:41:48 +00:00
Robin Dunn
62107846d2 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:40:08 +00:00
Robin Dunn
2321b3c778 Added __nonzero__ method to wxTreeItemId.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:28:38 +00:00
Robin Dunn
6416289540 Updated demo for new Py packages, and updated the html-ized version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:14:15 +00:00
Robin Dunn
8245592fde wxHtmlWindow::LoadFile is now available, added wxNotebookPage helper class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:13:07 +00:00
Robin Dunn
c2a79c3e1c Removed the old tests that I havn't looked at or used for years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 18:54:43 +00:00
Robin Dunn
5f933e58ef Patrick O'Brien's PyCrust package has been renamed to Py and now
includes several new tools.  As part of the change the location of the
pacakge has changed as well, it is now accessible as "from wxPython
import py" (or "from wx import py" using the new namespace.)  There
are still some transition moudules in the wxPython.lib.PyCrust mackage
that will issue a warning and then import what is needed from the new
package.  These will be removed in a future release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 17:44:53 +00:00
Robin Dunn
81c9a1a8e7 Use a different window style to help ensure there are no window
decorations added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:26:35 +00:00
Robin Dunn
4f10f2e0e1 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:24:53 +00:00
Robin Dunn
ab829dd986 Some updates for wxHtml classes, and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:23:30 +00:00
Robin Dunn
f50d205d88 Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:04:18 +00:00
Václav Slavík
e19e065d15 forgot to add LoadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:02:31 +00:00
Robin Dunn
e231bca2ab More wxSTC tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 01:37:05 +00:00
Robin Dunn
fce40eebe3 MOre wxSTC tweaks and a buffer overflow fix too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 01:06:42 +00:00
Robin Dunn
058eaf8285 Fix VC6 compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 00:02:28 +00:00
Robin Dunn
09aceb98d9 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:58:03 +00:00
Robin Dunn
9e94c29759 CHanged IconWidth from a constant to a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:56:31 +00:00
Robin Dunn
e5088d14a2 Updated wxSTC to Scintilla 1.51
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:41:31 +00:00
Václav Slavík
a0bcb6934e backported GTK2 default font fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:28:30 +00:00
Robin Dunn
b28d567bb0 Turn off all border styles for the inner window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:24:14 +00:00
Václav Slavík
c44ad973b9 partially backported wxHTML SetFonts improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:19:19 +00:00
Václav Slavík
3d20fa7032 XRC fixes for <object_ref> and relative file names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:16:27 +00:00
Václav Slavík
dc5003c6f3 backported wxFileConfig fix for Unicode mode: always use utf-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:14:15 +00:00
Václav Slavík
0da58ad502 backported correct CDATA and <script> handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:11:53 +00:00
Václav Slavík
9d308583a4 more backported chnages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:10:44 +00:00
Václav Slavík
9a345c9277 backported toolbar handler improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:09:21 +00:00