wxWidgets.git
17 years agoimplement event loop for console applications (heavily modified patch 1715735)
Vadim Zeitlin [Mon, 14 May 2007 23:43:39 +0000 (23:43 +0000)] 
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

17 years agocompilation fix
Vadim Zeitlin [Mon, 14 May 2007 23:35:28 +0000 (23:35 +0000)] 
compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodjgpp doesn't have wint_t as separate type
Vadim Zeitlin [Mon, 14 May 2007 23:21:40 +0000 (23:21 +0000)] 
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

17 years agofixed warning about using deprecated GetTextExtent() overload
Vadim Zeitlin [Mon, 14 May 2007 23:13:53 +0000 (23:13 +0000)] 
fixed warning about using deprecated GetTextExtent() overload

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocompilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0
Vadim Zeitlin [Mon, 14 May 2007 22:55:09 +0000 (22:55 +0000)] 
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

17 years agofixed too restrictive assert: fonts matching is case-insensitive
Václav Slavík [Mon, 14 May 2007 16:45:31 +0000 (16:45 +0000)] 
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

17 years ago- undo/redo fixes for moving and cut/paste;
Roman Rolinsky [Mon, 14 May 2007 12:24:44 +0000 (12:24 +0000)] 
- 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

17 years agotypo fix
Roman Rolinsky [Mon, 14 May 2007 10:24:38 +0000 (10:24 +0000)] 
typo fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRemove ObjcPose.h since nothing is using it anymore.
David Elliott [Mon, 14 May 2007 07:08:40 +0000 (07:08 +0000)] 
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

17 years agoRework idle handling so that NSApplication does not need to be subclassed or posed as.
David Elliott [Mon, 14 May 2007 07:00:30 +0000 (07:00 +0000)] 
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

17 years agocompilation fix for STL implementations that use (const) char* for std::string iterators
Václav Slavík [Sun, 13 May 2007 00:17:32 +0000 (00:17 +0000)] 
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

17 years agoMake wxCFRef take a template raw pointer parameter instead of CFTypeRef to ensure...
David Elliott [Sat, 12 May 2007 19:30:09 +0000 (19:30 +0000)] 
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

17 years agoImplement NULL-checking wxCFRetain/wxCFRelease as suggested by Stefan Csomor.
David Elliott [Sat, 12 May 2007 19:22:53 +0000 (19:22 +0000)] 
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

17 years agoAdded cfref.h containing wxCFRef templated CF ref holding class and related functions.
David Elliott [Sat, 12 May 2007 18:55:58 +0000 (18:55 +0000)] 
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

17 years agoanother patch bring the docs more up to date (patch 1717776)
Vadim Zeitlin [Sat, 12 May 2007 18:24:12 +0000 (18:24 +0000)] 
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

17 years agoremove gettext docs, they have nothing to do in our cvs (see patch 1713939)
Vadim Zeitlin [Sat, 12 May 2007 18:21:00 +0000 (18:21 +0000)] 
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

17 years agofix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215)
Vadim Zeitlin [Sat, 12 May 2007 18:17:08 +0000 (18:17 +0000)] 
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

17 years agomention drop down toolbar buttons
Vadim Zeitlin [Sat, 12 May 2007 17:31:16 +0000 (17:31 +0000)] 
mention drop down toolbar buttons

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed passing of strings to vararg templates in ANSI build
Václav Slavík [Sat, 12 May 2007 17:18:23 +0000 (17:18 +0000)] 
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

17 years agoFixed typo.
Stefan Neis [Sat, 12 May 2007 14:11:55 +0000 (14:11 +0000)] 
Fixed typo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd test for passing c_str() of temporary wxString to Printf()
Václav Slavík [Sat, 12 May 2007 10:11:04 +0000 (10:11 +0000)] 
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

17 years agogetting text colour using the themes API doesn't seem to work, revert to using the...
Vadim Zeitlin [Sat, 12 May 2007 03:16:12 +0000 (03:16 +0000)] 
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

17 years agoadded support for drop down toolbar buttons (patch 1713470)
Vadim Zeitlin [Fri, 11 May 2007 23:35:49 +0000 (23:35 +0000)] 
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

