Julian Smart
ff76711fbe
Fixed a bug setting caret position after setting or clearing selection
...
Implemented forced line breaks within a paragraph, entered with Shift-Return.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 11:33:44 +00:00
Benjamin Williams
bb38f6c88a
comment improvements/fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 07:12:41 +00:00
Benjamin Williams
cf37c9a90d
allow programmatic access to start pane dragging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 18:10:18 +00:00
Vadim Zeitlin
2c9fc05a46
delete controls which are part of the calendar (even if they're siblings to it and not its children) when the calender itself is deleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:14:14 +00:00
Vadim Zeitlin
9576de5c8b
avoid assert when creating the control with wxCAL_SEQUENTIAL_MONTH_SELECTION style introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:11:24 +00:00
Vadim Zeitlin
6bc807b35d
assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this doesn't currently work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:01:48 +00:00
Vadim Zeitlin
602a2e02f9
no changes, just some minor modifications of comments and moved one function around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 14:57:52 +00:00
Vadim Zeitlin
670048b2f0
set/get validator for wxTextCtrl part of wxComboCtrl and not the combo itself (patch 1599214, closes bug 1598600)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 14:44:30 +00:00
Benjamin Williams
e6c46ffefb
GradientFillLinear() on wxMSW now draws on the rectangle border as well, making it consistent with the gernaic version as well as wxDC::DrawRectangle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:31:15 +00:00
Vadim Zeitlin
ad71458057
remove obsolete and out of date project file which was kept for compatibility with wx 2.4 only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:13:17 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Julian Smart
523d2f145e
Added wxRICHTEXT_SETSTYLE_RESET SetStyleEx() flag to allow for clearing attributes before setting new ones
...
SetStyle() now looks up and applies named paragraph or character style
Fixed a bug in text entry (taking previous paragraph's style)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:33:34 +00:00
Julian Smart
380a5dd803
Limit indentation in style listbox, and also show centring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:21:38 +00:00
Vadim Zeitlin
d5eaa19fdf
don't set A4 paper size, use the system default instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 01:54:48 +00:00
Michael Wetherell
3acc920057
Fix not recognising '/' on Windows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 19:03:03 +00:00
Benjamin Williams
7f1e14684d
notebook window list popup positioning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 18:48:00 +00:00
Benjamin Williams
8096c4256b
minor tab drawing improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 18:46:10 +00:00
Vadim Zeitlin
f2dc88a050
wxMGL/Unix compilation fix attempt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 14:02:14 +00:00
Jouk Jansen
b29aaf4a77
Solves 2 problems I encounterd on OpenVMS :
...
stdpaths.cpp : missing rourtine in VMS part
bitmap.cpp : type casts WXPixmap changed to Pixmap
Modified Files:
wxWidgets/src/unix/stdpaths.cpp wxWidgets/src/x11/bitmap.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 13:31:40 +00:00
Benjamin Williams
2b4b6ded9b
pane buttons are now vertically centered
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 11:01:19 +00:00
Benjamin Williams
7453065ac0
removed a bunch of wxCHECK_VERSION(2,7,0)'s because aui isn't 2.6.x-backportable anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 10:39:23 +00:00
Benjamin Williams
4cd1d19679
use real alpha blending algorithm to avoid sickly looking colors on some platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:25:09 +00:00
Benjamin Williams
a500c7ed7a
consolidated duplicated static functions into one file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:21:54 +00:00
Stefan Neis
fd29f9ad65
Wrong version checked in last time, this time we really:
...
- avoid problems when calling lxlite on unix style filenames (starting /).
- rely on default compression options when calling lxlite.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:00:54 +00:00
Julian Smart
7d5232b815
Removed new function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 07:33:19 +00:00
Benjamin Williams
852a7df6d5
docking crash fix patch applied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 06:13:21 +00:00