Commit Graph

448 Commits

Author SHA1 Message Date
Julian Smart
7ba6220216 Only scale an image once, which vastly improves the appearance
of scaled images in print and preview


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:20:13 +00:00
Vadim Zeitlin
52d9d823a1 check for NULL pointer returned by wxFontEnumerator::GetFacenames() (it actually happens under Cocoa and could conceivably happen elsewhere as well...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:54:46 +00:00
Václav Slavík
632783de61 create wxPrintData instance on demand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-23 22:38:30 +00:00
Václav Slavík
2a536376ec added public methods to select parts of displayed page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 12:14:40 +00:00
Stefan Csomor
c83e123712 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 20:09:31 +00:00
Stefan Csomor
90548138ac preliminary fix, for using the correct output encoding on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-20 22:01:43 +00:00
Mattia Barbon
4f44ea367d Add wxRTTI information.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 22:16:56 +00:00
Julian Smart
44d0c580e6 Attempt to fix Borland compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-27 12:13:20 +00:00
Dimitri Schoolwerth
5de65c6930 Declaration of CopySelection is bool instead of void.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:57:34 +00:00
Vadim Zeitlin
8feaa81f86 don't test whether m_selection is NULL both before calling CopySelection() and inside it; one time is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 23:52:48 +00:00
Vadim Zeitlin
689c48297e fixed memory leak (m_selection wasn't deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 23:50:10 +00:00
Robin Dunn
3403ccd5ae Uses wxSystemSettings for colour when there is no window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:15:35 +00:00
Robin Dunn
6be0b53f3d When used from wxHtmlListBox it's possible for GetWindow to return NULL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 23:12:50 +00:00
Václav Slavík
eb6a4098a0 Always set background colour prior to any HTML rendering (this fixes assert in GTK2 build because BgColor of wxHtmlRenderingState was unset=invalid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-11 13:19:57 +00:00
Václav Slavík
e77fbecf59 part of DS' change _was_ corrent, restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-11 12:35:24 +00:00
Dimitri Schoolwerth
335d757931 Really fixed Borland release build warning (without sabotaging code this time).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 17:32:04 +00:00
Václav Slavík
b5d464b982 previous DS' change was broken, reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:49:46 +00:00
Dimitri Schoolwerth
8703bc01c2 Added wxUnusedVar for Borland and fixed 2 release mode warnings for Borland (patch #835707); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:17:46 +00:00
Václav Slavík
6937991694 addedd support for <pre width=...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 13:59:50 +00:00
David Elliott
ee2f6a9353 Wrap some toolbar code in #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:22:27 +00:00
Vadim Zeitlin
311ccb86e4 compilation fix for Watcom (part of patch 813225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:23:07 +00:00
Vadim Zeitlin
999836aaca warning fixes for BCC and OW (heavily modified patch 819146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
a509f83054 VC++ release mode warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 01:46:17 +00:00
Václav Slavík
3527f29c87 added .chm support for Unix (Markus Sinner)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 20:15:27 +00:00
Václav Slavík
6c24d95cf9 fixed memory leak (#817324)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 18:30:38 +00:00
Václav Slavík
afcc5de1b6 fixed single word selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:44:16 +00:00
Vadim Zeitlin
75d07c0a3a fixed a 'variable could be used uninitialized' warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 12:02:04 +00:00
Václav Slavík
69b5cec2b0 applied Otto Wyss' patch to extend wxHelpController::KeywordSearch with mode argument (modified to the point of reimplementation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 17:29:11 +00:00
Stefan Csomor
459f2add90 macro naming changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 12:26:52 +00:00
Václav Slavík
5af11a9413 Content-Type parsing should be case insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 09:59:00 +00:00
Stefan Csomor
786a2425fb extended RTTI support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:37:30 +00:00
Vadim Zeitlin
49744b79ac compilation fix after Clear() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:52:46 +00:00
Václav Slavík
e3ac6ee157 fixed wrong arguments to Draw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 15:48:45 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
89d96c130a no real change, removed commented out code forgotten there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 20:30:26 +00:00
Václav Slavík
34fdf76231 added build options sanity checks into all main libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 13:19:44 +00:00
Julian Smart
d2b354f9c9 Printing improvements: GetPageInfo() gets called after the DC has
been set and after OnPreparePrinting() has been called so it can
report the number of pages accurately; doesn't try to set
number of pages in print dialog, in common with other Windows apps;
wxHTML easy printing's preview shows number of pages
correctly; preview scrollbars are set correctly; keyboard navigation
improved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 20:30:19 +00:00
Vadim Zeitlin
2eb10e2a17 more warning fixes; removed references to wxToolBarBase from wxRTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Vadim Zeitlin
fc7a2a602b undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Mattia Barbon
b5f6b52ab3 Compilation fix for !WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:32:44 +00:00
Václav Slavík
ace0fab4f1 remove extra space at top and bottom of the page if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:11:10 +00:00
Václav Slavík
67158ef673 removed GetHorizontalConstraints -- no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:04:37 +00:00
Václav Slavík
8c571f4650 tables can no longer be smaller than sum of their columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:00:58 +00:00
Václav Slavík
b6d93b260e don't break lines in the middle of word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:39:09 +00:00
Vadim Zeitlin
28b4db7f89 ugly fix for warnings when wxUSE_STL==0 not breaking compilation when wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 22:53:49 +00:00
Mattia Barbon
1b80d34a52 Warning fixes for wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:50 +00:00
Vadim Zeitlin
d80096a2dd fixed a crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 14:07:01 +00:00
Vadim Zeitlin
dfa4a244f0 VC++ warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 22:55:28 +00:00
Mattia Barbon
222ed1d678 STL-ification patch for wxMSW and wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:55:12 +00:00
Vadim Zeitlin
80bd086077 use mask for GIFs (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:56:09 +00:00