#if wxUSE_CARET guard.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2006-11-05 21:07:18 +00:00
parent 473016d68c
commit 231018bdb6

View File

@ -4236,6 +4236,7 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) )
m_clipPaintRegion = false; m_clipPaintRegion = false;
#if wxUSE_CARET
bool restoreCaret = (GetCaret() != NULL && GetCaret()->IsVisible()); bool restoreCaret = (GetCaret() != NULL && GetCaret()->IsVisible());
if (restoreCaret) if (restoreCaret)
{ {
@ -4255,6 +4256,7 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) )
RefreshRect(caretRect); RefreshRect(caretRect);
} }
#endif
} }
void wxWindowGTK::GtkScrolledWindowSetBorder(GtkWidget* w, int wxstyle) void wxWindowGTK::GtkScrolledWindowSetBorder(GtkWidget* w, int wxstyle)