if (m_Dirty) return;
m_Dirty = TRUE;
m_LogCtrl->Clear();
- m_LogCtrl->SetValue(_("Resource modified.\n"
- "Move mouse cursor over the preview window to refresh it."));
+ m_LogCtrl->SetValue(_("Resource modified.\nMove mouse cursor over the preview window to refresh it."));
}
void PreviewFrame::PreviewMenu()
{
- wxMenuBar *mbar;
+ wxMenuBar *mbar = NULL;
if (XmlGetClass(m_Node) == _T("wxMenuBar"))
mbar = m_RC->LoadMenuBar(m_Node->GetPropVal(_T("name"), _T("-1")));
EVT_ENTER_WINDOW(PreviewFrame::OnMouseEnter)
END_EVENT_TABLE()
-void PreviewFrame::OnMouseEnter(wxMouseEvent& event)
+void PreviewFrame::OnMouseEnter(wxMouseEvent& WXUNUSED(event))
{
if (m_Dirty) Preview(m_Node,m_Doc);
}