Commit Graph

35956 Commits

Author SHA1 Message Date
Robert Roebling
53a3a6dc63 [ 1541434 ] wxListView::IsSelected should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 09:20:50 +00:00
Robert Roebling
a2634d8140 [ 1557102 ] wxCombobox + keyboard selection + TEXT_ENTER Event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 09:16:13 +00:00
Robert Roebling
b4aec6c756 [ 1545669 ] EVT_ACTIVATE_APP wrongly documented as windows only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:51:09 +00:00
Robert Roebling
7b4b24bca9 [ 1553595 ] Doc error: wxView::OnDraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:35:13 +00:00
Robert Roebling
1fc1e6af05 [ 1565385 ] wxImage scaling fix - apply mask when scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:19:10 +00:00
Chris Elliott
dba6243c56 remove wx.pdf correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:03:13 +00:00
Vadim Zeitlin
df63b2a48f let the control process WM_RBUTTONDOWN finally, trying to do it ourselves doesn't look right and results in some weird events (see bug 1541148), it's easier to generate WM_CONTEXTMENU manually instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:58:49 +00:00
Robin Dunn
f600738e8f Add WXDLLEXPORT to wxRegionWithCombine declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:27:53 +00:00
Robin Dunn
e70b4d2db9 Add properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:26:35 +00:00
Robert Roebling
4627af27d4 Implement most of AppendRow(), PrependRow(), InsertRow(),
DeleteRow() for GTK+ version and sorted model.
  Added tests for these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 21:11:14 +00:00
Robin Dunn
627e49c80c add tests for EVT_TEXT_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:26:00 +00:00
Robin Dunn
67be49eec6 build tweaks, also drop most Python 2.3 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:24:42 +00:00
Robin Dunn
f5263701c2 various changes to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:22:58 +00:00
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