Vadim Zeitlin
b060ae7de4
added wxDocument::GetUserReadableName() for forward compatibility with 3.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:53:56 +00:00
Stefan Csomor
dde33f39c1
use CFAlerts on mac for asserts, better isolation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 23:07:20 +00:00
Stefan Csomor
ea3bf30068
popupwin for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 23:04:35 +00:00
Stefan Csomor
fa887f51c1
making spell checking selectable via system options, Bug 1736428
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 22:14:09 +00:00
Stefan Csomor
dd8fb0aa37
making spell checking selectable via system options, Bug 1736428
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 21:59:28 +00:00
Vadim Zeitlin
b9b6aefc64
corrected strptime() test, don't use NULL pointer as this crashes under Darwin [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 10:24:33 +00:00
Vadim Zeitlin
7cf8af693d
check if strptime() works correctly and disable its use if it doesn't [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 01:10:17 +00:00
Stefan Csomor
af81408a3e
fixes for popupwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 22:55:58 +00:00
Václav Slavík
56a25b3eb8
prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 20:49:27 +00:00
Stefan Csomor
ba281f497a
fixing 1736334
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:36:28 +00:00
Stefan Csomor
dd9f8154e5
fixing 1736428
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 13:03:12 +00:00
Stefan Csomor
6a7ecf17b1
fixing 1736447
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:56:34 +00:00
Stefan Csomor
715b146a8b
fixing 1736298
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:43:36 +00:00
Stefan Csomor
44b4624ed8
fixing 1736298
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:35:29 +00:00
Stefan Csomor
16f129a555
universal support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:35:23 +00:00
Stefan Csomor
b04e8701aa
changing weak linking pattern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:24:17 +00:00
Stefan Csomor
904c5051aa
unhighlighting the menu when a dialog is shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:22:15 +00:00
Stefan Csomor
d86e89f3f9
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:20:40 +00:00
Stefan Csomor
d3521487d4
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:05:37 +00:00
Stefan Csomor
cc10fcc4a8
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 03:46:20 +00:00
Stefan Csomor
50af8f6e66
fixing pict export under coregraphics with quicktime, using tiger functions for faster conversion where possible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 19:49:51 +00:00
Robin Dunn
9c952d068f
more updates on recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 21:59:01 +00:00
Robin Dunn
de511875dc
Added save to stream methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 21:31:19 +00:00
Robin Dunn
1779d8df50
Added wxRoses sample from Ric Werme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 20:40:43 +00:00
Vadim Zeitlin
a74f1a0dfa
generate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 09:24:55 +00:00
Julian Smart
8248c56400
Faster hex encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:52:47 +00:00
Vadim Zeitlin
96b17da728
initialize the variable as XtVaGetValues() may not do it apparently [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:04:58 +00:00
Vadim Zeitlin
90dfa0efd3
fix custom draw bug for controls with only one column (patch 1731024) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:58:38 +00:00
Vadim Zeitlin
9aad4a641c
fix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important stdcall) (patch 1731976) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:55:16 +00:00
Vadim Zeitlin
112ef6914c
cancel dragging if Esc is pressed (patch 1733657) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:54:00 +00:00
Kevin Ollivier
d6518e3ef7
Bakefile only supports 'and' conditions, so refactor the debug conditions to reflect that.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 18:25:40 +00:00
Stefan Csomor
4ca8cbec78
now that the bitmap context is always in topleft coords, we need the adjusted call for drawing an image
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 16:07:25 +00:00
Julian Smart
a76b434a2e
Small typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 12:41:22 +00:00
Robin Dunn
dcc8666d99
zap an extra print statement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 05:03:19 +00:00
Robin Dunn
a05097c7ae
* Some menus and buttons are kept in sync with EVT_UPDATE_UI.
...
* Tool menu items use wx.ITEM_RADIO
* New polygon and scribble tools
* Text tool uses wx.FontDialog rather than home grown dialog
* Switched to double-buffering (code borrowed from doodle sample.)
* Spent a lot of time on improving handling of canvas scrolling redraws
which look bad under __WXMSW__, IMHO.
* All tools are subclasses of DrawingTool now.
* All objects are subclasses of the base DrawingObject now (rather than
typecode switch)
* Majority of event handling delegated to tools
* Manipulation of handles refactored to move most of the logic into
DrawingObject subclasses
* Use GenBitmapToggleButton for the Tool buttons instead of reimplementing
same functionality.
* Nicer looking fill/stroke preview (I think anyway)
* Toggle for choosing between wx.DC and wx.GCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 04:56:29 +00:00
Julian Smart
6468e29b37
Init fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Robin Dunn
1e00fb2d66
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:49:33 +00:00
Robin Dunn
b40cb84f3f
Patch from Paul McNett to check for the Acrobat version more robustly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:47:19 +00:00
Robin Dunn
40a426b367
Premultiplied Alpha is now exepcted on Mac too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:46:07 +00:00
Robin Dunn
a90ee73cdc
Use correct name in MustHavApp macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:45:06 +00:00
Robin Dunn
769c0c934f
Add ShutdownDemo to better clean up when switching to another sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:44:14 +00:00
Robin Dunn
d2a924d5f2
Mac lipo build patch from Kevin O.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:43:02 +00:00
Robin Dunn
c824de2497
Yielding from a non-gui thread needs to bail out, otherwise we end up
...
possibly sending events in the thread too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:34:54 +00:00
Julian Smart
85543d154a
Don't insert a newline when we get text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 12:49:35 +00:00
Stefan Csomor
3a9b6f8275
better param type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 06:57:22 +00:00
Stefan Csomor
d241e86059
add a PICT export for Quartz (needed under 10.3 as ImageRefs are not accepted everywhere)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:58:16 +00:00
Stefan Csomor
b11cd08867
making pdf implementation compile and work under 10.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:37:40 +00:00
Stefan Csomor
876da30ac3
uma versions for tiger only calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:34:42 +00:00
Kevin Ollivier
f619081d63
Make macbuild-lipo more robust, add lipo-dir which will lipo two dirs (one a ppc install and one an intel install) together.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 05:26:41 +00:00
Robin Dunn
27c390f313
Convert '0' or '1' to int before converting to bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:53:10 +00:00