X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/gtk/dc.h?ds=inline diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index 1bc4d18c56..6022c4d728 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -25,6 +25,7 @@ class wxDC; // constants //----------------------------------------------------------------------------- +#ifndef MM_TEXT #define MM_TEXT 0 #define MM_ISOTROPIC 1 #define MM_ANISOTROPIC 2 @@ -33,6 +34,7 @@ class wxDC; #define MM_TWIPS 5 #define MM_POINTS 6 #define MM_METRIC 7 +#endif //----------------------------------------------------------------------------- // wxDC @@ -49,7 +51,7 @@ public: // Resolution in pixels per logical inch virtual wxSize GetPPI() const; - virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return TRUE; } + virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; } virtual void EndDoc() { } virtual void StartPage() { } virtual void EndPage() { }