]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontdlg.h
Added wxTopLevelWindow::HasFocus() as discussed.
[wxWidgets.git] / include / wx / fontdlg.h
index b400315a40c8d581ea949b15ebd432ea0b19d7c1..e0eeec467c4cde27e69b91da55278254ff406403 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     12.05.02
 // RCS-ID:      $Id$
-// Copyright:   (c) 1997-2002 wxWindows team
+// Copyright:   (c) 1997-2002 wxWidgets team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -51,7 +51,7 @@ public:
         { InitFontData(data); return Create(parent); }
 
 protected:
-    virtual bool DoCreate(wxWindow *parent) { m_parent = parent; return TRUE; }
+    virtual bool DoCreate(wxWindow *parent) { m_parent = parent; return true; }
 
     void InitFontData(const wxFontData *data = NULL)
         { if ( data ) m_fontData = *data; }
@@ -65,11 +65,15 @@ protected:
 // platform-specific wxFontDialog implementation
 // ----------------------------------------------------------------------------
 
-#if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXCOCOA__) \
-    || defined(__WXWINCE__)
+#if defined(__WXUNIVERSAL__) || \
+    defined(__WXMOTIF__)     || \
+    defined(__WXMAC__)       || \
+    defined(__WXCOCOA__)     || \
+    defined(__WXWINCE__)     || \
+    defined(__WXGPE__)
+
     #include "wx/generic/fontdlgg.h"
     #define wxFontDialog wxGenericFontDialog
-    #define sm_classwxFontDialog sm_classwxGenericFontDialog
 #elif defined(__WXMSW__)
     #include "wx/msw/fontdlg.h"
 #elif defined(__WXGTK__)