title += wxT("wxMAC");
#elif defined(__WXMOTIF__)
title += wxT("wxMOTIF");
-#elif defined(__WXPALMOS5__)
- title += wxT("wxPALMOS5");
-#elif defined(__WXPALMOS6__)
- title += wxT("wxPALMOS6");
#else
title += wxT("wxWidgets");
#endif
(*it)->SetFont(m_font);
(*it)->Refresh();
}
+
+ // The best size of the widget could have changed after changing its font,
+ // so re-layout to show it correctly.
+ page->Layout();
#else
wxLogMessage(wxT("Font selection dialog not available in current build."));
#endif