Make wxHtmlContainerCell ctor explicit
No real changes, just make it more difficult to misuse it accidentally.
This commit is contained in:
@@ -445,7 +445,7 @@ protected:
|
|||||||
class WXDLLIMPEXP_HTML wxHtmlContainerCell : public wxHtmlCell
|
class WXDLLIMPEXP_HTML wxHtmlContainerCell : public wxHtmlCell
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxHtmlContainerCell(wxHtmlContainerCell *parent);
|
explicit wxHtmlContainerCell(wxHtmlContainerCell *parent);
|
||||||
virtual ~wxHtmlContainerCell();
|
virtual ~wxHtmlContainerCell();
|
||||||
|
|
||||||
virtual void Layout(int w) wxOVERRIDE;
|
virtual void Layout(int w) wxOVERRIDE;
|
||||||
|
@@ -471,7 +471,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Constructor. @a parent is pointer to parent container or @NULL.
|
Constructor. @a parent is pointer to parent container or @NULL.
|
||||||
*/
|
*/
|
||||||
wxHtmlContainerCell(wxHtmlContainerCell* parent);
|
explicit wxHtmlContainerCell(wxHtmlContainerCell* parent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Detach a child cell.
|
Detach a child cell.
|
||||||
|
Reference in New Issue
Block a user