Commit Graph

48328 Commits

Author SHA1 Message Date
Benjamin Williams
36adcfc913 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
2009-03-27 13:06:17 +00:00
Benjamin Williams
cd67553cf4 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
2009-03-27 12:47:37 +00:00
Benjamin Williams
af2a1b423d applied patch fixing border problem (#10171)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 09:46:39 +00:00
Vadim Zeitlin
55fffc3418 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
2009-03-26 23:07:07 +00:00
Vadim Zeitlin
07c4e84f7b 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
2009-03-26 23:00:14 +00:00
Stefan Csomor
1a39a1d7c0 changing to iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 20:38:43 +00:00
Vadim Zeitlin
13d09fc3d4 mention wxFilename::StripExtension()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 16:02:47 +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
62714742f3 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
2009-03-26 15:35:30 +00:00
Vadim Zeitlin
875f82b1b6 switch off logging sooner (closes #10646)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:31:54 +00:00
Vadim Zeitlin
2057acc2a7 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
2009-03-26 14:58:22 +00:00
Stefan Csomor
59d454cda2 revert to proper defaults for US
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 14:35:13 +00:00
Vadim Zeitlin
92f8206fee remove unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 13:46:22 +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
Stefan Csomor
be8dbffa00 better native date locale support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 10:17:19 +00:00
Benjamin Williams
b6d74808f6 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
2009-03-26 08:34:27 +00:00
Stefan Csomor
c45fad9aa9 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
2009-03-25 21:24:02 +00:00
Vadim Zeitlin
e8c0d57346 don't omit wxOK in wxMessageBox() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 16:29:23 +00:00
Vadim Zeitlin
29e0c68ef5 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
2009-03-25 16:28:20 +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
Vadim Zeitlin
955e1ce861 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
2009-03-25 13:43:31 +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
5c8640d093 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
2009-03-25 13:40:22 +00:00
Vadim Zeitlin
174649c955 fix tests for the release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:32:53 +00:00
Vadim Zeitlin
9912799caf 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
2009-03-25 13:32:19 +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
1087c6c1c6 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
2009-03-25 13:12:55 +00:00
Vadim Zeitlin
2e6c4a5702 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
2009-03-25 12:59:19 +00:00
Francesco Montorsi
14a83cbf36 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
2009-03-25 12:49:04 +00:00
Francesco Montorsi
a912ea269e 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
2009-03-25 12:44:15 +00:00
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