// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
-// ============================================================================
-// headers & declarations
-// ============================================================================
-
#ifdef __GNUG__
#pragma implementation "checklst.h"
#endif
#pragma hdrstop
#endif
-#if USE_OWNER_DRAWN
-
-#include <windows.h>
+#if wxUSE_OWNER_DRAWN
+#include "wx/object.h"
+#include "wx/colour.h"
+#include "wx/font.h"
+#include "wx/bitmap.h"
+#include "wx/window.h"
+#include "wx/listbox.h"
#include "wx/ownerdrw.h"
+#include "wx/settings.h"
+#include "wx/dcmemory.h"
#include "wx/msw/checklst.h"
+#include <windows.h>
+
// ============================================================================
// implementation
// ============================================================================
RECT rect = { 0, 0, nCheckWidth, nCheckHeight };
#ifdef __WIN32__
+#ifndef __SC__
DrawFrameControl(hdcMem, &rect, DFC_MENU, DFCS_MENUCHECK);
+#endif
#else
// In WIN16, draw a cross
HPEN blackPen = CreatePen(PS_SOLID, 1, RGB(0, 0, 0));