how do you get the default font for wxListCtrl?

Kevin Altis wrote:

From: Robin Dunn

Kevin Altis wrote:

How do you get the font for a wxListCtrl? With most controls

you can simply

call GetFont() and then use the returned object, but with wxListCtrl,
GetFont() doesn't return a valid object.

Please submit a bug report about it. wxListCtrl should be made
consistent...

Done. Is there a workaround way of getting the font for 2.4.1.2 and earlier?

Normally the controls will inherit the font of their parent window, but I don't know if it does in this case.

Is this really just specific to wxPython on Windows?

Specific to wxMSW.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!