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
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
4209475ced
detect horizontal overflow in wxHtmlPrintout and warn the user about it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 13:37:37 +00:00
Benjamin Williams
0eefa65979
added ability to set tool alignment ( #10174 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 15:56:23 +00:00
Benjamin Williams
8bc10f3280
added missing getters to wxAuiToolBar ( #10182 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 14:23:14 +00:00
Stefan Csomor
8fa9ac5e09
moving down for non-precomp build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 14:05:36 +00:00
Benjamin Williams
e7b8af652f
fix incorrect application of styles ( #10171 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:42:35 +00:00
Vadim Zeitlin
cf58616239
don't crash in wxFAIL and wxCHECK if assertion handler is NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:31:38 +00:00
Stefan Csomor
f06e0fea67
focus handling streamlined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:24:51 +00:00
Stefan Csomor
43c5b6e808
better native types for carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:20:11 +00:00
Vadim Zeitlin
c398434d92
abandon attempts to make wxAnyStrPtr behave as bool: user-defined logical operators don't short circuit silently breaking existing code so it is better to not provide them at all; instead simply return bool from the new versions taking wxString::const_iterator; advise to use the new versions in the new code and so in our own files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:54:10 +00:00
Stefan Csomor
938fbc8f74
making method properly const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:46:08 +00:00
Vadim Zeitlin
b7aadf25fa
compilation fixes for wxAnyStrPtr for VC7; mention it in the change log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:23:30 +00:00
Vadim Zeitlin
c5e8b33639
compilation fixes for wxAnyStrPtr for VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 00:44:25 +00:00
Vadim Zeitlin
254696bb8f
return a wxAnyStrPtr covnertible to either narrow or wide char pointer from wxDateTime::ParseXXX() methods to improve compatibility with wx 2.8 and also simplify the code ( closes #9560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:21:29 +00:00
Francesco Montorsi
72516be4ff
fix misc typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 21:11:42 +00:00
Julian Smart
c187b47244
Don't translate panel titles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 19:09:52 +00:00
Julian Smart
5bf3b6fe48
Fixed small alignment issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 19:06:19 +00:00
Václav Slavík
52988b5f63
added some clarifying comments to wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 17:55:04 +00:00
Vadim Zeitlin
e538985edc
added GetEnglish{Month,WeekDay}Name()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 16:51:10 +00:00
Stefan Csomor
aa6208d975
conforming to new naming convention of starting all port specific methods with the port prefix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 07:56:17 +00:00
Stefan Csomor
6f283573af
adding back API for 2.8 compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 06:58:43 +00:00
Vadim Zeitlin
5b119b8b2e
make wxStringOperationsWchar methods templates too to be able to reuse them with char pointers (and for consistency with wxStringOperationsUtf8)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 23:11:55 +00:00
Francesco Montorsi
ca5016d4dd
make sure that wxProcess always have a valid PID set; add test unit for wxExecute,wxShell,wxProcess based on the code in the console sample; add some more infos/notes in wxProcess docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:23:44 +00:00
Stefan Csomor
6331c8c021
textctrl cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 15:32:34 +00:00
Vadim Zeitlin
9053c7b9c1
fix warnings about empty controlling statement in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 13:10:19 +00:00
Vadim Zeitlin
4d273001f4
added "bool checked" parameter to SetBitmap() too, for consisttency with GetBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:07:42 +00:00
Vadim Zeitlin
36f062d3da
modify signature of new wxStreamBuffer ctors to avoid conflicts with the existing ones ( closes #10144 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 10:59:40 +00:00
Vadim Zeitlin
9d2214dd07
don't disable wxLogTrace() at debug levels < 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 10:42:17 +00:00
Stefan Csomor
7d68e720e7
fixing end-of-file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 09:10:37 +00:00
Francesco Montorsi
7bdb010f17
better docs for wxCmdLineParser (fixes a few typos, adds more comments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 23:29:14 +00:00
Vadim Zeitlin
5eb34e9eb0
compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time, just as for the other ports but hey, it compiles)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 21:42:08 +00:00
Vadim Zeitlin
69e3710eb7
add WXWIN_COMPATIBILITY_2_8 test around another wxLogTrace(wxTraceMask) occurrence
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 20:51:21 +00:00
Vadim Zeitlin
711f12ef2e
made definition of wxUSE_LOG_DEBUG dependent on wxDEBUG_LEVEL and added wxUSE_LOG_TRACE (currently never enabled by default); fix warnings about unused variables after these changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 17:18:07 +00:00
Vadim Zeitlin
8a9464893a
make wxMessageOutput::Output() public to avoid having to call Printf("%s", s)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 17:17:01 +00:00
Vadim Zeitlin
34085a0d4f
deprecate integer trace masks and don't define the methods related to them if WXWIN_COMPATIBILITY_2_8==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 16:00:37 +00:00
Vadim Zeitlin
b895ab50e2
move forward declarations unneeded in wx/log.h to wx/generic/logg.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 15:40:53 +00:00
Vadim Zeitlin
23fb9bf573
define wxUSE_LOG_DEBUG as wxDEBUG_LEVEL and not as defined(__WXDEBUG__)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 15:40:08 +00:00
Vadim Zeitlin
4b6a582bef
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:53:48 +00:00
Vadim Zeitlin
b16f24dd05
correct wxASSERT_LEVEL_2 definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:26:17 +00:00
Vadim Zeitlin
99e788d556
use wxALIGN_RIGHT instead of wxTE_RIGHT here too (should have been part of last commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 11:18:15 +00:00
Vadim Zeitlin
f1ddb476b1
use wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter not being defined in wx/spinctrl.h on non-MSW platforms (see #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 10:55:55 +00:00
Vadim Zeitlin
c218ccee9f
no changes, just wrap long lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 10:51:26 +00:00
Stefan Csomor
beb2638a99
simpler define handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:49:28 +00:00
Vadim Zeitlin
7e4952db83
add alignment flags support to wxSpinCtrl[Double] ( closes #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:18:46 +00:00
Vadim Zeitlin
657a8a3598
first round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1 if __WXDEBUG__ is defined, i.e. no real changes; don't use __WXDEBUG__ in the headers to keep debug and release builds ABI-compatible; add functions to customize or disable asserts handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 23:36:37 +00:00
Vadim Zeitlin
a6ebdba66c
move __WXFUNCTION__ to wx/cpp.h from wx/debug.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 17:18:01 +00:00
Vadim Zeitlin
993df0402c
made wx/debug.h C++ header again (reverting changes of r24896); simply don't include it from wx/defs.h when compiling C files which have no need for the stuff defined in it anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 16:34:46 +00:00
Francesco Montorsi
48fd6e9dd7
build fix (part of r59673, r59656)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 21:42:43 +00:00
Robin Dunn
20072d3fc4
Use native EOL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 18:25:13 +00:00
Francesco Montorsi
529e491ce0
add the ToCLong, ToCULong and ToCDouble functions, with docs and test units
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 14:50:06 +00:00
Stefan Csomor
f1c40652a0
reworked font handling for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 13:56:57 +00:00
Stefan Csomor
5f3c0120ed
adding more native definitions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 07:32:01 +00:00
Francesco Montorsi
28e0798fcd
implement wxStrtoX_l() variants even when wxHAS_XLOCALE_SUPPORT is not defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 01:27:56 +00:00
Francesco Montorsi
dad013ac01
extend wxXLocale with wxStrto[d,l,ul] functions; make wxXLocale::Init() a little bit smarter on Unix systems; make XLocaleTestCase not fail on systems where french/italian support is not installed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 18:05:49 +00:00
Vadim Zeitlin
c256657590
fix (harmless) MSVC 64 bit compilation warning ( closes #10140 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:58:15 +00:00
Francesco Montorsi
b7d70f7626
no change: just move a misplaced comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:11:13 +00:00
Vadim Zeitlin
8933fbc62e
add combobox drop down/close up events ( closes #10587 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:42:58 +00:00
Vadim Zeitlin
099c2c7d7f
correct typo in SetAltExtensions() method (re-closes #10570 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:04:20 +00:00
Vadim Zeitlin
7dac12efa7
more bug fixes to multiple selection mode (see #626 , comment 47)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:01:36 +00:00
Vadim Zeitlin
03ae811e42
no changes, just correct some comments and variable names (see #10594 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 09:30:08 +00:00
Vadim Zeitlin
306f34a368
allow using CPPUNIT_ASSERT_EQUAL(int,unsigned) even on 64 bit platforms (see r59576)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 22:02:56 +00:00
Francesco Montorsi
601b9dfa71
do not copy the typical setup.h in setup_gccxml.h; this is too fragile; rather use the real setup.h and then include setup_gccxml.h to 'fix' things so that gccxml is happy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:51:47 +00:00
Václav Slavík
afc0db8ca0
detect and report errors in XRC specification of grid sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 13:33:39 +00:00
Václav Slavík
159852aeae
fixed wxXRC compilation with --disable-filesystem (bug #10580 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 13:18:27 +00:00
Francesco Montorsi
7235c54d3b
leftovers from r59566
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 19:45:34 +00:00
Francesco Montorsi
b31eaa5c34
make wxStatusBarPane a 'full class' with getters and protected data; document it; provide more accessors in wxStatusBar ( closes #10574 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 17:54:05 +00:00
Francesco Montorsi
bff248644e
wxMSW and wxPalmOS already had the wxFont(const wxSize&...) ctor; don't duplicate it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:42:05 +00:00
Francesco Montorsi
b5791cc7af
add the wxFont(const wxSize& pixelSize, ...) ctor to all ports; add some wxCHECK_MSGs to ensure that the wxSize objects contains non-negative arguments; document that passing zero for the width parameter is allowed; other minor doc fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:28:33 +00:00
Václav Slavík
819559b2ac
better XRC errors reporting: report location of the error and use unified formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 10:29:14 +00:00
Francesco Montorsi
387e72bad6
implement the wxGTK selective yield with a different approach: rather than getting the events ourselves and fetching them to gtk_main_do_event(), install our own wxgtk_main_do_event() to filter them ( closes #10320 -- see bug reported in comment 19)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:59:21 +00:00
Vadim Zeitlin
98fa068e79
compilation fix for Watcom (see #10576 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:26:39 +00:00
Francesco Montorsi
6547c6bad7
include all events categories in wxEVT_CATEGORY_ALL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 19:20:03 +00:00
Francesco Montorsi
732d8c74f8
add wxSize overloads to wxBitmap ctors and to wxBitmap::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 13:57:51 +00:00
Francesco Montorsi
72a9034bd4
add overloads of ctors and Create() functions taking wxSize; document the various Create() overloads; reorganize wxImage docs categorizing the various functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 13:28:28 +00:00
Francesco Montorsi
5a0a15cf56
fix crash caused by an wxMDIClientWindow's GTK signal handler being called when the wxMDIClientWindow is already (partially) destroyed: easily reproducible (without this fix) in the 'mdi' and 'svg' samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 01:24:45 +00:00
Stefan Csomor
8e88e9846a
solving inversion problem, because SetShape is redefined on toplevel.h level
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 18:43:46 +00:00