Vadim Zeitlin
544421165f
use GetText() instead of GetText(wxString&), made some methods inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 16:08:03 +00:00
Robert Roebling
0bc0cd5d81
wxScrolledWindow next take, the Gizmo controls
...
work again and several other problem have
been solved, among them at least on reported
about the old implementation (wrong max size
due to a rounding error).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 16:40:06 +00:00
Robert Roebling
30954328be
wxScrolledWindow is now a native widget under GTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-29 15:27:57 +00:00
Julian Smart
673dfcfac1
Added DisplayTextPopup to wxHtmlHelpController; fixed refresh bugs in
...
generic wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-02 15:16:16 +00:00
Julian Smart
c9c1c60f19
wxLIST_STATE_FOCUSED -> wxLIST_STATE_SELECTED in GetItemState (typo)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-22 13:55:02 +00:00
Vadim Zeitlin
2e4df4bfaf
1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
...
2. moved ~50% of the event types in their own headers/sources from event.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Julian Smart
10bd072488
Use wxClientDC in header window so we don't clip (because of gtk_paint_box not
...
being clippable). This cures the header refresh problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-11 18:22:32 +00:00
Robert Roebling
08bf1d5d98
matrix compile fix
...
make listctrl scroll one line in report more,
not some arbitrary 15 pixels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 13:34:35 +00:00
Vadim Zeitlin
05a7f61d90
patch from Mike Oliver <oliver@math.ucla.edu> to have correct position in wxTree/ListCtrl click events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-16 13:38:56 +00:00
Vadim Zeitlin
ea5ac909f8
fixed GetItemRect() and GetItemPosition() for scrolled items (patch from Mike Oliver <oliver@math.ucla.edu>)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 16:34:23 +00:00
Václav Slavík
c13cace125
added automatic growing of in-place wxTextCtrls for generic wxListCtrl and wxTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-17 22:14:35 +00:00
Václav Slavík
d7ace8a929
fixed EditLabel() for wxLC_REPORT mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-08 22:29:38 +00:00
Václav Slavík
2e12c11a90
added wxListCtrl::AssignImageList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:29:26 +00:00
Robert Roebling
d786bf877e
Set the m_isFrame flag corrcetly.
...
Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-16 11:26:28 +00:00
Robert Roebling
2bc6945a25
More theme goodies.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 09:08:18 +00:00
Robert Roebling
300aaa8f77
wxListCtrl::InsertItem() returned wrong index.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 20:03:27 +00:00
Robert Roebling
3fb435df3a
Themed headers for wxListCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 15:35:45 +00:00
Vadim Zeitlin
c0f09a2e88
1. wxFrame::IsIconized() fixed - seems to work
...
2. a couple of unused vars removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 12:25:42 +00:00
Julian Smart
191ebf4d45
wxListMainWindow::HitTest no longer tests 'flags' which is garbage
...
at this point. HitTesting now working, hurrah!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 09:35:43 +00:00
Robert Roebling
efad36b8e9
Tiny patch for wxListCtrl::HitTest(). I didn't
...
even test if it compiles, oh dear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 16:28:34 +00:00
Julian Smart
206b0a6792
Generic wxListCtrl now supports wxLC_HRULES, wxLC_VRULES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 12:20:16 +00:00
Robin Dunn
3e1c4e0021
1. Setting the listctrl as the event object before sending the event
...
to any user event handlers.
2. InsertItem returns the actual index used when given one beyond the
end of the list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 21:30:18 +00:00
Julian Smart
37d403aa1c
Added to wxSystemSettings for better GTK+ themes compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 08:35:30 +00:00
Bryan Petty
3ca6a5f046
second merge of the 2.2 branch (RL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +00:00
Ove Kaaven
4aefa363ef
If, in a single-selection listctrl, a focused item is selected, and the
...
focus is moved programmatically (SetItemState) without selecting the new
item, the old focused item wasn't deselected, making the listctrl end up
with TWO selected items when the focused item gets selected by the user.
So I made SetItemState deselect the old focused item when the focus is
moved in a single-selection listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:36:53 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Robert Roebling
aaef15bf82
Small speed-up.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 09:08:09 +00:00
Unknown (NI)
e8741ccae8
fixed wxListMainWindow::HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 02:10:09 +00:00
Vadim Zeitlin
bc1dcfc1aa
warnings from FreeBSD compilation log removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 14:08:54 +00:00
Robert Roebling
2035e10e83
Found bug that skrewed up display wrt horizontal
...
scrolling of wxListCtrl. The selected area still
seems wrong, though.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 16:45:26 +00:00
Robert Roebling
d6d26e0414
Corrected scrollwin thumb release event,
...
Reenabled horizontal scrolling, cannot currently
reproduce misbehaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 15:37:49 +00:00
Robert Roebling
304e5625e5
Disabled horizontal report mode scrolling in wxListCtrl
...
as it skrews up the display,
Corrected disabling the closing of top level window
when there are open (modal) dialogs,
Minor change to redrawing window-less widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:04:36 +00:00
Vadim Zeitlin
a6e2b3a831
patches from Ricky Gonzales <gonzales@pyramid3.net>:
...
1. BC++ 5.5 compilation/building fixes
2. wxMSW listctrl will use correct ILC_COLOR flag depending on current display
depth
3. wxFrame::Show() argument is TRUE by default undet GTK/Motif too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:16:12 +00:00
Robert Roebling
e1208c3103
Lotta stuff for drawing etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:23:26 +00:00
Robert Roebling
5d25c05039
Clean-up, speed-up and bug-fix for wxListCtrl drawing,
...
Removed overlay things from wxScreenDC,
Added test for bitmaps clipping with regions.
Updates to changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:09:19 +00:00
Vadim Zeitlin
c5145d4177
wxListCtrl uses SetWindowChange() in its OnChar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:00:21 +00:00
Robert Roebling
809934d22a
#ifdeffed new paint clipping :-(
...
Moved replacement code to printing preview canvas where
its effect was particularly useful.
Completed GC pooling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:47:43 +00:00
Julian Smart
e06b95691f
Misc small changes, some for VC++ 1.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:54:18 +00:00
Robert Roebling
33d0e17c11
SetSelection() in wxNotebook now sets the focus,
...
SPACE in wxListCtrl now sends Activate in multiple sel mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:29:59 +00:00
Vadim Zeitlin
efbb7287e6
1. corrected bug with LIST_ITEM_ACTIVATED being sent even if second click in
...
dbl click was on another item
2. moved private classes from listctrl.h -> listctrl.cpp
3. made sample messages include the item index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:22:21 +00:00
Robert Roebling
40c7018756
Removed some debug code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 00:01:03 +00:00
Robert Roebling
3d2d8da1d8
Implemented MSW's paint region clipping, but
...
it exposed some bug in GTK's guffaw stuff.
Implmented GC pooling.
Implemented Corrcet mixing of pain region clipping,
user clipping and masked bitmap clipping.
Minor other corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:16:32 +00:00
Julian Smart
2fa7c206f6
Various VC++ 1.5 and other corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 11:53:16 +00:00
Václav Slavík
91fc2bdc33
background color set to wxSYS_COLOUR_LISTBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:19:10 +00:00
Robert Roebling
bce1406bff
list ctrl and tree ctrl didn't like the new focus code,
...
mem clean uop crash fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:38:19 +00:00
Bart A.M. Jourquin
695237bccd
SCROLLWIN instead of SCROLL again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:55:29 +00:00
Robert Roebling
1d81a219db
Fixed Vadims fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 19:31:55 +00:00
Vadim Zeitlin
7b848b0db2
1. fixed bug with the index of the last column in EVT_COL_CLICK being shifted
...
by 1 (always)
2. added a menu item to toggle single/multiple selection to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:12:44 +00:00
Robert Roebling
12c1b46a2f
Tried to prevent scrollbars from scrolling as
...
per MSW, didn't work.
Added DeleteAllItems event and test to listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 13:51:01 +00:00
Robert Roebling
473d087e56
wxWindow no longer emits any scroll events after
...
a programmatic change to its scrollbars.
Reverted sense of SHIFT and CONTROL in wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 10:33:57 +00:00