Commit Graph

9974 Commits

Author SHA1 Message Date
Vadim Zeitlin
ba7bd90150 fixed refresh problem after adding some items and calling Ensurevisible()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 16:08:11 +00:00
Vadim Zeitlin
49ecb02984 fix for refreshing the current item in the list ctrl when the focus is gained/lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:46:50 +00:00
Vadim Zeitlin
de57703a0c fixed text fg colour for selected but unfocused items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:22:15 +00:00
Vadim Zeitlin
dbcbe22962 made GetColourFromGTKWidget() more general, it is now used for all colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:19:37 +00:00
Vadim Zeitlin
3523b9cf8d fix for wxSYS_COLOUR_LISTBOX colour detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:46:09 +00:00
Vadim Zeitlin
b771aa29dd draw the selected items in another colour when the control doesn't have focus, a bit like MSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:34 +00:00
Vadim Zeitlin
643ccf6203 extracted 4 copies of identical code into a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:04 +00:00
Vadim Zeitlin
783d4c8931 fixed the wrong examples of CalcScrolled/UnscrolledPosition() usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:18:52 +00:00
Vadim Zeitlin
677a9f0c61 fixed bug with calling Destroy() on the NULL wxSocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:10:17 +00:00
Vadim Zeitlin
06b781c7c6 fixed clipping of items with icons text in report mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:09:18 +00:00
Julian Smart
bcbe86e592 Fixed GetLongPath bug -- should use GetFullName and not GetName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 09:04:54 +00:00
Václav Slavík
7af284fda7 nicer version compilation fix for wxUSE_WCHAR_T=0 (why should we duplicate definitions in all #ifdef branches???)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 22:22:59 +00:00
Robert Roebling
76fcf0f239 Various changes for simplification of focus event
code in wxGTK. It will also work for wxComboBox
    now, but not for GTK's other composite controls
    such as wxListBox and wxChoice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 21:36:25 +00:00
Stefan Neis
73a89308a4 Fix for wxUSE_WCHAR_T == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 18:31:10 +00:00
Stefan Csomor
9cf99fc093 added carbonaccessors.o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 17:18:03 +00:00
Robert Roebling
f72124dbe5 We use native paths now in wxWindows. On the Mac, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 16:39:14 +00:00
Václav Slavík
c48792de4a fix for bug in wxEditableListBox in connection with new wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:37 +00:00
Václav Slavík
80372768e4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:26 +00:00
Stefan Csomor
3d2791f12c added a few encoding convenience methods for pc-mac encoding and string handling, put message box buttons under translation, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 08:38:14 +00:00
Václav Slavík
211cc8dc90 better focus handling (blind fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 23:13:03 +00:00
Robert Roebling
eeca3a4697 The Scale() code in the 2.3 tree turned out to
be wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 18:17:23 +00:00
Robert Roebling
08a092f9f4 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 17:17:13 +00:00
Robert Roebling
618a5e382a Applied Greg's patch to tree control and related.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 13:09:26 +00:00
Vadim Zeitlin
a8973b121d warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 17:52:02 +00:00
David Webster
bcb7cc7693 New module definition file to keep .dll build compilable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 14:26:45 +00:00
Julian Smart
213ba43b70 Added doc for 2-step initialisation and wxWIZARD_EX_HELPBUTTON style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 09:38:53 +00:00
Julian Smart
77436c4cba Added possibility of 2-step initialisation, and wxWIZARD_EX_HELPBUTTON style.
Also added & to Cancel button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 09:38:19 +00:00
Vadim Zeitlin
444ad3a719 added wxURLDataObject which unfortunately doesn't seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 23:46:56 +00:00
Václav Slavík
2b260bc3e2 finished wxWindow for MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 22:53:43 +00:00
Robin Dunn
5e08014381 new version of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 17:48:52 +00:00
Vadim Zeitlin
6ea1323aa0 fixed bug/assert failure when refreshing items in non report mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 14:29:34 +00:00
Vadim Zeitlin
5949fba636 documented SetMaxLength(0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:58:56 +00:00
Vadim Zeitlin
f2616db567 added new text event macros description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:35:38 +00:00
Vadim Zeitlin
ce2f50e34a added sending of EVT_TEXT_MAXLEN to wxGTK, suppressed sending of dummy
EVT_TEXT_UPDATED events when the text doesn't really change


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:18:51 +00:00
Vadim Zeitlin
d5f005cc93 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 11:30:13 +00:00
Václav Slavík
ef344ff862 bugfixes, bugfixes, bugfixes...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 23:48:31 +00:00
Vadim Zeitlin
9b588fe10c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 15:37:05 +00:00
Vadim Zeitlin
5716a1abb1 compilation fixes for VC++ in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 15:26:27 +00:00
Vadim Zeitlin
9cb9fdb372 fixed bug with loading standard icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 14:54:56 +00:00
Vadim Zeitlin
c5639a8767 traces of my debugging session, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 14:27:22 +00:00
Vadim Zeitlin
d7eee191c5 implemented, tested and documented wxTextCtrl::SetMaxLength()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 12:45:53 +00:00
Vadim Zeitlin
2cefcb34d2 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 11:47:39 +00:00
Robin Dunn
cd09615235 updates for swig generated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 23:03:59 +00:00
Robin Dunn
c7e7022c2c Deprecated PyShell and PyShellWindow, added a snapshot of PyCrust.
Added the new virtual list capabilities to wxListCtrl.

Other odds and ends.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 19:19:48 +00:00
Robin Dunn
6443de0263 Fixed the drawing of the HRules so they don't try to iterate over all
the zillions of items in a large (or virtual) list control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 18:48:37 +00:00
Robin Dunn
625cb8c0b1 Fixed a bug so wxLC_VRULES works by itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 18:34:18 +00:00
Vadim Zeitlin
b0ee47ff76 1. reset default item in ~wxWindow (better to be safe)
2. blind fix for Motif compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 14:59:44 +00:00
Vadim Zeitlin
75c9da2562 unsuccessful attempts to fix wxMenuBar positioning under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 12:57:32 +00:00
Vadim Zeitlin
70541533c8 reduce flicker in header window when deleting items and let space select items even in single selection mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 11:51:24 +00:00
Vadim Zeitlin
c40ce5ce77 removed redundant InitDialog methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 11:24:03 +00:00