Commit Graph

17157 Commits

Author SHA1 Message Date
Gilles Depeyrot
d5f3e1ebf5 added assert to detect attempt to install idle handler from widget callback
not called from main thread


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 16:44:48 +00:00
Vadim Zeitlin
275a63e3a6 use alpha channel in Blit() as well and not only in DrawBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 11:14:35 +00:00
Vadim Zeitlin
c9fcf5817f many fixes for PNG reading after recent alpha changes; grey scale images reading was in particular broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 10:49:27 +00:00
Vadim Zeitlin
edb57eaebe added missing typename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 01:04:10 +00:00
Vadim Zeitlin
70cd62e95c TRUE/FALSE -> true/false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 01:01:36 +00:00
Vadim Zeitlin
aaa9782834 wxImage::Create() should be bool, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 00:59:42 +00:00
Vadim Zeitlin
d9ef4e06ed added LVSICF_NOSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:55:39 +00:00
Vadim Zeitlin
8fa97a5819 compilation fix for BCC (and probably others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:53:08 +00:00
Vadim Zeitlin
73baf01ab3 compilation fix (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 11:43:39 +00:00
Vadim Zeitlin
82eba82658 fix wxDisplay initialization (patch 735303)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 00:57:51 +00:00
Vadim Zeitlin
41b78190ad recognize ESC[APE] in menu accel strings (patch 733967)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 00:56:07 +00:00
Vadim Zeitlin
a8fbc9cc57 fall back to wxAlphaBlend() if ::AlphaBlend() didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:57:34 +00:00
Vadim Zeitlin
4b8ab2f93a use DIB, not DDB, when converting from an image with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:54:16 +00:00
Vadim Zeitlin
edf8e8e071 memory for alpha channel was over allocated by a factor of 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:52:20 +00:00
Vadim Zeitlin
2f22353e37 fixed iterator over wxImage with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:50:43 +00:00
Julian Smart
2c92d7e398 Removed a spurious print statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:32:55 +00:00
Julian Smart
ff38281aa1 Fixed crash in EnsureVisible in wxTR_HIDE_ROOT mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 21:48:24 +00:00
Vadim Zeitlin
243dbf1a50 Insert() patch from John Labenski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:58:28 +00:00
Vadim Zeitlin
b5f159ac91 use wxDEPRECATED around GetNoHistoryFiles()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:04:01 +00:00
Jouk Jansen
d171743ed3 Committing in .
Fixes needed for OpenVMS

 Modified Files:
 	wxWindows/include/wx/x11/private.h
 	wxWindows/include/wx/x11/privx.h
 	wxWindows/src/common/dbtable.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/bmpmotif.cpp
 	wxWindows/src/motif/descrip.mms wxWindows/src/x11/bitmap.cpp
 	wxWindows/src/x11/utilsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 10:53:52 +00:00
Stefan Csomor
1925be658c fixing some redrawing bugs overpainting foreign window's area under OS9, reintroduced TransitionWindow calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:16:30 +00:00
Stefan Csomor
76a60a81b4 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:13:32 +00:00
Stefan Csomor
4506b24a05 masking out wxOK and friends from dialog style in order to avoid clashes with miniframe windows flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:12:53 +00:00
Stefan Csomor
140f2012cd reintroduced m_isBeingDeleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:12:02 +00:00
Vadim Zeitlin
7af6b69e74 wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 00:02:58 +00:00
Vadim Zeitlin
1162d0a257 wxGLCanvas doesn't derive from wxScrolledWindow since quite some time already despite of the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:46:34 +00:00
Vadim Zeitlin
50ef440170 undid patch which was supposed to allow thread recreation and added instead an assert preventing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:38:05 +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
Robin Dunn
7e6874c014 Fix GetItemRect to offset by the header window, if present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 02:17:52 +00:00
Robin Dunn
45ff80056c Added #if TARGET_CARBON around shaped window stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 20:31:29 +00:00
Julian Smart
0bbeb42dde Ensure grid components don't have borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 20:16:41 +00:00
Václav Slavík
139c5871c9 fix for multiple initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:03:10 +00:00
Robin Dunn
b63fce942f fixed compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 18:08:01 +00:00
Robin Dunn
ef5df12bdf Also merge the m_overflow attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:50:08 +00:00
Mattia Barbon
dd38c87578 Implemented wxBitmapDataObject.
Implemented generic wxDataObject support in wxClipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:24:11 +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
31e7e89fdd Fixed style glitches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 15:03:11 +00:00
Julian Smart
6ae0daf6c5 Added WS_VISIBLE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 14:02:38 +00:00
Chris Elliott
05d3cd45e5 update for digital mars - resolve externals in shell and winsock libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:18:45 +00:00
Chris Elliott
44e8cf38f1 missing externals for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:09:14 +00:00
Chris Elliott
e81cf2eb73 update makefile.sc for digital mars to use relative paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 11:41:21 +00:00
Chris Elliott
f5705f7e3e update makefile.sc for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 11:20:32 +00:00
Chris Elliott
f0fc695806 remove if defs for DigitalMars as suggested by Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:14:14 +00:00
Julian Smart
acd42a2395 Removed some commented-out code
Added border improvements to changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 08:32:57 +00:00
Robin Dunn
8adb5d4557 Added inline setters for wxTreeEvent so we don't need to add new
friends anytime someone wants to generate wxTreeEvents


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:30:37 +00:00
Robin Dunn
0b887a21d4 allow the base class to participate in the CanPaste decision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 23:43:39 +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
Chris Elliott
957f03699b possible fix for templates with digitalmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 15:08:52 +00:00
Julian Smart
59fac08507 Removed obsolete 16-bit import libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 09:44:36 +00:00
Robert Roebling
6d18407fa4 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 08:52:14 +00:00