X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2997ca30d66c2dc778ed9a84c8c94fea6ec1c958..694f70fa9c0cc8889c208020bf75b2e3861f6818:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 1f1f0487f7..5a308b4950 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -59,9 +59,7 @@ #endif #ifdef __WXMSW__ - #include "wx/msw/private.h" - #include - + #include "wx/msw/wrapcdlg.h" #ifndef __WIN32__ #include #endif @@ -1006,7 +1004,7 @@ void wxPreviewFrame::CreateControlBar() if (m_printPreview->GetPrintoutForPrinting()) buttons |= wxPREVIEW_PRINT; - m_controlBar = new wxPreviewControlBar(m_printPreview, buttons, this, wxPoint(), wxSize(400, 40)); + m_controlBar = new wxPreviewControlBar(m_printPreview, buttons, this, wxPoint(0,0), wxSize(400, 40)); m_controlBar->CreateButtons(); }