Commit Graph

48495 Commits

Author SHA1 Message Date
Francesco Montorsi
071de7a097 document that under wxMSW slant == italic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 12:30:27 +00:00
Francesco Montorsi
c1ab2be0a0 implement quoting for the facename and parsing of quoted facenames in wxNativeFontInfo::To/FromUserString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 12:21:56 +00:00
Vadim Zeitlin
ed973feb5a fix dereferencing end() iterator in ParseFormat() and constructing out of bound iterator in ParseDate() (thanks to VC9 debug CRT for the warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 11:51:37 +00:00
Vadim Zeitlin
b33e98f0bd trap CRT assertions and report assertions which happen inside CppUnit tests in a better way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:42:11 +00:00
Vadim Zeitlin
09777a5bb5 compilation fix after wxDateTime::Parse() changes (but do we really intent to return true here if the string was only partially parsed?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:27:36 +00:00
Stefan Csomor
6d109846c2 supporting kill focus for single line text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:26:28 +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
Benjamin Williams
71a1f3245a wxAuiToolbar properly handles items with wxID_ANY (#10173)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:11:52 +00:00
Julian Smart
6b9ce6ca32 Added a couple of wxRTC string translations in es.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:11:20 +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
9c4ae52877 adding native icon for executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:48:16 +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
73799292ca check that the conversion to wxDateTime was really successful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:20:20 +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
Francesco Montorsi
8057186b81 PCH less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 00:25:37 +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
3a6a00822d add a comment about wxNativeFontInfo::SetFaceName return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:13:57 +00:00
Francesco Montorsi
e3527f7bc5 make sure that wxSystemSettings::GetFont/GetColour return values are always valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:13:02 +00:00
Francesco Montorsi
ecde8361cc update wxGTK font implementation removing useless functions dating to wxGTK1 (HasNativeFont() always == true in wxGTK2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 21:18:15 +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
Stefan Csomor
6ca6396c48 correcting inverted conditions of r59725
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 17:54:51 +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
Vadim Zeitlin
2887455004 correct translation between iterators and char pointers in CallStrptime()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 12:20:23 +00:00
Vadim Zeitlin
dc310ea07f discard the time zone part of strings being parsed (generalizes the "CEST"-ignoring hack of r59682)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 12:19:21 +00:00
Vadim Zeitlin
115eded74f work around VC6 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 11:18:34 +00:00
Vadim Zeitlin
3c8aa154bc set eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 10:05:11 +00:00
Vadim Zeitlin
19f5f4abbe compilation fix: remove extraneous variable declaration after last commit (why didn't g++ complain about it?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 09:15:44 +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
7a48e6da90 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 07:40:58 +00:00
Jouk Jansen
de85a8e946 Updated 'setup' for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 07:18:21 +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
66f22f4ae5 fix parsing methods for non-ASCII strings (e.g. dates in non-"C" locales) (see #9560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 00:11:42 +00:00
Vadim Zeitlin
34d4d2864c enforce "C" locale for tests which can't work in any other (because test data is in English)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 23:29:10 +00:00
Vadim Zeitlin
3aa3163f66 give better error messages when tests fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 23:22:37 +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
Stefan Csomor
0096f23994 adding scheduler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 18:34:03 +00:00
Michael Wetherell
8dda46e00c Fix branch name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 18:28:25 +00:00
Michael Wetherell
30050c958f Make dir names unique.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 18:16:10 +00:00
Stefan Csomor
1d1da43654 adding OSX 2.9 preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 17:56:09 +00:00
Stefan Csomor
c2a4e85cb5 switching a few icons, removing OS9 folder icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 17:45:21 +00:00
Stefan Csomor
62e54750de switching a few icons, removing OS9 folder icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 17:44:58 +00:00
Francesco Montorsi
3162be2bd9 small changes to make the test run fine on wxMSW, too;
do not use stdout as variable name as VC9 doesn't like it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:49:20 +00:00
Francesco Montorsi
30e6055001 remove VCard code leftover: it's not part of wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:28:22 +00:00
Francesco Montorsi
16f7158098 put wxSetLocale() call in setUp() as VC6 still fails because of wrong locale in VsnprintfTestCase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:25:44 +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