X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4372af60a7eed11d0deea8db2c7d0fdd75d2b76..10992a81d39da31b79063387b7b71c0ff68737ce:/src/os2/fontutil.cpp?ds=inline diff --git a/src/os2/fontutil.cpp b/src/os2/fontutil.cpp index a3444c5765..c5e987133b 100644 --- a/src/os2/fontutil.cpp +++ b/src/os2/fontutil.cpp @@ -8,6 +8,10 @@ // Copyright: (c) 1999 Vadim Zeitlin // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// +#define DEBUG_PRINTF(NAME) { static int raz=0; \ + printf( #NAME " %i\n",raz); fflush(stdout); \ + raz++; \ + } // ============================================================================ // declarations @@ -85,7 +89,7 @@ bool wxNativeEncodingInfo::FromString(const wxString& s) wxString wxNativeEncodingInfo::ToString() const { wxString s; - + s << (long)encoding << _T(';') << facename; // TODO: what is this for OS/2? @@ -334,6 +338,8 @@ void wxFillLogFont(LOGFONT *logFont, const wxFont *font) wxFont wxCreateFontFromLogFont(const LOGFONT *logFont) { +DEBUG_PRINTF(wxCreateFontFromLogFont) + // extract family from pitch-and-family int lfFamily = logFont->lfPitchAndFamily; if ( lfFamily & FIXED_PITCH )