Applied patch [ 843965 ] RC/WXRC/XML related contribs and utils cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -256,9 +256,5 @@ void PropEditCtrlFile::OnDetails()
|
||||
|
||||
wxString PropEditCtrlImageFile::GetFileTypes()
|
||||
{
|
||||
return _("GIF files (*.gif)|*.gif|"
|
||||
"JPEG files (*.jpg)|*.jpg|"
|
||||
"PNG files (*.png)|*.png|"
|
||||
"BMP files (*.bmp)|*.bmp|"
|
||||
"All files (*)|*");
|
||||
return _("GIF files (*.gif)|*.gif|JPEG files (*.jpg)|*.jpg|PNG files (*.png)|*.png|BMP files (*.bmp)|*.bmp|All files (*)|*");
|
||||
}
|
||||
|
@@ -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."));
|
||||
}
|
||||
|
||||
|
||||
|
@@ -444,13 +444,12 @@ void wxTreeCompanionWindow::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
|
||||
wxSize clientSize = GetClientSize();
|
||||
wxRect itemRect;
|
||||
int cy=0;
|
||||
wxTreeItemId h, lastH;
|
||||
for(h=m_treeCtrl->GetFirstVisibleItem();h;h=m_treeCtrl->GetNextVisible(h))
|
||||
{
|
||||
if (m_treeCtrl->GetBoundingRect(h, itemRect))
|
||||
{
|
||||
cy = itemRect.GetTop();
|
||||
int cy = itemRect.GetTop();
|
||||
wxRect drawItemRect(0, cy, clientSize.x, itemRect.GetHeight());
|
||||
|
||||
lastH = h;
|
||||
@@ -462,7 +461,7 @@ void wxTreeCompanionWindow::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
}
|
||||
if (lastH.IsOk() && m_treeCtrl->GetBoundingRect(lastH, itemRect))
|
||||
{
|
||||
cy = itemRect.GetBottom();
|
||||
int cy = itemRect.GetBottom();
|
||||
dc.DrawLine(0, cy, clientSize.x, cy);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user