X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..ed4eede6c2c16cdb422a39c1b3655956b8f51a1c:/src/palmos/font.cpp diff --git a/src/palmos/font.cpp b/src/palmos/font.cpp index ad4f75ec74..19a6b18b46 100644 --- a/src/palmos/font.cpp +++ b/src/palmos/font.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/palmos/font.cpp // Purpose: wxFont class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/14/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -103,8 +103,8 @@ public: // constructors wxFontRefData() { - Init(-1, wxSize(0, 0), FALSE, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, - wxFONTWEIGHT_NORMAL, FALSE, wxEmptyString, + Init(-1, wxSize(0, 0), false, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, + wxFONTWEIGHT_NORMAL, false, wxEmptyString, wxFONTENCODING_DEFAULT); } @@ -218,7 +218,7 @@ public: else { m_pointSize = pointSize; - m_sizeUsingPixels = FALSE; + m_sizeUsingPixels = false; } } @@ -231,7 +231,7 @@ public: else { m_pixelSize = pixelSize; - m_sizeUsingPixels = TRUE; + m_sizeUsingPixels = true; } } @@ -394,7 +394,7 @@ bool wxFont::DoCreate(int pointSize, const wxString& faceName, wxFontEncoding encoding) { - return false; + return false; } wxFont::~wxFont() @@ -407,7 +407,7 @@ wxFont::~wxFont() bool wxFont::RealizeResource() { - return false; + return false; } bool wxFont::FreeResource(bool WXUNUSED(force)) @@ -420,11 +420,6 @@ WXHANDLE wxFont::GetResourceHandle() const return (WXHANDLE)0; } -WXHFONT wxFont::GetHFONT() const -{ - return 0; -} - bool wxFont::IsFree() const { return false;