Added wxOutputStream::PutC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -119,6 +119,7 @@ class WXDLLEXPORT wxOutputStream: public wxStreamBase {
|
|||||||
wxOutputStream();
|
wxOutputStream();
|
||||||
virtual ~wxOutputStream();
|
virtual ~wxOutputStream();
|
||||||
|
|
||||||
|
void PutC(char c);
|
||||||
virtual wxOutputStream& Write(const void *buffer, size_t size);
|
virtual wxOutputStream& Write(const void *buffer, size_t size);
|
||||||
wxOutputStream& Write(wxInputStream& stream_in);
|
wxOutputStream& Write(wxInputStream& stream_in);
|
||||||
|
|
||||||
|
@@ -668,6 +668,11 @@ wxOutputStream::~wxOutputStream()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxOutputStream::PutC(char c)
|
||||||
|
{
|
||||||
|
Write((void *) &c, 1);
|
||||||
|
}
|
||||||
|
|
||||||
wxOutputStream& wxOutputStream::Write(const void *buffer, size_t size)
|
wxOutputStream& wxOutputStream::Write(const void *buffer, size_t size)
|
||||||
{
|
{
|
||||||
m_lastcount = OnSysWrite(buffer, size);
|
m_lastcount = OnSysWrite(buffer, size);
|
||||||
|
Reference in New Issue
Block a user