projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Warning fixes.
[wxWidgets.git]
/
src
/
gtk
/
scrolwin.cpp
diff --git
a/src/gtk/scrolwin.cpp
b/src/gtk/scrolwin.cpp
index 12db2fc8a4309e5366f05ea2eff8e69586913028..fd31b4e024c25b015742fc1c5eff5604422661b3 100644
(file)
--- a/
src/gtk/scrolwin.cpp
+++ b/
src/gtk/scrolwin.cpp
@@
-6,7
+6,7
@@
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Robert Roebling
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Robert Roebling
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
@@
-28,10
+28,9
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
+#include "wx/scrolwin.h"
#include "wx/utils.h"
#include "wx/dcclient.h"
#include "wx/utils.h"
#include "wx/dcclient.h"
-
-#include "wx/scrolwin.h"
#include "wx/panel.h"
#include "wx/sizer.h"
#include "wx/panel.h"
#include "wx/sizer.h"
@@
-453,7
+452,7
@@
wxWindow *wxScrolledWindow::GetTargetWindow() const
// Override this function if you don't want to have wxScrolledWindow
// automatically change the origin according to the scroll position.
// Override this function if you don't want to have wxScrolledWindow
// automatically change the origin according to the scroll position.
-void wxScrolledWindow::PrepareDC(wxDC& dc)
+void wxScrolledWindow::
Do
PrepareDC(wxDC& dc)
{
dc.SetDeviceOrigin( -m_xScrollPosition * m_xScrollPixelsPerLine,
-m_yScrollPosition * m_yScrollPixelsPerLine );
{
dc.SetDeviceOrigin( -m_xScrollPosition * m_xScrollPixelsPerLine,
-m_yScrollPosition * m_yScrollPixelsPerLine );