git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43341
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/mac/private.h"
#endif
#include "wx/mac/private.h"
#endif
#include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#endif
#include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#endif
x=0;
GetVirtualSize(&w, &h);
wxRect rect( x, item->GetY()+offset, w, total_h-offset);
x=0;
GetVirtualSize(&w, &h);
wxRect rect( x, item->GetY()+offset, w, total_h-offset);
dc.DrawRectangle(rect);
#else
if (!item->IsSelected())
dc.DrawRectangle(rect);
#else
if (!item->IsSelected())
// background colour.
wxRect rect( item->GetX() + image_w - 2, item->GetY()+offset,
item->GetWidth() - image_w + 2, total_h-offset );
// background colour.
wxRect rect( item->GetX() + image_w - 2, item->GetY()+offset,
item->GetWidth() - image_w + 2, total_h-offset );
dc.DrawRectangle( rect );
#else
CalcScrolledPosition( rect.x, rect.y, &rect.x, &rect.y );
dc.DrawRectangle( rect );
#else
CalcScrolledPosition( rect.x, rect.y, &rect.x, &rect.y );
{
wxRect rect( item->GetX()-2, item->GetY()+offset,
item->GetWidth()+2, total_h-offset );
{
wxRect rect( item->GetX()-2, item->GetY()+offset,
item->GetWidth()+2, total_h-offset );
dc.DrawRectangle( rect );
#else
if ( attr && attr->HasBackgroundColour() )
dc.DrawRectangle( rect );
#else
if ( attr && attr->HasBackgroundColour() )