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
Francesco Montorsi
48fd6e9dd7
build fix (part of r59673, r59656)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 21:42:43 +00:00
Francesco Montorsi
cac1cfce37
build fix for systems where HAVE_STRPTIME is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 21:00:15 +00:00
Francesco Montorsi
c4e085608a
make GetNumOfDaysInMonth static again; in datetimefmt.cpp use GetNumberOfDays instead.
...
Attempt to fix wxDateTime::ParseFormat(date, "%c") by using strptime() before our own heuristic checks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 20:45:20 +00:00
Stefan Csomor
9445de1e4f
make sure we always have a CGFontRef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 20:23:28 +00:00
Francesco Montorsi
54e660f85e
move parsing helpers, too (part of r59656)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 19:25:48 +00:00
Stefan Csomor
9a672c75fb
introducing temporary variables for atsu with cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 19:23:16 +00:00
Francesco Montorsi
98919134f0
no real changes: split the huge datetime.cpp in two parts: one dedicated to code for formatting/parsing, the other for everything else
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 19:16:21 +00:00
Robin Dunn
20072d3fc4
Use native EOL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 18:25:13 +00:00
Francesco Montorsi
0901ebdafa
run tests on the wxMSW port again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 15:20:39 +00:00
Stefan Csomor
b2088388cc
reworked font handling for osx (was missing because of conflicts)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 15:07:31 +00:00
Francesco Montorsi
529e491ce0
add the ToCLong, ToCULong and ToCDouble functions, with docs and test units
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 14:50:06 +00:00
Stefan Csomor
f1c40652a0
reworked font handling for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 13:56:57 +00:00
Francesco Montorsi
0cc860a2ab
add group file for locale functions (was part of r59627)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 12:17:45 +00:00
Francesco Montorsi
9d2e29d274
in case the user mask doesn't contain wxEVT_CATEGORY_UI, don't block forever on the never-ending WM_PAINTs messages sent by the system; but don't even break out of the loop immediately after getting the first WM_PAINT: this break repainting. ( closes #10590 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 11:57:05 +00:00
Vadim Zeitlin
491016e54e
include wx/button.h to get wxBU_EXACTFIT declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 11:53:54 +00:00
Vadim Zeitlin
36b77970eb
copied 2.8.10 changelog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 09:31:33 +00:00
Vadim Zeitlin
61a9bd4202
add wxBU_EXACTFIT support to wxToggleButton XRC handler ( closes #10228 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 09:29:23 +00:00
Stefan Csomor
5f3c0120ed
adding more native definitions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 07:32:01 +00:00
Francesco Montorsi
28e0798fcd
implement wxStrtoX_l() variants even when wxHAS_XLOCALE_SUPPORT is not defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 01:27:56 +00:00
Francesco Montorsi
be8ddd37e3
remove unneeded wxCHECK_MSG: GetNextMessage() can get the msg even if the event loop is not running; the check breaks the:
...
while ( loop->Pending() )
loop->Dispatch();
snippet in console apps since wxConsoleEventLoop::Dispatch calls GetNextMessage() (see also the TimerEventTestCase cppunit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 01:20:44 +00:00
Francesco Montorsi
fdfc5e18e7
comment-out tests provoking a low-level assert from debug CRT libs in MSVC 2008 (2005 probably affected too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 01:03:38 +00:00
Francesco Montorsi
f378428555
update date for 2.9.0 release; set the title to "Reference manual"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 00:52:42 +00:00
Francesco Montorsi
8e18d24865
fix constant value for 32bit machines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 20:30:27 +00:00
Stefan Csomor
2ea8170117
avoid double framing on carbon as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 20:11:52 +00:00
Francesco Montorsi
5337ab1bb8
blind build fix for STL builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 19:39:38 +00:00