X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c74caa095c12410bd6a555df248699cb35821a8d..a0086878b09ea394de9f5746a5e8f066a3d12dec:/contrib/utils/wxrcedit/preview.cpp?ds=inline diff --git a/contrib/utils/wxrcedit/preview.cpp b/contrib/utils/wxrcedit/preview.cpp index 22d9ceeaab..0d84d45db5 100644 --- a/contrib/utils/wxrcedit/preview.cpp +++ b/contrib/utils/wxrcedit/preview.cpp @@ -134,8 +134,7 @@ void PreviewFrame::MakeDirty() 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.")); } @@ -202,7 +201,7 @@ void PreviewFrame::Preview(wxXmlNode *node, wxXmlDocument *orig_doc) 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"))); @@ -274,7 +273,7 @@ BEGIN_EVENT_TABLE(PreviewFrame, wxFrame) 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); }