wxToolBarTool::IsXXX() should return bool, not int

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-10-26 23:56:08 +00:00
parent dbd4b16d5e
commit 42d6e13697

View File

@@ -120,9 +120,9 @@ public:
wxToolBarBase *GetToolBar() const { return m_tbar; } wxToolBarBase *GetToolBar() const { return m_tbar; }
// style // style
int IsButton() const { return m_toolStyle == wxTOOL_STYLE_BUTTON; } bool IsButton() const { return m_toolStyle == wxTOOL_STYLE_BUTTON; }
int IsControl() const { return m_toolStyle == wxTOOL_STYLE_CONTROL; } bool IsControl() const { return m_toolStyle == wxTOOL_STYLE_CONTROL; }
int IsSeparator() const { return m_toolStyle == wxTOOL_STYLE_SEPARATOR; } bool IsSeparator() const { return m_toolStyle == wxTOOL_STYLE_SEPARATOR; }
int GetStyle() const { return m_toolStyle; } int GetStyle() const { return m_toolStyle; }
// state // state