Vadim Zeitlin
39d16996b7
restore the stream position in wxImageHandler itself instead of forcing all
...
derived classes to do it themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:14:47 +00:00
Vadim Zeitlin
2361ce822f
no, we shouldn't inconditionally add the separator at the end even if wxPATH_GET_SEPARATOR was specified -- this is wrong for file names without path at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:47:15 +00:00
Robert Roebling
fdbb06ba2c
wxImage::Copy() didn't really just copy the
...
image, it sometimes changed the mask
colour, when it was unused. This patch
makes life easier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 21:01:54 +00:00
Vadim Zeitlin
acf88ae621
added a compile time assert to prevent wxArray from compiling when sizeof(long) > sizeof(void *) as it is broken in this case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 18:04:36 +00:00
Vadim Zeitlin
b72aa48cde
added a check which should prevent the crash of bug 555111
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 16:27:06 +00:00
Vadim Zeitlin
14090241ce
mingw/cygwin compilation fix (patch 556157)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:54:09 +00:00
Stefan Csomor
e5f0419b0d
survive delete within Notify
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:45:44 +00:00
Stefan Csomor
fd4393b845
show/hide via moving
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:44:36 +00:00
Stefan Csomor
e6c1d9afee
initial value set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:43:40 +00:00
David Webster
b63b737dc8
Catching up for the week
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 04:20:43 +00:00
Stefan Csomor
e4a05ccd8a
uma.h added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:28:03 +00:00
Stefan Csomor
b4efa0696e
carbon event handlers for app level
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:18:45 +00:00
Stefan Csomor
12f3162686
Dan 'Bud' Keith's implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:17:33 +00:00
Stefan Csomor
8c82361c1d
removed internal carbon events handlers, switch to using and resetting toplevel's handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:15:19 +00:00
Stefan Csomor
7c09167353
added carbon event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:14:22 +00:00
Stefan Csomor
f6c29ee0c1
changing the focus part code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:13:35 +00:00
Julian Smart
426b2d8795
Applied drag fix to row labels as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 16:16:28 +00:00
Stefan Csomor
ded4fa5b7a
corrected initialization order of MLTE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 14:06:09 +00:00
Julian Smart
fe77cf604a
Captured mouse in grid column label so the drag isn't prematurely and messily
...
ended when moving out of the column label window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 13:17:31 +00:00
Robert Roebling
8e40d27b8d
Sometimes, deleting code can be a real gain. This
...
fixes display corruption when a scroll window
is made smaller and it was previously scrolled
to the bottom or right most position.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 10:42:53 +00:00
Václav Slavík
41fecb4451
Cosmetic changes to wxSS::GetScreen:
...
1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 22:44:27 +00:00
Stefan Csomor
92432aa111
corrected direction when sending events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 08:00:34 +00:00
Vadim Zeitlin
79fa23744b
check the return code of wxStream::Read() in wxImageHandler::DoCanRead()
...
and avoid reading uninitialized memory when it fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 12:41:51 +00:00
Julian Smart
baaae89f09
Updated font dialog constructors to use a reference to the font data
...
as per more recent convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 11:05:58 +00:00
Vadim Zeitlin
44fbc477af
made SetItemText() work for the item which we're about to start editing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 23:54:42 +00:00
Stefan Csomor
61eb9fa155
conditionalized theme box drawing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:14:08 +00:00
Stefan Csomor
16106d9698
autoresize upon setting new bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:13:37 +00:00
Stefan Csomor
1e4ad62a72
fixed wxScreenDC for X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:13:08 +00:00
Robin Dunn
0f9479da00
Commented out debug messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 16:00:20 +00:00
Stefan Csomor
f574489317
title-less windows also for windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 14:10:29 +00:00
Stefan Csomor
54ddeb7e1b
using QD Text under non OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:22:14 +00:00
Stefan Csomor
7759d157ea
working closer to proper MLTE support under OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:20:15 +00:00
Stefan Csomor
85ea2e2077
no event upon changing value only anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:19:37 +00:00
Stefan Csomor
6606ecac87
conditials for TARGET_CARBON when drawing using appearance text box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:18:19 +00:00
Stefan Csomor
35a8698b65
changed char event handling for ctrl-chars and skipped events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:16:38 +00:00
Vadim Zeitlin
f44b4495db
fixed the selection rectangle drawing (was off by 1)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 19:27:49 +00:00
Vadim Zeitlin
f6278a74c2
use the menu item text, not label, in the owner drawn items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 19:26:26 +00:00
Vadim Zeitlin
aacc44c6b7
fixed wrong array index in UuidToCForm
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 18:48:17 +00:00
Vadim Zeitlin
c7beb04848
generate EVT_SCROLL events for the standalong scrollbars, not EVT_SCROLLWIN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 10:45:49 +00:00
Julian Smart
7882729eb5
Check for null return value in wxClientDC constructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 20:03:07 +00:00
Julian Smart
f4bd67593e
Don't call a function that might do drawing when setting a null image list
...
(might be deleting the tree control)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:59:10 +00:00
Robin Dunn
451c5cc7b9
wxSTC changes to help it work better on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:07:48 +00:00
Gilles Depeyrot
6dcbb6d0d9
applied copy constructor fix to assignment operator as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 06:22:01 +00:00
Julian Smart
d665f50b8c
In an expose event, the m_clearRegion is also updated as well
...
as m_updateRegion because otherwise in a scroll or resize,
a custom OnEraseBackground method will draw over more window than
OnPaint will redraw -- clearly not what's wanted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 20:38:22 +00:00
Vadim Zeitlin
63ec9dbbac
don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00
Václav Slavík
936b18ac29
no, DO NOT use wxMessageBox where wxLogError is more suitable
...
(and don't display Information icon when reporting an *error* (sigh...))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 17:58:54 +00:00
Julian Smart
2012e3ea0f
Fixed double deletion in region iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 15:49:35 +00:00
Robin Dunn
0f713d485b
Fixed a lost #else
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:37:33 +00:00
Vadim Zeitlin
2e08b1a367
added missing extern "C" required for Sun CC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 12:28:07 +00:00
Vadim Zeitlin
5f4bffab21
renamed main to mymain to suppress the warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:33:24 +00:00