Commit Graph

10145 Commits

Author SHA1 Message Date
Robert Roebling
0569aeead8 Further corrections to wxBitmap and Blit code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 19:21:50 +00:00
Robert Roebling
ea34719cb0 Fixed FIXME in blitting code.
Small speed-up in wxBitmap::Rescale().
  The rescaling code still makes X11 crash
    with a memory problem. This can be seen
    in the image sample when you scroll up
    and down with the mouse often so that
    the smiley that gets blit appears and
    disappears often.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 14:26:33 +00:00
Vadim Zeitlin
858488c8d0 always return a new pointer from FindColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 17:11:24 +00:00
Vadim Zeitlin
0fa83ad090 RemoveEventHandler() didn't reset all pointers correctly (patch 819545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:31:19 +00:00
Václav Slavík
5343bb5fff compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 10:55:31 +00:00
Václav Slavík
2eaf6e0b4a fixed double filename->URL conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 10:06:48 +00:00
Julian Smart
eb4da42d78 Fix for last SetValue mod
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-10 08:20:31 +00:00
Julian Smart
f9a8f4dbc5 Reverted change of insertion point even when value is the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-10 08:16:40 +00:00
Robert Roebling
4ac717880c Rounding error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 19:59:14 +00:00
Robert Roebling
dcf18859bb Use new bitmap scalingin DrawBitmap() as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 19:50:00 +00:00
Robert Roebling
5ecd5fcd23 Small bug in 1-bit bitmap scaling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 19:39:33 +00:00
Robert Roebling
5e4e624b51 Further work on bitmap drawing and rescaling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 00:24:12 +00:00
Robert Roebling
5d0f365456 Aplplied second part of bitmap scaling speed-up patch.
The PS part is still not done.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 11:59:36 +00:00
Robert Roebling
f16994e949 Adding wxBitmap::Rescale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 12:43:08 +00:00
Robert Roebling
d81305cca2 Implemented wxChoice::SetString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:08:15 +00:00
Robert Roebling
53f3088ea1 Fixed bitmap problems reported a week ago on the list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 15:58:35 +00:00
Stefan Neis
bd10ebc4aa Fixed linkage problem on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 21:39:15 +00:00
Vadim Zeitlin
2190e64f92 don't show warnings about x-foo keywords in mimetype file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 19:25:01 +00:00
Stefan Neis
940420dc8d Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 12:36:59 +00:00
Gilles Depeyrot
d13445a69b ignore some files or directories produced when compiling with MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 11:58:09 +00:00
Václav Slavík
ba67349e95 the patch was misapplied, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 19:00:17 +00:00
Václav Slavík
bcf02a8741 fixed memory leak (#817324)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 18:30:38 +00:00
Stefan Neis
d852459377 Fixed usage of uninitialized variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 17:03:52 +00:00
Stefan Neis
ab3bb59297 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 17:01:06 +00:00
Chris Elliott
57ea01710d fix for DMC bug reading JPEGs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:01:04 +00:00
Václav Slavík
6559d5876c fixed accelerators in wxGTK if NumLock is active (bug #723379)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 17:05:06 +00:00
Václav Slavík
637097356e wxInetFSHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 15:16:20 +00:00
Václav Slavík
060dc36526 fixed file: protocol for filenames with space (patch #815772)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 11:47:30 +00:00
Václav Slavík
faf730d5f7 XML code fixes (patch #815196 -- backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 18:37:12 +00:00
Robin Dunn
17465a0a42 Should not delete colours that come from the wxColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-29 17:42:18 +00:00
Chris Elliott
fe42ee5dac allow stc to build with universal headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 14:52:46 +00:00
Chris Elliott
99eda4214e revert change to assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 12:12:18 +00:00
Chris Elliott
f28ceaff19 suppress warning if no entries in combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 09:44:04 +00:00
Robin Dunn
8c5d4072b1 Allow derived classes to prevent default focus handling (by not
calling Skip)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:48:17 +00:00
Robin Dunn
198c577357 Initialize the default tool width and height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 23:14:07 +00:00
Robin Dunn
cde2e5f7f3 Change some wxASSERT's to wxCHECK's so the offending code will safely
be skipped instead of causing a crash.  (Backported from 2.5)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:07:55 +00:00
Vadim Zeitlin
0bbf4cf70c fixed bug in DeleteEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 20:36:58 +00:00
Chris Elliott
68cbf3f89f fix for gtk swapped colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 09:44:57 +00:00
Chris Elliott
7993dbdd97 SF patch [ 773930 ] Fix for OpenWatcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 09:16:20 +00:00
Julian Smart
57b939855d Added missing files to project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 07:52:28 +00:00
Vadim Zeitlin
889285fd21 don't return & in strings returned by GetLabelTop() (closes 687905)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 15:22:15 +00:00
Vadim Zeitlin
07421d20b5 memory leak fixes in file dialogs (patch 783812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 00:06:05 +00:00
Vadim Zeitlin
032b711c92 backported IPAddress() from HEAD (patch 793048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 23:50:10 +00:00
Stefan Neis
144c947fab Testing creation of some typical sub-windows without WS_VISIBLE style
(Those seem to not use it under MSW either...).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 22:58:39 +00:00
Robin Dunn
44aaf1af69 Check wxSIZE_ALLOW_MINUS_ONE for x and y too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:32:24 +00:00
Václav Slavík
ce720741f0 Fix wxZipFSHandler behaviour when used with relative filenames with ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:51:44 +00:00
Václav Slavík
e0ea65c81b backported intl.cpp fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:45:03 +00:00
Robin Dunn
bbb24b614a Prevent possible divide by zero problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 20:27:11 +00:00
Vadim Zeitlin
ec58a24047 check whether input stream is readable in OpenFile() (patch 808941)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 00:01:08 +00:00
Robin Dunn
c7b539b354 Updated wxSTC in 2.4 branch to Scintilla 1.54.
Also includes patches from ABX and new sample from Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 18:14:34 +00:00