Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-12-20 12:44:22 +00:00
parent 6305fabeeb
commit 4055ed8281
85 changed files with 499 additions and 811 deletions

View File

@@ -4,7 +4,7 @@
// Author: William Osborne
// 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;