PCM: add ability to pin packages

Pinned packages don't affect available update notification and will not
be updated with "Update All" button. Manual update is still possible but
will trigger a confirmation dialog.
This commit is contained in:
qu1ck
2022-09-03 17:07:55 +00:00
committed by Seth Hillbrand
parent f6b1ff821b
commit 977b6cd8f3
12 changed files with 226 additions and 66 deletions
+7
View File
@@ -88,6 +88,13 @@ void SPLIT_BUTTON::SetBitmap( const wxBitmap& aBmp )
}
void SPLIT_BUTTON::SetLabel( const wxString& aLabel )
{
m_label = aLabel;
Refresh();
}
wxMenu* SPLIT_BUTTON::GetSplitButtonMenu()
{
return m_pMenu;