Commit Graph

44707 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
fafd43c578 another 64 bit fix: make SendMsg() return wxIntPtr instead of long too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:17:35 +00:00
Vadim Zeitlin
47bec43d70 correct wxIntPtr definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:16:59 +00:00
Stefan Neis
6fb1c1cbcf Added missing screen update on deselection in wxGrid (ticket #4212, part1).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:11:17 +00:00
Vadim Zeitlin
b796ba3931 fixed STC under Win64: as wxStyledTextCtrl::SendMsg() used (32 bit) long arguments, passing (64 bit) pointers to it almost certainly didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:56:59 +00:00
Michael Wetherell
88e4e082bf Add utils and tests to OS/2 builds, #9587 from Dave Parsons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:50:15 +00:00
Václav Slavík
e75c685a46 revert part of r54233 that was included by accident
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:15:44 +00:00
Václav Slavík
bce82a758f if gdiplus.dll cannot be loaded, return NULL from wxGraphicsContext::Create() instead of silently pretending to render the output, but do nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:14:32 +00:00
Stefan Neis
7d2c43731b Applied ticket #1230 (patch to SetColFormatCustom), setting both editor and
renderer when selecting a specific format instead of just the renderer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 12:42:36 +00:00
Vadim Zeitlin
949750de63 fix off by 1 error in GetTextRaw() (#4317)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 12:08:52 +00:00
Vadim Zeitlin
0c9a798547 fix crash when copying empty selection to clipboard (#4783)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:45:05 +00:00
Vadim Zeitlin
609577038a ignore mouse wheel events which are coming too fast to be processed (#9057)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:31:31 +00:00
Vadim Zeitlin
4b962ba1e0 fix overview links and various Doxygen errors (#9580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 01:18:46 +00:00
Vadim Zeitlin
9357892714 derive wxSTC from wxTextEntryBase to provide even more wxTextCtrl-like methods (see #9114)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 01:16:52 +00:00
Vadim Zeitlin
2bfca191bf derive wxSTC from wxTextAreaBase to provide wxTextCtrl-like methods (see #9114)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 00:59:38 +00:00