]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed #ifdef __WXMAC__ around dialog initialisation.
authorJulian Smart <julian@anthemion.co.uk>
Fri, 6 Sep 2002 16:32:34 +0000 (16:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 6 Sep 2002 16:32:34 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/fontdlgg.cpp

index 0de608cd458ebdc8228c1055943dfd12d150658a..359424e7ece911d8bfc43c58f2b268be3d765e64 100644 (file)
@@ -167,9 +167,7 @@ void wxGenericFontDialog::Init()
 {
   m_useEvents = FALSE;
   m_previewer = NULL;
-#ifdef __WXMAC__
   Create( m_parent ) ;
-#endif
 }
 
 wxGenericFontDialog::~wxGenericFontDialog()
@@ -183,14 +181,13 @@ void wxGenericFontDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
 
 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();