Commit Graph

39412 Commits

Author SHA1 Message Date
Robin Dunn
f703b16a42 some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:52:15 +00:00
Robin Dunn
c91397af88 it looks better if we just change the main bitmap, not all of them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:51:34 +00:00
Václav Slavík
9f50431f18 improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:37:40 +00:00
Mart Raudsepp
707dcbad73 gtk_border_free is for freeing GtkBorder's, not g_free.
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.
Hopefully we will release 2.8.5 by then...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 06:16:45 +00:00
Mart Raudsepp
09632bb00c Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 05:53:03 +00:00
Václav Slavík
b996028c3b when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530; this is standard behaviour when selecting text)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:58:20 +00:00
Václav Slavík
887e1ab976 fixed selecting part of word from right to left in wxHTML (patch #1719530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Václav Slavík
faf75a0f58 don't make read-only text controls editable when enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 09:29:41 +00:00
Vadim Zeitlin
1644f8fccc correct setting of pSymbol->SizeOfStruct (patch 1737789) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:59:29 +00:00
Robin Dunn
0e65b1d1cd Patch #1738147 Improved imagebrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:16:37 +00:00
Robin Dunn
14b4674a0b bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:15:13 +00:00
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