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:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user