Commit Graph

44428 Commits

Author SHA1 Message Date
Vadim Zeitlin
345d60d357 fix crash when repositioning tools without labels in DoDeleteTool() (ticket #9530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 12:45:43 +00:00
Robert Roebling
92159e3d76 Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 21:46:29 +00:00
Vadim Zeitlin
c71396b42d suppress warning about casting int to a pointer of greater size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:45:50 +00:00
Robert Roebling
3b3026ca0b Make wxMenuItem::GetLabelText readable again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:45:41 +00:00
Vadim Zeitlin
42124e683d define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:42:23 +00:00
Robin Dunn
f60ca3e24c Add a SetDoubleBuffered method for wxMSW (XP+)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:30:13 +00:00
Robert Roebling
ae8eee38f4 Disable disabling wxWeakRef<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:07:06 +00:00
Václav Slavík
e835292782 regenerated all trunk makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 14:48:50 +00:00
Václav Slavík
b64608901a fixed OSX bundles bkl code to handle conditional targets correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 10:39:10 +00:00
Vadim Zeitlin
a7d9f9fc1e added a note about wxrc to Xcode section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 08:04:17 +00:00
Vadim Zeitlin
aa1c09fe1c remove mentions of contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 22:39:57 +00:00
Vadim Zeitlin
efce184b1d fix the test for vsscanf() declaration which never passed because it was trying to use char* instead of va_list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 22:34:57 +00:00
Vadim Zeitlin
3fb1e0594a use wxHAS_RAW_BITMAP instead of wxHAVE_RAW_BITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:19:43 +00:00
Vadim Zeitlin
23f3f8c2ac correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:17:04 +00:00
Paul Cornett
ddb57e4557 fix tool referencing, remove dropdown element in DoDeleteTool, ticket #4102
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:02:49 +00:00
Vadim Zeitlin
2e334012b4 use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:52:22 +00:00
Vadim Zeitlin
24671bc900 define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:42:33 +00:00
Vadim Zeitlin
834054468b don't run GUI tests under Unix if the DISPLAY is not set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:33:36 +00:00
Vadim Zeitlin
14b4f6fcc0 ReadBig() should be defined in ANSI build too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:59:10 +00:00
Vadim Zeitlin
7ace5fd8e0 include wx/crt.h to get wxUSE_WXVSNPRINTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:58:17 +00:00
Vadim Zeitlin
0ef7449a2e compilation fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 16:56:46 +00:00
Vadim Zeitlin
a669640b7a really fix the test to work in any time zone and with or without DST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 15:44:16 +00:00
Vadim Zeitlin
73d1f52bb0 added missing wx/wrapsizer.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 15:32:41 +00:00
Vadim Zeitlin
cf9f673789 fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Vadim Zeitlin
9aa7bedbb5 another compilation fix, now for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:13:33 +00:00
Stefan Neis
d450451a6d Added mingw-w64 builds (cross compile on i686-linux).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:24:53 +00:00
Vadim Zeitlin
ba4ed8f465 fix compilation with wxUSE_DRAG_AND_DROP==0 (as in wxX11 build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:07:44 +00:00
Vadim Zeitlin
96202d070a compilation fix for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:04:26 +00:00
Vadim Zeitlin
77fa3d8243 add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:01:59 +00:00
Vadim Zeitlin
c4e2528835 fix time zone conversion test to work in any time zone, not just GMT+1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 12:58:43 +00:00
Vadim Zeitlin
a964d3edf5 corrected bug in wxMBConvStrictUTF8::FromWChar(): it wrote one extra NUL when used with explicit source length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:11:32 +00:00
Vadim Zeitlin
ca8cf4fffb added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:09:25 +00:00
Vadim Zeitlin
9d653e810c rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:08:45 +00:00
Vadim Zeitlin
d4df635acb disable visibility for powerpc-apple-darwin8 build, otherwise we get errors when linking the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 23:41:27 +00:00
Vadim Zeitlin
c226adeedb use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT to have more details when the test fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 23:08:57 +00:00
Vadim Zeitlin
f501c3a9fd reviewed and completed wxMBConv and friends documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 23:01:25 +00:00
Vadim Zeitlin
79b40dcf07 create a separate category for the conversion classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 22:35:24 +00:00
Vadim Zeitlin
871ff36618 include configure/makefiles necessary for building libtiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 13:31:15 +00:00
Vadim Zeitlin
e4e487e2a5 no real changes, just simplify LoadPage() to make it more readable and less redundant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 13:25:50 +00:00
Stefan Neis
3656eefc89 Compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 12:44:40 +00:00
Václav Slavík
91915e1c13 allow periods in wxFileSystem URL anchors (patch #2265)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 09:44:03 +00:00
Vadim Zeitlin
04080f208e make test failure in TestStreamDecoder more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 02:46:22 +00:00
Vadim Zeitlin
78648f606d use more informative CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:57:25 +00:00
Vadim Zeitlin
e5c28d8710 don't write extraneous NUL bytes in wxMBConv_iconv::FromWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:55:45 +00:00
Vadim Zeitlin
2588ee861f correct similar off by 1 bug to the one fixed by r53869 in wxMBConv_iconv::ToWChar() in FromWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:54:21 +00:00
Vadim Zeitlin
1752fda65b fix bug with wrong return value in wxMBConv_iconv::ToWChar() introduced by a recent check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:53:10 +00:00
Vadim Zeitlin
d50c083157 fix wxMBConv_iconv to respect the base class conventions: when the input is NUL-terminated, the output should be NUL-terminated and the return value should account for the terminating NUL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:39:32 +00:00
Vadim Zeitlin
467a2982d2 swap all characters instead of just the last one in a loop in wxMBConv_iconv::ToWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:23:36 +00:00
Vadim Zeitlin
95f82f4ce3 don't return success when converting incomplete UTF-7 sequences
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:22:16 +00:00
Vadim Zeitlin
9fc7a1d276 disable test using network by default as it's not available on some of buildbot machines and so makes the test fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 23:38:56 +00:00