]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printdlg.cpp
removed wxDialog::SetSize() which just called wxWindow::SetSize()
[wxWidgets.git] / src / msw / printdlg.cpp
index 0bc12eff2957baa4af23b84e089cad20d8544637..c48762e3c27fecb25456f858d195faec4e1c94a6 100644 (file)
 #endif
 
 // For compilers that support precompilation, includes "wx.h".
-#define IN_WX_MAIN_CPP
 #include "wx/wxprec.h"
 
-#if defined(__BORLANDC__)
+#ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
@@ -79,7 +78,7 @@ bool wxPrintDialog::Create(wxWindow *p, wxPrintData* data)
   if ( data )
     printData = *data;
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
   printData.SetOwnerWindow(p);
 #endif