Commit Graph

39978 Commits

Author SHA1 Message Date
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
Václav Slavík
5487ff0f50 use const wxMBConv& instead of wxMBConv& in public methods so that it's possible to pass in temporary objects;
don't use global wxConvUTF8 object internally, it may be unavailable at static objects destruction time


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:55:24 +00:00
Václav Slavík
163d9efc6b avoid conversion to wchar_t* when getting UTF-8 value in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:05:37 +00:00
Václav Slavík
6243633c63 fixed wxSVGFileDC::write() to output UTF-8 even in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 20:00:52 +00:00
Vadim Zeitlin
643de21414 don't try to create surfaces of 0 size, even if the window size is 0 (as it may happen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 17:16:05 +00:00
Robert Roebling
28c513cb25 Set call event.SetEventObject() from commit_cb for wxKeyEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 16:47:03 +00:00
Vadim Zeitlin
81b635b1ef use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:01:34 +00:00
Vadim Zeitlin
05c5f28144 don't try to update TLW default button in WM_SET/KILLFOCUS handlers if the TLW is being deleted (bug 1660913)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 12:58:55 +00:00
Mart Raudsepp
beed4c4b53 Fix indentation from tabs to spaces in a few lines I accidentally wrote before fixing my editors settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 05:39:55 +00:00
Mart Raudsepp
b4e0dd391c [wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if gtk+ version is new enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 05:29:07 +00:00
Michael Wetherell
f8fc38322f Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 20:41:44 +00:00
Václav Slavík
c57fe715b2 fixed wxStrto(u)ll to return correct value in endptr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 17:20:17 +00:00
Vadim Zeitlin
cdff92b982 declare variables in the beginning of the block in C files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 15:08:58 +00:00
Václav Slavík
478cbb089e test wxString::Mid() with non-ASCII strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 11:34:32 +00:00
Václav Slavík
564ab31a53 fixed wxString::Last() to run in O(1), not O(n), in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 11:17:38 +00:00
Václav Slavík
1545d942ec fixed creation of wxString from another wxString's substring in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 10:37:52 +00:00
Vadim Zeitlin
9fcd0bf7f3 added wxListCtrl::SetItemPtrData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:53:21 +00:00
Vadim Zeitlin
f3a8b1b68e replaced more int/longs with wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:46:57 +00:00
Vadim Zeitlin
b70642258f fixed detection of missing C++ compiler added in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 00:22:13 +00:00
Vadim Zeitlin
f9c980f617 use wxCopyRectToRECT instead of duplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 23:38:14 +00:00
Vadim Zeitlin
d5e0be7d42 abort immediately if no C++ compiler was detected instead of continuing reporting plenty of tests failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:50:09 +00:00
Vadim Zeitlin
dc7bf04dcf require libsm-dev, it's needed for KDE/GNOME detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:48:47 +00:00
Vadim Zeitlin
129b8b1a21 update frm Ivan Masar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:22:23 +00:00
Václav Slavík
c5e7a7d769 changed wxString::StartsWidth/EndsWidth to take wxString argument instead of wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:07:08 +00:00
Václav Slavík
ff0846a09f return value from wxEditableListBox::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 17:47:00 +00:00
Václav Slavík
b11af9ed9d temporary fix for wxDFB compilation in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:48:11 +00:00
Vadim Zeitlin
371bc2f714 test for round() using C++ compiler, not C one (should fix IRIX mipsPro build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:29:05 +00:00
Václav Slavík
dc6923a52c fixed configarg.cache code to correctly handle multiple options with the same prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 14:42:46 +00:00