Commit Graph

20789 Commits

Author SHA1 Message Date
Benjamin Williams
c6c505952e minor tab height bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 18:25:52 +00:00
Robin Dunn
cb5d54ff9e Don't use wxLB_EXTENDED with the checklistbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 18:09:21 +00:00
Julian Smart
abc2857fa0 Corrected wxMultiChoiceDialog if wxCheckListBox is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 17:08:23 +00:00
Robert Roebling
dd9b4376a3 Minor change to stackwalker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 15:03:30 +00:00
Vadim Zeitlin
d57d491b9f fix some gcc warnings due to SQLINTEGER not being long under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 14:45:44 +00:00
Benjamin Williams
613a0c4c55 readded layer insert code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 09:51:57 +00:00
Benjamin Williams
ca0d44071c tab ctrl height api fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 07:03:51 +00:00
Kevin Ollivier
2201013094 Disable SortItems support for now, it is causing a crash on the wxPython side and we get the column click event too late to affect the initial sort.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 00:24:19 +00:00
Vadim Zeitlin
373d466f85 changed last DrawButton() parameter from bool to int to allow for future extensions (patch 1595264)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:11 +00:00
Vadim Zeitlin
ac371a8793 wxStandardPathsCF::GetExecutablePath() implementation doesn't use CF API but Carbon one and so doesn't compile in wxCocoa, don't use it there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:37:33 +00:00
Vadim Zeitlin
0197bcdd13 wxCocoa doesn't have multi point wxRegion ctor neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:35:27 +00:00
Vadim Zeitlin
4683dc1c43 call SetAnimation() from the ctor instead of just assigning m_animation directly to ensure that UpdateBackingStoreWithStaticImage() is initially called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:16:58 +00:00
Vadim Zeitlin
14ff7a5992 use wxFputs(s) instead of puts(s.mb_str()) to avoid crashes when conversion fails (see bug 1591388)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:52:46 +00:00
Vadim Zeitlin
b9993189cc show all available information in the dialog (somewhat modified patch 1592306)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:43:27 +00:00
Vadim Zeitlin
56eebcdac2 in addition to wxWinCE, also set background colour explicitly for GTK1, otherwise it is black there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:38:49 +00:00
Vadim Zeitlin
f8a98fa28c GetColumnTextValue() can't return a reference to a temporary string, so changed it to return wxString by value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:25:19 +00:00
Vadim Zeitlin
90412a12f4 gcc warning fix: don't use NULL where integer is required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:18:52 +00:00
Benjamin Williams
dbbe02ea5a gtk crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:01:38 +00:00
Robert Roebling
8c8b50a9df Add cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:53:06 +00:00
Benjamin Williams
9fbb7d80f8 tab sizing and split sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:32:40 +00:00
Vadim Zeitlin
169147c8be made GetMultiLineTextExtent() const (part of patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:06:56 +00:00
Julian Smart
823b140b65 Fixed compile error on Wine due to type mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 17:58:27 +00:00
Julian Smart
0034bd135c Added missing arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:35:51 +00:00
Julian Smart
56fb1bca35 Use LONG instead of long (some Wine headers complain)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:30:38 +00:00
Julian Smart
82c51a8ec9 Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:07:59 +00:00
Stefan Neis
9ffdd8cf3c Applied toolbar patch for wxTB_RIGHT support (patch #1595081).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:06:07 +00:00
Julian Smart
219b657fbe Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:54:06 +00:00
Julian Smart
dc484d491b Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:39:12 +00:00
Robert Roebling
a82c22998b Applied wxStackWalker improvement part of
item #1591718, [wxGTK] Native assert dialog and optimized stack walker


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 14:33:03 +00:00
Julian Smart
bade0251e3 Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:35:23 +00:00
Robert Roebling
a95d5751f9 Send delete item event just before the item is actually
deleted (as per wxMSW). Also include the client data
   (long value) in the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:27:13 +00:00
Julian Smart
0396d31b57 GTK+1 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:11:06 +00:00
Robert Roebling
ac7ad70d4c [ 1590221 ] wxStandardPaths::GetExecutablePath
Required for optimised stackwalker patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Julian Smart
6cd5337946 Fix for GTK+1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:47:12 +00:00
Kevin Ollivier
efa49f43ed Remove incorrect change that accidently made it into commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 05:21:19 +00:00
Kevin Ollivier
f0ed40adbf Add scrollbars if the columns exceed the horizontal space for the control, also, have SetColumnWidth store the value in the column's wxListItem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 04:08:13 +00:00
Kevin Ollivier
b3aee70835 Switching to a keyed list for storing information about the column data in each row, so that columns need not be set sequentially. Also, a tweak for drawing colored backgrounds when wxLC_VRULES is set, and add a few guards before calling GetColumnInfo().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 01:01:05 +00:00
Vadim Zeitlin
e10b8ce820 fix the bug with renaming groups leaving wxFileConfig in inconsistent state (closes 705022)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:11:01 +00:00
Robin Dunn
7f5ff1b2a9 wxFD_SETSIZE --> FD_SETSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:38:46 +00:00
Robin Dunn
11d6793f15 Remove superfluous assert that conflicts with style settings needed on
wxGTK to get the same effect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:02:07 +00:00
Julian Smart
1b8cd4656f Removed trailing comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 10:25:24 +00:00
Julian Smart
42a2ba5e65 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 10:24:39 +00:00
Julian Smart
4c79f9c160 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 10:11:04 +00:00
Robin Dunn
037c7b4c7b Some wxCollapsiblePane tweaks:
- Use wxCP_DEFAULT_STYLE
 - Share a single wxCollapsiblePaneNameStr for the native and generic
   versions
 - Use a wxPanel for the pane so tab traversal works in the pane


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:32:08 +00:00
Kevin Ollivier
d2af7584c0 A more complete fix for the generic control border issue, a fix for getting/setting wxListItemAttr info for the native control, fixes for HitTest considering the column the 0 item, and for GetItemRect being one off in virtual mode. Also a fix for the function call when using a custom sort routine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 05:41:12 +00:00
Robert Roebling
d723a1bac0 Use wxGTK_CONV instead of wxConvUTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 00:36:22 +00:00
Robert Roebling
ccdbdc8936 Added native selection rectangle drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 00:22:20 +00:00
Michael Wetherell
3c7f37eddb Fixes for wxVsnprintf not always null terminating and not always copying as much
as will fit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:48:50 +00:00
Włodzimierz Skiba
948f4c3735 WinCE background fix. Perhaps not only WinCE problem???.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:44:23 +00:00
Michael Wetherell
e98d32057d Fix for wxVsnprintf's %n.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:42:42 +00:00