Various little tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-07-20 00:14:28 +00:00
parent 249a57f443
commit 3b5ccda128
6 changed files with 15 additions and 10 deletions

View File

@@ -191,6 +191,7 @@ public:
dataPtr = (unsigned char*) malloc(len);
memcpy(dataPtr, PyString_AsString(data), len);
self->SetData(dataPtr);
// wxImage takes ownership of dataPtr...
}
}

View File

@@ -220,6 +220,8 @@ public:
wxPoint GetPosition();
wxSize GetSize();
void SetPosition( const wxPoint &p );
void SetSize( const wxSize &s );
int GetLeft();
int GetTop();