17 years agoapply the table bg colour between the cells too (patch 1713170)
Vadim Zeitlin [Fri, 11 May 2007 23:11:04 +0000 (23:11 +0000)] 
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

17 years agofix wxComboCtrl colours under Windows Vista (patch 1710006)
Vadim Zeitlin [Fri, 11 May 2007 22:54:29 +0000 (22:54 +0000)] 
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

17 years agoupdate the samples/platforms which were unchanged since quite a few years apparently...
Vadim Zeitlin [Fri, 11 May 2007 22:43:40 +0000 (22:43 +0000)] 
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

17 years agofix compilation
Vadim Zeitlin [Fri, 11 May 2007 22:40:56 +0000 (22:40 +0000)] 
fix compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotranslate the 'About' string (patch 1717088)
Vadim Zeitlin [Fri, 11 May 2007 22:31:36 +0000 (22:31 +0000)] 
translate the 'About' string (patch 1717088)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoavoid truncating the colour channels values, this results in warnings when using...
Vadim Zeitlin [Fri, 11 May 2007 22:28:17 +0000 (22:28 +0000)] 
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

17 years agouse const wxMBConv& instead of wxMBConv& in public methods so that it's possible...
Václav Slavík [Fri, 11 May 2007 20:55:24 +0000 (20:55 +0000)] 
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

17 years agoavoid conversion to wchar_t* when getting UTF-8 value in UTF-8 build
Václav Slavík [Fri, 11 May 2007 20:05:37 +0000 (20:05 +0000)] 
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

17 years agofixed wxSVGFileDC::write() to output UTF-8 even in ANSI build
Václav Slavík [Fri, 11 May 2007 20:00:52 +0000 (20:00 +0000)] 
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

17 years agodon't try to create surfaces of 0 size, even if the window size is 0 (as it may happen)
Vadim Zeitlin [Fri, 11 May 2007 17:16:05 +0000 (17:16 +0000)] 
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

17 years ago Set call event.SetEventObject() from commit_cb for wxKeyEvent
Robert Roebling [Fri, 11 May 2007 16:47:03 +0000 (16:47 +0000)] 
 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

17 years agouse LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591)
Vadim Zeitlin [Fri, 11 May 2007 13:01:34 +0000 (13:01 +0000)] 
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

17 years agodon't try to update TLW default button in WM_SET/KILLFOCUS handlers if the TLW is...
Vadim Zeitlin [Fri, 11 May 2007 12:58:55 +0000 (12:58 +0000)] 
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

17 years agoFix indentation from tabs to spaces in a few lines I accidentally wrote before fixing...
Mart Raudsepp [Fri, 11 May 2007 05:39:55 +0000 (05:39 +0000)] 
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

