All wxScrolledWindows shoudl have wxHSCROLL|wxVSCROLL now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c22edec9fc
commit
04b6e2f0c1
@ -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...
|
// this style it simply doesn't work correctly at all...
|
||||||
wxPreviewCanvas::wxPreviewCanvas(wxPrintPreviewBase *preview, wxWindow *parent,
|
wxPreviewCanvas::wxPreviewCanvas(wxPrintPreviewBase *preview, wxWindow *parent,
|
||||||
const wxPoint& pos, const wxSize& size, long style, const wxString& name):
|
const wxPoint& pos, const wxSize& size, long style, const wxString& name):
|
||||||
wxScrolledWindow(parent, -1, pos, size, style | wxFULL_REPAINT_ON_RESIZE | wxVSCROLL | wxHSCROLL, name)
|
wxScrolledWindow(parent, -1, pos, size, style | wxFULL_REPAINT_ON_RESIZE, name)
|
||||||
{
|
{
|
||||||
m_printPreview = preview;
|
m_printPreview = preview;
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
@ -1213,7 +1213,7 @@ bool wxGenericScrolledWindow::Create(wxWindow *parent,
|
|||||||
{
|
{
|
||||||
m_targetWindow = this;
|
m_targetWindow = this;
|
||||||
|
|
||||||
bool ok = wxPanel::Create(parent, id, pos, size, style, name);
|
bool ok = wxPanel::Create(parent, id, pos, size, style|wxHSCROLL|wxVSCROLL, name);
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user