/////////////////////////////////////////////////////////////////////////////
// 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
/////////////////////////////////////////////////////////////////////////////
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "font.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// 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);
}
else
{
m_pointSize = pointSize;
- m_sizeUsingPixels = FALSE;
+ m_sizeUsingPixels = false;
}
}
else
{
m_pixelSize = pixelSize;
- m_sizeUsingPixels = TRUE;
+ m_sizeUsingPixels = true;
}
}
const wxString& faceName,
wxFontEncoding encoding)
{
- return false;
+ return false;
}
wxFont::~wxFont()
bool wxFont::RealizeResource()
{
- return false;
+ return false;
}
bool wxFont::FreeResource(bool WXUNUSED(force))
return (WXHANDLE)0;
}
-WXHFONT wxFont::GetHFONT() const
-{
- return 0;
-}
-
bool wxFont::IsFree() const
{
return false;