Commit Graph

48527 Commits

Author SHA1 Message Date
Vadim Zeitlin
f3d261e7ac minor improvements to Bind() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:55:03 +00:00
Benjamin Williams
05bd0f4400 missing header fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:27:55 +00:00
Vadim Zeitlin
b9d2203419 only Linux/glibc seem to use periods as date separator in French locale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:14:09 +00:00
Vadim Zeitlin
d19fe998c8 compilation fix after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:08:58 +00:00
Francesco Montorsi
8d2d37d268 fix doxygen warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:34 +00:00
Francesco Montorsi
6a9994cf2b fix wxLogNull base class (closes #10654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:09 +00:00
Václav Slavík
197380a09f always return (owned or non-owned, depending on build) wxScopedCharBuffer from utf8_str() and ToUTF8()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:28:42 +00:00
Stefan Csomor
911907f4ad adding OSX specific fixes to bsd level formatting problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:26:23 +00:00
Stefan Csomor
470298433c adding more symbols to translation, using better matching formats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:13:42 +00:00
Benjamin Williams
69e65b6c0b don't allow docks to be resized such that panes overlap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 16:01:46 +00:00
Václav Slavík
38d26d6040 fixes or embedded NULs handling in wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 15:35:47 +00:00
Václav Slavík
a6bb7a282d fixed size of buffer returned by wxFormatConverter (it was too large before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 11:54:41 +00:00
Stefan Csomor
ee032c59df hiding the impl type more again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 07:30:26 +00:00
Václav Slavík
e542e141a3 compilation fix for wxUSE_UTF8_LOCALE_ONLY case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 00:00:15 +00:00
Václav Slavík
62e68ee3c6 compilation fix for r59932
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 23:16:17 +00:00
Vadim Zeitlin
d21aa7f4eb make it explicitly clear that the len parameter of SetData() is in bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:31:40 +00:00
Vadim Zeitlin
a523395dfa pass size in bytes, not wchars, to SetData() in wxURLDataObject::SetURL() (fixes wxURLDataObject after r59391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:30:28 +00:00
Václav Slavík
7b7fd3e614 implemented CreateIconBundle() in GTK+ native art provider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:27:10 +00:00
Václav Slavík
1c60f64458 set icons bundle, not single icon, for frames loaded from XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:25:23 +00:00
Václav Slavík
b5c2a33438 wxArtProvider::GetIconBundle() cleanup:
* makes GetIcon() and GetBitmap() behave in the same way again (i.e. GetBitmap
  falls back to CreateIconBundle too)
* GetIcon() used to call CreateIconBundle() first, before CreateBitmap() - this
  doesn't make sense, inverted
* GetIconBundle() falls back to GetIcon() if provider's CreateIconBundle()
  doesn't return anything and vice versa: GetIcon()/GetBitmap() falls back to
  GetIconBundle() if CreateBitmap() doesn't return anything


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:23:59 +00:00
Václav Slavík
cee875e329 add support for loading wxIconBundles from streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:19:40 +00:00
Vadim Zeitlin
694cb6c581 don't dereference end iterator (closes #10656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:04:55 +00:00
Václav Slavík
6df09f32fd added length to wx(Scoped)CharBuffer to improve handling of embedded NULs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:58:39 +00:00
Stefan Csomor
d792823395 special casing mac code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:51:40 +00:00
Stefan Csomor
ac50e6949a glgrab not available for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:49:04 +00:00
Stefan Csomor
b4ff8b3e4e adding iphone code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:48:05 +00:00
Stefan Csomor
421bb0184e adding proper iphone includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:45:45 +00:00
Stefan Csomor
c099b53353 streamlining code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:44:58 +00:00
Stefan Csomor
1ac1336856 make sure button is known for non-precomp case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:42:00 +00:00
Stefan Csomor
3e43b64782 adding a for am/pm and windows special character t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:10:14 +00:00
Stefan Csomor
756b5a9818 fixing conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 19:46:02 +00:00
Stefan Csomor
e9e53eb1ef adding implementation for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 18:13:32 +00:00
Vadim Zeitlin
cd8a8b45b9 use short date format in wxLOCALE_DATE_TIME_FMT handler for MSW for compatibility with strftime("%c")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:26:25 +00:00
Stefan Csomor
cfee725b1d adding comment about wxHAS_OPENGL_ES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:20:14 +00:00
Vadim Zeitlin
89a7e1ff98 Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo().
- Implement for POSIX and Win32, TODO for OS X
- Use this instead of ad hoc code in wxDateTime::ParseFormat()
- Remove HAVE_STRPTIME, we don't need nor use strptime() any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:15:43 +00:00
Stefan Csomor
04ce16a870 bracketing opengl code that doesn't work on OpenGL ES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:13:27 +00:00
Vadim Zeitlin
f33427816c minor cleanup of Unix GetInfo(): assert if invalid parameters are passed; don't use explict wxString ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 15:13:40 +00:00
Vadim Zeitlin
04a7eed137 update documentation for Bind() (closes #10594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 12:53:54 +00:00
Vadim Zeitlin
4c802fdc48 no real changes, jus renames some parameters (see #10594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 12:38:53 +00:00
Václav Slavík
7d45a79353 fixed logical error in SetIcons(): only assert if no icon was set, at least one is OK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 20:06:26 +00:00
Vadim Zeitlin
6ab6fc6eec fix setting of HOST_{PRE,SUF}FIX in case --host option is specified but --build is not (this is not recommended by autoconf but still possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 19:10:05 +00:00
Vadim Zeitlin
17ba83947d fix basetsd.h name for case-sensitive file systems (which can be used when cross-compiling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 18:18:23 +00:00
Stefan Csomor
6c1f25cc9b bracketing menu code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 16:46:34 +00:00
Václav Slavík
5412c6ad17 variadic macros need specializations for both wxCharBuffer and wxScopedCharBuffer (fixes #10651)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 12:32:06 +00:00
Václav Slavík
3339414ae8 don't duplicate copy ctor and assignment operator code in wxCharTypeBuffer<T>, it was identical to base class' version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 09:35:53 +00:00
Vadim Zeitlin
d93db33706 don't reset WS_EX_CONTROLPARENT bit in wxNotebook::MSWGetStyle(), this can result in freezing the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 22:37:22 +00:00
Benjamin Williams
ba114859cc corrections for inner-dock pane sizing for 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 20:54:05 +00:00
Vadim Zeitlin
43b282bd09 correct the test for Windows platform (this also fixes unit test failures in FormatConverterTestCase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 16:34:49 +00:00
Václav Slavík
de4983f323 split wxCharTypeBuffer<T> into wxScopedCharTypeBuffer<T> and wxCharTypeBuffer<T> -- the former is for transient data with validity limited to parent's lifetime, the latter is for permanent storage of string data (bug #9638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 15:33:55 +00:00
Benjamin Williams
36adcfc913 don't draw resize sash if it's dragged outside of managed frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 13:06:17 +00:00