Vadim Zeitlin
5205e26b9b
show first item added with InsertItem() correctly (part of patch 833247)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:31:29 +00:00
Julian Smart
6463b9f539
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
1169a91932
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
(Watcom compiler doesn't like ctor implementation in headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
2d36b3d847
WinCE 4 cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:24:00 +00:00
Václav Slavík
a61d40115f
fixed wrong #ifdefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-08 22:35:42 +00:00
Julian Smart
37b53d2a7b
Patches from "Viktor Voroshylo" <viktor@voroshylo.com>
...
isses with context menu on real PocketPC device
static text not showing full message under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-02 08:56:47 +00:00
Julian Smart
80a81a12af
WinCE patches from "Viktor Voroshylo" <viktor@voroshylo.com>
...
1) to take care of ShowFullScreen.
2) will make WinCE context menu in listctrl to generate the same event as right click. WinCE does not have right click so I think it is reasonable solution for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 09:19:18 +00:00
Vadim Zeitlin
54759554d3
use LVSICF_NOINVALIDATEALL in SetItemCount() to reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 11:19:18 +00:00
Vadim Zeitlin
d2ed74b912
send END_EDIT label if label editing is cancelled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 08:41:54 +00:00
Vadim Zeitlin
cb0afb2662
replaced wxNO_FULL_REPAINT_ON_RESIZE with wxFULL_REPAINT_ON_RESIZE in XTI declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:41:06 +00:00
Julian Smart
66b9ec3dab
Applied patch [ 807164 ] fixes for core library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 13:42:22 +00:00
Vadim Zeitlin
ac8d0c118b
added wxVALIDATOR_PARAM and use it to avoid warnings about unused validators when wxUSE_VALIDATORS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:54:51 +00:00
Vadim Zeitlin
a328684392
removed the fudge from GetViewRect(), it isn't needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 19:36:33 +00:00
Vadim Zeitlin
5db8d758b8
fixed GetItemSpacing() inconsistency by deprecating the old function and adding a new, easier to use, overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 16:06:27 +00:00
Vadim Zeitlin
11ebea162a
added wxListCtrl::GetViewRect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 15:58:41 +00:00
Vadim Zeitlin
bfc8138f91
reverted previous fix for virtual list control with Unicode and MSLU and replaced it with LVM_SETUNICODEFORMAT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 15:05:18 +00:00
Vadim Zeitlin
fa17ced1b5
attempts to fix virtual list control with Unicode and MSLU
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 13:20:04 +00:00
Stefan Csomor
321239b6c4
macro naming changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 01:28:39 +00:00
Vadim Zeitlin
b653e655aa
no changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 13:47:11 +00:00
Stefan Csomor
ffca575c83
WX_EVENT_PROPERTY instead of WX_DELEGATE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Csomor
c5ca409b6a
event exposure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:53:15 +00:00
Julian Smart
bc9fb5723a
Added some window style metadata
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 11:35:44 +00:00
Stefan Csomor
786a2425fb
extended RTTI support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:37:30 +00:00
Vadim Zeitlin
8b3a401696
set LVCFMT_IMAGE, this at least allows to show imageso n the right sidei n the first column too (and fixes bug 787781); corrected return value of InsertColumn()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 09:58:52 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
80c54c3d5a
restored custom drawing (was accidentally disabled by the last 2 commits)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 22:23:53 +00:00
Vadim Zeitlin
0d236fd0fa
added wrapper for <commctrl.h> as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 10:57:51 +00:00
Vadim Zeitlin
5b59df8315
avoid using _WIN32_IE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 23:26:30 +00:00
Julian Smart
fda7962d02
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00
Vadim Zeitlin
0ea0359bca
don't ignore cache hints with from == to
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 21:22:35 +00:00
Julian Smart
c546974fbf
Fixed bug [ 743664 ] wxListCtrl asserts when deleting its m_textCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:12:30 +00:00
Julian Smart
b39dbf34b8
Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Julian Smart
b5db27fe1e
Fixed simple border style on wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 07:40:56 +00:00
Robin Dunn
faad0a95e1
Prevent scrolling back to the top when calling SetItemCount again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 06:29:39 +00:00
Julian Smart
27c7397611
More style issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Julian Smart
fe3d9123c6
Revamped border handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:57:32 +00:00
Robin Dunn
cd01e3646a
SF Patch #728691 , dangling pointer fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 18:44:27 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Robin Dunn
271d1110ed
more informative error messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:58:30 +00:00
Robin Dunn
fb718549cd
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. (Forgot a few last time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:32:18 +00:00
Robin Dunn
f3076f9fae
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.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:28:40 +00:00
Vadim Zeitlin
3cfda0b764
fixed a typo which was preventing any events from being generated after DeleteAll() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 13:15:50 +00:00
Robin Dunn
68c124a168
1. Added m_count and maintain its value in InsertItem, RemoveItem
...
etc. and return it from GetItemCount to save so many calls to
ListView_GetItemCount.
2. 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.
3. 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
4. Added FreeAllInternalData from DeleteAllItems, (part of patch
#672065 ) and also guard against processing LVN_CHANG* messages
while freeing the internal data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:53:28 +00:00
Vadim Zeitlin
9e300531e5
compilation fix for the last check in (sorry)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 19:57:34 +00:00
Vadim Zeitlin
7eb833e673
attempt to fix crash in DeleteAllItems()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 18:56:31 +00:00
Julian Smart
b4da152ea3
Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +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