]> git.saurik.com Git - wxWidgets.git/commitdiff
fix header files so that they can be included directly without generating 'undefined...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 20 Mar 2008 18:11:26 +0000 (18:11 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 20 Mar 2008 18:11:26 +0000 (18:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextbulletspage.h
include/wx/tbarbase.h
src/common/tbarbase.cpp

index 1ef9bfe70a6076cf6770a706b9343ee251b9bd3b..bbfcc893ba0808c26997f146ec9ca4077737f904 100644 (file)
@@ -15,6 +15,7 @@
 /*!
  * Includes
  */
+#include "wx/spinbutt.h"        // for wxSpinEvent
 
 /*!
  * Forward declarations
index 0ff7c9373aff3565f4931e3a6fcab06066a173f7..0ffef62ce3156d729df2c66cc68b9d5457d7a9fc 100644 (file)
@@ -394,7 +394,7 @@ public:
     virtual void SetToolDisabledBitmap(int WXUNUSED(id),
                                        const wxBitmap& WXUNUSED(bitmap)) {}
 
-    
+
     // margins/packing/separation
     // --------------------------
 
@@ -443,7 +443,7 @@ public:
     wxToolBarToolBase *FindById(int toolid) const;
 
     // return true if this is a vertical toolbar, otherwise false
-    bool IsVertical() const { return HasFlag(wxTB_LEFT | wxTB_RIGHT); }
+    bool IsVertical() const;
 
 
     // the old versions of the various methods kept for compatibility
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
 // ----------------------------------------------------------------------------