Vadim Zeitlin
c4a34cf8c5
call Init() from wxBufferedDC ctors to ensure that layout direction is inherited in any case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:04:28 +00:00
Vadim Zeitlin
b1ed79a980
inherit the original layout direction (patch 1554810); also refactored a little to reduce code duplication and added a couple of wxCHECKs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:00:58 +00:00
Paul Cornett
b687dd2fc1
wxGraphicContext --> wxGraphicsContext
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:00:11 +00:00
Paul Cornett
fd8bb4662a
wxGraphicContext --> wxGraphicsContext
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:33 +00:00
Robert Roebling
ddb0ed69a9
Fix warning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:22:07 +00:00
Stefan Neis
d9c9196e34
Corrected port name used in headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:19:11 +00:00
Vadim Zeitlin
e4164aa980
filter out duplicate date changed events sent by the native control (part of bug 1482773)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:29:33 +00:00
Vadim Zeitlin
e7e9ac91c2
one more correction to wxCondition::WaitTimeout() return code: don't overwrite err with the semaphore wait result (bug 1387179)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:06:11 +00:00
Vadim Zeitlin
194b226768
also define wxLstat for non-Unix platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:45:40 +00:00
Vadim Zeitlin
ee8d76ec2e
also define wxLstat in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:42:17 +00:00
Vadim Zeitlin
56614e51f9
added wxLstat() (one of patches from bug 1052385)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:41:20 +00:00
Robert Roebling
9e29cd0a28
[ 1581391 ] wxAnimationCtrl XRC handler
...
(most of)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:59:25 +00:00
Robert Roebling
8e458bb539
[ 1580776 ] wxAnimationCtrl::SetInactiveBitmap
...
Additionally call UnShare() in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:51:38 +00:00
Stefan Csomor
8acd14d177
untangling dc and gc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robert Roebling
8f3f46357d
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:23:49 +00:00
Robin Dunn
be01a40397
use consistent names (Graphic vs. Graphics)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Robin Dunn
54eb75b5fb
Forward SetFont, SetBackgroundColour and SetForegroundCOlour to the
...
generic listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:12:57 +00:00
Stefan Csomor
513b47e9b7
screendc implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:50:48 +00:00
Stefan Csomor
bf2185eb8b
new method needed for screendc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:46:07 +00:00
Stefan Csomor
4a4ab1b6a8
adding same methodname as gtk and msw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:12:23 +00:00
Julian Smart
f089713f9e
Added the ability to use built-in bullet styles, currently standard/circle or standard/square.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:04:12 +00:00
Vadim Zeitlin
73a0b98c1b
define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:32:30 +00:00
Stefan Csomor
cd7d36c065
replacing old core graphics with new graphics context implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:56:36 +00:00
Stefan Csomor
6ff41b1697
replacing old core graphics with new graphics context implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:27:41 +00:00
Stefan Csomor
24a7b71889
replacing old core graphics with new graphics context implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:34:11 +00:00
Vadim Zeitlin
90c0f63a83
define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:16:41 +00:00
Włodzimierz Skiba
e8f5bc9b5c
Typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:43:39 +00:00
Włodzimierz Skiba
41a852156f
Whitespaces and headers cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 07:48:31 +00:00
Stefan Csomor
774f4d1221
start using wxGraphicsContext for OS X instead of old core graphics implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:27:58 +00:00
Paul Cornett
91641d0443
Remove unnecessary size members from GtkPizzaChild.
...
Move some declarations out of header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:47:15 +00:00
Robin Dunn
81bfc17cc6
bump subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:24:08 +00:00
Julian Smart
8987e7d6e8
Added missing WXDLLIMPEXP_RICHTEXT symbol
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 19:55:49 +00:00
Julian Smart
bcedac4469
Compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:56:40 +00:00
Stefan Csomor
8946d7fd68
using graphics context for core graphics switch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:04:32 +00:00
Vadim Zeitlin
b098b62129
extracted wxGtkString in a separate file, it's also needed by wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:42:01 +00:00
Vadim Zeitlin
b886fae648
Main change is that we now close X11 display on program exit: as this couldn't
...
be done in wxApp dtor (too early), a special module had to be created for it
and module dependencies added for the other modules which have to be cleaned
up while the display is still open.
Also a few minor formatting changes and removed a couple of unused variables
from wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:39:53 +00:00
Julian Smart
dadd4f5523
Added a list style editor page to the formatting dialog.
...
Added a style organiser dialog, which can be used to browse
for and apply styles and can be limited to show one of
the three style types, or all three.
Added a font name cache since it's an expensive operation
that's used frequently by the rich text dialogs.
Added ability to switch off tooltips for new dialogs
(off by default). Improved the previews. Pressing tab or shift-tab
at the start of a list item now demotes or promotes the item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:04:13 +00:00
Vadim Zeitlin
0c7e0a8771
added newline at end of file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 13:09:48 +00:00
Robert Roebling
d65fd4e93f
Made wxStreamBase::IsOk() virtual;
...
Overrride in file streams to test foe base class and
for correctly opened files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:30:59 +00:00
Mart Raudsepp
2649725398
Include defs.h before including wxchar.h to make init.h self-contained (able to include this header in
...
applications as the only one).
Before with only include wxchar.h it was missing ATTRIBUTE_PRINTF and other things due to wxchar.h not including
defs.h because of defs.h including wxchar.h itself.
We probably don't need to include wxchar.h anymore in init.h then, but I don't want to rely on wxchar.h being
always included from defs.h (if we can rely on that, please change if appropriate)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 07:43:24 +00:00
Kevin Ollivier
448f8f12b9
Several wxWebKitCtrl enhancements/fixes. Including:
...
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.
- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.
- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.
- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00
Robin Dunn
77f62aa7b6
Patch #1579801 : wxBufferedDC shared buffer bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:36:36 +00:00
Robert Roebling
88bbc3329b
Test for KDE and GNOME using session manager vendor.
...
Use it in mime types initialization.
Add wxUSE_DETECT_SM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 21:55:54 +00:00
Paul Cornett
5f8047a69b
use generic wxAnimationCtrl in wxGTK-universal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:32:52 +00:00
Robin Dunn
fd39f7a893
Add impl for IsFrozen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:50:03 +00:00
Włodzimierz Skiba
1b88201ff5
Headers cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Julian Smart
38f833b10c
Added list style to text attributes, independent from paragraph style
...
Added list style definition
Added SetListStyle, ClearListStyle, NumberList, PromoteList to
buffer and control classes
Changed style listbox so double-click applies style instead of
single click. This allows for multiple items to be applicable,
and also in future to edit styles from this listbox without
accidentally applying the style to content.
Added wxRichTextStyleListCtrl which also shows a wxChoice for
selecting the type of style to display.
Style sheets can form a chain to allow inheritance from current
style sheet (not yet supported by style list controls).
Added PushStyleSheet/PopStyleSheet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:09:14 +00:00
Paul Cornett
fd7a7443bc
use common AllocExclusive, rather than custom code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 04:20:47 +00:00
Paul Cornett
e3e89a9370
implement {Create,Clone}RefData for gtk wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:19:20 +00:00
Paul Cornett
93c5f7558e
add public wxObject::UnShare
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:18:28 +00:00