Commit Graph

36067 Commits

Author SHA1 Message Date
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
Václav Slavík
6f7eb299f0 fixed client<->window coords translations in DoMoveWindow and DoSetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:23:25 +00:00
Vadim Zeitlin
8b0b78b0fa regenrated after removing imaglist.cpp from GTK and Motif sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:06:35 +00:00
Vadim Zeitlin
d1a3f56648 added src/xrc/xh_bmpbt.cpp (how comes it was in Makefile but not here?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:57:16 +00:00
Vadim Zeitlin
10c2977639 remove generic/imaglist.cpp from GTK|MOTIF_SRC now that it is in XWIN_LOWLEVEL_SRC already included in them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:44:04 +00:00
Robert Roebling
7962f85aae [ 1564062 ] wxComboCtrl popup height fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:17:45 +00:00
Robert Roebling
df348ff8c7 [ 1564113 ] wxComboCtrl and wxODComboBox documentation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:16:08 +00:00
Robert Roebling
5cfbc8d0e5 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 10:01:05 +00:00
Robert Roebling
d72f87f60b Implememt GetColoursCount() in the generic wxPalette.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:54:11 +00:00
Robert Roebling
84140dc956 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:47:14 +00:00
Robert Roebling
5633b968f5 [ 1557935 ] wxPalette::GetColoursCount implementation
I commited the version which MSDN claims to be
     available since Windows 95. No idea why MFC
     doesn't use it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:35:09 +00:00
Robert Roebling
c86d8baad7 Updated Makefile.in after wxBitmapComboBox addition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:19:16 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Robert Roebling
ce9685190e [ 1560860 ] wxComboCtrl EVT_TEXT filtering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:04:25 +00:00
Robert Roebling
25dff19c97 Reset m_oldValue of after ::SetValue().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:00:17 +00:00
Robin Dunn
ac9d5e9574 Added wx.lib.expando, a multi-line textctrl that exands as more lines
are needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 04:15:20 +00:00
Robin Dunn
65d48a2acf Fix my last fix. The method is pure virtual in the base class so it
can't be fully removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 22:55:55 +00:00
Robin Dunn
581b9f53ae Remove the wxVariantDataString::Read method since the >> operator it
depends on has been removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:55:03 +00:00
Robin Dunn
0100ee7daa Patch from Tim Kosse to allow virtual list ctrl to work when using the
generic control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:47:57 +00:00
Robin Dunn
777e547f2c add some properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:46:26 +00:00
Robin Dunn
67cb8b4720 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:45:25 +00:00
Robin Dunn
e64481bf07 Catch WXK_NUMPAD_DELETE and WXK_NUMPAD_INSERT too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:19:45 +00:00
Kevin Ollivier
54638f9e66 Fixing SetColumnWidth and selection handling, attempt at fixing ClearAll(), and initial impl. for EditLabel / EndEditLabel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 17:37:01 +00:00
Kevin Hock
9d4b8a5d0d When autosizing a row or column (AutoSize____), use GetMultiLineTextExtent to determine header size. Otherwise, the column header widths are artificially inflated, and row header heights are not high enough.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 17:20:40 +00:00
Stefan Csomor
e34fb6eae3 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:46:23 +00:00
Stefan Csomor
ded83b1a5c further encapsulation of graphics context, wxdc becoming 'generic'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:28:15 +00:00
Stefan Csomor
53bc386387 allow access to wxWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:25:23 +00:00