]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agoproperly detect missing data at the end of UTF-7-encoded segment and fail the convers...
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

16 years agoCP-xxx and MS-yyy iconv identifiers actually don't have dashes in them (this fixes...
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

16 years agoemphasize the fact that GetSelectedCols/Rows() is not sufficient to get the selection...
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

16 years agoallow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
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

16 years agoadd GetLo/Hi() test
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

16 years agoadding missing include for non-precomp builds, and grouping headers, solves #9744
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

16 years ago_beginthreadex() entry point should really return unsigned and not wxUIntPtr even...
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

16 years agocheck for comctl32.dll version and not OS one as an app running XP without manifest...
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

16 years agouse parent background and not ours unless one was explicitly set when manually drawin...
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

16 years agoclean up wxBitmapButton::Create(); override MSWGetStyle() (#4804)
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

16 years agouse wxCmdLineParser::ConverStringToArgs() instead of (incorrectly) duplicating it...
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

16 years agoimplement flag for Unix-like behaviour in wxCmdLineParser::ConverStringToArgs()
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

16 years agoadded wxConvISO8859_1 test
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

16 years agofix the output length returned from cWC2MB/MB2WC() to be consistent with From/ToWChar...
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

16 years agoFixed wxTreebook tree control style
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

16 years agouse CPPUNIT_ASSERT_EQUAL(x,y) instead of CPPUNIT_ASSERT(x==y) to better see test...
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

16 years agouse CPPUNIT_ASSERT_EQUAL(x,y) instead of CPPUNIT_ASSERT(x==y) to better see test...
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

16 years agotest ok in the record reading loop as otherwise we never exit from it if there is...
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

16 years agoremove wxCSConv::MB2WC/WC2MB, implement Latin-1 fallback conversion in To/FromWChar...
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

16 years agodon't pass pointers to unaligned DWORDs to avoid 64 bit build problems (#9726)
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

16 years agofix changing size of merged cells (#9736)
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

16 years agodon't mention deprecated wxRESIZE_BOX (#9735)
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

16 years agocompilation fix after SetClippingRegion changes (patch #9696 by Anders Larsen)
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

16 years agoonly initialize sockets if IPC implementation is socket-based
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

16 years agoPCH-less build fix
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

16 years agofix heap corruption bug: use delete[] to delete a buffer allocated with new[], not...
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

16 years agoadded a simple IPC unit test
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

16 years agorelay out the control after deleting any page, not just the last one (#9684); also...
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

16 years agocalling Notify() from child thread is ok -- as long as you do it from one and the...
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

16 years agoremoved automatically generated code for frame layout with human-readable version...
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

16 years agodefine {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compati...
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

16 years agoset wxKeyEvent::m_uniChar correctly in the events generated by generic wxListCtrl...
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

16 years agoadded wxFlexGridSizer::Add{Row,Col}Growable() (#2603)
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

16 years agomention that GetItemRect() is new in 2.9.0
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

16 years agorelay out the control after deleting any page, not just the last one (#9684); also...
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

16 years agodon't assert when GetSubItemRect() is called in non-report view if it's called with...
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

16 years agoadd back parameter dropped during Doxygen conversion (#9697)
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

16 years agocorrect wrong example of using wxSizerFlags::Border() (#9699)
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

16 years agoadded wxVListBox::GetItemRect() (#9711)
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

16 years agouse wxString::Format() instead of hardcoding floating point numbers string representa...
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

16 years agomore compilation fixes for wxUSE_STL && wxUSE_DEBUG_CONTEXT build (#9698)
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

16 years agoShift+Return now puts the cursor on the next line
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

16 years agorun tests several times with different socket flags
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

16 years agocheck that the stream raises no error other than EOF when it's supposed to be at EOF
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

16 years agoenable the rest of wxSocketStream tests now that they pass
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

16 years agoadd wxSocket::IsClosed(), use it to implement Eof() in wxSocketStream
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

16 years agono changes, just removed broken #if 0'd out code
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

16 years agono changes, just removed the unnecessary inline keywords
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

16 years agoremove unused private wxSocketBase::m_lastError
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

16 years agoShouldAccountFor was a 2.8 only change. Use IsShown instead.
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

16 years agomake wxApp::Yield() exception-safe
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

16 years agoIf an item is hidden, don't check it for overflows.
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

16 years agouse iterators instead of c_str() in wxXmlResource::GetText()
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

16 years agoApplied fix for wxGrid::ClearAttrCache (#9712).
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

16 years agounescape the value of wxHyperlinkCtrl label (#9683)
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

16 years agoadjusting endif comment to new #if
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

16 years agosome blind compilation fixes for legacy code (#9698)
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

16 years agofix wxUniv/MSW build with wxUSE_MENUS==0 (#9694)
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

16 years agoshow busy cursor in wxLaunchDefaultBrowser and add a new flag to avoid it (#9678)
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

16 years agoupdate the year in wx information dialog (#9701)
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

16 years agoadd some output stream tests
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

16 years agoskip calls of TellI/TellO() if the stream is not seekable; more const-correctness
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

16 years agouse wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup()
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

16 years agoApplied patch from Ticket #9563. Use just the rectangle of the widget with the focus...
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

16 years agoMSW compilation fix after last commit
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

16 years agoadded (for now trivial) socket stream test
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

16 years agoMinor corrections
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

16 years agogtk-universal build fixes
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

16 years agomake sure mac pref files remain visible and named as before
Stefan Csomor [Mon, 7 Jul 2008 13:17:29 +0000 (13:17 +0000)] 
make sure mac pref files remain visible and named as before

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix focus problems in picker controls under MSW which were due to not letting the...
Vadim Zeitlin [Sun, 6 Jul 2008 23:57:23 +0000 (23:57 +0000)] 
fix focus problems in picker controls under MSW which were due to not letting the system process kill focus for the text part of the control (#9687)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agowxString doc corrections
Robert Roebling [Sun, 6 Jul 2008 18:34:50 +0000 (18:34 +0000)] 
wxString doc corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMake AutoSizing in wxGrid's SetCol/RowSize work and use it from corresponding
Stefan Neis [Sun, 6 Jul 2008 16:30:51 +0000 (16:30 +0000)] 
Make AutoSizing in wxGrid's SetCol/RowSize work and use it from corresponding
        AutoSize functions. This fixes #4107.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxscintilla and wx_stc projects (#4378)
Vadim Zeitlin [Sun, 6 Jul 2008 13:40:22 +0000 (13:40 +0000)] 
added wxscintilla and wx_stc projects (#4378)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agotake const address objects in wxSocketClient::Connect() and wxSocketBase::SetLocal()
Vadim Zeitlin [Sun, 6 Jul 2008 02:21:39 +0000 (02:21 +0000)] 
take const address objects in wxSocketClient::Connect() and wxSocketBase::SetLocal()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd a numeric column test
Vadim Zeitlin [Sun, 6 Jul 2008 02:20:21 +0000 (02:20 +0000)] 
add a numeric column test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove mentions of pos attribute, it never worked and it's time to remove it
Vadim Zeitlin [Sun, 6 Jul 2008 00:26:51 +0000 (00:26 +0000)] 
remove mentions of pos attribute, it never worked and it's time to remove it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't use deprecated wxToolBar::AddTool() overload taking position parameters which...
Vadim Zeitlin [Sun, 6 Jul 2008 00:25:33 +0000 (00:25 +0000)] 
don't use deprecated wxToolBar::AddTool() overload taking position parameters which don't do anything anyhow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove code for drawing icon of minimized window manually, this was only useful under...
Vadim Zeitlin [Sat, 5 Jul 2008 20:53:27 +0000 (20:53 +0000)] 
remove code for drawing icon of minimized window manually, this was only useful under NT 3.51 and earlier among all Win32 systems and I don't think we support that any more

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoavoid duplicating wxWindow::HandleCommand() in wxFrame, only handle the commands...
Vadim Zeitlin [Sat, 5 Jul 2008 20:51:16 +0000 (20:51 +0000)] 
avoid duplicating wxWindow::HandleCommand() in wxFrame, only handle the commands for the frame menu bar elements there: this avoid generating duplicate events if a command event handler skips

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreverted Robert's premature removal of deprecated 2.6 functions in r54490
Václav Slavík [Sat, 5 Jul 2008 19:06:06 +0000 (19:06 +0000)] 
reverted Robert's premature removal of deprecated 2.6 functions in r54490

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdded missing include (#9625).
Stefan Neis [Sat, 5 Jul 2008 18:23:14 +0000 (18:23 +0000)] 
Added missing include (#9625).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomark long-deprecated methods as such, and don't use them in wx code
Paul Cornett [Sat, 5 Jul 2008 18:23:01 +0000 (18:23 +0000)] 
mark long-deprecated methods as such, and don't use them in wx code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoExperimental simplification of the code by using MWERKS version
Stefan Neis [Sat, 5 Jul 2008 18:05:33 +0000 (18:05 +0000)] 
Experimental simplification of the code by using MWERKS version
        for all compilers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoRemove 2_6 compatibility code
Robert Roebling [Sat, 5 Jul 2008 10:58:38 +0000 (10:58 +0000)] 
Remove 2_6 compatibility code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoUse t_str() instead of c_str()
Robert Roebling [Fri, 4 Jul 2008 14:05:16 +0000 (14:05 +0000)] 
Use t_str() instead of c_str()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years ago Ticket #9689 (new defect)
Robert Roebling [Fri, 4 Jul 2008 08:02:33 +0000 (08:02 +0000)] 
 Ticket #9689 (new defect)

Opened 33 hours ago
Documentation Corrections for \interface\wx\notebook.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxString.t_str() and used it in filefn.cpp
Robert Roebling [Fri, 4 Jul 2008 07:56:32 +0000 (07:56 +0000)] 
added wxString.t_str() and used it in filefn.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMake wxMSW wxBase compile in UTF-8 mode
Robert Roebling [Thu, 3 Jul 2008 20:34:51 +0000 (20:34 +0000)] 
Make wxMSW wxBase compile in UTF-8 mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agohandle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFil...
Vadim Zeitlin [Thu, 3 Jul 2008 16:04:48 +0000 (16:04 +0000)] 
handle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFileDialog (#9688)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agosupport disabling items before adding them to the menu (#3423)
Vadim Zeitlin [Thu, 3 Jul 2008 15:42:18 +0000 (15:42 +0000)] 
support disabling items before adding them to the menu (#3423)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't ignore changes of empty string to 0 or vice versa in float grid cells (#2802)
Vadim Zeitlin [Thu, 3 Jul 2008 15:37:35 +0000 (15:37 +0000)] 
don't ignore changes of empty string to 0 or vice versa in float grid cells (#2802)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agowxMac wxDataViewCtrl no border patch
Robert Roebling [Thu, 3 Jul 2008 14:29:16 +0000 (14:29 +0000)] 
wxMac wxDataViewCtrl no border patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofurther xxx_str() clarification
Robert Roebling [Thu, 3 Jul 2008 13:44:55 +0000 (13:44 +0000)] 
further xxx_str() clarification

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoCorrected c_str() docs
Robert Roebling [Thu, 3 Jul 2008 12:13:40 +0000 (12:13 +0000)] 
Corrected c_str() docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't use @true and @NULL inside of @code sections
Vadim Zeitlin [Wed, 2 Jul 2008 14:45:57 +0000 (14:45 +0000)] 
don't use @true and @NULL inside of @code sections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoTried to make wxListBox::Update() work, typo corrected
Robert Roebling [Wed, 2 Jul 2008 10:46:16 +0000 (10:46 +0000)] 
Tried to make wxListBox::Update() work, typo corrected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoTried to make wxListBox::Update() work
Robert Roebling [Wed, 2 Jul 2008 08:15:28 +0000 (08:15 +0000)] 
Tried to make wxListBox::Update() work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years ago#9675: wxDataViewModel::Reset() and scrollbar problem (wxMac)
Robert Roebling [Wed, 2 Jul 2008 08:10:58 +0000 (08:10 +0000)] 
#9675: wxDataViewModel::Reset() and scrollbar problem (wxMac)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for PCH-less build after last commit
Vadim Zeitlin [Tue, 1 Jul 2008 16:09:44 +0000 (16:09 +0000)] 
compilation fix for PCH-less build after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agochange not only the focus but also last remembered TLW focus in SetValue() to avoid...
Vadim Zeitlin [Tue, 1 Jul 2008 15:49:44 +0000 (15:49 +0000)] 
change not only the focus but also last remembered TLW focus in SetValue() to avoid focus being reset to the wrong radio button when TLW regains activation (#9676)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775