title: How to change wxFont's font family on OSX?
body: <p>I have a paint function which look like this:</p>
  
  <pre><code>void doPaintBackground(wxDC &amp;dc) {
  
      wxBrush  brush = wxBrush(*wBLACK_BRUSH) ;
      wxPen pen = wxPen(color_) ;
      dc.SetBrush(brush) ;
      dc.SetPen(pen) ;
  
      wxString Str = L"SOMETHING";
      wxFont font = dc.GetFont();
      font.SetFamily(wxFONTFAMILY_MODERN);
      dc.SetFont(font);   
      dc.DrawText(Str, 3, 0);
  }
  </code></pre>
  
  <p>And this works on Windows and the family changes to <code>wxFONTFAMILY_MODERN</code>, but on OSX it always stays on <code>wxFONTFAMILY_DEFAULT</code>.
  Can somebody tell me why?</p>