Commit Graph

40708 Commits

Author SHA1 Message Date
Vadim Zeitlin
0286d08d14 add wxMBConvStrictUTF8 class implementing just UTF-8 conversion, without support for PUA/octal mappings and use it for wxConvUTF8 as it's simpler and more efficient (~20% faster)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:01:10 +00:00
Robert Roebling
6989272940 Patch from Bo to speed up FindNode() in internal data tree structure (GTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:10:10 +00:00
Robert Roebling
fe5f448f43 Added wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:26:51 +00:00
Robert Roebling
effd54b05e Don't send events when expanding internally, only after wxDataViewModel::ItemAdded was called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:25:35 +00:00
Robert Roebling
d8331a013b Send events from port-specific code, not common code, tested in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:15:04 +00:00
Robert Roebling
351461fc83 Patch from Bo to optimize FindNode() in internal tree structure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 08:35:55 +00:00
Vadim Zeitlin
8ca1a013e4 corrected off by 1 error in cMB2WC() call (thanks valgrind)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 00:36:22 +00:00
Vadim Zeitlin
89216929ee don't add an extra empty line to the end (fixes bug introduced by the last optimization round)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:36:37 +00:00
Vadim Zeitlin
b899f05f9e harmless warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:34:29 +00:00
Vadim Zeitlin
3af0741ccc compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:33:44 +00:00
Vadim Zeitlin
3d9b742c7d removed empty directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:29:46 +00:00
Vadim Zeitlin
1c2aa6f237 fix caching of configure arguments broken by one of the previous commits (all options got saved in the cache file, not just the ones explicitly specified)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 21:59:56 +00:00
Vadim Zeitlin
6b65e37304 removed wxUSE_STRUTILS which was left over from the old code version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 18:00:15 +00:00
Julian Smart
884a369a73 Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 12:23:28 +00:00
Vadim Zeitlin
671c43ff32 fix for r47646: typedef wxDouble for all platforms, not just wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:27:39 +00:00
Stefan Csomor
e879caa6a3 adding missing defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 11:34:47 +00:00
Vadim Zeitlin
eea0562328 call aglEnable(AGL_BUFFER_RECT) after setting the rect; fixes both drawing over all the other windows and missing redraw before first resize (patch 1758339)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:34:16 +00:00
Vadim Zeitlin
4d76ea948a removed erroneous spaces from wxTo/FromString() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:29:33 +00:00
Stefan Csomor
49d8a7819b no 68k macs more to support...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:14:35 +00:00
Václav Slavík
d6f513f829 fix visibility problems with libstdc++ on Debian and Ubuntu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 09:20:42 +00:00
Václav Slavík
a2c5db764c fixed visibility warning on Fedora
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:01:51 +00:00
Vadim Zeitlin
991ad6cd02 corrected the include file names (rest of patch 1757479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 00:00:13 +00:00
Vadim Zeitlin
08f35f8720 removed docs for classes not existing any more (part of patch 1757479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:59:07 +00:00
Vadim Zeitlin
b0f76951bc correct closing comments in #endifs (patch 1756990)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:54:55 +00:00
Vadim Zeitlin
9222c61388 updated after fileconf/fileconftest.cpp to config/fileconf.cpp move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:51:19 +00:00
Vadim Zeitlin
5c5a0f3c39 moved wxFileConfig test to config directory together with wxConfig test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:50:26 +00:00
Vadim Zeitlin
3e1512cdfe added support for user-defined types to wxConfig (patch 1753875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:47:22 +00:00
Vadim Zeitlin
d2001a563b added a macro for comparison size_t variables with literal constants, this is less ugly than explicitly casting the arguments to size_t; use it to fix base64 compilation under 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:41:07 +00:00
Vadim Zeitlin
8b51786f6e added wxTo/FromString(wxColour) (part of patch 1753875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:24:10 +00:00
Vadim Zeitlin
6fdf2acccd added --enable-ownerdrawn MSW-only option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:22:56 +00:00
Robert Roebling
c534e69669 added wxDataViewIndexListModel and sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:07:03 +00:00
Vadim Zeitlin
11f406f91f allow overriding automatic alpha detection during icon->bitmap conversions (slightly modified patch 1738168)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 22:56:07 +00:00
Vadim Zeitlin
313d9977bb removed unused variable left after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 21:36:30 +00:00
Václav Slavík
6991087b08 fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 16:43:31 +00:00
Vadim Zeitlin
3c1a167904 removed duplicate MSW-specific options, they're now all between special start/end MSW options comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:22:15 +00:00
Vadim Zeitlin
0295153cbc added --enable-ps-in-msw configure option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:09:57 +00:00
Vadim Zeitlin
b3a7495cbc removed wxUSE_UXTHEME_AUTO which wasn't used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:07:16 +00:00
Vadim Zeitlin
f28b24bb6a removed all MSW-specific options from this file, what were they doing here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:06:32 +00:00
Vadim Zeitlin
42f9292efb removed all MSW-specific options from this file, what were they doing here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:05:11 +00:00
Vadim Zeitlin
f77c0fe312 added wxUSE_REGKEY option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:01:28 +00:00
Vadim Zeitlin
ba0c92a67d regenerated MSW part from wx/msw/setup_inc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 12:58:59 +00:00
Vadim Zeitlin
508d12b224 extracted MSW-specific setup.h options to their own wx/msw/setup_inc.h file which is now used to automaitcally generate both wx/msw/setup0.h and setup.h.in by update-setup-h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 12:56:22 +00:00
Vadim Zeitlin
1457ea31cd correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:41:34 +00:00
Vadim Zeitlin
8743ec79b7 corrected (and simplified) configarg.cache updating broken by last changes to WX_ARG_WITH/ENABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:15:38 +00:00
Vadim Zeitlin
9795e0dbc2 define wxUSE_FONTENUM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 07:31:28 +00:00
Vadim Zeitlin
e0f88b1ac7 define CreateEventLoop() even if wxUSE_CONSOLE_EVENTLOOP == 0 (because it's declared pure virtual in the base class), just return NULL from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:53 +00:00
Vadim Zeitlin
ff42758536 added wxUSE_FONTENUM for wxFontEnumerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:00 +00:00
Vadim Zeitlin
a8ff046ba9 fixes for building wxMSW with --disbale-all-features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:05:03 +00:00
Vadim Zeitlin
5d18e02915 added --enable-uxtheme option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:42:58 +00:00
Vadim Zeitlin
38a14fe926 always use GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, independently of whether wxDD_MUST_EXIT flag is used, as the create folder dialog has confusing UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:26:42 +00:00