]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/fontdlg.cpp
don't reset the selection after event was vetoed if there is no old selection
[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 #include "wx/cmndata.h"
37 #endif
38
39 #include "wx/palmos/private.h"
40
41 #include <stdlib.h>
42 #include <string.h>
43
44 // ----------------------------------------------------------------------------
45 // wxWin macros
46 // ----------------------------------------------------------------------------
47
48 IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
49
50 // ============================================================================
51 // implementation
52 // ============================================================================
53
54 // ----------------------------------------------------------------------------
55 // wxFontDialog
56 // ----------------------------------------------------------------------------
57
58 int wxFontDialog::ShowModal()
59 {
60 return wxID_CANCEL;
61 }
62
63 #endif // wxUSE_FONTDLG