X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..544421165fa7f656d23b69801443b7aa69f71db8:/src/mac/printdlg.cpp?ds=sidebyside diff --git a/src/mac/printdlg.cpp b/src/mac/printdlg.cpp index a5c41e0737..88f6d70b58 100644 --- a/src/mac/printdlg.cpp +++ b/src/mac/printdlg.cpp @@ -67,7 +67,7 @@ wxPrintDialog::~wxPrintDialog() int wxPrintDialog::ShowModal() { int result = wxID_CANCEL ; - #if !TARGET_CARBON +#if !TARGET_CARBON OSErr err ; wxString message ; @@ -90,9 +90,13 @@ int wxPrintDialog::ShowModal() wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ; } ::UMAPrClose() ; - #else - #pragma warning "TODO:Printing for carbon" - #endif +#else + #if __UNIX__ + #warning "TODO:Printing for carbon" + #else + #pragma warning "TODO:Printing for carbon" + #endif +#endif return result ; } @@ -158,7 +162,11 @@ int wxPageSetupDialog::ShowModal() } ::UMAPrClose() ; #else -#pragma warning "TODO:printing for carbon" + #if __UNIX__ + #warning "TODO:Printing for carbon" + #else + #pragma warning "TODO:Printing for carbon" + #endif #endif return result ; }