Commit Graph

44621 Commits

Author SHA1 Message Date
Vadim Zeitlin
9cd28f4815 allow creating items without parent menus (#3425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 14:47:40 +00:00
Vadim Zeitlin
dc28b8564e allow wxDialog::ShowModal() after Show() (see #1416, #4658, #4664)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 14:40:25 +00:00
Robert Roebling
809ca837f6 Minor patch for state icons patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 14:39:04 +00:00
Vadim Zeitlin
8ad8921102 review the header after the conversion and restore parts dropped by the script; document automatic icon style deduction (#2897)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 23:05:38 +00:00
Vadim Zeitlin
edc5134402 initialize wx{Client,Paint,Window}DC with fonts/colours of its window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:17:00 +00:00
Vadim Zeitlin
9928536b3a remove Create{Window,Client,Paint}DC() methods without window parameter -- they don't make sense as these DCs must always be associated with a window and are unusable if created without it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:05:45 +00:00
Vadim Zeitlin
0f5a779f12 don't allow editing listbox entries; better handling of scrollbar styles (#9084)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:59:26 +00:00
Vadim Zeitlin
4e2a377838 assert if ShowModal() is called after a previous Show() (#1416)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:51:42 +00:00
Vadim Zeitlin
d317fdebc3 add wxShowEvent::IsShown() and wxIconizeEvent::IsIconized() instead of (now deprecated) GetShow() and Iconized() respectively (#978)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:17:13 +00:00
Vadim Zeitlin
48e487e37f compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:13:07 +00:00
Vadim Zeitlin
1a9a6eed36 disable report view mode under Mac as it hangs the native wxListCtrl implementation (continuation of #9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:10:52 +00:00
Vadim Zeitlin
8ca1b2c502 use the real clipping region and not just its bounding box in :DoDrawBitmap() (#9597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:50:58 +00:00
Vadim Zeitlin
624f82cc94 implement wxWinINetInputStream::GetSize() (#9600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:42:20 +00:00
Vadim Zeitlin
a30e702974 added wxGenericStaticBitmap (#9608)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Robert Roebling
e98c065545 Use wxMenuBase:SendEvent() to emit event, shoudl also fix #801: Menu cmd events: Inconsistent GetEventObject()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:03:44 +00:00
Bryan Petty
57b2bba406 Leftover changes for sample doc improvements in ticket #9582 (most of the patch was applied already in r54310).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 06:13:20 +00:00
Bryan Petty
9602ce3d8c Minor doc corrections for [q-r] in ticket #9581 (most of the patch was applied already in r54308).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 05:53:53 +00:00
Bryan Petty
5d4cca7f4b Patch from Utensil Candel with large improvements to the samples documentation, and a PCH fix for the power sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 05:10:40 +00:00
Bryan Petty
3e6f95dcfd Documentation corrections for /interface/log.h (#9583)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 03:33:31 +00:00
Bryan Petty
bbc5b7f897 Finished initial review of [q-r] by Utensil Candel also making the enumeration lists more readable (one per line).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 02:38:44 +00:00
Paul Cornett
b8c57d7f0e don't include private header in a sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 16:57:51 +00:00
Vadim Zeitlin
f96f6a880c don't pass negative height to wxWindow::SetSize(), this results in GTK+ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 14:41:24 +00:00
Robert Roebling
2038c5e2cb Balance table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 10:27:25 +00:00
Jouk Jansen
eae6032da6 OpenVMS setup update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 10:19:04 +00:00
Robert Roebling
8becd062e1 minor formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:55:51 +00:00
Robert Roebling
223255fd44 Add missing SWAP macros for 64-bit signed int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:22:45 +00:00
Robert Roebling
6695f8f826 Give spin button the same height as the associated text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:20:55 +00:00
Robert Roebling
177e38e645 Don't let MSW's wxSpinCtrl emit spin up and down events as in the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:17:33 +00:00
Robert Roebling
5bc128d67f Formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 07:58:33 +00:00
Robert Roebling
8b9aed29b7 Formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 07:43:26 +00:00
Robert Roebling
bb3e552672 Missing and Moved Paragraphs in \interface\thread.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-19 19:02:42 +00:00
Vadim Zeitlin
02dddcf7ef document GetValue() behaviour when called from an event handler processing change in the controls value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-19 15:46:43 +00:00
Michael Wetherell
d986d2e88d New dev.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-19 08:47:33 +00:00
Stefan Neis
96ca74cdda Cleaned up/Fixed wxGrid{Cell,RowOrCol}AttrData::SetAttr, adding some comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-18 11:24:34 +00:00
Vadim Zeitlin
bc735a68b1 declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:28:26 +00:00
Vadim Zeitlin
bb573115a9 fix compilation of TestRegConfRead()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:12:18 +00:00
Vadim Zeitlin
dd740d86ce don't recreate combobox with proportion of 1 (instead of initial 0) (#9594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 23:09:55 +00:00
Robert Roebling
03966fcb3f #9591: Item state (icons) for wxTreeCtrl on any platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 17:50:40 +00:00
Robert Roebling
3f16e52c13 Ticket #9592: gtk-choice-setcolumns.2.diff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 13:32:43 +00:00
Václav Slavík
82824b7322 added a note about print preview inaccurancies and recommendation to use native preview when possible to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:45:39 +00:00
Václav Slavík
25a3fca2e5 Implemented high-quality preview for wxMSW (this approach doesn't work
on other platforms). The preview is now accurate representation of printed
page and wxHtmlEasyPrinting preview shows identical layout to what will
be printed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:41:51 +00:00
Václav Slavík
9f7e7edb78 fixed SetUserScale() calls to use correct scale on Y axis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:10:06 +00:00
Václav Slavík
88b987876d fixed printing preview to not report errors in infinite loop (bug introduced by r54133)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 07:43:59 +00:00
Stefan Csomor
6e615e25fa new path organisation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 05:13:09 +00:00
Stefan Csomor
d47939d60c new path organisation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 05:12:03 +00:00
Vadim Zeitlin
fafb2b0531 overload Write() for char and unsigned char too, otherwise code writing them fails due to lack of exact match and absence of overloaded wxToString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 23:38:11 +00:00
Vadim Zeitlin
1530fc0958 regenerate the makefiles with correct new test name (iostreams.cpp, iostream.cpp is already taken by strings test)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 18:02:23 +00:00
Vadim Zeitlin
02e22828eb added a unit test for input/output file streams and fixed the problem it exposed (#3335)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:34:50 +00:00
Stefan Neis
d1b021ffb9 Fixed problems with reassigning the already assigned attribute, see #9567.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:24:22 +00:00
Stefan Neis
711335e205 Fixed wxDoSetEnv (ticket # 9588).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 16:42:20 +00:00