#include "wx/icon.h"
#include "wx/settings.h"
#include "wx/msgdlg.h"
+ #include "wx/cmndata.h"
#endif
#include "wx/module.h"
#include "wx/textctrl.h"
#include "wx/textdlg.h"
#include "wx/filefn.h"
-#include "wx/cmndata.h"
#include "wx/gdicmn.h"
#include "wx/imaglist.h"
#include "wx/sizer.h"
#include "wx/checkbox.h"
#include "wx/intl.h"
#include "wx/settings.h"
+ #include "wx/cmndata.h"
#endif
#include <string.h>
#include <stdlib.h>
-#include "wx/cmndata.h"
#include "wx/sizer.h"
#include "wx/fontdlg.h"
#include "wx/generic/fontdlgg.h"
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/settings.h"
+ #include "wx/cmndata.h"
#endif
#include "wx/fontutil.h"
-#include "wx/cmndata.h"
#include "wx/gdicmn.h"
#include "wx/tokenzr.h"
#include "wx/settings.h"
-#include "wx/cmndata.h"
+#ifndef WX_PRECOMP
+ #include "wx/cmndata.h"
+#endif
+
#include "wx/fontutil.h"
#include "wx/toplevel.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/settings.h"
+ #include "wx/cmndata.h"
#endif
#include "wx/fontutil.h"
-#include "wx/cmndata.h"
#include "wx/utils.h"
#include "wx/gdicmn.h"
#include "wx/tokenzr.h"
#include "wx/settings.h"
-#include "wx/cmndata.h"
+#ifndef WX_PRECOMP
+ #include "wx/cmndata.h"
+#endif
+
#include "wx/fontutil.h"
#include "wx/toplevel.h"
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dialog.h"
+ #include "wx/cmndata.h"
#endif // WX_PRECOMP
-#include "wx/cmndata.h"
#include "wx/filename.h"
#include "wx/mac/private.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/cmndata.h"
#endif
-#include "wx/cmndata.h"
#include "wx/fontutil.h"
// ============================================================================
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dialog.h"
+ #include "wx/cmndata.h"
#endif // WX_PRECOMP
-#include "wx/cmndata.h"
-
#include "wx/mac/private.h"
#ifdef __DARWIN__
/////////////////////////////////////////////////////////////////////////////
-// Name: fontdlg.cpp
+// Name: src/mac/classic/fontdlg.cpp
// Purpose: wxFontDialog class. NOTE: you can use the generic class
// if you wish, instead of implementing this.
// Author: Stefan Csomor
// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#include "wx/wxprec.h"
+
#include "wx/mac/fontdlg.h"
-#include "wx/cmndata.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/cmndata.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
// TODO: you may need to do dialog creation here, unless it's
// done in ShowModal.
- return TRUE;
+ return true;
}
int wxFontDialog::ShowModal()
// TODO: show (maybe create) the dialog
return wxID_CANCEL;
}
-
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/settings.h"
+ #include "wx/cmndata.h"
#endif
#include "wx/fontutil.h"
-#include "wx/cmndata.h"
#include "wx/gdicmn.h"
#include "wx/tokenzr.h"
#include "wx/mgl/private.h"
#pragma hdrstop
#endif
+#if wxUSE_COLOURDLG && !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
+
+#include "wx/colordlg.h"
+
#ifndef WX_PRECOMP
#include <stdio.h>
#include "wx/colour.h"
#include "wx/gdicmn.h"
#include "wx/utils.h"
#include "wx/dialog.h"
+ #include "wx/cmndata.h"
#endif
-#if wxUSE_COLOURDLG && !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
-
#include "wx/msw/private.h"
-#include "wx/colordlg.h"
-#include "wx/cmndata.h"
#include "wx/math.h"
#include "wx/msw/wrapcdlg.h"
#if wxUSE_FONTDLG
+#include "wx/fontdlg.h"
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dialog.h"
#include "wx/log.h"
+ #include "wx/cmndata.h"
#endif
-#include "wx/fontdlg.h"
#include "wx/msw/wrapcdlg.h"
-#include "wx/cmndata.h"
#include "wx/math.h"
#include <stdlib.h>
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/dcprint.h"
+ #include "wx/cmndata.h"
#endif
-#include "wx/cmndata.h"
#include "wx/printdlg.h"
#include "wx/msw/printdlg.h"
#include "wx/paper.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/dirdlg.h"
+
#ifndef WX_PRECOMP
#include <stdio.h>
#include "wx/utils.h"
#include "wx/dialog.h"
- #include "wx/dirdlg.h"
+ #include "wx/cmndata.h"
#endif
#include "wx/os2/private.h"
-#include "wx/cmndata.h"
#include <stdlib.h>
#include <string.h>
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/fontdlg.h"
+
#ifndef WX_PRECOMP
#include <stdio.h>
#include "wx/utils.h"
#include "wx/dialog.h"
#include "wx/math.h"
+ #include "wx/cmndata.h"
#endif
-#include "wx/fontdlg.h"
#include "wx/fontutil.h"
#define INCL_PM
#include <os2.h>
#include "wx/os2/private.h"
-#include "wx/cmndata.h"
#include <stdlib.h>
#include <string.h>
int wxFontDialog::ShowModal()
{
- FONTDLG vFontDlg;
- char zCurrentFont[FACESIZE];
- HWND hWndFontDlg;
- FACENAMEDESC vFn;
+ FONTDLG vFontDlg;
+ char zCurrentFont[FACESIZE];
+ HWND hWndFontDlg;
+ FACENAMEDESC vFn;
memset(&vFontDlg, '\0', sizeof(FONTDLG));
zCurrentFont[0] = '\0';
#pragma hdrstop
#endif
-#ifndef WX_PRECOMP
- #include "wx/intl.h"
-#endif
-
#if wxUSE_COLOURDLG
-#include "wx/cmndata.h"
#include "wx/colordlg.h"
+#ifndef WX_PRECOMP
+ #include "wx/intl.h"
+ #include "wx/cmndata.h"
+#endif
+
#include <UIColor.h>
#include <UIControls.h>
#include "wx/dialog.h"
#include "wx/math.h"
#include "wx/log.h"
+ #include "wx/cmndata.h"
#endif
#include "wx/palmos/private.h"
-#include "wx/cmndata.h"
-
#include <stdlib.h>
#include <string.h>