void SetCurrentCategory( wxPGPropArg id )
{
wxPG_PROP_ARG_CALL_PROLOG()
- wxPropertyCategory* pc = (wxPropertyCategory*)p;
-#ifdef __WXDEBUG__
- if ( pc ) wxASSERT( pc->IsCategory() );
-#endif
+ wxPropertyCategory* pc = wxDynamicCast(p, wxPropertyCategory);
+ wxASSERT(pc);
m_pState->m_currentCategory = pc;
}
// background colour for empty space below the grid
wxColour m_colEmptySpace;
- // temp property array used in DoDrawItems
- wxArrayPtrVoid m_visPropArray;
-
// NB: These *cannot* be moved to globals.
// Array of background colour brushes.