fix header files so that they can be included directly without generating 'undefined reference' errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
/*!
|
/*!
|
||||||
* Includes
|
* Includes
|
||||||
*/
|
*/
|
||||||
|
#include "wx/spinbutt.h" // for wxSpinEvent
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Forward declarations
|
* Forward declarations
|
||||||
|
@@ -443,7 +443,7 @@ public:
|
|||||||
wxToolBarToolBase *FindById(int toolid) const;
|
wxToolBarToolBase *FindById(int toolid) const;
|
||||||
|
|
||||||
// return true if this is a vertical toolbar, otherwise false
|
// 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
|
// the old versions of the various methods kept for compatibility
|
||||||
|
@@ -125,6 +125,7 @@ void wxToolBarToolBase::SetDropdownMenu(wxMenu* menu)
|
|||||||
m_dropdownMenu = menu;
|
m_dropdownMenu = menu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxToolBarBase adding/deleting items
|
// wxToolBarBase adding/deleting items
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -596,6 +597,12 @@ void wxToolBarBase::SetRows(int WXUNUSED(nRows))
|
|||||||
// nothing
|
// nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxToolBarBase::IsVertical() const
|
||||||
|
{
|
||||||
|
return HasFlag(wxTB_LEFT | wxTB_RIGHT);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// event processing
|
// event processing
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user