]> git.saurik.com Git - wxWidgets.git/commitdiff
Must specify wxHSCROLL/wxVSCROLL now
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Aug 2004 15:40:06 +0000 (15:40 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Aug 2004 15:40:06 +0000 (15:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/prntbase.cpp

index bb29c3e968d9eb0633cbf6db171fe534310bb25c..8216a1578e1533bbd1bfd59306e992d91a27579a 100644 (file)
@@ -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__