OS/2 updates for statusbar processing and easier VA debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// 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 )
|
||||
|
Reference in New Issue
Block a user