Added a const to be consistent with the generic class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dd133a2044
commit
bfe3577625
@ -63,7 +63,7 @@ public:
|
||||
// the area between the scrollbars (spreadsheet: only cell area
|
||||
// will move).
|
||||
virtual void SetTargetWindow( wxWindow *target, bool pushEventHandler = FALSE );
|
||||
virtual wxWindow *GetTargetWindow();
|
||||
virtual wxWindow *GetTargetWindow() const;
|
||||
|
||||
// Set the scrolled area of the window.
|
||||
virtual void DoSetVirtualSize( int x, int y );
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
// the area between the scrollbars (spreadsheet: only cell area
|
||||
// will move).
|
||||
virtual void SetTargetWindow( wxWindow *target, bool pushEventHandler = FALSE );
|
||||
virtual wxWindow *GetTargetWindow();
|
||||
virtual wxWindow *GetTargetWindow() const;
|
||||
|
||||
// Set the scrolled area of the window.
|
||||
virtual void DoSetVirtualSize( int x, int y );
|
||||
|
@ -442,7 +442,7 @@ void wxScrolledWindow::SetTargetWindow( wxWindow *target, bool WXUNUSED(pushEven
|
||||
m_targetWindow = target;
|
||||
}
|
||||
|
||||
wxWindow *wxScrolledWindow::GetTargetWindow()
|
||||
wxWindow *wxScrolledWindow::GetTargetWindow() const
|
||||
{
|
||||
return m_targetWindow;
|
||||
}
|
||||
|
@ -442,7 +442,7 @@ void wxScrolledWindow::SetTargetWindow( wxWindow *target, bool WXUNUSED(pushEven
|
||||
m_targetWindow = target;
|
||||
}
|
||||
|
||||
wxWindow *wxScrolledWindow::GetTargetWindow()
|
||||
wxWindow *wxScrolledWindow::GetTargetWindow() const
|
||||
{
|
||||
return m_targetWindow;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user