X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/020a1653a4ac95d1dd9c9e918a859d6d6d83d3fe..dad5f99acb6b3400ff73562c03db2f3f21b658cd:/include/wx/os2/xpmhand.h diff --git a/include/wx/os2/xpmhand.h b/include/wx/os2/xpmhand.h index 662f954da6..c83fcde5e1 100644 --- a/include/wx/os2/xpmhand.h +++ b/include/wx/os2/xpmhand.h @@ -38,6 +38,18 @@ public: ,int nType ,const wxPalette* pPalette = NULL ); +private: + inline bool LoadFile( wxBitmap* pBitmap + ,const wxString& rsName + ,HPS hPs + ,long lFlags + ,int nDesiredWidth + ,int nDesiredHeight + ) + { + return(wxBitmapHandler::LoadFile(pBitmap, rsName, hPs, lFlags, nDesiredWidth, nDesiredHeight)); + } + }; // end of CLASS wxWPMFileHandler class WXDLLEXPORT wxXPMDataHandler: public wxBitmapHandler @@ -57,6 +69,18 @@ public: ,int lHeight ,int lDepth = 1 ); +private: + bool Create( wxGDIImage* pImage + ,void* pData + ,long lFlags + ,int nWidth + ,int nHeight + ,int nDepth = 1 + ) + { + return(wxBitmapHandler::Create(pImage, pData, lFlags, nWidth, nHeight, nDepth)); + } + }; // end of wxXPMDataHandler #endif