Commit Graph

37982 Commits

Author SHA1 Message Date
Kevin Ollivier
f52eff546a Fix API calls to match header changes made in richtextbuffer.h 1.42 and restore compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 07:45:54 +00:00
Kevin Ollivier
dbace455c0 Use DrawItemSelectionRect on GTK2 and OS X. Also, use white text when drawing focused under Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 07:32:54 +00:00
Kevin Ollivier
8bc0c17afc Migate to the new wxRendererNative::DrawItemSelectionRect function where available, and fix selected text color on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:47:48 +00:00
Kevin Ollivier
df0edf4443 Have wxGenericListCtrl record and store the selection state of each column, and on OS X, use this to correctly draw selected headers. Also, move to DrawItemSelectionRect for drawing the background selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:32:08 +00:00
Kevin Ollivier
a4609ab847 Implement wxRendererMac::DrawItemSelectionRect and move the generic wxTreeCtrl to using it to draw selected items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:28:47 +00:00
Michael Wetherell
5c80cef4bf wxArchiveFSHandler switches on simulated seeking for compatibility with
previous versions. Still overridden by wxFS_SEEKABLE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 02:11:40 +00:00
Robin Dunn
82fb2b744f some build/install tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 01:14:01 +00:00
Robin Dunn
d359a38002 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 01:12:25 +00:00
Kevin Ollivier
706b630a1e Make sure both filter and item text are converted to lower-case, otherwise only lower-case queries work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 23:22:22 +00:00
Julian Smart
12cc29c56a Small cleanup.
Set caret position when calling SetSelection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 22:27:48 +00:00
Robin Dunn
9745cf4d6c removed 'unsigned' from 'unsigned int' so epydoc doesn't get ocnfused
over the two tokens in the type name


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 21:25:33 +00:00
Robin Dunn
894699b60e Add 'combo' to __all__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 21:23:43 +00:00
Robin Dunn
72fdc4585e Fix for build errors when the media lib was not built.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 21:22:50 +00:00
Robin Dunn
34bec08974 py2exe finds the DLL now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 19:45:11 +00:00
Robin Dunn
f27895d289 Added wx.combo.BitmapComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 19:43:32 +00:00
Michael Wetherell
4532786ee2 Add wxFS_SEEKABLE to wxFileSystem::OpenFile calls for images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 18:43:13 +00:00
Robert Roebling
1bd2ceb57b [ 1598659 ] make wxAnimationCtrl::SetInactiveBitmap center given bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:46:29 +00:00
Robert Roebling
97331b821f [ 1598662 ] Fix some mispelled event macros in docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:41:32 +00:00
Robert Roebling
51cb1a6587 Restore correct behaviour of GetTimes() wrt to
directories.
  Add some (hopefully) clarifying docs about
    dealing with dir names vs. file names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:34:40 +00:00
Vadim Zeitlin
06ad6296a6 rename bICON (see rev 1.47) to wxICON_AAA to make it alphabetically first among wx icons but not among all application icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 16:46:59 +00:00
Michael Wetherell
8b52f082f2 Document wxFS_XXXX flags for wxFileSystem::OpenFile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 16:39:52 +00:00
Václav Slavík
fa28b00cdc don't use priviledged calls in wxDFB to allow concurrent use of the display by >1 wxDFB apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 13:17:35 +00:00
Kevin Ollivier
c8408242c2 Fix compilation of wrapper, and add a couple events added in the last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:53:47 +00:00
Robin Dunn
eccab1a711 reSWIGGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:35:26 +00:00
Robin Dunn
84dd1dd89e Add docstrings for ComboCtrl and ComboPopup, and added OwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:33:33 +00:00
Robin Dunn
3b339f106c demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:31:59 +00:00
Robin Dunn
f31ed3f103 forceTrueColour parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:29:40 +00:00
Vadim Zeitlin
c2e833af5f remove unused file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:10:17 +00:00
Robert Roebling
649707a506 Hopefully fixed misplaced printout in libgnomeprint.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:08:52 +00:00
Vadim Zeitlin
ea7fb468ce include correct XPMs (Unix compilation fix after last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:08:27 +00:00
Benjamin Williams
3f7fce73bf tab drawing fix for vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 21:49:20 +00:00
Benjamin Williams
bc9e332166 manager should always be set in pane events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 21:47:33 +00:00
Vadim Zeitlin
92f20fe33d free old resources in DoLoad(), apparently fixes memory leaks with gstreamer 0.10 (patch 1598317)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:25:15 +00:00
Vadim Zeitlin
cf46511d2c added tests for background colour, static bitmap &c (part of patch 1598005)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:15:44 +00:00
Vadim Zeitlin
1afdfc9deb - fix wxAnimationCtrl::SetBackgroundColour both for generic and native GTK
version
- fix wxAnimationCtrl::GetAnimation for GTK version (modifying correctly the
  constructor which takes a GdkPixbufAnimation)
- fix the generic wxAnimationCtrl::SetAnimation() when it's used with a
  wxNullAnimation.
- moves the frame counter reset in Stop() as it's more sensed to always have
  m_currentFrame cleared immediately when the animation has been stopped
- fix a problem with transparent bitmaps drawing in wxAnimationCtrl::OnPaint

(part of patch 1598005)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:14:42 +00:00
Vadim Zeitlin
70fc30ae82 minor typo fixes (part of patch 1598005)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:12:43 +00:00
Vadim Zeitlin
676dd1dc30 use correct bitmap dimension in DetermineIndent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 16:45:39 +00:00
Kevin Ollivier
61574b34df Adding a copy of sized_controls.py to the wxPython distro so I can use it for developing GUIs. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 16:12:36 +00:00
Vadim Zeitlin
ed0cc9ffec added chart icon for non-MSW ports too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 15:05:29 +00:00
Vadim Zeitlin
e21d861412 Some sample cleanup:
1. Use standard sample icon, avoid badly looking #ifdef __WXMSW__s
2. Use "modern" (i.e. this century) wxToolBar API, simplify code by
   not allocating the bitmaps on the heap and deleting them any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 15:04:05 +00:00
Julian Smart
5912d19ef7 Removed obsolete code
Added some more event types
Added back GetStyleForRange


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 14:28:47 +00:00
Benjamin Williams
a95dd1d8ff aui documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:22:02 +00:00
Benjamin Williams
4dc79cfb52 added wxAuiManager::GetManager() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:07:01 +00:00
Vadim Zeitlin
28f9f58ca0 fixed warning about junk after #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 12:29:21 +00:00
Benjamin Williams
254a342953 renamed wxAUI_ART to wxAUI_DOCKART
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 11:28:17 +00:00
Robert Roebling
4ba1c184b5 Commit fix to remove warnings when drawing text
to a mono-bitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:47:24 +00:00
Robert Roebling
c77eea28f9 Implemented forceTrueColour in SetBestVisual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:39:06 +00:00
Robert Roebling
515a31bf65 Add forceTrueColour option to SetBestVisual().
Currently API only, implement later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:29:39 +00:00
Julian Smart
5600fb6e6f Documented wxRICHTEXT_HANDLER_NO_HEADER_FOOTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:42:12 +00:00
Julian Smart
b774c69893 Added wxRICHTEXT_HANDLER_NO_HEADER_FOOTER to allow saving HTML fragments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:40:01 +00:00