+ int result = wxID_CANCEL ;
+#if !TARGET_CARBON
+
+ OSErr err ;
+ wxString message ;
+ ::UMAPrOpen() ;
+ err = PrError() ;
+
+ if ( !err )
+ {
+ m_printDialogData.ConvertToNative() ;
+ if ( ::PrJobDialog( m_printDialogData.GetPrintData().m_macPrintInfo ) )
+ {
+ m_printDialogData.ConvertFromNative() ;
+ result = wxID_OK ;
+ }
+
+ }
+ else
+ {
+ message.Printf( "Print Error %d", err ) ;
+ wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
+ }
+ ::UMAPrClose() ;
+#else
+ #if __UNIX__
+ #warning "TODO:Printing for carbon"
+ #else
+ #pragma warning "TODO:Printing for carbon"
+ #endif
+#endif
+ return result ;