\small{%
\begin{verbatim}
- void MyWindow::OnPaint(wxPaintEvent\& event)
+ void MyWindow::OnPaint(wxPaintEvent& event)
{
wxPaintDC dc(this);
{\small%
\begin{verbatim}
// Called when window needs to be repainted.
-void MyWindow::OnPaint(wxPaintEvent\& event)
+void MyWindow::OnPaint(wxPaintEvent& event)
{
wxPaintDC dc(this);
vH = upd.GetH();
// Alternatively we can do this:
- // wxRect rect;
- // upd.GetRect(&rect);
+ // wxRect rect(upd.GetRect());
// Repaint this rectangle
...some code...