X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/543f08a67631f2849872d5d3ee7cb99047718560..fa9666fbe69e76f57042b46ba2c8ad5b18a527b6:/include/wx/msw/fontenum.h diff --git a/include/wx/msw/fontenum.h b/include/wx/msw/fontenum.h index c5cc84c9ba..e4d1d4cf50 100644 --- a/include/wx/msw/fontenum.h +++ b/include/wx/msw/fontenum.h @@ -12,7 +12,7 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontenum.h" #endif @@ -24,12 +24,12 @@ class wxFontEnumerator: public wxObject { DECLARE_CLASS(wxFontEnumerator) public: - wxFontEnumerator() {}; + wxFontEnumerator() {} // Enumerate the fonts. bool Enumerate(); - // Stop enumeration if FALSE is returned. + // Stop enumeration if false is returned. // By default, the enumerator stores the facenames in a list for // retrieval via GetFacenames(). virtual bool OnFont(const wxFont& font);