-// rcPaint = GetTextRectangle();
-// wxClientDC dc(wMain.GetID());
-// Surface surfaceWindow;
-// surfaceWindow.Init(&dc);
-// Paint(&surfaceWindow, rcPaint);
-// surfaceWindow.Release();
- wMain.GetID()->Refresh(FALSE);
+ rcPaint = GetTextRectangle();
+ paintingAllText = true;
+ wxClientDC dc(wMain.GetID());
+ Surface surfaceWindow;
+ surfaceWindow.Init(&dc);
+ Paint(&surfaceWindow, rcPaint);
+ surfaceWindow.Release();
+
+// wMain.GetID()->Refresh(FALSE);
+