]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/fontdlg.cpp
Fixed wxMessageBox with only an OK button returning wxCANCEL under MSW.
[wxWidgets.git] / src / palmos / fontdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/fontdlg.cpp
3 // Purpose: wxFontDialog class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #if wxUSE_FONTDLG
28
29 #include "wx/fontdlg.h"
30
31 #ifndef WX_PRECOMP
32 #include "wx/utils.h"
33 #include "wx/dialog.h"
34 #include "wx/math.h"
35 #include "wx/log.h"
36 #endif
37
38 #include "wx/palmos/private.h"
39
40 #include <stdlib.h>
41 #include <string.h>
42
43 // ----------------------------------------------------------------------------
44 // wxWin macros
45 // ----------------------------------------------------------------------------
46
47 IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
48
49 // ============================================================================
50 // implementation
51 // ============================================================================
52
53 // ----------------------------------------------------------------------------
54 // wxFontDialog
55 // ----------------------------------------------------------------------------
56
57 int wxFontDialog::ShowModal()
58 {
59 return wxID_CANCEL;
60 }
61
62 #endif // wxUSE_FONTDLG