image to bitmap rewrite,
ViewStart() renamed GetViewStart() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,7 +72,7 @@ by one of the two streams.
|
||||
% -----------------------------------------------------------------------------
|
||||
% wxCountingOutputStream
|
||||
% -----------------------------------------------------------------------------
|
||||
\section{\class{wxCountOutputStream}}\label{wxcountingoutputstream}
|
||||
\section{\class{wxCountingOutputStream}}\label{wxcountingoutputstream}
|
||||
|
||||
wxCountingOutputStream is specialized output stream which does not write any data anyway,
|
||||
instead it counts how many bytes would get written if this were a normal stream. This
|
||||
|
@@ -351,9 +351,9 @@ adjusting the scrollbars appropriately.
|
||||
Call this function to tell wxScrolledWindow to perform the actually scrolling on
|
||||
a different window (not on itself).
|
||||
|
||||
\membersection{wxScrolledWindow::ViewStart}\label{wxscrolledwindowviewstart}
|
||||
\membersection{wxScrolledWindow::GetViewStart}\label{wxscrolledwindowgetviewstart}
|
||||
|
||||
\constfunc{void}{ViewStart}{\param{int* }{x}, \param{int* }{ y}}
|
||||
\constfunc{void}{GetViewStart}{\param{int* }{x}, \param{int* }{ y}}
|
||||
|
||||
Get the position at which the visible portion of the window starts.
|
||||
|
||||
|
@@ -1405,7 +1405,7 @@ void MyWindow::OnPaint(wxPaintEvent\& event)
|
||||
|
||||
// Find Out where the window is scrolled to
|
||||
int vbX,vbY; // Top left corner of client
|
||||
ViewStart(&vbX,&vbY);
|
||||
GetViewStart(&vbX,&vbY);
|
||||
|
||||
int vX,vY,vW,vH; // Dimensions of client area in pixels
|
||||
wxRegionIterator upd(GetUpdateRegion()); // get the update rect list
|
||||
|
Reference in New Issue
Block a user