summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxUI.cpp')
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp
index 0f6d09b..0a23282 100644
--- a/ldmicro/lib/linuxUI/linuxUI.cpp
+++ b/ldmicro/lib/linuxUI/linuxUI.cpp
@@ -20,8 +20,6 @@ std::vector<TimerRecord> timerRecords;
/// EnableMenuItem Variables
const UINT MF_ENABLED = 0;
const UINT MF_GRAYED = 1;
-const UINT MF_CHECKED = 2;
-const UINT MF_UNCHECKED = 3;
/// Accelerators (keyboard shortcuts)
GtkAccelGroup* AccelGroup;
@@ -244,18 +242,6 @@ void EnableMenuItem(HMENU MenuName, HMENU MenuItem, UINT CheckEnabledItem)
}
}
-void CheckMenuItem(HMENU MenuName, HMENU MenuItem, UINT Check)
-{
- switch (Check){
- case MF_CHECKED :
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(MenuItem), true);
- break;
- case MF_UNCHECKED :
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(MenuItem), false);
- break;
- }
-}
-
HANDLE GetStockObject(int fnObject)
{
switch(fnObject)