Constructs a data format object for one of the standard data formats or
an empty data object (use SetType() or SetId() later in this case).
*/
- wxDataFormat(NativeFormat format = wxDF_INVALID);
+ wxDataFormat(wxDataFormatId format = wxDF_INVALID);
+
/**
Constructs a data format object for a custom format identified by its
name @a format.
@return @true on success, @false on failure.
*/
virtual bool SetData(const wxDataFormat& format, size_t len,
- const void buf);
+ const void* buf);
};
@param stream
The output stream.
*/
- wxDataOutputStream(wxOutputStream& stream,
- const wxMBConv& conv = wxConvAuto());
+ wxDataOutputStream(wxOutputStream& stream);
/**
Constructs a datastream object from an output stream. Only write
@param stream
The input stream.
*/
- wxDataInputStream(wxInputStream& stream,
- const wxMBConv& conv = wxConvAuto());
+ wxDataInputStream(wxInputStream& stream);
/**
Constructs a datastream object from an input stream. Only read methods
Note that the @a win window @b must remain alive until the
wxEventBlocker object destruction.
*/
- wxEventBlocker(wxWindow* win, wxEventType = wxEVT_ANY);
+ wxEventBlocker(wxWindow* win, wxEventType type = wxEVT_ANY);
/**
Destructor. The blocker will remove itself from the chain of event handlers for
@see wxConfigBase::Flush
*/
- bool Save(wxOutputStream& os, const wxMBConv& conv = wxConvAuto());
+ virtual bool Save(wxOutputStream& os, const wxMBConv& conv = wxConvAuto());
/**
Allows to set the mode to be used for the config file creation. For example, to
with default value of this argument the data written to the stream must
be valid UTF-8, pass @c wxConvISO8859_1 to deal with arbitrary 8 bit data.
*/
- wxStringOutputStream(wxString str = NULL, wxMBConv& conv = wxConvUTF8);
+ wxStringOutputStream(wxString* pString = 0, wxMBConv& conv = wxConvUTF8);
/**
Returns the string containing all the data written to the stream so far.
<b>In Unicode build only:</b> The encoding converter used to
convert the bytes in the underlying input stream to characters.
*/
- wxTextInputStream(wxInputStream& stream,
- const wxString& sep = " \t",
+ wxTextInputStream(wxInputStream& stream, const wxString& sep = " \t",
const wxMBConv& conv = wxConvAuto());
/**