X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/951cf90dfbec7dd4fc6bd1c91dc6a16dde2f3fd4..83911a5a4d3be63141419b4401259093514794a3:/src/msw/fontdlg.cpp?ds=sidebyside diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index b15e0adcbd..fdcbccd218 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -38,8 +38,9 @@ #include "wx/fontdlg.h" -#if !defined(__WIN32__) || defined(__SALFORDC__) || defined(__WXWINE__) - #include +#if !defined(__WIN32__) || defined(__SALFORDC__) +#include +#include #endif #include "wx/msw/private.h" @@ -64,27 +65,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) // wxFontDialog // ---------------------------------------------------------------------------- -wxFontDialog::wxFontDialog() -{ - m_parent = NULL; -} - -wxFontDialog::wxFontDialog(wxWindow *parent, wxFontData *data) -{ - Create(parent, data); -} - -bool wxFontDialog::Create(wxWindow *parent, wxFontData *data) -{ - m_parent = parent; - - wxCHECK_MSG( data, FALSE, _T("no font data in wxFontDialog") ); - - m_fontData = *data; - - return TRUE; -} - int wxFontDialog::ShowModal() { DWORD flags = CF_SCREENFONTS | CF_NOSIMULATIONS;