Commit Graph

37988 Commits

Author SHA1 Message Date
Vadim Zeitlin
404e855d9f added possibility to create wxDatePickerCtrl without any initial date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:07:40 +00:00
Vadim Zeitlin
280399077a don't use wxFromSystemTime() with possibly invalid date (closes bug 1596606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:06:03 +00:00
Vadim Zeitlin
1ae30333bc added missing blank line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:42:57 +00:00
Vadim Zeitlin
c6a372b61a replaced 2nd wxCONTROL_CURRENT with correct wxCONTROL_FOCUSED in DrawItemSelectionRect() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:41:04 +00:00
Vadim Zeitlin
09d66b2b74 wxCHECK_GCC_VERSION() takes 2 parameters, not 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:38:45 +00:00
Vadim Zeitlin
0deb5fab34 unmultiply by alpha when converting from wxDIB to wxImage as the former uses premultiplied alpha but the latter does not (patch 1597063)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:35:16 +00:00
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