Commit Graph

44581 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
13c048017f rebuild files generated by src/stc/gen_iface.py automatically in Unix builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 23:29:45 +00:00
Vadim Zeitlin
a5c2ccf2e7 state clearly that the entire contents of generated files is generated; put special {{{ and }}} markers around the generated sections (these are special and extra-convenient for ViM but can probably be used to at least go to the end/beginning/other extremeity of the generated block from any other decent editor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:33:03 +00:00
Vadim Zeitlin
591e2d8ef9 explicitly check that we're being run from the correct directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:32:48 +00:00
Vadim Zeitlin
06b2f04bb7 remove extra ')' in EVT_STC_CALLTIP_CLICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:09:51 +00:00
Vadim Zeitlin
8e0945dae5 translate Scintilla getters to const methods of wxStyledTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 15:59:07 +00:00
Vadim Zeitlin
7f6cbcead9 fix ANSI mode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:35:28 +00:00
Vadim Zeitlin
bf3bf67786 compilation fix (casts for mb_str() used as argument to printf() and a few others) (#9571)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:27:07 +00:00
Vadim Zeitlin
27608f1130 fix various Doxygen errors (#9568)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:25:11 +00:00
Vadim Zeitlin
e36df6579f fix various Doxygen errors (#9573)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:07:41 +00:00
Vadim Zeitlin
d6d9c22365 change shortcut for "Sort" to Ctrl-T to avoid conflict with another item using Ctrl-S (#9574)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:06:12 +00:00
Vadim Zeitlin
b45506e8e2 fix various Doxygen errors (#9578)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:04:26 +00:00
Vadim Zeitlin
3a38f8c1b6 standard location of env is in /usr/bin, not /bin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 02:53:14 +00:00
Vadim Zeitlin
1917be5936 make the script executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 02:51:55 +00:00
Vadim Zeitlin
17e05a8e88 don't interfere with Scintilla drag-and-drop (#9088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 02:21:55 +00:00
Vadim Zeitlin
6631cbd98e don't compile in wx hash code unless we really use it (#9532:12)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 01:53:29 +00:00
Vadim Zeitlin
82bf63a08c recreate the window if FSAA is requested (changeset_r54022_Fix.patch from #9145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 01:44:13 +00:00
Vadim Zeitlin
b119ee87a5 don't clear the list control when wxLC_[HV]RULES style is toggled (#4688)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 22:38:33 +00:00
Vadim Zeitlin
235cdc6dd7 search for X11 headers in paths under /usr/local before those under /usr (#9477)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 22:19:24 +00:00
Vadim Zeitlin
6f292345cf fix reference counting problems with wxGridCellWithAttr (re-#9567)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 21:37:58 +00:00
Robert Roebling
af4d748440 Ticket #1032 wxVariant::operator==(wxVariant& variant) has bad bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 19:23:45 +00:00
Julian Smart
6e47d216cd Small improvement in HTML help options dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 12:53:05 +00:00
Julian Smart
f64f03b529 Skip base command line parsing, which fails when passing a book file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 11:56:42 +00:00
Stefan Csomor
0efafeb2f3 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 04:20:10 +00:00
Stefan Csomor
3201a1046b mac paths updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 04:17:57 +00:00
Vadim Zeitlin
a50c5fccdc use HandleWindowEvent() in Close() as it can be called from a GTK+ callback (#9565)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 00:09:19 +00:00
Vadim Zeitlin
5dfae0ada3 use @deprecated doxygen tag, a few other minor corrections (#9564)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 00:05:15 +00:00