wxWidgets.git
15 years agofix setting of HOST_{PRE,SUF}FIX in case --host option is specified but --build is...
Vadim Zeitlin [Sat, 28 Mar 2009 19:10:05 +0000 (19:10 +0000)] 
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

15 years agofix basetsd.h name for case-sensitive file systems (which can be used when cross...
Vadim Zeitlin [Sat, 28 Mar 2009 18:18:23 +0000 (18:18 +0000)] 
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

15 years agobracketing menu code
Stefan Csomor [Sat, 28 Mar 2009 16:46:34 +0000 (16:46 +0000)] 
bracketing menu code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agovariadic macros need specializations for both wxCharBuffer and wxScopedCharBuffer...
Václav Slavík [Sat, 28 Mar 2009 12:32:06 +0000 (12:32 +0000)] 
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

15 years agodon't duplicate copy ctor and assignment operator code in wxCharTypeBuffer<T>, it...
Václav Slavík [Sat, 28 Mar 2009 09:35:53 +0000 (09:35 +0000)] 
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

15 years agodon't reset WS_EX_CONTROLPARENT bit in wxNotebook::MSWGetStyle(), this can result...
Vadim Zeitlin [Fri, 27 Mar 2009 22:37:22 +0000 (22:37 +0000)] 
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

15 years agocorrections for inner-dock pane sizing for 2.9
Benjamin Williams [Fri, 27 Mar 2009 20:54:05 +0000 (20:54 +0000)] 
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

15 years agocorrect the test for Windows platform (this also fixes unit test failures in FormatCo...
Vadim Zeitlin [Fri, 27 Mar 2009 16:34:49 +0000 (16:34 +0000)] 
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

15 years agosplit wxCharTypeBuffer<T> into wxScopedCharTypeBuffer<T> and wxCharTypeBuffer<T>...
Václav Slavík [Fri, 27 Mar 2009 15:33:55 +0000 (15:33 +0000)] 
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

15 years agodon't draw resize sash if it's dragged outside of managed frame
Benjamin Williams [Fri, 27 Mar 2009 13:06:17 +0000 (13:06 +0000)] 
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

15 years agopane sizes within a dock are not allowed to exceed the dock's entire current pixel...
Benjamin Williams [Fri, 27 Mar 2009 12:47:37 +0000 (12:47 +0000)] 
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

15 years agoapplied patch fixing border problem (#10171)
Benjamin Williams [Fri, 27 Mar 2009 09:46:39 +0000 (09:46 +0000)] 
applied patch fixing border problem (#10171)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agominor corrections to TranslateFromUnicodeFormat()
Vadim Zeitlin [Thu, 26 Mar 2009 23:07:07 +0000 (23:07 +0000)] 
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

15 years agoalways declare TestStrip(), it is now available even without 2.8 compatibility
Vadim Zeitlin [Thu, 26 Mar 2009 23:00:14 +0000 (23:00 +0000)] 
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

15 years agochanging to iterator
Stefan Csomor [Thu, 26 Mar 2009 20:38:43 +0000 (20:38 +0000)] 
changing to iterator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomention wxFilename::StripExtension()
Vadim Zeitlin [Thu, 26 Mar 2009 16:02:47 +0000 (16:02 +0000)] 
mention wxFilename::StripExtension()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono changes, just write a more detailed comment for StripExtension()
Vadim Zeitlin [Thu, 26 Mar 2009 16:02:09 +0000 (16:02 +0000)] 
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

15 years agoimplement deprecated wxStripExtension() in terms of new wxFileName::StripExtension...
Vadim Zeitlin [Thu, 26 Mar 2009 15:55:01 +0000 (15:55 +0000)] 
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

15 years agono changes, just some cleanup (use compile-time asserts instead of run-time ones...
Vadim Zeitlin [Thu, 26 Mar 2009 15:35:30 +0000 (15:35 +0000)] 
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

15 years agoswitch off logging sooner (closes #10646)
Vadim Zeitlin [Thu, 26 Mar 2009 15:31:54 +0000 (15:31 +0000)] 
switch off logging sooner (closes #10646)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobuild bot systems don't manage to generate enough ticks in 2 seconds to pass this...
Vadim Zeitlin [Thu, 26 Mar 2009 14:58:22 +0000 (14:58 +0000)] 
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

15 years agorevert to proper defaults for US
Stefan Csomor [Thu, 26 Mar 2009 14:35:13 +0000 (14:35 +0000)] 
revert to proper defaults for US

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove unused variable
Vadim Zeitlin [Thu, 26 Mar 2009 13:46:22 +0000 (13:46 +0000)] 
remove unused variable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodetect horizontal overflow in wxHtmlPrintout and warn the user about it
Vadim Zeitlin [Thu, 26 Mar 2009 13:37:37 +0000 (13:37 +0000)] 
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

15 years agobetter native date locale support
Stefan Csomor [Thu, 26 Mar 2009 10:17:19 +0000 (10:17 +0000)] 
better native date locale support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix misusage of wxFlexGridSizer that was causing an assert
Benjamin Williams [Thu, 26 Mar 2009 08:34:27 +0000 (08:34 +0000)] 
fix misusage of wxFlexGridSizer that was causing an assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomaking sure NULs stay in the result, even if the string is not nul terminated
Stefan Csomor [Wed, 25 Mar 2009 21:24:02 +0000 (21:24 +0000)] 
making sure NULs stay in the result, even if the string is not nul terminated

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't omit wxOK in wxMessageBox() call
Vadim Zeitlin [Wed, 25 Mar 2009 16:29:23 +0000 (16:29 +0000)] 
don't omit wxOK in wxMessageBox() call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoproduce a better looking report with --time option (closes #10643)
Vadim Zeitlin [Wed, 25 Mar 2009 16:28:20 +0000 (16:28 +0000)] 
produce a better looking report with --time option (closes #10643)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded ability to set tool alignment (#10174)
Benjamin Williams [Wed, 25 Mar 2009 15:56:23 +0000 (15:56 +0000)] 
added ability to set tool alignment (#10174)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded missing getters to wxAuiToolBar (#10182)
Benjamin Williams [Wed, 25 Mar 2009 14:23:14 +0000 (14:23 +0000)] 
added missing getters to wxAuiToolBar (#10182)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomoving down for non-precomp build
Stefan Csomor [Wed, 25 Mar 2009 14:05:36 +0000 (14:05 +0000)] 
moving down for non-precomp build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoensure the number of values we expect to record in RecordingDefaultsTest() is always...
Vadim Zeitlin [Wed, 25 Mar 2009 13:43:31 +0000 (13:43 +0000)] 
ensure the number of values we expect to record in RecordingDefaultsTest() is always correct (fixes test failure under VC6)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix incorrect application of styles (#10171)
Benjamin Williams [Wed, 25 Mar 2009 13:42:35 +0000 (13:42 +0000)] 
fix incorrect application of styles (#10171)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrect order of parameters in CPPUNIT_ASSERT_EQUAL
Vadim Zeitlin [Wed, 25 Mar 2009 13:40:22 +0000 (13:40 +0000)] 
correct order of parameters in CPPUNIT_ASSERT_EQUAL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix tests for the release builds
Vadim Zeitlin [Wed, 25 Mar 2009 13:32:53 +0000 (13:32 +0000)] 
fix tests for the release builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't log std::exceptions ourselves, let cppunit do it as it outputs more details
Vadim Zeitlin [Wed, 25 Mar 2009 13:32:19 +0000 (13:32 +0000)] 
don't log std::exceptions ourselves, let cppunit do it as it outputs more details

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't crash in wxFAIL and wxCHECK if assertion handler is NULL
Vadim Zeitlin [Wed, 25 Mar 2009 13:31:38 +0000 (13:31 +0000)] 
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

15 years agoadding support for focus events to multiline textctrl
Stefan Csomor [Wed, 25 Mar 2009 13:12:55 +0000 (13:12 +0000)] 
adding support for focus events to multiline textctrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agogive more detailed message when the test fails in TestTimeFormat()
Vadim Zeitlin [Wed, 25 Mar 2009 12:59:19 +0000 (12:59 +0000)] 
give more detailed message when the test fails in TestTimeFormat()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix the FontTestCase::GetSet unit so that it passes under wxMSW
Francesco Montorsi [Wed, 25 Mar 2009 12:49:04 +0000 (12:49 +0000)] 
fix the FontTestCase::GetSet unit so that it passes under wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd a few comments about the fact that Get/SetNativeFontInfoUserDesc are not meant...
Francesco Montorsi [Wed, 25 Mar 2009 12:44:15 +0000 (12:44 +0000)] 
add a few comments about the fact that Get/SetNativeFontInfoUserDesc are not meant for 100%-precise serialization/deserialization of wxFont objects, at least under wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument that under wxMSW slant == italic
Francesco Montorsi [Wed, 25 Mar 2009 12:30:27 +0000 (12:30 +0000)] 
document that under wxMSW slant == italic

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement quoting for the facename and parsing of quoted facenames in wxNativeFontInf...
Francesco Montorsi [Wed, 25 Mar 2009 12:21:56 +0000 (12:21 +0000)] 
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

15 years agofix dereferencing end() iterator in ParseFormat() and constructing out of bound itera...
Vadim Zeitlin [Wed, 25 Mar 2009 11:51:37 +0000 (11:51 +0000)] 
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

15 years agotrap CRT assertions and report assertions which happen inside CppUnit tests in a...
Vadim Zeitlin [Wed, 25 Mar 2009 10:42:11 +0000 (10:42 +0000)] 
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

15 years agocompilation fix after wxDateTime::Parse() changes (but do we really intent to return...
Vadim Zeitlin [Wed, 25 Mar 2009 10:27:36 +0000 (10:27 +0000)] 
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

15 years agosupporting kill focus for single line text controls
Stefan Csomor [Wed, 25 Mar 2009 10:26:28 +0000 (10:26 +0000)] 
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

15 years agofocus handling streamlined
Stefan Csomor [Wed, 25 Mar 2009 10:24:51 +0000 (10:24 +0000)] 
focus handling streamlined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobetter native types for carbon
Stefan Csomor [Wed, 25 Mar 2009 10:20:11 +0000 (10:20 +0000)] 
better native types for carbon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxAuiToolbar properly handles items with wxID_ANY (#10173)
Benjamin Williams [Wed, 25 Mar 2009 10:11:52 +0000 (10:11 +0000)] 
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

15 years agoAdded a couple of wxRTC string translations in es.po
Julian Smart [Wed, 25 Mar 2009 10:11:20 +0000 (10:11 +0000)] 
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

15 years agoabandon attempts to make wxAnyStrPtr behave as bool: user-defined logical operators...
Vadim Zeitlin [Wed, 25 Mar 2009 09:54:10 +0000 (09:54 +0000)] 
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

15 years agoadding native icon for executables
Stefan Csomor [Wed, 25 Mar 2009 09:48:16 +0000 (09:48 +0000)] 
adding native icon for executables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomaking method properly const
Stefan Csomor [Wed, 25 Mar 2009 09:46:08 +0000 (09:46 +0000)] 
making method properly const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fixes for wxAnyStrPtr for VC7; mention it in the change log
Vadim Zeitlin [Wed, 25 Mar 2009 09:23:30 +0000 (09:23 +0000)] 
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

15 years agocheck that the conversion to wxDateTime was really successful
Vadim Zeitlin [Wed, 25 Mar 2009 09:20:20 +0000 (09:20 +0000)] 
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

15 years agocompilation fixes for wxAnyStrPtr for VC6
Vadim Zeitlin [Wed, 25 Mar 2009 00:44:25 +0000 (00:44 +0000)] 
compilation fixes for wxAnyStrPtr for VC6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPCH less build fix
Francesco Montorsi [Wed, 25 Mar 2009 00:25:37 +0000 (00:25 +0000)] 
PCH less build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreturn a wxAnyStrPtr covnertible to either narrow or wide char pointer from wxDateTim...
Vadim Zeitlin [Tue, 24 Mar 2009 23:21:29 +0000 (23:21 +0000)] 
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

15 years agoadd a comment about wxNativeFontInfo::SetFaceName return value
Francesco Montorsi [Tue, 24 Mar 2009 23:13:57 +0000 (23:13 +0000)] 
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

15 years agomake sure that wxSystemSettings::GetFont/GetColour return values are always valid
Francesco Montorsi [Tue, 24 Mar 2009 23:13:02 +0000 (23:13 +0000)] 
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

15 years agoupdate wxGTK font implementation removing useless functions dating to wxGTK1 (HasNati...
Francesco Montorsi [Tue, 24 Mar 2009 21:18:15 +0000 (21:18 +0000)] 
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

15 years agofix misc typos
Francesco Montorsi [Tue, 24 Mar 2009 21:11:42 +0000 (21:11 +0000)] 
fix misc typos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDon't translate panel titles
Julian Smart [Tue, 24 Mar 2009 19:09:52 +0000 (19:09 +0000)] 
Don't translate panel titles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixed small alignment issues
Julian Smart [Tue, 24 Mar 2009 19:06:19 +0000 (19:06 +0000)] 
Fixed small alignment issues

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded some clarifying comments to wxCStrData
Václav Slavík [Tue, 24 Mar 2009 17:55:04 +0000 (17:55 +0000)] 
added some  clarifying comments to wxCStrData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrecting inverted conditions of r59725
Stefan Csomor [Tue, 24 Mar 2009 17:54:51 +0000 (17:54 +0000)] 
correcting inverted conditions of r59725

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded GetEnglish{Month,WeekDay}Name()
Vadim Zeitlin [Tue, 24 Mar 2009 16:51:10 +0000 (16:51 +0000)] 
added GetEnglish{Month,WeekDay}Name()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrect translation between iterators and char pointers in CallStrptime()
Vadim Zeitlin [Tue, 24 Mar 2009 12:20:23 +0000 (12:20 +0000)] 
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

15 years agodiscard the time zone part of strings being parsed (generalizes the "CEST"-ignoring...
Vadim Zeitlin [Tue, 24 Mar 2009 12:19:21 +0000 (12:19 +0000)] 
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

15 years agowork around VC6 bug
Vadim Zeitlin [Tue, 24 Mar 2009 11:18:34 +0000 (11:18 +0000)] 
work around VC6 bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoset eol-style to native
Vadim Zeitlin [Tue, 24 Mar 2009 10:05:11 +0000 (10:05 +0000)] 
set eol-style to native

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fix: remove extraneous variable declaration after last commit (why didn...
Vadim Zeitlin [Tue, 24 Mar 2009 09:15:44 +0000 (09:15 +0000)] 
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

15 years agoconforming to new naming convention of starting all port specific methods with the...
Stefan Csomor [Tue, 24 Mar 2009 07:56:17 +0000 (07:56 +0000)] 
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

15 years agocleanup
Stefan Csomor [Tue, 24 Mar 2009 07:40:58 +0000 (07:40 +0000)] 
cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUpdated 'setup' for OpenVMS
Jouk Jansen [Tue, 24 Mar 2009 07:18:21 +0000 (07:18 +0000)] 
Updated 'setup' for OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding back API for 2.8 compatibility
Stefan Csomor [Tue, 24 Mar 2009 06:58:43 +0000 (06:58 +0000)] 
adding back API for 2.8 compatibility

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix parsing methods for non-ASCII strings (e.g. dates in non-"C" locales) (see #9560)
Vadim Zeitlin [Tue, 24 Mar 2009 00:11:42 +0000 (00:11 +0000)] 
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

15 years agoenforce "C" locale for tests which can't work in any other (because test data is...
Vadim Zeitlin [Mon, 23 Mar 2009 23:29:10 +0000 (23:29 +0000)] 
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

15 years agogive better error messages when tests fail
Vadim Zeitlin [Mon, 23 Mar 2009 23:22:37 +0000 (23:22 +0000)] 
give better error messages when tests fail

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomake wxStringOperationsWchar methods templates too to be able to reuse them with...
Vadim Zeitlin [Mon, 23 Mar 2009 23:11:55 +0000 (23:11 +0000)] 
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

15 years agoadding scheduler
Stefan Csomor [Mon, 23 Mar 2009 18:34:03 +0000 (18:34 +0000)] 
adding scheduler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix branch name.
Michael Wetherell [Mon, 23 Mar 2009 18:28:25 +0000 (18:28 +0000)] 
Fix branch name.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMake dir names unique.
Michael Wetherell [Mon, 23 Mar 2009 18:16:10 +0000 (18:16 +0000)] 
Make dir names unique.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding OSX 2.9 preview
Stefan Csomor [Mon, 23 Mar 2009 17:56:09 +0000 (17:56 +0000)] 
adding OSX 2.9 preview

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoswitching a few icons, removing OS9 folder icons
Stefan Csomor [Mon, 23 Mar 2009 17:45:21 +0000 (17:45 +0000)] 
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

15 years agoswitching a few icons, removing OS9 folder icons
Stefan Csomor [Mon, 23 Mar 2009 17:44:58 +0000 (17:44 +0000)] 
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

15 years agosmall changes to make the test run fine on wxMSW, too;
Francesco Montorsi [Mon, 23 Mar 2009 16:49:20 +0000 (16:49 +0000)] 
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

15 years agoremove VCard code leftover: it's not part of wx
Francesco Montorsi [Mon, 23 Mar 2009 16:28:22 +0000 (16:28 +0000)] 
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

15 years agoput wxSetLocale() call in setUp() as VC6 still fails because of wrong locale in Vsnpr...
Francesco Montorsi [Mon, 23 Mar 2009 16:25:44 +0000 (16:25 +0000)] 
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

15 years agomake sure that wxProcess always have a valid PID set; add test unit for wxExecute...
Francesco Montorsi [Mon, 23 Mar 2009 16:23:44 +0000 (16:23 +0000)] 
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

15 years agosimplyfing code, fixing warnings
Stefan Csomor [Mon, 23 Mar 2009 16:13:37 +0000 (16:13 +0000)] 
simplyfing code, fixing warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding more native icons, fixes #8778
Stefan Csomor [Mon, 23 Mar 2009 16:12:44 +0000 (16:12 +0000)] 
adding more native icons, fixes #8778

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding more native icons, fixes #8778
Stefan Csomor [Mon, 23 Mar 2009 16:12:02 +0000 (16:12 +0000)] 
adding more native icons, fixes #8778

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't assert in Refresh() if window is not created yet, simply return without doing...
Vadim Zeitlin [Mon, 23 Mar 2009 15:59:37 +0000 (15:59 +0000)] 
don't assert in Refresh() if window is not created yet, simply return without doing anything (fixes crash on startup in the aui sample introduced by r59394)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agotextctrl cleanup
Stefan Csomor [Mon, 23 Mar 2009 15:32:34 +0000 (15:32 +0000)] 
textctrl cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing warnings in osx cocoa
Stefan Csomor [Mon, 23 Mar 2009 15:26:33 +0000 (15:26 +0000)] 
fixing warnings in osx cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing warning in osx core and carbon
Stefan Csomor [Mon, 23 Mar 2009 15:24:04 +0000 (15:24 +0000)] 
fixing warning in osx core and carbon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing warnings in osx common code
Stefan Csomor [Mon, 23 Mar 2009 15:17:22 +0000 (15:17 +0000)] 
fixing warnings in osx common code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775