#endif
#ifdef __WXMSW__
- #include "wx/msw/private.h"
- #include <commdlg.h>
-
+ #include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
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();
}