Commit Graph

169 Commits

Author SHA1 Message Date
Julian Smart
9c8efca00a Removed obsolete files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@33849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 19:06:15 +00:00
Vadim Zeitlin
ccecc6542b set LVCFMT_IMAGE, this at least allows to show imageso n the right sidei n the first column too (and fixes bug 787781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 10:06:02 +00:00
Julian Smart
db1c50bccd Fixed bug [ 743664 ] wxListCtrl asserts when deleting its m_textCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:12:30 +00:00
Julian Smart
984424b443 Fixed wxListCtrl simple border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 07:43:49 +00:00
Robin Dunn
feb2d6d223 Prevent scrolling back to the top when calling SetItemCount again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 06:29:39 +00:00
Julian Smart
1b4c5c70bb More style issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Julian Smart
c5d4a908ee Backported the window border improvements to 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 08:36:40 +00:00
Robin Dunn
e2a07240ee SF Patch #728691, dangling pointer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 18:44:27 +00:00
Robin Dunn
84998713ea more informative error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:58:30 +00:00
Robin Dunn
8774540e37 Don't clear the HWND until after the UnsubclassWin so the old WndProc
will be restored.  Otherwise we get messages after the wxTextCtrl has
been destroyed.  (backport)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:33:47 +00:00
Robin Dunn
3563e7bce7 1. If EVT_LIST_DELETE_ALL_ITEMS was not handled then the
post-processing code to prevent LVN_DELETEITEM messages was not
   getting executed.  Changed it so the post processing always
   happens.

2. It's possible with some versions of comctl32 that garbage values
   can be passed in nmLV->lParam so don't try to get the internal item
   data pointer from it.  This should close bug# 659939


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 02:27:55 +00:00
Robin Dunn
f7530f9459 Final (hopefully) version of the DeleteAllItems fix for 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 05:55:04 +00:00
Robin Dunn
4742e89355 Backported the "attempt to fix crash in DeleteAllItems()" fix from the
trunk, and added a guard against fetching item data while in the
process of deleting the item's data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:58:12 +00:00
Vadim Zeitlin
4e790786bb reset m_textCtrl after finishing editing a label (part of patch 639394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 13:08:24 +00:00
Václav Slavík
6fb39fe84b Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:26:54 +00:00
Vadim Zeitlin
70e8d9f69c fix for compilation with wxUSE_WCHAR_T==0 (bug 615084)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 01:22:25 +00:00
Vadim Zeitlin
8edcec6652 removed LVN_HOTTRACK case completely -- why comment it out if we don't ever need it at all?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:26:54 +00:00
Vadim Zeitlin
6df55f5e46 set the column width in wxListEvent itself too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:24:13 +00:00
Vadim Zeitlin
824b2f9451 dy parameter in ScrollList() is the number of pixels, not lines (closes bug 628778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:14:38 +00:00
Václav Slavík
b4bcb03448 reverted 'doesn't compile, let's remove it' fix for mingw32 compilation problem -- works now with a definition in missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 19:42:42 +00:00
Julian Smart
a693d65e54 MinGW fix for XP fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:35:21 +00:00
Julian Smart
1553df7c3e Removed tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 13:34:44 +00:00
Julian Smart
4b2452426b Two fixes for wxListCtrl under XP.
1) Do not use lParam for LVN_HOTTRACK since this doesn't
have valid data.
2) Check for item validity in HDN_GETDISPINFOW notification and
return TRUE to stop further processing of this strange message.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 12:41:52 +00:00
Vadim Zeitlin
04ffef0afc don't try to process LVN_ITEMCHANGED events with iItem == -1 (this is always the case for virtual list controls and results in error messages)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 22:12:46 +00:00
Mattia Barbon
8f37ed893c Fix wxListEvent::GetLabel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:06:20 +00:00
Vadim Zeitlin
51e247cc98 don't allow TABbing away from the list control while the label is being edited (fixes bug 555749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 19:42:45 +00:00
Mattia Barbon
c3f482c546 Fix wxListEvent::GetData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 19:57:53 +00:00
Robin Dunn
e7d073c376 Fixed some off-by-one and other issues with drawing the HRULE/VRULE
lines.  Made the VRULEs line up with the column header splitter
lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 18:36:55 +00:00
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
Robin Dunn
0b190ffcee Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:06 +00:00
Robin Dunn
72db889479 Patch #581167
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:09:44 +00:00
Mattia Barbon
8ac67aa102 Allow compiling when _WIN32_IE < 0x300
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:11:19 +00:00
Robin Dunn
3709456403 Return more items in wxListCtrl::GetColumn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 17:47:54 +00:00
Robin Dunn
6149de710a Refactored my last change a bit and applied it in another place too.
Added the wx prefix to the other static funcitons for consistency.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 03:03:37 +00:00
Robin Dunn
73d8c5fd76 This fixes a crash that would happen when DeleteAllItems is called
when some items have attributes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 01:57:17 +00:00
Vadim Zeitlin
6aaef1403e fix for the crash when pressing TAB in the edit control created by EditLabel() (bug 555749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:23 +00:00
Vadim Zeitlin
14090241ce mingw/cygwin compilation fix (patch 556157)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:54:09 +00:00
Vadim Zeitlin
7cf46fdb3e fixed list item attributes when inserting/deleting items (patch 548391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:21:15 +00:00
Vadim Zeitlin
050e7ed73b added missing wxListItem copy ctor to wxMSW, moved wxListItem to the header
to avoid duplicating it in wxMSW and the generic versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:29:57 +00:00
Ron Lee
5b98eb2fa6 Added {S,G}etItem{Text,Background}Colour methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 20:31:46 +00:00
Václav Slavík
7391216edc added wx/msw/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 16:18:26 +00:00
Mattia Barbon
1297925905 More fixes for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 20:11:51 +00:00
Mattia Barbon
7cfdeaadb8 More blind fixes for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 21:23:47 +00:00
Mattia Barbon
0e7fa3a63f Blind fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 20:22:47 +00:00
Václav Slavík
8c21905b16 fix for (MSLU?) BEGIN/ENDEDITLABEL in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 13:22:03 +00:00
Mattia Barbon
ed8a10f817 Blind fix for Win32 daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 16:07:39 +00:00
Kendall Bennett
574c939ef1 Merges from Scitech Branch (George Davison):
Added wxDisplayChangedEvent and triggering in MSW, when display mode changes
this event gets triggered. I don't know what should happen with other OS's
since I am not familiar with how they handle mode changes.

Watcome Version 11 now compiles with wide character support.

Fixed watcom warnings in
	html/htmlwin.h
	imagbmp.h
	listctrl.h
	imagbmp.cpp
	quantize.cpp
	strconv.cpp
	variant.cpp
	dirctrlg.cpp
	treectlg.cpp
	m_style.cpp
	fontenum.cpp
	listctrl.cpp
	ole\dataobj.cpp
	textctrl.cpp
	window.cpp
	xml.cpp

msw/setup.h
	with watcom version 11 it now compiles with wide character support.

xrc/xml.cpp
	fixed memory leak and compile warnings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:46:31 +00:00
Vadim Zeitlin
0cf5b09998 got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows, even the native controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 00:58:11 +00:00
Václav Slavík
a756f21001 use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Václav Slavík
00811ff918 compilation fix for Watcom C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:26:22 +00:00