Commit Graph

40155 Commits

Author SHA1 Message Date
Paul Cornett
35d2f1b82e need to invert offsets for gdk_pixbuf_scale;
remove unneccessary and incorrect optimization


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:14:53 +00:00
Paul Cornett
533b005afd speed up Rescale 5- to 15-fold by using pixbuf scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 02:45:01 +00:00
Václav Slavík
155c2f6c82 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 16:23:28 +00:00
Václav Slavík
db18be5792 added missing operators for int and unsigned char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 15:02:31 +00:00
Václav Slavík
be39d6f592 make operators for comparing wxString and wx[W]CharBuffer available in both builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:54:25 +00:00
Václav Slavík
5d0fac27c4 added operators for comparing wxString to wxCStrData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:50:46 +00:00
Václav Slavík
98cf46c8d2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:28:47 +00:00
Vadim Zeitlin
8ac09e5213 removed extra semicolons added by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:11:09 +00:00
Václav Slavík
b0c4d5d792 fixed non-const wxString iterators to work when a character is changed to another with different UTF-8 sequence length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:16:01 +00:00
Vadim Zeitlin
549b95b3de added wxTimer test (now that it works in console applications too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:15:52 +00:00
Václav Slavík
c67b782d27 reverted accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:11:31 +00:00
Václav Slavík
6f207e6699 compilation fixes for --disable-compat28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:01:19 +00:00
Vadim Zeitlin
f35c88fcca removed unused any more file (replaced by wxSelectDispatcher)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:00:38 +00:00
Václav Slavík
19817fd33e fixed HTML entities parsing broken by wxString changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:54:36 +00:00
Václav Slavík
c7dc005723 added wxSTRING_TEXT() convenience macro for defining literals in wx's internal strings format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:51:34 +00:00
Václav Slavík
dad909f709 make it posible to change the compiler part of objects directory by setting COMPILER_PREFIX make variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:48:26 +00:00
Václav Slavík
c4f6f41c84 fall back to DirectFB's builtin font if no fonts are configured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:38:19 +00:00
Václav Slavík
402dc2145d log missing font directories with wxLogDebug, not wxLogTrace, for more visibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:37:03 +00:00
Václav Slavík
cc096b11ea ignore nonexistent font directories silently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:34:23 +00:00
Václav Slavík
209ce629ac added explanatory comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:09:44 +00:00
Vadim Zeitlin
65c1133755 use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it but C++ compiler doesn't have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 00:33:14 +00:00
Vadim Zeitlin
b46b1d59d6 implement event loop for console applications (heavily modified patch 1715735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:43:39 +00:00
Vadim Zeitlin
9e9f08b5ed compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:35:28 +00:00
Vadim Zeitlin
fddca1dce4 djgpp doesn't have wint_t as separate type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:21:40 +00:00
Vadim Zeitlin
bfd0555665 fixed warning about using deprecated GetTextExtent() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:13:53 +00:00
Vadim Zeitlin
5d465013d6 compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 22:55:09 +00:00
Václav Slavík
dff1625b7d fixed too restrictive assert: fonts matching is case-insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 16:45:31 +00:00
Roman Rolinsky
4427147544 - undo/redo fixes for moving and cut/paste;
- compatibility check for non-container controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 12:24:44 +00:00
Roman Rolinsky
a297dec681 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 10:24:38 +00:00
David Elliott
76adcbf2d1 Remove ObjcPose.h since nothing is using it anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 07:08:40 +00:00
David Elliott
047c1182f9 Rework idle handling so that NSApplication does not need to be subclassed or posed as.
Copyright Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 07:00:30 +00:00
Václav Slavík
bfb6847df6 compilation fix for STL implementations that use (const) char* for std::string iterators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 00:17:32 +00:00
David Elliott
6972616433 Make wxCFRef take a template raw pointer parameter instead of CFTypeRef to ensure it does not get called with a ref holder.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:30:09 +00:00
David Elliott
fd9cd37f66 Implement NULL-checking wxCFRetain/wxCFRelease as suggested by Stefan Csomor.
Use wxCFRetain/wxCFRelease in wxCFRef where needed.
Use .get() to access m_ptr of a different wxCFRef instantiation instead of making them friends.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:22:53 +00:00
David Elliott
b4e0eabd78 Added cfref.h containing wxCFRef templated CF ref holding class and related functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:55:58 +00:00
Vadim Zeitlin
598e55d714 another patch bring the docs more up to date (patch 1717776)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:24:12 +00:00
Vadim Zeitlin
62d8ddb2ee remove gettext docs, they have nothing to do in our cvs (see patch 1713939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:21:00 +00:00
Vadim Zeitlin
3c448b2e88 fix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:17:08 +00:00
Vadim Zeitlin
5ebe4b5b56 mention drop down toolbar buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 17:31:16 +00:00
Václav Slavík
075ff4102b fixed passing of strings to vararg templates in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 17:18:23 +00:00
Stefan Neis
f764e0ed58 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 14:11:55 +00:00
Václav Slavík
0dc8d2242c add test for passing c_str() of temporary wxString to Printf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 10:11:04 +00:00
Vadim Zeitlin
73049b0db3 getting text colour using the themes API doesn't seem to work, revert to using the global system colours for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 03:16:12 +00:00
Vadim Zeitlin
a9a0ceca5b added support for drop down toolbar buttons (patch 1713470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:35:49 +00:00
Vadim Zeitlin
884898a79a apply the table bg colour between the cells too (patch 1713170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:11:04 +00:00
Vadim Zeitlin
721d183848 fix wxComboCtrl colours under Windows Vista (patch 1710006)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:54:29 +00:00
Vadim Zeitlin
121640d59b update the samples/platforms which were unchanged since quite a few years apparently (patch 1713939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:43:40 +00:00
Vadim Zeitlin
befba9e4d3 fix compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:40:56 +00:00
Vadim Zeitlin
c06359e617 translate the 'About' string (patch 1717088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:31:36 +00:00
Vadim Zeitlin
8936f975b4 avoid truncating the colour channels values, this results in warnings when using VC8 debug CRT (patch 1717288)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:28:17 +00:00