summaryrefslogtreecommitdiff
path: root/hammer/mychecklistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'hammer/mychecklistbox.h')
-rw-r--r--hammer/mychecklistbox.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/hammer/mychecklistbox.h b/hammer/mychecklistbox.h
new file mode 100644
index 0000000..7909313
--- /dev/null
+++ b/hammer/mychecklistbox.h
@@ -0,0 +1,23 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+
+#ifndef _MYCHECKLISTBOX_H
+#define _MYCHECKLISTBOX_H
+
+// for SOME REASON CompareItem in a CCheckListBox has to be overridden.
+// dumb MFC.
+
+class CMyCheckListBox : public CCheckListBox
+{
+public:
+ BOOL CompareItem(LPCOMPAREITEMSTRUCT lpcis)
+ { return 0; }
+};
+
+
+#endif // _MYCHECKLISTBOX_H \ No newline at end of file