summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bcaba9a)
mac/private and typecasts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13415
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/bitmap.h"
#include "wx/mac/pnghand.h"
#include "wx/mac/pngread.h"
#include "wx/bitmap.h"
#include "wx/mac/pnghand.h"
#include "wx/mac/pngread.h"
+#include "wx/mac/private.h"
extern "C" {
#include "png.h"
extern "C" {
#include "png.h"
- wxMacDestroyGWorld( lpbi ) ;
+ wxMacDestroyGWorld( (GWorldPtr) lpbi ) ;
}
lpbi = wxMacCreateGWorld( Width , Height , Depth);
if (lpbi)
}
lpbi = wxMacCreateGWorld( Width , Height , Depth);
if (lpbi)
{
delete[] RawImage ;
if (lpbi) {
{
delete[] RawImage ;
if (lpbi) {
- wxMacDestroyGWorld( lpbi ) ;
+ wxMacDestroyGWorld( (GWorldPtr) lpbi ) ;
void wxPNGReader::NullData()
{
if (lpbi) {
void wxPNGReader::NullData()
{
if (lpbi) {
- wxMacDestroyGWorld( lpbi ) ;
+ wxMacDestroyGWorld( (GWorldPtr) lpbi ) ;
}
delete m_palette;
lpbi = NULL;
}
delete m_palette;
lpbi = NULL;
GetGWorld( &origPort , &origDevice ) ;
// ignore shapedc
GetGWorld( &origPort , &origDevice ) ;
// ignore shapedc
- SetGWorld( lpbi , NULL ) ;
+ SetGWorld( (GWorldPtr) lpbi , NULL ) ;
do
{
// (unsigned char *)iter.GetRow();
do
{
// (unsigned char *)iter.GetRow();
#include "wx/bitmap.h"
#include "wx/mac/pnghand.h"
#include "wx/mac/pngread.h"
#include "wx/bitmap.h"
#include "wx/mac/pnghand.h"
#include "wx/mac/pngread.h"
+#include "wx/mac/private.h"
extern "C" {
#include "png.h"
extern "C" {
#include "png.h"
- wxMacDestroyGWorld( lpbi ) ;
+ wxMacDestroyGWorld( (GWorldPtr) lpbi ) ;
}
lpbi = wxMacCreateGWorld( Width , Height , Depth);
if (lpbi)
}
lpbi = wxMacCreateGWorld( Width , Height , Depth);
if (lpbi)
{
delete[] RawImage ;
if (lpbi) {
{
delete[] RawImage ;
if (lpbi) {
- wxMacDestroyGWorld( lpbi ) ;
+ wxMacDestroyGWorld( (GWorldPtr) lpbi ) ;
void wxPNGReader::NullData()
{
if (lpbi) {
void wxPNGReader::NullData()
{
if (lpbi) {
- wxMacDestroyGWorld( lpbi ) ;
+ wxMacDestroyGWorld( (GWorldPtr) lpbi ) ;
}
delete m_palette;
lpbi = NULL;
}
delete m_palette;
lpbi = NULL;
GetGWorld( &origPort , &origDevice ) ;
// ignore shapedc
GetGWorld( &origPort , &origDevice ) ;
// ignore shapedc
- SetGWorld( lpbi , NULL ) ;
+ SetGWorld( (GWorldPtr) lpbi , NULL ) ;
do
{
// (unsigned char *)iter.GetRow();
do
{
// (unsigned char *)iter.GetRow();