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
This commit is contained in:
@@ -126,6 +126,13 @@ All GUI ports:
|
||||
- send menu update events only when a menu is about to be used (MSW/GTK)
|
||||
- improved event processing performance (Hans Van Leemputten)
|
||||
- added wxMirrorDC class
|
||||
- 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
|
||||
|
||||
Unix:
|
||||
|
||||
|
@@ -786,7 +786,7 @@ reference) and to return a tuple of four integers.
|
||||
}
|
||||
|
||||
\perlnote{When this method is overridden in a derived class,
|
||||
it must not take any parameters, an return a 4-element list.
|
||||
it must not take any parameters, and returns a 4-element list.
|
||||
}
|
||||
|
||||
\membersection{wxPrintout::GetPageSizeMM}\label{wxprintoutgetpagesizemm}
|
||||
@@ -981,7 +981,7 @@ internally.
|
||||
|
||||
\membersection{wxPrintPreview::GetCanvas}\label{wxprintpreviewgetcanvas}
|
||||
|
||||
\func{wxWindow* }{GetCanvas}{\void}
|
||||
\func{wxPreviewCanvas* }{GetCanvas}{\void}
|
||||
|
||||
Gets the preview window used for displaying the print preview image.
|
||||
|
||||
@@ -1067,7 +1067,7 @@ Renders a page into a wxMemoryDC. Used internally by wxPrintPreview.
|
||||
|
||||
\membersection{wxPrintPreview::SetCanvas}\label{wxprintpreviewsetcanvas}
|
||||
|
||||
\func{void}{SetCanvas}{\param{wxWindow* }{window}}
|
||||
\func{void}{SetCanvas}{\param{wxPreviewCanvas** }{window}}
|
||||
|
||||
Sets the window to be used for displaying the print preview image.
|
||||
|
||||
|
@@ -179,6 +179,8 @@ wxMiscellaneous
|
||||
has been destroyed or recreated. On wxMSW, this is done in
|
||||
~wxToolBar. On wxGTK, in SetToolBar. In wxMac, not at all,
|
||||
but sending a wxSizeEvent will do it.
|
||||
- Need wxRect wxToolBar::GetToolRect(int id) or similar so we can
|
||||
align a popup menu with a toolbar button.
|
||||
- wxMac font selector dialog is the generic font selector -
|
||||
horrible.
|
||||
- No Append(wxArrayString&) for wxChoice and wxComboBox in wxGTK.
|
||||
|
Reference in New Issue
Block a user