fixed last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-05-13 00:20:35 +00:00
parent b61daf80db
commit 390d9ef3a8

View File

@@ -36,10 +36,9 @@ inline bool wxInPaintEvent(wxWindow* win, wxDC& dc)
return return
#if wxMAC_USE_CORE_GRAPHICS #if wxMAC_USE_CORE_GRAPHICS
win->MacGetCGContextRef() != NULL || win->MacGetCGContextRef() != NULL ||
#else #endif
// wxMemoryDC derives from wxPaintDC so it is okay too. // wxMemoryDC derives from wxPaintDC so it is okay too.
dc.IsKindOf( CLASSINFO(wxPaintDC) ); dc.IsKindOf( CLASSINFO(wxPaintDC) );
#endif
} }