* Added source file info in utils/serialize/*
* Added Windows support in dynlib.cpp (not tested) * Added some operator in wxStream * Added a mutex in thread sample (more later) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,8 +91,15 @@ class WXDLLEXPORT wxInputStream {
|
||||
wxInputStream& operator>>(wxString& line);
|
||||
wxInputStream& operator>>(char& c);
|
||||
wxInputStream& operator>>(short& i);
|
||||
wxInputStream& operator>>(int& i);
|
||||
wxInputStream& operator>>(long& i);
|
||||
wxInputStream& operator>>(float& i);
|
||||
wxInputStream& operator>>(wxObject *& obj);
|
||||
|
||||
wxInputStream& operator>>(unsigned char& c) { return operator>>((char&)c); }
|
||||
wxInputStream& operator>>(unsigned short& i) { return operator>>((short&)i); }
|
||||
wxInputStream& operator>>(unsigned int& i) { return operator>>((int&)i); }
|
||||
wxInputStream& operator>>(unsigned long& i) { return operator>>((long&)i); }
|
||||
wxInputStream& operator>>( __wxInputManip func) { return func(*this); }
|
||||
|
||||
protected:
|
||||
@@ -136,13 +143,13 @@ class WXDLLEXPORT wxOutputStream {
|
||||
wxOutputStream& operator<<(int i);
|
||||
wxOutputStream& operator<<(long i);
|
||||
wxOutputStream& operator<<(double f);
|
||||
wxOutputStream& operator<<(wxObject& obj);
|
||||
|
||||
wxOutputStream& operator<<(float f) { return operator<<((double)f); }
|
||||
wxOutputStream& operator<<(unsigned char c) { return operator<<((char)c); }
|
||||
wxOutputStream& operator<<(unsigned short i) { return operator<<((short)i); }
|
||||
wxOutputStream& operator<<(unsigned int i) { return operator<<((int)i); }
|
||||
wxOutputStream& operator<<(unsigned long i) { return operator<<((long)i); }
|
||||
|
||||
wxOutputStream& operator<<( __wxOutputManip func) { return func(*this); }
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user