X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f39f922082998efebf8ae831a8458f4beca390dc..c0d6c58bd0d7d6b7dae707b2a78c7f917f98da77:/include/wx/tbarsmpl.h diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index 132aa56d4e..54e1354a77 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -62,10 +62,10 @@ class WXDLLEXPORT wxToolBarSimple : public wxToolBarBase virtual void SpringUpButton(int index); - void Layout(void); + virtual void LayoutTools(); // The post-tool-addition call - bool Realize() { Layout(); return TRUE; }; + virtual bool Realize() { LayoutTools(); return TRUE; }; protected: int m_currentRowsOrColumns;