refresh menu item should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -417,7 +417,8 @@ void MyChild::OnQuit(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
void MyChild::OnRefresh(wxCommandEvent& event)
|
void MyChild::OnRefresh(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
Refresh();
|
if ( canvas )
|
||||||
|
canvas->Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyChild::OnActivate(wxActivateEvent& event)
|
void MyChild::OnActivate(wxActivateEvent& event)
|
||||||
|
Reference in New Issue
Block a user