X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e320a79f187558effb04d92020b470372bbe456..d9d8273d9c94dc6c098dff2e9495e9336f06dc18:/src/os2/fontdlg.cpp diff --git a/src/os2/fontdlg.cpp b/src/os2/fontdlg.cpp index 60e8e9b987..841c3b56fd 100644 --- a/src/os2/fontdlg.cpp +++ b/src/os2/fontdlg.cpp @@ -2,21 +2,39 @@ // Name: fontdlg.cpp // Purpose: wxFontDialog class. NOTE: you can use the generic class // if you wish, instead of implementing this. -// Author: AUTHOR +// Author: David Webster // Modified by: -// Created: ??/??/98 +// Created: 10/06/99 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) David Webster +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifndef WX_PRECOMP +#include +#include "wx/defs.h" +#include "wx/utils.h" +#include "wx/dialog.h" #endif -#include "wx/stubs/fontdlg.h" +#include "wx/fontdlg.h" + +#define INCL_PM +#include + +#include "wx/os2/private.h" #include "wx/cmndata.h" +#include +#include +#include + +#define wxDIALOG_DEFAULT_X 300 +#define wxDIALOG_DEFAULT_Y 300 + #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) #endif @@ -24,7 +42,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) /* * wxFontDialog */ - wxFontDialog::wxFontDialog() { m_dialogParent = NULL; @@ -41,9 +58,6 @@ bool wxFontDialog::Create(wxWindow *parent, wxFontData *data) if (data) m_fontData = *data; - - // TODO: you may need to do dialog creation here, unless it's - // done in ShowModal. return TRUE; }