X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3b466481eac25cbef1d35aaf6ee9d94167a07b9..fd323a5e230f2b08227b307ff900698fb85d5519:/src/msw/checklst.cpp diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 05b5b86c06..9ab8c3ceb7 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -22,11 +22,19 @@ #if wxUSE_OWNER_DRAWN -#include - +#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 + // ============================================================================ // implementation // ============================================================================ @@ -120,7 +128,9 @@ bool wxCheckListBoxItem::OnDrawItem(wxDC& dc, const wxRect& rc, 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));