Commit Graph

48206 Commits

Author SHA1 Message Date
Vadim Zeitlin
cc14bd0058 added wxStaticCast() unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 21:04:28 +00:00
Vadim Zeitlin
50e08f9d2f fix compilation breaking typo in recent commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 20:51:54 +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
Stefan Csomor
87ae8abf07 adding tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 16:22:31 +00:00
Vadim Zeitlin
6582f59207 compilation fix for wxUSE_STD_STRING==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 16:10:09 +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
61f24aea16 compilation fix for STL build after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 15:30:15 +00:00
Vadim Zeitlin
70aca4d953 wxGTK1 compilation fixes after last changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 13:29:52 +00:00
Vadim Zeitlin
433400df4d fix typo; wrap lines; add some clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 13:12:45 +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
0e5bf041b0 fix harmless warning about unreachable code under MSW after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:05:58 +00:00
Vadim Zeitlin
114895c68b always define ShowAssertDialog() but do nothing in it if debug level is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 08:39:31 +00:00
Stefan Csomor
f5e9c9c0ba temporary build-fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 07:42:51 +00:00
Kevin Ollivier
440e5cb2fa Disabling sheets codepath until we can resolve the nested loop issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 06:33:37 +00:00
Kevin Ollivier
c7428e0813 New release script docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 00:44:12 +00:00
Vadim Zeitlin
a823df225a fix typo in comment introduced in the previous change (re-closes #10622)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 23:53:33 +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
Stefan Csomor
b822bdc032 fixing multiple extensions in one filter, turning off temporarily sheets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 23:27:06 +00:00
Stefan Csomor
b771d06bad adapting to autorelease of factory methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 22:54:50 +00:00
Stefan Csomor
345d613e29 adapting to autorelease of factory method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 22:32:08 +00:00
Vadim Zeitlin
a0c9006654 don't use HBMMENU_CALLBACK under Windows Vista as this results in losing the themed menu display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 21:31:21 +00:00
Stefan Csomor
d421cbc78e fixing the type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 17:55:34 +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
Vadim Zeitlin
23c26b99e0 fix generation of wxEVT_CHAR_HOOK events which, incredibly, seems to have never worked because of incorrect parameter being passed to SetWindowsHookEx()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 16:11:06 +00:00
Vadim Zeitlin
c00ee75726 don't build flash and mfc samples with non-MSVC compilers (closes #10622)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 15:39:15 +00:00
Stefan Csomor
ea46839980 making sure the repositioning within the contentview only happens if the parent really has a superview, and not only a contentRect like notebook, fixes #10615
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 14:32:28 +00:00
Stefan Csomor
d4e4ba484d make it crash-proof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 14:24:13 +00:00
Francesco Montorsi
92de7654e9 use /b option with the EXIT command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 13:49:20 +00:00
Francesco Montorsi
1789c1c602 fix for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 12:34:18 +00:00
Francesco Montorsi
1dd8319ab9 revert 59680; implement proper fix for wxMSW test failure detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 12:28:52 +00:00
Francesco Montorsi
9decc52d62 fix unreadable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 12:27:21 +00:00
Václav Slavík
a90db8ee16 wxHTML tables handler didn't properly restore m_enclosingContainer state (fixes #10370)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 09:41:52 +00:00
Jaakko Salli
268203fb5b Fix wxGTK wxBitmapComboBox::SetValue() not working if wxCB_READONLY window style was used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 09:35:02 +00:00
Francesco Montorsi
530793f0be minimal list of wx CRT wrappers (so doxygen highlights occurrences of wxFunc() if Func() is a std CRT function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:40:12 +00:00
Francesco Montorsi
a6121fc4e0 fixes for Italian locale: ignore a final 'CET' string and don't test '%p' for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:37:19 +00:00
Francesco Montorsi
8aa25f4025 handle locales where AM/PM strings are empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:19:27 +00:00
Francesco Montorsi
d24a0a3a30 try to use 0/1 instead of the cstdlib' EXIT_SUCCESS/FAILURE constants to see if buildbot makes red the currently-green boxes relative to wxMSW test runs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:16:43 +00:00
Francesco Montorsi
6d423df049 allow to give the testcase name without the final 'TestCase' postfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:06:32 +00:00
Francesco Montorsi
1ee2f9d96d share a few helpers between datetime.cpp and datetimefmt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 22:07:09 +00:00