Commit Graph

46616 Commits

Author SHA1 Message Date
Jaakko Salli
91c818f829 Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-20 15:47:05 +00:00
Robert Roebling
a881f34e49 Call Expand on an item's parent chain in EnsureVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-20 15:11:38 +00:00
Robert Roebling
4a745e76b1 Fixes #10288: wxDataViewCtrl missing selection change event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 17:26:29 +00:00
Chris Elliott
2af62e6641 add missing header to dfb
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 16:46:26 +00:00
Robert Roebling
76c13f8f22 Implemented wxBitmapToggleButton generically for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 16:04:31 +00:00
Robert Roebling
dc61b49e6a wxImage::ConvertToBitmap() doesn't exist anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 15:43:17 +00:00
Robert Roebling
98b2861b5d Mention wxRearrangeCtrl, wxFileCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 13:57:17 +00:00
Jouk Jansen
1fb424fa33 Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 13:36:33 +00:00
Vadim Zeitlin
014b109195 define USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 09:58:49 +00:00
Jouk Jansen
69fb2f9749 Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 09:45:15 +00:00
Robert Roebling
f95032cab9 Correct AssignTempFile docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-18 21:26:34 +00:00
Robert Roebling
5fb2ea66c6 Added missing g to file name of headerctrlg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-18 20:27:05 +00:00
Robert Roebling
13499080f0 Recalculate display (and scrollbars etc) before calling EnsureVisible()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-18 16:38:23 +00:00
Robert Roebling
673453e26a Minor stream class changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 22:42:05 +00:00
Robert Roebling
10ab6d4f65 Correct wxDataViewCtrl::IsExpanded and add test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 22:26:40 +00:00
Vadim Zeitlin
5a9379d7b0 implement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 22:19:41 +00:00
Vadim Zeitlin
834c8ade28 VC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 15:22:16 +00:00
Vadim Zeitlin
888e963843 don't scroll to the child which gets focus if it is already fully visible; more importantly, don't do anything if we can't make it fully visible anyhow (fixes bug in the comment 13 of #9563)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 14:46:09 +00:00
Chris Elliott
824eec7e59 add u to file and lib path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 14:34:11 +00:00
Chris Elliott
fd5ed78ca0 cast both ints to doubles for the X and Y scale factors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 14:21:57 +00:00
Vadim Zeitlin
c9c023ddeb use GetFileAttributes() to check for readonly files under Win9x, the NT method doesn't seem to work there (see #4111)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 14:19:43 +00:00
Vadim Zeitlin
627e6ccd2c another header for PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 13:25:36 +00:00
Vadim Zeitlin
d169fa6aef fix unused variable warning in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:30:31 +00:00
Vadim Zeitlin
3a492e5c91 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:29:36 +00:00
Vadim Zeitlin
62a6f21a9a fix WinCE compilation: it doesn't know about SW_SHOWDEFAULT (#10216)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 10:21:05 +00:00
Vadim Zeitlin
c0a91b519d don't hard code the menu bar height under WinCE (closes #10248)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 10:17:23 +00:00
Vadim Zeitlin
64accea5fa added .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:49:42 +00:00
Vadim Zeitlin
6124b13407 replace CPPUNIT_ASSERTs with CPPUNIT_ASSERT_EQUALs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:47:39 +00:00
Vadim Zeitlin
cece89a494 don't crash if the extra controls are not used in the file dialog (closes #10260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:40:40 +00:00
Vadim Zeitlin
90dea0376a don't change the value of the hash element if insert() didn't add it (closes #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:34:48 +00:00
Chris Elliott
5953e7c7d6 fix for Borland compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:26:58 +00:00
Vadim Zeitlin
69e037ac39 many improvements and corrections from Charles (see #10276)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:03:50 +00:00
Vadim Zeitlin
1d9301a914 PCH-less build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 08:47:30 +00:00
Vadim Zeitlin
482d06f8b5 made wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 00:11:57 +00:00
Vadim Zeitlin
af67f39da8 added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 23:56:56 +00:00
Robert Roebling
74a98b9938 Fixes #10246: wxDataViewCtrl - first row does not react on return-key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 22:02:40 +00:00
Robert Roebling
5179bc0bca Fixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 21:57:40 +00:00
Chris Elliott
ddabd45b61 same as r57054 in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 21:46:21 +00:00
Chris Elliott
053025ac94 same as r57053 in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 21:26:55 +00:00
Robert Roebling
739a839903 Added wxDataViewCtrl::IsExpanded(item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 21:23:55 +00:00
Francesco Montorsi
4ce846b17c typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 20:42:12 +00:00
Francesco Montorsi
9eab0f6c3a don't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 19:44:49 +00:00
Vadim Zeitlin
31ec8b4e15 added wxGrid::SetColumnsOrder() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 15:53:38 +00:00
Robert Roebling
5801b3ec87 Mention header control in Category page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 15:27:04 +00:00
Vadim Zeitlin
92dbce737d mention that mouse events carry position in window coordinates of the window which generated the event (#10274)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 14:52:29 +00:00
Vadim Zeitlin
f022dc238a fix initial best size of (check) list boxes under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 13:59:04 +00:00
Bryan Petty
d9a092733d Moved wxWeakRef template docs from the misc category to the smart pointers category.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 07:15:44 +00:00
Vadim Zeitlin
a1e62aaaa6 the dialogs documented here are defined in wxcore, not wxbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 22:54:29 +00:00
Vadim Zeitlin
613de0e89e handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived class must implement UpdateColumnVisibility()); also renamed wxHD_DRAGDROP to wxHD_ALLOW_REORDER as it will be possible to reorder columns interactively using a customization dialog and not just by dragging them soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 22:42:37 +00:00
Bryan Petty
c2ee27612a Fixed the incorrectly placed parenthesis so ScrollWindow is always called if there are window children.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 19:14:07 +00:00