Applied patch [ 846809 ] Cleaning of 11 samples

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-12-11 11:25:46 +00:00
parent 623f5f7015
commit dacaa6f142
12 changed files with 46 additions and 38 deletions

View File

@@ -150,7 +150,7 @@ public:
void OnPaint(wxPaintEvent &event);
void OnMouseMove(wxMouseEvent &event);
void Show(ScreenToShow show) { m_show = show; Refresh(); }
void ToShow(ScreenToShow show) { m_show = show; Refresh(); }
// set or remove the clipping region
void Clip(bool clip) { m_clip = clip; Refresh(); }
@@ -1141,7 +1141,7 @@ void MyFrame::OnClip(wxCommandEvent& event)
void MyFrame::OnShow(wxCommandEvent& event)
{
m_canvas->Show((ScreenToShow)(event.GetId() - MenuShow_First));
m_canvas->ToShow((ScreenToShow)(event.GetId() - MenuShow_First));
}
void MyFrame::OnOption(wxCommandEvent& event)