Vadim Zeitlin
4223cec504
avoid code duplication between the generic and GTK versions, factor the common code out in OnStateChange()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:27:10 +00:00
Vadim Zeitlin
2cbf701441
1. We don't need GetTopLevelParent() here, we already have wxGetTopLevelParent()
...
2. Don't hardcode button id in the generic version
3. Don't include unneeded headers from the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:23:12 +00:00
Vadim Zeitlin
550d433e52
cleanup (mainly wrapping lines to be < 80 chars); added IsExpanded()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:10:07 +00:00
Vadim Zeitlin
3c1f8cb1f5
initial draft of wxCollapsiblePane (patch 1577412 by Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:28:37 +00:00
Vadim Zeitlin
9ebb7cade2
added wxSimpleHtmlListBox (patch 1576109 by Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:09:16 +00:00
Vadim Zeitlin
f4aa7ec32b
small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
06077aaf2c
add alt popup window style allowing to use keyboard and comboboxes in the popup window and use it for the generic date picker (patch 1582391 from Jaakko)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:25:08 +00:00
Stefan Csomor
2070a4f314
adding path accessors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:28:31 +00:00
Stefan Csomor
8ddf8e829a
adding wxobject and RTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 17:52:23 +00:00
Vadim Zeitlin
3abcfa9b7f
make install location autodetection work for executables compressed with (latest version of) UPX under Linux (patch 1565357)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:19:50 +00:00
Vadim Zeitlin
85fa9d60c4
use wxComboCtrl instead of custom popup window (patch 1575343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:15:46 +00:00
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