#elif defined(__WXMOTIF__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
-# define classwxFontDialog classwxGenericFontDialog
+# define sm_classwxFontDialog sm_classwxGenericFontDialog
#elif defined(__WXGTK__)
-#include "wx/generic/fontdlgg.h"
-# define wxFontDialog wxGenericFontDialog
-# define classwxFontDialog classwxGenericFontDialog
+#include "wx/gtk/fontdlg.h"
#elif defined(__WXQT__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
-# define classwxFontDialog classwxGenericFontDialog
+# define sm_classwxFontDialog sm_classwxGenericFontDialog
#elif defined(__WXMAC__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
-# define classwxFontDialog classwxGenericFontDialog
+# define sm_classwxFontDialog sm_classwxGenericFontDialog
+#elif defined(__WXPM__)
+#include "wx/generic/fontdlgg.h"
+# define wxFontDialog wxGenericFontDialog
+# define sm_classwxFontDialog sm_classwxGenericFontDialog
#elif defined(__WXSTUBS__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
-# define classwxFontDialog classwxGenericFontDialog
+# define sm_classwxFontDialog sm_classwxGenericFontDialog
#endif
#endif