Commit Graph

44758 Commits

Author SHA1 Message Date
Vadim Zeitlin
eaad096e79 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
2008-07-14 02:04:28 +00:00
Vadim Zeitlin
95867b4efc 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
2008-07-14 02:03:57 +00:00
Vadim Zeitlin
589c1174f4 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
2008-07-14 01:20:33 +00:00
Vadim Zeitlin
d7ad5a0289 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
2008-07-13 18:20:06 +00:00
Vadim Zeitlin
101198ba0c 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
2008-07-13 18:16:38 +00:00
Vadim Zeitlin
67ef83eb03 added wxFlexGridSizer::Add{Row,Col}Growable() (#2603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:06:50 +00:00
Vadim Zeitlin
9379b3f68d 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
2008-07-13 18:02:38 +00:00
Vadim Zeitlin
905069b18f 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
2008-07-13 18:01:12 +00:00
Vadim Zeitlin
b8e57034a2 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
2008-07-13 17:52:52 +00:00
Vadim Zeitlin
3a59bd2e78 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
2008-07-13 17:34:56 +00:00
Vadim Zeitlin
d237bb0753 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
2008-07-13 17:31:41 +00:00
Vadim Zeitlin
293b15f78d added wxVListBox::GetItemRect() (#9711)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 17:28:31 +00:00
Vadim Zeitlin
1bf55f4cda 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
2008-07-13 16:33:19 +00:00
Vadim Zeitlin
550cb72bf6 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
2008-07-13 16:29:57 +00:00
Julian Smart
043c0d5843 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
2008-07-13 12:13:38 +00:00
Vadim Zeitlin
e6f688797c 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
2008-07-12 02:43:19 +00:00
Vadim Zeitlin
bf451723ca 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
2008-07-12 02:30:06 +00:00
Vadim Zeitlin
c515e20be4 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
2008-07-12 02:29:42 +00:00
Vadim Zeitlin
c91574928d 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
2008-07-12 02:28:12 +00:00
Vadim Zeitlin
74a50e4923 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
2008-07-12 02:17:11 +00:00
Vadim Zeitlin
dde65a6040 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
2008-07-12 02:12:58 +00:00
Vadim Zeitlin
98f80f2f76 remove unused private wxSocketBase::m_lastError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:01:55 +00:00
Robin Dunn
bbb517666c 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
2008-07-10 02:28:06 +00:00
Vadim Zeitlin
fcf92c3a0d make wxApp::Yield() exception-safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-10 02:07:44 +00:00
Robin Dunn
1eebb103c7 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
2008-07-10 01:32:06 +00:00
Václav Slavík
424af7aabf 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
2008-07-09 23:05:18 +00:00
Stefan Neis
1506cc6641 Applied fix for wxGrid::ClearAttrCache (#9712).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 17:24:48 +00:00
Vadim Zeitlin
9acbe413f9 unescape the value of wxHyperlinkCtrl label (#9683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 14:02:19 +00:00
Stefan Csomor
bba0174ac7 adjusting endif comment to new #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 06:49:50 +00:00
Vadim Zeitlin
aa75d6d98c 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
2008-07-09 02:40:30 +00:00
Vadim Zeitlin
17a043046c 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
2008-07-09 02:36:00 +00:00
Vadim Zeitlin
f75e0c15ae 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
2008-07-09 02:32:16 +00:00
Vadim Zeitlin
dbe44db1e2 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
2008-07-09 02:18:35 +00:00
Vadim Zeitlin
e402863ff6 add some output stream tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:16:49 +00:00
Vadim Zeitlin
8bd966d3cd 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
2008-07-09 02:16:27 +00:00
Vadim Zeitlin
41cef82a0a 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
2008-07-09 02:05:11 +00:00
Robin Dunn
3ec704b422 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
2008-07-09 01:37:32 +00:00
Vadim Zeitlin
6cecf398fb MSW compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-08 00:49:30 +00:00
Vadim Zeitlin
f9caf1af44 added (for now trivial) socket stream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-08 00:19:54 +00:00
Robert Roebling
c73f1b33e8 Minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-07 20:21:38 +00:00
Paul Cornett
b22bb1a015 gtk-universal build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-07 16:00:41 +00:00
Stefan Csomor
0cd1c6e304 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
2008-07-07 13:17:29 +00:00
Vadim Zeitlin
a7b15169f9 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
2008-07-06 23:57:23 +00:00
Robert Roebling
bcc8c9033a wxString doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 18:34:50 +00:00
Stefan Neis
ad7502d861 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
2008-07-06 16:30:51 +00:00
Vadim Zeitlin
285a3726f7 added wxscintilla and wx_stc projects (#4378)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 13:40:22 +00:00
Vadim Zeitlin
72ac4e888a 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
2008-07-06 02:21:39 +00:00
Vadim Zeitlin
4f6c80fecd add a numeric column test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 02:20:21 +00:00
Vadim Zeitlin
a29ab61c56 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
2008-07-06 00:26:51 +00:00
Vadim Zeitlin
e13edb6612 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
2008-07-06 00:25:33 +00:00