1. undid wxGTK timer hack, corrected bug in my code
2. clip wxPaintDC to the client area git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -421,5 +421,7 @@ void MyUnivCanvas::OnPaint(wxPaintEvent& event)
|
||||
dc.DrawText(_T("This is the top of the canvas"), 10, 10);
|
||||
dc.DrawLabel(_T("This is the bottom of the canvas"),
|
||||
wxRect(0, 950, 950, 50), wxALIGN_RIGHT | wxBOTTOM);
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user