]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/gnome/gprint.h
added missing #include "wx/buffer.h"
[wxWidgets.git] / include / wx / gtk / gnome / gprint.h
index 60b1c7bea5626d712a6ab19147cc5107a08dc465..0b7b36a313b4818a8c350749821b47f1de07c06c 100644 (file)
@@ -258,7 +258,7 @@ protected:
     void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y,
                      wxCoord *descent = (wxCoord *) NULL,
                      wxCoord *externalLeading = (wxCoord *) NULL,
-                     wxFont *theFont = (wxFont *) NULL ) const;
+                     const wxFont *theFont = (wxFont *) NULL ) const;
     void DoGetSize(int* width, int* height) const;
     void DoGetSizeMM(int *width, int *height) const;
 
@@ -277,7 +277,7 @@ private:
     unsigned char           m_currentRed;
     unsigned char           m_currentGreen;
     unsigned char           m_currentBlue;
-    
+
     int                     m_deviceOffsetY;
 
     wxGnomePrinter         *m_printer;
@@ -285,7 +285,7 @@ private:
     GnomePrintJob*          m_job; // only used and destroyed when created with wxPrintData
 
     void makeEllipticalPath(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
-    
+
 private:
     wxCoord XDEV2LOG(wxCoord x) const
     {