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
Benjamin Williams
cd67553cf4
pane sizes within a dock are not allowed to exceed the dock's entire current pixel size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 12:47:37 +00:00
Benjamin Williams
af2a1b423d
applied patch fixing border problem ( #10171 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 09:46:39 +00:00
Vadim Zeitlin
55fffc3418
minor corrections to TranslateFromUnicodeFormat()
...
- Don't try to dereference end() iteratorm this will fail (unlike comparing
pointer with NUL)
- Use prefix rather than postfix increment for iterator
- Use wxUniChar::GetValue() rather than cast to char for consistency with
other switch statements in the same file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 23:07:07 +00:00
Vadim Zeitlin
07c4e84f7b
always declare TestStrip(), it is now available even without 2.8 compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 23:00:14 +00:00
Stefan Csomor
1a39a1d7c0
changing to iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 20:38:43 +00:00
Vadim Zeitlin
13d09fc3d4
mention wxFilename::StripExtension()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 16:02:47 +00:00
Vadim Zeitlin
e06e81194b
no changes, just write a more detailed comment for StripExtension()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 16:02:09 +00:00
Vadim Zeitlin
181dd701fa
implement deprecated wxStripExtension() in terms of new wxFileName::StripExtension() ( closes #10634 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:55:01 +00:00
Vadim Zeitlin
62714742f3
no changes, just some cleanup (use compile-time asserts instead of run-time ones; use "FAIL" instead of "F")
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:35:30 +00:00
Vadim Zeitlin
875f82b1b6
switch off logging sooner ( closes #10646 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:31:54 +00:00
Vadim Zeitlin
2057acc2a7
build bot systems don't manage to generate enough ticks in 2 seconds to pass this test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 14:58:22 +00:00
Stefan Csomor
59d454cda2
revert to proper defaults for US
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 14:35:13 +00:00
Vadim Zeitlin
92f8206fee
remove unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 13:46:22 +00:00