Commit Graph

46808 Commits

Author SHA1 Message Date
Vadim Zeitlin
2ffeccb3b7 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 15:27:00 +00:00
Vadim Zeitlin
e9bef30205 customize the rearrange dialog even more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:39:38 +00:00
Vadim Zeitlin
5a5f305a0f make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:26:52 +00:00
Vadim Zeitlin
5b8b2c84f7 added SetLabelText() and EscapeMnemonics()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:14:07 +00:00
Vadim Zeitlin
ae7e6cc946 added default ctor and Create() to wxRearrangeDialog for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 13:27:28 +00:00
Francesco Montorsi
a37d94d3e1 build fix for wxMSW statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 13:08:12 +00:00
Francesco Montorsi
7b6fefbed1 get rid of the wxListString class in wxStatusBar code; introduce a wxStatusBarPane class which enormously simplifies the code handling stacks/widths/styles of panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 12:28:05 +00:00
Vadim Zeitlin
6f97a0d599 compilation fix for LoadFile(name, type) calls which became ambiguous after the base class LoadFile() unhiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 11:50:05 +00:00
Francesco Montorsi
c0c5bfad17 document wxEVT_NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 23:56:04 +00:00
Vadim Zeitlin
169f96cdf7 include errno.h for ENOMEM (closes #10309)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 23:30:09 +00:00
Vadim Zeitlin
ddd0db9619 extract AddColumnsItems() from ShowColumnsMenu() to make it possible to reuse it in custom menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 23:19:06 +00:00
Francesco Montorsi
30767dfe33 fix documentation for wxList and wxNode; doxygen see them as templates and the @class command confuses it; add link to C++ std::list docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 18:22:24 +00:00
Francesco Montorsi
94802614d1 no real change; make more readable the Aliases section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 18:19:49 +00:00
Vadim Zeitlin
7047d7981f handle exceptions thrown from overridden wxView::OnCreate() gracefully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 16:36:39 +00:00
Vadim Zeitlin
f17632706e handle loss of connection explicitly in Read/Write() to fix socket IO under Unix after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 15:07:04 +00:00
Vadim Zeitlin
f98f168e6c compilation fix for g++ which doesn't like using wxLogMessage in wxON_BLOCK_SCOPE_EXIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 15:06:34 +00:00
Vadim Zeitlin
f539560019 try reading/writing to/from the socket before blocking on it, this seems more efficient and is required to avoid blocking indefinitely under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 14:50:23 +00:00
Vadim Zeitlin
9940bebff4 more doc fixes, to wording and to return types ('&'s have been lost)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 14:49:24 +00:00
Vadim Zeitlin
ee533e88db try to explain socket flags better (although bad ideas don't become good even when explained correctly...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 14:36:07 +00:00
Vadim Zeitlin
1e4080f02e prettify and simplify the URL test; use a URL more likely to run a web server than localhost by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 13:51:02 +00:00
Vadim Zeitlin
1f30c75e44 fix memory leak in URL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 13:18:22 +00:00
Vadim Zeitlin
16685812c1 run wxURL test both with and without the event loop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:53:44 +00:00
Vadim Zeitlin
6799c5e283 added wxURL test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:53:04 +00:00
Vadim Zeitlin
9588640d19 fix handling of errors due to the other end of the socket being closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:52:38 +00:00
Vadim Zeitlin
ac16633fdc don't assert if MsgWaitForMultipleObjects() returns WAIT_OBJECT_0 but there are no messages in the queue -- this does happen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:09:06 +00:00
Vadim Zeitlin
7869000977 don't assert if the socket has been closed since the async notification generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:08:00 +00:00
Vadim Zeitlin
41ce5eff75 fix MSVC warning about possibly uninitialized variable in Ellipsize() (which indicated possibly incorrect usage of this function)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:06:54 +00:00
Vadim Zeitlin
4cb591b9df document Initialize/Shutdown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:45:07 +00:00
Vadim Zeitlin
b67397a779 added wxSocket::ShutdownOutput() (closes #9229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:27:41 +00:00
Vadim Zeitlin
c65f4634bc ensure that WIN32 is defined, winsock2.h relies on it being defined and fails in interesting ways (by silently changing the struct alignment resulting in difficult to diagnose crashes later) if it isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:01:28 +00:00
Vadim Zeitlin
c363ead1e2 remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings about unhandled enum value in switch in existing code (including our own sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 00:11:04 +00:00
Vadim Zeitlin
778f682e4d fix compilation due to the fact that wx/socket.h no longer includes system socket headers and so AF_INET (which we don't need here in the first place) is not defined any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 00:07:48 +00:00
Vadim Zeitlin
07a9d3f946 removed not doing anything and not compiling code from DoAssociation()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 00:01:54 +00:00
Francesco Montorsi
fad92e2f36 no real change; just reordered some implementations before real commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 23:21:13 +00:00
Vadim Zeitlin
e557577d7e mention wxEVT_GRID_CELL_CHANGED-related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 22:05:33 +00:00
Jaakko Salli
a6353fe8f6 Update editor control font centrally, in wxPropertyGrid::RefreshEditor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 17:58:32 +00:00
Francesco Montorsi
2ed73c7363 documented IsExtensionSupported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 16:38:41 +00:00
Francesco Montorsi
538483d8d0 add the HTML string of the selected item to wxSimpleHtmlListBox events (closes #10159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 16:06:53 +00:00
Francesco Montorsi
84094285c5 list also wxSystemOptions next to wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:50:46 +00:00
Francesco Montorsi
ec5984e358 document the wince.dialog.real-ok-cancel option (closes #10242)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:50:27 +00:00
Vadim Zeitlin
1f14508f73 add errno.h to fix Mac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:20:51 +00:00
Francesco Montorsi
f7ae43f080 fix memory leak while testing for correct Clone() implementation (closes #10304)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:16:37 +00:00
Francesco Montorsi
d181e877b0 use a common m_isInsideYield flag instead of static booleans in all ports; add a IsYielding() test which can help to fix unwanted re-entrancies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:03:39 +00:00
Vadim Zeitlin
67badd5753 build fixes for wxUSE_IPV6==1 under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 14:51:49 +00:00
Vadim Zeitlin
c9bccf239c replaced unweildy GAddress functions with wxSockAddressImpl class, similarly to GSocket -> wxSocketImpl transition; share more code between IPv4 and IPv6 branches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 14:35:48 +00:00
Francesco Montorsi
f045c7f52d done various @todo items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 14:14:39 +00:00
Francesco Montorsi
516cf181f8 add the -headerpad_max_install_names option to the screenshotgen utility to fix the buildbot builds on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 12:11:48 +00:00
Francesco Montorsi
02b4f9fd2a PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 10:41:39 +00:00
Francesco Montorsi
8f23c28713 call SetLabel() in Create() in order to run markup/ellipsization-support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 00:39:12 +00:00
Francesco Montorsi
7d27b6263c use correct wxELLIPSIZE_* constants after r57625
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 00:37:50 +00:00