]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcprint.cpp
Added resize support to wxMiniFrame.
[wxWidgets.git] / src / mac / carbon / dcprint.cpp
index cabdd0d9b13b140b214138f02a3b16f7a3ad5e1c..47958b22abc04e30af9053377e15e4291b140008 100644 (file)
@@ -125,7 +125,7 @@ bool wxMacCarbonPrinterDC::StartDoc(  wxPrinterDC* dc , const wxString& WXUNUSED
     PMRect rPage;
     m_err = PMGetAdjustedPageRect(native->m_macPageFormat, &rPage);
     if ( m_err != noErr )
-        return;
+        return false ;
 
     m_maxX = wxCoord(rPage.right - rPage.left) ;
     m_maxY = wxCoord(rPage.bottom - rPage.top);