Lines Matching refs:sm_instance
266 wxFontMapper *wxFontMapperBase::sm_instance = NULL;
290 if ( !sm_instance )
295 sm_instance = traits->CreateFontMapper();
297 wxASSERT_MSG( sm_instance,
301 if ( !sm_instance )
305 sm_instance = (wxFontMapper *)new wxFontMapperBase;
309 return (wxFontMapperBase*)sm_instance;
315 wxFontMapper *old = sm_instance;
316 sm_instance = mapper;
323 if ( sm_instance )
328 delete (wxFontMapperBase *)sm_instance;
329 sm_instance = NULL;