X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..6e4739a0e1e6b22dc33e5974cea0d5a4df89e815:/src/msw/ownerdrw.cpp diff --git a/src/msw/ownerdrw.cpp b/src/msw/ownerdrw.cpp index 22c152f23d..87e3ba77b6 100644 --- a/src/msw/ownerdrw.cpp +++ b/src/msw/ownerdrw.cpp @@ -162,7 +162,7 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, const wxRect& rc, wxODAction act, wxODSt if ( IsCheckable() && !m_bmpChecked.Ok() ) { if ( st & wxODChecked ) { // using native APIs for performance and simplicity - #ifdef O_DRAW_NATIVE_API +#ifdef O_DRAW_NATIVE_API // what goes on: DrawFrameControl creates a b/w mask, // then we copy it to screen to have right colors @@ -179,10 +179,10 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, const wxRect& rc, wxODAction act, wxODSt BitBlt(hdc, rc.x, rc.y, GetMarginWidth(), m_nHeight, hdcMem, 0, 0, SRCCOPY); DeleteDC(hdcMem); - #else +#else // #### to do: perhaps using Marlett font (create equiv. font under X) - wxFAIL("not implemented"); - #endif //O_DRAW_NATIVE_API +// wxFAIL("not implemented"); +#endif //O_DRAW_NATIVE_API } } else {