]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printdlg.cpp
Added a constructor that allows creation of independent wxControl
[wxWidgets.git] / src / msw / printdlg.cpp
index 57ae304e130041e794ee601e2a7c5bf301396815..17f7a55d2bee2371e8a87de63d5589b5546e348a 100644 (file)
 #endif
 
 #include <stdlib.h>
-#include <windows.h>
+
+#include "wx/msw/private.h"
+
 #include <commdlg.h>
 
 #ifndef __WIN32__
     #include <print.h>
 #endif
 
-// Clash with Windows header files
-#ifdef StartDoc
-#undef StartDoc
-#endif
-
 // ---------------------------------------------------------------------------
 // wxWin macros
 // ---------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
     IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
     IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
-#endif
 
 // ===========================================================================
 // implementation