Commit Graph

36109 Commits

Author SHA1 Message Date
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
Stefan Csomor
a85ff267a8 extending graphics context encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:19:05 +00:00
Stefan Csomor
4bef5a72a4 extending graphics context encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:10:51 +00:00
Jouk Jansen
a843055617 Update OpenVMS make files
Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
 	wxWidgets/src/univ/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 13:04:18 +00:00
Václav Slavík
4ff28c37c8 implemented SetFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 06:55:08 +00:00
Vadim Zeitlin
71c1dbbd54 don't release the DC which we don't own in wxUSE_UXTHEME case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 00:50:53 +00:00
Robin Dunn
a08f21ce07 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:51:09 +00:00
Robin Dunn
14cb220a29 disown wxPyXmlResourceHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:45:15 +00:00
Robin Dunn
70d374acb3 Use the generic listctrl on Mac by default until it gets up to par
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:44:13 +00:00