]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
add pure virtual function parsing; give more informative warnings; fix the initial...
[wxWidgets.git] / src / common / tbarbase.cpp
index 071dac26d3558a0953d1efcfffd357c39108e316..abb467f5ca1882ee03afe354726cc64195d8c447 100644 (file)
@@ -125,6 +125,7 @@ void wxToolBarToolBase::SetDropdownMenu(wxMenu* menu)
     m_dropdownMenu = menu;
 }
 
+
 // ----------------------------------------------------------------------------
 // wxToolBarBase adding/deleting items
 // ----------------------------------------------------------------------------
@@ -596,6 +597,12 @@ void wxToolBarBase::SetRows(int WXUNUSED(nRows))
     // nothing
 }
 
+bool wxToolBarBase::IsVertical() const
+{
+    return HasFlag(wxTB_LEFT | wxTB_RIGHT);
+}
+
+
 // ----------------------------------------------------------------------------
 // event processing
 // ----------------------------------------------------------------------------