From 9c479d40d829d83ddb6b90cfc1e351a0ee80182e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 9 Aug 2004 15:40:06 +0000 Subject: [PATCH] Must specify wxHSCROLL/wxVSCROLL now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/prntbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index bb29c3e968..8216a1578e 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -190,7 +190,7 @@ void wxPrintout::GetPageInfo(int *minPage, int *maxPage, int *fromPage, int *toP // this style it simply doesn't work correctly at all... wxPreviewCanvas::wxPreviewCanvas(wxPrintPreviewBase *preview, wxWindow *parent, const wxPoint& pos, const wxSize& size, long style, const wxString& name): -wxScrolledWindow(parent, -1, pos, size, style | wxFULL_REPAINT_ON_RESIZE, name) +wxScrolledWindow(parent, -1, pos, size, style | wxFULL_REPAINT_ON_RESIZE | wxVSCROLL | wxHSCROLL, name) { m_printPreview = preview; #ifdef __WXMAC__