17 years ago[wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if gtk+ version is new...
Mart Raudsepp [Fri, 11 May 2007 05:29:07 +0000 (05:29 +0000)] 
[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

17 years agoCompile fix.
Michael Wetherell [Thu, 10 May 2007 20:41:44 +0000 (20:41 +0000)] 
Compile fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed wxStrto(u)ll to return correct value in endptr
Václav Slavík [Thu, 10 May 2007 17:20:17 +0000 (17:20 +0000)] 
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

17 years agodeclare variables in the beginning of the block in C files
Vadim Zeitlin [Thu, 10 May 2007 15:08:58 +0000 (15:08 +0000)] 
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

17 years agotest wxString::Mid() with non-ASCII strings
Václav Slavík [Thu, 10 May 2007 11:34:32 +0000 (11:34 +0000)] 
test wxString::Mid() with non-ASCII strings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed wxString::Last() to run in O(1), not O(n), in UTF-8 build
Václav Slavík [Thu, 10 May 2007 11:17:38 +0000 (11:17 +0000)] 
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

17 years agofixed creation of wxString from another wxString's substring in UTF-8 build
Václav Slavík [Thu, 10 May 2007 10:37:52 +0000 (10:37 +0000)] 
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

17 years agoadded wxListCtrl::SetItemPtrData()
Vadim Zeitlin [Thu, 10 May 2007 01:53:21 +0000 (01:53 +0000)] 
added wxListCtrl::SetItemPtrData()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoreplaced more int/longs with wxCoord
Vadim Zeitlin [Thu, 10 May 2007 01:46:57 +0000 (01:46 +0000)] 
replaced more int/longs with wxCoord

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed detection of missing C++ compiler added in last commit
Vadim Zeitlin [Thu, 10 May 2007 00:22:13 +0000 (00:22 +0000)] 
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

17 years agouse wxCopyRectToRECT instead of duplicating it
Vadim Zeitlin [Wed, 9 May 2007 23:38:14 +0000 (23:38 +0000)] 
use wxCopyRectToRECT instead of duplicating it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoabort immediately if no C++ compiler was detected instead of continuing reporting...
Vadim Zeitlin [Wed, 9 May 2007 22:50:09 +0000 (22:50 +0000)] 
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

17 years agorequire libsm-dev, it's needed for KDE/GNOME detection
Vadim Zeitlin [Wed, 9 May 2007 22:48:47 +0000 (22:48 +0000)] 
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

17 years agoupdate frm Ivan Masar
Vadim Zeitlin [Wed, 9 May 2007 21:22:23 +0000 (21:22 +0000)] 
update frm Ivan Masar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agochanged wxString::StartsWidth/EndsWidth to take wxString argument instead of wxChar*
Václav Slavík [Wed, 9 May 2007 21:07:08 +0000 (21:07 +0000)] 
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

17 years agoreturn value from wxEditableListBox::Create()
Václav Slavík [Wed, 9 May 2007 17:47:00 +0000 (17:47 +0000)] 
return value from wxEditableListBox::Create()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotemporary fix for wxDFB compilation in Unicode mode
Václav Slavík [Wed, 9 May 2007 16:48:11 +0000 (16:48 +0000)] 
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

17 years agotest for round() using C++ compiler, not C one (should fix IRIX mipsPro build)
Vadim Zeitlin [Wed, 9 May 2007 16:29:05 +0000 (16:29 +0000)] 
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

17 years agofixed configarg.cache code to correctly handle multiple options with the same prefix
Václav Slavík [Wed, 9 May 2007 14:42:46 +0000 (14:42 +0000)] 
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

17 years agotake into account DirectFB's removal of some command line arguments
Václav Slavík [Wed, 9 May 2007 13:45:32 +0000 (13:45 +0000)] 
take into account DirectFB's removal of some command line arguments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago GTK+ cell renderers are not widget, so use a
Robert Roebling [Wed, 9 May 2007 10:38:15 +0000 (10:38 +0000)] 
  GTK+ cell renderers are not widget, so use a
   correct type.
  Also found a way to set cell background and
   probably other styles.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofinal touch for icons - transparency handled by ArtProvider
Roman Rolinsky [Wed, 9 May 2007 03:24:30 +0000 (03:24 +0000)] 
final touch for icons - transparency handled by ArtProvider

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse Tango icons on MAC & MSW;
Roman Rolinsky [Wed, 9 May 2007 00:31:05 +0000 (00:31 +0000)] 
use Tango icons on MAC & MSW;
process UPDATE_UI for move and refresh buttons

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotango-compliant icons (first try)
Roman Rolinsky [Wed, 9 May 2007 00:28:58 +0000 (00:28 +0000)] 
tango-compliant icons (first try)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago Beginning to make wxDC code compile both before
Robert Roebling [Tue, 8 May 2007 23:47:43 +0000 (23:47 +0000)] 
  Beginning to make wxDC code compile both before
    and after the DC reorg to make the transition
    smoother (indeed possible).
  Move the wxImplDC code to its future place in
    dcbase.cpp and wx/dc.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoProvide wxLaunchDefaultBrowser implementation for wxCocoa.
David Elliott [Tue, 8 May 2007 19:37:06 +0000 (19:37 +0000)] 
Provide wxLaunchDefaultBrowser implementation for wxCocoa.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRemove wxDCBase DeviceToLogical* and LogicalToDevice* methods which were basically...
David Elliott [Tue, 8 May 2007 19:33:56 +0000 (19:33 +0000)] 
Remove wxDCBase DeviceToLogical* and LogicalToDevice* methods which were basically stubs anyway.  Fixes link error.  Assume that the new common implementations in src/common/dcbase.cpp do the right thing.  Not tested.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMove wxLaunchDefaultBrowser from BASE to CORE per wx-dev discussion.
David Elliott [Tue, 8 May 2007 19:13:49 +0000 (19:13 +0000)] 
Move wxLaunchDefaultBrowser from BASE to CORE per wx-dev discussion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agousing Tango icons on Mac
Roman Rolinsky [Tue, 8 May 2007 18:28:14 +0000 (18:28 +0000)] 
using Tango icons on Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agotango icons
Roman Rolinsky [Tue, 8 May 2007 18:26:44 +0000 (18:26 +0000)] 
tango icons

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadding reference to technote
Stefan Csomor [Tue, 8 May 2007 04:53:23 +0000 (04:53 +0000)] 
adding reference to technote

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoif it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
Stefan Csomor [Tue, 8 May 2007 04:52:26 +0000 (04:52 +0000)] 
if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago* bugfixes for tree move operations and undo/redo
Roman Rolinsky [Mon, 7 May 2007 22:25:57 +0000 (22:25 +0000)] 
* bugfixes for tree move operations and undo/redo
* Mac LnF ameliorations
* some sizing/spacing changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMove src/cocoa/utils.cpp to src/cocoa/utils.mm.
David Elliott [Mon, 7 May 2007 20:58:04 +0000 (20:58 +0000)] 
Move src/cocoa/utils.cpp to src/cocoa/utils.mm.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoiconization of the properties window together with the main to
Roman Rolinsky [Mon, 7 May 2007 20:10:53 +0000 (20:10 +0000)] 
iconization of the properties window together with the main to
fix blocking on wxGTK;

do not put Open/Save/... toolbar icons on Mac - they are ugly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoYield causes premature redrawing of the test window
Roman Rolinsky [Mon, 7 May 2007 20:08:19 +0000 (20:08 +0000)] 
Yield causes premature redrawing of the test window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd univ files to MGL build
Chris Elliott [Mon, 7 May 2007 09:34:27 +0000 (09:34 +0000)] 
add univ files to MGL build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago [ 1713933 ] docs for wxEditableListBox
Robert Roebling [Mon, 7 May 2007 07:51:28 +0000 (07:51 +0000)] 
  [ 1713933 ] docs for wxEditableListBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agojust return the min size needed by the sizer for the windows with sizers from their...
Vadim Zeitlin [Mon, 7 May 2007 00:26:43 +0000 (00:26 +0000)] 
just return the min size needed by the sizer for the windows with sizers from their DoGetBestSize() instead of adjusting it upwards to the current size via GetWindowSizeForVirtualSize() call: this might be wrong as it could reintroduce the bug fixed in rev 1.66 of src/generic/scrlwing.cpp (but it's not really clear just what exactly this bug was) but the existing code was definitely wrong as the best size of the window must not change as it's being resized

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago More preview code for the DC reorganisation.
Robert Roebling [Sun, 6 May 2007 20:14:55 +0000 (20:14 +0000)] 
  More preview code for the DC reorganisation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofix compation with Watcom after latest vararg templates changes
Václav Slavík [Sun, 6 May 2007 14:11:14 +0000 (14:11 +0000)] 
fix compation with Watcom after latest vararg templates changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofix PCH-less compilation
Vadim Zeitlin [Sun, 6 May 2007 11:50:18 +0000 (11:50 +0000)] 
fix PCH-less compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoFix "depreciated" to "deprecated".
Mart Raudsepp [Sun, 6 May 2007 03:48:16 +0000 (03:48 +0000)] 
Fix "depreciated" to "deprecated".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofix warning about signed/unsigned comparison; use STL-compatible methods
Vadim Zeitlin [Sat, 5 May 2007 22:15:56 +0000 (22:15 +0000)] 
fix warning about signed/unsigned comparison; use STL-compatible methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agono changes, just deTAbified and fixed really strange indentation of 'else' statements
Vadim Zeitlin [Sat, 5 May 2007 22:15:02 +0000 (22:15 +0000)] 
no changes, just deTAbified and fixed really strange indentation of 'else' statements

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoextracted wxAcceleratorEntry code from menucmn.cpp in a separate file (this globally...
Vadim Zeitlin [Sat, 5 May 2007 22:03:27 +0000 (22:03 +0000)] 
extracted wxAcceleratorEntry code from menucmn.cpp in a separate file (this globally makes sense and also fixes link when wxUSE_MENUS==0)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodeclare GetGDKWindow() in wxDC to fix compilation of wxRendererNative
Vadim Zeitlin [Sat, 5 May 2007 21:44:17 +0000 (21:44 +0000)] 
declare GetGDKWindow() in wxDC to fix compilation of wxRendererNative

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't use deprecated GetTextExtent() overload
Vadim Zeitlin [Sat, 5 May 2007 21:39:04 +0000 (21:39 +0000)] 
don't use deprecated GetTextExtent() overload

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocompilation fix: SetLogicalFunction() is defined in dc.cpp, don't define it here
Vadim Zeitlin [Sat, 5 May 2007 21:38:14 +0000 (21:38 +0000)] 
compilation fix: SetLogicalFunction() is defined in dc.cpp, don't define it here

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocompilation fix: use DeviceToLogical[XY]() instead of [XY]LOG2DEV()
Vadim Zeitlin [Sat, 5 May 2007 21:34:26 +0000 (21:34 +0000)] 
compilation fix: use DeviceToLogical[XY]() instead of [XY]LOG2DEV()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agooutput Unicode/UTF-8 settings on a single line
Vadim Zeitlin [Sat, 5 May 2007 20:39:18 +0000 (20:39 +0000)] 
output Unicode/UTF-8 settings on a single line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agosrc/gtk/data.cpp is no longer needed
Paul Cornett [Sat, 5 May 2007 19:50:51 +0000 (19:50 +0000)] 
src/gtk/data.cpp is no longer needed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agomove definitions from src/gtk/data.cpp to other appropriate places
Paul Cornett [Sat, 5 May 2007 19:49:02 +0000 (19:49 +0000)] 
move definitions from src/gtk/data.cpp to other appropriate places

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago Apply [ 1712381 ] CRASH: closing floating panel on GTK
Robert Roebling [Sat, 5 May 2007 19:43:02 +0000 (19:43 +0000)] 
  Apply [ 1712381 ] CRASH: closing floating panel on GTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofixed FromUTF8 in ANSI builds
Václav Slavík [Sat, 5 May 2007 19:19:48 +0000 (19:19 +0000)] 
fixed FromUTF8 in ANSI builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd wxUSE_DRAGIMAGE wrapper
Paul Cornett [Sat, 5 May 2007 19:00:35 +0000 (19:00 +0000)] 
add wxUSE_DRAGIMAGE wrapper

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse utf8_str() in wxDFB
Václav Slavík [Sat, 5 May 2007 18:55:59 +0000 (18:55 +0000)] 
use utf8_str() in wxDFB

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse FromUTF8() when loading XML, data coming from Expat are already validated UTF-8
Václav Slavík [Sat, 5 May 2007 18:55:05 +0000 (18:55 +0000)] 
use FromUTF8() when loading XML, data coming from Expat are already validated UTF-8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded wxString::FromUTF8/ToUTF8/utf8_str()
Václav Slavík [Sat, 5 May 2007 18:53:24 +0000 (18:53 +0000)] 
added wxString::FromUTF8/ToUTF8/utf8_str()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agobuild fix for wxUSE_DRAGIMAGE==0
Paul Cornett [Sat, 5 May 2007 18:48:56 +0000 (18:48 +0000)] 
build fix for wxUSE_DRAGIMAGE==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agobuild fix
Paul Cornett [Sat, 5 May 2007 18:45:11 +0000 (18:45 +0000)] 
build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agosrc/gtk/utilsres.cpp is obsolete
Paul Cornett [Sat, 5 May 2007 17:57:08 +0000 (17:57 +0000)] 
src/gtk/utilsres.cpp is obsolete

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agobuild fix
Paul Cornett [Sat, 5 May 2007 17:54:57 +0000 (17:54 +0000)] 
build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775