Commit Graph

44837 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
02aa9504bc 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
2008-07-05 20:53:27 +00:00
Vadim Zeitlin
a6ac49b198 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
2008-07-05 20:51:16 +00:00
Václav Slavík
2587df2c82 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
2008-07-05 19:06:06 +00:00
Stefan Neis
2ac47b9e4b Added missing include (#9625).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:14 +00:00
Paul Cornett
bbe28fbb83 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
2008-07-05 18:23:01 +00:00
Stefan Neis
0d65494402 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
2008-07-05 18:05:33 +00:00
Robert Roebling
961d941c0d Remove 2_6 compatibility code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 10:58:38 +00:00
Robert Roebling
dc874fb4ce Use t_str() instead of c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 14:05:16 +00:00
Robert Roebling
90ae878ffc 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
2008-07-04 08:02:33 +00:00
Robert Roebling
6ad68ad8c8 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
2008-07-04 07:56:32 +00:00
Robert Roebling
c6867dcd51 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
2008-07-03 20:34:51 +00:00
Vadim Zeitlin
fe048d7736 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
2008-07-03 16:04:48 +00:00
Vadim Zeitlin
67cb1dfa7f 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
2008-07-03 15:42:18 +00:00
Vadim Zeitlin
8a3608697f 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
2008-07-03 15:37:35 +00:00
Robert Roebling
afe442339e wxMac wxDataViewCtrl no border patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 14:29:16 +00:00
Robert Roebling
6307d716cf further xxx_str() clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 13:44:55 +00:00
Robert Roebling
b2ceedadb1 Corrected c_str() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 12:13:40 +00:00
Vadim Zeitlin
6bfc18d016 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
2008-07-02 14:45:57 +00:00
Robert Roebling
1975440bf7 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
2008-07-02 10:46:16 +00:00
Robert Roebling
937fc7dbea Tried to make wxListBox::Update() work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 08:15:28 +00:00
Robert Roebling
ac66fda2c7 #9675: wxDataViewModel::Reset() and scrollbar problem (wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 08:10:58 +00:00