added wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads accepting single wxSize argument

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-09-21 09:35:49 +00:00
parent 0c75b29e1e
commit 40fcf546f6
6 changed files with 28 additions and 20 deletions

View File

@@ -852,6 +852,18 @@ void wxClientDisplayRect(int* x, int* y, int* width, int* height);
wxRect wxGetClientDisplayRect();
//@}
/** @ingroup group_funcmacro_gdi */
//@{
/**
Returns the display resolution in pixels per inch.
@header{wx/gdicmn.h}
@since 2.9.0
*/
wxSize wxGetDisplayPPI();
//@}
/** @ingroup group_funcmacro_gdi */
//@{
/**