]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agostreamlining code
Stefan Csomor [Sun, 29 Mar 2009 20:44:58 +0000 (20:44 +0000)] 
streamlining code

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

15 years agomake sure button is known for non-precomp case
Stefan Csomor [Sun, 29 Mar 2009 20:42:00 +0000 (20:42 +0000)] 
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

15 years agoadding a for am/pm and windows special character t
Stefan Csomor [Sun, 29 Mar 2009 20:10:14 +0000 (20:10 +0000)] 
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

15 years agofixing conversion
Stefan Csomor [Sun, 29 Mar 2009 19:46:02 +0000 (19:46 +0000)] 
fixing conversion

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

15 years agoadding implementation for OSX
Stefan Csomor [Sun, 29 Mar 2009 18:13:32 +0000 (18:13 +0000)] 
adding implementation for OSX

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

15 years agouse short date format in wxLOCALE_DATE_TIME_FMT handler for MSW for compatibility...
Vadim Zeitlin [Sun, 29 Mar 2009 17:26:25 +0000 (17:26 +0000)] 
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

15 years agoadding comment about wxHAS_OPENGL_ES
Stefan Csomor [Sun, 29 Mar 2009 17:20:14 +0000 (17:20 +0000)] 
adding comment about wxHAS_OPENGL_ES

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

15 years agoAdded wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo().
Vadim Zeitlin [Sun, 29 Mar 2009 17:15:43 +0000 (17:15 +0000)] 
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

15 years agobracketing opengl code that doesn't work on OpenGL ES
Stefan Csomor [Sun, 29 Mar 2009 17:13:27 +0000 (17:13 +0000)] 
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

15 years agominor cleanup of Unix GetInfo(): assert if invalid parameters are passed; don't use...
Vadim Zeitlin [Sun, 29 Mar 2009 15:13:40 +0000 (15:13 +0000)] 
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

15 years agoupdate documentation for Bind() (closes #10594)
Vadim Zeitlin [Sun, 29 Mar 2009 12:53:54 +0000 (12:53 +0000)] 
update documentation for Bind() (closes #10594)

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

15 years agono real changes, jus renames some parameters (see #10594)
Vadim Zeitlin [Sun, 29 Mar 2009 12:38:53 +0000 (12:38 +0000)] 
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

15 years agofixed logical error in SetIcons(): only assert if no icon was set, at least one is OK
Václav Slavík [Sat, 28 Mar 2009 20:06:26 +0000 (20:06 +0000)] 
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

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