Make wxHtmlContainerCell ctor explicit

No real changes, just make it more difficult to misuse it accidentally.
This commit is contained in:
Vadim Zeitlin
2018-08-25 21:19:33 +02:00
parent a59f5932df
commit d09a7180e7
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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.