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:
@@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user