%import _defs.i
%pragma(python) code = "import wx"
-%pragma(python) code = "import string"
//----------------------------------------------------------------------
// typemaps for wxInputStream
$target = temp->m_wxis;
created = FALSE;
} else {
- $target = wxPyCBInputStream::create($source, FALSE);
+ $target = wxPyCBInputStream_create($source, FALSE);
if ($target == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;
if ($source) {
_ptr = new wxPyInputStream($source);
}
- $target = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
+ $target = wxPyConstructObject(_ptr, wxT("wxInputStream"), TRUE);
}
//----------------------------------------------------------------------
// $target=0;
// }
+enum wxSeekMode
+{
+ wxFromStart,
+ wxFromCurrent,
+ wxFromEnd
+};
void write(wxString data);
void writelines(wxStringPtrList);
*/
+
+ char Peek();
+ char GetC();
+ size_t LastRead();
+ bool CanRead();
+ bool Eof();
+ bool Ungetch(char c);
+
+ long SeekI(long pos, wxSeekMode mode = wxFromStart);
+ long TellI();
}