Commit Graph

44837 Commits

Author SHA1 Message Date
Robert Roebling
ca4bcd88f2 Trying to make wxFileName docs readable again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-26 10:44:42 +00:00
Stefan Csomor
0b1b2c71e3 extending docs according #9713
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-26 09:20:44 +00:00
Paul Cornett
a85085c933 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-24 02:15:55 +00:00
Vadim Zeitlin
5b464d6bbd define wxHAS_RAW_BITMAP for wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-24 00:47:13 +00:00
Vadim Zeitlin
2b42a87073 fix index checking in GetRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-24 00:05:14 +00:00
Vadim Zeitlin
5166d04e4f add unit test for wxTextCtrl::GetInsertionPoint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-23 23:56:04 +00:00
Vadim Zeitlin
b2b0bee6d8 add unit test for wxTextCtrl::SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-23 23:34:25 +00:00
Vadim Zeitlin
4800a07000 forbid modifying wxImage by assigning to wxImagePixelData::Iterator::Data(), this doesn't work correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-23 23:26:28 +00:00
Vadim Zeitlin
60235673ec fix a bug in the test which was corrupting 1 byte beyond wxImage buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-23 23:23:23 +00:00
Vadim Zeitlin
cc1b761a57 fix crash when reading malformed PCX images (#3836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 20:16:03 +00:00
Vadim Zeitlin
1c0b21e8da attempt to fix compilation after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 17:33:10 +00:00
Vadim Zeitlin
4c30dd1a6b remove the workaround for STL build bug in wxArrays fixed by r54761
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 01:02:47 +00:00
Vadim Zeitlin
35d5da677d get rid of base arrays in wxUSE_STL build, we don't need them there and deriving wxFooPtr from wxBaseArrayPtrVoid makes it iterators return void pointers instead of those of the correct type; added test case to check for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 01:01:56 +00:00
Václav Slavík
87ec008f42 Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 22:10:13 +00:00
Vadim Zeitlin
98ecad0621 avoid unnecessary conversions in wxTextDataObject code in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 15:53:21 +00:00
Vadim Zeitlin
b82c3e606c don't call gtk_selection_data_set_text() with non-UTF-8 data as we did in ANSI build (#2037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:39:40 +00:00
Vadim Zeitlin
73597f8aff wxDF_UNICODETEXT shouldn't be supported at all in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:35:15 +00:00
Vadim Zeitlin
27781f6379 no changes, just fixed a typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:02:34 +00:00
Vadim Zeitlin
e2ccb25092 use #if wxUSE_UNICODE instead of #ifdefs (which totally broke ANSI build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 02:51:26 +00:00
Vadim Zeitlin
366721d7b0 don't show warning to the user if session manager detection failed, this is annoying and irrelevant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 02:33:19 +00:00
Vadim Zeitlin
96e93f5b83 added FromUTF8Unchecked() for ANSI build too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 02:26:11 +00:00
Vadim Zeitlin
96b2cbe8b3 use (new) safer GetTraitsIfExists() in wxMutexGuiEnter/Leave() to avoid crashing on exit of wxGTK1 applications putting anything on clipboard (and maybe other cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 01:35:00 +00:00
Vadim Zeitlin
4010aae119 don't give error on startup of any application using wxHTML just because /usr/local/share/mime/globs doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 01:33:51 +00:00
Vadim Zeitlin
42d908f13d don't use deprecated function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 01:33:04 +00:00
Vadim Zeitlin
faaa88e7ab fix generation of events for an initially empty wxDirPickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:48:34 +00:00
Vadim Zeitlin
ee437b7e1d blind attempt to fix wxBitmap in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:36:51 +00:00
Vadim Zeitlin
567d9d70c1 fix (harmless) Win64-compatibility MSVC warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:11:20 +00:00
Vadim Zeitlin
85716ec3bf handle C++ exception in EVT_{TIMER,IDLE} handlers (#9768)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:05:30 +00:00
Vadim Zeitlin
2adc95dea3 really fix compilation for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 12:57:47 +00:00
Vadim Zeitlin
1ada821748 add a missing backslash (#9766)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 12:37:20 +00:00
Vadim Zeitlin
c40fd721e4 compilation fix for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 12:35:31 +00:00
Vadim Zeitlin
2186321ff5 big wxURI cleanup; it now handles Unicode characters correctly (#3874)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 23:14:51 +00:00
Vadim Zeitlin
ece97e2882 remove the just added assertEquals(time_t, long) overload, it results in infinite recursion and crash if time_t is the same type as long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 20:07:36 +00:00
Vadim Zeitlin
cc209a518f check that string passed to FromUTF8() is valid even in release build, this is safer; add a separate FromUTF8Unchecked() which can be used for maximal efficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 19:59:59 +00:00
Vadim Zeitlin
9f10e7c758 no changes, just removed an unnecessary semicolon at top level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 15:36:39 +00:00
Vadim Zeitlin
66ad7d6a0a compilation fix for builds without wxHAS_RAW_KEY_CODES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 05:33:36 +00:00
Vadim Zeitlin
28d4f49b78 already escaped backslash shouldn't escape the following quote in ConvertStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:53:04 +00:00
Vadim Zeitlin
e3276230de fix bug with wxCSConv("ASCII")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:45:38 +00:00
Vadim Zeitlin
a08a37d0d6 no changes, just added some explanatory comments for wxCSConv members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:37:43 +00:00
Vadim Zeitlin
c19c2f6efa disable compilation of test broken by wxMimeTypesManager changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:36:04 +00:00
Vadim Zeitlin
3d9b0b5393 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:33:19 +00:00
Vadim Zeitlin
5c3d5ef246 simplify the test, don't reuse the same macro for different things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:08:24 +00:00
Vadim Zeitlin
1de532f57e get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:07:23 +00:00
Vadim Zeitlin
a6eac99d9e mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Vadim Zeitlin
8a9e5d8590 compilation fix for eVC4: include commctrl.h explicitely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 13:47:05 +00:00
Julian Smart
4bf9e5bc14 Tab removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 12:56:22 +00:00
Julian Smart
a8eeee195b Fixed initial layout bug when using dynamically created bitmap on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 08:17:14 +00:00
Paul Cornett
4a4a02acd1 fix masking of disabled bitmaps with some themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 02:45:48 +00:00
Vadim Zeitlin
ccaa848d6d really correct detecting the end of UTF-7-encoded strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 00:47:21 +00:00
Vadim Zeitlin
36f9367822 fix bug introduced in r54646: we still need to count the embedded NULs when converting the entire NUL-terminated string to wchar_t, only the trailing NUL shouldn't be counted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-17 23:45:04 +00:00