Commit Graph

4776 Commits

Author SHA1 Message Date
Robin Dunn
40f7b5f76b Hacks to try and make the AutoComplete listbox behave better on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-26 07:35:32 +00:00
Vadim Zeitlin
8068015e65 backported InterlockedInc/Decrement fix from the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-26 00:23:46 +00:00
Julian Smart
285c885e12 Used gpointer for callback arg to prevent compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 14:00:34 +00:00
Robert Roebling
b787791b21 Compile fix for RH 7.0 (I hope).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 10:08:00 +00:00
Robert Roebling
02b1952cd9 Added support for wxListBox::SetFirstItem() directly
after creating the listbox. If you now call this
    and delete the listbox directly afterwards, you'll
    get problems since the code waits for idle time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-23 11:32:30 +00:00
Robert Roebling
7e1199769b Added event.Skip() to wxSplitterWindow::OnIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-23 11:30:43 +00:00
Robin Dunn
be62e9322d Some tweaks to make the AutoComplete list box behave better, and a few
other little things


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-21 22:09:00 +00:00
Robert Roebling
c3728eafab Set wxLB_SINGLE style if no style is set.
Eat <Enter> presses so that no item gets unselected
    in single mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 15:04:37 +00:00
Vadim Zeitlin
1a184fd470 fixed off by 1 error in CharsetToEncoding() for CP encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 14:39:18 +00:00
Robert Roebling
e55ff14df0 Minor correction to listbox::SetFirstItem so that
it doesn't scroll beyond the legal range.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 14:38:07 +00:00
Vadim Zeitlin
57751708cb added crash-preventing check to Iconize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 13:16:22 +00:00
Robert Roebling
2acd3b1ae2 Completely blind implementation of wxListBox::SetFirstItem().
Cannot be worse than nothing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 20:39:04 +00:00
Vadim Zeitlin
c8d4a993c1 backported fix for Translate() from the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 16:45:14 +00:00
Vadim Zeitlin
bcb16e4402 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/branches/WX_2_2_BRANCH@8584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 16:34:23 +00:00
Julian Smart
f25ec3c10a Fixed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-16 07:10:32 +00:00
Vadim Zeitlin
3928193dd5 fixed false alert in wxRegKey::DeleteSelf (backported from the main branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-14 20:29:36 +00:00
Vadim Zeitlin
17e5eeeea8 cosmetic font encoding names changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 23:39:05 +00:00
Vadim Zeitlin
0a5f6de6fc removed some unused debugging code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 23:38:42 +00:00
Vadim Zeitlin
2aad589775 partial fix for REG_EXPAND_SZ values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 23:33:44 +00:00
Vadim Zeitlin
c05578d7c1 another GetInt/GetId bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 19:20:49 +00:00
Vadim Zeitlin
20f07d3994 fix for assert when setting tooltip for a readonly combo (backported from the main branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 00:32:09 +00:00
Vadim Zeitlin
5a17ae7706 backported wxStrtok() fix from the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 23:17:04 +00:00
Robin Dunn
8c9b2984a8 upped version number in the DLL name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 22:51:20 +00:00
Robin Dunn
cccb6b65cb Added ScrollToLine and ScrollToColumn which were forgotten in the
conversion to the new STC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 22:46:29 +00:00
Robin Dunn
e1b27de63f Minor tweaks and such to be saved prior to messing with the wxPython
build system...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 20:40:06 +00:00
Bryan Petty
2814e52084 This commit was manufactured by cvs2svn to create branch
'WX_2_2_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 20:40:06 +00:00
Vadim Zeitlin
4a7a4df4a7 added missing std::string methods implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 23:35:05 +00:00
Robert Roebling
529df28444 Removed debug msgs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 10:05:40 +00:00
Robert Roebling
8e4b3c4793 wxListCtrl scrolls more gracefully in report mode now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 10:04:42 +00:00
Robert Roebling
c84b4372d6 Reduce with of Permissions column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 10:03:32 +00:00
Robert Roebling
6c7a36cc1b Added support for the wxNO_FULL_PAINT_ON_REDRAW style,
Minor flicker reduction (when not using abovementioned flag).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 18:55:22 +00:00
Robert Roebling
012c2554ac Small bug in wxSizerItem::GetPosition()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 18:53:34 +00:00
Vadim Zeitlin
adc78fbb81 fix for group names containing ']'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 18:20:54 +00:00
David Webster
8953ebb64d OS/2 Statusbar support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 02:39:35 +00:00
David Webster
ced50b3323 Statusbar support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 02:35:58 +00:00
Robin Dunn
4d21e7b0fb new and improved wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 05:15:39 +00:00
Ron Lee
915d094abb binary compatible fix for screen PPI (hardcoded 75 instead of 100)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-25 08:34:19 +00:00
Ron Lee
7f20d9c3ac removed unneccesary (and unwanted) asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-24 15:14:38 +00:00
Václav Slavík
2bd6903d18 backmerged fix in wxListCtrl::SetItem and InsertItem -- changing attributes more than once had no effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 20:10:34 +00:00
Václav Slavík
9c60ef71f1 backmerged bugfix in wxHtmlParser::DoParsing (text between two tags longer than 1024 characters was not parsed correctyl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 20:00:19 +00:00
Vadim Zeitlin
75bea72e72 give frame a reasonable default size if none specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 15:40:15 +00:00
Robert Roebling
5e50c7aed0 Backported theme code to 2.2 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-16 11:05:04 +00:00
Robert Roebling
603ad17064 wxListCtrl::InsertItem() returned number of items,
not the new index.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 20:02:41 +00:00
Vadim Zeitlin
07e9e6a82e attempt to fix crash in tree ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 16:27:41 +00:00
Vadim Zeitlin
95e98de61b fixed bug in mouse handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 08:29:02 +00:00
Vadim Zeitlin
b8e3e48747 wxComboBox sends TEXT_UPDATED event under MSW when selection changes now too
(no changes in other files)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-09 19:40:01 +00:00
Julian Smart
0668ed67d3 Fixed non-recognition of wxLIST_MASK_IMAGE flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:49:14 +00:00
David Webster
cd50efc412 fix to OWNER_DRAWN assert in listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 19:18:35 +00:00
Robert Roebling
bc22fbf50d Applied PS patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:18:44 +00:00
Robert Roebling
0941825d49 Removed wxClientDC from wxEraseEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:18:02 +00:00