editMenu = NULL;
}
-void MyFrame::OnSize(wxSizeEvent& WXUNUSED(event))
+void MyFrame::OnSize(wxSizeEvent& event)
{
if (canvas && palette)
{
palette->SetSize(paletteX, paletteY, paletteW, paletteH);
canvas->SetSize(canvasX, canvasY, canvasW, canvasH);
}
+ event.Skip();
}
void MyFrame::OnCloseWindow(wxCloseEvent& event)