X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46ccb5107ff22cb5cc1b36ef2a28ea1e31b0fc91..a6aa9b1ee8aaecdf0ca4618c2e6cccfb011f4599:/include/wx/tbarsmpl.h?ds=sidebyside diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index 5094b665d9..54e1354a77 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -18,7 +18,7 @@ #include "wx/defs.h" -#if USE_TOOLBAR +#if wxUSE_TOOLBAR #include "wx/bitmap.h" #include "wx/list.h" @@ -26,7 +26,7 @@ class WXDLLEXPORT wxMemoryDC; -WXDLLEXPORT_DATA(extern const char*) wxToolBarNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr; WXDLLEXPORT_DATA(extern const wxSize) wxDefaultSize; WXDLLEXPORT_DATA(extern const wxPoint) wxDefaultPosition; @@ -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; @@ -75,7 +75,7 @@ DECLARE_EVENT_TABLE() }; -#endif // USE_TOOLBAR +#endif // wxUSE_TOOLBAR #endif // _WX_TBARSMPLH__