]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Mon, 21 Jul 2008 02:26:11 +0000 (02:26 +0000)]
added FromUTF8Unchecked() for ANSI build too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54737
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 21 Jul 2008 01:35:00 +0000 (01:35 +0000)]
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
Vadim Zeitlin [Mon, 21 Jul 2008 01:33:51 +0000 (01:33 +0000)]
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
Vadim Zeitlin [Mon, 21 Jul 2008 01:33:04 +0000 (01:33 +0000)]
don't use deprecated function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54733
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Jul 2008 22:48:34 +0000 (22:48 +0000)]
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
Vadim Zeitlin [Sun, 20 Jul 2008 22:36:51 +0000 (22:36 +0000)]
blind attempt to fix wxBitmap in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54731
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Jul 2008 22:11:20 +0000 (22:11 +0000)]
fix (harmless) Win64-compatibility MSVC warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54729
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Jul 2008 22:05:30 +0000 (22:05 +0000)]
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
Vadim Zeitlin [Sun, 20 Jul 2008 12:57:47 +0000 (12:57 +0000)]
really fix compilation for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54727
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Jul 2008 12:37:20 +0000 (12:37 +0000)]
add a missing backslash (#9766)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54726
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Jul 2008 12:35:31 +0000 (12:35 +0000)]
compilation fix for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54725
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Jul 2008 23:14:51 +0000 (23:14 +0000)]
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
Vadim Zeitlin [Sat, 19 Jul 2008 20:07:36 +0000 (20:07 +0000)]
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
Vadim Zeitlin [Sat, 19 Jul 2008 19:59:59 +0000 (19:59 +0000)]
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
Vadim Zeitlin [Sat, 19 Jul 2008 15:36:39 +0000 (15:36 +0000)]
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
Vadim Zeitlin [Sat, 19 Jul 2008 05:33:36 +0000 (05:33 +0000)]
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
Vadim Zeitlin [Sat, 19 Jul 2008 01:53:04 +0000 (01:53 +0000)]
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
Vadim Zeitlin [Sat, 19 Jul 2008 01:45:38 +0000 (01:45 +0000)]
fix bug with wxCSConv("ASCII")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Jul 2008 01:37:43 +0000 (01:37 +0000)]
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
Vadim Zeitlin [Fri, 18 Jul 2008 23:36:04 +0000 (23:36 +0000)]
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
Vadim Zeitlin [Fri, 18 Jul 2008 23:33:19 +0000 (23:33 +0000)]
compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 18 Jul 2008 23:08:24 +0000 (23:08 +0000)]
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
Vadim Zeitlin [Fri, 18 Jul 2008 23:07:23 +0000 (23:07 +0000)]
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
Vadim Zeitlin [Fri, 18 Jul 2008 22:22:16 +0000 (22:22 +0000)]
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
Vadim Zeitlin [Fri, 18 Jul 2008 13:47:05 +0000 (13:47 +0000)]
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
Julian Smart [Fri, 18 Jul 2008 12:56:22 +0000 (12:56 +0000)]
Tab removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54691
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 18 Jul 2008 08:17:14 +0000 (08:17 +0000)]
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
Paul Cornett [Fri, 18 Jul 2008 02:45:48 +0000 (02:45 +0000)]
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
Vadim Zeitlin [Fri, 18 Jul 2008 00:47:21 +0000 (00:47 +0000)]
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
Vadim Zeitlin [Thu, 17 Jul 2008 23:45:04 +0000 (23:45 +0000)]
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
Vadim Zeitlin [Thu, 17 Jul 2008 23:24:21 +0000 (23:24 +0000)]
make test failures easier to debug by using more informative failure messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 17 Jul 2008 23:01:17 +0000 (23:01 +0000)]
don't run the tests which can't succeed in ANSI build; remove the tests for wxUSE_WCHAR_T, it's always 1 now; test MB2WC conversions in Unicode build too (it only tested WC2MB for some reason)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 17 Jul 2008 23:01:02 +0000 (23:01 +0000)]
properly detect missing data at the end of UTF-7-encoded segment and fail the conversion in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 17 Jul 2008 19:44:59 +0000 (19:44 +0000)]
CP-xxx and MS-yyy iconv identifiers actually don't have dashes in them (this fixes CP932 unit test failure under FreeBSD where iconv doesn't have WINDOWS-932)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 16:06:23 +0000 (16:06 +0000)]
emphasize the fact that GetSelectedCols/Rows() is not sufficient to get the selection (#4732)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 15:53:44 +0000 (15:53 +0000)]
allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 15:21:24 +0000 (15:21 +0000)]
add GetLo/Hi() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 16 Jul 2008 08:59:27 +0000 (08:59 +0000)]
adding missing include for non-precomp builds, and grouping headers, solves #9744
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 02:49:12 +0000 (02:49 +0000)]
_beginthreadex() entry point should really return unsigned and not wxUIntPtr even if this means that it's impossible to return pointers from wxThread::Entry() under Win64 (#9727)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 01:47:14 +0000 (01:47 +0000)]
check for comctl32.dll version and not OS one as an app running XP without manifest is still incapable of drawing bitmaps with alpha (still related to #8684)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 01:30:32 +0000 (01:30 +0000)]
use parent background and not ours unless one was explicitly set when manually drawing (related to #8684)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 01:08:52 +0000 (01:08 +0000)]
clean up wxBitmapButton::Create(); override MSWGetStyle() (#4804)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 00:53:11 +0000 (00:53 +0000)]
use wxCmdLineParser::ConverStringToArgs() instead of (incorrectly) duplicating it here (#9743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 00:49:25 +0000 (00:49 +0000)]
implement flag for Unix-like behaviour in wxCmdLineParser::ConverStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54648
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 16 Jul 2008 00:48:47 +0000 (00:48 +0000)]
added wxConvISO8859_1 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 23:57:25 +0000 (23:57 +0000)]
fix the output length returned from cWC2MB/MB2WC() to be consistent with From/ToWChar(); fix off by NUL-length bug in wxMBConv implementation of From/ToWChar() in terms of legacy WC2MB/MB2WC() (which are still used in wxMBConv_wxwin) that this uncovered; added a simple test for the bugs the old code resulted in which could be easily seen with wxConvISO8859_1 (see #9739)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54646
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 15 Jul 2008 21:28:12 +0000 (21:28 +0000)]
Fixed wxTreebook tree control style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 18:00:49 +0000 (18:00 +0000)]
use CPPUNIT_ASSERT_EQUAL(x,y) instead of CPPUNIT_ASSERT(x==y) to better see test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 17:38:03 +0000 (17:38 +0000)]
use CPPUNIT_ASSERT_EQUAL(x,y) instead of CPPUNIT_ASSERT(x==y) to better see test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 17:31:40 +0000 (17:31 +0000)]
test ok in the record reading loop as otherwise we never exit from it if there is an invalid character in the record
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 16:09:00 +0000 (16:09 +0000)]
remove wxCSConv::MB2WC/WC2MB, implement Latin-1 fallback conversion in To/FromWChar() themselves; this is more efficient and removing the old code fixes off by 1 bugs in it (related to #9739)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 15:22:23 +0000 (15:22 +0000)]
don't pass pointers to unaligned DWORDs to avoid 64 bit build problems (#9726)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 14:36:28 +0000 (14:36 +0000)]
fix changing size of merged cells (#9736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 15 Jul 2008 13:50:37 +0000 (13:50 +0000)]
don't mention deprecated wxRESIZE_BOX (#9735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 14 Jul 2008 21:13:35 +0000 (21:13 +0000)]
compilation fix after SetClippingRegion changes (patch #9696 by Anders Larsen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 21:01:41 +0000 (21:01 +0000)]
only initialize sockets if IPC implementation is socket-based
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54620
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 15:12:58 +0000 (15:12 +0000)]
PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 02:34:29 +0000 (02:34 +0000)]
fix heap corruption bug: use delete[] to delete a buffer allocated with new[], not delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54615
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 02:19:34 +0000 (02:19 +0000)]
added a simple IPC unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54614
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 02:04:28 +0000 (02:04 +0000)]
relay out the control after deleting any page, not just the last one (#9684); also extract the size event sending code in a separate function to be able to replace it with something better easier later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54613
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 02:03:57 +0000 (02:03 +0000)]
calling Notify() from child thread is ok -- as long as you do it from one and the same thread all the time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54612
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 14 Jul 2008 01:20:33 +0000 (01:20 +0000)]
removed automatically generated code for frame layout with human-readable version; some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54611
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 18:20:06 +0000 (18:20 +0000)]
define {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compatibility with std::pair, we can avoid #ifdefs in the code using the hash then (#9725)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54609
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 18:16:38 +0000 (18:16 +0000)]
set wxKeyEvent::m_uniChar correctly in the events generated by generic wxListCtrl (#4581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54608
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 18:06:50 +0000 (18:06 +0000)]
added wxFlexGridSizer::Add{Row,Col}Growable() (#2603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54607
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 18:02:38 +0000 (18:02 +0000)]
mention that GetItemRect() is new in 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54606
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 18:01:12 +0000 (18:01 +0000)]
relay out the control after deleting any page, not just the last one (#9684); also extract the size event sending code in a separate function to be able to replace it with something better easier later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54605
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 17:52:52 +0000 (17:52 +0000)]
don't assert when GetSubItemRect() is called in non-report view if it's called with wxLIST_GETSUBITEMRECT_WHOLEITEM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54604
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 17:34:56 +0000 (17:34 +0000)]
add back parameter dropped during Doxygen conversion (#9697)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54603
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 17:31:41 +0000 (17:31 +0000)]
correct wrong example of using wxSizerFlags::Border() (#9699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54602
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 17:28:31 +0000 (17:28 +0000)]
added wxVListBox::GetItemRect() (#9711)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54601
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 16:33:19 +0000 (16:33 +0000)]
use wxString::Format() instead of hardcoding floating point numbers string representation, this doesn't work in locales using decimal comma (#9714)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54600
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 13 Jul 2008 16:29:57 +0000 (16:29 +0000)]
more compilation fixes for wxUSE_STL && wxUSE_DEBUG_CONTEXT build (#9698)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54599
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sun, 13 Jul 2008 12:13:38 +0000 (12:13 +0000)]
Shift+Return now puts the cursor on the next line
Fixed GetContiguousPlainText bug that caused wrapping problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54598
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:43:19 +0000 (02:43 +0000)]
run tests several times with different socket flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54593
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:30:06 +0000 (02:30 +0000)]
check that the stream raises no error other than EOF when it's supposed to be at EOF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54592
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:29:42 +0000 (02:29 +0000)]
enable the rest of wxSocketStream tests now that they pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54591
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:28:12 +0000 (02:28 +0000)]
add wxSocket::IsClosed(), use it to implement Eof() in wxSocketStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54590
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:17:11 +0000 (02:17 +0000)]
no changes, just removed broken #if 0'd out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54588
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:12:58 +0000 (02:12 +0000)]
no changes, just removed the unnecessary inline keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54587
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 12 Jul 2008 02:01:55 +0000 (02:01 +0000)]
remove unused private wxSocketBase::m_lastError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54585
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 10 Jul 2008 02:28:06 +0000 (02:28 +0000)]
ShouldAccountFor was a 2.8 only change. Use IsShown instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54574
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 10 Jul 2008 02:07:44 +0000 (02:07 +0000)]
make wxApp::Yield() exception-safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54573
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 10 Jul 2008 01:32:06 +0000 (01:32 +0000)]
If an item is hidden, don't check it for overflows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54567
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 9 Jul 2008 23:05:18 +0000 (23:05 +0000)]
use iterators instead of c_str() in wxXmlResource::GetText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54566
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Wed, 9 Jul 2008 17:24:48 +0000 (17:24 +0000)]
Applied fix for wxGrid::ClearAttrCache (#9712).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54564
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 14:02:19 +0000 (14:02 +0000)]
unescape the value of wxHyperlinkCtrl label (#9683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54563
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 9 Jul 2008 06:49:50 +0000 (06:49 +0000)]
adjusting endif comment to new #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54562
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:40:30 +0000 (02:40 +0000)]
some blind compilation fixes for legacy code (#9698)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54560
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:36:00 +0000 (02:36 +0000)]
fix wxUniv/MSW build with wxUSE_MENUS==0 (#9694)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54559
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:32:16 +0000 (02:32 +0000)]
show busy cursor in wxLaunchDefaultBrowser and add a new flag to avoid it (#9678)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54558
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:18:35 +0000 (02:18 +0000)]
update the year in wx information dialog (#9701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54557
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:16:49 +0000 (02:16 +0000)]
add some output stream tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54556
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:16:27 +0000 (02:16 +0000)]
skip calls of TellI/TellO() if the stream is not seekable; more const-correctness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54555
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 9 Jul 2008 02:05:11 +0000 (02:05 +0000)]
use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54554
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 9 Jul 2008 01:37:32 +0000 (01:37 +0000)]
Applied patch from Ticket #9563. Use just the rectangle of the widget with the focus when deciding if scrolling is needed, instead of the rect of the parent of the widget/child of the target window. This fixes some flickering when a panel of widgets is used inside the scrolled window, and also a total lack of scrolling if the focused widget is out of view but the upper-left corner of the panel is in view.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54552
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2008 00:49:30 +0000 (00:49 +0000)]
MSW compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54543
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 8 Jul 2008 00:19:54 +0000 (00:19 +0000)]
added (for now trivial) socket stream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54542
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 7 Jul 2008 20:21:38 +0000 (20:21 +0000)]
Minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54541
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Mon, 7 Jul 2008 16:00:41 +0000 (16:00 +0000)]
gtk-universal build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54523
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775