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
Václav Slavík
50f1747a7c
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
2007-05-09 13:45:32 +00:00
Robert Roebling
ed38aa559c
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
2007-05-09 10:38:15 +00:00
Roman Rolinsky
8ecb322ecb
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
2007-05-09 03:24:30 +00:00
Roman Rolinsky
690a4c0a9b
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
2007-05-09 00:31:05 +00:00
Roman Rolinsky
38f43f0246
tango-compliant icons (first try)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:28:58 +00:00
Robert Roebling
2970ae54d3
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
2007-05-08 23:47:43 +00:00
David Elliott
4263bab00e
Provide wxLaunchDefaultBrowser implementation for wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:37:06 +00:00
David Elliott
59b28f2a14
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
2007-05-08 19:33:56 +00:00
David Elliott
c5f0d1f903
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
2007-05-08 19:13:49 +00:00
Roman Rolinsky
8329541967
using Tango icons on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 18:28:14 +00:00
Roman Rolinsky
52e75e6a80
tango icons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 18:26:44 +00:00
Stefan Csomor
653a54d049
adding reference to technote
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:53:23 +00:00
Stefan Csomor
eff41cb91e
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
2007-05-08 04:52:26 +00:00
Roman Rolinsky
fa64a0c396
* 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
2007-05-07 22:25:57 +00:00
David Elliott
c24937e4cc
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
2007-05-07 20:58:04 +00:00
Roman Rolinsky
2702a0c1bf
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
2007-05-07 20:10:53 +00:00
Roman Rolinsky
1feeb78361
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
2007-05-07 20:08:19 +00:00
Chris Elliott
d7d0ed353b
add univ files to MGL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 09:34:27 +00:00
Robert Roebling
395367bcd3
[ 1713933 ] docs for wxEditableListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 07:51:28 +00:00
Vadim Zeitlin
7e0f753950
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
2007-05-07 00:26:43 +00:00
Robert Roebling
d296fd8ff7
More preview code for the DC reorganisation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 20:14:55 +00:00
Václav Slavík
59a14f6984
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
2007-05-06 14:11:14 +00:00
Vadim Zeitlin
f74a73b365
fix PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 11:50:18 +00:00