Commit Graph

36143 Commits

Author SHA1 Message Date
Václav Slavík
f87d0500fa added assert to check for not-yet-implemented behavior of SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 19:08:54 +00:00
Robin Dunn
b19f2e4e19 Forward declare wxMacListControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:59:59 +00:00
Vadim Zeitlin
972719407b compilation fixes after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:18:26 +00:00
Vadim Zeitlin
325125ba4f fix undefined behaviour due to using shift variable twice in the same expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:15:39 +00:00
Vadim Zeitlin
7b514b3b43 make wxMacItem::m_colId of type DataBrowserPropertyID instead of short to avoid warnings whenever comparing it with values of type DataBrowserPropertyID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:35:41 +00:00
Vadim Zeitlin
e330eb4619 fixed warnings, reformatted braces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:34:30 +00:00
Vadim Zeitlin
22143f7164 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:30:48 +00:00
Robin Dunn
eb86f7ab80 fix attribute errors when importing wxPython.wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:22:51 +00:00
Włodzimierz Skiba
566177181a Corrections after The Great wxRegion Refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 16:17:12 +00:00
Václav Slavík
74750ae4e6 compilation fix (missing void)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 14:35:16 +00:00
Robert Roebling
fb5f907b2d Mention wxODCombo stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:15:48 +00:00
Włodzimierz Skiba
b6428abaa5 Build fix for wxMSWUniv makefile driven builds. univ/setup0.h should be autoregenerated in the future too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:09:05 +00:00
Robert Roebling
48dcb86d0b Forgot to commit wxBitmapComboBox docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:01:47 +00:00
Vadim Zeitlin
d5dc103fd4 added wxUSE_VARIANT guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:55:25 +00:00
Włodzimierz Skiba
888355224c Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:42:18 +00:00
Vadim Zeitlin
012967ef1b rename OnResize() to OnSize() to avoid conflict with base class OnResize(void) virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:40:37 +00:00
Vadim Zeitlin
c57cdbd8d6 use _snprintf() in system_sprintf() for the compilers which have it; really fix warning about unused maxlen in wxPrintfConvSpec::ReplaceAsteriskWith()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:27:26 +00:00
Vadim Zeitlin
8a16d7370e The Great wxRegion Refactoring:
1. added wxRegionBase class and derive all wxRegions from it
2. also added wxRegionWithCombine for the ports providing Combine() method
   (MSW, OS2 and Mac) to reduce code duplication further
3. made sure region comparison works the same way in all ports (except those
   not implementing it) and added IsEqual() method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:47:23 +00:00
Vadim Zeitlin
b48f51ca74 add wxTLW::UseNativeDecorations[ByDefault]() to allow the programmer to control whether windows use native or custom decorations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:46:58 +00:00
Vadim Zeitlin
b13862ee62 fix TLW borders width in mono theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:24:42 +00:00
Václav Slavík
7e2baeb413 don't allocate backbuffer for dummy surfaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 08:01:36 +00:00
Václav Slavík
93259e592b reduce the number of repaintings by repaiting (rect) union of all invalidated areas instead of iterating over every Refresh() request including duplicate ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 07:55:51 +00:00
Julian Smart
cf1aac89dd Fixed LoadFile typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 07:11:59 +00:00
Robin Dunn
c7c45995e6 handle starting out with multiple lines of text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 04:58:32 +00:00
Vadim Zeitlin
75afdc2d72 oops, restored accidentally deleted functions in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:39:19 +00:00
Vadim Zeitlin
13229d3539 get rid of wxUSE_CHECKBOXES_IN_MULTI_SEL_TREE code, it's never used and just makes the code which is used more difficult to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:31:19 +00:00
Vadim Zeitlin
5c2603c2e8 make log messages more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:24:19 +00:00
Michael Wetherell
076e07b60b Improve the error messages slightly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:59:57 +00:00
Vadim Zeitlin
30f27c00d6 1. fixed many warnings about implicit double to int conversions in newly
checked in "advanced" image manipulation stuff
   (could we please avoid checking in the code with warnings?)
2. tried to simplify the new code a little, but much remains to be done,
   in particular it seems obvious that BlurVertical/Horizontal() must be
   refactored to avoid duplicating each other
3. reformatted (avoid jumbo lines, removed unnecessary double casts, declare
   the variables at the point of use, ...)

Hope this didn't break anything but as there are no tests it's really hard to
find out how was this supposed to behave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:58:52 +00:00
Vadim Zeitlin
8d37334f0e move wxBitmapComboBox dependency check to wx/chkconf.h where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:18:23 +00:00
Vadim Zeitlin
ca5c6ac3f4 Added wxUSE_VARIANT and the related checks, also added wxUSE_OLE_AUTOMATION
to guard wxAutomationObject code which depends on wxVariant


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:12:56 +00:00
Vadim Zeitlin
19883268f1 use wxRect::Contains(), not Inside() (fixes compilation for WXWIN_COMPATIBILITY_2_6==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:09:46 +00:00
Robert Roebling
f164c52bc7 Same problem for blurring functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:52:24 +00:00
Robert Roebling
e5d1e06de3 Mention the problem with mask colour and blurring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:50:48 +00:00
Robert Roebling
07aaa1a4b8 [ 1537065 ] wxImage: Higher quality scaling/sampling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:47:16 +00:00
Michael Wetherell
98de4ac1c5 Forward port test case that corrupts archives to see if they can crash an input stream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:52:53 +00:00
Julian Smart
3306aec124 Added DoLoadFile, DoSaveFile to wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:40:33 +00:00
Robert Roebling
3bb918c097 Added test to reproduce [ 1541148 ] wxTreeCtrol: crash if right mouse click
The MSW tree control sends a series of invalid events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:13:17 +00:00
Vadim Zeitlin
2335974794 added wxSize::IncBy() and DecBy() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:08:51 +00:00
Robert Roebling
57b5c44a4f Fixed [ 1561693 ] wxGIFDecoder creates incorrect wxPalette
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:54:12 +00:00
Robert Roebling
df816ad92f Updated wxPallete information.
Added GetColourCount() implementation to Carbon (I wonder
    why it doesnt just use the generic implementation).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:27:12 +00:00
Robert Roebling
b9d880d638 [ 1563875 ] wxTreeCtrl::FindItem asserts when item not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:06:02 +00:00
Kevin Ollivier
4e78e1738e kDataBrowserListViewNoGapForIconInHeaderButton not defined on Panther.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 04:18:00 +00:00
Robin Dunn
9e15c718b3 remove superfluous assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 00:39:49 +00:00
Robin Dunn
4391d97b25 New names for some ArtProvider methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 23:26:08 +00:00
Robin Dunn
e17b6377be More bakfile changes needed for bmpcbox. Rebaked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 22:54:16 +00:00
Vadim Zeitlin
571d2e0f23 1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()
2. wxArtProvider::Remove() now really only removes the provider without
   deleting it, Delete() does delete it
3. moreover, ~wxArtProvider removes the provider as well so there is almost
   no need to call Delete() explicitly any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 20:16:18 +00:00
Václav Slavík
43e995b6e3 changed the catalogs lookup back to the old behaviour of searching LC_MESSAGES subdirectory on all platforms: the change that made this Unix-only (rev.180) silently broke old applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 18:44:23 +00:00
Václav Slavík
b5297239e4 renamed GetMsgCatalogSubdir to *Subdirs to make it clear it may return more than one path and documented this in its comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 18:39:28 +00:00
Václav Slavík
69deca265e added comment clarifying the meaning of DoMoveWindow's x and y arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:25:46 +00:00