git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17017
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
m_useEvents = FALSE;
m_previewer = NULL;
-#ifdef __WXMAC__
Create( m_parent ) ;
-#endif
}
wxGenericFontDialog::~wxGenericFontDialog()
bool wxGenericFontDialog::DoCreate(wxWindow *parent)
{
-#ifdef __WXMAC__
if ( !wxDialog::Create( parent , -1 , _T("Choose Font") , wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE,
_T("fontdialog") ) )
{
wxFAIL_MSG( wxT("wxFontDialog creation failed") );
return FALSE;
}
-#endif
+
InitializeFont();
CreateWidgets();