• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.OSDN Installation Manager Tool


Commit MetaInfo

Revision420e5ec21ec2875ac01cdf11d62b70a4537e76a9 (tree)
Zeit2012-12-19 07:46:14
AutorKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Log Message

Update tab display on right-click in package list view.

Ändern Zusammenfassung

Diff

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
1+2012-12-18 Keith Marshall <keithmarshall@users.sourceforge.net>
2+
3+ Update tab display on right-click in package list view.
4+
5+ * src/pkgdata.cpp (AppWindowMaker::OnNotify) [NM_RCLICK]:
6+ Call DataSheetMaker::DisplayData(), before invoking pop-up menu.
7+
18 2012-12-17 Keith Marshall <keithmarshall@users.sourceforge.net>
29
310 Add more protection against NULL pointer abuse.
--- a/src/pkgdata.cpp
+++ b/src/pkgdata.cpp
@@ -4,7 +4,7 @@
44 * $Id$
55 *
66 * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
7- * Copyright (C) 2012, MinGW Project
7+ * Copyright (C) 2012, MinGW.org Project
88 *
99 *
1010 * Implementation of the classes and methods required to support the
@@ -1193,10 +1193,12 @@ long AppWindowMaker::OnNotify( WPARAM client_id, LPARAM data )
11931193 case ID_PACKAGE_LISTVIEW:
11941194 if( ((NMHDR *)(data))->code == NM_RCLICK )
11951195 {
1196- /* A right button mouse click within the package list view
1197- * selects the package under the cursor, and offers a pop-up
1198- * menu of actions which may be performed on it.
1196+ /* A right mouse button click within the package list view
1197+ * selects the package under the cursor, refreshing the tab
1198+ * pane to display its associated data sheet, and offers a
1199+ * pop-up menu of actions which may be performed on it.
11991200 */
1201+ DataSheet->DisplayData( PackageTabControl, PackageListView );
12001202 SelectPackageAction( LVHT_ONITEMICON | LVHT_ONITEMLABEL );
12011203 break;
12021204 }