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
Francesco Montorsi
dad013ac01
extend wxXLocale with wxStrto[d,l,ul] functions; make wxXLocale::Init() a little bit smarter on Unix systems; make XLocaleTestCase not fail on systems where french/italian support is not installed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 18:05:49 +00:00
Francesco Montorsi
fc79419b65
document wxLocale::GetInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 15:08:49 +00:00
Francesco Montorsi
e0a5cfb0cb
fix typos ( closes #10611 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 15:08:12 +00:00
Francesco Montorsi
ee49f54091
revised wxString docs: don't use old style grouping of functions at the beginning of the file; rather use doxygen-style member groups; to be able to reference member groups, introduce the new @member_group_name and @ref_member_group ALIASES; fix some typos in the process
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 14:51:46 +00:00
Francesco Montorsi
f18e1cf1f1
remove implementations from interface headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 14:17:56 +00:00
Francesco Montorsi
778c9b9f49
commit temporary fix for the sample for 2.9.0 release
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 01:37:11 +00:00
Kevin Ollivier
9af2e240f0
Fix toggle button style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 23:12:25 +00:00
Vadim Zeitlin
c256657590
fix (harmless) MSVC 64 bit compilation warning ( closes #10140 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:58:15 +00:00
Francesco Montorsi
d014871de8
simplify a bit the convoluted implementation of wxFontRefData::Alloc;
...
add some comment, regarding the auto-allocation feature of GetHFONT();
use const_cast<>() instead of wxConstCast();
protect wxFont::IsFixedWidth with a proper wxCHECK_MSG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:51:22 +00:00