X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e32eea148dafadbdd0712377c1b5038406ffde5..e4ccedf7b28e60d8109ea412c34fb0f22a68afd4:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index ced6b00150..bb7a1e6251 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -13,10 +13,6 @@ #ifndef _WX_MIMETYPE_H_ #define _WX_MIMETYPE_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "mimetypebase.h" -#endif // __GNUG__ - // ---------------------------------------------------------------------------- // headers and such // ---------------------------------------------------------------------------- @@ -98,7 +94,7 @@ public: wxFileTypeInfo() { } // test if this object can be used - bool IsValid() const { return !m_mimeType.IsEmpty(); } + bool IsValid() const { return !m_mimeType.empty(); } // setters // set the icon info @@ -320,7 +316,7 @@ public: wxFileType *GetFileTypeFromMimeType(const wxString& mimeType); // other operations: return true if there were no errors or false if there - // were some unreckognized entries (the good entries are always read anyhow) + // were some unrecognized entries (the good entries are always read anyhow) // // FIXME: These ought to be private ?? @@ -388,7 +384,7 @@ private: // ---------------------------------------------------------------------------- // the default mime manager for wxWidgets programs -WXDLLIMPEXP_DATA_BASE(extern wxMimeTypesManager *) wxTheMimeTypesManager; +extern WXDLLIMPEXP_DATA_BASE(wxMimeTypesManager *) wxTheMimeTypesManager; #endif // wxUSE_MIMETYPE