XPM updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,6 +38,18 @@ public:
|
|||||||
,int nType
|
,int nType
|
||||||
,const wxPalette* pPalette = NULL
|
,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
|
}; // end of CLASS wxWPMFileHandler
|
||||||
|
|
||||||
class WXDLLEXPORT wxXPMDataHandler: public wxBitmapHandler
|
class WXDLLEXPORT wxXPMDataHandler: public wxBitmapHandler
|
||||||
@@ -57,6 +69,18 @@ public:
|
|||||||
,int lHeight
|
,int lHeight
|
||||||
,int lDepth = 1
|
,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
|
}; // end of wxXPMDataHandler
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user