object by pickling it first.
@endWxPythonOnly
*/
- virtual void SetData(size_t size, const void data);
+ virtual void SetData(size_t size, const void* data);
/**
Like SetData(), but doesn't copy the data - instead the object takes
required and the data should be returned from the method as a string.
@endWxPythonOnly
*/
- virtual bool GetDataHere(void buf) const;
+ virtual bool GetDataHere(void* buf) const;
/**
Gets the size of our data. Must be implemented in the derived class if
string parameter rather than the two shown here.
@endWxPythonOnly
*/
- virtual bool SetData(size_t len, const void buf);
+ virtual bool SetData(size_t len, const void* buf);
/**
Sets the supported format.
to by @a formats. There is enough space for GetFormatCount(dir) formats
in it.
*/
- virtual void GetAllFormats(wxDataFormat* formats, Direction dir = Get) const;
+ virtual void GetAllFormats(wxDataFormat* formats,
+ Direction dir = Get) const = 0;
/**
The method will write the data of the format @a format in the buffer
/**
Deletes given column.
*/
- virtual bool DeleteColumn(const wxDataViewColumn* column);
+ virtual bool DeleteColumn(wxDataViewColumn* column);
/**
Call this to ensure that the given item is visible.
The ctor.
*/
wxDataViewToggleRenderer(const wxString& varianttype = "bool",
- wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT);
+ wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
+ int align = wxDVR_DEFAULT_ALIGNMENT);
};
The ctor.
*/
wxDataViewDateRenderer(const wxString& varianttype = "datetime",
- wxDataViewCellMode mode = wxDATAVIEW_CELL_ACTIVATABLE);
+ wxDataViewCellMode mode = wxDATAVIEW_CELL_ACTIVATABLE,
+ int align = wxDVR_DEFAULT_ALIGNMENT);
};
This will ensure that the correct colour, font and vertical alignment will
be chosen so the text will look the same as text drawn by native renderers.
*/
- bool RenderText(const wxString& text, int xoffset, wxRect cell,
+ void RenderText(const wxString& text, int xoffset, wxRect cell,
wxDC* dc, int state);
/**
/**
Set the bitmap of the column header.
- */e
+ */
virtual void SetBitmap(const wxBitmap& bitmap);
/**
class wxHtmlWinParser : public wxHtmlParser
{
public:
- wxHtmlWinParser(wxHtmlWindowInterface* wndIface = 0);
-
/**
Constructor.
- Don't use the default one, use constructor with @a wndIface parameter
+ Don't use the default one, use the constructor with @a wndIface parameter
(@a wndIface is a pointer to interface object for the associated wxHtmlWindow
or other HTML rendering window such as wxHtmlListBox).
*/
- wxHtmlWinParser(wxHtmlWindowInterface* wndIface = 0);
+ wxHtmlWinParser(wxHtmlWindowInterface* wndIface = NULL);
/**
Adds module() to the list of wxHtmlWinParser tag handler.
/**
Returns @true if this class is a kind of (inherits from) the given class.
*/
- bool IsKindOf(const wxClassInfo* info);
+ bool IsKindOf(const wxClassInfo* info) const;
};
@see Broadcast()
*/
- void Signal();
+ wxCondError Signal();
/**
Waits until the condition is signalled.