[commit] r1973 - trunk/GME/PartBrowser
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Fri Jul 20 14:50:42 CDT 2012
Author: ksmyth
Date: Fri Jul 20 14:50:41 2012
New Revision: 1973
Log:
Fixes GME-405: need to resize PartBrowser tabs and redraw background when last model tab is closed
Modified:
trunk/GME/PartBrowser/PartBrowserDlg.cpp
trunk/GME/PartBrowser/PartBrowserPane.cpp
Modified: trunk/GME/PartBrowser/PartBrowserDlg.cpp
==============================================================================
--- trunk/GME/PartBrowser/PartBrowserDlg.cpp Fri Jul 20 14:50:31 2012 (r1972)
+++ trunk/GME/PartBrowser/PartBrowserDlg.cpp Fri Jul 20 14:50:41 2012 (r1973)
@@ -123,8 +123,8 @@
}
catch (hresult_exception&) {
}
- Resize();
}
+ Resize();
}
void CPartBrowserDlg::Resize()
Modified: trunk/GME/PartBrowser/PartBrowserPane.cpp
==============================================================================
--- trunk/GME/PartBrowser/PartBrowserPane.cpp Fri Jul 20 14:50:31 2012 (r1972)
+++ trunk/GME/PartBrowser/PartBrowserPane.cpp Fri Jul 20 14:50:41 2012 (r1973)
@@ -340,7 +340,8 @@
CreateDecorators(metaParts);
}
MGACOLL_ITERATE_END;
- }
+ } else
+ Invalidate(TRUE);
}
void CPartBrowserPane::SetBgColor(COLORREF bgColor)
More information about the gme-commit
mailing list