Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other

little fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-03-18 22:11:23 +00:00
parent d65c269b3f
commit e9159fe8e8
15 changed files with 1258 additions and 100 deletions

View File

@@ -87,7 +87,7 @@ public:
return wxFileSystemHandler::GetRightLocation(location);
}
wxString GetMimeTypeFromExt(const wxString& location){
wxString GetMimeTypeFromExt(const wxString& location) {
return wxFileSystemHandler::GetMimeTypeFromExt(location);
}
@@ -194,15 +194,11 @@ void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
wxMemoryFSHandler::AddFile(filename, bitmap, type);
}
// void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
// const wxString& textdata) {
// wxMemoryFSHandler::AddFile(filename, textdata);
// }
void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
PyObject* data) {
wxMemoryFSHandler::AddFile(filename,
// TODO: Verify data type
(void*)PyString_AsString(data),
(size_t)PyString_Size(data));
}