Vadim Zeitlin
8f823da835
set wxUSE_STD_IOSTREAM to 0 for eVC which doesn't provide the standard streams (see #10718 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:08:38 +00:00
Vadim Zeitlin
b808834950
eVC4 version of std::string doesn't have clear() neither (see #10718 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:04:22 +00:00
Francesco Montorsi
c4c178c10d
use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 12:59:09 +00:00
Francesco Montorsi
39cdc95fb3
allow windows which are placed inside wxStaticBoxes to be built as children of the wxStaticBox itself rather than forcing users to build them as siblings of the static box ( closes #9859 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 10:49:36 +00:00
Francesco Montorsi
30800ba5e4
fix push/pop mechanism after r58786; add a few notes about the stack mechanism both in the docs and in the public header (see #10733 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 21:14:59 +00:00
Francesco Montorsi
c94bdf2a19
implement tooltips for wxStatusBar panes whose contents were ellipsized; introduce wxST_SHOW_TIPS and wxST_DEFAULT_STYLE styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:10:44 +00:00
Francesco Montorsi
9b49405777
no real change; just add the standard separator where it's missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 00:05:14 +00:00
Vadim Zeitlin
89574e1d55
blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes #10714 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 12:23:51 +00:00
Stefan Csomor
0698ed3ca8
removing overloads to avoid 'hidden method' warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 11:10:40 +00:00
Vadim Zeitlin
ac26ed15ac
really fix compilation with wxEVENTS_COMPATIBILITY_2_8 after r60212
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 00:35:58 +00:00
Vadim Zeitlin
e1614128e1
compilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 22:41:52 +00:00
Vadim Zeitlin
0fe243db0c
remove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass::method)" to compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 21:23:28 +00:00
Jaakko Salli
16372f0d97
wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties ( closes #10690 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 19:28:39 +00:00
Vadim Zeitlin
b18e2046af
pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 13:00:40 +00:00
Vadim Zeitlin
113f623379
remove dll export declaration from wxCStrData now that all its methods are inline (fixes mingw32 warning in DLL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:31:33 +00:00
Vadim Zeitlin
6e2f308461
use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:23:50 +00:00
Stefan Csomor
50b5e38d3f
textctrl fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 19:44:51 +00:00
Stefan Csomor
d9d551f6a2
adapting TextUpdateEvents, using wxTextEntry API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 20:09:39 +00:00
Stefan Csomor
c443ff6f53
fixing native font info support bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 19:58:51 +00:00
Vadim Zeitlin
ff3fd98a08
remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 12:47:46 +00:00
Václav Slavík
fb5ae4f6d9
(blind) fix for VC6s' warning about non-dll base template class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:02:59 +00:00
Vadim Zeitlin
582886dde5
return empty string instead of NULL from mb_str()/wc_str() when conversion fails to avoid crashing badly written code which doesn't check for conversion failures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:48:11 +00:00
Vadim Zeitlin
f20e268907
fix g++ warnings about initialization order mismatch after the last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:43:04 +00:00
Vadim Zeitlin
75ac34cefc
fix support for using asterisks in the format string and some code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:37:28 +00:00
Vadim Zeitlin
f54cb154d5
return persistent buffers from mb_str()/wc_str() to allow assigning the returned value to simple pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 19:49:45 +00:00
Francesco Montorsi
34be948fdb
no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:06:43 +00:00
Václav Slavík
ed5e656088
fixed wxString::utf8_str() in UTF8 build to return buffer with length
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 10:12:44 +00:00
Vadim Zeitlin
85fcb94fc9
implement GetImageCount() for GIF handler ( closes #10663 ); added test for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:52:22 +00:00
Vadim Zeitlin
24a5629aed
define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other libraries headers ( closes #10674 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:16:58 +00:00
Vadim Zeitlin
390b8241d3
revert r60023 and really fixed compilation problems caused by r60017 by providing assertEquals(const char *, const char *) overload as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 23:55:05 +00:00
Vadim Zeitlin
599d12919c
allow symmetric comparisons to work too in CPPUNIT_ASSERT_EQUAL (e.g. wxString==char*, size_t==int and not only char*==wxString, int==size_t)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 16:43:36 +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
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
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
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
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
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
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
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
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