Include wx/font.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-06-14 19:51:14 +00:00
parent 54a6176249
commit 48a1108eb8
19 changed files with 53 additions and 51 deletions

View File

@@ -30,9 +30,9 @@
#include "wx/listbox.h"
#include "wx/bitmap.h"
#include "wx/colour.h"
#include "wx/font.h"
#endif
#include "wx/font.h"
#include "wx/ownerdrw.h"
#define INCL_PM

View File

@@ -20,12 +20,13 @@
// headers
// ----------------------------------------------------------------------------
#include "wx/font.h"
#ifndef WX_PRECOMP
#include <stdio.h>
#include "wx/list.h"
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/font.h"
#include "wx/log.h"
#endif // WX_PRECOMP
@@ -1135,19 +1136,14 @@ const wxNativeFontInfo* wxFont::GetNativeFontInfo() const
//
// Internal use only method to set the FONTMETRICS array
//
void wxFont::SetFM(
PFONTMETRICS pFM
, int nNumFonts
)
void wxFont::SetFM( PFONTMETRICS pFM, int nNumFonts )
{
M_FONTDATA->SetFM(pFM);
M_FONTDATA->SetNumFonts(nNumFonts);
} // end of wxFont::SetFM
void wxFont::SetPS(
HPS hPS
)
void wxFont::SetPS( HPS hPS )
{
Unshare();

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////////
// Name: msw/fontenum.cpp
// Name: src/os2/fontenum.cpp
// Purpose: wxFontEnumerator class for Windows
// Author: Julian Smart
// Modified by: David Webster to add support for font encodings
@@ -22,11 +22,12 @@
#if wxUSE_FONTMAP
#include "wx/fontenum.h"
#ifndef WX_PRECOMP
#include "wx/font.h"
#include "wx/font.h"
#endif
#include "wx/fontenum.h"
#include "wx/fontmap.h"
#include "wx/encinfo.h"

View File

@@ -12,8 +12,12 @@
#include "wx/wxprec.h"
#include "wx/gdiobj.h"
#ifndef WX_PRECOMP
#include "wx/font.h"
#endif
#include "wx/gdicmn.h"
#include "wx/font.h"
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)

View File

@@ -22,7 +22,6 @@
#include "wx/font.h"
#include "wx/bitmap.h"
#include "wx/settings.h"
#include "wx/font.h"
#include "wx/window.h"
#include "wx/accel.h"
#include "wx/menu.h"