fixed internal border drawing for listbox in GTK theme

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-08 15:12:49 +00:00
parent a10069108f
commit f40a103306
3 changed files with 20 additions and 7 deletions

View File

@@ -118,6 +118,12 @@ public:
// operations
virtual void SetCurrent(bool doit = TRUE);
// get the scrollbar (may be NULL) for the given orientation
wxScrollBar *GetScrollbar(int orient) const
{
return orient & wxVERTICAL ? m_scrollbarVert : m_scrollbarHorz;
}
// methods used by wxColourScheme to choose the colours for this window
// --------------------------------------------------------------------
@@ -185,12 +191,6 @@ protected:
// adjust the size of the window to take into account its borders
wxSize AdjustSize(const wxSize& size) const;
// get the scrollbar (may be NULL) for the given orientation
wxScrollBar *GetScrollbar(int orient) const
{
return orient & wxVERTICAL ? m_scrollbarVert : m_scrollbarHorz;
}
// put the scrollbars along the edges of the window
void PositionScrollbars();