#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:
parent
473016d68c
commit
231018bdb6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user