Commit Graph

39332 Commits

Author SHA1 Message Date
Vadim Zeitlin
2e61f68141 fix PangoFontMetrics leak in GetCharHeight() (bug 1691180)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 11:48:58 +00:00
Chris Elliott
b8c73e75d0 allow absolute path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 08:09:16 +00:00
Vadim Zeitlin
617fb24fc9 define wxHAS_NATIVE_TAB_TRAVERSAL in wx/features.h; include wx/defs.h from wx/containr.h to get this definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 02:07:49 +00:00
Václav Slavík
759d51f229 fixed warning about comparing int to size_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 19:10:43 +00:00
Václav Slavík
f4c90fdfaf added wxCStrData::operator- for compatibility with expressions like 'c_str() + n - 2'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:42:04 +00:00
Václav Slavík
171d613212 added creation of wxUniChar from int and conversion to int, for backward compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:35:16 +00:00
Vadim Zeitlin
a237d7ed48 fix memory leak when handling background attribute (patch 1687900)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:12:59 +00:00
Vadim Zeitlin
6f45066bd8 fix compilation with wxUSE_EXTENDED_RTTI && !WXWIN_COMPATIBILITY_2_6 (bug 1688249)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:01:21 +00:00
Vadim Zeitlin
7c9cc57c02 rebaked with the fix for the directories with spaces in their names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:43:46 +00:00
Vadim Zeitlin
a970aa7a50 added wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:42:30 +00:00
Vadim Zeitlin
eecc043f6c rebaked after adding new string-related headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:40:32 +00:00
Václav Slavík
d483da3c76 more wxString::append() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 16:14:26 +00:00
Vadim Zeitlin
436bb9f539 added overloads of operators for wint_t for VC when the code is compiled with /Zc:wchar_t option (default in VC8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 15:05:34 +00:00
Vadim Zeitlin
e57ee9bb0c define ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compiler doesn't support it, otherwise it can result in compiler errors when wx/defs.h is included before a standard header using ATTRIBUTE_PRINTF() as (at least version 2.6.20 of) xmlerror.h from libxml2 does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 14:03:53 +00:00
Chris Elliott
7d73178688 put html docs in own dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 13:28:41 +00:00
Chris Elliott
d2499ec278 remove contrib docs from daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 12:13:09 +00:00
Chris Elliott
c1bf673475 add tex2rtf docs to routine build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 11:03:51 +00:00
Chris Elliott
81769ae053 zip32 should be zip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 10:52:58 +00:00
Chris Elliott
61d31e9528 remove contrib docs from daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:17:36 +00:00
Chris Elliott
08e8a24d33 uppercase CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:16:38 +00:00
Chris Elliott
14980f5162 remove build of contrib docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:04:32 +00:00
Chris Elliott
7c5e27c0e5 only get todays files from top level dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:01:22 +00:00
Václav Slavík
e7aab1094d PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 06:18:23 +00:00
Vadim Zeitlin
b7d403419e added wxString::operator[](int) as it's commonly used in code working with file/stream read functions which have int return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 18:25:25 +00:00
Václav Slavík
359bd4d1a2 allow passing wx[W]CharBuffer to wx vararg templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 18:03:26 +00:00
Václav Slavík
a7ea63e21f split string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more managable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 11:35:07 +00:00
Václav Slavík
ad78ab8c50 made wxHashMap work with any form of strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 09:46:46 +00:00
Václav Slavík
4ca056ea2b added test for operator?: and wxCStrData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 09:40:22 +00:00
Václav Slavík
a962cdf410 re-enabled using std::string for wxStringImpl if wxUSE_STL again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 09:37:34 +00:00
Vadim Zeitlin
08295a040c update from helix84
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 00:02:34 +00:00
Julian Smart
378c9833b7 Need an extra pixel when divider present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 13:42:42 +00:00
Václav Slavík
463c2e5bc7 disabled VC6 warning about passing a macro that expands to nothing to DECLARE_LOG_FUNCTION2_IMPL macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 10:13:52 +00:00
Václav Slavík
b1d3206523 fixed compilation with 2.8 compatibility off: wxTR_EXTENDED is deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 09:40:02 +00:00
Robin Dunn
cbfc9df676 Merge recent changes from 2.8 branch.
Make updates for recent changes on CVS HEAD.
Remove or workaround deprecated items.
Fix compile errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 01:49:46 +00:00
Vadim Zeitlin
fd4081aa33 make Ctrl-PageUp/Down work for changing notebook pages even when there is a wxWindow (i.e. not a native wxControl) in the hierarchy; this comes at the price of not being able to use the same key combinations for horizontal scrolling of the windows which do not have wxHSCROLL style and this seems like an acceptable tradeoff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 23:46:31 +00:00
Vadim Zeitlin
b5a4975771 removed wxHAS_NATIVE_TAB_TRAVERSAL which is now defined in wx/window.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 23:40:40 +00:00
Vadim Zeitlin
2a1cf3e9ad use NavigateIn() method instead of sending wxNavigationKeyEvent directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 22:15:14 +00:00
Vadim Zeitlin
5644933fa6 added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 22:10:04 +00:00
Vadim Zeitlin
93febff2f3 added taborder sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:24:51 +00:00
Václav Slavík
02f935fbab added basic test for wxLocale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:12:13 +00:00
Václav Slavík
d7a80cf5cd use wxString for wxXmlResource::Set/GetDomain(), it's simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:07:36 +00:00
Václav Slavík
31b7522e2b use wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be used with any string literals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:05:04 +00:00
Václav Slavík
f5f93ea573 escape _ in LaTeX sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:50:34 +00:00
Václav Slavík
8f93a29f8e Preparing wxString for UTF-8 representation:
1) split into wxStringImpl class that has std::string-like API and operates on char* or wchar_t* data and wxString class that provides Unicode iterators and indexes
2) added both char* and wchar_t* versions of many wxString methods to avoid having to use _T()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:28:04 +00:00
Robin Dunn
d9485f89b8 Forward port of my recent changes in the 2.8 branch:
* Force use of floating point math in wxGCDC::DoDrawEllipticArc.

 * Check for 0.5 offset in wxGCDC::DoDrawRoundedRectangle and
   DoDrawEllipse.  Set wxGDIPlusContext to use the offset.

 * Avoid crash in wxStdDialogButtonSizer::Realize if there is no
   negative button.

 * Provide implementations for wxCairoPathData::AddPath,
   wxCairoContext::Clip, wxCairoContext::DrawBitmap,
   wxCairoContext::DrawIcon, and wxCairoContext::GetTextExtent.

 * Fix wxCairoContext::DrawText to draw the text using the upper-left
   corner for the x,y position, not the baseline.

 * Fix wxMacCoreGraphicsRenderer::CreateContext to be able to use a
   wxMemoryDC as the target.

 * Map wxTELETYPE font family on wxMac to a monospace font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:08:41 +00:00
Vadim Zeitlin
28e88942bc use native TAB traversal for GTK+ 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:30:20 +00:00
Vadim Zeitlin
5486c1a283 added ellipsis to a couple of stock labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:27:27 +00:00
Vadim Zeitlin
147adf0a3a fixed compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:20:30 +00:00
Vadim Zeitlin
8af53fb428 use more complicated layout; added wxTE_PROCESS_TAB test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:06:13 +00:00
Vadim Zeitlin
b348c1dac1 send wxNavigationKeyEvent to the correct window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 15:14:21 +00:00